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 tools/Makefile"
1956 ac_config_commands="$ac_config_commands tools/analyze/Makefile"
1959 ac_config_commands="$ac_config_commands tools/bugpoint/Makefile"
1962 ac_config_commands="$ac_config_commands tools/extract/Makefile"
1965 ac_config_commands="$ac_config_commands tools/gccas/Makefile"
1968 ac_config_commands="$ac_config_commands tools/gccld/Makefile"
1971 ac_config_commands="$ac_config_commands tools/llc/Makefile"
1974 ac_config_commands="$ac_config_commands tools/llee/Makefile"
1977 ac_config_commands="$ac_config_commands tools/lli/Makefile"
1980 ac_config_commands="$ac_config_commands tools/llvm-ar/Makefile"
1983 ac_config_commands="$ac_config_commands tools/llvm-as/Makefile"
1986 ac_config_commands="$ac_config_commands tools/llvm-dis/Makefile"
1989 ac_config_commands="$ac_config_commands tools/llvm-link/Makefile"
1992 ac_config_commands="$ac_config_commands tools/opt/Makefile"
1995 ac_config_commands="$ac_config_commands utils/Makefile"
1998 ac_config_commands="$ac_config_commands utils/Burg/Makefile"
2001 ac_config_commands="$ac_config_commands utils/Burg/Doc/Makefile"
2004 ac_config_commands="$ac_config_commands utils/TableGen/Makefile"
2007 ac_config_commands="$ac_config_commands www/docs/Makefile"
2010 ac_config_commands="$ac_config_commands projects/Makefile"
2013 ac_config_commands="$ac_config_commands projects/sample/Makefile"
2016 ac_config_commands="$ac_config_commands projects/sample/Makefile.common"
2019 ac_config_commands="$ac_config_commands projects/sample/Makefile.config"
2022 ac_config_commands="$ac_config_commands projects/sample/lib/Makefile"
2025 ac_config_commands="$ac_config_commands projects/sample/lib/sample/Makefile"
2028 ac_config_commands="$ac_config_commands projects/sample/tools/Makefile"
2031 ac_config_commands="$ac_config_commands projects/sample/tools/sample/Makefile"
2034 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile"
2037 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile.common"
2040 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/Makefile"
2043 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/ModuleMaker/Makefile"
2048 # Find a good install program. We prefer a C program (faster),
2049 # so one script is as good as another. But avoid the broken or
2050 # incompatible versions:
2051 # SysV /etc/install, /usr/sbin/install
2052 # SunOS /usr/etc/install
2053 # IRIX /sbin/install
2055 # AmigaOS /C/install, which installs bootblocks on floppy discs
2056 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2057 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2058 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2059 # ./install, which can be erroneously created by make from ./install.sh.
2060 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2061 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2062 if test -z "$INSTALL"; then
2063 if test "${ac_cv_path_install+set}" = set; then
2064 echo $ECHO_N "(cached) $ECHO_C" >&6
2066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2070 test -z "$as_dir" && as_dir=.
2071 # Account for people who put trailing slashes in PATH elements.
2073 ./ | .// | /cC/* | \
2074 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2077 # OSF1 and SCO ODT 3.0 have their own names for install.
2078 # Don't use installbsd from OSF since it installs stuff as root
2080 for ac_prog in ginstall scoinst install; do
2081 for ac_exec_ext in '' $ac_executable_extensions; do
2082 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2083 if test $ac_prog = install &&
2084 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2085 # AIX install. It has an incompatible calling convention.
2087 elif test $ac_prog = install &&
2088 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2089 # program-specific install script used by HP pwplus--don't use.
2092 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2104 if test "${ac_cv_path_install+set}" = set; then
2105 INSTALL=$ac_cv_path_install
2107 # As a last resort, use the slow shell script. We don't cache a
2108 # path for INSTALL within a source directory, because that will
2109 # break other packages using the cache if that directory is
2110 # removed, or if the path is relative.
2111 INSTALL=$ac_install_sh
2114 echo "$as_me:$LINENO: result: $INSTALL" >&5
2115 echo "${ECHO_T}$INSTALL" >&6
2117 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2118 # It thinks the first close brace ends the variable substitution.
2119 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2121 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2123 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2126 # Make sure we can run config.sub.
2127 $ac_config_sub sun4 >/dev/null 2>&1 ||
2128 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2129 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2130 { (exit 1); exit 1; }; }
2132 echo "$as_me:$LINENO: checking build system type" >&5
2133 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2134 if test "${ac_cv_build+set}" = set; then
2135 echo $ECHO_N "(cached) $ECHO_C" >&6
2137 ac_cv_build_alias=$build_alias
2138 test -z "$ac_cv_build_alias" &&
2139 ac_cv_build_alias=`$ac_config_guess`
2140 test -z "$ac_cv_build_alias" &&
2141 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2142 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2143 { (exit 1); exit 1; }; }
2144 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2145 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2146 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2147 { (exit 1); exit 1; }; }
2150 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2151 echo "${ECHO_T}$ac_cv_build" >&6
2153 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2154 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2155 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2158 echo "$as_me:$LINENO: checking host system type" >&5
2159 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2160 if test "${ac_cv_host+set}" = set; then
2161 echo $ECHO_N "(cached) $ECHO_C" >&6
2163 ac_cv_host_alias=$host_alias
2164 test -z "$ac_cv_host_alias" &&
2165 ac_cv_host_alias=$ac_cv_build_alias
2166 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2167 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2168 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2169 { (exit 1); exit 1; }; }
2172 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2173 echo "${ECHO_T}$ac_cv_host" >&6
2175 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2176 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2177 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2180 echo "$as_me:$LINENO: checking target system type" >&5
2181 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2182 if test "${ac_cv_target+set}" = set; then
2183 echo $ECHO_N "(cached) $ECHO_C" >&6
2185 ac_cv_target_alias=$target_alias
2186 test "x$ac_cv_target_alias" = "x" &&
2187 ac_cv_target_alias=$ac_cv_host_alias
2188 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2189 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2190 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2191 { (exit 1); exit 1; }; }
2194 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2195 echo "${ECHO_T}$ac_cv_target" >&6
2196 target=$ac_cv_target
2197 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2198 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2199 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2202 # The aliases save the names the user supplied, while $host etc.
2203 # will get canonicalized.
2204 test -n "$target_alias" &&
2205 test "$program_prefix$program_suffix$program_transform_name" = \
2207 program_prefix=${target_alias}-
2212 LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/
2218 LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/
2228 *sparc*solaris*) target=sparcv9-sun-solaris2.8
2237 *sparc*solaris*) ARCH=Sparc
2244 ac_cpp='$CXXCPP $CPPFLAGS'
2245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2248 if test -n "$ac_tool_prefix"; then
2249 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2251 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2252 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2253 echo "$as_me:$LINENO: checking for $ac_word" >&5
2254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2255 if test "${ac_cv_prog_CXX+set}" = set; then
2256 echo $ECHO_N "(cached) $ECHO_C" >&6
2258 if test -n "$CXX"; then
2259 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2265 test -z "$as_dir" && as_dir=.
2266 for ac_exec_ext in '' $ac_executable_extensions; do
2267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2268 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2278 if test -n "$CXX"; then
2279 echo "$as_me:$LINENO: result: $CXX" >&5
2280 echo "${ECHO_T}$CXX" >&6
2282 echo "$as_me:$LINENO: result: no" >&5
2283 echo "${ECHO_T}no" >&6
2286 test -n "$CXX" && break
2289 if test -z "$CXX"; then
2291 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2293 # Extract the first word of "$ac_prog", so it can be a program name with args.
2294 set dummy $ac_prog; ac_word=$2
2295 echo "$as_me:$LINENO: checking for $ac_word" >&5
2296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2297 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2298 echo $ECHO_N "(cached) $ECHO_C" >&6
2300 if test -n "$ac_ct_CXX"; then
2301 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2307 test -z "$as_dir" && as_dir=.
2308 for ac_exec_ext in '' $ac_executable_extensions; do
2309 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2310 ac_cv_prog_ac_ct_CXX="$ac_prog"
2311 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2319 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2320 if test -n "$ac_ct_CXX"; then
2321 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2322 echo "${ECHO_T}$ac_ct_CXX" >&6
2324 echo "$as_me:$LINENO: result: no" >&5
2325 echo "${ECHO_T}no" >&6
2328 test -n "$ac_ct_CXX" && break
2330 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2336 # Provide some information about the compiler.
2337 echo "$as_me:$LINENO:" \
2338 "checking for C++ compiler version" >&5
2339 ac_compiler=`set X $ac_compile; echo $2`
2340 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2341 (eval $ac_compiler --version </dev/null >&5) 2>&5
2343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2344 (exit $ac_status); }
2345 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2346 (eval $ac_compiler -v </dev/null >&5) 2>&5
2348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2349 (exit $ac_status); }
2350 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2351 (eval $ac_compiler -V </dev/null >&5) 2>&5
2353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2354 (exit $ac_status); }
2356 cat >conftest.$ac_ext <<_ACEOF
2357 #line $LINENO "configure"
2360 cat confdefs.h >>conftest.$ac_ext
2361 cat >>conftest.$ac_ext <<_ACEOF
2362 /* end confdefs.h. */
2372 ac_clean_files_save=$ac_clean_files
2373 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2374 # Try to create an executable without -o first, disregard a.out.
2375 # It will help us diagnose broken compilers, and finding out an intuition
2377 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
2378 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
2379 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2380 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2381 (eval $ac_link_default) 2>&5
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); }; then
2385 # Find the output, starting from the most likely. This scheme is
2386 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2389 # Be careful to initialize this variable, since it used to be cached.
2390 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2392 # b.out is created by i960 compilers.
2393 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2395 test -f "$ac_file" || continue
2397 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2400 # This is the source file.
2403 # We found the default executable, but exeext='' is most
2407 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2408 # FIXME: I believe we export ac_cv_exeext for Libtool,
2409 # but it would be cool to find out if it's true. Does anybody
2410 # maintain Libtool? --akim.
2418 echo "$as_me: failed program was:" >&5
2419 sed 's/^/| /' conftest.$ac_ext >&5
2421 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2422 See \`config.log' for more details." >&5
2423 echo "$as_me: error: C++ compiler cannot create executables
2424 See \`config.log' for more details." >&2;}
2425 { (exit 77); exit 77; }; }
2428 ac_exeext=$ac_cv_exeext
2429 echo "$as_me:$LINENO: result: $ac_file" >&5
2430 echo "${ECHO_T}$ac_file" >&6
2432 # Check the compiler produces executables we can run. If not, either
2433 # the compiler is broken, or we cross compile.
2434 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2435 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2436 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2437 # If not cross compiling, check that we can run a simple program.
2438 if test "$cross_compiling" != yes; then
2439 if { ac_try='./$ac_file'
2440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2444 (exit $ac_status); }; }; then
2447 if test "$cross_compiling" = maybe; then
2450 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2451 If you meant to cross compile, use \`--host'.
2452 See \`config.log' for more details." >&5
2453 echo "$as_me: error: cannot run C++ compiled programs.
2454 If you meant to cross compile, use \`--host'.
2455 See \`config.log' for more details." >&2;}
2456 { (exit 1); exit 1; }; }
2460 echo "$as_me:$LINENO: result: yes" >&5
2461 echo "${ECHO_T}yes" >&6
2463 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2464 ac_clean_files=$ac_clean_files_save
2465 # Check the compiler produces executables we can run. If not, either
2466 # the compiler is broken, or we cross compile.
2467 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2468 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2469 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2470 echo "${ECHO_T}$cross_compiling" >&6
2472 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2473 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2475 (eval $ac_link) 2>&5
2477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2478 (exit $ac_status); }; then
2479 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2480 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2481 # work properly (i.e., refer to `conftest.exe'), while it won't with
2483 for ac_file in conftest.exe conftest conftest.*; do
2484 test -f "$ac_file" || continue
2486 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2487 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2494 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2495 See \`config.log' for more details." >&5
2496 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2497 See \`config.log' for more details." >&2;}
2498 { (exit 1); exit 1; }; }
2501 rm -f conftest$ac_cv_exeext
2502 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2503 echo "${ECHO_T}$ac_cv_exeext" >&6
2505 rm -f conftest.$ac_ext
2506 EXEEXT=$ac_cv_exeext
2508 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2509 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2510 if test "${ac_cv_objext+set}" = set; then
2511 echo $ECHO_N "(cached) $ECHO_C" >&6
2513 cat >conftest.$ac_ext <<_ACEOF
2514 #line $LINENO "configure"
2517 cat confdefs.h >>conftest.$ac_ext
2518 cat >>conftest.$ac_ext <<_ACEOF
2519 /* end confdefs.h. */
2529 rm -f conftest.o conftest.obj
2530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2531 (eval $ac_compile) 2>&5
2533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2534 (exit $ac_status); }; then
2535 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2537 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2538 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2543 echo "$as_me: failed program was:" >&5
2544 sed 's/^/| /' conftest.$ac_ext >&5
2546 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2547 See \`config.log' for more details." >&5
2548 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2549 See \`config.log' for more details." >&2;}
2550 { (exit 1); exit 1; }; }
2553 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2555 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2556 echo "${ECHO_T}$ac_cv_objext" >&6
2557 OBJEXT=$ac_cv_objext
2559 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2560 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2561 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2562 echo $ECHO_N "(cached) $ECHO_C" >&6
2564 cat >conftest.$ac_ext <<_ACEOF
2565 #line $LINENO "configure"
2568 cat confdefs.h >>conftest.$ac_ext
2569 cat >>conftest.$ac_ext <<_ACEOF
2570 /* end confdefs.h. */
2583 rm -f conftest.$ac_objext
2584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2585 (eval $ac_compile) 2>&5
2587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2588 (exit $ac_status); } &&
2589 { ac_try='test -s conftest.$ac_objext'
2590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2594 (exit $ac_status); }; }; then
2597 echo "$as_me: failed program was:" >&5
2598 sed 's/^/| /' conftest.$ac_ext >&5
2602 rm -f conftest.$ac_objext conftest.$ac_ext
2603 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2606 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2607 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2608 GXX=`test $ac_compiler_gnu = yes && echo yes`
2609 ac_test_CXXFLAGS=${CXXFLAGS+set}
2610 ac_save_CXXFLAGS=$CXXFLAGS
2612 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2613 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2614 if test "${ac_cv_prog_cxx_g+set}" = set; then
2615 echo $ECHO_N "(cached) $ECHO_C" >&6
2617 cat >conftest.$ac_ext <<_ACEOF
2618 #line $LINENO "configure"
2621 cat confdefs.h >>conftest.$ac_ext
2622 cat >>conftest.$ac_ext <<_ACEOF
2623 /* end confdefs.h. */
2633 rm -f conftest.$ac_objext
2634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2635 (eval $ac_compile) 2>&5
2637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2638 (exit $ac_status); } &&
2639 { ac_try='test -s conftest.$ac_objext'
2640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644 (exit $ac_status); }; }; then
2645 ac_cv_prog_cxx_g=yes
2647 echo "$as_me: failed program was:" >&5
2648 sed 's/^/| /' conftest.$ac_ext >&5
2652 rm -f conftest.$ac_objext conftest.$ac_ext
2654 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2655 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2656 if test "$ac_test_CXXFLAGS" = set; then
2657 CXXFLAGS=$ac_save_CXXFLAGS
2658 elif test $ac_cv_prog_cxx_g = yes; then
2659 if test "$GXX" = yes; then
2665 if test "$GXX" = yes; then
2671 for ac_declaration in \
2673 '#include <stdlib.h>' \
2674 'extern "C" void std::exit (int) throw (); using std::exit;' \
2675 'extern "C" void std::exit (int); using std::exit;' \
2676 'extern "C" void exit (int) throw ();' \
2677 'extern "C" void exit (int);' \
2680 cat >conftest.$ac_ext <<_ACEOF
2681 #line $LINENO "configure"
2684 cat confdefs.h >>conftest.$ac_ext
2685 cat >>conftest.$ac_ext <<_ACEOF
2686 /* end confdefs.h. */
2697 rm -f conftest.$ac_objext
2698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2699 (eval $ac_compile) 2>&5
2701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2702 (exit $ac_status); } &&
2703 { ac_try='test -s conftest.$ac_objext'
2704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708 (exit $ac_status); }; }; then
2711 echo "$as_me: failed program was:" >&5
2712 sed 's/^/| /' conftest.$ac_ext >&5
2716 rm -f conftest.$ac_objext conftest.$ac_ext
2717 cat >conftest.$ac_ext <<_ACEOF
2718 #line $LINENO "configure"
2721 cat confdefs.h >>conftest.$ac_ext
2722 cat >>conftest.$ac_ext <<_ACEOF
2723 /* end confdefs.h. */
2733 rm -f conftest.$ac_objext
2734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2735 (eval $ac_compile) 2>&5
2737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738 (exit $ac_status); } &&
2739 { ac_try='test -s conftest.$ac_objext'
2740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2744 (exit $ac_status); }; }; then
2747 echo "$as_me: failed program was:" >&5
2748 sed 's/^/| /' conftest.$ac_ext >&5
2751 rm -f conftest.$ac_objext conftest.$ac_ext
2754 if test -n "$ac_declaration"; then
2755 echo '#ifdef __cplusplus' >>confdefs.h
2756 echo $ac_declaration >>confdefs.h
2757 echo '#endif' >>confdefs.h
2761 ac_cpp='$CPP $CPPFLAGS'
2762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2767 ac_cpp='$CPP $CPPFLAGS'
2768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2771 if test -n "$ac_tool_prefix"; then
2774 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2775 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2776 echo "$as_me:$LINENO: checking for $ac_word" >&5
2777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2778 if test "${ac_cv_prog_CC+set}" = set; then
2779 echo $ECHO_N "(cached) $ECHO_C" >&6
2781 if test -n "$CC"; then
2782 ac_cv_prog_CC="$CC" # Let the user override the test.
2784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2788 test -z "$as_dir" && as_dir=.
2789 for ac_exec_ext in '' $ac_executable_extensions; do
2790 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2791 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2801 if test -n "$CC"; then
2802 echo "$as_me:$LINENO: result: $CC" >&5
2803 echo "${ECHO_T}$CC" >&6
2805 echo "$as_me:$LINENO: result: no" >&5
2806 echo "${ECHO_T}no" >&6
2809 test -n "$CC" && break
2812 if test -z "$CC"; then
2816 # Extract the first word of "$ac_prog", so it can be a program name with args.
2817 set dummy $ac_prog; ac_word=$2
2818 echo "$as_me:$LINENO: checking for $ac_word" >&5
2819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2820 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2821 echo $ECHO_N "(cached) $ECHO_C" >&6
2823 if test -n "$ac_ct_CC"; then
2824 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2830 test -z "$as_dir" && as_dir=.
2831 for ac_exec_ext in '' $ac_executable_extensions; do
2832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2833 ac_cv_prog_ac_ct_CC="$ac_prog"
2834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2842 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2843 if test -n "$ac_ct_CC"; then
2844 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2845 echo "${ECHO_T}$ac_ct_CC" >&6
2847 echo "$as_me:$LINENO: result: no" >&5
2848 echo "${ECHO_T}no" >&6
2851 test -n "$ac_ct_CC" && break
2858 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2859 See \`config.log' for more details." >&5
2860 echo "$as_me: error: no acceptable C compiler found in \$PATH
2861 See \`config.log' for more details." >&2;}
2862 { (exit 1); exit 1; }; }
2864 # Provide some information about the compiler.
2865 echo "$as_me:$LINENO:" \
2866 "checking for C compiler version" >&5
2867 ac_compiler=`set X $ac_compile; echo $2`
2868 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2869 (eval $ac_compiler --version </dev/null >&5) 2>&5
2871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872 (exit $ac_status); }
2873 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2874 (eval $ac_compiler -v </dev/null >&5) 2>&5
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); }
2878 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2879 (eval $ac_compiler -V </dev/null >&5) 2>&5
2881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882 (exit $ac_status); }
2884 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2885 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2886 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2887 echo $ECHO_N "(cached) $ECHO_C" >&6
2889 cat >conftest.$ac_ext <<_ACEOF
2890 #line $LINENO "configure"
2893 cat confdefs.h >>conftest.$ac_ext
2894 cat >>conftest.$ac_ext <<_ACEOF
2895 /* end confdefs.h. */
2908 rm -f conftest.$ac_objext
2909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2910 (eval $ac_compile) 2>&5
2912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913 (exit $ac_status); } &&
2914 { ac_try='test -s conftest.$ac_objext'
2915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2919 (exit $ac_status); }; }; then
2922 echo "$as_me: failed program was:" >&5
2923 sed 's/^/| /' conftest.$ac_ext >&5
2927 rm -f conftest.$ac_objext conftest.$ac_ext
2928 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2931 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2932 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2933 GCC=`test $ac_compiler_gnu = yes && echo yes`
2934 ac_test_CFLAGS=${CFLAGS+set}
2935 ac_save_CFLAGS=$CFLAGS
2937 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2938 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2939 if test "${ac_cv_prog_cc_g+set}" = set; then
2940 echo $ECHO_N "(cached) $ECHO_C" >&6
2942 cat >conftest.$ac_ext <<_ACEOF
2943 #line $LINENO "configure"
2946 cat confdefs.h >>conftest.$ac_ext
2947 cat >>conftest.$ac_ext <<_ACEOF
2948 /* end confdefs.h. */
2958 rm -f conftest.$ac_objext
2959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2960 (eval $ac_compile) 2>&5
2962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963 (exit $ac_status); } &&
2964 { ac_try='test -s conftest.$ac_objext'
2965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969 (exit $ac_status); }; }; then
2972 echo "$as_me: failed program was:" >&5
2973 sed 's/^/| /' conftest.$ac_ext >&5
2977 rm -f conftest.$ac_objext conftest.$ac_ext
2979 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2980 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2981 if test "$ac_test_CFLAGS" = set; then
2982 CFLAGS=$ac_save_CFLAGS
2983 elif test $ac_cv_prog_cc_g = yes; then
2984 if test "$GCC" = yes; then
2990 if test "$GCC" = yes; then
2996 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2997 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2998 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2999 echo $ECHO_N "(cached) $ECHO_C" >&6
3001 ac_cv_prog_cc_stdc=no
3003 cat >conftest.$ac_ext <<_ACEOF
3004 #line $LINENO "configure"
3007 cat confdefs.h >>conftest.$ac_ext
3008 cat >>conftest.$ac_ext <<_ACEOF
3009 /* end confdefs.h. */
3012 #include <sys/types.h>
3013 #include <sys/stat.h>
3014 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3015 struct buf { int x; };
3016 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3017 static char *e (p, i)
3023 static char *f (char * (*g) (char **, int), char **p, ...)
3028 s = g (p, va_arg (v,int));
3032 int test (int i, double x);
3033 struct s1 {int (*f) (int a);};
3034 struct s2 {int (*f) (double a);};
3035 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3041 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3046 # Don't try gcc -ansi; that turns off useful extensions and
3047 # breaks some systems' header files.
3048 # AIX -qlanglvl=ansi
3049 # Ultrix and OSF/1 -std1
3050 # HP-UX 10.20 and later -Ae
3051 # HP-UX older versions -Aa -D_HPUX_SOURCE
3052 # SVR4 -Xc -D__EXTENSIONS__
3053 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3055 CC="$ac_save_CC $ac_arg"
3056 rm -f conftest.$ac_objext
3057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3058 (eval $ac_compile) 2>&5
3060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3061 (exit $ac_status); } &&
3062 { ac_try='test -s conftest.$ac_objext'
3063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3067 (exit $ac_status); }; }; then
3068 ac_cv_prog_cc_stdc=$ac_arg
3071 echo "$as_me: failed program was:" >&5
3072 sed 's/^/| /' conftest.$ac_ext >&5
3075 rm -f conftest.$ac_objext
3077 rm -f conftest.$ac_ext conftest.$ac_objext
3082 case "x$ac_cv_prog_cc_stdc" in
3084 echo "$as_me:$LINENO: result: none needed" >&5
3085 echo "${ECHO_T}none needed" >&6 ;;
3087 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3088 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3089 CC="$CC $ac_cv_prog_cc_stdc" ;;
3092 # Some people use a C++ compiler to compile C. Since we use `exit',
3093 # in C++ we need to declare it. In case someone uses the same compiler
3094 # for both compiling C and C++ we need to have the C++ compiler decide
3095 # the declaration of exit, since it's the most demanding environment.
3096 cat >conftest.$ac_ext <<_ACEOF
3101 rm -f conftest.$ac_objext
3102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3103 (eval $ac_compile) 2>&5
3105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106 (exit $ac_status); } &&
3107 { ac_try='test -s conftest.$ac_objext'
3108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3112 (exit $ac_status); }; }; then
3113 for ac_declaration in \
3115 '#include <stdlib.h>' \
3116 'extern "C" void std::exit (int) throw (); using std::exit;' \
3117 'extern "C" void std::exit (int); using std::exit;' \
3118 'extern "C" void exit (int) throw ();' \
3119 'extern "C" void exit (int);' \
3122 cat >conftest.$ac_ext <<_ACEOF
3123 #line $LINENO "configure"
3126 cat confdefs.h >>conftest.$ac_ext
3127 cat >>conftest.$ac_ext <<_ACEOF
3128 /* end confdefs.h. */
3139 rm -f conftest.$ac_objext
3140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3141 (eval $ac_compile) 2>&5
3143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144 (exit $ac_status); } &&
3145 { ac_try='test -s conftest.$ac_objext'
3146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3150 (exit $ac_status); }; }; then
3153 echo "$as_me: failed program was:" >&5
3154 sed 's/^/| /' conftest.$ac_ext >&5
3158 rm -f conftest.$ac_objext conftest.$ac_ext
3159 cat >conftest.$ac_ext <<_ACEOF
3160 #line $LINENO "configure"
3163 cat confdefs.h >>conftest.$ac_ext
3164 cat >>conftest.$ac_ext <<_ACEOF
3165 /* end confdefs.h. */
3175 rm -f conftest.$ac_objext
3176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3177 (eval $ac_compile) 2>&5
3179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3180 (exit $ac_status); } &&
3181 { ac_try='test -s conftest.$ac_objext'
3182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3186 (exit $ac_status); }; }; then
3189 echo "$as_me: failed program was:" >&5
3190 sed 's/^/| /' conftest.$ac_ext >&5
3193 rm -f conftest.$ac_objext conftest.$ac_ext
3196 if test -n "$ac_declaration"; then
3197 echo '#ifdef __cplusplus' >>confdefs.h
3198 echo $ac_declaration >>confdefs.h
3199 echo '#endif' >>confdefs.h
3203 echo "$as_me: failed program was:" >&5
3204 sed 's/^/| /' conftest.$ac_ext >&5
3207 rm -f conftest.$ac_objext conftest.$ac_ext
3209 ac_cpp='$CPP $CPPFLAGS'
3210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3215 ac_cpp='$CPP $CPPFLAGS'
3216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3219 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3220 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3221 # On Suns, sometimes $CPP names a directory.
3222 if test -n "$CPP" && test -d "$CPP"; then
3225 if test -z "$CPP"; then
3226 if test "${ac_cv_prog_CPP+set}" = set; then
3227 echo $ECHO_N "(cached) $ECHO_C" >&6
3229 # Double quotes because CPP needs to be expanded
3230 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3233 for ac_c_preproc_warn_flag in '' yes
3235 # Use a header file that comes with gcc, so configuring glibc
3236 # with a fresh cross-compiler works.
3237 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3238 # <limits.h> exists even on freestanding compilers.
3239 # On the NeXT, cc -E runs the code through the compiler's parser,
3240 # not just through cpp. "Syntax error" is here to catch this case.
3241 cat >conftest.$ac_ext <<_ACEOF
3242 #line $LINENO "configure"
3245 cat confdefs.h >>conftest.$ac_ext
3246 cat >>conftest.$ac_ext <<_ACEOF
3247 /* end confdefs.h. */
3249 # include <limits.h>
3251 # include <assert.h>
3255 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3256 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3258 grep -v '^ *+' conftest.er1 >conftest.err
3260 cat conftest.err >&5
3261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3262 (exit $ac_status); } >/dev/null; then
3263 if test -s conftest.err; then
3264 ac_cpp_err=$ac_c_preproc_warn_flag
3271 if test -z "$ac_cpp_err"; then
3274 echo "$as_me: failed program was:" >&5
3275 sed 's/^/| /' conftest.$ac_ext >&5
3277 # Broken: fails on valid input.
3280 rm -f conftest.err conftest.$ac_ext
3282 # OK, works on sane cases. Now check whether non-existent headers
3283 # can be detected and how.
3284 cat >conftest.$ac_ext <<_ACEOF
3285 #line $LINENO "configure"
3288 cat confdefs.h >>conftest.$ac_ext
3289 cat >>conftest.$ac_ext <<_ACEOF
3290 /* end confdefs.h. */
3291 #include <ac_nonexistent.h>
3293 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3294 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3296 grep -v '^ *+' conftest.er1 >conftest.err
3298 cat conftest.err >&5
3299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3300 (exit $ac_status); } >/dev/null; then
3301 if test -s conftest.err; then
3302 ac_cpp_err=$ac_c_preproc_warn_flag
3309 if test -z "$ac_cpp_err"; then
3310 # Broken: success on invalid input.
3313 echo "$as_me: failed program was:" >&5
3314 sed 's/^/| /' conftest.$ac_ext >&5
3316 # Passes both tests.
3320 rm -f conftest.err conftest.$ac_ext
3323 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3324 rm -f conftest.err conftest.$ac_ext
3325 if $ac_preproc_ok; then
3337 echo "$as_me:$LINENO: result: $CPP" >&5
3338 echo "${ECHO_T}$CPP" >&6
3340 for ac_c_preproc_warn_flag in '' yes
3342 # Use a header file that comes with gcc, so configuring glibc
3343 # with a fresh cross-compiler works.
3344 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3345 # <limits.h> exists even on freestanding compilers.
3346 # On the NeXT, cc -E runs the code through the compiler's parser,
3347 # not just through cpp. "Syntax error" is here to catch this case.
3348 cat >conftest.$ac_ext <<_ACEOF
3349 #line $LINENO "configure"
3352 cat confdefs.h >>conftest.$ac_ext
3353 cat >>conftest.$ac_ext <<_ACEOF
3354 /* end confdefs.h. */
3356 # include <limits.h>
3358 # include <assert.h>
3362 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3363 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3365 grep -v '^ *+' conftest.er1 >conftest.err
3367 cat conftest.err >&5
3368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3369 (exit $ac_status); } >/dev/null; then
3370 if test -s conftest.err; then
3371 ac_cpp_err=$ac_c_preproc_warn_flag
3378 if test -z "$ac_cpp_err"; then
3381 echo "$as_me: failed program was:" >&5
3382 sed 's/^/| /' conftest.$ac_ext >&5
3384 # Broken: fails on valid input.
3387 rm -f conftest.err conftest.$ac_ext
3389 # OK, works on sane cases. Now check whether non-existent headers
3390 # can be detected and how.
3391 cat >conftest.$ac_ext <<_ACEOF
3392 #line $LINENO "configure"
3395 cat confdefs.h >>conftest.$ac_ext
3396 cat >>conftest.$ac_ext <<_ACEOF
3397 /* end confdefs.h. */
3398 #include <ac_nonexistent.h>
3400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3401 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3403 grep -v '^ *+' conftest.er1 >conftest.err
3405 cat conftest.err >&5
3406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3407 (exit $ac_status); } >/dev/null; then
3408 if test -s conftest.err; then
3409 ac_cpp_err=$ac_c_preproc_warn_flag
3416 if test -z "$ac_cpp_err"; then
3417 # Broken: success on invalid input.
3420 echo "$as_me: failed program was:" >&5
3421 sed 's/^/| /' conftest.$ac_ext >&5
3423 # Passes both tests.
3427 rm -f conftest.err conftest.$ac_ext
3430 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3431 rm -f conftest.err conftest.$ac_ext
3432 if $ac_preproc_ok; then
3435 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3436 See \`config.log' for more details." >&5
3437 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3438 See \`config.log' for more details." >&2;}
3439 { (exit 1); exit 1; }; }
3443 ac_cpp='$CPP $CPPFLAGS'
3444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3449 if test "$GCC" != "yes"
3451 { { echo "$as_me:$LINENO: error: gcc required but not found" >&5
3452 echo "$as_me: error: gcc required but not found" >&2;}
3453 { (exit 1); exit 1; }; }
3456 if test "$GXX" != "yes"
3458 { { echo "$as_me:$LINENO: error: g++ required but not found" >&5
3459 echo "$as_me: error: g++ required but not found" >&2;}
3460 { (exit 1); exit 1; }; }
3463 gccmajor=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1`
3464 if test "$gccmajor" -lt "3"
3466 { { echo "$as_me:$LINENO: error: gcc 3.x required" >&5
3467 echo "$as_me: error: gcc 3.x required" >&2;}
3468 { (exit 1); exit 1; }; }
3471 echo "$as_me:$LINENO: checking for GNU make" >&5
3472 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
3473 if test "${_cv_gnu_make_command+set}" = set; then
3474 echo $ECHO_N "(cached) $ECHO_C" >&6
3476 _cv_gnu_make_command='' ;
3477 for a in "$MAKE" make gmake gnumake ; do
3478 if test -z "$a" ; then continue ; fi ;
3479 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
3480 _cv_gnu_make_command=$a ;
3486 echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5
3487 echo "${ECHO_T}$_cv_gnu_make_command" >&6 ;
3488 if test "x$_cv_gnu_make_command" != "x" ; then
3492 echo "$as_me:$LINENO: result: \"Not found\"" >&5
3493 echo "${ECHO_T}\"Not found\"" >&6;
3497 if test -z "$_cv_gnu_make_command"
3499 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
3500 echo "$as_me: error: GNU Make required but not found" >&2;}
3501 { (exit 1); exit 1; }; }
3505 echo "$as_me:$LINENO: checking " >&5
3506 echo $ECHO_N "checking ... $ECHO_C" >&6
3507 if test "${ac_cv_has_flex+set}" = set; then
3508 echo $ECHO_N "(cached) $ECHO_C" >&6
3510 for ac_prog in flex lex
3512 # Extract the first word of "$ac_prog", so it can be a program name with args.
3513 set dummy $ac_prog; ac_word=$2
3514 echo "$as_me:$LINENO: checking for $ac_word" >&5
3515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3516 if test "${ac_cv_prog_LEX+set}" = set; then
3517 echo $ECHO_N "(cached) $ECHO_C" >&6
3519 if test -n "$LEX"; then
3520 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3526 test -z "$as_dir" && as_dir=.
3527 for ac_exec_ext in '' $ac_executable_extensions; do
3528 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3529 ac_cv_prog_LEX="$ac_prog"
3530 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3539 if test -n "$LEX"; then
3540 echo "$as_me:$LINENO: result: $LEX" >&5
3541 echo "${ECHO_T}$LEX" >&6
3543 echo "$as_me:$LINENO: result: no" >&5
3544 echo "${ECHO_T}no" >&6
3547 test -n "$LEX" && break
3549 test -n "$LEX" || LEX=":"
3551 if test -z "$LEXLIB"
3553 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3554 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3555 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3556 echo $ECHO_N "(cached) $ECHO_C" >&6
3558 ac_check_lib_save_LIBS=$LIBS
3560 cat >conftest.$ac_ext <<_ACEOF
3561 #line $LINENO "configure"
3564 cat confdefs.h >>conftest.$ac_ext
3565 cat >>conftest.$ac_ext <<_ACEOF
3566 /* end confdefs.h. */
3568 /* Override any gcc2 internal prototype to avoid an error. */
3572 /* We use char because int might match the return type of a gcc2
3573 builtin and then its argument prototype would still apply. */
3583 rm -f conftest.$ac_objext conftest$ac_exeext
3584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3585 (eval $ac_link) 2>&5
3587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3588 (exit $ac_status); } &&
3589 { ac_try='test -s conftest$ac_exeext'
3590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3594 (exit $ac_status); }; }; then
3595 ac_cv_lib_fl_yywrap=yes
3597 echo "$as_me: failed program was:" >&5
3598 sed 's/^/| /' conftest.$ac_ext >&5
3600 ac_cv_lib_fl_yywrap=no
3602 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3603 LIBS=$ac_check_lib_save_LIBS
3605 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3606 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3607 if test $ac_cv_lib_fl_yywrap = yes; then
3610 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3611 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3612 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3613 echo $ECHO_N "(cached) $ECHO_C" >&6
3615 ac_check_lib_save_LIBS=$LIBS
3617 cat >conftest.$ac_ext <<_ACEOF
3618 #line $LINENO "configure"
3621 cat confdefs.h >>conftest.$ac_ext
3622 cat >>conftest.$ac_ext <<_ACEOF
3623 /* end confdefs.h. */
3625 /* Override any gcc2 internal prototype to avoid an error. */
3629 /* We use char because int might match the return type of a gcc2
3630 builtin and then its argument prototype would still apply. */
3640 rm -f conftest.$ac_objext conftest$ac_exeext
3641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3642 (eval $ac_link) 2>&5
3644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3645 (exit $ac_status); } &&
3646 { ac_try='test -s conftest$ac_exeext'
3647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3651 (exit $ac_status); }; }; then
3652 ac_cv_lib_l_yywrap=yes
3654 echo "$as_me: failed program was:" >&5
3655 sed 's/^/| /' conftest.$ac_ext >&5
3657 ac_cv_lib_l_yywrap=no
3659 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3660 LIBS=$ac_check_lib_save_LIBS
3662 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3663 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3664 if test $ac_cv_lib_l_yywrap = yes; then
3672 if test "x$LEX" != "x:"; then
3673 echo "$as_me:$LINENO: checking lex output file root" >&5
3674 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3675 if test "${ac_cv_prog_lex_root+set}" = set; then
3676 echo $ECHO_N "(cached) $ECHO_C" >&6
3678 # The minimal lex program is just a single line: %%. But some broken lexes
3679 # (Solaris, I think it was) want two %% lines, so accommodate them.
3680 cat >conftest.l <<_ACEOF
3684 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3685 (eval $LEX conftest.l) 2>&5
3687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3688 (exit $ac_status); }
3689 if test -f lex.yy.c; then
3690 ac_cv_prog_lex_root=lex.yy
3691 elif test -f lexyy.c; then
3692 ac_cv_prog_lex_root=lexyy
3694 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3695 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3696 { (exit 1); exit 1; }; }
3699 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3700 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3702 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3704 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3705 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3706 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3707 echo $ECHO_N "(cached) $ECHO_C" >&6
3709 # POSIX says lex can declare yytext either as a pointer or an array; the
3710 # default is implementation-dependent. Figure out which it is, since
3711 # not all implementations provide the %pointer and %array declarations.
3712 ac_cv_prog_lex_yytext_pointer=no
3713 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3715 LIBS="$LIBS $LEXLIB"
3716 cat >conftest.$ac_ext <<_ACEOF
3717 `cat $LEX_OUTPUT_ROOT.c`
3719 rm -f conftest.$ac_objext conftest$ac_exeext
3720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3721 (eval $ac_link) 2>&5
3723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3724 (exit $ac_status); } &&
3725 { ac_try='test -s conftest$ac_exeext'
3726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3730 (exit $ac_status); }; }; then
3731 ac_cv_prog_lex_yytext_pointer=yes
3733 echo "$as_me: failed program was:" >&5
3734 sed 's/^/| /' conftest.$ac_ext >&5
3737 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3739 rm -f "${LEX_OUTPUT_ROOT}.c"
3742 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3743 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3744 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3746 cat >>confdefs.h <<\_ACEOF
3747 #define YYTEXT_POINTER 1
3755 echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
3756 echo "${ECHO_T}$ac_cv_has_flex" >&6
3757 if test "$LEX" != "flex"; then
3758 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
3759 echo "$as_me: error: flex not found but required" >&2;}
3760 { (exit 1); exit 1; }; }
3763 echo "$as_me:$LINENO: checking " >&5
3764 echo $ECHO_N "checking ... $ECHO_C" >&6
3765 if test "${ac_cv_has_bison+set}" = set; then
3766 echo $ECHO_N "(cached) $ECHO_C" >&6
3768 for ac_prog in 'bison -y' byacc
3770 # Extract the first word of "$ac_prog", so it can be a program name with args.
3771 set dummy $ac_prog; ac_word=$2
3772 echo "$as_me:$LINENO: checking for $ac_word" >&5
3773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3774 if test "${ac_cv_prog_YACC+set}" = set; then
3775 echo $ECHO_N "(cached) $ECHO_C" >&6
3777 if test -n "$YACC"; then
3778 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3784 test -z "$as_dir" && as_dir=.
3785 for ac_exec_ext in '' $ac_executable_extensions; do
3786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3787 ac_cv_prog_YACC="$ac_prog"
3788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3796 YACC=$ac_cv_prog_YACC
3797 if test -n "$YACC"; then
3798 echo "$as_me:$LINENO: result: $YACC" >&5
3799 echo "${ECHO_T}$YACC" >&6
3801 echo "$as_me:$LINENO: result: no" >&5
3802 echo "${ECHO_T}no" >&6
3805 test -n "$YACC" && break
3807 test -n "$YACC" || YACC="yacc"
3811 echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5
3812 echo "${ECHO_T}$ac_cv_has_bison" >&6
3813 if test "$YACC" != "bison -y"; then
3814 { { echo "$as_me:$LINENO: error: bison not found but required" >&5
3815 echo "$as_me: error: bison not found but required" >&2;}
3816 { (exit 1); exit 1; }; }
3823 # Check whether --enable-shared or --disable-shared was given.
3824 if test "${enable_shared+set}" = set; then
3825 enableval="$enable_shared"
3826 p=${PACKAGE-default}
3828 yes) enable_shared=yes ;;
3829 no) enable_shared=no ;;
3832 # Look at the argument we got. We use all the common list separators.
3833 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3834 for pkg in $enableval; do
3836 if test "X$pkg" = "X$p"; then
3847 # Check whether --enable-static or --disable-static was given.
3848 if test "${enable_static+set}" = set; then
3849 enableval="$enable_static"
3850 p=${PACKAGE-default}
3852 yes) enable_static=yes ;;
3853 no) enable_static=no ;;
3856 # Look at the argument we got. We use all the common list separators.
3857 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3858 for pkg in $enableval; do
3860 if test "X$pkg" = "X$p"; then
3871 # Check whether --enable-fast-install or --disable-fast-install was given.
3872 if test "${enable_fast_install+set}" = set; then
3873 enableval="$enable_fast_install"
3874 p=${PACKAGE-default}
3876 yes) enable_fast_install=yes ;;
3877 no) enable_fast_install=no ;;
3879 enable_fast_install=no
3880 # Look at the argument we got. We use all the common list separators.
3881 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3882 for pkg in $enableval; do
3884 if test "X$pkg" = "X$p"; then
3885 enable_fast_install=yes
3892 enable_fast_install=yes
3895 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3896 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3897 if test "${lt_cv_path_SED+set}" = set; then
3898 echo $ECHO_N "(cached) $ECHO_C" >&6
3900 # Loop through the user's path and test for sed and gsed.
3901 # Then use that list of sed's as ones to test for truncation.
3902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3906 test -z "$as_dir" && as_dir=.
3907 for lt_ac_prog in sed gsed; do
3908 for ac_exec_ext in '' $ac_executable_extensions; do
3909 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3910 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3917 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3918 # along with /bin/sed that truncates output.
3919 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3920 test ! -f $lt_ac_sed && break
3921 cat /dev/null > conftest.in
3923 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3924 # Check for GNU sed and select it if it is found.
3925 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3926 lt_cv_path_SED=$lt_ac_sed
3930 cat conftest.in conftest.in >conftest.tmp
3931 mv conftest.tmp conftest.in
3932 cp conftest.in conftest.nl
3934 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3935 cmp -s conftest.out conftest.nl || break
3936 # 10000 chars as input seems more than enough
3937 test $lt_ac_count -gt 10 && break
3938 lt_ac_count=`expr $lt_ac_count + 1`
3939 if test $lt_ac_count -gt $lt_ac_max; then
3940 lt_ac_max=$lt_ac_count
3941 lt_cv_path_SED=$lt_ac_sed
3949 echo "$as_me:$LINENO: result: $SED" >&5
3950 echo "${ECHO_T}$SED" >&6
3952 echo "$as_me:$LINENO: checking for egrep" >&5
3953 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3954 if test "${ac_cv_prog_egrep+set}" = set; then
3955 echo $ECHO_N "(cached) $ECHO_C" >&6
3957 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3958 then ac_cv_prog_egrep='grep -E'
3959 else ac_cv_prog_egrep='egrep'
3962 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3963 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3964 EGREP=$ac_cv_prog_egrep
3968 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3969 if test "${with_gnu_ld+set}" = set; then
3970 withval="$with_gnu_ld"
3971 test "$withval" = no || with_gnu_ld=yes
3976 if test "$GCC" = yes; then
3977 # Check if gcc -print-prog-name=ld gives a path.
3978 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3979 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3982 # gcc leaves a trailing carriage return which upsets mingw
3983 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3985 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3988 # Accept absolute paths.
3990 re_direlt='/[^/][^/]*/\.\./'
3991 # Canonicalize the path of ld
3992 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3993 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3994 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3996 test -z "$LD" && LD="$ac_prog"
3999 # If it fails, then pretend we aren't using GCC.
4003 # If it is relative, then search for the first ld in PATH.
4007 elif test "$with_gnu_ld" = yes; then
4008 echo "$as_me:$LINENO: checking for GNU ld" >&5
4009 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4011 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4012 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4014 if test "${lt_cv_path_LD+set}" = set; then
4015 echo $ECHO_N "(cached) $ECHO_C" >&6
4017 if test -z "$LD"; then
4018 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4019 for ac_dir in $PATH; do
4021 test -z "$ac_dir" && ac_dir=.
4022 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4023 lt_cv_path_LD="$ac_dir/$ac_prog"
4024 # Check to see if the program is GNU ld. I'd rather use --version,
4025 # but apparently some GNU ld's only accept -v.
4026 # Break only if it was the GNU/non-GNU ld that we prefer.
4027 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4028 *GNU* | *'with BFD'*)
4029 test "$with_gnu_ld" != no && break
4032 test "$with_gnu_ld" != yes && break
4039 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4044 if test -n "$LD"; then
4045 echo "$as_me:$LINENO: result: $LD" >&5
4046 echo "${ECHO_T}$LD" >&6
4048 echo "$as_me:$LINENO: result: no" >&5
4049 echo "${ECHO_T}no" >&6
4051 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4052 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4053 { (exit 1); exit 1; }; }
4054 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4055 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4056 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4057 echo $ECHO_N "(cached) $ECHO_C" >&6
4059 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4060 case `"$LD" -v 2>&1 </dev/null` in
4061 *GNU* | *'with BFD'*)
4062 lt_cv_prog_gnu_ld=yes
4065 lt_cv_prog_gnu_ld=no
4069 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4070 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4071 with_gnu_ld=$lt_cv_prog_gnu_ld
4074 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4075 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4076 if test "${lt_cv_ld_reload_flag+set}" = set; then
4077 echo $ECHO_N "(cached) $ECHO_C" >&6
4079 lt_cv_ld_reload_flag='-r'
4081 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4082 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4083 reload_flag=$lt_cv_ld_reload_flag
4084 case $reload_flag in
4086 *) reload_flag=" $reload_flag" ;;
4088 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4090 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4091 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4092 if test "${lt_cv_path_NM+set}" = set; then
4093 echo $ECHO_N "(cached) $ECHO_C" >&6
4095 if test -n "$NM"; then
4096 # Let the user override the test.
4099 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4100 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4102 test -z "$ac_dir" && ac_dir=.
4103 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4104 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4105 # Check to see if the nm accepts a BSD-compat flag.
4106 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4107 # nm: unknown option "B" ignored
4108 # Tru64's nm complains that /dev/null is an invalid object file
4109 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4110 */dev/null* | *'Invalid file or object type'*)
4111 lt_cv_path_NM="$tmp_nm -B"
4115 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4117 lt_cv_path_NM="$tmp_nm -p"
4121 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4122 continue # so that we can try to find one that supports BSD flags
4129 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4132 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4133 echo "${ECHO_T}$lt_cv_path_NM" >&6
4136 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4137 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4139 if test "$LN_S" = "ln -s"; then
4140 echo "$as_me:$LINENO: result: yes" >&5
4141 echo "${ECHO_T}yes" >&6
4143 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4144 echo "${ECHO_T}no, using $LN_S" >&6
4147 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4148 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4149 if test "${lt_cv_deplibs_check_method+set}" = set; then
4150 echo $ECHO_N "(cached) $ECHO_C" >&6
4152 lt_cv_file_magic_cmd='$MAGIC_CMD'
4153 lt_cv_file_magic_test_file=
4154 lt_cv_deplibs_check_method='unknown'
4155 # Need to set the preceding variable on all platforms that support
4156 # interlibrary dependencies.
4157 # 'none' -- dependencies not supported.
4158 # `unknown' -- same as none, but documents that we really don't know.
4159 # 'pass_all' -- all dependencies passed with no checks.
4160 # 'test_compile' -- check by making test program.
4161 # 'file_magic [[regex]]' -- check by looking for files in library path
4162 # which responds to the $file_magic_cmd with a given extended regex.
4163 # If you have `file' or equivalent on your system and you're not sure
4164 # whether `pass_all' will *always* work, you probably want this one.
4168 lt_cv_deplibs_check_method=pass_all
4172 lt_cv_deplibs_check_method=pass_all
4176 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4177 lt_cv_file_magic_cmd='/usr/bin/file -L'
4178 lt_cv_file_magic_test_file=/shlib/libc.so
4181 cygwin* | mingw* | pw32*)
4182 # win32_libid is a shell function defined in ltmain.sh
4183 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4184 lt_cv_file_magic_cmd='win32_libid'
4187 darwin* | rhapsody*)
4188 # this will be overwritten by pass_all, but leave it in just in case
4189 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4190 lt_cv_file_magic_cmd='/usr/bin/file -L'
4192 rhapsody* | darwin1.[012])
4193 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4196 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4199 lt_cv_deplibs_check_method=pass_all
4203 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4206 # Not sure whether the presence of OpenBSD here was a mistake.
4207 # Let's accept both of them until this is cleared up.
4208 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4209 lt_cv_file_magic_cmd=/usr/bin/file
4210 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4214 lt_cv_deplibs_check_method=pass_all
4219 lt_cv_deplibs_check_method=pass_all
4222 hpux10.20* | hpux11*)
4223 lt_cv_file_magic_cmd=/usr/bin/file
4226 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4227 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4230 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]'
4231 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4234 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4235 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4240 irix5* | irix6* | nonstopux*)
4242 irix5* | nonstopux*)
4243 # this will be overridden with pass_all, but let us keep it just in case
4244 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4248 *-32|*"-32 ") libmagic=32-bit;;
4249 *-n32|*"-n32 ") libmagic=N32;;
4250 *-64|*"-64 ") libmagic=64-bit;;
4251 *) libmagic=never-match;;
4253 # this will be overridden with pass_all, but let us keep it just in case
4254 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4257 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4258 lt_cv_deplibs_check_method=pass_all
4261 # This must be Linux ELF.
4264 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
4265 lt_cv_deplibs_check_method=pass_all ;;
4267 # glibc up to 2.1.1 does not perform some relocations on ARM
4268 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4270 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4274 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4275 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4277 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4282 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4283 lt_cv_file_magic_cmd=/usr/bin/file
4284 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4288 lt_cv_deplibs_check_method=unknown
4292 lt_cv_file_magic_cmd=/usr/bin/file
4293 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4294 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4295 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4297 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4301 osf3* | osf4* | osf5*)
4302 # this will be overridden with pass_all, but let us keep it just in case
4303 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4304 lt_cv_file_magic_test_file=/shlib/libc.so
4305 lt_cv_deplibs_check_method=pass_all
4309 lt_cv_deplibs_check_method=pass_all
4313 lt_cv_deplibs_check_method=pass_all
4314 lt_cv_file_magic_test_file=/lib/libc.so
4317 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4318 case $host_vendor in
4320 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]'
4321 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4324 lt_cv_deplibs_check_method=pass_all
4327 lt_cv_file_magic_cmd='/bin/file'
4328 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4331 lt_cv_file_magic_cmd='/bin/file'
4332 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4333 lt_cv_file_magic_test_file=/lib/libc.so
4336 lt_cv_deplibs_check_method=pass_all
4341 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4342 lt_cv_deplibs_check_method=pass_all
4347 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4348 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4349 file_magic_cmd=$lt_cv_file_magic_cmd
4350 deplibs_check_method=$lt_cv_deplibs_check_method
4351 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4356 # If no C compiler was specified, use CC.
4359 # Allow CC to be a program name with arguments.
4362 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4363 if test "${enable_libtool_lock+set}" = set; then
4364 enableval="$enable_libtool_lock"
4367 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4369 # Some flags need to be propagated to the compiler or linker for good
4373 # Find out which ABI we are using.
4374 echo 'int i;' > conftest.$ac_ext
4375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4376 (eval $ac_compile) 2>&5
4378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4379 (exit $ac_status); }; then
4380 case `/usr/bin/file conftest.$ac_objext` in
4392 # Find out which ABI we are using.
4393 echo '#line 4393 "configure"' > conftest.$ac_ext
4394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4395 (eval $ac_compile) 2>&5
4397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4398 (exit $ac_status); }; then
4399 if test "$lt_cv_prog_gnu_ld" = yes; then
4400 case `/usr/bin/file conftest.$ac_objext` in
4402 LD="${LD-ld} -melf32bsmip"
4405 LD="${LD-ld} -melf32bmipn32"
4408 LD="${LD-ld} -melf64bmip"
4412 case `/usr/bin/file conftest.$ac_objext` in
4428 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4429 # Find out which ABI we are using.
4430 echo 'int i;' > conftest.$ac_ext
4431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4432 (eval $ac_compile) 2>&5
4434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4435 (exit $ac_status); }; then
4436 case "`/usr/bin/file conftest.o`" in
4440 LD="${LD-ld} -m elf_i386"
4443 LD="${LD-ld} -m elf32ppclinux"
4446 LD="${LD-ld} -m elf_s390"
4449 LD="${LD-ld} -m elf32_sparc"
4456 LD="${LD-ld} -m elf_x86_64"
4458 ppc*-*linux*|powerpc*-*linux*)
4459 LD="${LD-ld} -m elf64ppc"
4462 LD="${LD-ld} -m elf64_s390"
4465 LD="${LD-ld} -m elf64_sparc"
4475 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4476 SAVE_CFLAGS="$CFLAGS"
4477 CFLAGS="$CFLAGS -belf"
4478 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4479 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4480 if test "${lt_cv_cc_needs_belf+set}" = set; then
4481 echo $ECHO_N "(cached) $ECHO_C" >&6
4484 ac_cpp='$CPP $CPPFLAGS'
4485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4489 cat >conftest.$ac_ext <<_ACEOF
4490 #line $LINENO "configure"
4493 cat confdefs.h >>conftest.$ac_ext
4494 cat >>conftest.$ac_ext <<_ACEOF
4495 /* end confdefs.h. */
4505 rm -f conftest.$ac_objext conftest$ac_exeext
4506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4507 (eval $ac_link) 2>&5
4509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4510 (exit $ac_status); } &&
4511 { ac_try='test -s conftest$ac_exeext'
4512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4516 (exit $ac_status); }; }; then
4517 lt_cv_cc_needs_belf=yes
4519 echo "$as_me: failed program was:" >&5
4520 sed 's/^/| /' conftest.$ac_ext >&5
4522 lt_cv_cc_needs_belf=no
4524 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4526 ac_cpp='$CPP $CPPFLAGS'
4527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4532 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4533 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4534 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4535 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4536 CFLAGS="$SAVE_CFLAGS"
4542 need_locks="$enable_libtool_lock"
4546 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4547 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4548 if test "${ac_cv_header_stdc+set}" = set; then
4549 echo $ECHO_N "(cached) $ECHO_C" >&6
4551 cat >conftest.$ac_ext <<_ACEOF
4552 #line $LINENO "configure"
4555 cat confdefs.h >>conftest.$ac_ext
4556 cat >>conftest.$ac_ext <<_ACEOF
4557 /* end confdefs.h. */
4571 rm -f conftest.$ac_objext
4572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4573 (eval $ac_compile) 2>&5
4575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4576 (exit $ac_status); } &&
4577 { ac_try='test -s conftest.$ac_objext'
4578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4582 (exit $ac_status); }; }; then
4583 ac_cv_header_stdc=yes
4585 echo "$as_me: failed program was:" >&5
4586 sed 's/^/| /' conftest.$ac_ext >&5
4588 ac_cv_header_stdc=no
4590 rm -f conftest.$ac_objext conftest.$ac_ext
4592 if test $ac_cv_header_stdc = yes; then
4593 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4594 cat >conftest.$ac_ext <<_ACEOF
4595 #line $LINENO "configure"
4598 cat confdefs.h >>conftest.$ac_ext
4599 cat >>conftest.$ac_ext <<_ACEOF
4600 /* end confdefs.h. */
4604 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4605 $EGREP "memchr" >/dev/null 2>&1; then
4608 ac_cv_header_stdc=no
4614 if test $ac_cv_header_stdc = yes; then
4615 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4616 cat >conftest.$ac_ext <<_ACEOF
4617 #line $LINENO "configure"
4620 cat confdefs.h >>conftest.$ac_ext
4621 cat >>conftest.$ac_ext <<_ACEOF
4622 /* end confdefs.h. */
4626 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4627 $EGREP "free" >/dev/null 2>&1; then
4630 ac_cv_header_stdc=no
4636 if test $ac_cv_header_stdc = yes; then
4637 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4638 if test "$cross_compiling" = yes; then
4641 cat >conftest.$ac_ext <<_ACEOF
4642 #line $LINENO "configure"
4645 cat confdefs.h >>conftest.$ac_ext
4646 cat >>conftest.$ac_ext <<_ACEOF
4647 /* end confdefs.h. */
4649 #if ((' ' & 0x0FF) == 0x020)
4650 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4651 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4653 # define ISLOWER(c) \
4654 (('a' <= (c) && (c) <= 'i') \
4655 || ('j' <= (c) && (c) <= 'r') \
4656 || ('s' <= (c) && (c) <= 'z'))
4657 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4660 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4665 for (i = 0; i < 256; i++)
4666 if (XOR (islower (i), ISLOWER (i))
4667 || toupper (i) != TOUPPER (i))
4672 rm -f conftest$ac_exeext
4673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4674 (eval $ac_link) 2>&5
4676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4677 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4682 (exit $ac_status); }; }; then
4685 echo "$as_me: program exited with status $ac_status" >&5
4686 echo "$as_me: failed program was:" >&5
4687 sed 's/^/| /' conftest.$ac_ext >&5
4690 ac_cv_header_stdc=no
4692 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4696 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4697 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4698 if test $ac_cv_header_stdc = yes; then
4700 cat >>confdefs.h <<\_ACEOF
4701 #define STDC_HEADERS 1
4706 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4716 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4717 inttypes.h stdint.h unistd.h
4719 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4720 echo "$as_me:$LINENO: checking for $ac_header" >&5
4721 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4723 echo $ECHO_N "(cached) $ECHO_C" >&6
4725 cat >conftest.$ac_ext <<_ACEOF
4726 #line $LINENO "configure"
4729 cat confdefs.h >>conftest.$ac_ext
4730 cat >>conftest.$ac_ext <<_ACEOF
4731 /* end confdefs.h. */
4732 $ac_includes_default
4734 #include <$ac_header>
4736 rm -f conftest.$ac_objext
4737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4738 (eval $ac_compile) 2>&5
4740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4741 (exit $ac_status); } &&
4742 { ac_try='test -s conftest.$ac_objext'
4743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4747 (exit $ac_status); }; }; then
4748 eval "$as_ac_Header=yes"
4750 echo "$as_me: failed program was:" >&5
4751 sed 's/^/| /' conftest.$ac_ext >&5
4753 eval "$as_ac_Header=no"
4755 rm -f conftest.$ac_objext conftest.$ac_ext
4757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4758 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4759 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4760 cat >>confdefs.h <<_ACEOF
4761 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4770 for ac_header in dlfcn.h
4772 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4773 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4774 echo "$as_me:$LINENO: checking for $ac_header" >&5
4775 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4776 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4777 echo $ECHO_N "(cached) $ECHO_C" >&6
4779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4780 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4782 # Is the header compilable?
4783 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4784 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4785 cat >conftest.$ac_ext <<_ACEOF
4786 #line $LINENO "configure"
4789 cat confdefs.h >>conftest.$ac_ext
4790 cat >>conftest.$ac_ext <<_ACEOF
4791 /* end confdefs.h. */
4792 $ac_includes_default
4793 #include <$ac_header>
4795 rm -f conftest.$ac_objext
4796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4797 (eval $ac_compile) 2>&5
4799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4800 (exit $ac_status); } &&
4801 { ac_try='test -s conftest.$ac_objext'
4802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4806 (exit $ac_status); }; }; then
4807 ac_header_compiler=yes
4809 echo "$as_me: failed program was:" >&5
4810 sed 's/^/| /' conftest.$ac_ext >&5
4812 ac_header_compiler=no
4814 rm -f conftest.$ac_objext conftest.$ac_ext
4815 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4816 echo "${ECHO_T}$ac_header_compiler" >&6
4818 # Is the header present?
4819 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4820 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4821 cat >conftest.$ac_ext <<_ACEOF
4822 #line $LINENO "configure"
4825 cat confdefs.h >>conftest.$ac_ext
4826 cat >>conftest.$ac_ext <<_ACEOF
4827 /* end confdefs.h. */
4828 #include <$ac_header>
4830 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4831 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4833 grep -v '^ *+' conftest.er1 >conftest.err
4835 cat conftest.err >&5
4836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4837 (exit $ac_status); } >/dev/null; then
4838 if test -s conftest.err; then
4839 ac_cpp_err=$ac_c_preproc_warn_flag
4846 if test -z "$ac_cpp_err"; then
4847 ac_header_preproc=yes
4849 echo "$as_me: failed program was:" >&5
4850 sed 's/^/| /' conftest.$ac_ext >&5
4852 ac_header_preproc=no
4854 rm -f conftest.err conftest.$ac_ext
4855 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4856 echo "${ECHO_T}$ac_header_preproc" >&6
4858 # So? What about this header?
4859 case $ac_header_compiler:$ac_header_preproc in
4861 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4862 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4863 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4864 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4867 ## ------------------------------------ ##
4868 ## Report this to bug-autoconf@gnu.org. ##
4869 ## ------------------------------------ ##
4872 sed "s/^/$as_me: WARNING: /" >&2
4875 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4876 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4877 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4878 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4879 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4880 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4883 ## ------------------------------------ ##
4884 ## Report this to bug-autoconf@gnu.org. ##
4885 ## ------------------------------------ ##
4888 sed "s/^/$as_me: WARNING: /" >&2
4891 echo "$as_me:$LINENO: checking for $ac_header" >&5
4892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4894 echo $ECHO_N "(cached) $ECHO_C" >&6
4896 eval "$as_ac_Header=$ac_header_preproc"
4898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4899 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4902 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4903 cat >>confdefs.h <<_ACEOF
4904 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4912 ac_cpp='$CXXCPP $CPPFLAGS'
4913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4916 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4917 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4918 if test -z "$CXXCPP"; then
4919 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4920 echo $ECHO_N "(cached) $ECHO_C" >&6
4922 # Double quotes because CXXCPP needs to be expanded
4923 for CXXCPP in "$CXX -E" "/lib/cpp"
4926 for ac_cxx_preproc_warn_flag in '' yes
4928 # Use a header file that comes with gcc, so configuring glibc
4929 # with a fresh cross-compiler works.
4930 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4931 # <limits.h> exists even on freestanding compilers.
4932 # On the NeXT, cc -E runs the code through the compiler's parser,
4933 # not just through cpp. "Syntax error" is here to catch this case.
4934 cat >conftest.$ac_ext <<_ACEOF
4935 #line $LINENO "configure"
4938 cat confdefs.h >>conftest.$ac_ext
4939 cat >>conftest.$ac_ext <<_ACEOF
4940 /* end confdefs.h. */
4942 # include <limits.h>
4944 # include <assert.h>
4948 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4949 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4951 grep -v '^ *+' conftest.er1 >conftest.err
4953 cat conftest.err >&5
4954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4955 (exit $ac_status); } >/dev/null; then
4956 if test -s conftest.err; then
4957 ac_cpp_err=$ac_cxx_preproc_warn_flag
4964 if test -z "$ac_cpp_err"; then
4967 echo "$as_me: failed program was:" >&5
4968 sed 's/^/| /' conftest.$ac_ext >&5
4970 # Broken: fails on valid input.
4973 rm -f conftest.err conftest.$ac_ext
4975 # OK, works on sane cases. Now check whether non-existent headers
4976 # can be detected and how.
4977 cat >conftest.$ac_ext <<_ACEOF
4978 #line $LINENO "configure"
4981 cat confdefs.h >>conftest.$ac_ext
4982 cat >>conftest.$ac_ext <<_ACEOF
4983 /* end confdefs.h. */
4984 #include <ac_nonexistent.h>
4986 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4987 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4989 grep -v '^ *+' conftest.er1 >conftest.err
4991 cat conftest.err >&5
4992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4993 (exit $ac_status); } >/dev/null; then
4994 if test -s conftest.err; then
4995 ac_cpp_err=$ac_cxx_preproc_warn_flag
5002 if test -z "$ac_cpp_err"; then
5003 # Broken: success on invalid input.
5006 echo "$as_me: failed program was:" >&5
5007 sed 's/^/| /' conftest.$ac_ext >&5
5009 # Passes both tests.
5013 rm -f conftest.err conftest.$ac_ext
5016 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5017 rm -f conftest.err conftest.$ac_ext
5018 if $ac_preproc_ok; then
5023 ac_cv_prog_CXXCPP=$CXXCPP
5026 CXXCPP=$ac_cv_prog_CXXCPP
5028 ac_cv_prog_CXXCPP=$CXXCPP
5030 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5031 echo "${ECHO_T}$CXXCPP" >&6
5033 for ac_cxx_preproc_warn_flag in '' yes
5035 # Use a header file that comes with gcc, so configuring glibc
5036 # with a fresh cross-compiler works.
5037 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5038 # <limits.h> exists even on freestanding compilers.
5039 # On the NeXT, cc -E runs the code through the compiler's parser,
5040 # not just through cpp. "Syntax error" is here to catch this case.
5041 cat >conftest.$ac_ext <<_ACEOF
5042 #line $LINENO "configure"
5045 cat confdefs.h >>conftest.$ac_ext
5046 cat >>conftest.$ac_ext <<_ACEOF
5047 /* end confdefs.h. */
5049 # include <limits.h>
5051 # include <assert.h>
5055 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5056 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5058 grep -v '^ *+' conftest.er1 >conftest.err
5060 cat conftest.err >&5
5061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5062 (exit $ac_status); } >/dev/null; then
5063 if test -s conftest.err; then
5064 ac_cpp_err=$ac_cxx_preproc_warn_flag
5071 if test -z "$ac_cpp_err"; then
5074 echo "$as_me: failed program was:" >&5
5075 sed 's/^/| /' conftest.$ac_ext >&5
5077 # Broken: fails on valid input.
5080 rm -f conftest.err conftest.$ac_ext
5082 # OK, works on sane cases. Now check whether non-existent headers
5083 # can be detected and how.
5084 cat >conftest.$ac_ext <<_ACEOF
5085 #line $LINENO "configure"
5088 cat confdefs.h >>conftest.$ac_ext
5089 cat >>conftest.$ac_ext <<_ACEOF
5090 /* end confdefs.h. */
5091 #include <ac_nonexistent.h>
5093 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5094 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5096 grep -v '^ *+' conftest.er1 >conftest.err
5098 cat conftest.err >&5
5099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5100 (exit $ac_status); } >/dev/null; then
5101 if test -s conftest.err; then
5102 ac_cpp_err=$ac_cxx_preproc_warn_flag
5109 if test -z "$ac_cpp_err"; then
5110 # Broken: success on invalid input.
5113 echo "$as_me: failed program was:" >&5
5114 sed 's/^/| /' conftest.$ac_ext >&5
5116 # Passes both tests.
5120 rm -f conftest.err conftest.$ac_ext
5123 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5124 rm -f conftest.err conftest.$ac_ext
5125 if $ac_preproc_ok; then
5128 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5129 See \`config.log' for more details." >&5
5130 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5131 See \`config.log' for more details." >&2;}
5132 { (exit 1); exit 1; }; }
5136 ac_cpp='$CXXCPP $CPPFLAGS'
5137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5143 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5144 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5145 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5146 if test -n "$ac_tool_prefix"; then
5147 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5149 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5150 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5151 echo "$as_me:$LINENO: checking for $ac_word" >&5
5152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5153 if test "${ac_cv_prog_F77+set}" = set; then
5154 echo $ECHO_N "(cached) $ECHO_C" >&6
5156 if test -n "$F77"; then
5157 ac_cv_prog_F77="$F77" # Let the user override the test.
5159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5163 test -z "$as_dir" && as_dir=.
5164 for ac_exec_ext in '' $ac_executable_extensions; do
5165 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5166 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5167 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5176 if test -n "$F77"; then
5177 echo "$as_me:$LINENO: result: $F77" >&5
5178 echo "${ECHO_T}$F77" >&6
5180 echo "$as_me:$LINENO: result: no" >&5
5181 echo "${ECHO_T}no" >&6
5184 test -n "$F77" && break
5187 if test -z "$F77"; then
5189 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5191 # Extract the first word of "$ac_prog", so it can be a program name with args.
5192 set dummy $ac_prog; ac_word=$2
5193 echo "$as_me:$LINENO: checking for $ac_word" >&5
5194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5195 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5196 echo $ECHO_N "(cached) $ECHO_C" >&6
5198 if test -n "$ac_ct_F77"; then
5199 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5205 test -z "$as_dir" && as_dir=.
5206 for ac_exec_ext in '' $ac_executable_extensions; do
5207 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5208 ac_cv_prog_ac_ct_F77="$ac_prog"
5209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5217 ac_ct_F77=$ac_cv_prog_ac_ct_F77
5218 if test -n "$ac_ct_F77"; then
5219 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5220 echo "${ECHO_T}$ac_ct_F77" >&6
5222 echo "$as_me:$LINENO: result: no" >&5
5223 echo "${ECHO_T}no" >&6
5226 test -n "$ac_ct_F77" && break
5233 # Provide some information about the compiler.
5234 echo "$as_me:5234:" \
5235 "checking for Fortran 77 compiler version" >&5
5236 ac_compiler=`set X $ac_compile; echo $2`
5237 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5238 (eval $ac_compiler --version </dev/null >&5) 2>&5
5240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5241 (exit $ac_status); }
5242 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5243 (eval $ac_compiler -v </dev/null >&5) 2>&5
5245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5246 (exit $ac_status); }
5247 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5248 (eval $ac_compiler -V </dev/null >&5) 2>&5
5250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5251 (exit $ac_status); }
5253 # If we don't use `.F' as extension, the preprocessor is not run on the
5257 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5258 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5259 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5260 echo $ECHO_N "(cached) $ECHO_C" >&6
5262 cat >conftest.$ac_ext <<_ACEOF
5270 rm -f conftest.$ac_objext
5271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5272 (eval $ac_compile) 2>&5
5274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5275 (exit $ac_status); } &&
5276 { ac_try='test -s conftest.$ac_objext'
5277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5281 (exit $ac_status); }; }; then
5284 echo "$as_me: failed program was:" >&5
5285 sed 's/^/| /' conftest.$ac_ext >&5
5289 rm -f conftest.$ac_objext conftest.$ac_ext
5290 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5293 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5294 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5296 G77=`test $ac_compiler_gnu = yes && echo yes`
5297 ac_test_FFLAGS=${FFLAGS+set}
5298 ac_save_FFLAGS=$FFLAGS
5300 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5301 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5302 if test "${ac_cv_prog_f77_g+set}" = set; then
5303 echo $ECHO_N "(cached) $ECHO_C" >&6
5306 cat >conftest.$ac_ext <<_ACEOF
5311 rm -f conftest.$ac_objext
5312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5313 (eval $ac_compile) 2>&5
5315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5316 (exit $ac_status); } &&
5317 { ac_try='test -s conftest.$ac_objext'
5318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5322 (exit $ac_status); }; }; then
5323 ac_cv_prog_f77_g=yes
5325 echo "$as_me: failed program was:" >&5
5326 sed 's/^/| /' conftest.$ac_ext >&5
5330 rm -f conftest.$ac_objext conftest.$ac_ext
5333 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5334 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5335 if test "$ac_test_FFLAGS" = set; then
5336 FFLAGS=$ac_save_FFLAGS
5337 elif test $ac_cv_prog_f77_g = yes; then
5338 if test "$G77" = yes; then
5344 if test "$G77" = yes; then
5351 ac_cpp='$CPP $CPPFLAGS'
5352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5358 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5360 # find the maximum length of command line arguments
5361 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5362 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5363 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5364 echo $ECHO_N "(cached) $ECHO_C" >&6
5371 # On DJGPP, this test can blow up pretty badly due to problems in libc
5372 # (any single argument exceeding 2000 bytes causes a buffer overrun
5373 # during glob expansion). Even if it were fixed, the result of this
5374 # check would be larger than it should be.
5375 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5379 # Under GNU Hurd, this test is not required because there is
5380 # no limit to the length of command line arguments.
5381 # Libtool will interpret -1 as no limit whatsoever
5382 lt_cv_sys_max_cmd_len=-1;
5386 # On Win9x/ME, this test blows up -- it succeeds, but takes
5387 # about 5 minutes as the teststring grows exponentially.
5388 # Worse, since 9x/ME are not pre-emptively multitasking,
5389 # you end up with a "frozen" computer, even though with patience
5390 # the test eventually succeeds (with a max line length of 256k).
5391 # Instead, let's just punt: use the minimum linelength reported by
5392 # all of the supported platforms: 8192 (on NT/2K/XP).
5393 lt_cv_sys_max_cmd_len=8192;
5397 # If test is not a shell built-in, we'll probably end up computing a
5398 # maximum length that is only half of the actual maximum length, but
5400 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5401 = "XX$testring") >/dev/null 2>&1 &&
5402 new_result=`expr "X$testring" : ".*" 2>&1` &&
5403 lt_cv_sys_max_cmd_len=$new_result &&
5404 test $i != 17 # 1/2 MB should be enough
5407 testring=$testring$testring
5410 # Add a significant safety factor because C++ compilers can tack on massive
5411 # amounts of additional arguments before passing them to the linker.
5412 # It appears as though 1/2 is a usable value.
5413 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5419 if test -n $lt_cv_sys_max_cmd_len ; then
5420 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5421 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5423 echo "$as_me:$LINENO: result: none" >&5
5424 echo "${ECHO_T}none" >&6
5430 # Check for command to grab the raw symbol name followed by C symbol from nm.
5431 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5432 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5433 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5434 echo $ECHO_N "(cached) $ECHO_C" >&6
5437 # These are sane defaults that work on at least a few old systems.
5438 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5440 # Character class describing NM global symbol codes.
5441 symcode='[BCDEGRST]'
5443 # Regexp to match symbols that can be accessed directly from C.
5444 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5446 # Transform the above into a raw symbol and a C symbol.
5447 symxfrm='\1 \2\3 \3'
5449 # Transform an extracted symbol line into a proper C declaration
5450 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5452 # Transform an extracted symbol line into symbol name and symbol address
5453 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'"
5455 # Define system-specific variables.
5460 cygwin* | mingw* | pw32*)
5461 symcode='[ABCDGISTW]'
5463 hpux*) # Its linker distinguishes data from code symbols
5464 if test "$host_cpu" = ia64; then
5465 symcode='[ABCDEGRST]'
5467 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5468 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'"
5471 symcode='[BCDEGRST]'
5474 symcode='[BCDEGQRST]'
5484 # Handle CRLF in mingw tool chain
5488 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5492 # If we're using GNU nm, then use its standard symbol codes.
5493 case `$NM -V 2>&1` in
5494 *GNU* | *'with BFD'*)
5495 symcode='[ABCDGISTW]' ;;
5498 # Try without a prefix undercore, then with it.
5499 for ac_symprfx in "" "_"; do
5501 # Write the raw and C identifiers.
5502 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5504 # Check to see that the pipe works correctly.
5508 cat > conftest.$ac_ext <<EOF
5513 void nm_test_func(){}
5517 int main(){nm_test_var='a';nm_test_func();return(0);}
5520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5521 (eval $ac_compile) 2>&5
5523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5524 (exit $ac_status); }; then
5525 # Now try to grab the symbols.
5527 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5528 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5531 (exit $ac_status); } && test -s "$nlist"; then
5532 # Try sorting and uniquifying the output.
5533 if sort "$nlist" | uniq > "$nlist"T; then
5534 mv -f "$nlist"T "$nlist"
5539 # Make sure that we snagged all the symbols we need.
5540 if grep ' nm_test_var$' "$nlist" >/dev/null; then
5541 if grep ' nm_test_func$' "$nlist" >/dev/null; then
5542 cat <<EOF > conftest.$ac_ext
5548 # Now generate the symbol file.
5549 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5551 cat <<EOF >> conftest.$ac_ext
5552 #if defined (__STDC__) && __STDC__
5553 # define lt_ptr_t void *
5555 # define lt_ptr_t char *
5559 /* The mapping between symbol names and symbols. */
5564 lt_preloaded_symbols[] =
5567 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5568 cat <<\EOF >> conftest.$ac_ext
5576 # Now try linking the two files.
5577 mv conftest.$ac_objext conftstm.$ac_objext
5578 lt_save_LIBS="$LIBS"
5579 lt_save_CFLAGS="$CFLAGS"
5580 LIBS="conftstm.$ac_objext"
5581 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5583 (eval $ac_link) 2>&5
5585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5586 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5589 LIBS="$lt_save_LIBS"
5590 CFLAGS="$lt_save_CFLAGS"
5592 echo "cannot find nm_test_func in $nlist" >&5
5595 echo "cannot find nm_test_var in $nlist" >&5
5598 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5601 echo "$progname: failed program was:" >&5
5602 cat conftest.$ac_ext >&5
5604 rm -f conftest* conftst*
5606 # Do not use the global_symbol_pipe unless it works.
5607 if test "$pipe_works" = yes; then
5610 lt_cv_sys_global_symbol_pipe=
5616 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5617 lt_cv_sys_global_symbol_to_cdecl=
5619 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5620 echo "$as_me:$LINENO: result: failed" >&5
5621 echo "${ECHO_T}failed" >&6
5623 echo "$as_me:$LINENO: result: ok" >&5
5624 echo "${ECHO_T}ok" >&6
5627 echo "$as_me:$LINENO: checking for objdir" >&5
5628 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5629 if test "${lt_cv_objdir+set}" = set; then
5630 echo $ECHO_N "(cached) $ECHO_C" >&6
5632 rm -f .libs 2>/dev/null
5633 mkdir .libs 2>/dev/null
5634 if test -d .libs; then
5637 # MS-DOS does not allow filenames that begin with a dot.
5640 rmdir .libs 2>/dev/null
5642 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5643 echo "${ECHO_T}$lt_cv_objdir" >&6
5644 objdir=$lt_cv_objdir
5652 # AIX sometimes has problems with the GCC collect2 program. For some
5653 # reason, if we set the COLLECT_NAMES environment variable, the problems
5654 # vanish in a puff of smoke.
5655 if test "X${COLLECT_NAMES+set}" != Xset; then
5657 export COLLECT_NAMES
5662 # Sed substitution that helps us do robust quoting. It backslashifies
5663 # metacharacters that are still active within double-quoted strings.
5664 Xsed='sed -e s/^X//'
5665 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5667 # Same as above, but do not quote variable references.
5668 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5670 # Sed substitution to delay expansion of an escaped shell variable in a
5671 # double_quote_subst'ed string.
5672 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5674 # Sed substitution to avoid accidental globbing in evaled expressions
5675 no_glob_subst='s/\*/\\\*/g'
5682 can_build_shared=yes
5684 # All known linkers require a `.a' archive for static linking (except M$VC,
5685 # which needs '.lib').
5687 ltmain="$ac_aux_dir/ltmain.sh"
5688 ofile="$default_ofile"
5689 with_gnu_ld="$lt_cv_prog_gnu_ld"
5691 if test -n "$ac_tool_prefix"; then
5692 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5693 set dummy ${ac_tool_prefix}ar; ac_word=$2
5694 echo "$as_me:$LINENO: checking for $ac_word" >&5
5695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5696 if test "${ac_cv_prog_AR+set}" = set; then
5697 echo $ECHO_N "(cached) $ECHO_C" >&6
5699 if test -n "$AR"; then
5700 ac_cv_prog_AR="$AR" # Let the user override the test.
5702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5706 test -z "$as_dir" && as_dir=.
5707 for ac_exec_ext in '' $ac_executable_extensions; do
5708 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5709 ac_cv_prog_AR="${ac_tool_prefix}ar"
5710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5719 if test -n "$AR"; then
5720 echo "$as_me:$LINENO: result: $AR" >&5
5721 echo "${ECHO_T}$AR" >&6
5723 echo "$as_me:$LINENO: result: no" >&5
5724 echo "${ECHO_T}no" >&6
5728 if test -z "$ac_cv_prog_AR"; then
5730 # Extract the first word of "ar", so it can be a program name with args.
5731 set dummy ar; ac_word=$2
5732 echo "$as_me:$LINENO: checking for $ac_word" >&5
5733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5734 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5735 echo $ECHO_N "(cached) $ECHO_C" >&6
5737 if test -n "$ac_ct_AR"; then
5738 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5744 test -z "$as_dir" && as_dir=.
5745 for ac_exec_ext in '' $ac_executable_extensions; do
5746 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5747 ac_cv_prog_ac_ct_AR="ar"
5748 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5754 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5757 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5758 if test -n "$ac_ct_AR"; then
5759 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5760 echo "${ECHO_T}$ac_ct_AR" >&6
5762 echo "$as_me:$LINENO: result: no" >&5
5763 echo "${ECHO_T}no" >&6
5771 if test -n "$ac_tool_prefix"; then
5772 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5773 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5774 echo "$as_me:$LINENO: checking for $ac_word" >&5
5775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5776 if test "${ac_cv_prog_RANLIB+set}" = set; then
5777 echo $ECHO_N "(cached) $ECHO_C" >&6
5779 if test -n "$RANLIB"; then
5780 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5786 test -z "$as_dir" && as_dir=.
5787 for ac_exec_ext in '' $ac_executable_extensions; do
5788 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5789 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5790 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5798 RANLIB=$ac_cv_prog_RANLIB
5799 if test -n "$RANLIB"; then
5800 echo "$as_me:$LINENO: result: $RANLIB" >&5
5801 echo "${ECHO_T}$RANLIB" >&6
5803 echo "$as_me:$LINENO: result: no" >&5
5804 echo "${ECHO_T}no" >&6
5808 if test -z "$ac_cv_prog_RANLIB"; then
5809 ac_ct_RANLIB=$RANLIB
5810 # Extract the first word of "ranlib", so it can be a program name with args.
5811 set dummy ranlib; ac_word=$2
5812 echo "$as_me:$LINENO: checking for $ac_word" >&5
5813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5814 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5815 echo $ECHO_N "(cached) $ECHO_C" >&6
5817 if test -n "$ac_ct_RANLIB"; then
5818 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5824 test -z "$as_dir" && as_dir=.
5825 for ac_exec_ext in '' $ac_executable_extensions; do
5826 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5827 ac_cv_prog_ac_ct_RANLIB="ranlib"
5828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5834 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5837 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5838 if test -n "$ac_ct_RANLIB"; then
5839 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5840 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5842 echo "$as_me:$LINENO: result: no" >&5
5843 echo "${ECHO_T}no" >&6
5846 RANLIB=$ac_ct_RANLIB
5848 RANLIB="$ac_cv_prog_RANLIB"
5851 if test -n "$ac_tool_prefix"; then
5852 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5853 set dummy ${ac_tool_prefix}strip; ac_word=$2
5854 echo "$as_me:$LINENO: checking for $ac_word" >&5
5855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5856 if test "${ac_cv_prog_STRIP+set}" = set; then
5857 echo $ECHO_N "(cached) $ECHO_C" >&6
5859 if test -n "$STRIP"; then
5860 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5866 test -z "$as_dir" && as_dir=.
5867 for ac_exec_ext in '' $ac_executable_extensions; do
5868 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5869 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5878 STRIP=$ac_cv_prog_STRIP
5879 if test -n "$STRIP"; then
5880 echo "$as_me:$LINENO: result: $STRIP" >&5
5881 echo "${ECHO_T}$STRIP" >&6
5883 echo "$as_me:$LINENO: result: no" >&5
5884 echo "${ECHO_T}no" >&6
5888 if test -z "$ac_cv_prog_STRIP"; then
5890 # Extract the first word of "strip", so it can be a program name with args.
5891 set dummy strip; ac_word=$2
5892 echo "$as_me:$LINENO: checking for $ac_word" >&5
5893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5894 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5895 echo $ECHO_N "(cached) $ECHO_C" >&6
5897 if test -n "$ac_ct_STRIP"; then
5898 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5904 test -z "$as_dir" && as_dir=.
5905 for ac_exec_ext in '' $ac_executable_extensions; do
5906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5907 ac_cv_prog_ac_ct_STRIP="strip"
5908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5914 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5917 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5918 if test -n "$ac_ct_STRIP"; then
5919 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5920 echo "${ECHO_T}$ac_ct_STRIP" >&6
5922 echo "$as_me:$LINENO: result: no" >&5
5923 echo "${ECHO_T}no" >&6
5928 STRIP="$ac_cv_prog_STRIP"
5933 old_CFLAGS="$CFLAGS"
5935 # Set sane defaults for various variables
5936 test -z "$AR" && AR=ar
5937 test -z "$AR_FLAGS" && AR_FLAGS=cru
5938 test -z "$AS" && AS=as
5939 test -z "$CC" && CC=cc
5940 test -z "$LTCC" && LTCC=$CC
5941 test -z "$DLLTOOL" && DLLTOOL=dlltool
5942 test -z "$LD" && LD=ld
5943 test -z "$LN_S" && LN_S="ln -s"
5944 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5945 test -z "$NM" && NM=nm
5946 test -z "$SED" && SED=sed
5947 test -z "$OBJDUMP" && OBJDUMP=objdump
5948 test -z "$RANLIB" && RANLIB=:
5949 test -z "$STRIP" && STRIP=:
5950 test -z "$ac_objext" && ac_objext=o
5952 # Determine commands to create old-style static archives.
5953 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5954 old_postinstall_cmds='chmod 644 $oldlib'
5955 old_postuninstall_cmds=
5957 if test -n "$RANLIB"; then
5960 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5963 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
5966 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5969 # Only perform the check for file, if the check method requires it
5970 case $deplibs_check_method in
5972 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5973 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5974 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5975 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5976 echo $ECHO_N "(cached) $ECHO_C" >&6
5980 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5983 lt_save_MAGIC_CMD="$MAGIC_CMD"
5984 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5985 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
5986 for ac_dir in $ac_dummy; do
5988 test -z "$ac_dir" && ac_dir=.
5989 if test -f $ac_dir/${ac_tool_prefix}file; then
5990 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
5991 if test -n "$file_magic_test_file"; then
5992 case $deplibs_check_method in
5994 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5995 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5996 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5997 $EGREP "$file_magic_regex" > /dev/null; then
6002 *** Warning: the command libtool uses to detect shared libraries,
6003 *** $file_magic_cmd, produces output that libtool cannot recognize.
6004 *** The result is that libtool may fail to recognize shared libraries
6005 *** as such. This will affect the creation of libtool libraries that
6006 *** depend on shared libraries, but programs linked with such libtool
6007 *** libraries will work regardless of this problem. Nevertheless, you
6008 *** may want to report the problem to your system manager and/or to
6009 *** bug-libtool@gnu.org
6019 MAGIC_CMD="$lt_save_MAGIC_CMD"
6024 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6025 if test -n "$MAGIC_CMD"; then
6026 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6027 echo "${ECHO_T}$MAGIC_CMD" >&6
6029 echo "$as_me:$LINENO: result: no" >&5
6030 echo "${ECHO_T}no" >&6
6033 if test -z "$lt_cv_path_MAGIC_CMD"; then
6034 if test -n "$ac_tool_prefix"; then
6035 echo "$as_me:$LINENO: checking for file" >&5
6036 echo $ECHO_N "checking for file... $ECHO_C" >&6
6037 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6038 echo $ECHO_N "(cached) $ECHO_C" >&6
6042 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6045 lt_save_MAGIC_CMD="$MAGIC_CMD"
6046 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6047 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6048 for ac_dir in $ac_dummy; do
6050 test -z "$ac_dir" && ac_dir=.
6051 if test -f $ac_dir/file; then
6052 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6053 if test -n "$file_magic_test_file"; then
6054 case $deplibs_check_method in
6056 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6057 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6058 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6059 $EGREP "$file_magic_regex" > /dev/null; then
6064 *** Warning: the command libtool uses to detect shared libraries,
6065 *** $file_magic_cmd, produces output that libtool cannot recognize.
6066 *** The result is that libtool may fail to recognize shared libraries
6067 *** as such. This will affect the creation of libtool libraries that
6068 *** depend on shared libraries, but programs linked with such libtool
6069 *** libraries will work regardless of this problem. Nevertheless, you
6070 *** may want to report the problem to your system manager and/or to
6071 *** bug-libtool@gnu.org
6081 MAGIC_CMD="$lt_save_MAGIC_CMD"
6086 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6087 if test -n "$MAGIC_CMD"; then
6088 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6089 echo "${ECHO_T}$MAGIC_CMD" >&6
6091 echo "$as_me:$LINENO: result: no" >&5
6092 echo "${ECHO_T}no" >&6
6107 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6108 if test "${enable_libtool_lock+set}" = set; then
6109 enableval="$enable_libtool_lock"
6112 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6115 # Check whether --with-pic or --without-pic was given.
6116 if test "${with_pic+set}" = set; then
6122 test -z "$pic_mode" && pic_mode=default
6124 # Use C for the default configuration in the libtool script
6128 ac_cpp='$CPP $CPPFLAGS'
6129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6134 # Source file extension for C test sources.
6137 # Object file extension for compiled C test sources.
6141 # Code to be used in simple compile tests
6142 lt_simple_compile_test_code="int some_variable = 0;\n"
6144 # Code to be used in simple link tests
6145 lt_simple_link_test_code='int main(){return(0);}\n'
6148 # If no C compiler was specified, use CC.
6151 # Allow CC to be a program name with arguments.
6156 # Check for any special shared library compilation flags.
6159 if test "$GCC" = no; then
6162 lt_prog_cc_shlib='-belf'
6166 if test -n "$lt_prog_cc_shlib"; then
6167 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6168 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6169 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
6171 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6172 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6173 lt_cv_prog_cc_can_build_shared=no
6179 # Check to make sure the static flag actually works.
6181 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6182 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6183 if test "${lt_prog_compiler_static_works+set}" = set; then
6184 echo $ECHO_N "(cached) $ECHO_C" >&6
6186 lt_prog_compiler_static_works=no
6187 save_LDFLAGS="$LDFLAGS"
6188 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6189 printf "$lt_simple_link_test_code" > conftest.$ac_ext
6190 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6191 # The compiler can only warn and ignore the option if not recognized
6192 # So say no if there are warnings
6193 if test -s conftest.err; then
6194 # Append any errors to the config.log.
6195 cat conftest.err 1>&5
6197 lt_prog_compiler_static_works=yes
6201 LDFLAGS="$save_LDFLAGS"
6204 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6205 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6207 if test x"$lt_prog_compiler_static_works" = xyes; then
6210 lt_prog_compiler_static=
6216 ## There is no encapsulation within the following macros, do not change
6217 ## the running order or otherwise move them around unless you know exactly
6218 ## what you are doing...
6220 lt_prog_compiler_no_builtin_flag=
6222 if test "$GCC" = yes; then
6223 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6225 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6226 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6227 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6228 echo $ECHO_N "(cached) $ECHO_C" >&6
6230 lt_cv_prog_compiler_rtti_exceptions=no
6231 ac_outfile=conftest.$ac_objext
6232 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6233 lt_compiler_flag="-fno-rtti -fno-exceptions"
6234 # Insert the option either (1) after the last *FLAGS variable, or
6235 # (2) before a word containing "conftest.", or (3) at the end.
6236 # Note that $ac_compile itself does not contain backslashes and begins
6237 # with a dollar sign (not a hyphen), so the echo should work correctly.
6238 # The option is referenced via a variable to avoid confusing sed.
6239 lt_compile=`echo "$ac_compile" | $SED \
6240 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6241 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6242 -e 's:$: $lt_compiler_flag:'`
6243 (eval echo "\"\$as_me:6243: $lt_compile\"" >&5)
6244 (eval "$lt_compile" 2>conftest.err)
6246 cat conftest.err >&5
6247 echo "$as_me:6247: \$? = $ac_status" >&5
6248 if (exit $ac_status) && test -s "$ac_outfile"; then
6249 # The compiler can only warn and ignore the option if not recognized
6250 # So say no if there are warnings
6251 if test ! -s conftest.err; then
6252 lt_cv_prog_compiler_rtti_exceptions=yes
6258 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6259 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6261 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6262 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6269 lt_prog_compiler_wl=
6270 lt_prog_compiler_pic=
6271 lt_prog_compiler_static=
6273 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6274 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6276 if test "$GCC" = yes; then
6277 lt_prog_compiler_wl='-Wl,'
6278 lt_prog_compiler_static='-static'
6282 # All AIX code is PIC.
6283 if test "$host_cpu" = ia64; then
6284 # AIX 5 now supports IA64 processor
6285 lt_prog_compiler_static='-Bstatic'
6290 # FIXME: we need at least 68020 code to build shared libraries, but
6291 # adding the `-m68020' flag to GCC prevents building anything better,
6293 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6296 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6297 # PIC is the default for these OSes.
6300 mingw* | pw32* | os2*)
6301 # This hack is so that the source file can tell whether it is being
6302 # built for inclusion in a dll (and should export symbols for example).
6303 lt_prog_compiler_pic='-DDLL_EXPORT'
6306 darwin* | rhapsody*)
6307 # PIC is the default on this platform
6308 # Common symbols not allowed in MH_DYLIB files
6309 lt_prog_compiler_pic='-fno-common'
6313 # Just because we use GCC doesn't mean we suddenly get shared libraries
6314 # on systems that don't support them.
6315 lt_prog_compiler_can_build_shared=no
6320 if test -d /usr/nec; then
6321 lt_prog_compiler_pic=-Kconform_pic
6326 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6333 lt_prog_compiler_pic='-fPIC'
6339 lt_prog_compiler_pic='-fPIC'
6343 # PORTME Check for flag to pass linker flags through the system compiler.
6346 lt_prog_compiler_wl='-Wl,'
6347 if test "$host_cpu" = ia64; then
6348 # AIX 5 now supports IA64 processor
6349 lt_prog_compiler_static='-Bstatic'
6351 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6355 mingw* | pw32* | os2*)
6356 # This hack is so that the source file can tell whether it is being
6357 # built for inclusion in a dll (and should export symbols for example).
6358 lt_prog_compiler_pic='-DDLL_EXPORT'
6361 hpux9* | hpux10* | hpux11*)
6362 lt_prog_compiler_wl='-Wl,'
6363 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6370 lt_prog_compiler_pic='+Z'
6373 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6374 lt_prog_compiler_static='${wl}-a ${wl}archive'
6377 irix5* | irix6* | nonstopux*)
6378 lt_prog_compiler_wl='-Wl,'
6379 # PIC (with -KPIC) is the default.
6380 lt_prog_compiler_static='-non_shared'
6384 lt_prog_compiler_pic='-KPIC'
6385 lt_prog_compiler_static='-Bstatic'
6391 lt_prog_compiler_wl='-Wl,'
6392 lt_prog_compiler_pic='-KPIC'
6393 lt_prog_compiler_static='-static'
6396 lt_prog_compiler_wl='-Wl,'
6397 # All Alpha code is PIC.
6398 lt_prog_compiler_static='-non_shared'
6403 osf3* | osf4* | osf5*)
6404 lt_prog_compiler_wl='-Wl,'
6405 # All OSF/1 code is PIC.
6406 lt_prog_compiler_static='-non_shared'
6410 lt_prog_compiler_pic='-Kpic'
6411 lt_prog_compiler_static='-dn'
6415 lt_prog_compiler_wl='-Wl,'
6416 lt_prog_compiler_pic='-KPIC'
6417 lt_prog_compiler_static='-Bstatic'
6421 lt_prog_compiler_wl='-Qoption ld '
6422 lt_prog_compiler_pic='-PIC'
6423 lt_prog_compiler_static='-Bstatic'
6426 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6427 lt_prog_compiler_wl='-Wl,'
6428 lt_prog_compiler_pic='-KPIC'
6429 lt_prog_compiler_static='-Bstatic'
6433 if test -d /usr/nec ;then
6434 lt_prog_compiler_pic='-Kconform_pic'
6435 lt_prog_compiler_static='-Bstatic'
6440 lt_prog_compiler_pic='-pic'
6441 lt_prog_compiler_static='-Bstatic'
6445 lt_prog_compiler_can_build_shared=no
6450 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6451 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6454 # Check to make sure the PIC flag actually works.
6456 if test -n "$lt_prog_compiler_pic"; then
6457 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6458 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6459 if test "${lt_prog_compiler_pic_works+set}" = set; then
6460 echo $ECHO_N "(cached) $ECHO_C" >&6
6462 lt_prog_compiler_pic_works=no
6463 ac_outfile=conftest.$ac_objext
6464 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6465 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6466 # Insert the option either (1) after the last *FLAGS variable, or
6467 # (2) before a word containing "conftest.", or (3) at the end.
6468 # Note that $ac_compile itself does not contain backslashes and begins
6469 # with a dollar sign (not a hyphen), so the echo should work correctly.
6470 # The option is referenced via a variable to avoid confusing sed.
6471 lt_compile=`echo "$ac_compile" | $SED \
6472 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6473 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6474 -e 's:$: $lt_compiler_flag:'`
6475 (eval echo "\"\$as_me:6475: $lt_compile\"" >&5)
6476 (eval "$lt_compile" 2>conftest.err)
6478 cat conftest.err >&5
6479 echo "$as_me:6479: \$? = $ac_status" >&5
6480 if (exit $ac_status) && test -s "$ac_outfile"; then
6481 # The compiler can only warn and ignore the option if not recognized
6482 # So say no if there are warnings
6483 if test ! -s conftest.err; then
6484 lt_prog_compiler_pic_works=yes
6490 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6491 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6493 if test x"$lt_prog_compiler_pic_works" = xyes; then
6494 case $lt_prog_compiler_pic in
6496 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6499 lt_prog_compiler_pic=
6500 lt_prog_compiler_can_build_shared=no
6505 # For platforms which do not support PIC, -DPIC is meaningless:
6507 lt_prog_compiler_pic=
6510 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6514 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6515 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6516 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6517 echo $ECHO_N "(cached) $ECHO_C" >&6
6519 lt_cv_prog_compiler_c_o=no
6520 $rm -r conftest 2>/dev/null
6524 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6526 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6527 # that will create temporary files in the current directory regardless of
6528 # the output directory. Thus, making CWD read-only will cause this test
6529 # to fail, enabling locking or at least warning the user not to do parallel
6533 lt_compiler_flag="-o out/conftest2.$ac_objext"
6534 # Insert the option either (1) after the last *FLAGS variable, or
6535 # (2) before a word containing "conftest.", or (3) at the end.
6536 # Note that $ac_compile itself does not contain backslashes and begins
6537 # with a dollar sign (not a hyphen), so the echo should work correctly.
6538 lt_compile=`echo "$ac_compile" | $SED \
6539 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6540 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6541 -e 's:$: $lt_compiler_flag:'`
6542 (eval echo "\"\$as_me:6542: $lt_compile\"" >&5)
6543 (eval "$lt_compile" 2>out/conftest.err)
6545 cat out/conftest.err >&5
6546 echo "$as_me:6546: \$? = $ac_status" >&5
6547 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6549 # The compiler can only warn and ignore the option if not recognized
6550 # So say no if there are warnings
6551 if test ! -s out/conftest.err; then
6552 lt_cv_prog_compiler_c_o=yes
6563 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6564 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6567 hard_links="nottested"
6568 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6569 # do not overwrite the value of need_locks provided by the user
6570 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6571 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6574 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6576 ln conftest.a conftest.b 2>&5 || hard_links=no
6577 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6578 echo "$as_me:$LINENO: result: $hard_links" >&5
6579 echo "${ECHO_T}$hard_links" >&6
6580 if test "$hard_links" = no; then
6581 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6582 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6589 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6590 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6593 allow_undefined_flag=
6594 enable_shared_with_static_runtimes=no
6596 archive_expsym_cmds=
6597 old_archive_From_new_cmds=
6598 old_archive_from_expsyms_cmds=
6599 export_dynamic_flag_spec=
6600 whole_archive_flag_spec=
6601 thread_safe_flag_spec=
6602 hardcode_libdir_flag_spec=
6603 hardcode_libdir_flag_spec_ld=
6604 hardcode_libdir_separator=
6607 hardcode_shlibpath_var=unsupported
6608 link_all_deplibs=unknown
6609 hardcode_automatic=no
6612 always_export_symbols=no
6613 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6614 # include_expsyms should be a list of space-separated symbols to be *always*
6615 # included in the symbol list
6617 # exclude_expsyms can be an extended regexp of symbols to exclude
6618 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6619 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6620 # as well as any symbol that contains `d'.
6621 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6622 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6623 # platforms (ab)use it in PIC code, but their linkers get confused if
6624 # the symbol is explicitly referenced. Since portable code cannot
6625 # rely on this symbol name, it's probably fine to never include it in
6626 # preloaded symbol tables.
6627 extract_expsyms_cmds=
6630 cygwin* | mingw* | pw32*)
6631 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6632 # When not using gcc, we currently assume that we are using
6633 # Microsoft Visual C++.
6634 if test "$GCC" != yes; then
6644 if test "$with_gnu_ld" = yes; then
6645 # If archive_cmds runs LD, not CC, wlarc should be empty
6648 # See if GNU ld supports shared libraries.
6650 aix3* | aix4* | aix5*)
6651 # On AIX/PPC, the GNU linker is very broken
6652 if test "$host_cpu" != ia64; then
6656 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6657 *** to be unable to reliably create shared libraries on AIX.
6658 *** Therefore, libtool is disabling shared libraries support. If you
6659 *** really care for shared libraries, you may want to modify your PATH
6660 *** so that a non-GNU linker is found, and then restart.
6667 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)'
6668 hardcode_libdir_flag_spec='-L$libdir'
6669 hardcode_minus_L=yes
6671 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6672 # that the semantics of dynamic libraries on AmigaOS, at least up
6673 # to version 4, is to share data among multiple programs linked
6674 # with the same dynamic library. Since this doesn't match the
6675 # behavior of shared libraries on other platforms, we can't use
6681 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6682 allow_undefined_flag=unsupported
6683 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6684 # support --undefined. This deserves some investigation. FIXME
6685 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6691 cygwin* | mingw* | pw32*)
6692 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6693 # as there is no search path for DLLs.
6694 hardcode_libdir_flag_spec='-L$libdir'
6695 allow_undefined_flag=unsupported
6696 always_export_symbols=no
6697 enable_shared_with_static_runtimes=yes
6698 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6700 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6701 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6702 # If the export-symbols file already is a .def file (1st line
6703 # is EXPORTS), use it as is; otherwise, prepend...
6704 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6705 cp $export_symbols $output_objdir/$soname.def;
6707 echo EXPORTS > $output_objdir/$soname.def;
6708 cat $export_symbols >> $output_objdir/$soname.def;
6710 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6717 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6718 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6721 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6722 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6727 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6731 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6732 *** create shared libraries on Solaris systems. Therefore, libtool
6733 *** is disabling shared libraries support. We urge you to upgrade GNU
6734 *** binutils to release 2.9.1 or newer. Another option is to modify
6735 *** your PATH or compiler configuration so that the native linker is
6736 *** used, and then restart.
6739 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6740 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6741 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6748 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6751 hardcode_shlibpath_var=no
6755 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6756 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6757 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6764 if test "$ld_shlibs" = yes; then
6765 runpath_var=LD_RUN_PATH
6766 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6767 export_dynamic_flag_spec='${wl}--export-dynamic'
6768 # ancient GNU ld didn't support --whole-archive et. al.
6769 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6770 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6772 whole_archive_flag_spec=
6776 # PORTME fill in a description of your system's linker (not GNU ld)
6779 allow_undefined_flag=unsupported
6780 always_export_symbols=yes
6781 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'
6782 # Note: this linker hardcodes the directories in LIBPATH if there
6783 # are no directories specified by -L.
6784 hardcode_minus_L=yes
6785 if test "$GCC" = yes && test -z "$link_static_flag"; then
6786 # Neither direct hardcoding nor static linking is supported with a
6788 hardcode_direct=unsupported
6793 if test "$host_cpu" = ia64; then
6794 # On IA64, the linker does run time linking by default, so we don't
6795 # have to do anything special.
6796 aix_use_runtimelinking=no
6797 exp_sym_flag='-Bexport'
6800 # If we're using GNU nm, then we don't want the "-C" option.
6801 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6802 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6803 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'
6805 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'
6807 aix_use_runtimelinking=no
6809 # Test if we are trying to use run time linking or normal
6810 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6811 # need to do runtime linking.
6812 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6813 for ld_flag in $LDFLAGS; do
6814 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6815 aix_use_runtimelinking=yes
6821 exp_sym_flag='-bexport'
6822 no_entry_flag='-bnoentry'
6825 # When large executables or shared objects are built, AIX ld can
6826 # have problems creating the table of contents. If linking a library
6827 # or program results in "error TOC overflow" add -mminimal-toc to
6828 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6829 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6833 hardcode_libdir_separator=':'
6834 link_all_deplibs=yes
6836 if test "$GCC" = yes; then
6837 case $host_os in aix4.012|aix4.012.*)
6838 # We only want to do this on AIX 4.2 and lower, the check
6839 # below for broken collect2 doesn't work under 4.3+
6840 collect2name=`${CC} -print-prog-name=collect2`
6841 if test -f "$collect2name" && \
6842 strings "$collect2name" | grep resolve_lib_name >/dev/null
6844 # We have reworked collect2
6847 # We have old collect2
6848 hardcode_direct=unsupported
6849 # It fails to find uninstalled libraries when the uninstalled
6850 # path is not listed in the libpath. Setting hardcode_minus_L
6851 # to unsupported forces relinking
6852 hardcode_minus_L=yes
6853 hardcode_libdir_flag_spec='-L$libdir'
6854 hardcode_libdir_separator=
6857 shared_flag='-shared'
6860 if test "$host_cpu" = ia64; then
6861 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6862 # chokes on -Wl,-G. The following line is correct:
6865 if test "$aix_use_runtimelinking" = yes; then
6866 shared_flag='${wl}-G'
6868 shared_flag='${wl}-bM:SRE'
6873 # It seems that -bexpall does not export symbols beginning with
6874 # underscore (_), so it is better to generate a list of symbols to export.
6875 always_export_symbols=yes
6876 if test "$aix_use_runtimelinking" = yes; then
6877 # Warning - without using the other runtime loading flags (-brtl),
6878 # -berok will link without error, but may produce a broken library.
6879 allow_undefined_flag='-berok'
6880 # Determine the default libpath from the value encoded in an empty executable.
6881 cat >conftest.$ac_ext <<_ACEOF
6882 #line $LINENO "configure"
6885 cat confdefs.h >>conftest.$ac_ext
6886 cat >>conftest.$ac_ext <<_ACEOF
6887 /* end confdefs.h. */
6897 rm -f conftest.$ac_objext conftest$ac_exeext
6898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6899 (eval $ac_link) 2>&5
6901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6902 (exit $ac_status); } &&
6903 { ac_try='test -s conftest$ac_exeext'
6904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6908 (exit $ac_status); }; }; then
6910 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6912 # Check for a 64-bit object if we didn't find anything.
6913 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; }
6916 echo "$as_me: failed program was:" >&5
6917 sed 's/^/| /' conftest.$ac_ext >&5
6920 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6921 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6923 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6924 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"
6926 if test "$host_cpu" = ia64; then
6927 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6928 allow_undefined_flag="-z nodefs"
6929 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"
6931 # Determine the default libpath from the value encoded in an empty executable.
6932 cat >conftest.$ac_ext <<_ACEOF
6933 #line $LINENO "configure"
6936 cat confdefs.h >>conftest.$ac_ext
6937 cat >>conftest.$ac_ext <<_ACEOF
6938 /* end confdefs.h. */
6948 rm -f conftest.$ac_objext conftest$ac_exeext
6949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6950 (eval $ac_link) 2>&5
6952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6953 (exit $ac_status); } &&
6954 { ac_try='test -s conftest$ac_exeext'
6955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6959 (exit $ac_status); }; }; then
6961 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6963 # Check for a 64-bit object if we didn't find anything.
6964 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; }
6967 echo "$as_me: failed program was:" >&5
6968 sed 's/^/| /' conftest.$ac_ext >&5
6971 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6972 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6974 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6975 # Warning - without using the other run time loading flags,
6976 # -berok will link without error, but may produce a broken library.
6977 no_undefined_flag=' ${wl}-bernotok'
6978 allow_undefined_flag=' ${wl}-berok'
6979 # -bexpall does not export symbols beginning with underscore (_)
6980 always_export_symbols=yes
6981 # Exported symbols can be pulled into shared objects from archives
6982 whole_archive_flag_spec=' '
6983 archive_cmds_need_lc=yes
6984 # This is similar to how AIX traditionally builds it's shared libraries.
6985 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'
6991 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)'
6992 hardcode_libdir_flag_spec='-L$libdir'
6993 hardcode_minus_L=yes
6994 # see comment about different semantics on the GNU ld section
6999 export_dynamic_flag_spec=-rdynamic
7002 cygwin* | mingw* | pw32*)
7003 # When not using gcc, we currently assume that we are using
7004 # Microsoft Visual C++.
7005 # hardcode_libdir_flag_spec is actually meaningless, as there is
7006 # no search path for DLLs.
7007 hardcode_libdir_flag_spec=' '
7008 allow_undefined_flag=unsupported
7009 # Tell ltmain to make .lib files, not .a files.
7011 # Tell ltmain to make .dll files, not .so files.
7013 # FIXME: Setting linknames here is a bad hack.
7014 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7015 # The linker will automatically build a .lib file if we build a DLL.
7016 old_archive_From_new_cmds='true'
7017 # FIXME: Should let the user specify the lib program.
7018 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
7019 fix_srcfile_path='`cygpath -w "$srcfile"`'
7020 enable_shared_with_static_runtimes=yes
7023 darwin* | rhapsody*)
7024 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7025 archive_cmds_need_lc=no
7027 rhapsody* | darwin1.[012])
7028 allow_undefined_flag='-undefined suppress'
7031 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
7034 # FIXME: Relying on posixy $() will cause problems for
7035 # cross-compilation, but unfortunately the echo tests do not
7036 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
7037 # `"' quotes if we put them in here... so don't!
7038 lt_int_apple_cc_single_mod=no
7039 output_verbose_link_cmd='echo'
7040 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7041 lt_int_apple_cc_single_mod=yes
7043 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7044 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7046 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'
7048 module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7049 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7050 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7051 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}'
7053 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}'
7055 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}'
7057 hardcode_automatic=yes
7058 hardcode_shlibpath_var=unsupported
7059 whole_archive_flag_spec='-all_load $convenience'
7060 link_all_deplibs=yes
7065 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7066 hardcode_libdir_flag_spec='-L$libdir'
7067 hardcode_shlibpath_var=no
7074 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7075 # support. Future versions do this automatically, but an explicit c++rt0.o
7076 # does not break anything, and helps significantly (at the cost of a little
7079 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7080 hardcode_libdir_flag_spec='-R$libdir'
7082 hardcode_shlibpath_var=no
7085 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7087 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7089 hardcode_minus_L=yes
7090 hardcode_shlibpath_var=no
7093 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7095 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7096 hardcode_libdir_flag_spec='-R$libdir'
7098 hardcode_shlibpath_var=no
7102 if test "$GCC" = yes; then
7103 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'
7105 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'
7107 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7108 hardcode_libdir_separator=:
7111 # hardcode_minus_L: Not really in the search PATH,
7112 # but as the default location of the library.
7113 hardcode_minus_L=yes
7114 export_dynamic_flag_spec='${wl}-E'
7118 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7121 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7124 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7130 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7133 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7137 if test "$with_gnu_ld" = no; then
7140 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7141 hardcode_libdir_flag_spec_ld='+b $libdir'
7142 hardcode_libdir_separator=:
7144 hardcode_shlibpath_var=no
7147 hardcode_libdir_flag_spec='-L$libdir'
7149 hardcode_shlibpath_var=no
7151 # hardcode_minus_L: Not really in the search PATH,
7152 # but as the default location of the library.
7153 hardcode_minus_L=yes
7156 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7157 hardcode_libdir_separator=:
7159 export_dynamic_flag_spec='${wl}-E'
7161 # hardcode_minus_L: Not really in the search PATH,
7162 # but as the default location of the library.
7163 hardcode_minus_L=yes
7169 irix5* | irix6* | nonstopux*)
7170 if test "$GCC" = yes; then
7171 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'
7173 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'
7174 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7176 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7177 hardcode_libdir_separator=:
7178 link_all_deplibs=yes
7182 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7183 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7185 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7187 hardcode_libdir_flag_spec='-R$libdir'
7189 hardcode_shlibpath_var=no
7193 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7195 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7196 hardcode_libdir_separator=:
7197 hardcode_shlibpath_var=no
7202 hardcode_shlibpath_var=no
7203 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7204 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7205 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7206 export_dynamic_flag_spec='${wl}-E'
7209 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7210 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7211 hardcode_libdir_flag_spec='-R$libdir'
7214 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7215 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7222 hardcode_libdir_flag_spec='-L$libdir'
7223 hardcode_minus_L=yes
7224 allow_undefined_flag=unsupported
7225 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'
7226 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7230 if test "$GCC" = yes; then
7231 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7232 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'
7234 allow_undefined_flag=' -expect_unresolved \*'
7235 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'
7237 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7238 hardcode_libdir_separator=:
7241 osf4* | osf5*) # as osf3* with the addition of -msym flag
7242 if test "$GCC" = yes; then
7243 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7244 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'
7245 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7247 allow_undefined_flag=' -expect_unresolved \*'
7248 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'
7249 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7250 $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'
7252 # Both c and cxx compiler support -rpath directly
7253 hardcode_libdir_flag_spec='-rpath $libdir'
7255 hardcode_libdir_separator=:
7259 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7260 hardcode_shlibpath_var=no
7261 export_dynamic_flag_spec='${wl}-Bexport'
7262 runpath_var=LD_RUN_PATH
7263 hardcode_runpath_var=yes
7267 no_undefined_flag=' -z text'
7268 if test "$GCC" = yes; then
7269 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7270 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7271 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7273 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7274 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7275 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7277 hardcode_libdir_flag_spec='-R$libdir'
7278 hardcode_shlibpath_var=no
7280 solaris2.[0-5] | solaris2.[0-5].*) ;;
7281 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7282 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7284 link_all_deplibs=yes
7288 if test "x$host_vendor" = xsequent; then
7289 # Use $CC to link under sequent, because it throws in some extra .o
7290 # files that make .init and .fini sections work.
7291 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7293 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7295 hardcode_libdir_flag_spec='-L$libdir'
7297 hardcode_minus_L=yes
7298 hardcode_shlibpath_var=no
7302 case $host_vendor in
7304 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7305 hardcode_direct=yes # is this really true???
7308 ## LD is ld it makes a PLAMLIB
7309 ## CC just makes a GrossModule.
7310 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7311 reload_cmds='$CC -r -o $output$reload_objs'
7315 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7316 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7319 runpath_var='LD_RUN_PATH'
7320 hardcode_shlibpath_var=no
7324 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7325 hardcode_shlibpath_var=no
7326 export_dynamic_flag_spec='-Bexport'
7330 if test -d /usr/nec; then
7331 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7332 hardcode_shlibpath_var=no
7333 runpath_var=LD_RUN_PATH
7334 hardcode_runpath_var=yes
7340 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7343 hardcode_shlibpath_var=no
7344 hardcode_runpath_var=yes
7345 runpath_var=LD_RUN_PATH
7348 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7349 no_undefined_flag='${wl}-z ${wl}text'
7350 if test "$GCC" = yes; then
7351 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7353 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7355 runpath_var='LD_RUN_PATH'
7356 hardcode_shlibpath_var=no
7360 no_undefined_flag=' -z text'
7361 # $CC -shared without GNU ld will not create a library from C++
7362 # object files and a static libstdc++, better avoid it by now
7363 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7364 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7365 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7366 hardcode_libdir_flag_spec=
7367 hardcode_shlibpath_var=no
7368 runpath_var='LD_RUN_PATH'
7372 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7373 hardcode_libdir_flag_spec='-L$libdir'
7374 hardcode_shlibpath_var=no
7383 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7384 echo "${ECHO_T}$ld_shlibs" >&6
7385 test "$ld_shlibs" = no && can_build_shared=no
7387 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7388 if test "$GCC" = yes; then
7389 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7393 # Do we need to explicitly link libc?
7395 case "x$archive_cmds_need_lc" in
7397 # Assume -lc should be added
7398 archive_cmds_need_lc=yes
7400 if test "$enable_shared" = yes && test "$GCC" = yes; then
7401 case $archive_cmds in
7403 # FIXME: we may have to deal with multi-command sequences.
7406 # Test whether the compiler implicitly links with -lc since on some
7407 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7408 # to ld, don't add -lc before -lgcc.
7409 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7410 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7412 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7415 (eval $ac_compile) 2>&5
7417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7418 (exit $ac_status); } 2>conftest.err; then
7421 libobjs=conftest.$ac_objext
7423 wl=$lt_prog_compiler_wl
7429 lt_save_allow_undefined_flag=$allow_undefined_flag
7430 allow_undefined_flag=
7431 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7432 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7435 (exit $ac_status); }
7437 archive_cmds_need_lc=no
7439 archive_cmds_need_lc=yes
7441 allow_undefined_flag=$lt_save_allow_undefined_flag
7443 cat conftest.err 1>&5
7446 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7447 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7454 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7455 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7457 if test -n "$hardcode_libdir_flag_spec" || \
7458 test -n "$runpath_var " || \
7459 test "X$hardcode_automatic"="Xyes" ; then
7461 # We can hardcode non-existant directories.
7462 if test "$hardcode_direct" != no &&
7463 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7464 # have to relink, otherwise we might link with an installed library
7465 # when we should be linking with a yet-to-be-installed one
7466 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7467 test "$hardcode_minus_L" != no; then
7468 # Linking always hardcodes the temporary library directory.
7469 hardcode_action=relink
7471 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7472 hardcode_action=immediate
7475 # We cannot hardcode anything, or else we can only hardcode existing
7477 hardcode_action=unsupported
7479 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7480 echo "${ECHO_T}$hardcode_action" >&6
7482 if test "$hardcode_action" = relink; then
7483 # Fast installation is not supported
7484 enable_fast_install=no
7485 elif test "$shlibpath_overrides_runpath" = yes ||
7486 test "$enable_shared" = no; then
7487 # Fast installation is not necessary
7488 enable_fast_install=needless
7493 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7494 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7495 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7496 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7497 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7498 echo "$as_me:$LINENO: result: yes" >&5
7499 echo "${ECHO_T}yes" >&6
7501 # FIXME - insert some real tests, host_os isn't really good enough
7504 if test -n "$STRIP" ; then
7505 striplib="$STRIP -x"
7506 echo "$as_me:$LINENO: result: yes" >&5
7507 echo "${ECHO_T}yes" >&6
7509 echo "$as_me:$LINENO: result: no" >&5
7510 echo "${ECHO_T}no" >&6
7514 echo "$as_me:$LINENO: result: no" >&5
7515 echo "${ECHO_T}no" >&6
7520 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7521 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7523 libname_spec='lib$name'
7531 shlibpath_overrides_runpath=unknown
7533 dynamic_linker="$host_os ld.so"
7534 sys_lib_dlsearch_path_spec="/lib /usr/lib"
7535 if test "$GCC" = yes; then
7536 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7537 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7538 # if the path contains ";" then we assume it to be the separator
7539 # otherwise default to the standard path separator (i.e. ":") - it is
7540 # assumed that no part of a normal pathname contains ";" but that should
7541 # okay in the real world where ";" in dirpaths is itself problematic.
7542 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7544 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7547 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7549 need_lib_prefix=unknown
7550 hardcode_into_libs=no
7552 # when you set need_version to no, make sure it does not cause -set_version
7553 # flags to be left without arguments
7554 need_version=unknown
7559 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7560 shlibpath_var=LIBPATH
7562 # AIX 3 has no versioning support, so we append a major version to the name.
7563 soname_spec='${libname}${release}${shared_ext}$major'
7570 hardcode_into_libs=yes
7571 if test "$host_cpu" = ia64; then
7572 # AIX 5 supports IA64
7573 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7574 shlibpath_var=LD_LIBRARY_PATH
7576 # With GCC up to 2.95.x, collect2 would create an import file
7577 # for dependence libraries. The import file would start with
7578 # the line `#! .'. This would cause the generated library to
7579 # depend on `.', always an invalid library. This was fixed in
7580 # development snapshots of GCC prior to 3.0.
7582 aix4 | aix4.[01] | aix4.[01].*)
7583 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7585 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7592 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7593 # soname into executable. Probably we can add versioning support to
7594 # collect2, so additional links can be useful in future.
7595 if test "$aix_use_runtimelinking" = yes; then
7596 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7597 # instead of lib<name>.a to let people know that these are not
7598 # typical AIX shared libraries.
7599 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7601 # We preserve .a as extension for shared libraries through AIX4.2
7602 # and later when we are not doing run time linking.
7603 library_names_spec='${libname}${release}.a $libname.a'
7604 soname_spec='${libname}${release}${shared_ext}$major'
7606 shlibpath_var=LIBPATH
7611 library_names_spec='$libname.ixlibrary $libname.a'
7612 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7613 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'
7617 library_names_spec='${libname}${shared_ext}'
7618 dynamic_linker="$host_os ld.so"
7619 shlibpath_var=LIBRARY_PATH
7625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7626 soname_spec='${libname}${release}${shared_ext}$major'
7627 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7628 shlibpath_var=LD_LIBRARY_PATH
7629 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7630 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7631 # the default ld.so.conf also contains /usr/contrib/lib and
7632 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7633 # libtool to hard-code these into programs
7636 cygwin* | mingw* | pw32*)
7637 version_type=windows
7642 case $GCC,$host_os in
7643 yes,cygwin* | yes,mingw* | yes,pw32*)
7644 library_names_spec='$libname.dll.a'
7645 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7646 postinstall_cmds='base_file=`basename \${file}`~
7647 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7648 dldir=$destdir/`dirname \$dlpath`~
7649 test -d \$dldir || mkdir -p \$dldir~
7650 $install_prog $dir/$dlname \$dldir/$dlname'
7651 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7652 dlpath=$dir/\$dldll~
7654 shlibpath_overrides_runpath=yes
7658 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7659 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7660 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
7663 # MinGW DLLs use traditional 'lib' prefix
7664 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7665 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7666 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7667 # It is most probably a Windows format PATH printed by
7668 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7669 # path with ; separators, and with drive letters. We can handle the
7670 # drive letters (cygwin fileutils understands them), so leave them,
7671 # especially as we might pass files found there to a mingw objdump,
7672 # which wouldn't understand a cygwinified path. Ahh.
7673 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7675 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7679 # pw32 DLLs use 'pw' prefix rather than 'lib'
7680 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7686 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7689 dynamic_linker='Win32 ld.exe'
7690 # FIXME: first we should search . and the directory the executable is in
7694 darwin* | rhapsody*)
7695 dynamic_linker="$host_os dyld"
7699 # FIXME: Relying on posixy $() will cause problems for
7700 # cross-compilation, but unfortunately the echo tests do not
7701 # yet detect zsh echo's removal of \ escapes.
7702 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7703 soname_spec='${libname}${release}${major}$shared_ext'
7704 shlibpath_overrides_runpath=yes
7705 shlibpath_var=DYLD_LIBRARY_PATH
7706 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
7707 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7708 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7709 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"`
7711 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7719 soname_spec='${libname}${release}${shared_ext}$major'
7720 shlibpath_var=LD_LIBRARY_PATH
7728 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7729 version_type=freebsd-$objformat
7730 case $version_type in
7732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7737 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7741 shlibpath_var=LD_LIBRARY_PATH
7744 shlibpath_overrides_runpath=yes
7746 freebsd3.01* | freebsdelf3.01*)
7747 shlibpath_overrides_runpath=yes
7748 hardcode_into_libs=yes
7751 shlibpath_overrides_runpath=no
7752 hardcode_into_libs=yes
7761 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7762 soname_spec='${libname}${release}${shared_ext}$major'
7763 shlibpath_var=LD_LIBRARY_PATH
7764 hardcode_into_libs=yes
7767 hpux9* | hpux10* | hpux11*)
7768 # Give a soname corresponding to the major version so that dld.sl refuses to
7769 # link against other versions.
7776 hardcode_into_libs=yes
7777 dynamic_linker="$host_os dld.so"
7778 shlibpath_var=LD_LIBRARY_PATH
7779 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7780 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7781 soname_spec='${libname}${release}${shared_ext}$major'
7782 if test "X$HPUX_IA64_MODE" = X32; then
7783 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7785 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7787 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7791 hardcode_into_libs=yes
7792 dynamic_linker="$host_os dld.sl"
7793 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7794 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7795 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7796 soname_spec='${libname}${release}${shared_ext}$major'
7797 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7798 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7802 dynamic_linker="$host_os dld.sl"
7803 shlibpath_var=SHLIB_PATH
7804 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7805 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7806 soname_spec='${libname}${release}${shared_ext}$major'
7809 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7810 postinstall_cmds='chmod 555 $lib'
7813 irix5* | irix6* | nonstopux*)
7815 nonstopux*) version_type=nonstopux ;;
7817 if test "$lt_cv_prog_gnu_ld" = yes; then
7825 soname_spec='${libname}${release}${shared_ext}$major'
7826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7828 irix5* | nonstopux*)
7832 case $LD in # libtool.m4 will add one of these switches to LD
7833 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7834 libsuff= shlibsuff= libmagic=32-bit;;
7835 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7836 libsuff=32 shlibsuff=N32 libmagic=N32;;
7837 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7838 libsuff=64 shlibsuff=64 libmagic=64-bit;;
7839 *) libsuff= shlibsuff= libmagic=never-match;;
7843 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7844 shlibpath_overrides_runpath=no
7845 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7846 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7847 hardcode_into_libs=yes
7850 # No shared lib support for Linux oldld, aout, or coff.
7851 linux*oldld* | linux*aout* | linux*coff*)
7855 # This must be Linux ELF.
7860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7861 soname_spec='${libname}${release}${shared_ext}$major'
7862 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7863 shlibpath_var=LD_LIBRARY_PATH
7864 shlibpath_overrides_runpath=no
7865 # This implies no fast_install, which is unacceptable.
7866 # Some rework will be needed to allow for fast_install
7867 # before this can be enabled.
7868 hardcode_into_libs=yes
7870 # We used to test for /lib/ld.so.1 and disable shared libraries on
7871 # powerpc, because MkLinux only supported shared libraries with the
7872 # GNU dynamic linker. Since this was broken with cross compilers,
7873 # most powerpc-linux boxes support dynamic linking these days and
7874 # people can always --disable-shared, the test was removed, and we
7875 # assume the GNU/Linux dynamic linker is in use.
7876 dynamic_linker='GNU/Linux ld.so'
7883 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7885 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7886 dynamic_linker='NetBSD (a.out) ld.so'
7888 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
7889 soname_spec='${libname}${release}${shared_ext}$major'
7890 dynamic_linker='NetBSD ld.elf_so'
7892 shlibpath_var=LD_LIBRARY_PATH
7893 shlibpath_overrides_runpath=yes
7894 hardcode_into_libs=yes
7899 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7900 shlibpath_var=LD_LIBRARY_PATH
7901 shlibpath_overrides_runpath=yes
7908 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7909 soname_spec='${libname}${release}${shared_ext}$major'
7910 shlibpath_var=LD_LIBRARY_PATH
7911 shlibpath_overrides_runpath=yes
7918 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7919 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7920 shlibpath_var=LD_LIBRARY_PATH
7921 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7923 openbsd2.[89] | openbsd2.[89].*)
7924 shlibpath_overrides_runpath=no
7927 shlibpath_overrides_runpath=yes
7931 shlibpath_overrides_runpath=yes
7936 libname_spec='$name'
7939 library_names_spec='$libname${shared_ext} $libname.a'
7940 dynamic_linker='OS/2 ld.exe'
7941 shlibpath_var=LIBPATH
7944 osf3* | osf4* | osf5*)
7948 soname_spec='${libname}${release}${shared_ext}$major'
7949 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7950 shlibpath_var=LD_LIBRARY_PATH
7951 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7952 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7957 soname_spec='${libname}${release}${shared_ext}$major'
7958 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7959 shlibpath_var=LD_LIBRARY_PATH
7966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7967 soname_spec='${libname}${release}${shared_ext}$major'
7968 shlibpath_var=LD_LIBRARY_PATH
7969 shlibpath_overrides_runpath=yes
7970 hardcode_into_libs=yes
7971 # ldd complains unless libraries are executable
7972 postinstall_cmds='chmod +x $lib'
7977 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7978 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
7979 shlibpath_var=LD_LIBRARY_PATH
7980 shlibpath_overrides_runpath=yes
7981 if test "$with_gnu_ld" = yes; then
7987 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7990 soname_spec='${libname}${release}${shared_ext}$major'
7991 shlibpath_var=LD_LIBRARY_PATH
7992 case $host_vendor in
7994 shlibpath_overrides_runpath=no
7996 export_dynamic_flag_spec='${wl}-Blargedynsym'
7997 runpath_var=LD_RUN_PATH
8005 shlibpath_overrides_runpath=no
8006 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8012 if test -d /usr/nec ;then
8014 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8015 soname_spec='$libname${shared_ext}.$major'
8016 shlibpath_var=LD_LIBRARY_PATH
8022 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8023 soname_spec='${libname}${release}${shared_ext}$major'
8024 shlibpath_var=LD_LIBRARY_PATH
8031 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8032 echo "${ECHO_T}$dynamic_linker" >&6
8033 test "$dynamic_linker" = no && can_build_shared=no
8035 if test "x$enable_dlopen" != xyes; then
8036 enable_dlopen=unknown
8037 enable_dlopen_self=unknown
8038 enable_dlopen_self_static=unknown
8045 lt_cv_dlopen="load_add_on"
8047 lt_cv_dlopen_self=yes
8051 lt_cv_dlopen="LoadLibrary"
8056 lt_cv_dlopen="dlopen"
8061 # if libdl is installed we need to link against it
8062 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8063 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8064 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8065 echo $ECHO_N "(cached) $ECHO_C" >&6
8067 ac_check_lib_save_LIBS=$LIBS
8069 cat >conftest.$ac_ext <<_ACEOF
8070 #line $LINENO "configure"
8073 cat confdefs.h >>conftest.$ac_ext
8074 cat >>conftest.$ac_ext <<_ACEOF
8075 /* end confdefs.h. */
8077 /* Override any gcc2 internal prototype to avoid an error. */
8081 /* We use char because int might match the return type of a gcc2
8082 builtin and then its argument prototype would still apply. */
8092 rm -f conftest.$ac_objext conftest$ac_exeext
8093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8094 (eval $ac_link) 2>&5
8096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8097 (exit $ac_status); } &&
8098 { ac_try='test -s conftest$ac_exeext'
8099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8103 (exit $ac_status); }; }; then
8104 ac_cv_lib_dl_dlopen=yes
8106 echo "$as_me: failed program was:" >&5
8107 sed 's/^/| /' conftest.$ac_ext >&5
8109 ac_cv_lib_dl_dlopen=no
8111 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8112 LIBS=$ac_check_lib_save_LIBS
8114 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8115 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8116 if test $ac_cv_lib_dl_dlopen = yes; then
8117 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8122 lt_cv_dlopen_self=yes
8129 echo "$as_me:$LINENO: checking for shl_load" >&5
8130 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8131 if test "${ac_cv_func_shl_load+set}" = set; then
8132 echo $ECHO_N "(cached) $ECHO_C" >&6
8134 cat >conftest.$ac_ext <<_ACEOF
8135 #line $LINENO "configure"
8138 cat confdefs.h >>conftest.$ac_ext
8139 cat >>conftest.$ac_ext <<_ACEOF
8140 /* end confdefs.h. */
8141 /* System header to define __stub macros and hopefully few prototypes,
8142 which can conflict with char shl_load (); below.
8143 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8144 <limits.h> exists even on freestanding compilers. */
8146 # include <limits.h>
8148 # include <assert.h>
8150 /* Override any gcc2 internal prototype to avoid an error. */
8155 /* We use char because int might match the return type of a gcc2
8156 builtin and then its argument prototype would still apply. */
8158 /* The GNU C library defines this for functions which it implements
8159 to always fail with ENOSYS. Some functions are actually named
8160 something starting with __ and the normal name is an alias. */
8161 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8164 char (*f) () = shl_load;
8173 return f != shl_load;
8178 rm -f conftest.$ac_objext conftest$ac_exeext
8179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8180 (eval $ac_link) 2>&5
8182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8183 (exit $ac_status); } &&
8184 { ac_try='test -s conftest$ac_exeext'
8185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8189 (exit $ac_status); }; }; then
8190 ac_cv_func_shl_load=yes
8192 echo "$as_me: failed program was:" >&5
8193 sed 's/^/| /' conftest.$ac_ext >&5
8195 ac_cv_func_shl_load=no
8197 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8199 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8200 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8201 if test $ac_cv_func_shl_load = yes; then
8202 lt_cv_dlopen="shl_load"
8204 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8205 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8206 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8207 echo $ECHO_N "(cached) $ECHO_C" >&6
8209 ac_check_lib_save_LIBS=$LIBS
8211 cat >conftest.$ac_ext <<_ACEOF
8212 #line $LINENO "configure"
8215 cat confdefs.h >>conftest.$ac_ext
8216 cat >>conftest.$ac_ext <<_ACEOF
8217 /* end confdefs.h. */
8219 /* Override any gcc2 internal prototype to avoid an error. */
8223 /* We use char because int might match the return type of a gcc2
8224 builtin and then its argument prototype would still apply. */
8234 rm -f conftest.$ac_objext conftest$ac_exeext
8235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8236 (eval $ac_link) 2>&5
8238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8239 (exit $ac_status); } &&
8240 { ac_try='test -s conftest$ac_exeext'
8241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8245 (exit $ac_status); }; }; then
8246 ac_cv_lib_dld_shl_load=yes
8248 echo "$as_me: failed program was:" >&5
8249 sed 's/^/| /' conftest.$ac_ext >&5
8251 ac_cv_lib_dld_shl_load=no
8253 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8254 LIBS=$ac_check_lib_save_LIBS
8256 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8257 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8258 if test $ac_cv_lib_dld_shl_load = yes; then
8259 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8261 echo "$as_me:$LINENO: checking for dlopen" >&5
8262 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8263 if test "${ac_cv_func_dlopen+set}" = set; then
8264 echo $ECHO_N "(cached) $ECHO_C" >&6
8266 cat >conftest.$ac_ext <<_ACEOF
8267 #line $LINENO "configure"
8270 cat confdefs.h >>conftest.$ac_ext
8271 cat >>conftest.$ac_ext <<_ACEOF
8272 /* end confdefs.h. */
8273 /* System header to define __stub macros and hopefully few prototypes,
8274 which can conflict with char dlopen (); below.
8275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8276 <limits.h> exists even on freestanding compilers. */
8278 # include <limits.h>
8280 # include <assert.h>
8282 /* Override any gcc2 internal prototype to avoid an error. */
8287 /* We use char because int might match the return type of a gcc2
8288 builtin and then its argument prototype would still apply. */
8290 /* The GNU C library defines this for functions which it implements
8291 to always fail with ENOSYS. Some functions are actually named
8292 something starting with __ and the normal name is an alias. */
8293 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8296 char (*f) () = dlopen;
8310 rm -f conftest.$ac_objext conftest$ac_exeext
8311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8312 (eval $ac_link) 2>&5
8314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8315 (exit $ac_status); } &&
8316 { ac_try='test -s conftest$ac_exeext'
8317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8321 (exit $ac_status); }; }; then
8322 ac_cv_func_dlopen=yes
8324 echo "$as_me: failed program was:" >&5
8325 sed 's/^/| /' conftest.$ac_ext >&5
8327 ac_cv_func_dlopen=no
8329 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8331 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8332 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8333 if test $ac_cv_func_dlopen = yes; then
8334 lt_cv_dlopen="dlopen"
8336 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8337 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8338 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8339 echo $ECHO_N "(cached) $ECHO_C" >&6
8341 ac_check_lib_save_LIBS=$LIBS
8343 cat >conftest.$ac_ext <<_ACEOF
8344 #line $LINENO "configure"
8347 cat confdefs.h >>conftest.$ac_ext
8348 cat >>conftest.$ac_ext <<_ACEOF
8349 /* end confdefs.h. */
8351 /* Override any gcc2 internal prototype to avoid an error. */
8355 /* We use char because int might match the return type of a gcc2
8356 builtin and then its argument prototype would still apply. */
8366 rm -f conftest.$ac_objext conftest$ac_exeext
8367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8368 (eval $ac_link) 2>&5
8370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8371 (exit $ac_status); } &&
8372 { ac_try='test -s conftest$ac_exeext'
8373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8377 (exit $ac_status); }; }; then
8378 ac_cv_lib_dl_dlopen=yes
8380 echo "$as_me: failed program was:" >&5
8381 sed 's/^/| /' conftest.$ac_ext >&5
8383 ac_cv_lib_dl_dlopen=no
8385 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8386 LIBS=$ac_check_lib_save_LIBS
8388 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8389 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8390 if test $ac_cv_lib_dl_dlopen = yes; then
8391 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8393 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8394 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8395 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8396 echo $ECHO_N "(cached) $ECHO_C" >&6
8398 ac_check_lib_save_LIBS=$LIBS
8400 cat >conftest.$ac_ext <<_ACEOF
8401 #line $LINENO "configure"
8404 cat confdefs.h >>conftest.$ac_ext
8405 cat >>conftest.$ac_ext <<_ACEOF
8406 /* end confdefs.h. */
8408 /* Override any gcc2 internal prototype to avoid an error. */
8412 /* We use char because int might match the return type of a gcc2
8413 builtin and then its argument prototype would still apply. */
8423 rm -f conftest.$ac_objext conftest$ac_exeext
8424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8425 (eval $ac_link) 2>&5
8427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8428 (exit $ac_status); } &&
8429 { ac_try='test -s conftest$ac_exeext'
8430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8434 (exit $ac_status); }; }; then
8435 ac_cv_lib_svld_dlopen=yes
8437 echo "$as_me: failed program was:" >&5
8438 sed 's/^/| /' conftest.$ac_ext >&5
8440 ac_cv_lib_svld_dlopen=no
8442 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8443 LIBS=$ac_check_lib_save_LIBS
8445 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8446 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8447 if test $ac_cv_lib_svld_dlopen = yes; then
8448 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8450 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8451 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8452 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8453 echo $ECHO_N "(cached) $ECHO_C" >&6
8455 ac_check_lib_save_LIBS=$LIBS
8457 cat >conftest.$ac_ext <<_ACEOF
8458 #line $LINENO "configure"
8461 cat confdefs.h >>conftest.$ac_ext
8462 cat >>conftest.$ac_ext <<_ACEOF
8463 /* end confdefs.h. */
8465 /* Override any gcc2 internal prototype to avoid an error. */
8469 /* We use char because int might match the return type of a gcc2
8470 builtin and then its argument prototype would still apply. */
8480 rm -f conftest.$ac_objext conftest$ac_exeext
8481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8482 (eval $ac_link) 2>&5
8484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8485 (exit $ac_status); } &&
8486 { ac_try='test -s conftest$ac_exeext'
8487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8491 (exit $ac_status); }; }; then
8492 ac_cv_lib_dld_dld_link=yes
8494 echo "$as_me: failed program was:" >&5
8495 sed 's/^/| /' conftest.$ac_ext >&5
8497 ac_cv_lib_dld_dld_link=no
8499 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8500 LIBS=$ac_check_lib_save_LIBS
8502 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8503 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8504 if test $ac_cv_lib_dld_dld_link = yes; then
8505 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8526 if test "x$lt_cv_dlopen" != xno; then
8532 case $lt_cv_dlopen in
8534 save_CPPFLAGS="$CPPFLAGS"
8535 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8537 save_LDFLAGS="$LDFLAGS"
8538 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8541 LIBS="$lt_cv_dlopen_libs $LIBS"
8543 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8544 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8545 if test "${lt_cv_dlopen_self+set}" = set; then
8546 echo $ECHO_N "(cached) $ECHO_C" >&6
8548 if test "$cross_compiling" = yes; then :
8549 lt_cv_dlopen_self=cross
8551 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8552 lt_status=$lt_dlunknown
8553 cat > conftest.$ac_ext <<EOF
8554 #line 8554 "configure"
8555 #include "confdefs.h"
8564 # define LT_DLGLOBAL RTLD_GLOBAL
8567 # define LT_DLGLOBAL DL_GLOBAL
8569 # define LT_DLGLOBAL 0
8573 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8574 find out it does not work in some platform. */
8575 #ifndef LT_DLLAZY_OR_NOW
8577 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8580 # define LT_DLLAZY_OR_NOW DL_LAZY
8583 # define LT_DLLAZY_OR_NOW RTLD_NOW
8586 # define LT_DLLAZY_OR_NOW DL_NOW
8588 # define LT_DLLAZY_OR_NOW 0
8596 extern "C" void exit (int);
8599 void fnord() { int i=42;}
8602 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8603 int status = $lt_dlunknown;
8607 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8608 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8609 /* dlclose (self); */
8615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8616 (eval $ac_link) 2>&5
8618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8619 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8620 (./conftest; exit; ) 2>/dev/null
8623 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8624 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8625 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
8628 # compilation failed
8629 lt_cv_dlopen_self=no
8636 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8637 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8639 if test "x$lt_cv_dlopen_self" = xyes; then
8640 LDFLAGS="$LDFLAGS $link_static_flag"
8641 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8642 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8643 if test "${lt_cv_dlopen_self_static+set}" = set; then
8644 echo $ECHO_N "(cached) $ECHO_C" >&6
8646 if test "$cross_compiling" = yes; then :
8647 lt_cv_dlopen_self_static=cross
8649 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8650 lt_status=$lt_dlunknown
8651 cat > conftest.$ac_ext <<EOF
8652 #line 8652 "configure"
8653 #include "confdefs.h"
8662 # define LT_DLGLOBAL RTLD_GLOBAL
8665 # define LT_DLGLOBAL DL_GLOBAL
8667 # define LT_DLGLOBAL 0
8671 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8672 find out it does not work in some platform. */
8673 #ifndef LT_DLLAZY_OR_NOW
8675 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8678 # define LT_DLLAZY_OR_NOW DL_LAZY
8681 # define LT_DLLAZY_OR_NOW RTLD_NOW
8684 # define LT_DLLAZY_OR_NOW DL_NOW
8686 # define LT_DLLAZY_OR_NOW 0
8694 extern "C" void exit (int);
8697 void fnord() { int i=42;}
8700 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8701 int status = $lt_dlunknown;
8705 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8706 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8707 /* dlclose (self); */
8713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8714 (eval $ac_link) 2>&5
8716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8717 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8718 (./conftest; exit; ) 2>/dev/null
8721 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8722 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8723 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
8726 # compilation failed
8727 lt_cv_dlopen_self_static=no
8734 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8735 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8738 CPPFLAGS="$save_CPPFLAGS"
8739 LDFLAGS="$save_LDFLAGS"
8744 case $lt_cv_dlopen_self in
8745 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
8746 *) enable_dlopen_self=unknown ;;
8749 case $lt_cv_dlopen_self_static in
8750 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
8751 *) enable_dlopen_self_static=unknown ;;
8756 # Report which librarie types wil actually be built
8757 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8758 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8759 echo "$as_me:$LINENO: result: $can_build_shared" >&5
8760 echo "${ECHO_T}$can_build_shared" >&6
8762 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8763 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8764 test "$can_build_shared" = "no" && enable_shared=no
8766 # On AIX, shared libraries and static libraries use the same namespace, and
8767 # are all built from PIC.
8770 test "$enable_shared" = yes && enable_static=no
8771 if test -n "$RANLIB"; then
8772 archive_cmds="$archive_cmds~\$RANLIB \$lib"
8773 postinstall_cmds='$RANLIB $lib'
8778 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8779 test "$enable_shared" = yes && enable_static=no
8782 darwin* | rhapsody*)
8783 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8784 archive_cmds_need_lc=no
8786 rhapsody* | darwin1.[012])
8787 allow_undefined_flag='-undefined suppress'
8790 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
8793 # FIXME: Relying on posixy $() will cause problems for
8794 # cross-compilation, but unfortunately the echo tests do not
8795 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
8796 # `"' quotes if we put them in here... so don't!
8797 output_verbose_link_cmd='echo'
8798 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8799 module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
8800 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8801 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}'
8802 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}'
8804 hardcode_automatic=yes
8805 hardcode_shlibpath_var=unsupported
8806 whole_archive_flag_spec='-all_load $convenience'
8807 link_all_deplibs=yes
8811 echo "$as_me:$LINENO: result: $enable_shared" >&5
8812 echo "${ECHO_T}$enable_shared" >&6
8814 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8815 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
8816 # Make sure either enable_shared or enable_static is yes.
8817 test "$enable_shared" = yes || enable_static=yes
8818 echo "$as_me:$LINENO: result: $enable_static" >&5
8819 echo "${ECHO_T}$enable_static" >&6
8821 # The else clause should only fire when bootstrapping the
8822 # libtool distribution, otherwise you forgot to ship ltmain.sh
8823 # with your package, and you will get complaints that there are
8824 # no rules to generate ltmain.sh.
8825 if test -f "$ltmain"; then
8826 # See if we are running on zsh, and set the options which allow our commands through
8827 # without removal of \ escapes.
8828 if test -n "${ZSH_VERSION+set}" ; then
8829 setopt NO_GLOB_SUBST
8831 # Now quote all the things that may contain metacharacters while being
8832 # careful not to overquote the AC_SUBSTed values. We take copies of the
8833 # variables and quote the copies for generation of the libtool script.
8834 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8835 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8836 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8837 deplibs_check_method reload_flag reload_cmds need_locks \
8838 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
8839 lt_cv_sys_global_symbol_to_c_name_address \
8840 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8841 old_postinstall_cmds old_postuninstall_cmds \
8845 lt_prog_compiler_wl \
8846 lt_prog_compiler_pic \
8847 lt_prog_compiler_static \
8848 lt_prog_compiler_no_builtin_flag \
8849 export_dynamic_flag_spec \
8850 thread_safe_flag_spec \
8851 whole_archive_flag_spec \
8852 enable_shared_with_static_runtimes \
8854 old_archive_from_new_cmds \
8859 compiler_lib_search_path \
8861 archive_expsym_cmds \
8863 postuninstall_cmds \
8864 old_archive_from_expsyms_cmds \
8865 allow_undefined_flag \
8867 export_symbols_cmds \
8868 hardcode_libdir_flag_spec \
8869 hardcode_libdir_flag_spec_ld \
8870 hardcode_libdir_separator \
8871 hardcode_automatic \
8873 module_expsym_cmds \
8874 lt_cv_prog_compiler_c_o \
8879 old_archive_cmds | \
8880 old_archive_from_new_cmds | \
8882 archive_expsym_cmds | \
8884 module_expsym_cmds | \
8885 old_archive_from_expsyms_cmds | \
8886 export_symbols_cmds | \
8887 extract_expsyms_cmds | reload_cmds | finish_cmds | \
8888 postinstall_cmds | postuninstall_cmds | \
8889 old_postinstall_cmds | old_postuninstall_cmds | \
8890 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
8891 # Double-quote double-evaled strings.
8892 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
8895 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
8901 *'\$0 --fallback-echo"')
8902 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
8907 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
8909 { echo "$as_me:$LINENO: creating $ofile" >&5
8910 echo "$as_me: creating $ofile" >&6;}
8912 cat <<__EOF__ >> "$cfgfile"
8915 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
8916 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
8917 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8919 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
8920 # Free Software Foundation, Inc.
8922 # This file is part of GNU Libtool:
8923 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8925 # This program is free software; you can redistribute it and/or modify
8926 # it under the terms of the GNU General Public License as published by
8927 # the Free Software Foundation; either version 2 of the License, or
8928 # (at your option) any later version.
8930 # This program is distributed in the hope that it will be useful, but
8931 # WITHOUT ANY WARRANTY; without even the implied warranty of
8932 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8933 # General Public License for more details.
8935 # You should have received a copy of the GNU General Public License
8936 # along with this program; if not, write to the Free Software
8937 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8939 # As a special exception to the GNU General Public License, if you
8940 # distribute this file as part of a program that contains a
8941 # configuration script generated by Autoconf, you may include it under
8942 # the same distribution terms that you use for the rest of that program.
8944 # A sed program that does not truncate output.
8947 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
8948 Xsed="$SED -e s/^X//"
8950 # The HP-UX ksh and POSIX shell print the target directory to stdout
8952 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
8954 # The names of the tagged configurations supported by this script.
8957 # ### BEGIN LIBTOOL CONFIG
8959 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
8961 # Shell to use when invoking shell scripts.
8964 # Whether or not to build shared libraries.
8965 build_libtool_libs=$enable_shared
8967 # Whether or not to build static libraries.
8968 build_old_libs=$enable_static
8970 # Whether or not to add -lc for building shared libraries.
8971 build_libtool_need_lc=$archive_cmds_need_lc
8973 # Whether or not to disallow shared libs when runtime libs are static
8974 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
8976 # Whether or not to optimize for fast installation.
8977 fast_install=$enable_fast_install
8980 host_alias=$host_alias
8983 # An echo program that does not interpret backslashes.
8988 AR_FLAGS=$lt_AR_FLAGS
8993 # A language-specific compiler.
8996 # Is the compiler the GNU C compiler?
9002 # The linker used to build libraries.
9005 # Whether we need hard or soft links.
9008 # A BSD-compatible nm program.
9011 # A symbol stripping program
9014 # Used to examine libraries when file_magic_cmd begins "file"
9015 MAGIC_CMD=$MAGIC_CMD
9017 # Used on cygwin: DLL creation program.
9020 # Used on cygwin: object dumper.
9023 # Used on cygwin: assembler.
9026 # The name of the directory that contains temporary libtool files.
9029 # How to create reloadable object files.
9030 reload_flag=$lt_reload_flag
9031 reload_cmds=$lt_reload_cmds
9033 # How to pass a linker flag through the compiler.
9034 wl=$lt_lt_prog_compiler_wl
9036 # Object file suffix (normally "o").
9039 # Old archive suffix (normally "a").
9042 # Shared library suffix (normally ".so").
9045 # Executable file suffix (normally "").
9048 # Additional compiler flags for building library objects.
9049 pic_flag=$lt_lt_prog_compiler_pic
9052 # What is the maximum length of a command?
9053 max_cmd_len=$lt_cv_sys_max_cmd_len
9055 # Does compiler simultaneously support -c and -o options?
9056 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9058 # Must we lock files when doing compilation ?
9059 need_locks=$lt_need_locks
9061 # Do we need the lib prefix for modules?
9062 need_lib_prefix=$need_lib_prefix
9064 # Do we need a version for libraries?
9065 need_version=$need_version
9067 # Whether dlopen is supported.
9068 dlopen_support=$enable_dlopen
9070 # Whether dlopen of programs is supported.
9071 dlopen_self=$enable_dlopen_self
9073 # Whether dlopen of statically linked programs is supported.
9074 dlopen_self_static=$enable_dlopen_self_static
9076 # Compiler flag to prevent dynamic linking.
9077 link_static_flag=$lt_lt_prog_compiler_static
9079 # Compiler flag to turn off builtin functions.
9080 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9082 # Compiler flag to allow reflexive dlopens.
9083 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9085 # Compiler flag to generate shared objects directly from archives.
9086 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9088 # Compiler flag to generate thread-safe objects.
9089 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9091 # Library versioning type.
9092 version_type=$version_type
9094 # Format of library name prefix.
9095 libname_spec=$lt_libname_spec
9097 # List of archive names. First name is the real one, the rest are links.
9098 # The last name is the one that the linker finds with -lNAME.
9099 library_names_spec=$lt_library_names_spec
9101 # The coded name of the library, if different from the real name.
9102 soname_spec=$lt_soname_spec
9104 # Commands used to build and install an old-style archive.
9106 old_archive_cmds=$lt_old_archive_cmds
9107 old_postinstall_cmds=$lt_old_postinstall_cmds
9108 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9110 # Create an old-style archive from a shared archive.
9111 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9113 # Create a temporary old-style archive to link instead of a shared archive.
9114 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9116 # Commands used to build and install a shared archive.
9117 archive_cmds=$lt_archive_cmds
9118 archive_expsym_cmds=$lt_archive_expsym_cmds
9119 postinstall_cmds=$lt_postinstall_cmds
9120 postuninstall_cmds=$lt_postuninstall_cmds
9122 # Commands used to build a loadable module (assumed same as above if empty)
9123 module_cmds=$lt_module_cmds
9124 module_expsym_cmds=$lt_module_expsym_cmds
9126 # Commands to strip libraries.
9127 old_striplib=$lt_old_striplib
9128 striplib=$lt_striplib
9130 # Dependencies to place before the objects being linked to create a
9132 predep_objects=$lt_predep_objects
9134 # Dependencies to place after the objects being linked to create a
9136 postdep_objects=$lt_postdep_objects
9138 # Dependencies to place before the objects being linked to create a
9142 # Dependencies to place after the objects being linked to create a
9144 postdeps=$lt_postdeps
9146 # The library search path used internally by the compiler when linking
9148 compiler_lib_search_path=$lt_compiler_lib_search_path
9150 # Method to check whether dependent libraries are shared objects.
9151 deplibs_check_method=$lt_deplibs_check_method
9153 # Command to use when deplibs_check_method == file_magic.
9154 file_magic_cmd=$lt_file_magic_cmd
9156 # Flag that allows shared libraries with undefined symbols to be built.
9157 allow_undefined_flag=$lt_allow_undefined_flag
9159 # Flag that forces no undefined symbols.
9160 no_undefined_flag=$lt_no_undefined_flag
9162 # Commands used to finish a libtool library installation in a directory.
9163 finish_cmds=$lt_finish_cmds
9165 # Same as above, but a single script fragment to be evaled but not shown.
9166 finish_eval=$lt_finish_eval
9168 # Take the output of nm and produce a listing of raw symbols and C names.
9169 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9171 # Transform the output of nm in a proper C declaration
9172 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9174 # Transform the output of nm in a C name address pair
9175 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9177 # This is the shared library runtime path variable.
9178 runpath_var=$runpath_var
9180 # This is the shared library path variable.
9181 shlibpath_var=$shlibpath_var
9183 # Is shlibpath searched before the hard-coded library search path?
9184 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9186 # How to hardcode a shared library path into an executable.
9187 hardcode_action=$hardcode_action
9189 # Whether we should hardcode library paths into libraries.
9190 hardcode_into_libs=$hardcode_into_libs
9192 # Flag to hardcode \$libdir into a binary during linking.
9193 # This must work even if \$libdir does not exist.
9194 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9196 # If ld is used when linking, flag to hardcode \$libdir into
9197 # a binary during linking. This must work even if \$libdir does
9199 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9201 # Whether we need a single -rpath flag with a separated argument.
9202 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9204 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9206 hardcode_direct=$hardcode_direct
9208 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9210 hardcode_minus_L=$hardcode_minus_L
9212 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9213 # the resulting binary.
9214 hardcode_shlibpath_var=$hardcode_shlibpath_var
9216 # Set to yes if building a shared library automatically hardcodes DIR into the library
9217 # and all subsequent libraries and executables linked against it.
9218 hardcode_automatic=$hardcode_automatic
9220 # Variables whose values should be saved in libtool wrapper scripts and
9221 # restored at relink time.
9222 variables_saved_for_relink="$variables_saved_for_relink"
9224 # Whether libtool must link a program against all its dependency libraries.
9225 link_all_deplibs=$link_all_deplibs
9227 # Compile-time system search path for libraries
9228 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9230 # Run-time system search path for libraries
9231 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9233 # Fix the shell variable \$srcfile for the compiler.
9234 fix_srcfile_path="$fix_srcfile_path"
9236 # Set to yes if exported symbols are required.
9237 always_export_symbols=$always_export_symbols
9239 # The commands to list exported symbols.
9240 export_symbols_cmds=$lt_export_symbols_cmds
9242 # The commands to extract the exported symbol list from a shared archive.
9243 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9245 # Symbols that should not be listed in the preloaded symbols.
9246 exclude_expsyms=$lt_exclude_expsyms
9248 # Symbols that must always be exported.
9249 include_expsyms=$lt_include_expsyms
9251 # ### END LIBTOOL CONFIG
9258 cat <<\EOF >> "$cfgfile"
9260 # AIX sometimes has problems with the GCC collect2 program. For some
9261 # reason, if we set the COLLECT_NAMES environment variable, the problems
9262 # vanish in a puff of smoke.
9263 if test "X${COLLECT_NAMES+set}" != Xset; then
9265 export COLLECT_NAMES
9271 # We use sed instead of cat because bash on DJGPP gets confused if
9272 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9273 # text mode, it properly converts lines to CR/LF. This bash problem
9274 # is reportedly fixed, but why not run on old versions too?
9275 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9277 mv -f "$cfgfile" "$ofile" || \
9278 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9282 # If there is no Makefile yet, we rely on a make rule to execute
9283 # `config.status --recheck' to rerun these tests and create the
9284 # libtool script then.
9285 test -f Makefile && make "$ltmain"
9290 ac_cpp='$CPP $CPPFLAGS'
9291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9298 # Check whether --with-tags or --without-tags was given.
9299 if test "${with_tags+set}" = set; then
9300 withval="$with_tags"
9304 if test -f "$ltmain" && test -n "$tagnames"; then
9305 if test ! -f "${ofile}"; then
9306 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9307 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9310 if test -z "$LTCC"; then
9311 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9312 if test -z "$LTCC"; then
9313 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9314 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9316 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9317 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9321 # Extract list of available tagged configurations in $ofile.
9322 # Note that this assumes the entire list is on one line.
9323 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9325 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9326 for tagname in $tagnames; do
9328 # Check whether tagname contains only valid characters
9329 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9331 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9332 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9333 { (exit 1); exit 1; }; }
9337 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9339 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9340 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9341 { (exit 1); exit 1; }; }
9344 # Update the list of available tags.
9345 if test -n "$tagname"; then
9346 echo appending configuration tag \"$tagname\" to $ofile
9350 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9352 ac_cpp='$CXXCPP $CPPFLAGS'
9353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9360 archive_cmds_need_lc_CXX=no
9361 allow_undefined_flag_CXX=
9362 always_export_symbols_CXX=no
9363 archive_expsym_cmds_CXX=
9364 export_dynamic_flag_spec_CXX=
9365 hardcode_direct_CXX=no
9366 hardcode_libdir_flag_spec_CXX=
9367 hardcode_libdir_flag_spec_ld_CXX=
9368 hardcode_libdir_separator_CXX=
9369 hardcode_minus_L_CXX=no
9370 hardcode_automatic_CXX=no
9372 module_expsym_cmds_CXX=
9373 link_all_deplibs_CXX=unknown
9374 old_archive_cmds_CXX=$old_archive_cmds
9375 no_undefined_flag_CXX=
9376 whole_archive_flag_spec_CXX=
9377 enable_shared_with_static_runtimes_CXX=no
9379 # Dependencies to place before and after the object being linked:
9381 postdep_objects_CXX=
9384 compiler_lib_search_path_CXX=
9386 # Source file extension for C++ test sources.
9389 # Object file extension for compiled C++ test sources.
9393 # Code to be used in simple compile tests
9394 lt_simple_compile_test_code="int some_variable = 0;\n"
9396 # Code to be used in simple link tests
9397 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
9399 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9401 # If no C compiler was specified, use CC.
9404 # Allow CC to be a program name with arguments.
9408 # Allow CC to be a program name with arguments.
9413 lt_save_with_gnu_ld=$with_gnu_ld
9414 lt_save_path_LD=$lt_cv_path_LD
9415 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9416 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9418 unset lt_cv_prog_gnu_ld
9420 if test -n "${lt_cv_path_LDCXX+set}"; then
9421 lt_cv_path_LD=$lt_cv_path_LDCXX
9425 test -z "${LDCXX+set}" || LD=$LDCXX
9429 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9431 # We don't want -fno-exception wen compiling C++ code, so set the
9432 # no_builtin_flag separately
9433 if test "$GXX" = yes; then
9434 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9436 lt_prog_compiler_no_builtin_flag_CXX=
9439 if test "$GXX" = yes; then
9440 # Set up default GNU C++ configuration
9443 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9444 if test "${with_gnu_ld+set}" = set; then
9445 withval="$with_gnu_ld"
9446 test "$withval" = no || with_gnu_ld=yes
9451 if test "$GCC" = yes; then
9452 # Check if gcc -print-prog-name=ld gives a path.
9453 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9454 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9457 # gcc leaves a trailing carriage return which upsets mingw
9458 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9460 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9463 # Accept absolute paths.
9465 re_direlt='/[^/][^/]*/\.\./'
9466 # Canonicalize the path of ld
9467 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9468 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9469 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9471 test -z "$LD" && LD="$ac_prog"
9474 # If it fails, then pretend we aren't using GCC.
9478 # If it is relative, then search for the first ld in PATH.
9482 elif test "$with_gnu_ld" = yes; then
9483 echo "$as_me:$LINENO: checking for GNU ld" >&5
9484 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9486 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9487 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9489 if test "${lt_cv_path_LD+set}" = set; then
9490 echo $ECHO_N "(cached) $ECHO_C" >&6
9492 if test -z "$LD"; then
9493 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9494 for ac_dir in $PATH; do
9496 test -z "$ac_dir" && ac_dir=.
9497 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9498 lt_cv_path_LD="$ac_dir/$ac_prog"
9499 # Check to see if the program is GNU ld. I'd rather use --version,
9500 # but apparently some GNU ld's only accept -v.
9501 # Break only if it was the GNU/non-GNU ld that we prefer.
9502 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9503 *GNU* | *'with BFD'*)
9504 test "$with_gnu_ld" != no && break
9507 test "$with_gnu_ld" != yes && break
9514 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9519 if test -n "$LD"; then
9520 echo "$as_me:$LINENO: result: $LD" >&5
9521 echo "${ECHO_T}$LD" >&6
9523 echo "$as_me:$LINENO: result: no" >&5
9524 echo "${ECHO_T}no" >&6
9526 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9527 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9528 { (exit 1); exit 1; }; }
9529 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9530 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9531 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9532 echo $ECHO_N "(cached) $ECHO_C" >&6
9534 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9535 case `"$LD" -v 2>&1 </dev/null` in
9536 *GNU* | *'with BFD'*)
9537 lt_cv_prog_gnu_ld=yes
9540 lt_cv_prog_gnu_ld=no
9544 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9545 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9546 with_gnu_ld=$lt_cv_prog_gnu_ld
9550 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9551 # archiving commands below assume that GNU ld is being used.
9552 if test "$with_gnu_ld" = yes; then
9553 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9554 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'
9556 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
9557 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9559 # If archive_cmds runs LD, not CC, wlarc should be empty
9560 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9561 # investigate it a little bit more. (MM)
9564 # ancient GNU ld didn't support --whole-archive et. al.
9565 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9566 grep 'no-whole-archive' > /dev/null; then
9567 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9569 whole_archive_flag_spec_CXX=
9575 # A generic and very simple default shared library creation
9576 # command for GNU C++ for the case where it uses the native
9577 # linker, instead of GNU ld. If possible, this setting should
9578 # overridden to take advantage of the native linker features on
9579 # the platform it is being used on.
9580 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9583 # Commands to make compiler produce verbose output that lists
9584 # what "hidden" libraries, object files and flags are used when
9585 # linking a shared library.
9586 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9594 # PORTME: fill in a description of your system's C++ link characteristics
9595 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9596 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9600 # FIXME: insert proper C++ library support
9604 if test "$host_cpu" = ia64; then
9605 # On IA64, the linker does run time linking by default, so we don't
9606 # have to do anything special.
9607 aix_use_runtimelinking=no
9608 exp_sym_flag='-Bexport'
9611 aix_use_runtimelinking=no
9613 # Test if we are trying to use run time linking or normal
9614 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9615 # need to do runtime linking.
9616 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9617 for ld_flag in $LDFLAGS; do
9620 aix_use_runtimelinking=yes
9627 exp_sym_flag='-bexport'
9628 no_entry_flag='-bnoentry'
9631 # When large executables or shared objects are built, AIX ld can
9632 # have problems creating the table of contents. If linking a library
9633 # or program results in "error TOC overflow" add -mminimal-toc to
9634 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9635 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9638 hardcode_direct_CXX=yes
9639 hardcode_libdir_separator_CXX=':'
9640 link_all_deplibs_CXX=yes
9642 if test "$GXX" = yes; then
9643 case $host_os in aix4.012|aix4.012.*)
9644 # We only want to do this on AIX 4.2 and lower, the check
9645 # below for broken collect2 doesn't work under 4.3+
9646 collect2name=`${CC} -print-prog-name=collect2`
9647 if test -f "$collect2name" && \
9648 strings "$collect2name" | grep resolve_lib_name >/dev/null
9650 # We have reworked collect2
9651 hardcode_direct_CXX=yes
9653 # We have old collect2
9654 hardcode_direct_CXX=unsupported
9655 # It fails to find uninstalled libraries when the uninstalled
9656 # path is not listed in the libpath. Setting hardcode_minus_L
9657 # to unsupported forces relinking
9658 hardcode_minus_L_CXX=yes
9659 hardcode_libdir_flag_spec_CXX='-L$libdir'
9660 hardcode_libdir_separator_CXX=
9663 shared_flag='-shared'
9666 if test "$host_cpu" = ia64; then
9667 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9668 # chokes on -Wl,-G. The following line is correct:
9671 if test "$aix_use_runtimelinking" = yes; then
9672 shared_flag='${wl}-G'
9674 shared_flag='${wl}-bM:SRE'
9679 # It seems that -bexpall does not export symbols beginning with
9680 # underscore (_), so it is better to generate a list of symbols to export.
9681 always_export_symbols_CXX=yes
9682 if test "$aix_use_runtimelinking" = yes; then
9683 # Warning - without using the other runtime loading flags (-brtl),
9684 # -berok will link without error, but may produce a broken library.
9685 allow_undefined_flag_CXX='-berok'
9686 # Determine the default libpath from the value encoded in an empty executable.
9687 cat >conftest.$ac_ext <<_ACEOF
9688 #line $LINENO "configure"
9691 cat confdefs.h >>conftest.$ac_ext
9692 cat >>conftest.$ac_ext <<_ACEOF
9693 /* end confdefs.h. */
9703 rm -f conftest.$ac_objext conftest$ac_exeext
9704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9705 (eval $ac_link) 2>&5
9707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9708 (exit $ac_status); } &&
9709 { ac_try='test -s conftest$ac_exeext'
9710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9714 (exit $ac_status); }; }; then
9716 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9718 # Check for a 64-bit object if we didn't find anything.
9719 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; }
9722 echo "$as_me: failed program was:" >&5
9723 sed 's/^/| /' conftest.$ac_ext >&5
9726 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9727 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9729 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9731 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"
9733 if test "$host_cpu" = ia64; then
9734 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
9735 allow_undefined_flag_CXX="-z nodefs"
9736 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"
9738 # Determine the default libpath from the value encoded in an empty executable.
9739 cat >conftest.$ac_ext <<_ACEOF
9740 #line $LINENO "configure"
9743 cat confdefs.h >>conftest.$ac_ext
9744 cat >>conftest.$ac_ext <<_ACEOF
9745 /* end confdefs.h. */
9755 rm -f conftest.$ac_objext conftest$ac_exeext
9756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9757 (eval $ac_link) 2>&5
9759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9760 (exit $ac_status); } &&
9761 { ac_try='test -s conftest$ac_exeext'
9762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9766 (exit $ac_status); }; }; then
9768 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9770 # Check for a 64-bit object if we didn't find anything.
9771 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; }
9774 echo "$as_me: failed program was:" >&5
9775 sed 's/^/| /' conftest.$ac_ext >&5
9778 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9779 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9781 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9782 # Warning - without using the other run time loading flags,
9783 # -berok will link without error, but may produce a broken library.
9784 no_undefined_flag_CXX=' ${wl}-bernotok'
9785 allow_undefined_flag_CXX=' ${wl}-berok'
9786 # -bexpall does not export symbols beginning with underscore (_)
9787 always_export_symbols_CXX=yes
9788 # Exported symbols can be pulled into shared objects from archives
9789 whole_archive_flag_spec_CXX=' '
9790 archive_cmds_need_lc_CXX=yes
9791 # This is similar to how AIX traditionally builds it's shared libraries.
9792 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'
9797 case $cc_basename in
9799 # FIXME: insert proper C++ library support
9805 cygwin* | mingw* | pw32*)
9806 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
9807 # as there is no search path for DLLs.
9808 hardcode_libdir_flag_spec_CXX='-L$libdir'
9809 allow_undefined_flag_CXX=unsupported
9810 always_export_symbols_CXX=no
9811 enable_shared_with_static_runtimes_CXX=yes
9813 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9814 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'
9815 # If the export-symbols file already is a .def file (1st line
9816 # is EXPORTS), use it as is; otherwise, prepend...
9817 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9818 cp $export_symbols $output_objdir/$soname.def;
9820 echo EXPORTS > $output_objdir/$soname.def;
9821 cat $export_symbols >> $output_objdir/$soname.def;
9823 $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'
9829 darwin* | rhapsody*)
9830 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9831 archive_cmds_need_lc_CXX=no
9833 rhapsody* | darwin1.[012])
9834 allow_undefined_flag_CXX='-undefined suppress'
9837 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9840 lt_int_apple_cc_single_mod=no
9841 output_verbose_link_cmd='echo'
9842 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9843 lt_int_apple_cc_single_mod=yes
9845 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9846 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9848 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'
9850 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9852 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9853 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9854 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}'
9856 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}'
9858 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}'
9859 hardcode_direct_CXX=no
9860 hardcode_automatic_CXX=yes
9861 hardcode_shlibpath_var_CXX=unsupported
9862 whole_archive_flag_spec_CXX='-all_load $convenience'
9863 link_all_deplibs_CXX=yes
9868 case $cc_basename in
9870 # FIXME: insert proper C++ library support
9874 # Green Hills C++ Compiler
9875 # FIXME: insert proper C++ library support
9879 # FIXME: insert proper C++ library support
9885 # C++ shared libraries reported to be fairly broken before switch to ELF
9889 archive_cmds_need_lc_CXX=no
9892 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
9899 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9900 hardcode_libdir_separator_CXX=:
9901 export_dynamic_flag_spec_CXX='${wl}-E'
9902 hardcode_direct_CXX=yes
9903 hardcode_minus_L_CXX=yes # Not in the search PATH,
9904 # but as the default
9905 # location of the library.
9907 case $cc_basename in
9909 # FIXME: insert proper C++ library support
9913 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'
9914 # Commands to make compiler produce verbose output that lists
9915 # what "hidden" libraries, object files and flags are used when
9916 # linking a shared library.
9918 # There doesn't appear to be a way to prevent this compiler from
9919 # explicitly linking system object files so we need to strip them
9920 # from the output so that they don't get included in the library
9922 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'
9925 if test "$GXX" = yes; then
9926 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'
9928 # FIXME: insert proper C++ library support
9935 if test $with_gnu_ld = no; then
9938 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9939 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
9940 hardcode_libdir_separator_CXX=:
9943 hardcode_libdir_flag_spec_CXX='-L$libdir'
9946 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9947 hardcode_libdir_separator_CXX=:
9948 export_dynamic_flag_spec_CXX='${wl}-E'
9954 hardcode_direct_CXX=no
9955 hardcode_shlibpath_var_CXX=no
9958 hardcode_direct_CXX=no
9959 hardcode_shlibpath_var_CXX=no
9960 hardcode_minus_L_CXX=yes # Not in the search PATH,
9961 # but as the default
9962 # location of the library.
9965 hardcode_direct_CXX=yes
9966 hardcode_minus_L_CXX=yes # Not in the search PATH,
9967 # but as the default
9968 # location of the library.
9972 case $cc_basename in
9974 # FIXME: insert proper C++ library support
9980 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
9983 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
9986 # Commands to make compiler produce verbose output that lists
9987 # what "hidden" libraries, object files and flags are used when
9988 # linking a shared library.
9990 # There doesn't appear to be a way to prevent this compiler from
9991 # explicitly linking system object files so we need to strip them
9992 # from the output so that they don't get included in the library
9994 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'
9997 if test "$GXX" = yes; then
9998 if test $with_gnu_ld = no; then
10001 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10004 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'
10009 # FIXME: insert proper C++ library support
10016 case $cc_basename in
10019 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'
10021 # Archives containing C++ object files must be created using
10022 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10023 # necessary to make sure instantiated templates are included
10025 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10028 if test "$GXX" = yes; then
10029 if test "$with_gnu_ld" = no; then
10030 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'
10032 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'
10035 link_all_deplibs_CXX=yes
10038 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10039 hardcode_libdir_separator_CXX=:
10042 case $cc_basename in
10044 # Kuck and Associates, Inc. (KAI) C++ Compiler
10046 # KCC will only create a shared library if the output file
10047 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10048 # to its proper name (with version) after linking.
10049 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'
10050 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'
10051 # Commands to make compiler produce verbose output that lists
10052 # what "hidden" libraries, object files and flags are used when
10053 # linking a shared library.
10055 # There doesn't appear to be a way to prevent this compiler from
10056 # explicitly linking system object files so we need to strip them
10057 # from the output so that they don't get included in the library
10059 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'
10061 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10062 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10064 # Archives containing C++ object files must be created using
10065 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10066 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10071 archive_cmds_need_lc_CXX=no
10072 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10073 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'
10074 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10075 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10076 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10080 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10081 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'
10083 runpath_var=LD_RUN_PATH
10084 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10085 hardcode_libdir_separator_CXX=:
10087 # Commands to make compiler produce verbose output that lists
10088 # what "hidden" libraries, object files and flags are used when
10089 # linking a shared library.
10091 # There doesn't appear to be a way to prevent this compiler from
10092 # explicitly linking system object files so we need to strip them
10093 # from the output so that they don't get included in the library
10095 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'
10100 # FIXME: insert proper C++ library support
10104 # FIXME: insert proper C++ library support
10108 case $cc_basename in
10110 # FIXME: insert proper C++ library support
10114 # FIXME: insert proper C++ library support
10120 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10121 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10123 hardcode_libdir_flag_spec_CXX='-R$libdir'
10124 hardcode_direct_CXX=yes
10125 hardcode_shlibpath_var_CXX=no
10127 # Workaround some broken pre-1.5 toolchains
10128 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10131 case $cc_basename in
10133 # Kuck and Associates, Inc. (KAI) C++ Compiler
10135 # KCC will only create a shared library if the output file
10136 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10137 # to its proper name (with version) after linking.
10138 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'
10140 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10141 hardcode_libdir_separator_CXX=:
10143 # Archives containing C++ object files must be created using
10144 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10145 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10149 # Rational C++ 2.4.1
10150 # FIXME: insert proper C++ library support
10154 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10155 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'
10157 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10158 hardcode_libdir_separator_CXX=:
10160 # Commands to make compiler produce verbose output that lists
10161 # what "hidden" libraries, object files and flags are used when
10162 # linking a shared library.
10164 # There doesn't appear to be a way to prevent this compiler from
10165 # explicitly linking system object files so we need to strip them
10166 # from the output so that they don't get included in the library
10168 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'
10171 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10172 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10173 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'
10175 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10176 hardcode_libdir_separator_CXX=:
10178 # Commands to make compiler produce verbose output that lists
10179 # what "hidden" libraries, object files and flags are used when
10180 # linking a shared library.
10181 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10184 # FIXME: insert proper C++ library support
10191 case $cc_basename in
10193 # Kuck and Associates, Inc. (KAI) C++ Compiler
10195 # KCC will only create a shared library if the output file
10196 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10197 # to its proper name (with version) after linking.
10198 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'
10200 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10201 hardcode_libdir_separator_CXX=:
10203 # Archives containing C++ object files must be created using
10204 # the KAI C++ compiler.
10205 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10208 # Rational C++ 2.4.1
10209 # FIXME: insert proper C++ library support
10213 allow_undefined_flag_CXX=' -expect_unresolved \*'
10214 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'
10215 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10216 echo "-hidden">> $lib.exp~
10217 $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~
10220 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10221 hardcode_libdir_separator_CXX=:
10223 # Commands to make compiler produce verbose output that lists
10224 # what "hidden" libraries, object files and flags are used when
10225 # linking a shared library.
10227 # There doesn't appear to be a way to prevent this compiler from
10228 # explicitly linking system object files so we need to strip them
10229 # from the output so that they don't get included in the library
10231 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'
10234 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10235 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10236 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'
10238 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10239 hardcode_libdir_separator_CXX=:
10241 # Commands to make compiler produce verbose output that lists
10242 # what "hidden" libraries, object files and flags are used when
10243 # linking a shared library.
10244 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10247 # FIXME: insert proper C++ library support
10254 # FIXME: insert proper C++ library support
10258 archive_cmds_need_lc_CXX=no
10259 case $cc_basename in
10261 # FIXME: insert proper C++ library support
10265 # FIXME: insert proper C++ library support
10271 case $cc_basename in
10274 # FIXME: insert proper C++ library support
10279 # FIXME: insert proper C++ library support
10283 # FIXME: insert proper C++ library support
10289 case $cc_basename in
10291 # Sun C++ 4.2, 5.x and Centerline C++
10292 no_undefined_flag_CXX=' -zdefs'
10293 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10294 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10295 $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'
10297 hardcode_libdir_flag_spec_CXX='-R$libdir'
10298 hardcode_shlibpath_var_CXX=no
10300 solaris2.0-5 | solaris2.0-5.*) ;;
10302 # The C++ compiler is used as linker so we must use $wl
10303 # flag to pass the commands to the underlying system
10305 # Supported since Solaris 2.6 (maybe 2.5.1?)
10306 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10309 link_all_deplibs_CXX=yes
10311 # Commands to make compiler produce verbose output that lists
10312 # what "hidden" libraries, object files and flags are used when
10313 # linking a shared library.
10315 # There doesn't appear to be a way to prevent this compiler from
10316 # explicitly linking system object files so we need to strip them
10317 # from the output so that they don't get included in the library
10319 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'
10321 # Archives containing C++ object files must be created using
10322 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10323 # necessary to make sure instantiated templates are included
10325 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10328 # Green Hills C++ Compiler
10329 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10331 # The C++ compiler must be used to create the archive.
10332 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10335 # GNU C++ compiler with Solaris linker
10336 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10337 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10338 if $CC --version | grep -v '^2\.7' > /dev/null; then
10339 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10340 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10341 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10343 # Commands to make compiler produce verbose output that lists
10344 # what "hidden" libraries, object files and flags are used when
10345 # linking a shared library.
10346 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10348 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10350 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10351 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10352 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10354 # Commands to make compiler produce verbose output that lists
10355 # what "hidden" libraries, object files and flags are used when
10356 # linking a shared library.
10357 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10360 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10365 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10366 archive_cmds_need_lc_CXX=no
10369 case $cc_basename in
10371 # NonStop-UX NCC 3.20
10372 # FIXME: insert proper C++ library support
10376 # FIXME: insert proper C++ library support
10382 # FIXME: insert proper C++ library support
10386 # FIXME: insert proper C++ library support
10390 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10391 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10392 test "$ld_shlibs_CXX" = no && can_build_shared=no
10398 ## There is no encapsulation within the following macros, do not change
10399 ## the running order or otherwise move them around unless you know exactly
10400 ## what you are doing...
10402 cat > conftest.$ac_ext <<EOF
10406 Foo (void) { a = 0; }
10412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10413 (eval $ac_compile) 2>&5
10415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10416 (exit $ac_status); }; then
10417 # Parse the compiler output and extract the necessary
10418 # objects, libraries and library flags.
10420 # Sentinel used to keep track of whether or not we are before
10421 # the conftest object file.
10422 pre_test_object_deps_done=no
10424 # The `*' in the case matches for architectures that use `case' in
10425 # $output_verbose_cmd can trigger glob expansion during the loop
10426 # eval without this substitution.
10427 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10429 for p in `eval $output_verbose_link_cmd`; do
10433 # Some compilers place space between "-{L,R}" and the path.
10434 # Remove the space.
10435 if test $p = "-L" \
10436 || test $p = "-R"; then
10443 if test "$pre_test_object_deps_done" = no; then
10446 # Internal compiler library paths should come after those
10447 # provided the user. The postdeps already come after the
10448 # user supplied libs so there is no need to process them.
10449 if test -z "$compiler_lib_search_path_CXX"; then
10450 compiler_lib_search_path_CXX="${prev}${p}"
10452 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10455 # The "-l" case would never come before the object being
10456 # linked, so don't bother handling this case.
10459 if test -z "$postdeps_CXX"; then
10460 postdeps_CXX="${prev}${p}"
10462 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10468 # This assumes that the test object file only shows up
10469 # once in the compiler output.
10470 if test "$p" = "conftest.$objext"; then
10471 pre_test_object_deps_done=yes
10475 if test "$pre_test_object_deps_done" = no; then
10476 if test -z "$predep_objects_CXX"; then
10477 predep_objects_CXX="$p"
10479 predep_objects_CXX="$predep_objects_CXX $p"
10482 if test -z "$postdep_objects_CXX"; then
10483 postdep_objects_CXX="$p"
10485 postdep_objects_CXX="$postdep_objects_CXX $p"
10490 *) ;; # Ignore the rest.
10498 echo "libtool.m4: error: problem compiling CXX test program"
10501 $rm -f confest.$objext
10503 case " $postdeps_CXX " in
10504 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
10507 lt_prog_compiler_wl_CXX=
10508 lt_prog_compiler_pic_CXX=
10509 lt_prog_compiler_static_CXX=
10511 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10512 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10514 # C++ specific cases for pic, static, wl, etc.
10515 if test "$GXX" = yes; then
10516 lt_prog_compiler_wl_CXX='-Wl,'
10517 lt_prog_compiler_static_CXX='-static'
10521 # All AIX code is PIC.
10522 if test "$host_cpu" = ia64; then
10523 # AIX 5 now supports IA64 processor
10524 lt_prog_compiler_static_CXX='-Bstatic'
10528 # FIXME: we need at least 68020 code to build shared libraries, but
10529 # adding the `-m68020' flag to GCC prevents building anything better,
10531 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10533 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10534 # PIC is the default for these OSes.
10536 mingw* | os2* | pw32*)
10537 # This hack is so that the source file can tell whether it is being
10538 # built for inclusion in a dll (and should export symbols for example).
10539 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10541 darwin* | rhapsody*)
10542 # PIC is the default on this platform
10543 # Common symbols not allowed in MH_DYLIB files
10544 lt_prog_compiler_pic_CXX='-fno-common'
10547 # DJGPP does not support shared libraries at all
10548 lt_prog_compiler_pic_CXX=
10551 if test -d /usr/nec; then
10552 lt_prog_compiler_pic_CXX=-Kconform_pic
10556 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10557 # not for PA HP-UX.
10558 case "$host_cpu" in
10562 lt_prog_compiler_pic_CXX='-fPIC'
10567 lt_prog_compiler_pic_CXX='-fPIC'
10573 # All AIX code is PIC.
10574 if test "$host_cpu" = ia64; then
10575 # AIX 5 now supports IA64 processor
10576 lt_prog_compiler_static_CXX='-Bstatic'
10578 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
10582 case $cc_basename in
10584 # Green Hills C++ Compiler
10585 # _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"
10590 case $cc_basename in
10592 lt_prog_compiler_pic_CXX='-KPIC'
10595 # Green Hills C++ Compiler
10596 lt_prog_compiler_pic_CXX='-pic'
10603 # FreeBSD uses GNU C++
10605 hpux9* | hpux10* | hpux11*)
10606 case $cc_basename in
10608 lt_prog_compiler_wl_CXX='-Wl,'
10609 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10610 if test "$host_cpu" != ia64; then
10611 lt_prog_compiler_pic_CXX='+Z'
10615 lt_prog_compiler_wl_CXX='-Wl,'
10616 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10617 case "$host_cpu" in
10622 lt_prog_compiler_pic_CXX='+Z'
10630 irix5* | irix6* | nonstopux*)
10631 case $cc_basename in
10633 lt_prog_compiler_wl_CXX='-Wl,'
10634 lt_prog_compiler_static_CXX='-non_shared'
10635 # CC pic flag -KPIC is the default.
10642 case $cc_basename in
10645 lt_prog_compiler_wl_CXX='--backend -Wl,'
10646 lt_prog_compiler_pic_CXX='-fPIC'
10650 lt_prog_compiler_wl_CXX='-Wl,'
10651 lt_prog_compiler_pic_CXX='-KPIC'
10652 lt_prog_compiler_static_CXX='-static'
10656 # Make sure the PIC flag is empty. It appears that all Alpha
10657 # Linux and Compaq Tru64 Unix objects are PIC.
10658 lt_prog_compiler_pic_CXX=
10659 lt_prog_compiler_static_CXX='-non_shared'
10670 case $cc_basename in
10672 lt_prog_compiler_pic_CXX='-W c,exportall'
10680 osf3* | osf4* | osf5*)
10681 case $cc_basename in
10683 lt_prog_compiler_wl_CXX='--backend -Wl,'
10686 # Rational C++ 2.4.1
10687 lt_prog_compiler_pic_CXX='-pic'
10690 # Digital/Compaq C++
10691 lt_prog_compiler_wl_CXX='-Wl,'
10692 # Make sure the PIC flag is empty. It appears that all Alpha
10693 # Linux and Compaq Tru64 Unix objects are PIC.
10694 lt_prog_compiler_pic_CXX=
10695 lt_prog_compiler_static_CXX='-non_shared'
10704 case $cc_basename in
10706 lt_prog_compiler_pic_CXX='-fPIC'
10713 case $cc_basename in
10715 # Sun C++ 4.2, 5.x and Centerline C++
10716 lt_prog_compiler_pic_CXX='-KPIC'
10717 lt_prog_compiler_static_CXX='-Bstatic'
10718 lt_prog_compiler_wl_CXX='-Qoption ld '
10721 # Green Hills C++ Compiler
10722 lt_prog_compiler_pic_CXX='-PIC'
10729 case $cc_basename in
10732 lt_prog_compiler_pic_CXX='-pic'
10733 lt_prog_compiler_static_CXX='-Bstatic'
10737 lt_prog_compiler_pic_CXX='-pic'
10744 case $cc_basename in
10746 # NonStop-UX NCC 3.20
10747 lt_prog_compiler_pic_CXX='-KPIC'
10758 lt_prog_compiler_can_build_shared_CXX=no
10763 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10764 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
10767 # Check to make sure the PIC flag actually works.
10769 if test -n "$lt_prog_compiler_pic_CXX"; then
10770 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10771 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
10772 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10773 echo $ECHO_N "(cached) $ECHO_C" >&6
10775 lt_prog_compiler_pic_works_CXX=no
10776 ac_outfile=conftest.$ac_objext
10777 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10778 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
10779 # Insert the option either (1) after the last *FLAGS variable, or
10780 # (2) before a word containing "conftest.", or (3) at the end.
10781 # Note that $ac_compile itself does not contain backslashes and begins
10782 # with a dollar sign (not a hyphen), so the echo should work correctly.
10783 # The option is referenced via a variable to avoid confusing sed.
10784 lt_compile=`echo "$ac_compile" | $SED \
10785 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10786 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10787 -e 's:$: $lt_compiler_flag:'`
10788 (eval echo "\"\$as_me:10788: $lt_compile\"" >&5)
10789 (eval "$lt_compile" 2>conftest.err)
10791 cat conftest.err >&5
10792 echo "$as_me:10792: \$? = $ac_status" >&5
10793 if (exit $ac_status) && test -s "$ac_outfile"; then
10794 # The compiler can only warn and ignore the option if not recognized
10795 # So say no if there are warnings
10796 if test ! -s conftest.err; then
10797 lt_prog_compiler_pic_works_CXX=yes
10803 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10804 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
10806 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
10807 case $lt_prog_compiler_pic_CXX in
10809 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
10812 lt_prog_compiler_pic_CXX=
10813 lt_prog_compiler_can_build_shared_CXX=no
10818 # For platforms which do not support PIC, -DPIC is meaningless:
10820 lt_prog_compiler_pic_CXX=
10823 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
10827 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10828 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10829 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
10830 echo $ECHO_N "(cached) $ECHO_C" >&6
10832 lt_cv_prog_compiler_c_o_CXX=no
10833 $rm -r conftest 2>/dev/null
10837 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10839 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10840 # that will create temporary files in the current directory regardless of
10841 # the output directory. Thus, making CWD read-only will cause this test
10842 # to fail, enabling locking or at least warning the user not to do parallel
10846 lt_compiler_flag="-o out/conftest2.$ac_objext"
10847 # Insert the option either (1) after the last *FLAGS variable, or
10848 # (2) before a word containing "conftest.", or (3) at the end.
10849 # Note that $ac_compile itself does not contain backslashes and begins
10850 # with a dollar sign (not a hyphen), so the echo should work correctly.
10851 lt_compile=`echo "$ac_compile" | $SED \
10852 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10853 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10854 -e 's:$: $lt_compiler_flag:'`
10855 (eval echo "\"\$as_me:10855: $lt_compile\"" >&5)
10856 (eval "$lt_compile" 2>out/conftest.err)
10858 cat out/conftest.err >&5
10859 echo "$as_me:10859: \$? = $ac_status" >&5
10860 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10862 # The compiler can only warn and ignore the option if not recognized
10863 # So say no if there are warnings
10864 if test ! -s out/conftest.err; then
10865 lt_cv_prog_compiler_c_o_CXX=yes
10869 $rm conftest* out/*
10876 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10877 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
10880 hard_links="nottested"
10881 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
10882 # do not overwrite the value of need_locks provided by the user
10883 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10884 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10887 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10889 ln conftest.a conftest.b 2>&5 || hard_links=no
10890 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10891 echo "$as_me:$LINENO: result: $hard_links" >&5
10892 echo "${ECHO_T}$hard_links" >&6
10893 if test "$hard_links" = no; then
10894 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10895 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10902 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10903 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10905 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10908 # If we're using GNU nm, then we don't want the "-C" option.
10909 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10910 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10911 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'
10913 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'
10917 export_symbols_cmds_CXX="$ltdll_cmds"
10920 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10923 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10927 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10928 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10929 test "$ld_shlibs_CXX" = no && can_build_shared=no
10931 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10932 if test "$GCC" = yes; then
10933 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10937 # Do we need to explicitly link libc?
10939 case "x$archive_cmds_need_lc_CXX" in
10941 # Assume -lc should be added
10942 archive_cmds_need_lc_CXX=yes
10944 if test "$enable_shared" = yes && test "$GCC" = yes; then
10945 case $archive_cmds_CXX in
10947 # FIXME: we may have to deal with multi-command sequences.
10950 # Test whether the compiler implicitly links with -lc since on some
10951 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10952 # to ld, don't add -lc before -lgcc.
10953 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10954 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10956 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10959 (eval $ac_compile) 2>&5
10961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10962 (exit $ac_status); } 2>conftest.err; then
10965 libobjs=conftest.$ac_objext
10967 wl=$lt_prog_compiler_wl_CXX
10973 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
10974 allow_undefined_flag_CXX=
10975 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10976 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10979 (exit $ac_status); }
10981 archive_cmds_need_lc_CXX=no
10983 archive_cmds_need_lc_CXX=yes
10985 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
10987 cat conftest.err 1>&5
10990 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
10991 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
10998 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10999 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11000 hardcode_action_CXX=
11001 if test -n "$hardcode_libdir_flag_spec_CXX" || \
11002 test -n "$runpath_var CXX" || \
11003 test "X$hardcode_automatic_CXX"="Xyes" ; then
11005 # We can hardcode non-existant directories.
11006 if test "$hardcode_direct_CXX" != no &&
11007 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11008 # have to relink, otherwise we might link with an installed library
11009 # when we should be linking with a yet-to-be-installed one
11010 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
11011 test "$hardcode_minus_L_CXX" != no; then
11012 # Linking always hardcodes the temporary library directory.
11013 hardcode_action_CXX=relink
11015 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11016 hardcode_action_CXX=immediate
11019 # We cannot hardcode anything, or else we can only hardcode existing
11021 hardcode_action_CXX=unsupported
11023 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11024 echo "${ECHO_T}$hardcode_action_CXX" >&6
11026 if test "$hardcode_action_CXX" = relink; then
11027 # Fast installation is not supported
11028 enable_fast_install=no
11029 elif test "$shlibpath_overrides_runpath" = yes ||
11030 test "$enable_shared" = no; then
11031 # Fast installation is not necessary
11032 enable_fast_install=needless
11037 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11038 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11039 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11040 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11041 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11042 echo "$as_me:$LINENO: result: yes" >&5
11043 echo "${ECHO_T}yes" >&6
11045 # FIXME - insert some real tests, host_os isn't really good enough
11048 if test -n "$STRIP" ; then
11049 striplib="$STRIP -x"
11050 echo "$as_me:$LINENO: result: yes" >&5
11051 echo "${ECHO_T}yes" >&6
11053 echo "$as_me:$LINENO: result: no" >&5
11054 echo "${ECHO_T}no" >&6
11058 echo "$as_me:$LINENO: result: no" >&5
11059 echo "${ECHO_T}no" >&6
11064 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11065 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11066 library_names_spec=
11067 libname_spec='lib$name'
11071 postuninstall_cmds=
11075 shlibpath_overrides_runpath=unknown
11077 dynamic_linker="$host_os ld.so"
11078 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11079 if test "$GCC" = yes; then
11080 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11081 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11082 # if the path contains ";" then we assume it to be the separator
11083 # otherwise default to the standard path separator (i.e. ":") - it is
11084 # assumed that no part of a normal pathname contains ";" but that should
11085 # okay in the real world where ";" in dirpaths is itself problematic.
11086 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11088 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11091 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11093 need_lib_prefix=unknown
11094 hardcode_into_libs=no
11096 # when you set need_version to no, make sure it does not cause -set_version
11097 # flags to be left without arguments
11098 need_version=unknown
11103 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11104 shlibpath_var=LIBPATH
11106 # AIX 3 has no versioning support, so we append a major version to the name.
11107 soname_spec='${libname}${release}${shared_ext}$major'
11114 hardcode_into_libs=yes
11115 if test "$host_cpu" = ia64; then
11116 # AIX 5 supports IA64
11117 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11118 shlibpath_var=LD_LIBRARY_PATH
11120 # With GCC up to 2.95.x, collect2 would create an import file
11121 # for dependence libraries. The import file would start with
11122 # the line `#! .'. This would cause the generated library to
11123 # depend on `.', always an invalid library. This was fixed in
11124 # development snapshots of GCC prior to 3.0.
11126 aix4 | aix4.[01] | aix4.[01].*)
11127 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11129 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11132 can_build_shared=no
11136 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11137 # soname into executable. Probably we can add versioning support to
11138 # collect2, so additional links can be useful in future.
11139 if test "$aix_use_runtimelinking" = yes; then
11140 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11141 # instead of lib<name>.a to let people know that these are not
11142 # typical AIX shared libraries.
11143 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11145 # We preserve .a as extension for shared libraries through AIX4.2
11146 # and later when we are not doing run time linking.
11147 library_names_spec='${libname}${release}.a $libname.a'
11148 soname_spec='${libname}${release}${shared_ext}$major'
11150 shlibpath_var=LIBPATH
11155 library_names_spec='$libname.ixlibrary $libname.a'
11156 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11157 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'
11161 library_names_spec='${libname}${shared_ext}'
11162 dynamic_linker="$host_os ld.so"
11163 shlibpath_var=LIBRARY_PATH
11169 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11170 soname_spec='${libname}${release}${shared_ext}$major'
11171 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11172 shlibpath_var=LD_LIBRARY_PATH
11173 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11174 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11175 # the default ld.so.conf also contains /usr/contrib/lib and
11176 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11177 # libtool to hard-code these into programs
11180 cygwin* | mingw* | pw32*)
11181 version_type=windows
11186 case $GCC,$host_os in
11187 yes,cygwin* | yes,mingw* | yes,pw32*)
11188 library_names_spec='$libname.dll.a'
11189 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11190 postinstall_cmds='base_file=`basename \${file}`~
11191 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11192 dldir=$destdir/`dirname \$dlpath`~
11193 test -d \$dldir || mkdir -p \$dldir~
11194 $install_prog $dir/$dlname \$dldir/$dlname'
11195 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11196 dlpath=$dir/\$dldll~
11198 shlibpath_overrides_runpath=yes
11202 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11203 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11204 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
11207 # MinGW DLLs use traditional 'lib' prefix
11208 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11209 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11210 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11211 # It is most probably a Windows format PATH printed by
11212 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11213 # path with ; separators, and with drive letters. We can handle the
11214 # drive letters (cygwin fileutils understands them), so leave them,
11215 # especially as we might pass files found there to a mingw objdump,
11216 # which wouldn't understand a cygwinified path. Ahh.
11217 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11219 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11223 # pw32 DLLs use 'pw' prefix rather than 'lib'
11224 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11230 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11233 dynamic_linker='Win32 ld.exe'
11234 # FIXME: first we should search . and the directory the executable is in
11238 darwin* | rhapsody*)
11239 dynamic_linker="$host_os dyld"
11240 version_type=darwin
11243 # FIXME: Relying on posixy $() will cause problems for
11244 # cross-compilation, but unfortunately the echo tests do not
11245 # yet detect zsh echo's removal of \ escapes.
11246 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11247 soname_spec='${libname}${release}${major}$shared_ext'
11248 shlibpath_overrides_runpath=yes
11249 shlibpath_var=DYLD_LIBRARY_PATH
11250 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11251 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11252 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
11253 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"`
11255 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11262 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11263 soname_spec='${libname}${release}${shared_ext}$major'
11264 shlibpath_var=LD_LIBRARY_PATH
11272 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11273 version_type=freebsd-$objformat
11274 case $version_type in
11276 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11281 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11285 shlibpath_var=LD_LIBRARY_PATH
11288 shlibpath_overrides_runpath=yes
11290 freebsd3.01* | freebsdelf3.01*)
11291 shlibpath_overrides_runpath=yes
11292 hardcode_into_libs=yes
11295 shlibpath_overrides_runpath=no
11296 hardcode_into_libs=yes
11305 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11306 soname_spec='${libname}${release}${shared_ext}$major'
11307 shlibpath_var=LD_LIBRARY_PATH
11308 hardcode_into_libs=yes
11311 hpux9* | hpux10* | hpux11*)
11312 # Give a soname corresponding to the major version so that dld.sl refuses to
11313 # link against other versions.
11317 case "$host_cpu" in
11320 hardcode_into_libs=yes
11321 dynamic_linker="$host_os dld.so"
11322 shlibpath_var=LD_LIBRARY_PATH
11323 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11324 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11325 soname_spec='${libname}${release}${shared_ext}$major'
11326 if test "X$HPUX_IA64_MODE" = X32; then
11327 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11329 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11331 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11335 hardcode_into_libs=yes
11336 dynamic_linker="$host_os dld.sl"
11337 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11338 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11339 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11340 soname_spec='${libname}${release}${shared_ext}$major'
11341 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11342 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11346 dynamic_linker="$host_os dld.sl"
11347 shlibpath_var=SHLIB_PATH
11348 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11349 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11350 soname_spec='${libname}${release}${shared_ext}$major'
11353 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11354 postinstall_cmds='chmod 555 $lib'
11357 irix5* | irix6* | nonstopux*)
11359 nonstopux*) version_type=nonstopux ;;
11361 if test "$lt_cv_prog_gnu_ld" = yes; then
11369 soname_spec='${libname}${release}${shared_ext}$major'
11370 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11372 irix5* | nonstopux*)
11373 libsuff= shlibsuff=
11376 case $LD in # libtool.m4 will add one of these switches to LD
11377 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11378 libsuff= shlibsuff= libmagic=32-bit;;
11379 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11380 libsuff=32 shlibsuff=N32 libmagic=N32;;
11381 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11382 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11383 *) libsuff= shlibsuff= libmagic=never-match;;
11387 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11388 shlibpath_overrides_runpath=no
11389 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11390 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11391 hardcode_into_libs=yes
11394 # No shared lib support for Linux oldld, aout, or coff.
11395 linux*oldld* | linux*aout* | linux*coff*)
11399 # This must be Linux ELF.
11404 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11405 soname_spec='${libname}${release}${shared_ext}$major'
11406 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11407 shlibpath_var=LD_LIBRARY_PATH
11408 shlibpath_overrides_runpath=no
11409 # This implies no fast_install, which is unacceptable.
11410 # Some rework will be needed to allow for fast_install
11411 # before this can be enabled.
11412 hardcode_into_libs=yes
11414 # We used to test for /lib/ld.so.1 and disable shared libraries on
11415 # powerpc, because MkLinux only supported shared libraries with the
11416 # GNU dynamic linker. Since this was broken with cross compilers,
11417 # most powerpc-linux boxes support dynamic linking these days and
11418 # people can always --disable-shared, the test was removed, and we
11419 # assume the GNU/Linux dynamic linker is in use.
11420 dynamic_linker='GNU/Linux ld.so'
11427 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11428 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11429 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11430 dynamic_linker='NetBSD (a.out) ld.so'
11432 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11433 soname_spec='${libname}${release}${shared_ext}$major'
11434 dynamic_linker='NetBSD ld.elf_so'
11436 shlibpath_var=LD_LIBRARY_PATH
11437 shlibpath_overrides_runpath=yes
11438 hardcode_into_libs=yes
11443 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11444 shlibpath_var=LD_LIBRARY_PATH
11445 shlibpath_overrides_runpath=yes
11452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11453 soname_spec='${libname}${release}${shared_ext}$major'
11454 shlibpath_var=LD_LIBRARY_PATH
11455 shlibpath_overrides_runpath=yes
11462 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11463 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11464 shlibpath_var=LD_LIBRARY_PATH
11465 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11467 openbsd2.[89] | openbsd2.[89].*)
11468 shlibpath_overrides_runpath=no
11471 shlibpath_overrides_runpath=yes
11475 shlibpath_overrides_runpath=yes
11480 libname_spec='$name'
11483 library_names_spec='$libname${shared_ext} $libname.a'
11484 dynamic_linker='OS/2 ld.exe'
11485 shlibpath_var=LIBPATH
11488 osf3* | osf4* | osf5*)
11492 soname_spec='${libname}${release}${shared_ext}$major'
11493 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11494 shlibpath_var=LD_LIBRARY_PATH
11495 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11496 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11501 soname_spec='${libname}${release}${shared_ext}$major'
11502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11503 shlibpath_var=LD_LIBRARY_PATH
11510 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11511 soname_spec='${libname}${release}${shared_ext}$major'
11512 shlibpath_var=LD_LIBRARY_PATH
11513 shlibpath_overrides_runpath=yes
11514 hardcode_into_libs=yes
11515 # ldd complains unless libraries are executable
11516 postinstall_cmds='chmod +x $lib'
11521 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11522 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11523 shlibpath_var=LD_LIBRARY_PATH
11524 shlibpath_overrides_runpath=yes
11525 if test "$with_gnu_ld" = yes; then
11531 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11533 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11534 soname_spec='${libname}${release}${shared_ext}$major'
11535 shlibpath_var=LD_LIBRARY_PATH
11536 case $host_vendor in
11538 shlibpath_overrides_runpath=no
11540 export_dynamic_flag_spec='${wl}-Blargedynsym'
11541 runpath_var=LD_RUN_PATH
11549 shlibpath_overrides_runpath=no
11550 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11556 if test -d /usr/nec ;then
11558 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11559 soname_spec='$libname${shared_ext}.$major'
11560 shlibpath_var=LD_LIBRARY_PATH
11566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11567 soname_spec='${libname}${release}${shared_ext}$major'
11568 shlibpath_var=LD_LIBRARY_PATH
11575 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11576 echo "${ECHO_T}$dynamic_linker" >&6
11577 test "$dynamic_linker" = no && can_build_shared=no
11579 if test "x$enable_dlopen" != xyes; then
11580 enable_dlopen=unknown
11581 enable_dlopen_self=unknown
11582 enable_dlopen_self_static=unknown
11589 lt_cv_dlopen="load_add_on"
11591 lt_cv_dlopen_self=yes
11595 lt_cv_dlopen="LoadLibrary"
11600 lt_cv_dlopen="dlopen"
11605 # if libdl is installed we need to link against it
11606 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11607 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11608 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11609 echo $ECHO_N "(cached) $ECHO_C" >&6
11611 ac_check_lib_save_LIBS=$LIBS
11613 cat >conftest.$ac_ext <<_ACEOF
11614 #line $LINENO "configure"
11617 cat confdefs.h >>conftest.$ac_ext
11618 cat >>conftest.$ac_ext <<_ACEOF
11619 /* end confdefs.h. */
11621 /* Override any gcc2 internal prototype to avoid an error. */
11625 /* We use char because int might match the return type of a gcc2
11626 builtin and then its argument prototype would still apply. */
11636 rm -f conftest.$ac_objext conftest$ac_exeext
11637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11638 (eval $ac_link) 2>&5
11640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11641 (exit $ac_status); } &&
11642 { ac_try='test -s conftest$ac_exeext'
11643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11644 (eval $ac_try) 2>&5
11646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11647 (exit $ac_status); }; }; then
11648 ac_cv_lib_dl_dlopen=yes
11650 echo "$as_me: failed program was:" >&5
11651 sed 's/^/| /' conftest.$ac_ext >&5
11653 ac_cv_lib_dl_dlopen=no
11655 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11656 LIBS=$ac_check_lib_save_LIBS
11658 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11659 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11660 if test $ac_cv_lib_dl_dlopen = yes; then
11661 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11664 lt_cv_dlopen="dyld"
11666 lt_cv_dlopen_self=yes
11673 echo "$as_me:$LINENO: checking for shl_load" >&5
11674 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11675 if test "${ac_cv_func_shl_load+set}" = set; then
11676 echo $ECHO_N "(cached) $ECHO_C" >&6
11678 cat >conftest.$ac_ext <<_ACEOF
11679 #line $LINENO "configure"
11682 cat confdefs.h >>conftest.$ac_ext
11683 cat >>conftest.$ac_ext <<_ACEOF
11684 /* end confdefs.h. */
11685 /* System header to define __stub macros and hopefully few prototypes,
11686 which can conflict with char shl_load (); below.
11687 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11688 <limits.h> exists even on freestanding compilers. */
11690 # include <limits.h>
11692 # include <assert.h>
11694 /* Override any gcc2 internal prototype to avoid an error. */
11699 /* We use char because int might match the return type of a gcc2
11700 builtin and then its argument prototype would still apply. */
11702 /* The GNU C library defines this for functions which it implements
11703 to always fail with ENOSYS. Some functions are actually named
11704 something starting with __ and the normal name is an alias. */
11705 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11708 char (*f) () = shl_load;
11717 return f != shl_load;
11722 rm -f conftest.$ac_objext conftest$ac_exeext
11723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11724 (eval $ac_link) 2>&5
11726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11727 (exit $ac_status); } &&
11728 { ac_try='test -s conftest$ac_exeext'
11729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11730 (eval $ac_try) 2>&5
11732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11733 (exit $ac_status); }; }; then
11734 ac_cv_func_shl_load=yes
11736 echo "$as_me: failed program was:" >&5
11737 sed 's/^/| /' conftest.$ac_ext >&5
11739 ac_cv_func_shl_load=no
11741 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11743 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11744 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11745 if test $ac_cv_func_shl_load = yes; then
11746 lt_cv_dlopen="shl_load"
11748 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11749 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11750 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11751 echo $ECHO_N "(cached) $ECHO_C" >&6
11753 ac_check_lib_save_LIBS=$LIBS
11755 cat >conftest.$ac_ext <<_ACEOF
11756 #line $LINENO "configure"
11759 cat confdefs.h >>conftest.$ac_ext
11760 cat >>conftest.$ac_ext <<_ACEOF
11761 /* end confdefs.h. */
11763 /* Override any gcc2 internal prototype to avoid an error. */
11767 /* We use char because int might match the return type of a gcc2
11768 builtin and then its argument prototype would still apply. */
11778 rm -f conftest.$ac_objext conftest$ac_exeext
11779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11780 (eval $ac_link) 2>&5
11782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11783 (exit $ac_status); } &&
11784 { ac_try='test -s conftest$ac_exeext'
11785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11786 (eval $ac_try) 2>&5
11788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11789 (exit $ac_status); }; }; then
11790 ac_cv_lib_dld_shl_load=yes
11792 echo "$as_me: failed program was:" >&5
11793 sed 's/^/| /' conftest.$ac_ext >&5
11795 ac_cv_lib_dld_shl_load=no
11797 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11798 LIBS=$ac_check_lib_save_LIBS
11800 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11801 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11802 if test $ac_cv_lib_dld_shl_load = yes; then
11803 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11805 echo "$as_me:$LINENO: checking for dlopen" >&5
11806 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11807 if test "${ac_cv_func_dlopen+set}" = set; then
11808 echo $ECHO_N "(cached) $ECHO_C" >&6
11810 cat >conftest.$ac_ext <<_ACEOF
11811 #line $LINENO "configure"
11814 cat confdefs.h >>conftest.$ac_ext
11815 cat >>conftest.$ac_ext <<_ACEOF
11816 /* end confdefs.h. */
11817 /* System header to define __stub macros and hopefully few prototypes,
11818 which can conflict with char dlopen (); below.
11819 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11820 <limits.h> exists even on freestanding compilers. */
11822 # include <limits.h>
11824 # include <assert.h>
11826 /* Override any gcc2 internal prototype to avoid an error. */
11831 /* We use char because int might match the return type of a gcc2
11832 builtin and then its argument prototype would still apply. */
11834 /* The GNU C library defines this for functions which it implements
11835 to always fail with ENOSYS. Some functions are actually named
11836 something starting with __ and the normal name is an alias. */
11837 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11840 char (*f) () = dlopen;
11849 return f != dlopen;
11854 rm -f conftest.$ac_objext conftest$ac_exeext
11855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11856 (eval $ac_link) 2>&5
11858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11859 (exit $ac_status); } &&
11860 { ac_try='test -s conftest$ac_exeext'
11861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11862 (eval $ac_try) 2>&5
11864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11865 (exit $ac_status); }; }; then
11866 ac_cv_func_dlopen=yes
11868 echo "$as_me: failed program was:" >&5
11869 sed 's/^/| /' conftest.$ac_ext >&5
11871 ac_cv_func_dlopen=no
11873 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11875 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11876 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11877 if test $ac_cv_func_dlopen = yes; then
11878 lt_cv_dlopen="dlopen"
11880 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11881 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11882 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11883 echo $ECHO_N "(cached) $ECHO_C" >&6
11885 ac_check_lib_save_LIBS=$LIBS
11887 cat >conftest.$ac_ext <<_ACEOF
11888 #line $LINENO "configure"
11891 cat confdefs.h >>conftest.$ac_ext
11892 cat >>conftest.$ac_ext <<_ACEOF
11893 /* end confdefs.h. */
11895 /* Override any gcc2 internal prototype to avoid an error. */
11899 /* We use char because int might match the return type of a gcc2
11900 builtin and then its argument prototype would still apply. */
11910 rm -f conftest.$ac_objext conftest$ac_exeext
11911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11912 (eval $ac_link) 2>&5
11914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11915 (exit $ac_status); } &&
11916 { ac_try='test -s conftest$ac_exeext'
11917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11918 (eval $ac_try) 2>&5
11920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11921 (exit $ac_status); }; }; then
11922 ac_cv_lib_dl_dlopen=yes
11924 echo "$as_me: failed program was:" >&5
11925 sed 's/^/| /' conftest.$ac_ext >&5
11927 ac_cv_lib_dl_dlopen=no
11929 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11930 LIBS=$ac_check_lib_save_LIBS
11932 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11933 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11934 if test $ac_cv_lib_dl_dlopen = yes; then
11935 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11937 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11938 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11939 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11940 echo $ECHO_N "(cached) $ECHO_C" >&6
11942 ac_check_lib_save_LIBS=$LIBS
11943 LIBS="-lsvld $LIBS"
11944 cat >conftest.$ac_ext <<_ACEOF
11945 #line $LINENO "configure"
11948 cat confdefs.h >>conftest.$ac_ext
11949 cat >>conftest.$ac_ext <<_ACEOF
11950 /* end confdefs.h. */
11952 /* Override any gcc2 internal prototype to avoid an error. */
11956 /* We use char because int might match the return type of a gcc2
11957 builtin and then its argument prototype would still apply. */
11967 rm -f conftest.$ac_objext conftest$ac_exeext
11968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11969 (eval $ac_link) 2>&5
11971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11972 (exit $ac_status); } &&
11973 { ac_try='test -s conftest$ac_exeext'
11974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11975 (eval $ac_try) 2>&5
11977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11978 (exit $ac_status); }; }; then
11979 ac_cv_lib_svld_dlopen=yes
11981 echo "$as_me: failed program was:" >&5
11982 sed 's/^/| /' conftest.$ac_ext >&5
11984 ac_cv_lib_svld_dlopen=no
11986 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11987 LIBS=$ac_check_lib_save_LIBS
11989 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11990 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11991 if test $ac_cv_lib_svld_dlopen = yes; then
11992 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11994 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11995 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11996 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11997 echo $ECHO_N "(cached) $ECHO_C" >&6
11999 ac_check_lib_save_LIBS=$LIBS
12001 cat >conftest.$ac_ext <<_ACEOF
12002 #line $LINENO "configure"
12005 cat confdefs.h >>conftest.$ac_ext
12006 cat >>conftest.$ac_ext <<_ACEOF
12007 /* end confdefs.h. */
12009 /* Override any gcc2 internal prototype to avoid an error. */
12013 /* We use char because int might match the return type of a gcc2
12014 builtin and then its argument prototype would still apply. */
12024 rm -f conftest.$ac_objext conftest$ac_exeext
12025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12026 (eval $ac_link) 2>&5
12028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12029 (exit $ac_status); } &&
12030 { ac_try='test -s conftest$ac_exeext'
12031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12032 (eval $ac_try) 2>&5
12034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12035 (exit $ac_status); }; }; then
12036 ac_cv_lib_dld_dld_link=yes
12038 echo "$as_me: failed program was:" >&5
12039 sed 's/^/| /' conftest.$ac_ext >&5
12041 ac_cv_lib_dld_dld_link=no
12043 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12044 LIBS=$ac_check_lib_save_LIBS
12046 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12047 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12048 if test $ac_cv_lib_dld_dld_link = yes; then
12049 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12070 if test "x$lt_cv_dlopen" != xno; then
12076 case $lt_cv_dlopen in
12078 save_CPPFLAGS="$CPPFLAGS"
12079 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12081 save_LDFLAGS="$LDFLAGS"
12082 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12085 LIBS="$lt_cv_dlopen_libs $LIBS"
12087 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12088 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12089 if test "${lt_cv_dlopen_self+set}" = set; then
12090 echo $ECHO_N "(cached) $ECHO_C" >&6
12092 if test "$cross_compiling" = yes; then :
12093 lt_cv_dlopen_self=cross
12095 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12096 lt_status=$lt_dlunknown
12097 cat > conftest.$ac_ext <<EOF
12098 #line 12098 "configure"
12099 #include "confdefs.h"
12108 # define LT_DLGLOBAL RTLD_GLOBAL
12111 # define LT_DLGLOBAL DL_GLOBAL
12113 # define LT_DLGLOBAL 0
12117 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12118 find out it does not work in some platform. */
12119 #ifndef LT_DLLAZY_OR_NOW
12121 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12124 # define LT_DLLAZY_OR_NOW DL_LAZY
12127 # define LT_DLLAZY_OR_NOW RTLD_NOW
12130 # define LT_DLLAZY_OR_NOW DL_NOW
12132 # define LT_DLLAZY_OR_NOW 0
12140 extern "C" void exit (int);
12143 void fnord() { int i=42;}
12146 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12147 int status = $lt_dlunknown;
12151 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12152 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12153 /* dlclose (self); */
12159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12160 (eval $ac_link) 2>&5
12162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12163 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12164 (./conftest; exit; ) 2>/dev/null
12166 case x$lt_status in
12167 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12168 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12169 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12172 # compilation failed
12173 lt_cv_dlopen_self=no
12180 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12181 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12183 if test "x$lt_cv_dlopen_self" = xyes; then
12184 LDFLAGS="$LDFLAGS $link_static_flag"
12185 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12186 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12187 if test "${lt_cv_dlopen_self_static+set}" = set; then
12188 echo $ECHO_N "(cached) $ECHO_C" >&6
12190 if test "$cross_compiling" = yes; then :
12191 lt_cv_dlopen_self_static=cross
12193 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12194 lt_status=$lt_dlunknown
12195 cat > conftest.$ac_ext <<EOF
12196 #line 12196 "configure"
12197 #include "confdefs.h"
12206 # define LT_DLGLOBAL RTLD_GLOBAL
12209 # define LT_DLGLOBAL DL_GLOBAL
12211 # define LT_DLGLOBAL 0
12215 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12216 find out it does not work in some platform. */
12217 #ifndef LT_DLLAZY_OR_NOW
12219 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12222 # define LT_DLLAZY_OR_NOW DL_LAZY
12225 # define LT_DLLAZY_OR_NOW RTLD_NOW
12228 # define LT_DLLAZY_OR_NOW DL_NOW
12230 # define LT_DLLAZY_OR_NOW 0
12238 extern "C" void exit (int);
12241 void fnord() { int i=42;}
12244 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12245 int status = $lt_dlunknown;
12249 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12250 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12251 /* dlclose (self); */
12257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12258 (eval $ac_link) 2>&5
12260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12261 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12262 (./conftest; exit; ) 2>/dev/null
12264 case x$lt_status in
12265 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12266 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12267 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12270 # compilation failed
12271 lt_cv_dlopen_self_static=no
12278 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12279 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12282 CPPFLAGS="$save_CPPFLAGS"
12283 LDFLAGS="$save_LDFLAGS"
12288 case $lt_cv_dlopen_self in
12289 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12290 *) enable_dlopen_self=unknown ;;
12293 case $lt_cv_dlopen_self_static in
12294 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12295 *) enable_dlopen_self_static=unknown ;;
12300 # The else clause should only fire when bootstrapping the
12301 # libtool distribution, otherwise you forgot to ship ltmain.sh
12302 # with your package, and you will get complaints that there are
12303 # no rules to generate ltmain.sh.
12304 if test -f "$ltmain"; then
12305 # See if we are running on zsh, and set the options which allow our commands through
12306 # without removal of \ escapes.
12307 if test -n "${ZSH_VERSION+set}" ; then
12308 setopt NO_GLOB_SUBST
12310 # Now quote all the things that may contain metacharacters while being
12311 # careful not to overquote the AC_SUBSTed values. We take copies of the
12312 # variables and quote the copies for generation of the libtool script.
12313 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12314 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12315 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12316 deplibs_check_method reload_flag reload_cmds need_locks \
12317 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12318 lt_cv_sys_global_symbol_to_c_name_address \
12319 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12320 old_postinstall_cmds old_postuninstall_cmds \
12324 lt_prog_compiler_wl_CXX \
12325 lt_prog_compiler_pic_CXX \
12326 lt_prog_compiler_static_CXX \
12327 lt_prog_compiler_no_builtin_flag_CXX \
12328 export_dynamic_flag_spec_CXX \
12329 thread_safe_flag_spec_CXX \
12330 whole_archive_flag_spec_CXX \
12331 enable_shared_with_static_runtimes_CXX \
12332 old_archive_cmds_CXX \
12333 old_archive_from_new_cmds_CXX \
12334 predep_objects_CXX \
12335 postdep_objects_CXX \
12338 compiler_lib_search_path_CXX \
12340 archive_expsym_cmds_CXX \
12341 postinstall_cmds_CXX \
12342 postuninstall_cmds_CXX \
12343 old_archive_from_expsyms_cmds_CXX \
12344 allow_undefined_flag_CXX \
12345 no_undefined_flag_CXX \
12346 export_symbols_cmds_CXX \
12347 hardcode_libdir_flag_spec_CXX \
12348 hardcode_libdir_flag_spec_ld_CXX \
12349 hardcode_libdir_separator_CXX \
12350 hardcode_automatic_CXX \
12352 module_expsym_cmds_CXX \
12353 lt_cv_prog_compiler_c_o_CXX \
12354 exclude_expsyms_CXX \
12355 include_expsyms_CXX; do
12358 old_archive_cmds_CXX | \
12359 old_archive_from_new_cmds_CXX | \
12360 archive_cmds_CXX | \
12361 archive_expsym_cmds_CXX | \
12362 module_cmds_CXX | \
12363 module_expsym_cmds_CXX | \
12364 old_archive_from_expsyms_cmds_CXX | \
12365 export_symbols_cmds_CXX | \
12366 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12367 postinstall_cmds | postuninstall_cmds | \
12368 old_postinstall_cmds | old_postuninstall_cmds | \
12369 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12370 # Double-quote double-evaled strings.
12371 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12374 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12380 *'\$0 --fallback-echo"')
12381 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12387 cat <<__EOF__ >> "$cfgfile"
12388 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12390 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12392 # Shell to use when invoking shell scripts.
12395 # Whether or not to build shared libraries.
12396 build_libtool_libs=$enable_shared
12398 # Whether or not to build static libraries.
12399 build_old_libs=$enable_static
12401 # Whether or not to add -lc for building shared libraries.
12402 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12404 # Whether or not to disallow shared libs when runtime libs are static
12405 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12407 # Whether or not to optimize for fast installation.
12408 fast_install=$enable_fast_install
12411 host_alias=$host_alias
12414 # An echo program that does not interpret backslashes.
12419 AR_FLAGS=$lt_AR_FLAGS
12424 # A language-specific compiler.
12425 CC=$lt_compiler_CXX
12427 # Is the compiler the GNU C compiler?
12433 # The linker used to build libraries.
12436 # Whether we need hard or soft links.
12439 # A BSD-compatible nm program.
12442 # A symbol stripping program
12445 # Used to examine libraries when file_magic_cmd begins "file"
12446 MAGIC_CMD=$MAGIC_CMD
12448 # Used on cygwin: DLL creation program.
12451 # Used on cygwin: object dumper.
12454 # Used on cygwin: assembler.
12457 # The name of the directory that contains temporary libtool files.
12460 # How to create reloadable object files.
12461 reload_flag=$lt_reload_flag
12462 reload_cmds=$lt_reload_cmds
12464 # How to pass a linker flag through the compiler.
12465 wl=$lt_lt_prog_compiler_wl_CXX
12467 # Object file suffix (normally "o").
12468 objext="$ac_objext"
12470 # Old archive suffix (normally "a").
12473 # Shared library suffix (normally ".so").
12476 # Executable file suffix (normally "").
12479 # Additional compiler flags for building library objects.
12480 pic_flag=$lt_lt_prog_compiler_pic_CXX
12483 # What is the maximum length of a command?
12484 max_cmd_len=$lt_cv_sys_max_cmd_len
12486 # Does compiler simultaneously support -c and -o options?
12487 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12489 # Must we lock files when doing compilation ?
12490 need_locks=$lt_need_locks
12492 # Do we need the lib prefix for modules?
12493 need_lib_prefix=$need_lib_prefix
12495 # Do we need a version for libraries?
12496 need_version=$need_version
12498 # Whether dlopen is supported.
12499 dlopen_support=$enable_dlopen
12501 # Whether dlopen of programs is supported.
12502 dlopen_self=$enable_dlopen_self
12504 # Whether dlopen of statically linked programs is supported.
12505 dlopen_self_static=$enable_dlopen_self_static
12507 # Compiler flag to prevent dynamic linking.
12508 link_static_flag=$lt_lt_prog_compiler_static_CXX
12510 # Compiler flag to turn off builtin functions.
12511 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12513 # Compiler flag to allow reflexive dlopens.
12514 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12516 # Compiler flag to generate shared objects directly from archives.
12517 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12519 # Compiler flag to generate thread-safe objects.
12520 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12522 # Library versioning type.
12523 version_type=$version_type
12525 # Format of library name prefix.
12526 libname_spec=$lt_libname_spec
12528 # List of archive names. First name is the real one, the rest are links.
12529 # The last name is the one that the linker finds with -lNAME.
12530 library_names_spec=$lt_library_names_spec
12532 # The coded name of the library, if different from the real name.
12533 soname_spec=$lt_soname_spec
12535 # Commands used to build and install an old-style archive.
12537 old_archive_cmds=$lt_old_archive_cmds_CXX
12538 old_postinstall_cmds=$lt_old_postinstall_cmds
12539 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12541 # Create an old-style archive from a shared archive.
12542 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12544 # Create a temporary old-style archive to link instead of a shared archive.
12545 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12547 # Commands used to build and install a shared archive.
12548 archive_cmds=$lt_archive_cmds_CXX
12549 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12550 postinstall_cmds=$lt_postinstall_cmds
12551 postuninstall_cmds=$lt_postuninstall_cmds
12553 # Commands used to build a loadable module (assumed same as above if empty)
12554 module_cmds=$lt_module_cmds_CXX
12555 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12557 # Commands to strip libraries.
12558 old_striplib=$lt_old_striplib
12559 striplib=$lt_striplib
12561 # Dependencies to place before the objects being linked to create a
12563 predep_objects=$lt_predep_objects_CXX
12565 # Dependencies to place after the objects being linked to create a
12567 postdep_objects=$lt_postdep_objects_CXX
12569 # Dependencies to place before the objects being linked to create a
12571 predeps=$lt_predeps_CXX
12573 # Dependencies to place after the objects being linked to create a
12575 postdeps=$lt_postdeps_CXX
12577 # The library search path used internally by the compiler when linking
12578 # a shared library.
12579 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12581 # Method to check whether dependent libraries are shared objects.
12582 deplibs_check_method=$lt_deplibs_check_method
12584 # Command to use when deplibs_check_method == file_magic.
12585 file_magic_cmd=$lt_file_magic_cmd
12587 # Flag that allows shared libraries with undefined symbols to be built.
12588 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12590 # Flag that forces no undefined symbols.
12591 no_undefined_flag=$lt_no_undefined_flag_CXX
12593 # Commands used to finish a libtool library installation in a directory.
12594 finish_cmds=$lt_finish_cmds
12596 # Same as above, but a single script fragment to be evaled but not shown.
12597 finish_eval=$lt_finish_eval
12599 # Take the output of nm and produce a listing of raw symbols and C names.
12600 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12602 # Transform the output of nm in a proper C declaration
12603 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12605 # Transform the output of nm in a C name address pair
12606 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12608 # This is the shared library runtime path variable.
12609 runpath_var=$runpath_var
12611 # This is the shared library path variable.
12612 shlibpath_var=$shlibpath_var
12614 # Is shlibpath searched before the hard-coded library search path?
12615 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12617 # How to hardcode a shared library path into an executable.
12618 hardcode_action=$hardcode_action_CXX
12620 # Whether we should hardcode library paths into libraries.
12621 hardcode_into_libs=$hardcode_into_libs
12623 # Flag to hardcode \$libdir into a binary during linking.
12624 # This must work even if \$libdir does not exist.
12625 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12627 # If ld is used when linking, flag to hardcode \$libdir into
12628 # a binary during linking. This must work even if \$libdir does
12630 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12632 # Whether we need a single -rpath flag with a separated argument.
12633 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12635 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12636 # resulting binary.
12637 hardcode_direct=$hardcode_direct_CXX
12639 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12640 # resulting binary.
12641 hardcode_minus_L=$hardcode_minus_L_CXX
12643 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12644 # the resulting binary.
12645 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12647 # Set to yes if building a shared library automatically hardcodes DIR into the library
12648 # and all subsequent libraries and executables linked against it.
12649 hardcode_automatic=$hardcode_automatic_CXX
12651 # Variables whose values should be saved in libtool wrapper scripts and
12652 # restored at relink time.
12653 variables_saved_for_relink="$variables_saved_for_relink"
12655 # Whether libtool must link a program against all its dependency libraries.
12656 link_all_deplibs=$link_all_deplibs_CXX
12658 # Compile-time system search path for libraries
12659 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12661 # Run-time system search path for libraries
12662 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12664 # Fix the shell variable \$srcfile for the compiler.
12665 fix_srcfile_path="$fix_srcfile_path_CXX"
12667 # Set to yes if exported symbols are required.
12668 always_export_symbols=$always_export_symbols_CXX
12670 # The commands to list exported symbols.
12671 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12673 # The commands to extract the exported symbol list from a shared archive.
12674 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12676 # Symbols that should not be listed in the preloaded symbols.
12677 exclude_expsyms=$lt_exclude_expsyms_CXX
12679 # Symbols that must always be exported.
12680 include_expsyms=$lt_include_expsyms_CXX
12682 # ### END LIBTOOL TAG CONFIG: $tagname
12688 # If there is no Makefile yet, we rely on a make rule to execute
12689 # `config.status --recheck' to rerun these tests and create the
12690 # libtool script then.
12691 test -f Makefile && make "$ltmain"
12696 ac_cpp='$CPP $CPPFLAGS'
12697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12705 with_gnu_ldcxx=$with_gnu_ld
12706 with_gnu_ld=$lt_save_with_gnu_ld
12707 lt_cv_path_LDCXX=$lt_cv_path_LD
12708 lt_cv_path_LD=$lt_save_path_LD
12709 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12710 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12718 if test -n "$F77" && test "X$F77" != "Xno"; then
12721 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12722 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12723 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12726 archive_cmds_need_lc_F77=no
12727 allow_undefined_flag_F77=
12728 always_export_symbols_F77=no
12729 archive_expsym_cmds_F77=
12730 export_dynamic_flag_spec_F77=
12731 hardcode_direct_F77=no
12732 hardcode_libdir_flag_spec_F77=
12733 hardcode_libdir_flag_spec_ld_F77=
12734 hardcode_libdir_separator_F77=
12735 hardcode_minus_L_F77=no
12736 hardcode_automatic_F77=no
12738 module_expsym_cmds_F77=
12739 link_all_deplibs_F77=unknown
12740 old_archive_cmds_F77=$old_archive_cmds
12741 no_undefined_flag_F77=
12742 whole_archive_flag_spec_F77=
12743 enable_shared_with_static_runtimes_F77=no
12745 # Source file extension for f77 test sources.
12748 # Object file extension for compiled f77 test sources.
12752 # Code to be used in simple compile tests
12753 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12755 # Code to be used in simple link tests
12756 lt_simple_link_test_code=" program t\n end\n"
12758 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12760 # If no C compiler was specified, use CC.
12763 # Allow CC to be a program name with arguments.
12767 # Allow CC to be a program name with arguments.
12772 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12774 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12775 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12776 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12777 echo "${ECHO_T}$can_build_shared" >&6
12779 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12780 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12781 test "$can_build_shared" = "no" && enable_shared=no
12783 # On AIX, shared libraries and static libraries use the same namespace, and
12784 # are all built from PIC.
12787 test "$enable_shared" = yes && enable_static=no
12788 if test -n "$RANLIB"; then
12789 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12790 postinstall_cmds='$RANLIB $lib'
12794 test "$enable_shared" = yes && enable_static=no
12797 echo "$as_me:$LINENO: result: $enable_shared" >&5
12798 echo "${ECHO_T}$enable_shared" >&6
12800 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12801 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12802 # Make sure either enable_shared or enable_static is yes.
12803 test "$enable_shared" = yes || enable_static=yes
12804 echo "$as_me:$LINENO: result: $enable_static" >&5
12805 echo "${ECHO_T}$enable_static" >&6
12807 test "$ld_shlibs_F77" = no && can_build_shared=no
12812 lt_prog_compiler_wl_F77=
12813 lt_prog_compiler_pic_F77=
12814 lt_prog_compiler_static_F77=
12816 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12817 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12819 if test "$GCC" = yes; then
12820 lt_prog_compiler_wl_F77='-Wl,'
12821 lt_prog_compiler_static_F77='-static'
12825 # All AIX code is PIC.
12826 if test "$host_cpu" = ia64; then
12827 # AIX 5 now supports IA64 processor
12828 lt_prog_compiler_static_F77='-Bstatic'
12833 # FIXME: we need at least 68020 code to build shared libraries, but
12834 # adding the `-m68020' flag to GCC prevents building anything better,
12836 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12839 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12840 # PIC is the default for these OSes.
12843 mingw* | pw32* | os2*)
12844 # This hack is so that the source file can tell whether it is being
12845 # built for inclusion in a dll (and should export symbols for example).
12846 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12849 darwin* | rhapsody*)
12850 # PIC is the default on this platform
12851 # Common symbols not allowed in MH_DYLIB files
12852 lt_prog_compiler_pic_F77='-fno-common'
12856 # Just because we use GCC doesn't mean we suddenly get shared libraries
12857 # on systems that don't support them.
12858 lt_prog_compiler_can_build_shared_F77=no
12863 if test -d /usr/nec; then
12864 lt_prog_compiler_pic_F77=-Kconform_pic
12869 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12870 # not for PA HP-UX.
12871 case "$host_cpu" in
12876 lt_prog_compiler_pic_F77='-fPIC'
12882 lt_prog_compiler_pic_F77='-fPIC'
12886 # PORTME Check for flag to pass linker flags through the system compiler.
12889 lt_prog_compiler_wl_F77='-Wl,'
12890 if test "$host_cpu" = ia64; then
12891 # AIX 5 now supports IA64 processor
12892 lt_prog_compiler_static_F77='-Bstatic'
12894 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12898 mingw* | pw32* | os2*)
12899 # This hack is so that the source file can tell whether it is being
12900 # built for inclusion in a dll (and should export symbols for example).
12901 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12904 hpux9* | hpux10* | hpux11*)
12905 lt_prog_compiler_wl_F77='-Wl,'
12906 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12907 # not for PA HP-UX.
12908 case "$host_cpu" in
12913 lt_prog_compiler_pic_F77='+Z'
12916 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12917 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
12920 irix5* | irix6* | nonstopux*)
12921 lt_prog_compiler_wl_F77='-Wl,'
12922 # PIC (with -KPIC) is the default.
12923 lt_prog_compiler_static_F77='-non_shared'
12927 lt_prog_compiler_pic_F77='-KPIC'
12928 lt_prog_compiler_static_F77='-Bstatic'
12934 lt_prog_compiler_wl_F77='-Wl,'
12935 lt_prog_compiler_pic_F77='-KPIC'
12936 lt_prog_compiler_static_F77='-static'
12939 lt_prog_compiler_wl_F77='-Wl,'
12940 # All Alpha code is PIC.
12941 lt_prog_compiler_static_F77='-non_shared'
12946 osf3* | osf4* | osf5*)
12947 lt_prog_compiler_wl_F77='-Wl,'
12948 # All OSF/1 code is PIC.
12949 lt_prog_compiler_static_F77='-non_shared'
12953 lt_prog_compiler_pic_F77='-Kpic'
12954 lt_prog_compiler_static_F77='-dn'
12958 lt_prog_compiler_wl_F77='-Wl,'
12959 lt_prog_compiler_pic_F77='-KPIC'
12960 lt_prog_compiler_static_F77='-Bstatic'
12964 lt_prog_compiler_wl_F77='-Qoption ld '
12965 lt_prog_compiler_pic_F77='-PIC'
12966 lt_prog_compiler_static_F77='-Bstatic'
12969 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12970 lt_prog_compiler_wl_F77='-Wl,'
12971 lt_prog_compiler_pic_F77='-KPIC'
12972 lt_prog_compiler_static_F77='-Bstatic'
12976 if test -d /usr/nec ;then
12977 lt_prog_compiler_pic_F77='-Kconform_pic'
12978 lt_prog_compiler_static_F77='-Bstatic'
12983 lt_prog_compiler_pic_F77='-pic'
12984 lt_prog_compiler_static_F77='-Bstatic'
12988 lt_prog_compiler_can_build_shared_F77=no
12993 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
12994 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
12997 # Check to make sure the PIC flag actually works.
12999 if test -n "$lt_prog_compiler_pic_F77"; then
13000 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13001 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13002 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13003 echo $ECHO_N "(cached) $ECHO_C" >&6
13005 lt_prog_compiler_pic_works_F77=no
13006 ac_outfile=conftest.$ac_objext
13007 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13008 lt_compiler_flag="$lt_prog_compiler_pic_F77"
13009 # Insert the option either (1) after the last *FLAGS variable, or
13010 # (2) before a word containing "conftest.", or (3) at the end.
13011 # Note that $ac_compile itself does not contain backslashes and begins
13012 # with a dollar sign (not a hyphen), so the echo should work correctly.
13013 # The option is referenced via a variable to avoid confusing sed.
13014 lt_compile=`echo "$ac_compile" | $SED \
13015 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13016 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13017 -e 's:$: $lt_compiler_flag:'`
13018 (eval echo "\"\$as_me:13018: $lt_compile\"" >&5)
13019 (eval "$lt_compile" 2>conftest.err)
13021 cat conftest.err >&5
13022 echo "$as_me:13022: \$? = $ac_status" >&5
13023 if (exit $ac_status) && test -s "$ac_outfile"; then
13024 # The compiler can only warn and ignore the option if not recognized
13025 # So say no if there are warnings
13026 if test ! -s conftest.err; then
13027 lt_prog_compiler_pic_works_F77=yes
13033 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13034 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13036 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13037 case $lt_prog_compiler_pic_F77 in
13039 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13042 lt_prog_compiler_pic_F77=
13043 lt_prog_compiler_can_build_shared_F77=no
13048 # For platforms which do not support PIC, -DPIC is meaningless:
13050 lt_prog_compiler_pic_F77=
13053 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13057 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13058 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13059 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13060 echo $ECHO_N "(cached) $ECHO_C" >&6
13062 lt_cv_prog_compiler_c_o_F77=no
13063 $rm -r conftest 2>/dev/null
13067 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13069 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13070 # that will create temporary files in the current directory regardless of
13071 # the output directory. Thus, making CWD read-only will cause this test
13072 # to fail, enabling locking or at least warning the user not to do parallel
13076 lt_compiler_flag="-o out/conftest2.$ac_objext"
13077 # Insert the option either (1) after the last *FLAGS variable, or
13078 # (2) before a word containing "conftest.", or (3) at the end.
13079 # Note that $ac_compile itself does not contain backslashes and begins
13080 # with a dollar sign (not a hyphen), so the echo should work correctly.
13081 lt_compile=`echo "$ac_compile" | $SED \
13082 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13083 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13084 -e 's:$: $lt_compiler_flag:'`
13085 (eval echo "\"\$as_me:13085: $lt_compile\"" >&5)
13086 (eval "$lt_compile" 2>out/conftest.err)
13088 cat out/conftest.err >&5
13089 echo "$as_me:13089: \$? = $ac_status" >&5
13090 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13092 # The compiler can only warn and ignore the option if not recognized
13093 # So say no if there are warnings
13094 if test ! -s out/conftest.err; then
13095 lt_cv_prog_compiler_c_o_F77=yes
13099 $rm conftest* out/*
13106 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13107 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13110 hard_links="nottested"
13111 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13112 # do not overwrite the value of need_locks provided by the user
13113 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13114 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13117 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13119 ln conftest.a conftest.b 2>&5 || hard_links=no
13120 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13121 echo "$as_me:$LINENO: result: $hard_links" >&5
13122 echo "${ECHO_T}$hard_links" >&6
13123 if test "$hard_links" = no; then
13124 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13125 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13132 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13133 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13136 allow_undefined_flag_F77=
13137 enable_shared_with_static_runtimes_F77=no
13139 archive_expsym_cmds_F77=
13140 old_archive_From_new_cmds_F77=
13141 old_archive_from_expsyms_cmds_F77=
13142 export_dynamic_flag_spec_F77=
13143 whole_archive_flag_spec_F77=
13144 thread_safe_flag_spec_F77=
13145 hardcode_libdir_flag_spec_F77=
13146 hardcode_libdir_flag_spec_ld_F77=
13147 hardcode_libdir_separator_F77=
13148 hardcode_direct_F77=no
13149 hardcode_minus_L_F77=no
13150 hardcode_shlibpath_var_F77=unsupported
13151 link_all_deplibs_F77=unknown
13152 hardcode_automatic_F77=no
13154 module_expsym_cmds_F77=
13155 always_export_symbols_F77=no
13156 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13157 # include_expsyms should be a list of space-separated symbols to be *always*
13158 # included in the symbol list
13159 include_expsyms_F77=
13160 # exclude_expsyms can be an extended regexp of symbols to exclude
13161 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13162 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13163 # as well as any symbol that contains `d'.
13164 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13165 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13166 # platforms (ab)use it in PIC code, but their linkers get confused if
13167 # the symbol is explicitly referenced. Since portable code cannot
13168 # rely on this symbol name, it's probably fine to never include it in
13169 # preloaded symbol tables.
13170 extract_expsyms_cmds=
13173 cygwin* | mingw* | pw32*)
13174 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13175 # When not using gcc, we currently assume that we are using
13176 # Microsoft Visual C++.
13177 if test "$GCC" != yes; then
13187 if test "$with_gnu_ld" = yes; then
13188 # If archive_cmds runs LD, not CC, wlarc should be empty
13191 # See if GNU ld supports shared libraries.
13193 aix3* | aix4* | aix5*)
13194 # On AIX/PPC, the GNU linker is very broken
13195 if test "$host_cpu" != ia64; then
13199 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13200 *** to be unable to reliably create shared libraries on AIX.
13201 *** Therefore, libtool is disabling shared libraries support. If you
13202 *** really care for shared libraries, you may want to modify your PATH
13203 *** so that a non-GNU linker is found, and then restart.
13210 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)'
13211 hardcode_libdir_flag_spec_F77='-L$libdir'
13212 hardcode_minus_L_F77=yes
13214 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13215 # that the semantics of dynamic libraries on AmigaOS, at least up
13216 # to version 4, is to share data among multiple programs linked
13217 # with the same dynamic library. Since this doesn't match the
13218 # behavior of shared libraries on other platforms, we can't use
13224 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13225 allow_undefined_flag_F77=unsupported
13226 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13227 # support --undefined. This deserves some investigation. FIXME
13228 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13234 cygwin* | mingw* | pw32*)
13235 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13236 # as there is no search path for DLLs.
13237 hardcode_libdir_flag_spec_F77='-L$libdir'
13238 allow_undefined_flag_F77=unsupported
13239 always_export_symbols_F77=no
13240 enable_shared_with_static_runtimes_F77=yes
13241 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13243 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13244 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13245 # If the export-symbols file already is a .def file (1st line
13246 # is EXPORTS), use it as is; otherwise, prepend...
13247 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13248 cp $export_symbols $output_objdir/$soname.def;
13250 echo EXPORTS > $output_objdir/$soname.def;
13251 cat $export_symbols >> $output_objdir/$soname.def;
13253 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13260 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13261 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13264 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13265 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13270 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13274 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13275 *** create shared libraries on Solaris systems. Therefore, libtool
13276 *** is disabling shared libraries support. We urge you to upgrade GNU
13277 *** binutils to release 2.9.1 or newer. Another option is to modify
13278 *** your PATH or compiler configuration so that the native linker is
13279 *** used, and then restart.
13282 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13283 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13284 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13291 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13293 hardcode_direct_F77=yes
13294 hardcode_shlibpath_var_F77=no
13298 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13299 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13300 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13307 if test "$ld_shlibs_F77" = yes; then
13308 runpath_var=LD_RUN_PATH
13309 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13310 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13311 # ancient GNU ld didn't support --whole-archive et. al.
13312 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13313 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13315 whole_archive_flag_spec_F77=
13319 # PORTME fill in a description of your system's linker (not GNU ld)
13322 allow_undefined_flag_F77=unsupported
13323 always_export_symbols_F77=yes
13324 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'
13325 # Note: this linker hardcodes the directories in LIBPATH if there
13326 # are no directories specified by -L.
13327 hardcode_minus_L_F77=yes
13328 if test "$GCC" = yes && test -z "$link_static_flag"; then
13329 # Neither direct hardcoding nor static linking is supported with a
13331 hardcode_direct_F77=unsupported
13336 if test "$host_cpu" = ia64; then
13337 # On IA64, the linker does run time linking by default, so we don't
13338 # have to do anything special.
13339 aix_use_runtimelinking=no
13340 exp_sym_flag='-Bexport'
13343 # If we're using GNU nm, then we don't want the "-C" option.
13344 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13345 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13346 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'
13348 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'
13350 aix_use_runtimelinking=no
13352 # Test if we are trying to use run time linking or normal
13353 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13354 # need to do runtime linking.
13355 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13356 for ld_flag in $LDFLAGS; do
13357 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13358 aix_use_runtimelinking=yes
13364 exp_sym_flag='-bexport'
13365 no_entry_flag='-bnoentry'
13368 # When large executables or shared objects are built, AIX ld can
13369 # have problems creating the table of contents. If linking a library
13370 # or program results in "error TOC overflow" add -mminimal-toc to
13371 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13372 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13374 archive_cmds_F77=''
13375 hardcode_direct_F77=yes
13376 hardcode_libdir_separator_F77=':'
13377 link_all_deplibs_F77=yes
13379 if test "$GCC" = yes; then
13380 case $host_os in aix4.012|aix4.012.*)
13381 # We only want to do this on AIX 4.2 and lower, the check
13382 # below for broken collect2 doesn't work under 4.3+
13383 collect2name=`${CC} -print-prog-name=collect2`
13384 if test -f "$collect2name" && \
13385 strings "$collect2name" | grep resolve_lib_name >/dev/null
13387 # We have reworked collect2
13388 hardcode_direct_F77=yes
13390 # We have old collect2
13391 hardcode_direct_F77=unsupported
13392 # It fails to find uninstalled libraries when the uninstalled
13393 # path is not listed in the libpath. Setting hardcode_minus_L
13394 # to unsupported forces relinking
13395 hardcode_minus_L_F77=yes
13396 hardcode_libdir_flag_spec_F77='-L$libdir'
13397 hardcode_libdir_separator_F77=
13400 shared_flag='-shared'
13403 if test "$host_cpu" = ia64; then
13404 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13405 # chokes on -Wl,-G. The following line is correct:
13408 if test "$aix_use_runtimelinking" = yes; then
13409 shared_flag='${wl}-G'
13411 shared_flag='${wl}-bM:SRE'
13416 # It seems that -bexpall does not export symbols beginning with
13417 # underscore (_), so it is better to generate a list of symbols to export.
13418 always_export_symbols_F77=yes
13419 if test "$aix_use_runtimelinking" = yes; then
13420 # Warning - without using the other runtime loading flags (-brtl),
13421 # -berok will link without error, but may produce a broken library.
13422 allow_undefined_flag_F77='-berok'
13423 # Determine the default libpath from the value encoded in an empty executable.
13424 cat >conftest.$ac_ext <<_ACEOF
13429 rm -f conftest.$ac_objext conftest$ac_exeext
13430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13431 (eval $ac_link) 2>&5
13433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13434 (exit $ac_status); } &&
13435 { ac_try='test -s conftest$ac_exeext'
13436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13437 (eval $ac_try) 2>&5
13439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13440 (exit $ac_status); }; }; then
13442 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13444 # Check for a 64-bit object if we didn't find anything.
13445 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; }
13448 echo "$as_me: failed program was:" >&5
13449 sed 's/^/| /' conftest.$ac_ext >&5
13452 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13453 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13455 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13456 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"
13458 if test "$host_cpu" = ia64; then
13459 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13460 allow_undefined_flag_F77="-z nodefs"
13461 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"
13463 # Determine the default libpath from the value encoded in an empty executable.
13464 cat >conftest.$ac_ext <<_ACEOF
13469 rm -f conftest.$ac_objext conftest$ac_exeext
13470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13471 (eval $ac_link) 2>&5
13473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13474 (exit $ac_status); } &&
13475 { ac_try='test -s conftest$ac_exeext'
13476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13477 (eval $ac_try) 2>&5
13479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13480 (exit $ac_status); }; }; then
13482 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13484 # Check for a 64-bit object if we didn't find anything.
13485 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; }
13488 echo "$as_me: failed program was:" >&5
13489 sed 's/^/| /' conftest.$ac_ext >&5
13492 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13493 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13495 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13496 # Warning - without using the other run time loading flags,
13497 # -berok will link without error, but may produce a broken library.
13498 no_undefined_flag_F77=' ${wl}-bernotok'
13499 allow_undefined_flag_F77=' ${wl}-berok'
13500 # -bexpall does not export symbols beginning with underscore (_)
13501 always_export_symbols_F77=yes
13502 # Exported symbols can be pulled into shared objects from archives
13503 whole_archive_flag_spec_F77=' '
13504 archive_cmds_need_lc_F77=yes
13505 # This is similar to how AIX traditionally builds it's shared libraries.
13506 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'
13512 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)'
13513 hardcode_libdir_flag_spec_F77='-L$libdir'
13514 hardcode_minus_L_F77=yes
13515 # see comment about different semantics on the GNU ld section
13520 export_dynamic_flag_spec_F77=-rdynamic
13523 cygwin* | mingw* | pw32*)
13524 # When not using gcc, we currently assume that we are using
13525 # Microsoft Visual C++.
13526 # hardcode_libdir_flag_spec is actually meaningless, as there is
13527 # no search path for DLLs.
13528 hardcode_libdir_flag_spec_F77=' '
13529 allow_undefined_flag_F77=unsupported
13530 # Tell ltmain to make .lib files, not .a files.
13532 # Tell ltmain to make .dll files, not .so files.
13534 # FIXME: Setting linknames here is a bad hack.
13535 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13536 # The linker will automatically build a .lib file if we build a DLL.
13537 old_archive_From_new_cmds_F77='true'
13538 # FIXME: Should let the user specify the lib program.
13539 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13540 fix_srcfile_path='`cygpath -w "$srcfile"`'
13541 enable_shared_with_static_runtimes_F77=yes
13544 darwin* | rhapsody*)
13545 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
13546 archive_cmds_need_lc_F77=no
13548 rhapsody* | darwin1.[012])
13549 allow_undefined_flag_F77='-undefined suppress'
13552 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13555 # FIXME: Relying on posixy $() will cause problems for
13556 # cross-compilation, but unfortunately the echo tests do not
13557 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13558 # `"' quotes if we put them in here... so don't!
13559 lt_int_apple_cc_single_mod=no
13560 output_verbose_link_cmd='echo'
13561 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13562 lt_int_apple_cc_single_mod=yes
13564 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13565 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13567 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'
13569 module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
13570 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13571 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13572 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}'
13574 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}'
13576 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}'
13577 hardcode_direct_F77=no
13578 hardcode_automatic_F77=yes
13579 hardcode_shlibpath_var_F77=unsupported
13580 whole_archive_flag_spec_F77='-all_load $convenience'
13581 link_all_deplibs_F77=yes
13586 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13587 hardcode_libdir_flag_spec_F77='-L$libdir'
13588 hardcode_shlibpath_var_F77=no
13595 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13596 # support. Future versions do this automatically, but an explicit c++rt0.o
13597 # does not break anything, and helps significantly (at the cost of a little
13600 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13601 hardcode_libdir_flag_spec_F77='-R$libdir'
13602 hardcode_direct_F77=yes
13603 hardcode_shlibpath_var_F77=no
13606 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13608 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13609 hardcode_direct_F77=yes
13610 hardcode_minus_L_F77=yes
13611 hardcode_shlibpath_var_F77=no
13614 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13616 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13617 hardcode_libdir_flag_spec_F77='-R$libdir'
13618 hardcode_direct_F77=yes
13619 hardcode_shlibpath_var_F77=no
13623 if test "$GCC" = yes; then
13624 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'
13626 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'
13628 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13629 hardcode_libdir_separator_F77=:
13630 hardcode_direct_F77=yes
13632 # hardcode_minus_L: Not really in the search PATH,
13633 # but as the default location of the library.
13634 hardcode_minus_L_F77=yes
13635 export_dynamic_flag_spec_F77='${wl}-E'
13639 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13640 case "$host_cpu" in
13642 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13645 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13649 case "$host_cpu" in
13651 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13654 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13658 if test "$with_gnu_ld" = no; then
13659 case "$host_cpu" in
13661 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13662 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13663 hardcode_libdir_separator_F77=:
13664 hardcode_direct_F77=no
13665 hardcode_shlibpath_var_F77=no
13668 hardcode_libdir_flag_spec_F77='-L$libdir'
13669 hardcode_direct_F77=no
13670 hardcode_shlibpath_var_F77=no
13672 # hardcode_minus_L: Not really in the search PATH,
13673 # but as the default location of the library.
13674 hardcode_minus_L_F77=yes
13677 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13678 hardcode_libdir_separator_F77=:
13679 hardcode_direct_F77=yes
13680 export_dynamic_flag_spec_F77='${wl}-E'
13682 # hardcode_minus_L: Not really in the search PATH,
13683 # but as the default location of the library.
13684 hardcode_minus_L_F77=yes
13690 irix5* | irix6* | nonstopux*)
13691 if test "$GCC" = yes; then
13692 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'
13694 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'
13695 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13697 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13698 hardcode_libdir_separator_F77=:
13699 link_all_deplibs_F77=yes
13703 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13704 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13706 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13708 hardcode_libdir_flag_spec_F77='-R$libdir'
13709 hardcode_direct_F77=yes
13710 hardcode_shlibpath_var_F77=no
13714 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13715 hardcode_direct_F77=yes
13716 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13717 hardcode_libdir_separator_F77=:
13718 hardcode_shlibpath_var_F77=no
13722 hardcode_direct_F77=yes
13723 hardcode_shlibpath_var_F77=no
13724 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13725 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13726 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13727 export_dynamic_flag_spec_F77='${wl}-E'
13730 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13731 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13732 hardcode_libdir_flag_spec_F77='-R$libdir'
13735 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13736 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13743 hardcode_libdir_flag_spec_F77='-L$libdir'
13744 hardcode_minus_L_F77=yes
13745 allow_undefined_flag_F77=unsupported
13746 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'
13747 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13751 if test "$GCC" = yes; then
13752 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13753 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'
13755 allow_undefined_flag_F77=' -expect_unresolved \*'
13756 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'
13758 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13759 hardcode_libdir_separator_F77=:
13762 osf4* | osf5*) # as osf3* with the addition of -msym flag
13763 if test "$GCC" = yes; then
13764 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13765 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'
13766 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13768 allow_undefined_flag_F77=' -expect_unresolved \*'
13769 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'
13770 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~
13771 $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'
13773 # Both c and cxx compiler support -rpath directly
13774 hardcode_libdir_flag_spec_F77='-rpath $libdir'
13776 hardcode_libdir_separator_F77=:
13780 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13781 hardcode_shlibpath_var_F77=no
13782 export_dynamic_flag_spec_F77='${wl}-Bexport'
13783 runpath_var=LD_RUN_PATH
13784 hardcode_runpath_var=yes
13788 no_undefined_flag_F77=' -z text'
13789 if test "$GCC" = yes; then
13790 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13791 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13792 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13794 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13795 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13796 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13798 hardcode_libdir_flag_spec_F77='-R$libdir'
13799 hardcode_shlibpath_var_F77=no
13801 solaris2.[0-5] | solaris2.[0-5].*) ;;
13802 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13803 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13805 link_all_deplibs_F77=yes
13809 if test "x$host_vendor" = xsequent; then
13810 # Use $CC to link under sequent, because it throws in some extra .o
13811 # files that make .init and .fini sections work.
13812 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13814 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13816 hardcode_libdir_flag_spec_F77='-L$libdir'
13817 hardcode_direct_F77=yes
13818 hardcode_minus_L_F77=yes
13819 hardcode_shlibpath_var_F77=no
13823 case $host_vendor in
13825 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13826 hardcode_direct_F77=yes # is this really true???
13829 ## LD is ld it makes a PLAMLIB
13830 ## CC just makes a GrossModule.
13831 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13832 reload_cmds_F77='$CC -r -o $output$reload_objs'
13833 hardcode_direct_F77=no
13836 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13837 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13840 runpath_var='LD_RUN_PATH'
13841 hardcode_shlibpath_var_F77=no
13845 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13846 hardcode_shlibpath_var_F77=no
13847 export_dynamic_flag_spec_F77='-Bexport'
13851 if test -d /usr/nec; then
13852 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13853 hardcode_shlibpath_var_F77=no
13854 runpath_var=LD_RUN_PATH
13855 hardcode_runpath_var=yes
13861 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13862 hardcode_direct_F77=yes
13863 hardcode_minus_L_F77=no
13864 hardcode_shlibpath_var_F77=no
13865 hardcode_runpath_var=yes
13866 runpath_var=LD_RUN_PATH
13869 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13870 no_undefined_flag_F77='${wl}-z ${wl}text'
13871 if test "$GCC" = yes; then
13872 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13874 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13876 runpath_var='LD_RUN_PATH'
13877 hardcode_shlibpath_var_F77=no
13881 no_undefined_flag_F77=' -z text'
13882 # $CC -shared without GNU ld will not create a library from C++
13883 # object files and a static libstdc++, better avoid it by now
13884 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13885 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13886 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13887 hardcode_libdir_flag_spec_F77=
13888 hardcode_shlibpath_var_F77=no
13889 runpath_var='LD_RUN_PATH'
13893 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13894 hardcode_libdir_flag_spec_F77='-L$libdir'
13895 hardcode_shlibpath_var_F77=no
13904 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
13905 echo "${ECHO_T}$ld_shlibs_F77" >&6
13906 test "$ld_shlibs_F77" = no && can_build_shared=no
13908 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13909 if test "$GCC" = yes; then
13910 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13914 # Do we need to explicitly link libc?
13916 case "x$archive_cmds_need_lc_F77" in
13918 # Assume -lc should be added
13919 archive_cmds_need_lc_F77=yes
13921 if test "$enable_shared" = yes && test "$GCC" = yes; then
13922 case $archive_cmds_F77 in
13924 # FIXME: we may have to deal with multi-command sequences.
13927 # Test whether the compiler implicitly links with -lc since on some
13928 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13929 # to ld, don't add -lc before -lgcc.
13930 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13931 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13933 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13936 (eval $ac_compile) 2>&5
13938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13939 (exit $ac_status); } 2>conftest.err; then
13942 libobjs=conftest.$ac_objext
13944 wl=$lt_prog_compiler_wl_F77
13950 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
13951 allow_undefined_flag_F77=
13952 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13953 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13956 (exit $ac_status); }
13958 archive_cmds_need_lc_F77=no
13960 archive_cmds_need_lc_F77=yes
13962 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
13964 cat conftest.err 1>&5
13967 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
13968 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
13975 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13976 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13977 hardcode_action_F77=
13978 if test -n "$hardcode_libdir_flag_spec_F77" || \
13979 test -n "$runpath_var F77" || \
13980 test "X$hardcode_automatic_F77"="Xyes" ; then
13982 # We can hardcode non-existant directories.
13983 if test "$hardcode_direct_F77" != no &&
13984 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13985 # have to relink, otherwise we might link with an installed library
13986 # when we should be linking with a yet-to-be-installed one
13987 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
13988 test "$hardcode_minus_L_F77" != no; then
13989 # Linking always hardcodes the temporary library directory.
13990 hardcode_action_F77=relink
13992 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13993 hardcode_action_F77=immediate
13996 # We cannot hardcode anything, or else we can only hardcode existing
13998 hardcode_action_F77=unsupported
14000 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14001 echo "${ECHO_T}$hardcode_action_F77" >&6
14003 if test "$hardcode_action_F77" = relink; then
14004 # Fast installation is not supported
14005 enable_fast_install=no
14006 elif test "$shlibpath_overrides_runpath" = yes ||
14007 test "$enable_shared" = no; then
14008 # Fast installation is not necessary
14009 enable_fast_install=needless
14014 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14015 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14016 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14017 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14018 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14019 echo "$as_me:$LINENO: result: yes" >&5
14020 echo "${ECHO_T}yes" >&6
14022 # FIXME - insert some real tests, host_os isn't really good enough
14025 if test -n "$STRIP" ; then
14026 striplib="$STRIP -x"
14027 echo "$as_me:$LINENO: result: yes" >&5
14028 echo "${ECHO_T}yes" >&6
14030 echo "$as_me:$LINENO: result: no" >&5
14031 echo "${ECHO_T}no" >&6
14035 echo "$as_me:$LINENO: result: no" >&5
14036 echo "${ECHO_T}no" >&6
14041 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14042 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14043 library_names_spec=
14044 libname_spec='lib$name'
14048 postuninstall_cmds=
14052 shlibpath_overrides_runpath=unknown
14054 dynamic_linker="$host_os ld.so"
14055 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14056 if test "$GCC" = yes; then
14057 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14058 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14059 # if the path contains ";" then we assume it to be the separator
14060 # otherwise default to the standard path separator (i.e. ":") - it is
14061 # assumed that no part of a normal pathname contains ";" but that should
14062 # okay in the real world where ";" in dirpaths is itself problematic.
14063 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14065 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14068 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14070 need_lib_prefix=unknown
14071 hardcode_into_libs=no
14073 # when you set need_version to no, make sure it does not cause -set_version
14074 # flags to be left without arguments
14075 need_version=unknown
14080 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14081 shlibpath_var=LIBPATH
14083 # AIX 3 has no versioning support, so we append a major version to the name.
14084 soname_spec='${libname}${release}${shared_ext}$major'
14091 hardcode_into_libs=yes
14092 if test "$host_cpu" = ia64; then
14093 # AIX 5 supports IA64
14094 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14095 shlibpath_var=LD_LIBRARY_PATH
14097 # With GCC up to 2.95.x, collect2 would create an import file
14098 # for dependence libraries. The import file would start with
14099 # the line `#! .'. This would cause the generated library to
14100 # depend on `.', always an invalid library. This was fixed in
14101 # development snapshots of GCC prior to 3.0.
14103 aix4 | aix4.[01] | aix4.[01].*)
14104 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14106 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14109 can_build_shared=no
14113 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14114 # soname into executable. Probably we can add versioning support to
14115 # collect2, so additional links can be useful in future.
14116 if test "$aix_use_runtimelinking" = yes; then
14117 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14118 # instead of lib<name>.a to let people know that these are not
14119 # typical AIX shared libraries.
14120 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14122 # We preserve .a as extension for shared libraries through AIX4.2
14123 # and later when we are not doing run time linking.
14124 library_names_spec='${libname}${release}.a $libname.a'
14125 soname_spec='${libname}${release}${shared_ext}$major'
14127 shlibpath_var=LIBPATH
14132 library_names_spec='$libname.ixlibrary $libname.a'
14133 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14134 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'
14138 library_names_spec='${libname}${shared_ext}'
14139 dynamic_linker="$host_os ld.so"
14140 shlibpath_var=LIBRARY_PATH
14146 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14147 soname_spec='${libname}${release}${shared_ext}$major'
14148 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14149 shlibpath_var=LD_LIBRARY_PATH
14150 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14151 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14152 # the default ld.so.conf also contains /usr/contrib/lib and
14153 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14154 # libtool to hard-code these into programs
14157 cygwin* | mingw* | pw32*)
14158 version_type=windows
14163 case $GCC,$host_os in
14164 yes,cygwin* | yes,mingw* | yes,pw32*)
14165 library_names_spec='$libname.dll.a'
14166 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14167 postinstall_cmds='base_file=`basename \${file}`~
14168 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14169 dldir=$destdir/`dirname \$dlpath`~
14170 test -d \$dldir || mkdir -p \$dldir~
14171 $install_prog $dir/$dlname \$dldir/$dlname'
14172 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14173 dlpath=$dir/\$dldll~
14175 shlibpath_overrides_runpath=yes
14179 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14180 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14181 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
14184 # MinGW DLLs use traditional 'lib' prefix
14185 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14186 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14187 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14188 # It is most probably a Windows format PATH printed by
14189 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14190 # path with ; separators, and with drive letters. We can handle the
14191 # drive letters (cygwin fileutils understands them), so leave them,
14192 # especially as we might pass files found there to a mingw objdump,
14193 # which wouldn't understand a cygwinified path. Ahh.
14194 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14196 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14200 # pw32 DLLs use 'pw' prefix rather than 'lib'
14201 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14207 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14210 dynamic_linker='Win32 ld.exe'
14211 # FIXME: first we should search . and the directory the executable is in
14215 darwin* | rhapsody*)
14216 dynamic_linker="$host_os dyld"
14217 version_type=darwin
14220 # FIXME: Relying on posixy $() will cause problems for
14221 # cross-compilation, but unfortunately the echo tests do not
14222 # yet detect zsh echo's removal of \ escapes.
14223 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14224 soname_spec='${libname}${release}${major}$shared_ext'
14225 shlibpath_overrides_runpath=yes
14226 shlibpath_var=DYLD_LIBRARY_PATH
14227 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
14228 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14229 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
14230 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"`
14232 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14239 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14240 soname_spec='${libname}${release}${shared_ext}$major'
14241 shlibpath_var=LD_LIBRARY_PATH
14249 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14250 version_type=freebsd-$objformat
14251 case $version_type in
14253 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14258 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14262 shlibpath_var=LD_LIBRARY_PATH
14265 shlibpath_overrides_runpath=yes
14267 freebsd3.01* | freebsdelf3.01*)
14268 shlibpath_overrides_runpath=yes
14269 hardcode_into_libs=yes
14272 shlibpath_overrides_runpath=no
14273 hardcode_into_libs=yes
14282 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14283 soname_spec='${libname}${release}${shared_ext}$major'
14284 shlibpath_var=LD_LIBRARY_PATH
14285 hardcode_into_libs=yes
14288 hpux9* | hpux10* | hpux11*)
14289 # Give a soname corresponding to the major version so that dld.sl refuses to
14290 # link against other versions.
14294 case "$host_cpu" in
14297 hardcode_into_libs=yes
14298 dynamic_linker="$host_os dld.so"
14299 shlibpath_var=LD_LIBRARY_PATH
14300 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14302 soname_spec='${libname}${release}${shared_ext}$major'
14303 if test "X$HPUX_IA64_MODE" = X32; then
14304 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14306 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14308 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14312 hardcode_into_libs=yes
14313 dynamic_linker="$host_os dld.sl"
14314 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14315 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14316 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14317 soname_spec='${libname}${release}${shared_ext}$major'
14318 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14319 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14323 dynamic_linker="$host_os dld.sl"
14324 shlibpath_var=SHLIB_PATH
14325 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14326 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14327 soname_spec='${libname}${release}${shared_ext}$major'
14330 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14331 postinstall_cmds='chmod 555 $lib'
14334 irix5* | irix6* | nonstopux*)
14336 nonstopux*) version_type=nonstopux ;;
14338 if test "$lt_cv_prog_gnu_ld" = yes; then
14346 soname_spec='${libname}${release}${shared_ext}$major'
14347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14349 irix5* | nonstopux*)
14350 libsuff= shlibsuff=
14353 case $LD in # libtool.m4 will add one of these switches to LD
14354 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14355 libsuff= shlibsuff= libmagic=32-bit;;
14356 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14357 libsuff=32 shlibsuff=N32 libmagic=N32;;
14358 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14359 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14360 *) libsuff= shlibsuff= libmagic=never-match;;
14364 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14365 shlibpath_overrides_runpath=no
14366 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14367 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14368 hardcode_into_libs=yes
14371 # No shared lib support for Linux oldld, aout, or coff.
14372 linux*oldld* | linux*aout* | linux*coff*)
14376 # This must be Linux ELF.
14381 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14382 soname_spec='${libname}${release}${shared_ext}$major'
14383 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14384 shlibpath_var=LD_LIBRARY_PATH
14385 shlibpath_overrides_runpath=no
14386 # This implies no fast_install, which is unacceptable.
14387 # Some rework will be needed to allow for fast_install
14388 # before this can be enabled.
14389 hardcode_into_libs=yes
14391 # We used to test for /lib/ld.so.1 and disable shared libraries on
14392 # powerpc, because MkLinux only supported shared libraries with the
14393 # GNU dynamic linker. Since this was broken with cross compilers,
14394 # most powerpc-linux boxes support dynamic linking these days and
14395 # people can always --disable-shared, the test was removed, and we
14396 # assume the GNU/Linux dynamic linker is in use.
14397 dynamic_linker='GNU/Linux ld.so'
14404 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14405 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14406 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14407 dynamic_linker='NetBSD (a.out) ld.so'
14409 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14410 soname_spec='${libname}${release}${shared_ext}$major'
14411 dynamic_linker='NetBSD ld.elf_so'
14413 shlibpath_var=LD_LIBRARY_PATH
14414 shlibpath_overrides_runpath=yes
14415 hardcode_into_libs=yes
14420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14421 shlibpath_var=LD_LIBRARY_PATH
14422 shlibpath_overrides_runpath=yes
14429 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14430 soname_spec='${libname}${release}${shared_ext}$major'
14431 shlibpath_var=LD_LIBRARY_PATH
14432 shlibpath_overrides_runpath=yes
14439 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14440 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14441 shlibpath_var=LD_LIBRARY_PATH
14442 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14444 openbsd2.[89] | openbsd2.[89].*)
14445 shlibpath_overrides_runpath=no
14448 shlibpath_overrides_runpath=yes
14452 shlibpath_overrides_runpath=yes
14457 libname_spec='$name'
14460 library_names_spec='$libname${shared_ext} $libname.a'
14461 dynamic_linker='OS/2 ld.exe'
14462 shlibpath_var=LIBPATH
14465 osf3* | osf4* | osf5*)
14469 soname_spec='${libname}${release}${shared_ext}$major'
14470 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14471 shlibpath_var=LD_LIBRARY_PATH
14472 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14473 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14478 soname_spec='${libname}${release}${shared_ext}$major'
14479 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14480 shlibpath_var=LD_LIBRARY_PATH
14487 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14488 soname_spec='${libname}${release}${shared_ext}$major'
14489 shlibpath_var=LD_LIBRARY_PATH
14490 shlibpath_overrides_runpath=yes
14491 hardcode_into_libs=yes
14492 # ldd complains unless libraries are executable
14493 postinstall_cmds='chmod +x $lib'
14498 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14499 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14500 shlibpath_var=LD_LIBRARY_PATH
14501 shlibpath_overrides_runpath=yes
14502 if test "$with_gnu_ld" = yes; then
14508 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14510 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14511 soname_spec='${libname}${release}${shared_ext}$major'
14512 shlibpath_var=LD_LIBRARY_PATH
14513 case $host_vendor in
14515 shlibpath_overrides_runpath=no
14517 export_dynamic_flag_spec='${wl}-Blargedynsym'
14518 runpath_var=LD_RUN_PATH
14526 shlibpath_overrides_runpath=no
14527 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14533 if test -d /usr/nec ;then
14535 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14536 soname_spec='$libname${shared_ext}.$major'
14537 shlibpath_var=LD_LIBRARY_PATH
14543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14544 soname_spec='${libname}${release}${shared_ext}$major'
14545 shlibpath_var=LD_LIBRARY_PATH
14552 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14553 echo "${ECHO_T}$dynamic_linker" >&6
14554 test "$dynamic_linker" = no && can_build_shared=no
14557 # The else clause should only fire when bootstrapping the
14558 # libtool distribution, otherwise you forgot to ship ltmain.sh
14559 # with your package, and you will get complaints that there are
14560 # no rules to generate ltmain.sh.
14561 if test -f "$ltmain"; then
14562 # See if we are running on zsh, and set the options which allow our commands through
14563 # without removal of \ escapes.
14564 if test -n "${ZSH_VERSION+set}" ; then
14565 setopt NO_GLOB_SUBST
14567 # Now quote all the things that may contain metacharacters while being
14568 # careful not to overquote the AC_SUBSTed values. We take copies of the
14569 # variables and quote the copies for generation of the libtool script.
14570 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
14571 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14572 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14573 deplibs_check_method reload_flag reload_cmds need_locks \
14574 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14575 lt_cv_sys_global_symbol_to_c_name_address \
14576 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14577 old_postinstall_cmds old_postuninstall_cmds \
14581 lt_prog_compiler_wl_F77 \
14582 lt_prog_compiler_pic_F77 \
14583 lt_prog_compiler_static_F77 \
14584 lt_prog_compiler_no_builtin_flag_F77 \
14585 export_dynamic_flag_spec_F77 \
14586 thread_safe_flag_spec_F77 \
14587 whole_archive_flag_spec_F77 \
14588 enable_shared_with_static_runtimes_F77 \
14589 old_archive_cmds_F77 \
14590 old_archive_from_new_cmds_F77 \
14591 predep_objects_F77 \
14592 postdep_objects_F77 \
14595 compiler_lib_search_path_F77 \
14597 archive_expsym_cmds_F77 \
14598 postinstall_cmds_F77 \
14599 postuninstall_cmds_F77 \
14600 old_archive_from_expsyms_cmds_F77 \
14601 allow_undefined_flag_F77 \
14602 no_undefined_flag_F77 \
14603 export_symbols_cmds_F77 \
14604 hardcode_libdir_flag_spec_F77 \
14605 hardcode_libdir_flag_spec_ld_F77 \
14606 hardcode_libdir_separator_F77 \
14607 hardcode_automatic_F77 \
14609 module_expsym_cmds_F77 \
14610 lt_cv_prog_compiler_c_o_F77 \
14611 exclude_expsyms_F77 \
14612 include_expsyms_F77; do
14615 old_archive_cmds_F77 | \
14616 old_archive_from_new_cmds_F77 | \
14617 archive_cmds_F77 | \
14618 archive_expsym_cmds_F77 | \
14619 module_cmds_F77 | \
14620 module_expsym_cmds_F77 | \
14621 old_archive_from_expsyms_cmds_F77 | \
14622 export_symbols_cmds_F77 | \
14623 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14624 postinstall_cmds | postuninstall_cmds | \
14625 old_postinstall_cmds | old_postuninstall_cmds | \
14626 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14627 # Double-quote double-evaled strings.
14628 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14631 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14637 *'\$0 --fallback-echo"')
14638 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14644 cat <<__EOF__ >> "$cfgfile"
14645 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14647 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14649 # Shell to use when invoking shell scripts.
14652 # Whether or not to build shared libraries.
14653 build_libtool_libs=$enable_shared
14655 # Whether or not to build static libraries.
14656 build_old_libs=$enable_static
14658 # Whether or not to add -lc for building shared libraries.
14659 build_libtool_need_lc=$archive_cmds_need_lc_F77
14661 # Whether or not to disallow shared libs when runtime libs are static
14662 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14664 # Whether or not to optimize for fast installation.
14665 fast_install=$enable_fast_install
14668 host_alias=$host_alias
14671 # An echo program that does not interpret backslashes.
14676 AR_FLAGS=$lt_AR_FLAGS
14681 # A language-specific compiler.
14682 CC=$lt_compiler_F77
14684 # Is the compiler the GNU C compiler?
14690 # The linker used to build libraries.
14693 # Whether we need hard or soft links.
14696 # A BSD-compatible nm program.
14699 # A symbol stripping program
14702 # Used to examine libraries when file_magic_cmd begins "file"
14703 MAGIC_CMD=$MAGIC_CMD
14705 # Used on cygwin: DLL creation program.
14708 # Used on cygwin: object dumper.
14711 # Used on cygwin: assembler.
14714 # The name of the directory that contains temporary libtool files.
14717 # How to create reloadable object files.
14718 reload_flag=$lt_reload_flag
14719 reload_cmds=$lt_reload_cmds
14721 # How to pass a linker flag through the compiler.
14722 wl=$lt_lt_prog_compiler_wl_F77
14724 # Object file suffix (normally "o").
14725 objext="$ac_objext"
14727 # Old archive suffix (normally "a").
14730 # Shared library suffix (normally ".so").
14733 # Executable file suffix (normally "").
14736 # Additional compiler flags for building library objects.
14737 pic_flag=$lt_lt_prog_compiler_pic_F77
14740 # What is the maximum length of a command?
14741 max_cmd_len=$lt_cv_sys_max_cmd_len
14743 # Does compiler simultaneously support -c and -o options?
14744 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
14746 # Must we lock files when doing compilation ?
14747 need_locks=$lt_need_locks
14749 # Do we need the lib prefix for modules?
14750 need_lib_prefix=$need_lib_prefix
14752 # Do we need a version for libraries?
14753 need_version=$need_version
14755 # Whether dlopen is supported.
14756 dlopen_support=$enable_dlopen
14758 # Whether dlopen of programs is supported.
14759 dlopen_self=$enable_dlopen_self
14761 # Whether dlopen of statically linked programs is supported.
14762 dlopen_self_static=$enable_dlopen_self_static
14764 # Compiler flag to prevent dynamic linking.
14765 link_static_flag=$lt_lt_prog_compiler_static_F77
14767 # Compiler flag to turn off builtin functions.
14768 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
14770 # Compiler flag to allow reflexive dlopens.
14771 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
14773 # Compiler flag to generate shared objects directly from archives.
14774 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
14776 # Compiler flag to generate thread-safe objects.
14777 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
14779 # Library versioning type.
14780 version_type=$version_type
14782 # Format of library name prefix.
14783 libname_spec=$lt_libname_spec
14785 # List of archive names. First name is the real one, the rest are links.
14786 # The last name is the one that the linker finds with -lNAME.
14787 library_names_spec=$lt_library_names_spec
14789 # The coded name of the library, if different from the real name.
14790 soname_spec=$lt_soname_spec
14792 # Commands used to build and install an old-style archive.
14794 old_archive_cmds=$lt_old_archive_cmds_F77
14795 old_postinstall_cmds=$lt_old_postinstall_cmds
14796 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14798 # Create an old-style archive from a shared archive.
14799 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
14801 # Create a temporary old-style archive to link instead of a shared archive.
14802 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
14804 # Commands used to build and install a shared archive.
14805 archive_cmds=$lt_archive_cmds_F77
14806 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
14807 postinstall_cmds=$lt_postinstall_cmds
14808 postuninstall_cmds=$lt_postuninstall_cmds
14810 # Commands used to build a loadable module (assumed same as above if empty)
14811 module_cmds=$lt_module_cmds_F77
14812 module_expsym_cmds=$lt_module_expsym_cmds_F77
14814 # Commands to strip libraries.
14815 old_striplib=$lt_old_striplib
14816 striplib=$lt_striplib
14818 # Dependencies to place before the objects being linked to create a
14820 predep_objects=$lt_predep_objects_F77
14822 # Dependencies to place after the objects being linked to create a
14824 postdep_objects=$lt_postdep_objects_F77
14826 # Dependencies to place before the objects being linked to create a
14828 predeps=$lt_predeps_F77
14830 # Dependencies to place after the objects being linked to create a
14832 postdeps=$lt_postdeps_F77
14834 # The library search path used internally by the compiler when linking
14835 # a shared library.
14836 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
14838 # Method to check whether dependent libraries are shared objects.
14839 deplibs_check_method=$lt_deplibs_check_method
14841 # Command to use when deplibs_check_method == file_magic.
14842 file_magic_cmd=$lt_file_magic_cmd
14844 # Flag that allows shared libraries with undefined symbols to be built.
14845 allow_undefined_flag=$lt_allow_undefined_flag_F77
14847 # Flag that forces no undefined symbols.
14848 no_undefined_flag=$lt_no_undefined_flag_F77
14850 # Commands used to finish a libtool library installation in a directory.
14851 finish_cmds=$lt_finish_cmds
14853 # Same as above, but a single script fragment to be evaled but not shown.
14854 finish_eval=$lt_finish_eval
14856 # Take the output of nm and produce a listing of raw symbols and C names.
14857 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14859 # Transform the output of nm in a proper C declaration
14860 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14862 # Transform the output of nm in a C name address pair
14863 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14865 # This is the shared library runtime path variable.
14866 runpath_var=$runpath_var
14868 # This is the shared library path variable.
14869 shlibpath_var=$shlibpath_var
14871 # Is shlibpath searched before the hard-coded library search path?
14872 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14874 # How to hardcode a shared library path into an executable.
14875 hardcode_action=$hardcode_action_F77
14877 # Whether we should hardcode library paths into libraries.
14878 hardcode_into_libs=$hardcode_into_libs
14880 # Flag to hardcode \$libdir into a binary during linking.
14881 # This must work even if \$libdir does not exist.
14882 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
14884 # If ld is used when linking, flag to hardcode \$libdir into
14885 # a binary during linking. This must work even if \$libdir does
14887 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
14889 # Whether we need a single -rpath flag with a separated argument.
14890 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
14892 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14893 # resulting binary.
14894 hardcode_direct=$hardcode_direct_F77
14896 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14897 # resulting binary.
14898 hardcode_minus_L=$hardcode_minus_L_F77
14900 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14901 # the resulting binary.
14902 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
14904 # Set to yes if building a shared library automatically hardcodes DIR into the library
14905 # and all subsequent libraries and executables linked against it.
14906 hardcode_automatic=$hardcode_automatic_F77
14908 # Variables whose values should be saved in libtool wrapper scripts and
14909 # restored at relink time.
14910 variables_saved_for_relink="$variables_saved_for_relink"
14912 # Whether libtool must link a program against all its dependency libraries.
14913 link_all_deplibs=$link_all_deplibs_F77
14915 # Compile-time system search path for libraries
14916 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14918 # Run-time system search path for libraries
14919 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14921 # Fix the shell variable \$srcfile for the compiler.
14922 fix_srcfile_path="$fix_srcfile_path_F77"
14924 # Set to yes if exported symbols are required.
14925 always_export_symbols=$always_export_symbols_F77
14927 # The commands to list exported symbols.
14928 export_symbols_cmds=$lt_export_symbols_cmds_F77
14930 # The commands to extract the exported symbol list from a shared archive.
14931 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14933 # Symbols that should not be listed in the preloaded symbols.
14934 exclude_expsyms=$lt_exclude_expsyms_F77
14936 # Symbols that must always be exported.
14937 include_expsyms=$lt_include_expsyms_F77
14939 # ### END LIBTOOL TAG CONFIG: $tagname
14945 # If there is no Makefile yet, we rely on a make rule to execute
14946 # `config.status --recheck' to rerun these tests and create the
14947 # libtool script then.
14948 test -f Makefile && make "$ltmain"
14953 ac_cpp='$CPP $CPPFLAGS'
14954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14966 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
14970 # Source file extension for Java test sources.
14973 # Object file extension for compiled Java test sources.
14977 # Code to be used in simple compile tests
14978 lt_simple_compile_test_code="class foo {}\n"
14980 # Code to be used in simple link tests
14981 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
14983 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14985 # If no C compiler was specified, use CC.
14988 # Allow CC to be a program name with arguments.
14992 # Allow CC to be a program name with arguments.
14998 # GCJ did not exist at the time GCC didn't implicitly link libc in.
14999 archive_cmds_need_lc_GCJ=no
15002 ## There is no encapsulation within the following macros, do not change
15003 ## the running order or otherwise move them around unless you know exactly
15004 ## what you are doing...
15006 lt_prog_compiler_no_builtin_flag_GCJ=
15008 if test "$GCC" = yes; then
15009 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15011 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15012 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15013 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15014 echo $ECHO_N "(cached) $ECHO_C" >&6
15016 lt_cv_prog_compiler_rtti_exceptions=no
15017 ac_outfile=conftest.$ac_objext
15018 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15019 lt_compiler_flag="-fno-rtti -fno-exceptions"
15020 # Insert the option either (1) after the last *FLAGS variable, or
15021 # (2) before a word containing "conftest.", or (3) at the end.
15022 # Note that $ac_compile itself does not contain backslashes and begins
15023 # with a dollar sign (not a hyphen), so the echo should work correctly.
15024 # The option is referenced via a variable to avoid confusing sed.
15025 lt_compile=`echo "$ac_compile" | $SED \
15026 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15027 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15028 -e 's:$: $lt_compiler_flag:'`
15029 (eval echo "\"\$as_me:15029: $lt_compile\"" >&5)
15030 (eval "$lt_compile" 2>conftest.err)
15032 cat conftest.err >&5
15033 echo "$as_me:15033: \$? = $ac_status" >&5
15034 if (exit $ac_status) && test -s "$ac_outfile"; then
15035 # The compiler can only warn and ignore the option if not recognized
15036 # So say no if there are warnings
15037 if test ! -s conftest.err; then
15038 lt_cv_prog_compiler_rtti_exceptions=yes
15044 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15045 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15047 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15048 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15055 lt_prog_compiler_wl_GCJ=
15056 lt_prog_compiler_pic_GCJ=
15057 lt_prog_compiler_static_GCJ=
15059 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15060 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15062 if test "$GCC" = yes; then
15063 lt_prog_compiler_wl_GCJ='-Wl,'
15064 lt_prog_compiler_static_GCJ='-static'
15068 # All AIX code is PIC.
15069 if test "$host_cpu" = ia64; then
15070 # AIX 5 now supports IA64 processor
15071 lt_prog_compiler_static_GCJ='-Bstatic'
15076 # FIXME: we need at least 68020 code to build shared libraries, but
15077 # adding the `-m68020' flag to GCC prevents building anything better,
15079 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15082 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15083 # PIC is the default for these OSes.
15086 mingw* | pw32* | os2*)
15087 # This hack is so that the source file can tell whether it is being
15088 # built for inclusion in a dll (and should export symbols for example).
15089 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15092 darwin* | rhapsody*)
15093 # PIC is the default on this platform
15094 # Common symbols not allowed in MH_DYLIB files
15095 lt_prog_compiler_pic_GCJ='-fno-common'
15099 # Just because we use GCC doesn't mean we suddenly get shared libraries
15100 # on systems that don't support them.
15101 lt_prog_compiler_can_build_shared_GCJ=no
15106 if test -d /usr/nec; then
15107 lt_prog_compiler_pic_GCJ=-Kconform_pic
15112 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15113 # not for PA HP-UX.
15114 case "$host_cpu" in
15119 lt_prog_compiler_pic_GCJ='-fPIC'
15125 lt_prog_compiler_pic_GCJ='-fPIC'
15129 # PORTME Check for flag to pass linker flags through the system compiler.
15132 lt_prog_compiler_wl_GCJ='-Wl,'
15133 if test "$host_cpu" = ia64; then
15134 # AIX 5 now supports IA64 processor
15135 lt_prog_compiler_static_GCJ='-Bstatic'
15137 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15141 mingw* | pw32* | os2*)
15142 # This hack is so that the source file can tell whether it is being
15143 # built for inclusion in a dll (and should export symbols for example).
15144 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15147 hpux9* | hpux10* | hpux11*)
15148 lt_prog_compiler_wl_GCJ='-Wl,'
15149 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15150 # not for PA HP-UX.
15151 case "$host_cpu" in
15156 lt_prog_compiler_pic_GCJ='+Z'
15159 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15160 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15163 irix5* | irix6* | nonstopux*)
15164 lt_prog_compiler_wl_GCJ='-Wl,'
15165 # PIC (with -KPIC) is the default.
15166 lt_prog_compiler_static_GCJ='-non_shared'
15170 lt_prog_compiler_pic_GCJ='-KPIC'
15171 lt_prog_compiler_static_GCJ='-Bstatic'
15177 lt_prog_compiler_wl_GCJ='-Wl,'
15178 lt_prog_compiler_pic_GCJ='-KPIC'
15179 lt_prog_compiler_static_GCJ='-static'
15182 lt_prog_compiler_wl_GCJ='-Wl,'
15183 # All Alpha code is PIC.
15184 lt_prog_compiler_static_GCJ='-non_shared'
15189 osf3* | osf4* | osf5*)
15190 lt_prog_compiler_wl_GCJ='-Wl,'
15191 # All OSF/1 code is PIC.
15192 lt_prog_compiler_static_GCJ='-non_shared'
15196 lt_prog_compiler_pic_GCJ='-Kpic'
15197 lt_prog_compiler_static_GCJ='-dn'
15201 lt_prog_compiler_wl_GCJ='-Wl,'
15202 lt_prog_compiler_pic_GCJ='-KPIC'
15203 lt_prog_compiler_static_GCJ='-Bstatic'
15207 lt_prog_compiler_wl_GCJ='-Qoption ld '
15208 lt_prog_compiler_pic_GCJ='-PIC'
15209 lt_prog_compiler_static_GCJ='-Bstatic'
15212 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15213 lt_prog_compiler_wl_GCJ='-Wl,'
15214 lt_prog_compiler_pic_GCJ='-KPIC'
15215 lt_prog_compiler_static_GCJ='-Bstatic'
15219 if test -d /usr/nec ;then
15220 lt_prog_compiler_pic_GCJ='-Kconform_pic'
15221 lt_prog_compiler_static_GCJ='-Bstatic'
15226 lt_prog_compiler_pic_GCJ='-pic'
15227 lt_prog_compiler_static_GCJ='-Bstatic'
15231 lt_prog_compiler_can_build_shared_GCJ=no
15236 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15237 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15240 # Check to make sure the PIC flag actually works.
15242 if test -n "$lt_prog_compiler_pic_GCJ"; then
15243 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15244 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15245 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15246 echo $ECHO_N "(cached) $ECHO_C" >&6
15248 lt_prog_compiler_pic_works_GCJ=no
15249 ac_outfile=conftest.$ac_objext
15250 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15251 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15252 # Insert the option either (1) after the last *FLAGS variable, or
15253 # (2) before a word containing "conftest.", or (3) at the end.
15254 # Note that $ac_compile itself does not contain backslashes and begins
15255 # with a dollar sign (not a hyphen), so the echo should work correctly.
15256 # The option is referenced via a variable to avoid confusing sed.
15257 lt_compile=`echo "$ac_compile" | $SED \
15258 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15259 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15260 -e 's:$: $lt_compiler_flag:'`
15261 (eval echo "\"\$as_me:15261: $lt_compile\"" >&5)
15262 (eval "$lt_compile" 2>conftest.err)
15264 cat conftest.err >&5
15265 echo "$as_me:15265: \$? = $ac_status" >&5
15266 if (exit $ac_status) && test -s "$ac_outfile"; then
15267 # The compiler can only warn and ignore the option if not recognized
15268 # So say no if there are warnings
15269 if test ! -s conftest.err; then
15270 lt_prog_compiler_pic_works_GCJ=yes
15276 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15277 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15279 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15280 case $lt_prog_compiler_pic_GCJ in
15282 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15285 lt_prog_compiler_pic_GCJ=
15286 lt_prog_compiler_can_build_shared_GCJ=no
15291 # For platforms which do not support PIC, -DPIC is meaningless:
15293 lt_prog_compiler_pic_GCJ=
15296 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15300 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15301 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15302 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15303 echo $ECHO_N "(cached) $ECHO_C" >&6
15305 lt_cv_prog_compiler_c_o_GCJ=no
15306 $rm -r conftest 2>/dev/null
15310 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15312 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15313 # that will create temporary files in the current directory regardless of
15314 # the output directory. Thus, making CWD read-only will cause this test
15315 # to fail, enabling locking or at least warning the user not to do parallel
15319 lt_compiler_flag="-o out/conftest2.$ac_objext"
15320 # Insert the option either (1) after the last *FLAGS variable, or
15321 # (2) before a word containing "conftest.", or (3) at the end.
15322 # Note that $ac_compile itself does not contain backslashes and begins
15323 # with a dollar sign (not a hyphen), so the echo should work correctly.
15324 lt_compile=`echo "$ac_compile" | $SED \
15325 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15326 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15327 -e 's:$: $lt_compiler_flag:'`
15328 (eval echo "\"\$as_me:15328: $lt_compile\"" >&5)
15329 (eval "$lt_compile" 2>out/conftest.err)
15331 cat out/conftest.err >&5
15332 echo "$as_me:15332: \$? = $ac_status" >&5
15333 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15335 # The compiler can only warn and ignore the option if not recognized
15336 # So say no if there are warnings
15337 if test ! -s out/conftest.err; then
15338 lt_cv_prog_compiler_c_o_GCJ=yes
15342 $rm conftest* out/*
15349 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15350 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15353 hard_links="nottested"
15354 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15355 # do not overwrite the value of need_locks provided by the user
15356 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15357 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15360 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15362 ln conftest.a conftest.b 2>&5 || hard_links=no
15363 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15364 echo "$as_me:$LINENO: result: $hard_links" >&5
15365 echo "${ECHO_T}$hard_links" >&6
15366 if test "$hard_links" = no; then
15367 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15368 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15375 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15376 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15379 allow_undefined_flag_GCJ=
15380 enable_shared_with_static_runtimes_GCJ=no
15382 archive_expsym_cmds_GCJ=
15383 old_archive_From_new_cmds_GCJ=
15384 old_archive_from_expsyms_cmds_GCJ=
15385 export_dynamic_flag_spec_GCJ=
15386 whole_archive_flag_spec_GCJ=
15387 thread_safe_flag_spec_GCJ=
15388 hardcode_libdir_flag_spec_GCJ=
15389 hardcode_libdir_flag_spec_ld_GCJ=
15390 hardcode_libdir_separator_GCJ=
15391 hardcode_direct_GCJ=no
15392 hardcode_minus_L_GCJ=no
15393 hardcode_shlibpath_var_GCJ=unsupported
15394 link_all_deplibs_GCJ=unknown
15395 hardcode_automatic_GCJ=no
15397 module_expsym_cmds_GCJ=
15398 always_export_symbols_GCJ=no
15399 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15400 # include_expsyms should be a list of space-separated symbols to be *always*
15401 # included in the symbol list
15402 include_expsyms_GCJ=
15403 # exclude_expsyms can be an extended regexp of symbols to exclude
15404 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15405 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15406 # as well as any symbol that contains `d'.
15407 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15408 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15409 # platforms (ab)use it in PIC code, but their linkers get confused if
15410 # the symbol is explicitly referenced. Since portable code cannot
15411 # rely on this symbol name, it's probably fine to never include it in
15412 # preloaded symbol tables.
15413 extract_expsyms_cmds=
15416 cygwin* | mingw* | pw32*)
15417 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15418 # When not using gcc, we currently assume that we are using
15419 # Microsoft Visual C++.
15420 if test "$GCC" != yes; then
15430 if test "$with_gnu_ld" = yes; then
15431 # If archive_cmds runs LD, not CC, wlarc should be empty
15434 # See if GNU ld supports shared libraries.
15436 aix3* | aix4* | aix5*)
15437 # On AIX/PPC, the GNU linker is very broken
15438 if test "$host_cpu" != ia64; then
15442 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15443 *** to be unable to reliably create shared libraries on AIX.
15444 *** Therefore, libtool is disabling shared libraries support. If you
15445 *** really care for shared libraries, you may want to modify your PATH
15446 *** so that a non-GNU linker is found, and then restart.
15453 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)'
15454 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15455 hardcode_minus_L_GCJ=yes
15457 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15458 # that the semantics of dynamic libraries on AmigaOS, at least up
15459 # to version 4, is to share data among multiple programs linked
15460 # with the same dynamic library. Since this doesn't match the
15461 # behavior of shared libraries on other platforms, we can't use
15467 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15468 allow_undefined_flag_GCJ=unsupported
15469 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15470 # support --undefined. This deserves some investigation. FIXME
15471 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15477 cygwin* | mingw* | pw32*)
15478 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15479 # as there is no search path for DLLs.
15480 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15481 allow_undefined_flag_GCJ=unsupported
15482 always_export_symbols_GCJ=no
15483 enable_shared_with_static_runtimes_GCJ=yes
15484 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15486 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15487 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15488 # If the export-symbols file already is a .def file (1st line
15489 # is EXPORTS), use it as is; otherwise, prepend...
15490 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15491 cp $export_symbols $output_objdir/$soname.def;
15493 echo EXPORTS > $output_objdir/$soname.def;
15494 cat $export_symbols >> $output_objdir/$soname.def;
15496 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15503 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15504 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15507 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15508 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15513 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15517 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15518 *** create shared libraries on Solaris systems. Therefore, libtool
15519 *** is disabling shared libraries support. We urge you to upgrade GNU
15520 *** binutils to release 2.9.1 or newer. Another option is to modify
15521 *** your PATH or compiler configuration so that the native linker is
15522 *** used, and then restart.
15525 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15526 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15527 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15534 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15536 hardcode_direct_GCJ=yes
15537 hardcode_shlibpath_var_GCJ=no
15541 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15542 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15543 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15550 if test "$ld_shlibs_GCJ" = yes; then
15551 runpath_var=LD_RUN_PATH
15552 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15553 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15554 # ancient GNU ld didn't support --whole-archive et. al.
15555 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15556 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15558 whole_archive_flag_spec_GCJ=
15562 # PORTME fill in a description of your system's linker (not GNU ld)
15565 allow_undefined_flag_GCJ=unsupported
15566 always_export_symbols_GCJ=yes
15567 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'
15568 # Note: this linker hardcodes the directories in LIBPATH if there
15569 # are no directories specified by -L.
15570 hardcode_minus_L_GCJ=yes
15571 if test "$GCC" = yes && test -z "$link_static_flag"; then
15572 # Neither direct hardcoding nor static linking is supported with a
15574 hardcode_direct_GCJ=unsupported
15579 if test "$host_cpu" = ia64; then
15580 # On IA64, the linker does run time linking by default, so we don't
15581 # have to do anything special.
15582 aix_use_runtimelinking=no
15583 exp_sym_flag='-Bexport'
15586 # If we're using GNU nm, then we don't want the "-C" option.
15587 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15588 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15589 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'
15591 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'
15593 aix_use_runtimelinking=no
15595 # Test if we are trying to use run time linking or normal
15596 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15597 # need to do runtime linking.
15598 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15599 for ld_flag in $LDFLAGS; do
15600 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15601 aix_use_runtimelinking=yes
15607 exp_sym_flag='-bexport'
15608 no_entry_flag='-bnoentry'
15611 # When large executables or shared objects are built, AIX ld can
15612 # have problems creating the table of contents. If linking a library
15613 # or program results in "error TOC overflow" add -mminimal-toc to
15614 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15615 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15617 archive_cmds_GCJ=''
15618 hardcode_direct_GCJ=yes
15619 hardcode_libdir_separator_GCJ=':'
15620 link_all_deplibs_GCJ=yes
15622 if test "$GCC" = yes; then
15623 case $host_os in aix4.012|aix4.012.*)
15624 # We only want to do this on AIX 4.2 and lower, the check
15625 # below for broken collect2 doesn't work under 4.3+
15626 collect2name=`${CC} -print-prog-name=collect2`
15627 if test -f "$collect2name" && \
15628 strings "$collect2name" | grep resolve_lib_name >/dev/null
15630 # We have reworked collect2
15631 hardcode_direct_GCJ=yes
15633 # We have old collect2
15634 hardcode_direct_GCJ=unsupported
15635 # It fails to find uninstalled libraries when the uninstalled
15636 # path is not listed in the libpath. Setting hardcode_minus_L
15637 # to unsupported forces relinking
15638 hardcode_minus_L_GCJ=yes
15639 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15640 hardcode_libdir_separator_GCJ=
15643 shared_flag='-shared'
15646 if test "$host_cpu" = ia64; then
15647 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15648 # chokes on -Wl,-G. The following line is correct:
15651 if test "$aix_use_runtimelinking" = yes; then
15652 shared_flag='${wl}-G'
15654 shared_flag='${wl}-bM:SRE'
15659 # It seems that -bexpall does not export symbols beginning with
15660 # underscore (_), so it is better to generate a list of symbols to export.
15661 always_export_symbols_GCJ=yes
15662 if test "$aix_use_runtimelinking" = yes; then
15663 # Warning - without using the other runtime loading flags (-brtl),
15664 # -berok will link without error, but may produce a broken library.
15665 allow_undefined_flag_GCJ='-berok'
15666 # Determine the default libpath from the value encoded in an empty executable.
15667 cat >conftest.$ac_ext <<_ACEOF
15668 #line $LINENO "configure"
15671 cat confdefs.h >>conftest.$ac_ext
15672 cat >>conftest.$ac_ext <<_ACEOF
15673 /* end confdefs.h. */
15683 rm -f conftest.$ac_objext conftest$ac_exeext
15684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15685 (eval $ac_link) 2>&5
15687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15688 (exit $ac_status); } &&
15689 { ac_try='test -s conftest$ac_exeext'
15690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15691 (eval $ac_try) 2>&5
15693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15694 (exit $ac_status); }; }; then
15696 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15698 # Check for a 64-bit object if we didn't find anything.
15699 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; }
15702 echo "$as_me: failed program was:" >&5
15703 sed 's/^/| /' conftest.$ac_ext >&5
15706 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15707 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15709 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15710 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"
15712 if test "$host_cpu" = ia64; then
15713 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
15714 allow_undefined_flag_GCJ="-z nodefs"
15715 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"
15717 # Determine the default libpath from the value encoded in an empty executable.
15718 cat >conftest.$ac_ext <<_ACEOF
15719 #line $LINENO "configure"
15722 cat confdefs.h >>conftest.$ac_ext
15723 cat >>conftest.$ac_ext <<_ACEOF
15724 /* end confdefs.h. */
15734 rm -f conftest.$ac_objext conftest$ac_exeext
15735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15736 (eval $ac_link) 2>&5
15738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15739 (exit $ac_status); } &&
15740 { ac_try='test -s conftest$ac_exeext'
15741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15742 (eval $ac_try) 2>&5
15744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15745 (exit $ac_status); }; }; then
15747 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15749 # Check for a 64-bit object if we didn't find anything.
15750 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; }
15753 echo "$as_me: failed program was:" >&5
15754 sed 's/^/| /' conftest.$ac_ext >&5
15757 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15758 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15760 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15761 # Warning - without using the other run time loading flags,
15762 # -berok will link without error, but may produce a broken library.
15763 no_undefined_flag_GCJ=' ${wl}-bernotok'
15764 allow_undefined_flag_GCJ=' ${wl}-berok'
15765 # -bexpall does not export symbols beginning with underscore (_)
15766 always_export_symbols_GCJ=yes
15767 # Exported symbols can be pulled into shared objects from archives
15768 whole_archive_flag_spec_GCJ=' '
15769 archive_cmds_need_lc_GCJ=yes
15770 # This is similar to how AIX traditionally builds it's shared libraries.
15771 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'
15777 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)'
15778 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15779 hardcode_minus_L_GCJ=yes
15780 # see comment about different semantics on the GNU ld section
15785 export_dynamic_flag_spec_GCJ=-rdynamic
15788 cygwin* | mingw* | pw32*)
15789 # When not using gcc, we currently assume that we are using
15790 # Microsoft Visual C++.
15791 # hardcode_libdir_flag_spec is actually meaningless, as there is
15792 # no search path for DLLs.
15793 hardcode_libdir_flag_spec_GCJ=' '
15794 allow_undefined_flag_GCJ=unsupported
15795 # Tell ltmain to make .lib files, not .a files.
15797 # Tell ltmain to make .dll files, not .so files.
15799 # FIXME: Setting linknames here is a bad hack.
15800 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15801 # The linker will automatically build a .lib file if we build a DLL.
15802 old_archive_From_new_cmds_GCJ='true'
15803 # FIXME: Should let the user specify the lib program.
15804 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
15805 fix_srcfile_path='`cygpath -w "$srcfile"`'
15806 enable_shared_with_static_runtimes_GCJ=yes
15809 darwin* | rhapsody*)
15810 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
15811 archive_cmds_need_lc_GCJ=no
15813 rhapsody* | darwin1.[012])
15814 allow_undefined_flag_GCJ='-undefined suppress'
15817 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
15820 # FIXME: Relying on posixy $() will cause problems for
15821 # cross-compilation, but unfortunately the echo tests do not
15822 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
15823 # `"' quotes if we put them in here... so don't!
15824 lt_int_apple_cc_single_mod=no
15825 output_verbose_link_cmd='echo'
15826 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
15827 lt_int_apple_cc_single_mod=yes
15829 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15830 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15832 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'
15834 module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
15835 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15836 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15837 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}'
15839 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}'
15841 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}'
15842 hardcode_direct_GCJ=no
15843 hardcode_automatic_GCJ=yes
15844 hardcode_shlibpath_var_GCJ=unsupported
15845 whole_archive_flag_spec_GCJ='-all_load $convenience'
15846 link_all_deplibs_GCJ=yes
15851 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15852 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15853 hardcode_shlibpath_var_GCJ=no
15860 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15861 # support. Future versions do this automatically, but an explicit c++rt0.o
15862 # does not break anything, and helps significantly (at the cost of a little
15865 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15866 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15867 hardcode_direct_GCJ=yes
15868 hardcode_shlibpath_var_GCJ=no
15871 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15873 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15874 hardcode_direct_GCJ=yes
15875 hardcode_minus_L_GCJ=yes
15876 hardcode_shlibpath_var_GCJ=no
15879 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15881 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15882 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15883 hardcode_direct_GCJ=yes
15884 hardcode_shlibpath_var_GCJ=no
15888 if test "$GCC" = yes; then
15889 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'
15891 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'
15893 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15894 hardcode_libdir_separator_GCJ=:
15895 hardcode_direct_GCJ=yes
15897 # hardcode_minus_L: Not really in the search PATH,
15898 # but as the default location of the library.
15899 hardcode_minus_L_GCJ=yes
15900 export_dynamic_flag_spec_GCJ='${wl}-E'
15904 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15905 case "$host_cpu" in
15907 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15910 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15914 case "$host_cpu" in
15916 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15919 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15923 if test "$with_gnu_ld" = no; then
15924 case "$host_cpu" in
15926 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15927 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
15928 hardcode_libdir_separator_GCJ=:
15929 hardcode_direct_GCJ=no
15930 hardcode_shlibpath_var_GCJ=no
15933 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15934 hardcode_direct_GCJ=no
15935 hardcode_shlibpath_var_GCJ=no
15937 # hardcode_minus_L: Not really in the search PATH,
15938 # but as the default location of the library.
15939 hardcode_minus_L_GCJ=yes
15942 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15943 hardcode_libdir_separator_GCJ=:
15944 hardcode_direct_GCJ=yes
15945 export_dynamic_flag_spec_GCJ='${wl}-E'
15947 # hardcode_minus_L: Not really in the search PATH,
15948 # but as the default location of the library.
15949 hardcode_minus_L_GCJ=yes
15955 irix5* | irix6* | nonstopux*)
15956 if test "$GCC" = yes; then
15957 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'
15959 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'
15960 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
15962 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15963 hardcode_libdir_separator_GCJ=:
15964 link_all_deplibs_GCJ=yes
15968 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15969 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15971 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15973 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15974 hardcode_direct_GCJ=yes
15975 hardcode_shlibpath_var_GCJ=no
15979 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15980 hardcode_direct_GCJ=yes
15981 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15982 hardcode_libdir_separator_GCJ=:
15983 hardcode_shlibpath_var_GCJ=no
15987 hardcode_direct_GCJ=yes
15988 hardcode_shlibpath_var_GCJ=no
15989 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15990 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15991 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
15992 export_dynamic_flag_spec_GCJ='${wl}-E'
15995 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15996 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15997 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16000 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16001 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16008 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16009 hardcode_minus_L_GCJ=yes
16010 allow_undefined_flag_GCJ=unsupported
16011 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'
16012 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16016 if test "$GCC" = yes; then
16017 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16018 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'
16020 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16021 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'
16023 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16024 hardcode_libdir_separator_GCJ=:
16027 osf4* | osf5*) # as osf3* with the addition of -msym flag
16028 if test "$GCC" = yes; then
16029 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16030 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'
16031 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16033 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16034 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'
16035 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~
16036 $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'
16038 # Both c and cxx compiler support -rpath directly
16039 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16041 hardcode_libdir_separator_GCJ=:
16045 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16046 hardcode_shlibpath_var_GCJ=no
16047 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16048 runpath_var=LD_RUN_PATH
16049 hardcode_runpath_var=yes
16053 no_undefined_flag_GCJ=' -z text'
16054 if test "$GCC" = yes; then
16055 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16056 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16057 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16059 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16060 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16061 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16063 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16064 hardcode_shlibpath_var_GCJ=no
16066 solaris2.[0-5] | solaris2.[0-5].*) ;;
16067 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16068 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16070 link_all_deplibs_GCJ=yes
16074 if test "x$host_vendor" = xsequent; then
16075 # Use $CC to link under sequent, because it throws in some extra .o
16076 # files that make .init and .fini sections work.
16077 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16079 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16081 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16082 hardcode_direct_GCJ=yes
16083 hardcode_minus_L_GCJ=yes
16084 hardcode_shlibpath_var_GCJ=no
16088 case $host_vendor in
16090 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16091 hardcode_direct_GCJ=yes # is this really true???
16094 ## LD is ld it makes a PLAMLIB
16095 ## CC just makes a GrossModule.
16096 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16097 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16098 hardcode_direct_GCJ=no
16101 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16102 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16105 runpath_var='LD_RUN_PATH'
16106 hardcode_shlibpath_var_GCJ=no
16110 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16111 hardcode_shlibpath_var_GCJ=no
16112 export_dynamic_flag_spec_GCJ='-Bexport'
16116 if test -d /usr/nec; then
16117 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16118 hardcode_shlibpath_var_GCJ=no
16119 runpath_var=LD_RUN_PATH
16120 hardcode_runpath_var=yes
16126 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16127 hardcode_direct_GCJ=yes
16128 hardcode_minus_L_GCJ=no
16129 hardcode_shlibpath_var_GCJ=no
16130 hardcode_runpath_var=yes
16131 runpath_var=LD_RUN_PATH
16134 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16135 no_undefined_flag_GCJ='${wl}-z ${wl}text'
16136 if test "$GCC" = yes; then
16137 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16139 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16141 runpath_var='LD_RUN_PATH'
16142 hardcode_shlibpath_var_GCJ=no
16146 no_undefined_flag_GCJ=' -z text'
16147 # $CC -shared without GNU ld will not create a library from C++
16148 # object files and a static libstdc++, better avoid it by now
16149 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16150 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16151 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16152 hardcode_libdir_flag_spec_GCJ=
16153 hardcode_shlibpath_var_GCJ=no
16154 runpath_var='LD_RUN_PATH'
16158 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16159 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16160 hardcode_shlibpath_var_GCJ=no
16169 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16170 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16171 test "$ld_shlibs_GCJ" = no && can_build_shared=no
16173 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16174 if test "$GCC" = yes; then
16175 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16179 # Do we need to explicitly link libc?
16181 case "x$archive_cmds_need_lc_GCJ" in
16183 # Assume -lc should be added
16184 archive_cmds_need_lc_GCJ=yes
16186 if test "$enable_shared" = yes && test "$GCC" = yes; then
16187 case $archive_cmds_GCJ in
16189 # FIXME: we may have to deal with multi-command sequences.
16192 # Test whether the compiler implicitly links with -lc since on some
16193 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16194 # to ld, don't add -lc before -lgcc.
16195 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16196 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16198 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16201 (eval $ac_compile) 2>&5
16203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16204 (exit $ac_status); } 2>conftest.err; then
16207 libobjs=conftest.$ac_objext
16209 wl=$lt_prog_compiler_wl_GCJ
16215 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16216 allow_undefined_flag_GCJ=
16217 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16218 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221 (exit $ac_status); }
16223 archive_cmds_need_lc_GCJ=no
16225 archive_cmds_need_lc_GCJ=yes
16227 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16229 cat conftest.err 1>&5
16232 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16233 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16240 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16241 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16242 hardcode_action_GCJ=
16243 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
16244 test -n "$runpath_var GCJ" || \
16245 test "X$hardcode_automatic_GCJ"="Xyes" ; then
16247 # We can hardcode non-existant directories.
16248 if test "$hardcode_direct_GCJ" != no &&
16249 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16250 # have to relink, otherwise we might link with an installed library
16251 # when we should be linking with a yet-to-be-installed one
16252 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
16253 test "$hardcode_minus_L_GCJ" != no; then
16254 # Linking always hardcodes the temporary library directory.
16255 hardcode_action_GCJ=relink
16257 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16258 hardcode_action_GCJ=immediate
16261 # We cannot hardcode anything, or else we can only hardcode existing
16263 hardcode_action_GCJ=unsupported
16265 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
16266 echo "${ECHO_T}$hardcode_action_GCJ" >&6
16268 if test "$hardcode_action_GCJ" = relink; then
16269 # Fast installation is not supported
16270 enable_fast_install=no
16271 elif test "$shlibpath_overrides_runpath" = yes ||
16272 test "$enable_shared" = no; then
16273 # Fast installation is not necessary
16274 enable_fast_install=needless
16279 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16280 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16281 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16282 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16283 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16284 echo "$as_me:$LINENO: result: yes" >&5
16285 echo "${ECHO_T}yes" >&6
16287 # FIXME - insert some real tests, host_os isn't really good enough
16290 if test -n "$STRIP" ; then
16291 striplib="$STRIP -x"
16292 echo "$as_me:$LINENO: result: yes" >&5
16293 echo "${ECHO_T}yes" >&6
16295 echo "$as_me:$LINENO: result: no" >&5
16296 echo "${ECHO_T}no" >&6
16300 echo "$as_me:$LINENO: result: no" >&5
16301 echo "${ECHO_T}no" >&6
16306 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16307 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16308 library_names_spec=
16309 libname_spec='lib$name'
16313 postuninstall_cmds=
16317 shlibpath_overrides_runpath=unknown
16319 dynamic_linker="$host_os ld.so"
16320 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16321 if test "$GCC" = yes; then
16322 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16323 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16324 # if the path contains ";" then we assume it to be the separator
16325 # otherwise default to the standard path separator (i.e. ":") - it is
16326 # assumed that no part of a normal pathname contains ";" but that should
16327 # okay in the real world where ";" in dirpaths is itself problematic.
16328 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16330 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16333 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16335 need_lib_prefix=unknown
16336 hardcode_into_libs=no
16338 # when you set need_version to no, make sure it does not cause -set_version
16339 # flags to be left without arguments
16340 need_version=unknown
16345 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16346 shlibpath_var=LIBPATH
16348 # AIX 3 has no versioning support, so we append a major version to the name.
16349 soname_spec='${libname}${release}${shared_ext}$major'
16356 hardcode_into_libs=yes
16357 if test "$host_cpu" = ia64; then
16358 # AIX 5 supports IA64
16359 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16360 shlibpath_var=LD_LIBRARY_PATH
16362 # With GCC up to 2.95.x, collect2 would create an import file
16363 # for dependence libraries. The import file would start with
16364 # the line `#! .'. This would cause the generated library to
16365 # depend on `.', always an invalid library. This was fixed in
16366 # development snapshots of GCC prior to 3.0.
16368 aix4 | aix4.[01] | aix4.[01].*)
16369 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16371 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16374 can_build_shared=no
16378 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16379 # soname into executable. Probably we can add versioning support to
16380 # collect2, so additional links can be useful in future.
16381 if test "$aix_use_runtimelinking" = yes; then
16382 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16383 # instead of lib<name>.a to let people know that these are not
16384 # typical AIX shared libraries.
16385 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16387 # We preserve .a as extension for shared libraries through AIX4.2
16388 # and later when we are not doing run time linking.
16389 library_names_spec='${libname}${release}.a $libname.a'
16390 soname_spec='${libname}${release}${shared_ext}$major'
16392 shlibpath_var=LIBPATH
16397 library_names_spec='$libname.ixlibrary $libname.a'
16398 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16399 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'
16403 library_names_spec='${libname}${shared_ext}'
16404 dynamic_linker="$host_os ld.so"
16405 shlibpath_var=LIBRARY_PATH
16411 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16412 soname_spec='${libname}${release}${shared_ext}$major'
16413 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16414 shlibpath_var=LD_LIBRARY_PATH
16415 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16416 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16417 # the default ld.so.conf also contains /usr/contrib/lib and
16418 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16419 # libtool to hard-code these into programs
16422 cygwin* | mingw* | pw32*)
16423 version_type=windows
16428 case $GCC,$host_os in
16429 yes,cygwin* | yes,mingw* | yes,pw32*)
16430 library_names_spec='$libname.dll.a'
16431 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16432 postinstall_cmds='base_file=`basename \${file}`~
16433 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16434 dldir=$destdir/`dirname \$dlpath`~
16435 test -d \$dldir || mkdir -p \$dldir~
16436 $install_prog $dir/$dlname \$dldir/$dlname'
16437 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16438 dlpath=$dir/\$dldll~
16440 shlibpath_overrides_runpath=yes
16444 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16445 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16446 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
16449 # MinGW DLLs use traditional 'lib' prefix
16450 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16451 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16452 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16453 # It is most probably a Windows format PATH printed by
16454 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16455 # path with ; separators, and with drive letters. We can handle the
16456 # drive letters (cygwin fileutils understands them), so leave them,
16457 # especially as we might pass files found there to a mingw objdump,
16458 # which wouldn't understand a cygwinified path. Ahh.
16459 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16461 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16465 # pw32 DLLs use 'pw' prefix rather than 'lib'
16466 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16472 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16475 dynamic_linker='Win32 ld.exe'
16476 # FIXME: first we should search . and the directory the executable is in
16480 darwin* | rhapsody*)
16481 dynamic_linker="$host_os dyld"
16482 version_type=darwin
16485 # FIXME: Relying on posixy $() will cause problems for
16486 # cross-compilation, but unfortunately the echo tests do not
16487 # yet detect zsh echo's removal of \ escapes.
16488 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16489 soname_spec='${libname}${release}${major}$shared_ext'
16490 shlibpath_overrides_runpath=yes
16491 shlibpath_var=DYLD_LIBRARY_PATH
16492 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
16493 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16494 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
16495 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"`
16497 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16504 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16505 soname_spec='${libname}${release}${shared_ext}$major'
16506 shlibpath_var=LD_LIBRARY_PATH
16514 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16515 version_type=freebsd-$objformat
16516 case $version_type in
16518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16523 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16527 shlibpath_var=LD_LIBRARY_PATH
16530 shlibpath_overrides_runpath=yes
16532 freebsd3.01* | freebsdelf3.01*)
16533 shlibpath_overrides_runpath=yes
16534 hardcode_into_libs=yes
16537 shlibpath_overrides_runpath=no
16538 hardcode_into_libs=yes
16547 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16548 soname_spec='${libname}${release}${shared_ext}$major'
16549 shlibpath_var=LD_LIBRARY_PATH
16550 hardcode_into_libs=yes
16553 hpux9* | hpux10* | hpux11*)
16554 # Give a soname corresponding to the major version so that dld.sl refuses to
16555 # link against other versions.
16559 case "$host_cpu" in
16562 hardcode_into_libs=yes
16563 dynamic_linker="$host_os dld.so"
16564 shlibpath_var=LD_LIBRARY_PATH
16565 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16567 soname_spec='${libname}${release}${shared_ext}$major'
16568 if test "X$HPUX_IA64_MODE" = X32; then
16569 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16571 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16573 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16577 hardcode_into_libs=yes
16578 dynamic_linker="$host_os dld.sl"
16579 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16580 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16581 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16582 soname_spec='${libname}${release}${shared_ext}$major'
16583 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16584 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16588 dynamic_linker="$host_os dld.sl"
16589 shlibpath_var=SHLIB_PATH
16590 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16591 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16592 soname_spec='${libname}${release}${shared_ext}$major'
16595 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16596 postinstall_cmds='chmod 555 $lib'
16599 irix5* | irix6* | nonstopux*)
16601 nonstopux*) version_type=nonstopux ;;
16603 if test "$lt_cv_prog_gnu_ld" = yes; then
16611 soname_spec='${libname}${release}${shared_ext}$major'
16612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16614 irix5* | nonstopux*)
16615 libsuff= shlibsuff=
16618 case $LD in # libtool.m4 will add one of these switches to LD
16619 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16620 libsuff= shlibsuff= libmagic=32-bit;;
16621 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16622 libsuff=32 shlibsuff=N32 libmagic=N32;;
16623 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16624 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16625 *) libsuff= shlibsuff= libmagic=never-match;;
16629 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16630 shlibpath_overrides_runpath=no
16631 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16632 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16633 hardcode_into_libs=yes
16636 # No shared lib support for Linux oldld, aout, or coff.
16637 linux*oldld* | linux*aout* | linux*coff*)
16641 # This must be Linux ELF.
16646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16647 soname_spec='${libname}${release}${shared_ext}$major'
16648 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16649 shlibpath_var=LD_LIBRARY_PATH
16650 shlibpath_overrides_runpath=no
16651 # This implies no fast_install, which is unacceptable.
16652 # Some rework will be needed to allow for fast_install
16653 # before this can be enabled.
16654 hardcode_into_libs=yes
16656 # We used to test for /lib/ld.so.1 and disable shared libraries on
16657 # powerpc, because MkLinux only supported shared libraries with the
16658 # GNU dynamic linker. Since this was broken with cross compilers,
16659 # most powerpc-linux boxes support dynamic linking these days and
16660 # people can always --disable-shared, the test was removed, and we
16661 # assume the GNU/Linux dynamic linker is in use.
16662 dynamic_linker='GNU/Linux ld.so'
16669 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16670 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16671 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16672 dynamic_linker='NetBSD (a.out) ld.so'
16674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16675 soname_spec='${libname}${release}${shared_ext}$major'
16676 dynamic_linker='NetBSD ld.elf_so'
16678 shlibpath_var=LD_LIBRARY_PATH
16679 shlibpath_overrides_runpath=yes
16680 hardcode_into_libs=yes
16685 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16686 shlibpath_var=LD_LIBRARY_PATH
16687 shlibpath_overrides_runpath=yes
16694 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16695 soname_spec='${libname}${release}${shared_ext}$major'
16696 shlibpath_var=LD_LIBRARY_PATH
16697 shlibpath_overrides_runpath=yes
16704 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16705 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16706 shlibpath_var=LD_LIBRARY_PATH
16707 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16709 openbsd2.[89] | openbsd2.[89].*)
16710 shlibpath_overrides_runpath=no
16713 shlibpath_overrides_runpath=yes
16717 shlibpath_overrides_runpath=yes
16722 libname_spec='$name'
16725 library_names_spec='$libname${shared_ext} $libname.a'
16726 dynamic_linker='OS/2 ld.exe'
16727 shlibpath_var=LIBPATH
16730 osf3* | osf4* | osf5*)
16734 soname_spec='${libname}${release}${shared_ext}$major'
16735 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16736 shlibpath_var=LD_LIBRARY_PATH
16737 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16738 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16743 soname_spec='${libname}${release}${shared_ext}$major'
16744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16745 shlibpath_var=LD_LIBRARY_PATH
16752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16753 soname_spec='${libname}${release}${shared_ext}$major'
16754 shlibpath_var=LD_LIBRARY_PATH
16755 shlibpath_overrides_runpath=yes
16756 hardcode_into_libs=yes
16757 # ldd complains unless libraries are executable
16758 postinstall_cmds='chmod +x $lib'
16763 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16764 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16765 shlibpath_var=LD_LIBRARY_PATH
16766 shlibpath_overrides_runpath=yes
16767 if test "$with_gnu_ld" = yes; then
16773 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16775 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16776 soname_spec='${libname}${release}${shared_ext}$major'
16777 shlibpath_var=LD_LIBRARY_PATH
16778 case $host_vendor in
16780 shlibpath_overrides_runpath=no
16782 export_dynamic_flag_spec='${wl}-Blargedynsym'
16783 runpath_var=LD_RUN_PATH
16791 shlibpath_overrides_runpath=no
16792 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16798 if test -d /usr/nec ;then
16800 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16801 soname_spec='$libname${shared_ext}.$major'
16802 shlibpath_var=LD_LIBRARY_PATH
16808 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16809 soname_spec='${libname}${release}${shared_ext}$major'
16810 shlibpath_var=LD_LIBRARY_PATH
16817 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16818 echo "${ECHO_T}$dynamic_linker" >&6
16819 test "$dynamic_linker" = no && can_build_shared=no
16821 if test "x$enable_dlopen" != xyes; then
16822 enable_dlopen=unknown
16823 enable_dlopen_self=unknown
16824 enable_dlopen_self_static=unknown
16831 lt_cv_dlopen="load_add_on"
16833 lt_cv_dlopen_self=yes
16837 lt_cv_dlopen="LoadLibrary"
16842 lt_cv_dlopen="dlopen"
16847 # if libdl is installed we need to link against it
16848 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16849 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16850 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16851 echo $ECHO_N "(cached) $ECHO_C" >&6
16853 ac_check_lib_save_LIBS=$LIBS
16855 cat >conftest.$ac_ext <<_ACEOF
16856 #line $LINENO "configure"
16859 cat confdefs.h >>conftest.$ac_ext
16860 cat >>conftest.$ac_ext <<_ACEOF
16861 /* end confdefs.h. */
16863 /* Override any gcc2 internal prototype to avoid an error. */
16867 /* We use char because int might match the return type of a gcc2
16868 builtin and then its argument prototype would still apply. */
16878 rm -f conftest.$ac_objext conftest$ac_exeext
16879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16880 (eval $ac_link) 2>&5
16882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16883 (exit $ac_status); } &&
16884 { ac_try='test -s conftest$ac_exeext'
16885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16886 (eval $ac_try) 2>&5
16888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16889 (exit $ac_status); }; }; then
16890 ac_cv_lib_dl_dlopen=yes
16892 echo "$as_me: failed program was:" >&5
16893 sed 's/^/| /' conftest.$ac_ext >&5
16895 ac_cv_lib_dl_dlopen=no
16897 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16898 LIBS=$ac_check_lib_save_LIBS
16900 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16901 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16902 if test $ac_cv_lib_dl_dlopen = yes; then
16903 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16906 lt_cv_dlopen="dyld"
16908 lt_cv_dlopen_self=yes
16915 echo "$as_me:$LINENO: checking for shl_load" >&5
16916 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
16917 if test "${ac_cv_func_shl_load+set}" = set; then
16918 echo $ECHO_N "(cached) $ECHO_C" >&6
16920 cat >conftest.$ac_ext <<_ACEOF
16921 #line $LINENO "configure"
16924 cat confdefs.h >>conftest.$ac_ext
16925 cat >>conftest.$ac_ext <<_ACEOF
16926 /* end confdefs.h. */
16927 /* System header to define __stub macros and hopefully few prototypes,
16928 which can conflict with char shl_load (); below.
16929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16930 <limits.h> exists even on freestanding compilers. */
16932 # include <limits.h>
16934 # include <assert.h>
16936 /* Override any gcc2 internal prototype to avoid an error. */
16941 /* We use char because int might match the return type of a gcc2
16942 builtin and then its argument prototype would still apply. */
16944 /* The GNU C library defines this for functions which it implements
16945 to always fail with ENOSYS. Some functions are actually named
16946 something starting with __ and the normal name is an alias. */
16947 #if defined (__stub_shl_load) || defined (__stub___shl_load)
16950 char (*f) () = shl_load;
16959 return f != shl_load;
16964 rm -f conftest.$ac_objext conftest$ac_exeext
16965 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16966 (eval $ac_link) 2>&5
16968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16969 (exit $ac_status); } &&
16970 { ac_try='test -s conftest$ac_exeext'
16971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16972 (eval $ac_try) 2>&5
16974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16975 (exit $ac_status); }; }; then
16976 ac_cv_func_shl_load=yes
16978 echo "$as_me: failed program was:" >&5
16979 sed 's/^/| /' conftest.$ac_ext >&5
16981 ac_cv_func_shl_load=no
16983 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16985 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
16986 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
16987 if test $ac_cv_func_shl_load = yes; then
16988 lt_cv_dlopen="shl_load"
16990 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
16991 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
16992 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
16993 echo $ECHO_N "(cached) $ECHO_C" >&6
16995 ac_check_lib_save_LIBS=$LIBS
16997 cat >conftest.$ac_ext <<_ACEOF
16998 #line $LINENO "configure"
17001 cat confdefs.h >>conftest.$ac_ext
17002 cat >>conftest.$ac_ext <<_ACEOF
17003 /* end confdefs.h. */
17005 /* Override any gcc2 internal prototype to avoid an error. */
17009 /* We use char because int might match the return type of a gcc2
17010 builtin and then its argument prototype would still apply. */
17020 rm -f conftest.$ac_objext conftest$ac_exeext
17021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17022 (eval $ac_link) 2>&5
17024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17025 (exit $ac_status); } &&
17026 { ac_try='test -s conftest$ac_exeext'
17027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17028 (eval $ac_try) 2>&5
17030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17031 (exit $ac_status); }; }; then
17032 ac_cv_lib_dld_shl_load=yes
17034 echo "$as_me: failed program was:" >&5
17035 sed 's/^/| /' conftest.$ac_ext >&5
17037 ac_cv_lib_dld_shl_load=no
17039 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17040 LIBS=$ac_check_lib_save_LIBS
17042 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17043 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17044 if test $ac_cv_lib_dld_shl_load = yes; then
17045 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17047 echo "$as_me:$LINENO: checking for dlopen" >&5
17048 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17049 if test "${ac_cv_func_dlopen+set}" = set; then
17050 echo $ECHO_N "(cached) $ECHO_C" >&6
17052 cat >conftest.$ac_ext <<_ACEOF
17053 #line $LINENO "configure"
17056 cat confdefs.h >>conftest.$ac_ext
17057 cat >>conftest.$ac_ext <<_ACEOF
17058 /* end confdefs.h. */
17059 /* System header to define __stub macros and hopefully few prototypes,
17060 which can conflict with char dlopen (); below.
17061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17062 <limits.h> exists even on freestanding compilers. */
17064 # include <limits.h>
17066 # include <assert.h>
17068 /* Override any gcc2 internal prototype to avoid an error. */
17073 /* We use char because int might match the return type of a gcc2
17074 builtin and then its argument prototype would still apply. */
17076 /* The GNU C library defines this for functions which it implements
17077 to always fail with ENOSYS. Some functions are actually named
17078 something starting with __ and the normal name is an alias. */
17079 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17082 char (*f) () = dlopen;
17091 return f != dlopen;
17096 rm -f conftest.$ac_objext conftest$ac_exeext
17097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17098 (eval $ac_link) 2>&5
17100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17101 (exit $ac_status); } &&
17102 { ac_try='test -s conftest$ac_exeext'
17103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17104 (eval $ac_try) 2>&5
17106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17107 (exit $ac_status); }; }; then
17108 ac_cv_func_dlopen=yes
17110 echo "$as_me: failed program was:" >&5
17111 sed 's/^/| /' conftest.$ac_ext >&5
17113 ac_cv_func_dlopen=no
17115 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17117 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17118 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17119 if test $ac_cv_func_dlopen = yes; then
17120 lt_cv_dlopen="dlopen"
17122 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17123 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17124 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17125 echo $ECHO_N "(cached) $ECHO_C" >&6
17127 ac_check_lib_save_LIBS=$LIBS
17129 cat >conftest.$ac_ext <<_ACEOF
17130 #line $LINENO "configure"
17133 cat confdefs.h >>conftest.$ac_ext
17134 cat >>conftest.$ac_ext <<_ACEOF
17135 /* end confdefs.h. */
17137 /* Override any gcc2 internal prototype to avoid an error. */
17141 /* We use char because int might match the return type of a gcc2
17142 builtin and then its argument prototype would still apply. */
17152 rm -f conftest.$ac_objext conftest$ac_exeext
17153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17154 (eval $ac_link) 2>&5
17156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17157 (exit $ac_status); } &&
17158 { ac_try='test -s conftest$ac_exeext'
17159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17160 (eval $ac_try) 2>&5
17162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17163 (exit $ac_status); }; }; then
17164 ac_cv_lib_dl_dlopen=yes
17166 echo "$as_me: failed program was:" >&5
17167 sed 's/^/| /' conftest.$ac_ext >&5
17169 ac_cv_lib_dl_dlopen=no
17171 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17172 LIBS=$ac_check_lib_save_LIBS
17174 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17175 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17176 if test $ac_cv_lib_dl_dlopen = yes; then
17177 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17179 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17180 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17181 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17182 echo $ECHO_N "(cached) $ECHO_C" >&6
17184 ac_check_lib_save_LIBS=$LIBS
17185 LIBS="-lsvld $LIBS"
17186 cat >conftest.$ac_ext <<_ACEOF
17187 #line $LINENO "configure"
17190 cat confdefs.h >>conftest.$ac_ext
17191 cat >>conftest.$ac_ext <<_ACEOF
17192 /* end confdefs.h. */
17194 /* Override any gcc2 internal prototype to avoid an error. */
17198 /* We use char because int might match the return type of a gcc2
17199 builtin and then its argument prototype would still apply. */
17209 rm -f conftest.$ac_objext conftest$ac_exeext
17210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17211 (eval $ac_link) 2>&5
17213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17214 (exit $ac_status); } &&
17215 { ac_try='test -s conftest$ac_exeext'
17216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17217 (eval $ac_try) 2>&5
17219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17220 (exit $ac_status); }; }; then
17221 ac_cv_lib_svld_dlopen=yes
17223 echo "$as_me: failed program was:" >&5
17224 sed 's/^/| /' conftest.$ac_ext >&5
17226 ac_cv_lib_svld_dlopen=no
17228 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17229 LIBS=$ac_check_lib_save_LIBS
17231 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17232 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17233 if test $ac_cv_lib_svld_dlopen = yes; then
17234 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17236 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17237 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17238 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17239 echo $ECHO_N "(cached) $ECHO_C" >&6
17241 ac_check_lib_save_LIBS=$LIBS
17243 cat >conftest.$ac_ext <<_ACEOF
17244 #line $LINENO "configure"
17247 cat confdefs.h >>conftest.$ac_ext
17248 cat >>conftest.$ac_ext <<_ACEOF
17249 /* end confdefs.h. */
17251 /* Override any gcc2 internal prototype to avoid an error. */
17255 /* We use char because int might match the return type of a gcc2
17256 builtin and then its argument prototype would still apply. */
17266 rm -f conftest.$ac_objext conftest$ac_exeext
17267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17268 (eval $ac_link) 2>&5
17270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17271 (exit $ac_status); } &&
17272 { ac_try='test -s conftest$ac_exeext'
17273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17274 (eval $ac_try) 2>&5
17276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17277 (exit $ac_status); }; }; then
17278 ac_cv_lib_dld_dld_link=yes
17280 echo "$as_me: failed program was:" >&5
17281 sed 's/^/| /' conftest.$ac_ext >&5
17283 ac_cv_lib_dld_dld_link=no
17285 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17286 LIBS=$ac_check_lib_save_LIBS
17288 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17289 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17290 if test $ac_cv_lib_dld_dld_link = yes; then
17291 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17312 if test "x$lt_cv_dlopen" != xno; then
17318 case $lt_cv_dlopen in
17320 save_CPPFLAGS="$CPPFLAGS"
17321 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17323 save_LDFLAGS="$LDFLAGS"
17324 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17327 LIBS="$lt_cv_dlopen_libs $LIBS"
17329 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17330 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17331 if test "${lt_cv_dlopen_self+set}" = set; then
17332 echo $ECHO_N "(cached) $ECHO_C" >&6
17334 if test "$cross_compiling" = yes; then :
17335 lt_cv_dlopen_self=cross
17337 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17338 lt_status=$lt_dlunknown
17339 cat > conftest.$ac_ext <<EOF
17340 #line 17340 "configure"
17341 #include "confdefs.h"
17350 # define LT_DLGLOBAL RTLD_GLOBAL
17353 # define LT_DLGLOBAL DL_GLOBAL
17355 # define LT_DLGLOBAL 0
17359 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17360 find out it does not work in some platform. */
17361 #ifndef LT_DLLAZY_OR_NOW
17363 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17366 # define LT_DLLAZY_OR_NOW DL_LAZY
17369 # define LT_DLLAZY_OR_NOW RTLD_NOW
17372 # define LT_DLLAZY_OR_NOW DL_NOW
17374 # define LT_DLLAZY_OR_NOW 0
17382 extern "C" void exit (int);
17385 void fnord() { int i=42;}
17388 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17389 int status = $lt_dlunknown;
17393 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17394 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17395 /* dlclose (self); */
17401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17402 (eval $ac_link) 2>&5
17404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17405 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17406 (./conftest; exit; ) 2>/dev/null
17408 case x$lt_status in
17409 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17410 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17411 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
17414 # compilation failed
17415 lt_cv_dlopen_self=no
17422 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17423 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17425 if test "x$lt_cv_dlopen_self" = xyes; then
17426 LDFLAGS="$LDFLAGS $link_static_flag"
17427 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17428 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17429 if test "${lt_cv_dlopen_self_static+set}" = set; then
17430 echo $ECHO_N "(cached) $ECHO_C" >&6
17432 if test "$cross_compiling" = yes; then :
17433 lt_cv_dlopen_self_static=cross
17435 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17436 lt_status=$lt_dlunknown
17437 cat > conftest.$ac_ext <<EOF
17438 #line 17438 "configure"
17439 #include "confdefs.h"
17448 # define LT_DLGLOBAL RTLD_GLOBAL
17451 # define LT_DLGLOBAL DL_GLOBAL
17453 # define LT_DLGLOBAL 0
17457 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17458 find out it does not work in some platform. */
17459 #ifndef LT_DLLAZY_OR_NOW
17461 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17464 # define LT_DLLAZY_OR_NOW DL_LAZY
17467 # define LT_DLLAZY_OR_NOW RTLD_NOW
17470 # define LT_DLLAZY_OR_NOW DL_NOW
17472 # define LT_DLLAZY_OR_NOW 0
17480 extern "C" void exit (int);
17483 void fnord() { int i=42;}
17486 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17487 int status = $lt_dlunknown;
17491 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17492 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17493 /* dlclose (self); */
17499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17500 (eval $ac_link) 2>&5
17502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17503 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17504 (./conftest; exit; ) 2>/dev/null
17506 case x$lt_status in
17507 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17508 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17509 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
17512 # compilation failed
17513 lt_cv_dlopen_self_static=no
17520 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17521 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17524 CPPFLAGS="$save_CPPFLAGS"
17525 LDFLAGS="$save_LDFLAGS"
17530 case $lt_cv_dlopen_self in
17531 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17532 *) enable_dlopen_self=unknown ;;
17535 case $lt_cv_dlopen_self_static in
17536 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17537 *) enable_dlopen_self_static=unknown ;;
17542 # The else clause should only fire when bootstrapping the
17543 # libtool distribution, otherwise you forgot to ship ltmain.sh
17544 # with your package, and you will get complaints that there are
17545 # no rules to generate ltmain.sh.
17546 if test -f "$ltmain"; then
17547 # See if we are running on zsh, and set the options which allow our commands through
17548 # without removal of \ escapes.
17549 if test -n "${ZSH_VERSION+set}" ; then
17550 setopt NO_GLOB_SUBST
17552 # Now quote all the things that may contain metacharacters while being
17553 # careful not to overquote the AC_SUBSTed values. We take copies of the
17554 # variables and quote the copies for generation of the libtool script.
17555 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17556 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17557 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17558 deplibs_check_method reload_flag reload_cmds need_locks \
17559 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17560 lt_cv_sys_global_symbol_to_c_name_address \
17561 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17562 old_postinstall_cmds old_postuninstall_cmds \
17566 lt_prog_compiler_wl_GCJ \
17567 lt_prog_compiler_pic_GCJ \
17568 lt_prog_compiler_static_GCJ \
17569 lt_prog_compiler_no_builtin_flag_GCJ \
17570 export_dynamic_flag_spec_GCJ \
17571 thread_safe_flag_spec_GCJ \
17572 whole_archive_flag_spec_GCJ \
17573 enable_shared_with_static_runtimes_GCJ \
17574 old_archive_cmds_GCJ \
17575 old_archive_from_new_cmds_GCJ \
17576 predep_objects_GCJ \
17577 postdep_objects_GCJ \
17580 compiler_lib_search_path_GCJ \
17582 archive_expsym_cmds_GCJ \
17583 postinstall_cmds_GCJ \
17584 postuninstall_cmds_GCJ \
17585 old_archive_from_expsyms_cmds_GCJ \
17586 allow_undefined_flag_GCJ \
17587 no_undefined_flag_GCJ \
17588 export_symbols_cmds_GCJ \
17589 hardcode_libdir_flag_spec_GCJ \
17590 hardcode_libdir_flag_spec_ld_GCJ \
17591 hardcode_libdir_separator_GCJ \
17592 hardcode_automatic_GCJ \
17594 module_expsym_cmds_GCJ \
17595 lt_cv_prog_compiler_c_o_GCJ \
17596 exclude_expsyms_GCJ \
17597 include_expsyms_GCJ; do
17600 old_archive_cmds_GCJ | \
17601 old_archive_from_new_cmds_GCJ | \
17602 archive_cmds_GCJ | \
17603 archive_expsym_cmds_GCJ | \
17604 module_cmds_GCJ | \
17605 module_expsym_cmds_GCJ | \
17606 old_archive_from_expsyms_cmds_GCJ | \
17607 export_symbols_cmds_GCJ | \
17608 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17609 postinstall_cmds | postuninstall_cmds | \
17610 old_postinstall_cmds | old_postuninstall_cmds | \
17611 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17612 # Double-quote double-evaled strings.
17613 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17616 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17622 *'\$0 --fallback-echo"')
17623 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17629 cat <<__EOF__ >> "$cfgfile"
17630 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17632 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17634 # Shell to use when invoking shell scripts.
17637 # Whether or not to build shared libraries.
17638 build_libtool_libs=$enable_shared
17640 # Whether or not to build static libraries.
17641 build_old_libs=$enable_static
17643 # Whether or not to add -lc for building shared libraries.
17644 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17646 # Whether or not to disallow shared libs when runtime libs are static
17647 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17649 # Whether or not to optimize for fast installation.
17650 fast_install=$enable_fast_install
17653 host_alias=$host_alias
17656 # An echo program that does not interpret backslashes.
17661 AR_FLAGS=$lt_AR_FLAGS
17666 # A language-specific compiler.
17667 CC=$lt_compiler_GCJ
17669 # Is the compiler the GNU C compiler?
17675 # The linker used to build libraries.
17678 # Whether we need hard or soft links.
17681 # A BSD-compatible nm program.
17684 # A symbol stripping program
17687 # Used to examine libraries when file_magic_cmd begins "file"
17688 MAGIC_CMD=$MAGIC_CMD
17690 # Used on cygwin: DLL creation program.
17693 # Used on cygwin: object dumper.
17696 # Used on cygwin: assembler.
17699 # The name of the directory that contains temporary libtool files.
17702 # How to create reloadable object files.
17703 reload_flag=$lt_reload_flag
17704 reload_cmds=$lt_reload_cmds
17706 # How to pass a linker flag through the compiler.
17707 wl=$lt_lt_prog_compiler_wl_GCJ
17709 # Object file suffix (normally "o").
17710 objext="$ac_objext"
17712 # Old archive suffix (normally "a").
17715 # Shared library suffix (normally ".so").
17718 # Executable file suffix (normally "").
17721 # Additional compiler flags for building library objects.
17722 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17725 # What is the maximum length of a command?
17726 max_cmd_len=$lt_cv_sys_max_cmd_len
17728 # Does compiler simultaneously support -c and -o options?
17729 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17731 # Must we lock files when doing compilation ?
17732 need_locks=$lt_need_locks
17734 # Do we need the lib prefix for modules?
17735 need_lib_prefix=$need_lib_prefix
17737 # Do we need a version for libraries?
17738 need_version=$need_version
17740 # Whether dlopen is supported.
17741 dlopen_support=$enable_dlopen
17743 # Whether dlopen of programs is supported.
17744 dlopen_self=$enable_dlopen_self
17746 # Whether dlopen of statically linked programs is supported.
17747 dlopen_self_static=$enable_dlopen_self_static
17749 # Compiler flag to prevent dynamic linking.
17750 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17752 # Compiler flag to turn off builtin functions.
17753 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17755 # Compiler flag to allow reflexive dlopens.
17756 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17758 # Compiler flag to generate shared objects directly from archives.
17759 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17761 # Compiler flag to generate thread-safe objects.
17762 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17764 # Library versioning type.
17765 version_type=$version_type
17767 # Format of library name prefix.
17768 libname_spec=$lt_libname_spec
17770 # List of archive names. First name is the real one, the rest are links.
17771 # The last name is the one that the linker finds with -lNAME.
17772 library_names_spec=$lt_library_names_spec
17774 # The coded name of the library, if different from the real name.
17775 soname_spec=$lt_soname_spec
17777 # Commands used to build and install an old-style archive.
17779 old_archive_cmds=$lt_old_archive_cmds_GCJ
17780 old_postinstall_cmds=$lt_old_postinstall_cmds
17781 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17783 # Create an old-style archive from a shared archive.
17784 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17786 # Create a temporary old-style archive to link instead of a shared archive.
17787 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17789 # Commands used to build and install a shared archive.
17790 archive_cmds=$lt_archive_cmds_GCJ
17791 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17792 postinstall_cmds=$lt_postinstall_cmds
17793 postuninstall_cmds=$lt_postuninstall_cmds
17795 # Commands used to build a loadable module (assumed same as above if empty)
17796 module_cmds=$lt_module_cmds_GCJ
17797 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17799 # Commands to strip libraries.
17800 old_striplib=$lt_old_striplib
17801 striplib=$lt_striplib
17803 # Dependencies to place before the objects being linked to create a
17805 predep_objects=$lt_predep_objects_GCJ
17807 # Dependencies to place after the objects being linked to create a
17809 postdep_objects=$lt_postdep_objects_GCJ
17811 # Dependencies to place before the objects being linked to create a
17813 predeps=$lt_predeps_GCJ
17815 # Dependencies to place after the objects being linked to create a
17817 postdeps=$lt_postdeps_GCJ
17819 # The library search path used internally by the compiler when linking
17820 # a shared library.
17821 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17823 # Method to check whether dependent libraries are shared objects.
17824 deplibs_check_method=$lt_deplibs_check_method
17826 # Command to use when deplibs_check_method == file_magic.
17827 file_magic_cmd=$lt_file_magic_cmd
17829 # Flag that allows shared libraries with undefined symbols to be built.
17830 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17832 # Flag that forces no undefined symbols.
17833 no_undefined_flag=$lt_no_undefined_flag_GCJ
17835 # Commands used to finish a libtool library installation in a directory.
17836 finish_cmds=$lt_finish_cmds
17838 # Same as above, but a single script fragment to be evaled but not shown.
17839 finish_eval=$lt_finish_eval
17841 # Take the output of nm and produce a listing of raw symbols and C names.
17842 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17844 # Transform the output of nm in a proper C declaration
17845 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17847 # Transform the output of nm in a C name address pair
17848 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17850 # This is the shared library runtime path variable.
17851 runpath_var=$runpath_var
17853 # This is the shared library path variable.
17854 shlibpath_var=$shlibpath_var
17856 # Is shlibpath searched before the hard-coded library search path?
17857 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17859 # How to hardcode a shared library path into an executable.
17860 hardcode_action=$hardcode_action_GCJ
17862 # Whether we should hardcode library paths into libraries.
17863 hardcode_into_libs=$hardcode_into_libs
17865 # Flag to hardcode \$libdir into a binary during linking.
17866 # This must work even if \$libdir does not exist.
17867 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17869 # If ld is used when linking, flag to hardcode \$libdir into
17870 # a binary during linking. This must work even if \$libdir does
17872 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17874 # Whether we need a single -rpath flag with a separated argument.
17875 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17877 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17878 # resulting binary.
17879 hardcode_direct=$hardcode_direct_GCJ
17881 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17882 # resulting binary.
17883 hardcode_minus_L=$hardcode_minus_L_GCJ
17885 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17886 # the resulting binary.
17887 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17889 # Set to yes if building a shared library automatically hardcodes DIR into the library
17890 # and all subsequent libraries and executables linked against it.
17891 hardcode_automatic=$hardcode_automatic_GCJ
17893 # Variables whose values should be saved in libtool wrapper scripts and
17894 # restored at relink time.
17895 variables_saved_for_relink="$variables_saved_for_relink"
17897 # Whether libtool must link a program against all its dependency libraries.
17898 link_all_deplibs=$link_all_deplibs_GCJ
17900 # Compile-time system search path for libraries
17901 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17903 # Run-time system search path for libraries
17904 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17906 # Fix the shell variable \$srcfile for the compiler.
17907 fix_srcfile_path="$fix_srcfile_path_GCJ"
17909 # Set to yes if exported symbols are required.
17910 always_export_symbols=$always_export_symbols_GCJ
17912 # The commands to list exported symbols.
17913 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17915 # The commands to extract the exported symbol list from a shared archive.
17916 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17918 # Symbols that should not be listed in the preloaded symbols.
17919 exclude_expsyms=$lt_exclude_expsyms_GCJ
17921 # Symbols that must always be exported.
17922 include_expsyms=$lt_include_expsyms_GCJ
17924 # ### END LIBTOOL TAG CONFIG: $tagname
17930 # If there is no Makefile yet, we rely on a make rule to execute
17931 # `config.status --recheck' to rerun these tests and create the
17932 # libtool script then.
17933 test -f Makefile && make "$ltmain"
17938 ac_cpp='$CPP $CPPFLAGS'
17939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17954 # Source file extension for RC test sources.
17957 # Object file extension for compiled RC test sources.
17961 # Code to be used in simple compile tests
17962 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
17964 # Code to be used in simple link tests
17965 lt_simple_link_test_code="$lt_simple_compile_test_code"
17967 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17969 # If no C compiler was specified, use CC.
17972 # Allow CC to be a program name with arguments.
17976 # Allow CC to be a program name with arguments.
17981 lt_cv_prog_compiler_c_o_RC=yes
17983 # The else clause should only fire when bootstrapping the
17984 # libtool distribution, otherwise you forgot to ship ltmain.sh
17985 # with your package, and you will get complaints that there are
17986 # no rules to generate ltmain.sh.
17987 if test -f "$ltmain"; then
17988 # See if we are running on zsh, and set the options which allow our commands through
17989 # without removal of \ escapes.
17990 if test -n "${ZSH_VERSION+set}" ; then
17991 setopt NO_GLOB_SUBST
17993 # Now quote all the things that may contain metacharacters while being
17994 # careful not to overquote the AC_SUBSTed values. We take copies of the
17995 # variables and quote the copies for generation of the libtool script.
17996 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17997 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17998 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17999 deplibs_check_method reload_flag reload_cmds need_locks \
18000 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18001 lt_cv_sys_global_symbol_to_c_name_address \
18002 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18003 old_postinstall_cmds old_postuninstall_cmds \
18007 lt_prog_compiler_wl_RC \
18008 lt_prog_compiler_pic_RC \
18009 lt_prog_compiler_static_RC \
18010 lt_prog_compiler_no_builtin_flag_RC \
18011 export_dynamic_flag_spec_RC \
18012 thread_safe_flag_spec_RC \
18013 whole_archive_flag_spec_RC \
18014 enable_shared_with_static_runtimes_RC \
18015 old_archive_cmds_RC \
18016 old_archive_from_new_cmds_RC \
18017 predep_objects_RC \
18018 postdep_objects_RC \
18021 compiler_lib_search_path_RC \
18023 archive_expsym_cmds_RC \
18024 postinstall_cmds_RC \
18025 postuninstall_cmds_RC \
18026 old_archive_from_expsyms_cmds_RC \
18027 allow_undefined_flag_RC \
18028 no_undefined_flag_RC \
18029 export_symbols_cmds_RC \
18030 hardcode_libdir_flag_spec_RC \
18031 hardcode_libdir_flag_spec_ld_RC \
18032 hardcode_libdir_separator_RC \
18033 hardcode_automatic_RC \
18035 module_expsym_cmds_RC \
18036 lt_cv_prog_compiler_c_o_RC \
18037 exclude_expsyms_RC \
18038 include_expsyms_RC; do
18041 old_archive_cmds_RC | \
18042 old_archive_from_new_cmds_RC | \
18043 archive_cmds_RC | \
18044 archive_expsym_cmds_RC | \
18046 module_expsym_cmds_RC | \
18047 old_archive_from_expsyms_cmds_RC | \
18048 export_symbols_cmds_RC | \
18049 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18050 postinstall_cmds | postuninstall_cmds | \
18051 old_postinstall_cmds | old_postuninstall_cmds | \
18052 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18053 # Double-quote double-evaled strings.
18054 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18057 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18063 *'\$0 --fallback-echo"')
18064 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18070 cat <<__EOF__ >> "$cfgfile"
18071 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18073 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18075 # Shell to use when invoking shell scripts.
18078 # Whether or not to build shared libraries.
18079 build_libtool_libs=$enable_shared
18081 # Whether or not to build static libraries.
18082 build_old_libs=$enable_static
18084 # Whether or not to add -lc for building shared libraries.
18085 build_libtool_need_lc=$archive_cmds_need_lc_RC
18087 # Whether or not to disallow shared libs when runtime libs are static
18088 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18090 # Whether or not to optimize for fast installation.
18091 fast_install=$enable_fast_install
18094 host_alias=$host_alias
18097 # An echo program that does not interpret backslashes.
18102 AR_FLAGS=$lt_AR_FLAGS
18107 # A language-specific compiler.
18110 # Is the compiler the GNU C compiler?
18116 # The linker used to build libraries.
18119 # Whether we need hard or soft links.
18122 # A BSD-compatible nm program.
18125 # A symbol stripping program
18128 # Used to examine libraries when file_magic_cmd begins "file"
18129 MAGIC_CMD=$MAGIC_CMD
18131 # Used on cygwin: DLL creation program.
18134 # Used on cygwin: object dumper.
18137 # Used on cygwin: assembler.
18140 # The name of the directory that contains temporary libtool files.
18143 # How to create reloadable object files.
18144 reload_flag=$lt_reload_flag
18145 reload_cmds=$lt_reload_cmds
18147 # How to pass a linker flag through the compiler.
18148 wl=$lt_lt_prog_compiler_wl_RC
18150 # Object file suffix (normally "o").
18151 objext="$ac_objext"
18153 # Old archive suffix (normally "a").
18156 # Shared library suffix (normally ".so").
18159 # Executable file suffix (normally "").
18162 # Additional compiler flags for building library objects.
18163 pic_flag=$lt_lt_prog_compiler_pic_RC
18166 # What is the maximum length of a command?
18167 max_cmd_len=$lt_cv_sys_max_cmd_len
18169 # Does compiler simultaneously support -c and -o options?
18170 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18172 # Must we lock files when doing compilation ?
18173 need_locks=$lt_need_locks
18175 # Do we need the lib prefix for modules?
18176 need_lib_prefix=$need_lib_prefix
18178 # Do we need a version for libraries?
18179 need_version=$need_version
18181 # Whether dlopen is supported.
18182 dlopen_support=$enable_dlopen
18184 # Whether dlopen of programs is supported.
18185 dlopen_self=$enable_dlopen_self
18187 # Whether dlopen of statically linked programs is supported.
18188 dlopen_self_static=$enable_dlopen_self_static
18190 # Compiler flag to prevent dynamic linking.
18191 link_static_flag=$lt_lt_prog_compiler_static_RC
18193 # Compiler flag to turn off builtin functions.
18194 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18196 # Compiler flag to allow reflexive dlopens.
18197 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18199 # Compiler flag to generate shared objects directly from archives.
18200 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18202 # Compiler flag to generate thread-safe objects.
18203 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18205 # Library versioning type.
18206 version_type=$version_type
18208 # Format of library name prefix.
18209 libname_spec=$lt_libname_spec
18211 # List of archive names. First name is the real one, the rest are links.
18212 # The last name is the one that the linker finds with -lNAME.
18213 library_names_spec=$lt_library_names_spec
18215 # The coded name of the library, if different from the real name.
18216 soname_spec=$lt_soname_spec
18218 # Commands used to build and install an old-style archive.
18220 old_archive_cmds=$lt_old_archive_cmds_RC
18221 old_postinstall_cmds=$lt_old_postinstall_cmds
18222 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18224 # Create an old-style archive from a shared archive.
18225 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18227 # Create a temporary old-style archive to link instead of a shared archive.
18228 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18230 # Commands used to build and install a shared archive.
18231 archive_cmds=$lt_archive_cmds_RC
18232 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18233 postinstall_cmds=$lt_postinstall_cmds
18234 postuninstall_cmds=$lt_postuninstall_cmds
18236 # Commands used to build a loadable module (assumed same as above if empty)
18237 module_cmds=$lt_module_cmds_RC
18238 module_expsym_cmds=$lt_module_expsym_cmds_RC
18240 # Commands to strip libraries.
18241 old_striplib=$lt_old_striplib
18242 striplib=$lt_striplib
18244 # Dependencies to place before the objects being linked to create a
18246 predep_objects=$lt_predep_objects_RC
18248 # Dependencies to place after the objects being linked to create a
18250 postdep_objects=$lt_postdep_objects_RC
18252 # Dependencies to place before the objects being linked to create a
18254 predeps=$lt_predeps_RC
18256 # Dependencies to place after the objects being linked to create a
18258 postdeps=$lt_postdeps_RC
18260 # The library search path used internally by the compiler when linking
18261 # a shared library.
18262 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18264 # Method to check whether dependent libraries are shared objects.
18265 deplibs_check_method=$lt_deplibs_check_method
18267 # Command to use when deplibs_check_method == file_magic.
18268 file_magic_cmd=$lt_file_magic_cmd
18270 # Flag that allows shared libraries with undefined symbols to be built.
18271 allow_undefined_flag=$lt_allow_undefined_flag_RC
18273 # Flag that forces no undefined symbols.
18274 no_undefined_flag=$lt_no_undefined_flag_RC
18276 # Commands used to finish a libtool library installation in a directory.
18277 finish_cmds=$lt_finish_cmds
18279 # Same as above, but a single script fragment to be evaled but not shown.
18280 finish_eval=$lt_finish_eval
18282 # Take the output of nm and produce a listing of raw symbols and C names.
18283 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18285 # Transform the output of nm in a proper C declaration
18286 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18288 # Transform the output of nm in a C name address pair
18289 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18291 # This is the shared library runtime path variable.
18292 runpath_var=$runpath_var
18294 # This is the shared library path variable.
18295 shlibpath_var=$shlibpath_var
18297 # Is shlibpath searched before the hard-coded library search path?
18298 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18300 # How to hardcode a shared library path into an executable.
18301 hardcode_action=$hardcode_action_RC
18303 # Whether we should hardcode library paths into libraries.
18304 hardcode_into_libs=$hardcode_into_libs
18306 # Flag to hardcode \$libdir into a binary during linking.
18307 # This must work even if \$libdir does not exist.
18308 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18310 # If ld is used when linking, flag to hardcode \$libdir into
18311 # a binary during linking. This must work even if \$libdir does
18313 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18315 # Whether we need a single -rpath flag with a separated argument.
18316 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18318 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18319 # resulting binary.
18320 hardcode_direct=$hardcode_direct_RC
18322 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18323 # resulting binary.
18324 hardcode_minus_L=$hardcode_minus_L_RC
18326 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18327 # the resulting binary.
18328 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18330 # Set to yes if building a shared library automatically hardcodes DIR into the library
18331 # and all subsequent libraries and executables linked against it.
18332 hardcode_automatic=$hardcode_automatic_RC
18334 # Variables whose values should be saved in libtool wrapper scripts and
18335 # restored at relink time.
18336 variables_saved_for_relink="$variables_saved_for_relink"
18338 # Whether libtool must link a program against all its dependency libraries.
18339 link_all_deplibs=$link_all_deplibs_RC
18341 # Compile-time system search path for libraries
18342 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18344 # Run-time system search path for libraries
18345 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18347 # Fix the shell variable \$srcfile for the compiler.
18348 fix_srcfile_path="$fix_srcfile_path_RC"
18350 # Set to yes if exported symbols are required.
18351 always_export_symbols=$always_export_symbols_RC
18353 # The commands to list exported symbols.
18354 export_symbols_cmds=$lt_export_symbols_cmds_RC
18356 # The commands to extract the exported symbol list from a shared archive.
18357 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18359 # Symbols that should not be listed in the preloaded symbols.
18360 exclude_expsyms=$lt_exclude_expsyms_RC
18362 # Symbols that must always be exported.
18363 include_expsyms=$lt_include_expsyms_RC
18365 # ### END LIBTOOL TAG CONFIG: $tagname
18371 # If there is no Makefile yet, we rely on a make rule to execute
18372 # `config.status --recheck' to rerun these tests and create the
18373 # libtool script then.
18374 test -f Makefile && make "$ltmain"
18379 ac_cpp='$CPP $CPPFLAGS'
18380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18389 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18390 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18391 { (exit 1); exit 1; }; }
18395 # Append the new tag name to the list of available tags.
18396 if test -n "$tagname" ; then
18397 available_tags="$available_tags $tagname"
18403 # Now substitute the updated list of available tags.
18404 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18405 mv "${ofile}T" "$ofile"
18409 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18410 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18411 { (exit 1); exit 1; }; }
18417 # This can be used to rebuild libtool when needed
18418 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18420 # Always use our own libtool.
18421 LIBTOOL='$(SHELL) $(top_builddir)/mklib'
18423 # Prevent multiple expansion
18445 # Extract the first word of "pwd", so it can be a program name with args.
18446 set dummy pwd; ac_word=$2
18447 echo "$as_me:$LINENO: checking for $ac_word" >&5
18448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18449 if test "${ac_cv_path_RPWD+set}" = set; then
18450 echo $ECHO_N "(cached) $ECHO_C" >&6
18454 ac_cv_path_RPWD="$RPWD" # Let the user override the test with a path.
18457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18458 for as_dir in $PATH
18461 test -z "$as_dir" && as_dir=.
18462 for ac_exec_ext in '' $ac_executable_extensions; do
18463 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18464 ac_cv_path_RPWD="$as_dir/$ac_word$ac_exec_ext"
18465 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18474 RPWD=$ac_cv_path_RPWD
18476 if test -n "$RPWD"; then
18477 echo "$as_me:$LINENO: result: $RPWD" >&5
18478 echo "${ECHO_T}$RPWD" >&6
18480 echo "$as_me:$LINENO: result: no" >&5
18481 echo "${ECHO_T}no" >&6
18484 # Extract the first word of "ar", so it can be a program name with args.
18485 set dummy ar; ac_word=$2
18486 echo "$as_me:$LINENO: checking for $ac_word" >&5
18487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18488 if test "${ac_cv_path_AR+set}" = set; then
18489 echo $ECHO_N "(cached) $ECHO_C" >&6
18493 ac_cv_path_AR="$AR" # Let the user override the test with a path.
18496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18497 for as_dir in $PATH
18500 test -z "$as_dir" && as_dir=.
18501 for ac_exec_ext in '' $ac_executable_extensions; do
18502 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18503 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
18504 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18515 if test -n "$AR"; then
18516 echo "$as_me:$LINENO: result: $AR" >&5
18517 echo "${ECHO_T}$AR" >&6
18519 echo "$as_me:$LINENO: result: no" >&5
18520 echo "${ECHO_T}no" >&6
18523 # Extract the first word of "sed", so it can be a program name with args.
18524 set dummy sed; ac_word=$2
18525 echo "$as_me:$LINENO: checking for $ac_word" >&5
18526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18527 if test "${ac_cv_path_SED+set}" = set; then
18528 echo $ECHO_N "(cached) $ECHO_C" >&6
18532 ac_cv_path_SED="$SED" # Let the user override the test with a path.
18535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18536 for as_dir in $PATH
18539 test -z "$as_dir" && as_dir=.
18540 for ac_exec_ext in '' $ac_executable_extensions; do
18541 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18542 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
18543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18552 SED=$ac_cv_path_SED
18554 if test -n "$SED"; then
18555 echo "$as_me:$LINENO: result: $SED" >&5
18556 echo "${ECHO_T}$SED" >&6
18558 echo "$as_me:$LINENO: result: no" >&5
18559 echo "${ECHO_T}no" >&6
18562 # Extract the first word of "rm", so it can be a program name with args.
18563 set dummy rm; ac_word=$2
18564 echo "$as_me:$LINENO: checking for $ac_word" >&5
18565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18566 if test "${ac_cv_path_RM+set}" = set; then
18567 echo $ECHO_N "(cached) $ECHO_C" >&6
18571 ac_cv_path_RM="$RM" # Let the user override the test with a path.
18574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18575 for as_dir in $PATH
18578 test -z "$as_dir" && as_dir=.
18579 for ac_exec_ext in '' $ac_executable_extensions; do
18580 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18581 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
18582 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18593 if test -n "$RM"; then
18594 echo "$as_me:$LINENO: result: $RM" >&5
18595 echo "${ECHO_T}$RM" >&6
18597 echo "$as_me:$LINENO: result: no" >&5
18598 echo "${ECHO_T}no" >&6
18601 # Extract the first word of "echo", so it can be a program name with args.
18602 set dummy echo; ac_word=$2
18603 echo "$as_me:$LINENO: checking for $ac_word" >&5
18604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18605 if test "${ac_cv_path_ECHO+set}" = set; then
18606 echo $ECHO_N "(cached) $ECHO_C" >&6
18610 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
18613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18614 for as_dir in $PATH
18617 test -z "$as_dir" && as_dir=.
18618 for ac_exec_ext in '' $ac_executable_extensions; do
18619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18620 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
18621 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18630 ECHO=$ac_cv_path_ECHO
18632 if test -n "$ECHO"; then
18633 echo "$as_me:$LINENO: result: $ECHO" >&5
18634 echo "${ECHO_T}$ECHO" >&6
18636 echo "$as_me:$LINENO: result: no" >&5
18637 echo "${ECHO_T}no" >&6
18640 # Extract the first word of "mkdir", so it can be a program name with args.
18641 set dummy mkdir; ac_word=$2
18642 echo "$as_me:$LINENO: checking for $ac_word" >&5
18643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18644 if test "${ac_cv_path_MKDIR+set}" = set; then
18645 echo $ECHO_N "(cached) $ECHO_C" >&6
18649 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
18652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18653 for as_dir in $PATH
18656 test -z "$as_dir" && as_dir=.
18657 for ac_exec_ext in '' $ac_executable_extensions; do
18658 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18659 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
18660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18669 MKDIR=$ac_cv_path_MKDIR
18671 if test -n "$MKDIR"; then
18672 echo "$as_me:$LINENO: result: $MKDIR" >&5
18673 echo "${ECHO_T}$MKDIR" >&6
18675 echo "$as_me:$LINENO: result: no" >&5
18676 echo "${ECHO_T}no" >&6
18679 # Extract the first word of "date", so it can be a program name with args.
18680 set dummy date; ac_word=$2
18681 echo "$as_me:$LINENO: checking for $ac_word" >&5
18682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18683 if test "${ac_cv_path_DATE+set}" = set; then
18684 echo $ECHO_N "(cached) $ECHO_C" >&6
18688 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
18691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18692 for as_dir in $PATH
18695 test -z "$as_dir" && as_dir=.
18696 for ac_exec_ext in '' $ac_executable_extensions; do
18697 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18698 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
18699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18708 DATE=$ac_cv_path_DATE
18710 if test -n "$DATE"; then
18711 echo "$as_me:$LINENO: result: $DATE" >&5
18712 echo "${ECHO_T}$DATE" >&6
18714 echo "$as_me:$LINENO: result: no" >&5
18715 echo "${ECHO_T}no" >&6
18718 # Extract the first word of "mv", so it can be a program name with args.
18719 set dummy mv; ac_word=$2
18720 echo "$as_me:$LINENO: checking for $ac_word" >&5
18721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18722 if test "${ac_cv_path_MV+set}" = set; then
18723 echo $ECHO_N "(cached) $ECHO_C" >&6
18727 ac_cv_path_MV="$MV" # Let the user override the test with a path.
18730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18731 for as_dir in $PATH
18734 test -z "$as_dir" && as_dir=.
18735 for ac_exec_ext in '' $ac_executable_extensions; do
18736 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18737 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
18738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18749 if test -n "$MV"; then
18750 echo "$as_me:$LINENO: result: $MV" >&5
18751 echo "${ECHO_T}$MV" >&6
18753 echo "$as_me:$LINENO: result: no" >&5
18754 echo "${ECHO_T}no" >&6
18757 # Extract the first word of "dot", so it can be a program name with args.
18758 set dummy dot; ac_word=$2
18759 echo "$as_me:$LINENO: checking for $ac_word" >&5
18760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18761 if test "${ac_cv_path_DOT+set}" = set; then
18762 echo $ECHO_N "(cached) $ECHO_C" >&6
18766 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18770 for as_dir in $PATH
18773 test -z "$as_dir" && as_dir=.
18774 for ac_exec_ext in '' $ac_executable_extensions; do
18775 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18776 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18777 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18786 DOT=$ac_cv_path_DOT
18788 if test -n "$DOT"; then
18789 echo "$as_me:$LINENO: result: $DOT" >&5
18790 echo "${ECHO_T}$DOT" >&6
18792 echo "$as_me:$LINENO: result: no" >&5
18793 echo "${ECHO_T}no" >&6
18796 # Extract the first word of "etags", so it can be a program name with args.
18797 set dummy etags; ac_word=$2
18798 echo "$as_me:$LINENO: checking for $ac_word" >&5
18799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18800 if test "${ac_cv_path_ETAGS+set}" = set; then
18801 echo $ECHO_N "(cached) $ECHO_C" >&6
18805 ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
18808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18809 for as_dir in $PATH
18812 test -z "$as_dir" && as_dir=.
18813 for ac_exec_ext in '' $ac_executable_extensions; do
18814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18815 ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext"
18816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18825 ETAGS=$ac_cv_path_ETAGS
18827 if test -n "$ETAGS"; then
18828 echo "$as_me:$LINENO: result: $ETAGS" >&5
18829 echo "${ECHO_T}$ETAGS" >&6
18831 echo "$as_me:$LINENO: result: no" >&5
18832 echo "${ECHO_T}no" >&6
18835 # Extract the first word of "purify", so it can be a program name with args.
18836 set dummy purify; ac_word=$2
18837 echo "$as_me:$LINENO: checking for $ac_word" >&5
18838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18839 if test "${ac_cv_path_PURIFY+set}" = set; then
18840 echo $ECHO_N "(cached) $ECHO_C" >&6
18844 ac_cv_path_PURIFY="$PURIFY" # Let the user override the test with a path.
18847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18848 for as_dir in $PATH
18851 test -z "$as_dir" && as_dir=.
18852 for ac_exec_ext in '' $ac_executable_extensions; do
18853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18854 ac_cv_path_PURIFY="$as_dir/$ac_word$ac_exec_ext"
18855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18864 PURIFY=$ac_cv_path_PURIFY
18866 if test -n "$PURIFY"; then
18867 echo "$as_me:$LINENO: result: $PURIFY" >&5
18868 echo "${ECHO_T}$PURIFY" >&6
18870 echo "$as_me:$LINENO: result: no" >&5
18871 echo "${ECHO_T}no" >&6
18874 # Extract the first word of "python", so it can be a program name with args.
18875 set dummy python; ac_word=$2
18876 echo "$as_me:$LINENO: checking for $ac_word" >&5
18877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18878 if test "${ac_cv_path_PYTHON+set}" = set; then
18879 echo $ECHO_N "(cached) $ECHO_C" >&6
18883 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
18886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18887 for as_dir in $PATH
18890 test -z "$as_dir" && as_dir=.
18891 for ac_exec_ext in '' $ac_executable_extensions; do
18892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18893 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
18894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18903 PYTHON=$ac_cv_path_PYTHON
18905 if test -n "$PYTHON"; then
18906 echo "$as_me:$LINENO: result: $PYTHON" >&5
18907 echo "${ECHO_T}$PYTHON" >&6
18909 echo "$as_me:$LINENO: result: no" >&5
18910 echo "${ECHO_T}no" >&6
18913 # Extract the first word of "qmtest", so it can be a program name with args.
18914 set dummy qmtest; ac_word=$2
18915 echo "$as_me:$LINENO: checking for $ac_word" >&5
18916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18917 if test "${ac_cv_path_QMTEST+set}" = set; then
18918 echo $ECHO_N "(cached) $ECHO_C" >&6
18922 ac_cv_path_QMTEST="$QMTEST" # Let the user override the test with a path.
18925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18926 for as_dir in $PATH
18929 test -z "$as_dir" && as_dir=.
18930 for ac_exec_ext in '' $ac_executable_extensions; do
18931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18932 ac_cv_path_QMTEST="$as_dir/$ac_word$ac_exec_ext"
18933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18942 QMTEST=$ac_cv_path_QMTEST
18944 if test -n "$QMTEST"; then
18945 echo "$as_me:$LINENO: result: $QMTEST" >&5
18946 echo "${ECHO_T}$QMTEST" >&6
18948 echo "$as_me:$LINENO: result: no" >&5
18949 echo "${ECHO_T}no" >&6
18953 pyversion=`$PYTHON -V 2>&1 | cut -d\ -f2`
18954 pymajor=`echo $pyversion | cut -d. -f1`
18955 pyminor=`echo $pyversion | cut -d. -f2`
18957 if test "$pymajor" -ge "2"
18959 if test "$pymajor" -eq "2"
18961 if test "$pyminor" -lt "2"
18963 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
18964 echo "$as_me: error: Python 2.2 or greater required" >&2;}
18965 { (exit 1); exit 1; }; }
18969 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
18970 echo "$as_me: error: Python 2.2 or greater required" >&2;}
18971 { (exit 1); exit 1; }; }
18978 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
18979 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
18980 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
18981 echo $ECHO_N "(cached) $ECHO_C" >&6
18983 ac_check_lib_save_LIBS=$LIBS
18985 cat >conftest.$ac_ext <<_ACEOF
18986 #line $LINENO "configure"
18989 cat confdefs.h >>conftest.$ac_ext
18990 cat >>conftest.$ac_ext <<_ACEOF
18991 /* end confdefs.h. */
18993 /* Override any gcc2 internal prototype to avoid an error. */
18997 /* We use char because int might match the return type of a gcc2
18998 builtin and then its argument prototype would still apply. */
19008 rm -f conftest.$ac_objext conftest$ac_exeext
19009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19010 (eval $ac_link) 2>&5
19012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19013 (exit $ac_status); } &&
19014 { ac_try='test -s conftest$ac_exeext'
19015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19016 (eval $ac_try) 2>&5
19018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19019 (exit $ac_status); }; }; then
19020 ac_cv_lib_elf_elf_begin=yes
19022 echo "$as_me: failed program was:" >&5
19023 sed 's/^/| /' conftest.$ac_ext >&5
19025 ac_cv_lib_elf_elf_begin=no
19027 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19028 LIBS=$ac_check_lib_save_LIBS
19030 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
19031 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
19032 if test $ac_cv_lib_elf_elf_begin = yes; then
19033 cat >>confdefs.h <<_ACEOF
19034 #define HAVE_LIBELF 1
19042 echo "$as_me:$LINENO: checking for library containing dlopen" >&5
19043 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
19044 if test "${ac_cv_search_dlopen+set}" = set; then
19045 echo $ECHO_N "(cached) $ECHO_C" >&6
19047 ac_func_search_save_LIBS=$LIBS
19048 ac_cv_search_dlopen=no
19049 cat >conftest.$ac_ext <<_ACEOF
19050 #line $LINENO "configure"
19053 cat confdefs.h >>conftest.$ac_ext
19054 cat >>conftest.$ac_ext <<_ACEOF
19055 /* end confdefs.h. */
19057 /* Override any gcc2 internal prototype to avoid an error. */
19061 /* We use char because int might match the return type of a gcc2
19062 builtin and then its argument prototype would still apply. */
19072 rm -f conftest.$ac_objext conftest$ac_exeext
19073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19074 (eval $ac_link) 2>&5
19076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19077 (exit $ac_status); } &&
19078 { ac_try='test -s conftest$ac_exeext'
19079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19080 (eval $ac_try) 2>&5
19082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19083 (exit $ac_status); }; }; then
19084 ac_cv_search_dlopen="none required"
19086 echo "$as_me: failed program was:" >&5
19087 sed 's/^/| /' conftest.$ac_ext >&5
19090 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19091 if test "$ac_cv_search_dlopen" = no; then
19092 for ac_lib in dl; do
19093 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19094 cat >conftest.$ac_ext <<_ACEOF
19095 #line $LINENO "configure"
19098 cat confdefs.h >>conftest.$ac_ext
19099 cat >>conftest.$ac_ext <<_ACEOF
19100 /* end confdefs.h. */
19102 /* Override any gcc2 internal prototype to avoid an error. */
19106 /* We use char because int might match the return type of a gcc2
19107 builtin and then its argument prototype would still apply. */
19117 rm -f conftest.$ac_objext conftest$ac_exeext
19118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19119 (eval $ac_link) 2>&5
19121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19122 (exit $ac_status); } &&
19123 { ac_try='test -s conftest$ac_exeext'
19124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19125 (eval $ac_try) 2>&5
19127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128 (exit $ac_status); }; }; then
19129 ac_cv_search_dlopen="-l$ac_lib"
19132 echo "$as_me: failed program was:" >&5
19133 sed 's/^/| /' conftest.$ac_ext >&5
19136 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19139 LIBS=$ac_func_search_save_LIBS
19141 echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
19142 echo "${ECHO_T}$ac_cv_search_dlopen" >&6
19143 if test "$ac_cv_search_dlopen" != no; then
19144 test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
19147 { { echo "$as_me:$LINENO: error: dlopen() required but not found" >&5
19148 echo "$as_me: error: dlopen() required but not found" >&2;}
19149 { (exit 1); exit 1; }; }
19153 echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
19154 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6
19155 if test "${ac_cv_search_mallinfo+set}" = set; then
19156 echo $ECHO_N "(cached) $ECHO_C" >&6
19158 ac_func_search_save_LIBS=$LIBS
19159 ac_cv_search_mallinfo=no
19160 cat >conftest.$ac_ext <<_ACEOF
19161 #line $LINENO "configure"
19164 cat confdefs.h >>conftest.$ac_ext
19165 cat >>conftest.$ac_ext <<_ACEOF
19166 /* end confdefs.h. */
19168 /* Override any gcc2 internal prototype to avoid an error. */
19172 /* We use char because int might match the return type of a gcc2
19173 builtin and then its argument prototype would still apply. */
19183 rm -f conftest.$ac_objext conftest$ac_exeext
19184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19185 (eval $ac_link) 2>&5
19187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19188 (exit $ac_status); } &&
19189 { ac_try='test -s conftest$ac_exeext'
19190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19191 (eval $ac_try) 2>&5
19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19194 (exit $ac_status); }; }; then
19195 ac_cv_search_mallinfo="none required"
19197 echo "$as_me: failed program was:" >&5
19198 sed 's/^/| /' conftest.$ac_ext >&5
19201 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19202 if test "$ac_cv_search_mallinfo" = no; then
19203 for ac_lib in malloc; do
19204 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19205 cat >conftest.$ac_ext <<_ACEOF
19206 #line $LINENO "configure"
19209 cat confdefs.h >>conftest.$ac_ext
19210 cat >>conftest.$ac_ext <<_ACEOF
19211 /* end confdefs.h. */
19213 /* Override any gcc2 internal prototype to avoid an error. */
19217 /* We use char because int might match the return type of a gcc2
19218 builtin and then its argument prototype would still apply. */
19228 rm -f conftest.$ac_objext conftest$ac_exeext
19229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19230 (eval $ac_link) 2>&5
19232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19233 (exit $ac_status); } &&
19234 { ac_try='test -s conftest$ac_exeext'
19235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19236 (eval $ac_try) 2>&5
19238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19239 (exit $ac_status); }; }; then
19240 ac_cv_search_mallinfo="-l$ac_lib"
19243 echo "$as_me: failed program was:" >&5
19244 sed 's/^/| /' conftest.$ac_ext >&5
19247 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19250 LIBS=$ac_func_search_save_LIBS
19252 echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
19253 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6
19254 if test "$ac_cv_search_mallinfo" != no; then
19255 test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS"
19256 cat >>confdefs.h <<\_ACEOF
19257 #define HAVE_MALLINFO 1
19264 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19265 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19266 if test "${ac_cv_header_stdc+set}" = set; then
19267 echo $ECHO_N "(cached) $ECHO_C" >&6
19269 cat >conftest.$ac_ext <<_ACEOF
19270 #line $LINENO "configure"
19273 cat confdefs.h >>conftest.$ac_ext
19274 cat >>conftest.$ac_ext <<_ACEOF
19275 /* end confdefs.h. */
19276 #include <stdlib.h>
19277 #include <stdarg.h>
19278 #include <string.h>
19289 rm -f conftest.$ac_objext
19290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19291 (eval $ac_compile) 2>&5
19293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19294 (exit $ac_status); } &&
19295 { ac_try='test -s conftest.$ac_objext'
19296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19297 (eval $ac_try) 2>&5
19299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19300 (exit $ac_status); }; }; then
19301 ac_cv_header_stdc=yes
19303 echo "$as_me: failed program was:" >&5
19304 sed 's/^/| /' conftest.$ac_ext >&5
19306 ac_cv_header_stdc=no
19308 rm -f conftest.$ac_objext conftest.$ac_ext
19310 if test $ac_cv_header_stdc = yes; then
19311 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19312 cat >conftest.$ac_ext <<_ACEOF
19313 #line $LINENO "configure"
19316 cat confdefs.h >>conftest.$ac_ext
19317 cat >>conftest.$ac_ext <<_ACEOF
19318 /* end confdefs.h. */
19319 #include <string.h>
19322 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19323 $EGREP "memchr" >/dev/null 2>&1; then
19326 ac_cv_header_stdc=no
19332 if test $ac_cv_header_stdc = yes; then
19333 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19334 cat >conftest.$ac_ext <<_ACEOF
19335 #line $LINENO "configure"
19338 cat confdefs.h >>conftest.$ac_ext
19339 cat >>conftest.$ac_ext <<_ACEOF
19340 /* end confdefs.h. */
19341 #include <stdlib.h>
19344 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19345 $EGREP "free" >/dev/null 2>&1; then
19348 ac_cv_header_stdc=no
19354 if test $ac_cv_header_stdc = yes; then
19355 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19356 if test "$cross_compiling" = yes; then
19359 cat >conftest.$ac_ext <<_ACEOF
19360 #line $LINENO "configure"
19363 cat confdefs.h >>conftest.$ac_ext
19364 cat >>conftest.$ac_ext <<_ACEOF
19365 /* end confdefs.h. */
19367 #if ((' ' & 0x0FF) == 0x020)
19368 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19369 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19371 # define ISLOWER(c) \
19372 (('a' <= (c) && (c) <= 'i') \
19373 || ('j' <= (c) && (c) <= 'r') \
19374 || ('s' <= (c) && (c) <= 'z'))
19375 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19378 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19383 for (i = 0; i < 256; i++)
19384 if (XOR (islower (i), ISLOWER (i))
19385 || toupper (i) != TOUPPER (i))
19390 rm -f conftest$ac_exeext
19391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19392 (eval $ac_link) 2>&5
19394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19395 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19397 (eval $ac_try) 2>&5
19399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19400 (exit $ac_status); }; }; then
19403 echo "$as_me: program exited with status $ac_status" >&5
19404 echo "$as_me: failed program was:" >&5
19405 sed 's/^/| /' conftest.$ac_ext >&5
19407 ( exit $ac_status )
19408 ac_cv_header_stdc=no
19410 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19414 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19415 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19416 if test $ac_cv_header_stdc = yes; then
19418 cat >>confdefs.h <<\_ACEOF
19419 #define STDC_HEADERS 1
19424 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19425 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
19426 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19427 echo $ECHO_N "(cached) $ECHO_C" >&6
19429 cat >conftest.$ac_ext <<_ACEOF
19430 #line $LINENO "configure"
19433 cat confdefs.h >>conftest.$ac_ext
19434 cat >>conftest.$ac_ext <<_ACEOF
19435 /* end confdefs.h. */
19436 #include <sys/types.h>
19437 #include <sys/wait.h>
19438 #ifndef WEXITSTATUS
19439 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
19442 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19450 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19455 rm -f conftest.$ac_objext
19456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19457 (eval $ac_compile) 2>&5
19459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19460 (exit $ac_status); } &&
19461 { ac_try='test -s conftest.$ac_objext'
19462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19463 (eval $ac_try) 2>&5
19465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19466 (exit $ac_status); }; }; then
19467 ac_cv_header_sys_wait_h=yes
19469 echo "$as_me: failed program was:" >&5
19470 sed 's/^/| /' conftest.$ac_ext >&5
19472 ac_cv_header_sys_wait_h=no
19474 rm -f conftest.$ac_objext conftest.$ac_ext
19476 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19477 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
19478 if test $ac_cv_header_sys_wait_h = yes; then
19480 cat >>confdefs.h <<\_ACEOF
19481 #define HAVE_SYS_WAIT_H 1
19495 for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h
19497 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19499 echo "$as_me:$LINENO: checking for $ac_header" >&5
19500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19502 echo $ECHO_N "(cached) $ECHO_C" >&6
19504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19505 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19507 # Is the header compilable?
19508 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19509 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19510 cat >conftest.$ac_ext <<_ACEOF
19511 #line $LINENO "configure"
19514 cat confdefs.h >>conftest.$ac_ext
19515 cat >>conftest.$ac_ext <<_ACEOF
19516 /* end confdefs.h. */
19517 $ac_includes_default
19518 #include <$ac_header>
19520 rm -f conftest.$ac_objext
19521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19522 (eval $ac_compile) 2>&5
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); } &&
19526 { ac_try='test -s conftest.$ac_objext'
19527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19528 (eval $ac_try) 2>&5
19530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531 (exit $ac_status); }; }; then
19532 ac_header_compiler=yes
19534 echo "$as_me: failed program was:" >&5
19535 sed 's/^/| /' conftest.$ac_ext >&5
19537 ac_header_compiler=no
19539 rm -f conftest.$ac_objext conftest.$ac_ext
19540 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19541 echo "${ECHO_T}$ac_header_compiler" >&6
19543 # Is the header present?
19544 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19545 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19546 cat >conftest.$ac_ext <<_ACEOF
19547 #line $LINENO "configure"
19550 cat confdefs.h >>conftest.$ac_ext
19551 cat >>conftest.$ac_ext <<_ACEOF
19552 /* end confdefs.h. */
19553 #include <$ac_header>
19555 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19556 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19558 grep -v '^ *+' conftest.er1 >conftest.err
19560 cat conftest.err >&5
19561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19562 (exit $ac_status); } >/dev/null; then
19563 if test -s conftest.err; then
19564 ac_cpp_err=$ac_c_preproc_warn_flag
19571 if test -z "$ac_cpp_err"; then
19572 ac_header_preproc=yes
19574 echo "$as_me: failed program was:" >&5
19575 sed 's/^/| /' conftest.$ac_ext >&5
19577 ac_header_preproc=no
19579 rm -f conftest.err conftest.$ac_ext
19580 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19581 echo "${ECHO_T}$ac_header_preproc" >&6
19583 # So? What about this header?
19584 case $ac_header_compiler:$ac_header_preproc in
19586 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19587 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19588 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19589 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19592 ## ------------------------------------ ##
19593 ## Report this to bug-autoconf@gnu.org. ##
19594 ## ------------------------------------ ##
19597 sed "s/^/$as_me: WARNING: /" >&2
19600 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19601 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19602 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19603 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19604 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19605 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19608 ## ------------------------------------ ##
19609 ## Report this to bug-autoconf@gnu.org. ##
19610 ## ------------------------------------ ##
19613 sed "s/^/$as_me: WARNING: /" >&2
19616 echo "$as_me:$LINENO: checking for $ac_header" >&5
19617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19619 echo $ECHO_N "(cached) $ECHO_C" >&6
19621 eval "$as_ac_Header=$ac_header_preproc"
19623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19624 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19627 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19628 cat >>confdefs.h <<_ACEOF
19629 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19641 for ac_header in malloc.h strings.h sys/mman.h sys/resource.h
19643 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19645 echo "$as_me:$LINENO: checking for $ac_header" >&5
19646 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19647 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19648 echo $ECHO_N "(cached) $ECHO_C" >&6
19650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19651 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19653 # Is the header compilable?
19654 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19655 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19656 cat >conftest.$ac_ext <<_ACEOF
19657 #line $LINENO "configure"
19660 cat confdefs.h >>conftest.$ac_ext
19661 cat >>conftest.$ac_ext <<_ACEOF
19662 /* end confdefs.h. */
19663 $ac_includes_default
19664 #include <$ac_header>
19666 rm -f conftest.$ac_objext
19667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19668 (eval $ac_compile) 2>&5
19670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19671 (exit $ac_status); } &&
19672 { ac_try='test -s conftest.$ac_objext'
19673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19674 (eval $ac_try) 2>&5
19676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19677 (exit $ac_status); }; }; then
19678 ac_header_compiler=yes
19680 echo "$as_me: failed program was:" >&5
19681 sed 's/^/| /' conftest.$ac_ext >&5
19683 ac_header_compiler=no
19685 rm -f conftest.$ac_objext conftest.$ac_ext
19686 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19687 echo "${ECHO_T}$ac_header_compiler" >&6
19689 # Is the header present?
19690 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19691 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19692 cat >conftest.$ac_ext <<_ACEOF
19693 #line $LINENO "configure"
19696 cat confdefs.h >>conftest.$ac_ext
19697 cat >>conftest.$ac_ext <<_ACEOF
19698 /* end confdefs.h. */
19699 #include <$ac_header>
19701 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19702 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19704 grep -v '^ *+' conftest.er1 >conftest.err
19706 cat conftest.err >&5
19707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19708 (exit $ac_status); } >/dev/null; then
19709 if test -s conftest.err; then
19710 ac_cpp_err=$ac_c_preproc_warn_flag
19717 if test -z "$ac_cpp_err"; then
19718 ac_header_preproc=yes
19720 echo "$as_me: failed program was:" >&5
19721 sed 's/^/| /' conftest.$ac_ext >&5
19723 ac_header_preproc=no
19725 rm -f conftest.err conftest.$ac_ext
19726 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19727 echo "${ECHO_T}$ac_header_preproc" >&6
19729 # So? What about this header?
19730 case $ac_header_compiler:$ac_header_preproc in
19732 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19733 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19734 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19735 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19738 ## ------------------------------------ ##
19739 ## Report this to bug-autoconf@gnu.org. ##
19740 ## ------------------------------------ ##
19743 sed "s/^/$as_me: WARNING: /" >&2
19746 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19747 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19748 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19749 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19750 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19751 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19754 ## ------------------------------------ ##
19755 ## Report this to bug-autoconf@gnu.org. ##
19756 ## ------------------------------------ ##
19759 sed "s/^/$as_me: WARNING: /" >&2
19762 echo "$as_me:$LINENO: checking for $ac_header" >&5
19763 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19764 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19765 echo $ECHO_N "(cached) $ECHO_C" >&6
19767 eval "$as_ac_Header=$ac_header_preproc"
19769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19770 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19773 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19774 cat >>confdefs.h <<_ACEOF
19775 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19785 for ac_header in dlfcn.h link.h
19787 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19789 echo "$as_me:$LINENO: checking for $ac_header" >&5
19790 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19791 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19792 echo $ECHO_N "(cached) $ECHO_C" >&6
19794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19795 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19797 # Is the header compilable?
19798 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19799 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19800 cat >conftest.$ac_ext <<_ACEOF
19801 #line $LINENO "configure"
19804 cat confdefs.h >>conftest.$ac_ext
19805 cat >>conftest.$ac_ext <<_ACEOF
19806 /* end confdefs.h. */
19807 $ac_includes_default
19808 #include <$ac_header>
19810 rm -f conftest.$ac_objext
19811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19812 (eval $ac_compile) 2>&5
19814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19815 (exit $ac_status); } &&
19816 { ac_try='test -s conftest.$ac_objext'
19817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19818 (eval $ac_try) 2>&5
19820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19821 (exit $ac_status); }; }; then
19822 ac_header_compiler=yes
19824 echo "$as_me: failed program was:" >&5
19825 sed 's/^/| /' conftest.$ac_ext >&5
19827 ac_header_compiler=no
19829 rm -f conftest.$ac_objext conftest.$ac_ext
19830 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19831 echo "${ECHO_T}$ac_header_compiler" >&6
19833 # Is the header present?
19834 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19835 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19836 cat >conftest.$ac_ext <<_ACEOF
19837 #line $LINENO "configure"
19840 cat confdefs.h >>conftest.$ac_ext
19841 cat >>conftest.$ac_ext <<_ACEOF
19842 /* end confdefs.h. */
19843 #include <$ac_header>
19845 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19846 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19848 grep -v '^ *+' conftest.er1 >conftest.err
19850 cat conftest.err >&5
19851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19852 (exit $ac_status); } >/dev/null; then
19853 if test -s conftest.err; then
19854 ac_cpp_err=$ac_c_preproc_warn_flag
19861 if test -z "$ac_cpp_err"; then
19862 ac_header_preproc=yes
19864 echo "$as_me: failed program was:" >&5
19865 sed 's/^/| /' conftest.$ac_ext >&5
19867 ac_header_preproc=no
19869 rm -f conftest.err conftest.$ac_ext
19870 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19871 echo "${ECHO_T}$ac_header_preproc" >&6
19873 # So? What about this header?
19874 case $ac_header_compiler:$ac_header_preproc in
19876 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19877 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19878 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19879 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19882 ## ------------------------------------ ##
19883 ## Report this to bug-autoconf@gnu.org. ##
19884 ## ------------------------------------ ##
19887 sed "s/^/$as_me: WARNING: /" >&2
19890 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19891 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19892 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19893 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19894 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19895 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19898 ## ------------------------------------ ##
19899 ## Report this to bug-autoconf@gnu.org. ##
19900 ## ------------------------------------ ##
19903 sed "s/^/$as_me: WARNING: /" >&2
19906 echo "$as_me:$LINENO: checking for $ac_header" >&5
19907 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19908 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19909 echo $ECHO_N "(cached) $ECHO_C" >&6
19911 eval "$as_ac_Header=$ac_header_preproc"
19913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19914 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19917 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19918 cat >>confdefs.h <<_ACEOF
19919 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19928 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19929 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
19930 if test "${ac_cv_c_const+set}" = set; then
19931 echo $ECHO_N "(cached) $ECHO_C" >&6
19933 cat >conftest.$ac_ext <<_ACEOF
19934 #line $LINENO "configure"
19937 cat confdefs.h >>conftest.$ac_ext
19938 cat >>conftest.$ac_ext <<_ACEOF
19939 /* end confdefs.h. */
19944 /* FIXME: Include the comments suggested by Paul. */
19945 #ifndef __cplusplus
19946 /* Ultrix mips cc rejects this. */
19947 typedef int charset[2];
19949 /* SunOS 4.1.1 cc rejects this. */
19950 char const *const *ccp;
19952 /* NEC SVR4.0.2 mips cc rejects this. */
19953 struct point {int x, y;};
19954 static struct point const zero = {0,0};
19955 /* AIX XL C 1.02.0.0 rejects this.
19956 It does not let you subtract one const X* pointer from another in
19957 an arm of an if-expression whose if-part is not a constant
19959 const char *g = "string";
19960 ccp = &g + (g ? g-g : 0);
19961 /* HPUX 7.0 cc rejects these. */
19964 ccp = (char const *const *) p;
19965 { /* SCO 3.2v4 cc rejects this. */
19967 char const *s = 0 ? (char *) 0 : (char const *) 0;
19971 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19972 int x[] = {25, 17};
19973 const int *foo = &x[0];
19976 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19977 typedef const int *iptr;
19981 { /* AIX XL C 1.02.0.0 rejects this saying
19982 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19983 struct s { int j; const int *ap[3]; };
19984 struct s *b; b->j = 5;
19986 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19987 const int foo = 10;
19995 rm -f conftest.$ac_objext
19996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19997 (eval $ac_compile) 2>&5
19999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20000 (exit $ac_status); } &&
20001 { ac_try='test -s conftest.$ac_objext'
20002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20003 (eval $ac_try) 2>&5
20005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006 (exit $ac_status); }; }; then
20009 echo "$as_me: failed program was:" >&5
20010 sed 's/^/| /' conftest.$ac_ext >&5
20014 rm -f conftest.$ac_objext conftest.$ac_ext
20016 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20017 echo "${ECHO_T}$ac_cv_c_const" >&6
20018 if test $ac_cv_c_const = no; then
20020 cat >>confdefs.h <<\_ACEOF
20026 echo "$as_me:$LINENO: checking for inline" >&5
20027 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20028 if test "${ac_cv_c_inline+set}" = set; then
20029 echo $ECHO_N "(cached) $ECHO_C" >&6
20032 for ac_kw in inline __inline__ __inline; do
20033 cat >conftest.$ac_ext <<_ACEOF
20034 #line $LINENO "configure"
20037 cat confdefs.h >>conftest.$ac_ext
20038 cat >>conftest.$ac_ext <<_ACEOF
20039 /* end confdefs.h. */
20040 #ifndef __cplusplus
20042 static $ac_kw foo_t static_foo () {return 0; }
20043 $ac_kw foo_t foo () {return 0; }
20047 rm -f conftest.$ac_objext
20048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20049 (eval $ac_compile) 2>&5
20051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20052 (exit $ac_status); } &&
20053 { ac_try='test -s conftest.$ac_objext'
20054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20055 (eval $ac_try) 2>&5
20057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20058 (exit $ac_status); }; }; then
20059 ac_cv_c_inline=$ac_kw; break
20061 echo "$as_me: failed program was:" >&5
20062 sed 's/^/| /' conftest.$ac_ext >&5
20065 rm -f conftest.$ac_objext conftest.$ac_ext
20069 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20070 echo "${ECHO_T}$ac_cv_c_inline" >&6
20071 case $ac_cv_c_inline in
20074 cat >>confdefs.h <<\_ACEOF
20078 *) cat >>confdefs.h <<_ACEOF
20079 #define inline $ac_cv_c_inline
20085 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20086 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20087 if test "${ac_cv_c_bigendian+set}" = set; then
20088 echo $ECHO_N "(cached) $ECHO_C" >&6
20090 # See if sys/param.h defines the BYTE_ORDER macro.
20091 cat >conftest.$ac_ext <<_ACEOF
20092 #line $LINENO "configure"
20095 cat confdefs.h >>conftest.$ac_ext
20096 cat >>conftest.$ac_ext <<_ACEOF
20097 /* end confdefs.h. */
20098 #include <sys/types.h>
20099 #include <sys/param.h>
20104 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20105 bogus endian macros
20112 rm -f conftest.$ac_objext
20113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20114 (eval $ac_compile) 2>&5
20116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20117 (exit $ac_status); } &&
20118 { ac_try='test -s conftest.$ac_objext'
20119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20120 (eval $ac_try) 2>&5
20122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20123 (exit $ac_status); }; }; then
20124 # It does; now see whether it defined to BIG_ENDIAN or not.
20125 cat >conftest.$ac_ext <<_ACEOF
20126 #line $LINENO "configure"
20129 cat confdefs.h >>conftest.$ac_ext
20130 cat >>conftest.$ac_ext <<_ACEOF
20131 /* end confdefs.h. */
20132 #include <sys/types.h>
20133 #include <sys/param.h>
20138 #if BYTE_ORDER != BIG_ENDIAN
20146 rm -f conftest.$ac_objext
20147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20148 (eval $ac_compile) 2>&5
20150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20151 (exit $ac_status); } &&
20152 { ac_try='test -s conftest.$ac_objext'
20153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20154 (eval $ac_try) 2>&5
20156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20157 (exit $ac_status); }; }; then
20158 ac_cv_c_bigendian=yes
20160 echo "$as_me: failed program was:" >&5
20161 sed 's/^/| /' conftest.$ac_ext >&5
20163 ac_cv_c_bigendian=no
20165 rm -f conftest.$ac_objext conftest.$ac_ext
20167 echo "$as_me: failed program was:" >&5
20168 sed 's/^/| /' conftest.$ac_ext >&5
20170 # It does not; compile a test program.
20171 if test "$cross_compiling" = yes; then
20172 # try to guess the endianness by grepping values into an object file
20173 ac_cv_c_bigendian=unknown
20174 cat >conftest.$ac_ext <<_ACEOF
20175 #line $LINENO "configure"
20178 cat confdefs.h >>conftest.$ac_ext
20179 cat >>conftest.$ac_ext <<_ACEOF
20180 /* end confdefs.h. */
20181 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20182 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20183 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20184 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20185 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20186 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20190 _ascii (); _ebcdic ();
20195 rm -f conftest.$ac_objext
20196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20197 (eval $ac_compile) 2>&5
20199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20200 (exit $ac_status); } &&
20201 { ac_try='test -s conftest.$ac_objext'
20202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20203 (eval $ac_try) 2>&5
20205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206 (exit $ac_status); }; }; then
20207 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
20208 ac_cv_c_bigendian=yes
20210 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
20211 if test "$ac_cv_c_bigendian" = unknown; then
20212 ac_cv_c_bigendian=no
20214 # finding both strings is unlikely to happen, but who knows?
20215 ac_cv_c_bigendian=unknown
20219 echo "$as_me: failed program was:" >&5
20220 sed 's/^/| /' conftest.$ac_ext >&5
20223 rm -f conftest.$ac_objext conftest.$ac_ext
20225 cat >conftest.$ac_ext <<_ACEOF
20226 #line $LINENO "configure"
20229 cat confdefs.h >>conftest.$ac_ext
20230 cat >>conftest.$ac_ext <<_ACEOF
20231 /* end confdefs.h. */
20235 /* Are we little or big endian? From Harbison&Steele. */
20239 char c[sizeof (long)];
20242 exit (u.c[sizeof (long) - 1] == 1);
20245 rm -f conftest$ac_exeext
20246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20247 (eval $ac_link) 2>&5
20249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20250 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20252 (eval $ac_try) 2>&5
20254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20255 (exit $ac_status); }; }; then
20256 ac_cv_c_bigendian=no
20258 echo "$as_me: program exited with status $ac_status" >&5
20259 echo "$as_me: failed program was:" >&5
20260 sed 's/^/| /' conftest.$ac_ext >&5
20262 ( exit $ac_status )
20263 ac_cv_c_bigendian=yes
20265 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20268 rm -f conftest.$ac_objext conftest.$ac_ext
20270 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20271 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20272 case $ac_cv_c_bigendian in
20274 cat >>confdefs.h <<\_ACEOF
20275 #define ENDIAN_BIG 1
20279 cat >>confdefs.h <<\_ACEOF
20280 #define ENDIAN_LITTLE 1
20284 { { echo "$as_me:$LINENO: error: unknown endianness
20285 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20286 echo "$as_me: error: unknown endianness
20287 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20288 { (exit 1); exit 1; }; } ;;
20292 echo "$as_me:$LINENO: checking for pid_t" >&5
20293 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20294 if test "${ac_cv_type_pid_t+set}" = set; then
20295 echo $ECHO_N "(cached) $ECHO_C" >&6
20297 cat >conftest.$ac_ext <<_ACEOF
20298 #line $LINENO "configure"
20301 cat confdefs.h >>conftest.$ac_ext
20302 cat >>conftest.$ac_ext <<_ACEOF
20303 /* end confdefs.h. */
20304 $ac_includes_default
20310 if (sizeof (pid_t))
20316 rm -f conftest.$ac_objext
20317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20318 (eval $ac_compile) 2>&5
20320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20321 (exit $ac_status); } &&
20322 { ac_try='test -s conftest.$ac_objext'
20323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20324 (eval $ac_try) 2>&5
20326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20327 (exit $ac_status); }; }; then
20328 ac_cv_type_pid_t=yes
20330 echo "$as_me: failed program was:" >&5
20331 sed 's/^/| /' conftest.$ac_ext >&5
20333 ac_cv_type_pid_t=no
20335 rm -f conftest.$ac_objext conftest.$ac_ext
20337 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20338 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20339 if test $ac_cv_type_pid_t = yes; then
20343 cat >>confdefs.h <<_ACEOF
20349 echo "$as_me:$LINENO: checking for size_t" >&5
20350 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20351 if test "${ac_cv_type_size_t+set}" = set; then
20352 echo $ECHO_N "(cached) $ECHO_C" >&6
20354 cat >conftest.$ac_ext <<_ACEOF
20355 #line $LINENO "configure"
20358 cat confdefs.h >>conftest.$ac_ext
20359 cat >>conftest.$ac_ext <<_ACEOF
20360 /* end confdefs.h. */
20361 $ac_includes_default
20367 if (sizeof (size_t))
20373 rm -f conftest.$ac_objext
20374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20375 (eval $ac_compile) 2>&5
20377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20378 (exit $ac_status); } &&
20379 { ac_try='test -s conftest.$ac_objext'
20380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20381 (eval $ac_try) 2>&5
20383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20384 (exit $ac_status); }; }; then
20385 ac_cv_type_size_t=yes
20387 echo "$as_me: failed program was:" >&5
20388 sed 's/^/| /' conftest.$ac_ext >&5
20390 ac_cv_type_size_t=no
20392 rm -f conftest.$ac_objext conftest.$ac_ext
20394 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20395 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20396 if test $ac_cv_type_size_t = yes; then
20400 cat >>confdefs.h <<_ACEOF
20401 #define size_t unsigned
20406 echo "$as_me:$LINENO: checking for int64_t" >&5
20407 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
20408 if test "${ac_cv_type_int64_t+set}" = set; then
20409 echo $ECHO_N "(cached) $ECHO_C" >&6
20411 cat >conftest.$ac_ext <<_ACEOF
20412 #line $LINENO "configure"
20415 cat confdefs.h >>conftest.$ac_ext
20416 cat >>conftest.$ac_ext <<_ACEOF
20417 /* end confdefs.h. */
20418 $ac_includes_default
20424 if (sizeof (int64_t))
20430 rm -f conftest.$ac_objext
20431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20432 (eval $ac_compile) 2>&5
20434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20435 (exit $ac_status); } &&
20436 { ac_try='test -s conftest.$ac_objext'
20437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20438 (eval $ac_try) 2>&5
20440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20441 (exit $ac_status); }; }; then
20442 ac_cv_type_int64_t=yes
20444 echo "$as_me: failed program was:" >&5
20445 sed 's/^/| /' conftest.$ac_ext >&5
20447 ac_cv_type_int64_t=no
20449 rm -f conftest.$ac_objext conftest.$ac_ext
20451 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
20452 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
20453 if test $ac_cv_type_int64_t = yes; then
20455 cat >>confdefs.h <<_ACEOF
20456 #define HAVE_INT64_T 1
20461 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
20462 echo "$as_me: error: Type int64_t required but not found" >&2;}
20463 { (exit 1); exit 1; }; }
20466 echo "$as_me:$LINENO: checking for uint64_t" >&5
20467 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
20468 if test "${ac_cv_type_uint64_t+set}" = set; then
20469 echo $ECHO_N "(cached) $ECHO_C" >&6
20471 cat >conftest.$ac_ext <<_ACEOF
20472 #line $LINENO "configure"
20475 cat confdefs.h >>conftest.$ac_ext
20476 cat >>conftest.$ac_ext <<_ACEOF
20477 /* end confdefs.h. */
20478 $ac_includes_default
20482 if ((uint64_t *) 0)
20484 if (sizeof (uint64_t))
20490 rm -f conftest.$ac_objext
20491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20492 (eval $ac_compile) 2>&5
20494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20495 (exit $ac_status); } &&
20496 { ac_try='test -s conftest.$ac_objext'
20497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20498 (eval $ac_try) 2>&5
20500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20501 (exit $ac_status); }; }; then
20502 ac_cv_type_uint64_t=yes
20504 echo "$as_me: failed program was:" >&5
20505 sed 's/^/| /' conftest.$ac_ext >&5
20507 ac_cv_type_uint64_t=no
20509 rm -f conftest.$ac_objext conftest.$ac_ext
20511 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
20512 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
20513 if test $ac_cv_type_uint64_t = yes; then
20515 cat >>confdefs.h <<_ACEOF
20516 #define HAVE_UINT64_T 1
20521 { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5
20522 echo "$as_me: error: Type uint64_t required but not found" >&2;}
20523 { (exit 1); exit 1; }; }
20526 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20527 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20528 if test "${ac_cv_header_time+set}" = set; then
20529 echo $ECHO_N "(cached) $ECHO_C" >&6
20531 cat >conftest.$ac_ext <<_ACEOF
20532 #line $LINENO "configure"
20535 cat confdefs.h >>conftest.$ac_ext
20536 cat >>conftest.$ac_ext <<_ACEOF
20537 /* end confdefs.h. */
20538 #include <sys/types.h>
20539 #include <sys/time.h>
20545 if ((struct tm *) 0)
20551 rm -f conftest.$ac_objext
20552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20553 (eval $ac_compile) 2>&5
20555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20556 (exit $ac_status); } &&
20557 { ac_try='test -s conftest.$ac_objext'
20558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20559 (eval $ac_try) 2>&5
20561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20562 (exit $ac_status); }; }; then
20563 ac_cv_header_time=yes
20565 echo "$as_me: failed program was:" >&5
20566 sed 's/^/| /' conftest.$ac_ext >&5
20568 ac_cv_header_time=no
20570 rm -f conftest.$ac_objext conftest.$ac_ext
20572 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20573 echo "${ECHO_T}$ac_cv_header_time" >&6
20574 if test $ac_cv_header_time = yes; then
20576 cat >>confdefs.h <<\_ACEOF
20577 #define TIME_WITH_SYS_TIME 1
20582 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20583 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
20584 if test "${ac_cv_struct_tm+set}" = set; then
20585 echo $ECHO_N "(cached) $ECHO_C" >&6
20587 cat >conftest.$ac_ext <<_ACEOF
20588 #line $LINENO "configure"
20591 cat confdefs.h >>conftest.$ac_ext
20592 cat >>conftest.$ac_ext <<_ACEOF
20593 /* end confdefs.h. */
20594 #include <sys/types.h>
20600 struct tm *tp; tp->tm_sec;
20605 rm -f conftest.$ac_objext
20606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20607 (eval $ac_compile) 2>&5
20609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20610 (exit $ac_status); } &&
20611 { ac_try='test -s conftest.$ac_objext'
20612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20613 (eval $ac_try) 2>&5
20615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20616 (exit $ac_status); }; }; then
20617 ac_cv_struct_tm=time.h
20619 echo "$as_me: failed program was:" >&5
20620 sed 's/^/| /' conftest.$ac_ext >&5
20622 ac_cv_struct_tm=sys/time.h
20624 rm -f conftest.$ac_objext conftest.$ac_ext
20626 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20627 echo "${ECHO_T}$ac_cv_struct_tm" >&6
20628 if test $ac_cv_struct_tm = sys/time.h; then
20630 cat >>confdefs.h <<\_ACEOF
20631 #define TM_IN_SYS_TIME 1
20637 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
20638 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
20639 if test "${ac_cv_cxx_namespaces+set}" = set; then
20640 echo $ECHO_N "(cached) $ECHO_C" >&6
20645 ac_cpp='$CXXCPP $CPPFLAGS'
20646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20650 cat >conftest.$ac_ext <<_ACEOF
20651 #line $LINENO "configure"
20654 cat confdefs.h >>conftest.$ac_ext
20655 cat >>conftest.$ac_ext <<_ACEOF
20656 /* end confdefs.h. */
20657 namespace Outer { namespace Inner { int i = 0; }}
20661 using namespace Outer::Inner; return i;
20666 rm -f conftest.$ac_objext
20667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20668 (eval $ac_compile) 2>&5
20670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20671 (exit $ac_status); } &&
20672 { ac_try='test -s conftest.$ac_objext'
20673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20674 (eval $ac_try) 2>&5
20676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20677 (exit $ac_status); }; }; then
20678 ac_cv_cxx_namespaces=yes
20680 echo "$as_me: failed program was:" >&5
20681 sed 's/^/| /' conftest.$ac_ext >&5
20683 ac_cv_cxx_namespaces=no
20685 rm -f conftest.$ac_objext conftest.$ac_ext
20687 ac_cpp='$CPP $CPPFLAGS'
20688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20694 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
20695 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
20696 if test "$ac_cv_cxx_namespaces" = yes; then
20698 cat >>confdefs.h <<\_ACEOF
20699 #define HAVE_NAMESPACES
20704 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_map" >&5
20705 echo $ECHO_N "checking whether the compiler has ext/hash_map... $ECHO_C" >&6
20706 if test "${ac_cv_cxx_have_ext_hash_map+set}" = set; then
20707 echo $ECHO_N "(cached) $ECHO_C" >&6
20713 ac_cpp='$CXXCPP $CPPFLAGS'
20714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20718 cat >conftest.$ac_ext <<_ACEOF
20719 #line $LINENO "configure"
20722 cat confdefs.h >>conftest.$ac_ext
20723 cat >>conftest.$ac_ext <<_ACEOF
20724 /* end confdefs.h. */
20725 #include <ext/hash_map>
20726 #ifdef HAVE_NAMESPACES
20727 using namespace std;
20732 hash_map<int, int> t; return 0;
20737 rm -f conftest.$ac_objext
20738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20739 (eval $ac_compile) 2>&5
20741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20742 (exit $ac_status); } &&
20743 { ac_try='test -s conftest.$ac_objext'
20744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20745 (eval $ac_try) 2>&5
20747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20748 (exit $ac_status); }; }; then
20749 ac_cv_cxx_have_ext_hash_map=std
20751 echo "$as_me: failed program was:" >&5
20752 sed 's/^/| /' conftest.$ac_ext >&5
20754 ac_cv_cxx_have_ext_hash_map=no
20756 rm -f conftest.$ac_objext conftest.$ac_ext
20757 cat >conftest.$ac_ext <<_ACEOF
20758 #line $LINENO "configure"
20761 cat confdefs.h >>conftest.$ac_ext
20762 cat >>conftest.$ac_ext <<_ACEOF
20763 /* end confdefs.h. */
20764 #include <ext/hash_map>
20765 #ifdef HAVE_NAMESPACES
20766 using namespace __gnu_cxx;
20771 hash_map<int, int> t; return 0;
20776 rm -f conftest.$ac_objext
20777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20778 (eval $ac_compile) 2>&5
20780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781 (exit $ac_status); } &&
20782 { ac_try='test -s conftest.$ac_objext'
20783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20784 (eval $ac_try) 2>&5
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); }; }; then
20788 ac_cv_cxx_have_ext_hash_map=gnu
20790 echo "$as_me: failed program was:" >&5
20791 sed 's/^/| /' conftest.$ac_ext >&5
20793 ac_cv_cxx_have_ext_hash_map=no
20795 rm -f conftest.$ac_objext conftest.$ac_ext
20797 ac_cpp='$CPP $CPPFLAGS'
20798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20804 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_map" >&5
20805 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_map" >&6
20806 if test "$ac_cv_cxx_have_ext_hash_map" = std; then
20808 cat >>confdefs.h <<\_ACEOF
20809 #define HAVE_STD_EXT_HASH_MAP
20813 if test "$ac_cv_cxx_have_ext_hash_map" = gnu; then
20815 cat >>confdefs.h <<\_ACEOF
20816 #define HAVE_GNU_EXT_HASH_MAP
20821 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_set" >&5
20822 echo $ECHO_N "checking whether the compiler has ext/hash_set... $ECHO_C" >&6
20823 if test "${ac_cv_cxx_have_ext_hash_set+set}" = set; then
20824 echo $ECHO_N "(cached) $ECHO_C" >&6
20830 ac_cpp='$CXXCPP $CPPFLAGS'
20831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20835 cat >conftest.$ac_ext <<_ACEOF
20836 #line $LINENO "configure"
20839 cat confdefs.h >>conftest.$ac_ext
20840 cat >>conftest.$ac_ext <<_ACEOF
20841 /* end confdefs.h. */
20842 #include <ext/hash_set>
20843 #ifdef HAVE_NAMESPACES
20844 using namespace std;
20849 hash_set<int> t; return 0;
20854 rm -f conftest.$ac_objext
20855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20856 (eval $ac_compile) 2>&5
20858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20859 (exit $ac_status); } &&
20860 { ac_try='test -s conftest.$ac_objext'
20861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20862 (eval $ac_try) 2>&5
20864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20865 (exit $ac_status); }; }; then
20866 ac_cv_cxx_have_ext_hash_set=std
20868 echo "$as_me: failed program was:" >&5
20869 sed 's/^/| /' conftest.$ac_ext >&5
20871 ac_cv_cxx_have_ext_hash_set=no
20873 rm -f conftest.$ac_objext conftest.$ac_ext
20874 cat >conftest.$ac_ext <<_ACEOF
20875 #line $LINENO "configure"
20878 cat confdefs.h >>conftest.$ac_ext
20879 cat >>conftest.$ac_ext <<_ACEOF
20880 /* end confdefs.h. */
20881 #include <ext/hash_set>
20882 #ifdef HAVE_NAMESPACES
20883 using namespace __gnu_cxx;
20888 hash_set<int> t; return 0;
20893 rm -f conftest.$ac_objext
20894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20895 (eval $ac_compile) 2>&5
20897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20898 (exit $ac_status); } &&
20899 { ac_try='test -s conftest.$ac_objext'
20900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20901 (eval $ac_try) 2>&5
20903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20904 (exit $ac_status); }; }; then
20905 ac_cv_cxx_have_ext_hash_set=gnu
20907 echo "$as_me: failed program was:" >&5
20908 sed 's/^/| /' conftest.$ac_ext >&5
20910 ac_cv_cxx_have_ext_hash_set=no
20912 rm -f conftest.$ac_objext conftest.$ac_ext
20914 ac_cpp='$CPP $CPPFLAGS'
20915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20921 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_set" >&5
20922 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_set" >&6
20923 if test "$ac_cv_cxx_have_ext_hash_set" = std; then
20925 cat >>confdefs.h <<\_ACEOF
20926 #define HAVE_STD_EXT_HASH_SET
20930 if test "$ac_cv_cxx_have_ext_hash_set" = gnu; then
20932 cat >>confdefs.h <<\_ACEOF
20933 #define HAVE_GNU_EXT_HASH_SET
20938 echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5
20939 echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6
20940 if test "${ac_cv_cxx_have_ext_slist+set}" = set; then
20941 echo $ECHO_N "(cached) $ECHO_C" >&6
20947 ac_cpp='$CXXCPP $CPPFLAGS'
20948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20952 cat >conftest.$ac_ext <<_ACEOF
20953 #line $LINENO "configure"
20956 cat confdefs.h >>conftest.$ac_ext
20957 cat >>conftest.$ac_ext <<_ACEOF
20958 /* end confdefs.h. */
20959 #include <ext/slist>
20960 #ifdef HAVE_NAMESPACES
20961 using namespace std;
20966 slist<int> s; return 0;
20971 rm -f conftest.$ac_objext
20972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20973 (eval $ac_compile) 2>&5
20975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20976 (exit $ac_status); } &&
20977 { ac_try='test -s conftest.$ac_objext'
20978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20979 (eval $ac_try) 2>&5
20981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20982 (exit $ac_status); }; }; then
20983 ac_cv_cxx_have_ext_slist=std
20985 echo "$as_me: failed program was:" >&5
20986 sed 's/^/| /' conftest.$ac_ext >&5
20988 ac_cv_cxx_have_ext_slist=no
20990 rm -f conftest.$ac_objext conftest.$ac_ext
20991 cat >conftest.$ac_ext <<_ACEOF
20992 #line $LINENO "configure"
20995 cat confdefs.h >>conftest.$ac_ext
20996 cat >>conftest.$ac_ext <<_ACEOF
20997 /* end confdefs.h. */
20998 #include <ext/slist>
20999 #ifdef HAVE_NAMESPACES
21000 using namespace __gnu_cxx;
21005 slist<int> s; return 0;
21010 rm -f conftest.$ac_objext
21011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21012 (eval $ac_compile) 2>&5
21014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015 (exit $ac_status); } &&
21016 { ac_try='test -s conftest.$ac_objext'
21017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21018 (eval $ac_try) 2>&5
21020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21021 (exit $ac_status); }; }; then
21022 ac_cv_cxx_have_ext_slist=gnu
21024 echo "$as_me: failed program was:" >&5
21025 sed 's/^/| /' conftest.$ac_ext >&5
21027 ac_cv_cxx_have_ext_slist=no
21029 rm -f conftest.$ac_objext conftest.$ac_ext
21032 ac_cpp='$CPP $CPPFLAGS'
21033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21039 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5
21040 echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6
21041 if test "$ac_cv_cxx_have_ext_slist" = std; then
21043 cat >>confdefs.h <<\_ACEOF
21044 #define HAVE_EXT_SLIST std
21048 if test "$ac_cv_cxx_have_ext_slist" = gnu; then
21050 cat >>confdefs.h <<\_ACEOF
21051 #define HAVE_EXT_SLIST gnu
21056 echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
21057 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6
21058 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
21059 echo $ECHO_N "(cached) $ECHO_C" >&6
21065 ac_cpp='$CXXCPP $CPPFLAGS'
21066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21070 cat >conftest.$ac_ext <<_ACEOF
21071 #line $LINENO "configure"
21074 cat confdefs.h >>conftest.$ac_ext
21075 cat >>conftest.$ac_ext <<_ACEOF
21076 /* end confdefs.h. */
21077 #include <iterator>
21078 #ifdef HAVE_NAMESPACES
21079 using namespace std;
21084 iterator<int,int,int> t; return 0;
21089 rm -f conftest.$ac_objext
21090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21091 (eval $ac_compile) 2>&5
21093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21094 (exit $ac_status); } &&
21095 { ac_try='test -s conftest.$ac_objext'
21096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21097 (eval $ac_try) 2>&5
21099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21100 (exit $ac_status); }; }; then
21101 ac_cv_cxx_have_std_iterator=yes
21103 echo "$as_me: failed program was:" >&5
21104 sed 's/^/| /' conftest.$ac_ext >&5
21106 ac_cv_cxx_have_std_iterator=no
21108 rm -f conftest.$ac_objext conftest.$ac_ext
21110 ac_cpp='$CPP $CPPFLAGS'
21111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21117 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
21118 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6
21119 if test "$ac_cv_cxx_have_std_iterator" = yes; then
21121 cat >>confdefs.h <<\_ACEOF
21122 #define HAVE_STD_ITERATOR
21127 echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
21128 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6
21129 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
21130 echo $ECHO_N "(cached) $ECHO_C" >&6
21136 ac_cpp='$CXXCPP $CPPFLAGS'
21137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21141 cat >conftest.$ac_ext <<_ACEOF
21142 #line $LINENO "configure"
21145 cat confdefs.h >>conftest.$ac_ext
21146 cat >>conftest.$ac_ext <<_ACEOF
21147 /* end confdefs.h. */
21148 #include <iterator>
21149 #ifdef HAVE_NAMESPACES
21150 using namespace std;
21155 bidirectional_iterator<int,int> t; return 0;
21160 rm -f conftest.$ac_objext
21161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21162 (eval $ac_compile) 2>&5
21164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21165 (exit $ac_status); } &&
21166 { ac_try='test -s conftest.$ac_objext'
21167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21168 (eval $ac_try) 2>&5
21170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21171 (exit $ac_status); }; }; then
21172 ac_cv_cxx_have_bi_iterator=yes
21174 echo "$as_me: failed program was:" >&5
21175 sed 's/^/| /' conftest.$ac_ext >&5
21177 ac_cv_cxx_have_bi_iterator=no
21179 rm -f conftest.$ac_objext conftest.$ac_ext
21181 ac_cpp='$CPP $CPPFLAGS'
21182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21188 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
21189 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6
21190 if test "$ac_cv_cxx_have_bi_iterator" = yes; then
21192 cat >>confdefs.h <<\_ACEOF
21193 #define HAVE_BI_ITERATOR
21198 echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
21199 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6
21200 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
21201 echo $ECHO_N "(cached) $ECHO_C" >&6
21207 ac_cpp='$CXXCPP $CPPFLAGS'
21208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21212 cat >conftest.$ac_ext <<_ACEOF
21213 #line $LINENO "configure"
21216 cat confdefs.h >>conftest.$ac_ext
21217 cat >>conftest.$ac_ext <<_ACEOF
21218 /* end confdefs.h. */
21219 #include <iterator>
21220 #ifdef HAVE_NAMESPACES
21221 using namespace std;
21226 forward_iterator<int,int> t; return 0;
21231 rm -f conftest.$ac_objext
21232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21233 (eval $ac_compile) 2>&5
21235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21236 (exit $ac_status); } &&
21237 { ac_try='test -s conftest.$ac_objext'
21238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21239 (eval $ac_try) 2>&5
21241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21242 (exit $ac_status); }; }; then
21243 ac_cv_cxx_have_fwd_iterator=yes
21245 echo "$as_me: failed program was:" >&5
21246 sed 's/^/| /' conftest.$ac_ext >&5
21248 ac_cv_cxx_have_fwd_iterator=no
21250 rm -f conftest.$ac_objext conftest.$ac_ext
21252 ac_cpp='$CPP $CPPFLAGS'
21253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21259 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
21260 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6
21261 if test "$ac_cv_cxx_have_fwd_iterator" = yes; then
21263 cat >>confdefs.h <<\_ACEOF
21264 #define HAVE_FWD_ITERATOR
21270 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21271 # for constant arguments. Useless!
21272 echo "$as_me:$LINENO: checking for working alloca.h" >&5
21273 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
21274 if test "${ac_cv_working_alloca_h+set}" = set; then
21275 echo $ECHO_N "(cached) $ECHO_C" >&6
21277 cat >conftest.$ac_ext <<_ACEOF
21278 #line $LINENO "configure"
21281 cat confdefs.h >>conftest.$ac_ext
21282 cat >>conftest.$ac_ext <<_ACEOF
21283 /* end confdefs.h. */
21284 #include <alloca.h>
21288 char *p = (char *) alloca (2 * sizeof (int));
21293 rm -f conftest.$ac_objext conftest$ac_exeext
21294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21295 (eval $ac_link) 2>&5
21297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21298 (exit $ac_status); } &&
21299 { ac_try='test -s conftest$ac_exeext'
21300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21301 (eval $ac_try) 2>&5
21303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21304 (exit $ac_status); }; }; then
21305 ac_cv_working_alloca_h=yes
21307 echo "$as_me: failed program was:" >&5
21308 sed 's/^/| /' conftest.$ac_ext >&5
21310 ac_cv_working_alloca_h=no
21312 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21314 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21315 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
21316 if test $ac_cv_working_alloca_h = yes; then
21318 cat >>confdefs.h <<\_ACEOF
21319 #define HAVE_ALLOCA_H 1
21324 echo "$as_me:$LINENO: checking for alloca" >&5
21325 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
21326 if test "${ac_cv_func_alloca_works+set}" = set; then
21327 echo $ECHO_N "(cached) $ECHO_C" >&6
21329 cat >conftest.$ac_ext <<_ACEOF
21330 #line $LINENO "configure"
21333 cat confdefs.h >>conftest.$ac_ext
21334 cat >>conftest.$ac_ext <<_ACEOF
21335 /* end confdefs.h. */
21337 # define alloca __builtin_alloca
21340 # include <malloc.h>
21341 # define alloca _alloca
21344 # include <alloca.h>
21349 # ifndef alloca /* predefined by HP cc +Olibcalls */
21360 char *p = (char *) alloca (1);
21365 rm -f conftest.$ac_objext conftest$ac_exeext
21366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21367 (eval $ac_link) 2>&5
21369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21370 (exit $ac_status); } &&
21371 { ac_try='test -s conftest$ac_exeext'
21372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21373 (eval $ac_try) 2>&5
21375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21376 (exit $ac_status); }; }; then
21377 ac_cv_func_alloca_works=yes
21379 echo "$as_me: failed program was:" >&5
21380 sed 's/^/| /' conftest.$ac_ext >&5
21382 ac_cv_func_alloca_works=no
21384 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21386 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21387 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
21389 if test $ac_cv_func_alloca_works = yes; then
21391 cat >>confdefs.h <<\_ACEOF
21392 #define HAVE_ALLOCA 1
21396 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21397 # that cause trouble. Some versions do not even contain alloca or
21398 # contain a buggy version. If you still want to use their alloca,
21399 # use ar to extract alloca.o from them instead of compiling alloca.c.
21401 ALLOCA=alloca.$ac_objext
21403 cat >>confdefs.h <<\_ACEOF
21408 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21409 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
21410 if test "${ac_cv_os_cray+set}" = set; then
21411 echo $ECHO_N "(cached) $ECHO_C" >&6
21413 cat >conftest.$ac_ext <<_ACEOF
21414 #line $LINENO "configure"
21417 cat confdefs.h >>conftest.$ac_ext
21418 cat >>conftest.$ac_ext <<_ACEOF
21419 /* end confdefs.h. */
21420 #if defined(CRAY) && ! defined(CRAY2)
21427 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21428 $EGREP "webecray" >/dev/null 2>&1; then
21436 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
21437 echo "${ECHO_T}$ac_cv_os_cray" >&6
21438 if test $ac_cv_os_cray = yes; then
21439 for ac_func in _getb67 GETB67 getb67; do
21440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21441 echo "$as_me:$LINENO: checking for $ac_func" >&5
21442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21443 if eval "test \"\${$as_ac_var+set}\" = set"; then
21444 echo $ECHO_N "(cached) $ECHO_C" >&6
21446 cat >conftest.$ac_ext <<_ACEOF
21447 #line $LINENO "configure"
21450 cat confdefs.h >>conftest.$ac_ext
21451 cat >>conftest.$ac_ext <<_ACEOF
21452 /* end confdefs.h. */
21453 /* System header to define __stub macros and hopefully few prototypes,
21454 which can conflict with char $ac_func (); below.
21455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21456 <limits.h> exists even on freestanding compilers. */
21458 # include <limits.h>
21460 # include <assert.h>
21462 /* Override any gcc2 internal prototype to avoid an error. */
21467 /* We use char because int might match the return type of a gcc2
21468 builtin and then its argument prototype would still apply. */
21470 /* The GNU C library defines this for functions which it implements
21471 to always fail with ENOSYS. Some functions are actually named
21472 something starting with __ and the normal name is an alias. */
21473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21476 char (*f) () = $ac_func;
21485 return f != $ac_func;
21490 rm -f conftest.$ac_objext conftest$ac_exeext
21491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21492 (eval $ac_link) 2>&5
21494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21495 (exit $ac_status); } &&
21496 { ac_try='test -s conftest$ac_exeext'
21497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21498 (eval $ac_try) 2>&5
21500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21501 (exit $ac_status); }; }; then
21502 eval "$as_ac_var=yes"
21504 echo "$as_me: failed program was:" >&5
21505 sed 's/^/| /' conftest.$ac_ext >&5
21507 eval "$as_ac_var=no"
21509 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21512 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21513 if test `eval echo '${'$as_ac_var'}'` = yes; then
21515 cat >>confdefs.h <<_ACEOF
21516 #define CRAY_STACKSEG_END $ac_func
21525 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21526 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
21527 if test "${ac_cv_c_stack_direction+set}" = set; then
21528 echo $ECHO_N "(cached) $ECHO_C" >&6
21530 if test "$cross_compiling" = yes; then
21531 ac_cv_c_stack_direction=0
21533 cat >conftest.$ac_ext <<_ACEOF
21534 #line $LINENO "configure"
21537 cat confdefs.h >>conftest.$ac_ext
21538 cat >>conftest.$ac_ext <<_ACEOF
21539 /* end confdefs.h. */
21541 find_stack_direction ()
21543 static char *addr = 0;
21548 return find_stack_direction ();
21551 return (&dummy > addr) ? 1 : -1;
21557 exit (find_stack_direction () < 0);
21560 rm -f conftest$ac_exeext
21561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21562 (eval $ac_link) 2>&5
21564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21565 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21567 (eval $ac_try) 2>&5
21569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21570 (exit $ac_status); }; }; then
21571 ac_cv_c_stack_direction=1
21573 echo "$as_me: program exited with status $ac_status" >&5
21574 echo "$as_me: failed program was:" >&5
21575 sed 's/^/| /' conftest.$ac_ext >&5
21577 ( exit $ac_status )
21578 ac_cv_c_stack_direction=-1
21580 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21583 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21584 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
21586 cat >>confdefs.h <<_ACEOF
21587 #define STACK_DIRECTION $ac_cv_c_stack_direction
21593 if test $ac_cv_c_compiler_gnu = yes; then
21594 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
21595 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
21596 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
21597 echo $ECHO_N "(cached) $ECHO_C" >&6
21599 ac_pattern="Autoconf.*'x'"
21600 cat >conftest.$ac_ext <<_ACEOF
21601 #line $LINENO "configure"
21604 cat confdefs.h >>conftest.$ac_ext
21605 cat >>conftest.$ac_ext <<_ACEOF
21606 /* end confdefs.h. */
21610 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21611 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21612 ac_cv_prog_gcc_traditional=yes
21614 ac_cv_prog_gcc_traditional=no
21619 if test $ac_cv_prog_gcc_traditional = no; then
21620 cat >conftest.$ac_ext <<_ACEOF
21621 #line $LINENO "configure"
21624 cat confdefs.h >>conftest.$ac_ext
21625 cat >>conftest.$ac_ext <<_ACEOF
21626 /* end confdefs.h. */
21627 #include <termio.h>
21630 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21631 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21632 ac_cv_prog_gcc_traditional=yes
21638 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
21639 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
21640 if test $ac_cv_prog_gcc_traditional = yes; then
21641 CC="$CC -traditional"
21645 echo "$as_me:$LINENO: checking for working memcmp" >&5
21646 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
21647 if test "${ac_cv_func_memcmp_working+set}" = set; then
21648 echo $ECHO_N "(cached) $ECHO_C" >&6
21650 if test "$cross_compiling" = yes; then
21651 ac_cv_func_memcmp_working=no
21653 cat >conftest.$ac_ext <<_ACEOF
21654 #line $LINENO "configure"
21657 cat confdefs.h >>conftest.$ac_ext
21658 cat >>conftest.$ac_ext <<_ACEOF
21659 /* end confdefs.h. */
21665 /* Some versions of memcmp are not 8-bit clean. */
21666 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
21667 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
21670 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
21671 or more and with at least one buffer not starting on a 4-byte boundary.
21672 William Lewis provided this test program. */
21677 for (i = 0; i < 4; i++)
21681 strcpy (a, "--------01111111");
21682 strcpy (b, "--------10000000");
21683 if (memcmp (a, b, 16) >= 0)
21693 rm -f conftest$ac_exeext
21694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21695 (eval $ac_link) 2>&5
21697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21698 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21700 (eval $ac_try) 2>&5
21702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21703 (exit $ac_status); }; }; then
21704 ac_cv_func_memcmp_working=yes
21706 echo "$as_me: program exited with status $ac_status" >&5
21707 echo "$as_me: failed program was:" >&5
21708 sed 's/^/| /' conftest.$ac_ext >&5
21710 ( exit $ac_status )
21711 ac_cv_func_memcmp_working=no
21713 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21716 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
21717 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
21718 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
21722 for ac_header in stdlib.h unistd.h
21724 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21726 echo "$as_me:$LINENO: checking for $ac_header" >&5
21727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21729 echo $ECHO_N "(cached) $ECHO_C" >&6
21731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21734 # Is the header compilable?
21735 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21736 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21737 cat >conftest.$ac_ext <<_ACEOF
21738 #line $LINENO "configure"
21741 cat confdefs.h >>conftest.$ac_ext
21742 cat >>conftest.$ac_ext <<_ACEOF
21743 /* end confdefs.h. */
21744 $ac_includes_default
21745 #include <$ac_header>
21747 rm -f conftest.$ac_objext
21748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21749 (eval $ac_compile) 2>&5
21751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21752 (exit $ac_status); } &&
21753 { ac_try='test -s conftest.$ac_objext'
21754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21755 (eval $ac_try) 2>&5
21757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21758 (exit $ac_status); }; }; then
21759 ac_header_compiler=yes
21761 echo "$as_me: failed program was:" >&5
21762 sed 's/^/| /' conftest.$ac_ext >&5
21764 ac_header_compiler=no
21766 rm -f conftest.$ac_objext conftest.$ac_ext
21767 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21768 echo "${ECHO_T}$ac_header_compiler" >&6
21770 # Is the header present?
21771 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21772 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21773 cat >conftest.$ac_ext <<_ACEOF
21774 #line $LINENO "configure"
21777 cat confdefs.h >>conftest.$ac_ext
21778 cat >>conftest.$ac_ext <<_ACEOF
21779 /* end confdefs.h. */
21780 #include <$ac_header>
21782 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21783 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21785 grep -v '^ *+' conftest.er1 >conftest.err
21787 cat conftest.err >&5
21788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21789 (exit $ac_status); } >/dev/null; then
21790 if test -s conftest.err; then
21791 ac_cpp_err=$ac_c_preproc_warn_flag
21798 if test -z "$ac_cpp_err"; then
21799 ac_header_preproc=yes
21801 echo "$as_me: failed program was:" >&5
21802 sed 's/^/| /' conftest.$ac_ext >&5
21804 ac_header_preproc=no
21806 rm -f conftest.err conftest.$ac_ext
21807 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21808 echo "${ECHO_T}$ac_header_preproc" >&6
21810 # So? What about this header?
21811 case $ac_header_compiler:$ac_header_preproc in
21813 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21814 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21815 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21816 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21819 ## ------------------------------------ ##
21820 ## Report this to bug-autoconf@gnu.org. ##
21821 ## ------------------------------------ ##
21824 sed "s/^/$as_me: WARNING: /" >&2
21827 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21828 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21829 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21830 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21831 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21832 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21835 ## ------------------------------------ ##
21836 ## Report this to bug-autoconf@gnu.org. ##
21837 ## ------------------------------------ ##
21840 sed "s/^/$as_me: WARNING: /" >&2
21843 echo "$as_me:$LINENO: checking for $ac_header" >&5
21844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21846 echo $ECHO_N "(cached) $ECHO_C" >&6
21848 eval "$as_ac_Header=$ac_header_preproc"
21850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21851 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21854 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21855 cat >>confdefs.h <<_ACEOF
21856 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21864 for ac_func in getpagesize
21866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21867 echo "$as_me:$LINENO: checking for $ac_func" >&5
21868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21869 if eval "test \"\${$as_ac_var+set}\" = set"; then
21870 echo $ECHO_N "(cached) $ECHO_C" >&6
21872 cat >conftest.$ac_ext <<_ACEOF
21873 #line $LINENO "configure"
21876 cat confdefs.h >>conftest.$ac_ext
21877 cat >>conftest.$ac_ext <<_ACEOF
21878 /* end confdefs.h. */
21879 /* System header to define __stub macros and hopefully few prototypes,
21880 which can conflict with char $ac_func (); below.
21881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21882 <limits.h> exists even on freestanding compilers. */
21884 # include <limits.h>
21886 # include <assert.h>
21888 /* Override any gcc2 internal prototype to avoid an error. */
21893 /* We use char because int might match the return type of a gcc2
21894 builtin and then its argument prototype would still apply. */
21896 /* The GNU C library defines this for functions which it implements
21897 to always fail with ENOSYS. Some functions are actually named
21898 something starting with __ and the normal name is an alias. */
21899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21902 char (*f) () = $ac_func;
21911 return f != $ac_func;
21916 rm -f conftest.$ac_objext conftest$ac_exeext
21917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21918 (eval $ac_link) 2>&5
21920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21921 (exit $ac_status); } &&
21922 { ac_try='test -s conftest$ac_exeext'
21923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21924 (eval $ac_try) 2>&5
21926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21927 (exit $ac_status); }; }; then
21928 eval "$as_ac_var=yes"
21930 echo "$as_me: failed program was:" >&5
21931 sed 's/^/| /' conftest.$ac_ext >&5
21933 eval "$as_ac_var=no"
21935 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21937 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21938 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21939 if test `eval echo '${'$as_ac_var'}'` = yes; then
21940 cat >>confdefs.h <<_ACEOF
21941 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21947 echo "$as_me:$LINENO: checking for working mmap" >&5
21948 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
21949 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
21950 echo $ECHO_N "(cached) $ECHO_C" >&6
21952 if test "$cross_compiling" = yes; then
21953 ac_cv_func_mmap_fixed_mapped=no
21955 cat >conftest.$ac_ext <<_ACEOF
21956 #line $LINENO "configure"
21959 cat confdefs.h >>conftest.$ac_ext
21960 cat >>conftest.$ac_ext <<_ACEOF
21961 /* end confdefs.h. */
21962 $ac_includes_default
21963 /* malloc might have been renamed as rpl_malloc. */
21966 /* Thanks to Mike Haertel and Jim Avera for this test.
21967 Here is a matrix of mmap possibilities:
21968 mmap private not fixed
21969 mmap private fixed at somewhere currently unmapped
21970 mmap private fixed at somewhere already mapped
21971 mmap shared not fixed
21972 mmap shared fixed at somewhere currently unmapped
21973 mmap shared fixed at somewhere already mapped
21974 For private mappings, we should verify that changes cannot be read()
21975 back from the file, nor mmap's back from the file at a different
21976 address. (There have been systems where private was not correctly
21977 implemented like the infamous i386 svr4.0, and systems where the
21978 VM page cache was not coherent with the file system buffer cache
21979 like early versions of FreeBSD and possibly contemporary NetBSD.)
21980 For shared mappings, we should conversely verify that changes get
21981 propagated back to all the places they're supposed to be.
21983 Grep wants private fixed already mapped.
21984 The main things grep needs to know about mmap are:
21985 * does it exist and is it safe to write into the mmap'd area
21986 * how to use it (BSD variants) */
21989 #include <sys/mman.h>
21991 #if !STDC_HEADERS && !HAVE_STDLIB_H
21995 /* This mess was copied from the GNU getpagesize.h. */
21996 #if !HAVE_GETPAGESIZE
21997 /* Assume that all systems that can run configure have sys/param.h. */
21998 # if !HAVE_SYS_PARAM_H
21999 # define HAVE_SYS_PARAM_H 1
22002 # ifdef _SC_PAGESIZE
22003 # define getpagesize() sysconf(_SC_PAGESIZE)
22004 # else /* no _SC_PAGESIZE */
22005 # if HAVE_SYS_PARAM_H
22006 # include <sys/param.h>
22007 # ifdef EXEC_PAGESIZE
22008 # define getpagesize() EXEC_PAGESIZE
22009 # else /* no EXEC_PAGESIZE */
22011 # define getpagesize() NBPG * CLSIZE
22014 # endif /* no CLSIZE */
22015 # else /* no NBPG */
22017 # define getpagesize() NBPC
22018 # else /* no NBPC */
22020 # define getpagesize() PAGESIZE
22021 # endif /* PAGESIZE */
22022 # endif /* no NBPC */
22023 # endif /* no NBPG */
22024 # endif /* no EXEC_PAGESIZE */
22025 # else /* no HAVE_SYS_PARAM_H */
22026 # define getpagesize() 8192 /* punt totally */
22027 # endif /* no HAVE_SYS_PARAM_H */
22028 # endif /* no _SC_PAGESIZE */
22030 #endif /* no HAVE_GETPAGESIZE */
22035 char *data, *data2, *data3;
22039 pagesize = getpagesize ();
22041 /* First, make a file with some known garbage in it. */
22042 data = (char *) malloc (pagesize);
22045 for (i = 0; i < pagesize; ++i)
22046 *(data + i) = rand ();
22048 fd = creat ("conftest.mmap", 0600);
22051 if (write (fd, data, pagesize) != pagesize)
22055 /* Next, try to mmap the file at a fixed address which already has
22056 something else allocated at it. If we can, also make sure that
22057 we see the same garbage. */
22058 fd = open ("conftest.mmap", O_RDWR);
22061 data2 = (char *) malloc (2 * pagesize);
22064 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
22065 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22066 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22068 for (i = 0; i < pagesize; ++i)
22069 if (*(data + i) != *(data2 + i))
22072 /* Finally, make sure that changes to the mapped area do not
22073 percolate back to the file as seen by read(). (This is a bug on
22074 some variants of i386 svr4.0.) */
22075 for (i = 0; i < pagesize; ++i)
22076 *(data2 + i) = *(data2 + i) + 1;
22077 data3 = (char *) malloc (pagesize);
22080 if (read (fd, data3, pagesize) != pagesize)
22082 for (i = 0; i < pagesize; ++i)
22083 if (*(data + i) != *(data3 + i))
22089 rm -f conftest$ac_exeext
22090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22091 (eval $ac_link) 2>&5
22093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22094 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22096 (eval $ac_try) 2>&5
22098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22099 (exit $ac_status); }; }; then
22100 ac_cv_func_mmap_fixed_mapped=yes
22102 echo "$as_me: program exited with status $ac_status" >&5
22103 echo "$as_me: failed program was:" >&5
22104 sed 's/^/| /' conftest.$ac_ext >&5
22106 ( exit $ac_status )
22107 ac_cv_func_mmap_fixed_mapped=no
22109 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22112 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22113 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22114 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22116 cat >>confdefs.h <<\_ACEOF
22117 #define HAVE_MMAP 1
22121 rm -f conftest.mmap
22123 echo "$as_me:$LINENO: checking for mmap of files" >&5
22124 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6
22125 if test "${ac_cv_func_mmap_file+set}" = set; then
22126 echo $ECHO_N "(cached) $ECHO_C" >&6
22131 ac_cpp='$CPP $CPPFLAGS'
22132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22136 if test "$cross_compiling" = yes; then
22137 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22138 See \`config.log' for more details." >&5
22139 echo "$as_me: error: cannot run test program while cross compiling
22140 See \`config.log' for more details." >&2;}
22141 { (exit 1); exit 1; }; }
22143 cat >conftest.$ac_ext <<_ACEOF
22144 #line $LINENO "configure"
22147 cat confdefs.h >>conftest.$ac_ext
22148 cat >>conftest.$ac_ext <<_ACEOF
22149 /* end confdefs.h. */
22151 #ifdef HAVE_SYS_MMAN_H
22152 #include <sys/mman.h>
22155 #ifdef HAVE_SYS_TYPES_H
22156 #include <sys/types.h>
22159 #ifdef HAVE_FCNTL_H
22165 fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != MAP_FAILED);}
22167 rm -f conftest$ac_exeext
22168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22169 (eval $ac_link) 2>&5
22171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22172 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22174 (eval $ac_try) 2>&5
22176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22177 (exit $ac_status); }; }; then
22178 ac_cv_func_mmap_file=yes
22180 echo "$as_me: program exited with status $ac_status" >&5
22181 echo "$as_me: failed program was:" >&5
22182 sed 's/^/| /' conftest.$ac_ext >&5
22184 ( exit $ac_status )
22185 ac_cv_func_mmap_file=no
22187 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22190 ac_cpp='$CPP $CPPFLAGS'
22191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22197 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
22198 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
22199 if test "$ac_cv_func_mmap_file" = yes; then
22200 cat >>confdefs.h <<\_ACEOF
22201 #define HAVE_MMAP_FILE 1
22208 if test ${ac_cv_func_mmap_file} = "no"
22210 { { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5
22211 echo "$as_me: error: mmap() of files required but not found" >&2;}
22212 { (exit 1); exit 1; }; }
22214 echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
22215 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6
22216 if test "${ac_cv_header_mmap_anon+set}" = set; then
22217 echo $ECHO_N "(cached) $ECHO_C" >&6
22222 ac_cpp='$CPP $CPPFLAGS'
22223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22227 cat >conftest.$ac_ext <<_ACEOF
22228 #line $LINENO "configure"
22231 cat confdefs.h >>conftest.$ac_ext
22232 cat >>conftest.$ac_ext <<_ACEOF
22233 /* end confdefs.h. */
22234 #include <sys/mman.h>
22235 #include <unistd.h>
22240 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
22245 rm -f conftest.$ac_objext
22246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22247 (eval $ac_compile) 2>&5
22249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22250 (exit $ac_status); } &&
22251 { ac_try='test -s conftest.$ac_objext'
22252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22253 (eval $ac_try) 2>&5
22255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22256 (exit $ac_status); }; }; then
22257 ac_cv_header_mmap_anon=yes
22259 echo "$as_me: failed program was:" >&5
22260 sed 's/^/| /' conftest.$ac_ext >&5
22262 ac_cv_header_mmap_anon=no
22264 rm -f conftest.$ac_objext conftest.$ac_ext
22266 ac_cpp='$CPP $CPPFLAGS'
22267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22273 echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
22274 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6
22275 if test "$ac_cv_header_mmap_anon" = yes; then
22276 cat >>confdefs.h <<\_ACEOF
22277 #define HAVE_MMAP_ANONYMOUS 1
22282 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
22283 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
22284 if test "${ac_cv_type_signal+set}" = set; then
22285 echo $ECHO_N "(cached) $ECHO_C" >&6
22287 cat >conftest.$ac_ext <<_ACEOF
22288 #line $LINENO "configure"
22291 cat confdefs.h >>conftest.$ac_ext
22292 cat >>conftest.$ac_ext <<_ACEOF
22293 /* end confdefs.h. */
22294 #include <sys/types.h>
22295 #include <signal.h>
22300 extern "C" void (*signal (int, void (*)(int)))(int);
22302 void (*signal ()) ();
22313 rm -f conftest.$ac_objext
22314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22315 (eval $ac_compile) 2>&5
22317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22318 (exit $ac_status); } &&
22319 { ac_try='test -s conftest.$ac_objext'
22320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22321 (eval $ac_try) 2>&5
22323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22324 (exit $ac_status); }; }; then
22325 ac_cv_type_signal=void
22327 echo "$as_me: failed program was:" >&5
22328 sed 's/^/| /' conftest.$ac_ext >&5
22330 ac_cv_type_signal=int
22332 rm -f conftest.$ac_objext conftest.$ac_ext
22334 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
22335 echo "${ECHO_T}$ac_cv_type_signal" >&6
22337 cat >>confdefs.h <<_ACEOF
22338 #define RETSIGTYPE $ac_cv_type_signal
22351 for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol
22353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22354 echo "$as_me:$LINENO: checking for $ac_func" >&5
22355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22356 if eval "test \"\${$as_ac_var+set}\" = set"; then
22357 echo $ECHO_N "(cached) $ECHO_C" >&6
22359 cat >conftest.$ac_ext <<_ACEOF
22360 #line $LINENO "configure"
22363 cat confdefs.h >>conftest.$ac_ext
22364 cat >>conftest.$ac_ext <<_ACEOF
22365 /* end confdefs.h. */
22366 /* System header to define __stub macros and hopefully few prototypes,
22367 which can conflict with char $ac_func (); below.
22368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22369 <limits.h> exists even on freestanding compilers. */
22371 # include <limits.h>
22373 # include <assert.h>
22375 /* Override any gcc2 internal prototype to avoid an error. */
22380 /* We use char because int might match the return type of a gcc2
22381 builtin and then its argument prototype would still apply. */
22383 /* The GNU C library defines this for functions which it implements
22384 to always fail with ENOSYS. Some functions are actually named
22385 something starting with __ and the normal name is an alias. */
22386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22389 char (*f) () = $ac_func;
22398 return f != $ac_func;
22403 rm -f conftest.$ac_objext conftest$ac_exeext
22404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22405 (eval $ac_link) 2>&5
22407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22408 (exit $ac_status); } &&
22409 { ac_try='test -s conftest$ac_exeext'
22410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22411 (eval $ac_try) 2>&5
22413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22414 (exit $ac_status); }; }; then
22415 eval "$as_ac_var=yes"
22417 echo "$as_me: failed program was:" >&5
22418 sed 's/^/| /' conftest.$ac_ext >&5
22420 eval "$as_ac_var=no"
22422 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22426 if test `eval echo '${'$as_ac_var'}'` = yes; then
22427 cat >>confdefs.h <<_ACEOF
22428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22436 echo "$as_me:$LINENO: checking for mmap" >&5
22437 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
22438 if test "${ac_cv_func_mmap+set}" = set; then
22439 echo $ECHO_N "(cached) $ECHO_C" >&6
22441 cat >conftest.$ac_ext <<_ACEOF
22442 #line $LINENO "configure"
22445 cat confdefs.h >>conftest.$ac_ext
22446 cat >>conftest.$ac_ext <<_ACEOF
22447 /* end confdefs.h. */
22448 /* System header to define __stub macros and hopefully few prototypes,
22449 which can conflict with char mmap (); below.
22450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22451 <limits.h> exists even on freestanding compilers. */
22453 # include <limits.h>
22455 # include <assert.h>
22457 /* Override any gcc2 internal prototype to avoid an error. */
22462 /* We use char because int might match the return type of a gcc2
22463 builtin and then its argument prototype would still apply. */
22465 /* The GNU C library defines this for functions which it implements
22466 to always fail with ENOSYS. Some functions are actually named
22467 something starting with __ and the normal name is an alias. */
22468 #if defined (__stub_mmap) || defined (__stub___mmap)
22471 char (*f) () = mmap;
22485 rm -f conftest.$ac_objext conftest$ac_exeext
22486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22487 (eval $ac_link) 2>&5
22489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22490 (exit $ac_status); } &&
22491 { ac_try='test -s conftest$ac_exeext'
22492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22493 (eval $ac_try) 2>&5
22495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22496 (exit $ac_status); }; }; then
22497 ac_cv_func_mmap=yes
22499 echo "$as_me: failed program was:" >&5
22500 sed 's/^/| /' conftest.$ac_ext >&5
22504 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22506 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
22507 echo "${ECHO_T}$ac_cv_func_mmap" >&6
22508 if test $ac_cv_func_mmap = yes; then
22511 { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5
22512 echo "$as_me: error: Function mmap() required but not found" >&2;}
22513 { (exit 1); exit 1; }; }
22516 echo "$as_me:$LINENO: checking for mprotect" >&5
22517 echo $ECHO_N "checking for mprotect... $ECHO_C" >&6
22518 if test "${ac_cv_func_mprotect+set}" = set; then
22519 echo $ECHO_N "(cached) $ECHO_C" >&6
22521 cat >conftest.$ac_ext <<_ACEOF
22522 #line $LINENO "configure"
22525 cat confdefs.h >>conftest.$ac_ext
22526 cat >>conftest.$ac_ext <<_ACEOF
22527 /* end confdefs.h. */
22528 /* System header to define __stub macros and hopefully few prototypes,
22529 which can conflict with char mprotect (); below.
22530 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22531 <limits.h> exists even on freestanding compilers. */
22533 # include <limits.h>
22535 # include <assert.h>
22537 /* Override any gcc2 internal prototype to avoid an error. */
22542 /* We use char because int might match the return type of a gcc2
22543 builtin and then its argument prototype would still apply. */
22545 /* The GNU C library defines this for functions which it implements
22546 to always fail with ENOSYS. Some functions are actually named
22547 something starting with __ and the normal name is an alias. */
22548 #if defined (__stub_mprotect) || defined (__stub___mprotect)
22551 char (*f) () = mprotect;
22560 return f != mprotect;
22565 rm -f conftest.$ac_objext conftest$ac_exeext
22566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22567 (eval $ac_link) 2>&5
22569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22570 (exit $ac_status); } &&
22571 { ac_try='test -s conftest$ac_exeext'
22572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22573 (eval $ac_try) 2>&5
22575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576 (exit $ac_status); }; }; then
22577 ac_cv_func_mprotect=yes
22579 echo "$as_me: failed program was:" >&5
22580 sed 's/^/| /' conftest.$ac_ext >&5
22582 ac_cv_func_mprotect=no
22584 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22586 echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
22587 echo "${ECHO_T}$ac_cv_func_mprotect" >&6
22588 if test $ac_cv_func_mprotect = yes; then
22591 { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5
22592 echo "$as_me: error: Function mprotect() required but not found" >&2;}
22593 { (exit 1); exit 1; }; }
22598 # Check whether --enable-purify or --disable-purify was given.
22599 if test "${enable_purify+set}" = set; then
22600 enableval="$enable_purify"
22605 if test ${enableval} = "no"
22610 ENABLE_PURIFY=ENABLE_PURIFY=1
22614 # Check whether --enable-optimized or --disable-optimized was given.
22615 if test "${enable_optimized+set}" = set; then
22616 enableval="$enable_optimized"
22621 if test ${enableval} = "no"
22626 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
22630 # Check whether --enable-spec or --disable-spec was given.
22631 if test "${enable_spec+set}" = set; then
22632 enableval="$enable_spec"
22637 if test ${enableval} = "no"
22642 USE_SPEC=USE_SPEC=1
22646 # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given.
22647 if test "${enable_precompiled_bytecode+set}" = set; then
22648 enableval="$enable_precompiled_bytecode"
22653 if test ${enableval} = "no"
22658 UPB=USE_PRECOMPILED_BYTECODE=1
22663 # Check whether --enable-llc_diffs or --disable-llc_diffs was given.
22664 if test "${enable_llc_diffs+set}" = set; then
22665 enableval="$enable_llc_diffs"
22670 if test ${enableval} = "no"
22672 DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1
22679 # Check whether --enable-jit or --disable-jit was given.
22680 if test "${enable_jit+set}" = set; then
22681 enableval="$enable_jit"
22687 if test ${enableval} = "no"
22694 JIT=TARGET_HAS_JIT=1
22698 JIT=TARGET_HAS_JIT=1
22710 # Check whether --with-spec or --without-spec was given.
22711 if test "${with_spec+set}" = set; then
22712 withval="$with_spec"
22716 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22721 # Check whether --with-llvmgccdir or --without-llvmgccdir was given.
22722 if test "${with_llvmgccdir+set}" = set; then
22723 withval="$with_llvmgccdir"
22724 LLVMGCCDIR=$withval
22729 # Check whether --with-bcrepos or --without-bcrepos was given.
22730 if test "${with_bcrepos+set}" = set; then
22731 withval="$with_bcrepos"
22735 BCR=/home/vadve/lattner/LLVMPrograms
22740 # Check whether --with-papi or --without-papi was given.
22741 if test "${with_papi+set}" = set; then
22742 withval="$with_papi"
22746 PAPIDIR=/home/vadve/shared/Sparc/papi-2.3.4.1
22751 # Check whether --with-purify or --without-purify was given.
22752 if test "${with_purify+set}" = set; then
22753 withval="$with_purify"
22759 ac_config_files="$ac_config_files Makefile.config"
22760 cat >confcache <<\_ACEOF
22761 # This file is a shell script that caches the results of configure
22762 # tests run on this system so they can be shared between configure
22763 # scripts and configure runs, see configure's option --config-cache.
22764 # It is not useful on other systems. If it contains results you don't
22765 # want to keep, you may remove or edit it.
22767 # config.status only pays attention to the cache file if you give it
22768 # the --recheck option to rerun configure.
22770 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22771 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22772 # following values.
22776 # The following way of writing the cache mishandles newlines in values,
22777 # but we know of no workaround that is simple, portable, and efficient.
22778 # So, don't put newlines in cache variables' values.
22779 # Ultrix sh set writes to stderr and can't be redirected directly,
22780 # and sets the high bit in the cache file unless we assign to the vars.
22783 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22785 # `set' does not quote correctly, so add quotes (double-quote
22786 # substitution turns \\\\ into \\, and sed turns \\ into \).
22789 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22792 # `set' quotes correctly as required by POSIX, so do not add quotes.
22794 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22801 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22803 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22805 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22806 if test -w $cache_file; then
22807 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22808 cat confcache >$cache_file
22810 echo "not updating unwritable cache $cache_file"
22815 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22816 # Let make expand exec_prefix.
22817 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22819 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22820 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22821 # trailing colons and then remove the whole line if VPATH becomes empty
22822 # (actually we leave an empty line to preserve line numbers).
22823 if test "x$srcdir" = x.; then
22824 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22825 s/:*\$(srcdir):*/:/;
22826 s/:*\${srcdir}:*/:/;
22828 s/^\([^=]*=[ ]*\):*/\1/;
22834 DEFS=-DHAVE_CONFIG_H
22838 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22839 # 1. Remove the extension, and $U if already installed.
22840 ac_i=`echo "$ac_i" |
22841 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22843 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
22844 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
22846 LIBOBJS=$ac_libobjs
22848 LTLIBOBJS=$ac_ltlibobjs
22852 : ${CONFIG_STATUS=./config.status}
22853 ac_clean_files_save=$ac_clean_files
22854 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22855 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22856 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22857 cat >$CONFIG_STATUS <<_ACEOF
22859 # Generated by $as_me.
22860 # Run this file to recreate the current configuration.
22861 # Compiler output produced by configure, useful for debugging
22862 # configure, is in config.log if it exists.
22865 ac_cs_recheck=false
22867 SHELL=\${CONFIG_SHELL-$SHELL}
22870 cat >>$CONFIG_STATUS <<\_ACEOF
22871 ## --------------------- ##
22872 ## M4sh Initialization. ##
22873 ## --------------------- ##
22875 # Be Bourne compatible
22876 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22879 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22880 # is contrary to our usage. Disable this feature.
22881 alias -g '${1+"$@"}'='"$@"'
22882 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22886 # Support unset when possible.
22887 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
22894 # Work around bugs in pre-3.0 UWIN ksh.
22895 $as_unset ENV MAIL MAILPATH
22902 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22903 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22904 LC_TELEPHONE LC_TIME
22906 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
22907 eval $as_var=C; export $as_var
22913 # Required to use basename.
22914 if expr a : '\(a\)' >/dev/null 2>&1; then
22920 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
22921 as_basename=basename
22927 # Name of the executable.
22928 as_me=`$as_basename "$0" ||
22929 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22930 X"$0" : 'X\(//\)$' \| \
22931 X"$0" : 'X\(/\)$' \| \
22932 . : '\(.\)' 2>/dev/null ||
22934 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22935 /^X\/\(\/\/\)$/{ s//\1/; q; }
22936 /^X\/\(\/\).*/{ s//\1/; q; }
22940 # PATH needs CR, and LINENO needs CR and PATH.
22941 # Avoid depending upon Character Ranges.
22942 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22943 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22944 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22945 as_cr_digits='0123456789'
22946 as_cr_alnum=$as_cr_Letters$as_cr_digits
22948 # The user is always right.
22949 if test "${PATH_SEPARATOR+set}" != set; then
22950 echo "#! /bin/sh" >conf$$.sh
22951 echo "exit 0" >>conf$$.sh
22953 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22962 as_lineno_1=$LINENO
22963 as_lineno_2=$LINENO
22964 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22965 test "x$as_lineno_1" != "x$as_lineno_2" &&
22966 test "x$as_lineno_3" = "x$as_lineno_2" || {
22967 # Find who we are. Look in the path if we contain no path at all
22970 *[\\/]* ) as_myself=$0 ;;
22971 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22972 for as_dir in $PATH
22975 test -z "$as_dir" && as_dir=.
22976 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22981 # We did not find ourselves, most probably we were run as `sh COMMAND'
22982 # in which case we are not to be found in the path.
22983 if test "x$as_myself" = x; then
22986 if test ! -f "$as_myself"; then
22987 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22988 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22989 { (exit 1); exit 1; }; }
22991 case $CONFIG_SHELL in
22993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22994 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
22997 test -z "$as_dir" && as_dir=.
22998 for as_base in sh bash ksh sh5; do
23001 if ("$as_dir/$as_base" -c '
23002 as_lineno_1=$LINENO
23003 as_lineno_2=$LINENO
23004 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23005 test "x$as_lineno_1" != "x$as_lineno_2" &&
23006 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
23007 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23008 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23009 CONFIG_SHELL=$as_dir/$as_base
23010 export CONFIG_SHELL
23011 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23019 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23020 # uniformly replaced by the line number. The first 'sed' inserts a
23021 # line-number line before each line; the second 'sed' does the real
23022 # work. The second script uses 'N' to pair each line-number line
23023 # with the numbered line, and appends trailing '-' during
23024 # substitution so that $LINENO is not a special case at line end.
23025 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23026 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23027 sed '=' <$as_myself |
23032 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23035 s,^['$as_cr_digits']*\n,,
23036 ' >$as_me.lineno &&
23037 chmod +x $as_me.lineno ||
23038 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23039 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23040 { (exit 1); exit 1; }; }
23042 # Don't try to exec as it changes $[0], causing all sort of problems
23043 # (the dirname of $[0] is not the place where we might find the
23044 # original and so on. Autoconf is especially sensible to this).
23046 # Exit status is that of the last command.
23051 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23052 *c*,-n*) ECHO_N= ECHO_C='
23054 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23055 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23058 if expr a : '\(a\)' >/dev/null 2>&1; then
23064 rm -f conf$$ conf$$.exe conf$$.file
23066 if ln -s conf$$.file conf$$ 2>/dev/null; then
23067 # We could just check for DJGPP; but this test a) works b) is more generic
23068 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23069 if test -f conf$$.exe; then
23070 # Don't use ln at all; we don't have any links
23075 elif ln conf$$.file conf$$ 2>/dev/null; then
23080 rm -f conf$$ conf$$.exe conf$$.file
23082 if mkdir -p . 2>/dev/null; then
23088 as_executable_p="test -f"
23090 # Sed expression to map a string onto a valid CPP name.
23091 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23093 # Sed expression to map a string onto a valid variable name.
23094 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
23098 # We need space, tab and new line, in precisely that order.
23108 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23109 # report actual input values of CONFIG_FILES etc. instead of their
23110 # values after options handling. Logging --version etc. is OK.
23114 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23115 ## Running $as_me. ##
23120 This file was extended by [LLVM] $as_me [1.0], which was
23121 generated by GNU Autoconf 2.57. Invocation command line was
23123 CONFIG_FILES = $CONFIG_FILES
23124 CONFIG_HEADERS = $CONFIG_HEADERS
23125 CONFIG_LINKS = $CONFIG_LINKS
23126 CONFIG_COMMANDS = $CONFIG_COMMANDS
23130 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23134 # Files that config.status was made for.
23135 if test -n "$ac_config_files"; then
23136 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23139 if test -n "$ac_config_headers"; then
23140 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23143 if test -n "$ac_config_links"; then
23144 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23147 if test -n "$ac_config_commands"; then
23148 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23151 cat >>$CONFIG_STATUS <<\_ACEOF
23154 \`$as_me' instantiates files from templates according to the
23155 current configuration.
23157 Usage: $0 [OPTIONS] [FILE]...
23159 -h, --help print this help, then exit
23160 -V, --version print version number, then exit
23161 -q, --quiet do not print progress messages
23162 -d, --debug don't remove temporary files
23163 --recheck update $as_me by reconfiguring in the same conditions
23164 --file=FILE[:TEMPLATE]
23165 instantiate the configuration file FILE
23166 --header=FILE[:TEMPLATE]
23167 instantiate the configuration header FILE
23169 Configuration files:
23172 Configuration headers:
23175 Configuration commands:
23178 Report bugs to <bug-autoconf@gnu.org>."
23181 cat >>$CONFIG_STATUS <<_ACEOF
23183 [LLVM] config.status [1.0]
23184 configured by $0, generated by GNU Autoconf 2.57,
23185 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23187 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
23188 Free Software Foundation, Inc.
23189 This config.status script is free software; the Free Software Foundation
23190 gives unlimited permission to copy, distribute and modify it."
23195 cat >>$CONFIG_STATUS <<\_ACEOF
23196 # If no file are specified by the user, then we need to provide default
23197 # value. By we need to know if files were specified by the user.
23203 ac_option=`expr "x$1" : 'x\([^=]*\)='`
23204 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23212 *) # This is not an option, so the user has probably given explicit
23215 ac_need_defaults=false;;
23219 # Handling of the options.
23221 cat >>$CONFIG_STATUS <<\_ACEOF
23222 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23224 --version | --vers* | -V )
23225 echo "$ac_cs_version"; exit 0 ;;
23227 # Conflict between --help and --header
23228 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23229 Try \`$0 --help' for more information." >&5
23230 echo "$as_me: error: ambiguous option: $1
23231 Try \`$0 --help' for more information." >&2;}
23232 { (exit 1); exit 1; }; };;
23233 --help | --hel | -h )
23234 echo "$ac_cs_usage"; exit 0 ;;
23235 --debug | --d* | -d )
23237 --file | --fil | --fi | --f )
23239 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23240 ac_need_defaults=false;;
23241 --header | --heade | --head | --hea )
23243 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23244 ac_need_defaults=false;;
23245 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23246 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23249 # This is an error.
23250 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23251 Try \`$0 --help' for more information." >&5
23252 echo "$as_me: error: unrecognized option: $1
23253 Try \`$0 --help' for more information." >&2;}
23254 { (exit 1); exit 1; }; } ;;
23256 *) ac_config_targets="$ac_config_targets $1" ;;
23262 ac_configure_extra_args=
23264 if $ac_cs_silent; then
23266 ac_configure_extra_args="$ac_configure_extra_args --silent"
23270 cat >>$CONFIG_STATUS <<_ACEOF
23271 if \$ac_cs_recheck; then
23272 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23273 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23278 cat >>$CONFIG_STATUS <<_ACEOF
23280 # INIT-COMMANDS section.
23283 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
23284 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common`
23285 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.rules`
23286 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
23287 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/Makefile`
23288 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/DataStructure/Makefile`
23289 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/IPA/Makefile`
23290 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/LiveVar/Makefile`
23291 ${srcdir}/autoconf/mkinstalldirs `dirname lib/AsmParser/Makefile`
23292 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Makefile`
23293 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Reader/Makefile`
23294 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Writer/Makefile`
23295 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CWriter/Makefile`
23296 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/Makefile`
23297 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSched/Makefile`
23298 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSelection/Makefile`
23299 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/ModuloScheduling/Makefile`
23300 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/RegAlloc/Makefile`
23301 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/SelectionDAG/Makefile`
23302 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Makefile`
23303 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Interpreter/Makefile`
23304 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/JIT/Makefile`
23305 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Support/Makefile`
23306 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Makefile`
23307 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Sparc/Makefile`
23308 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/X86/Makefile`
23309 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Makefile`
23310 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Hello/Makefile`
23311 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/IPO/Makefile`
23312 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/Makefile`
23313 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/ProfilePaths/Makefile`
23314 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Scalar/Makefile`
23315 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Utils/Makefile`
23316 ${srcdir}/autoconf/mkinstalldirs `dirname lib/VMCore/Makefile`
23317 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile`
23318 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/Makefile`
23319 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/crtend/Makefile`
23320 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libc/Makefile`
23321 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libcurses/Makefile`
23322 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libg/Makefile`
23323 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libgcc/Makefile`
23324 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libm/Makefile`
23325 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libmalloc/Makefile`
23326 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libtermcap/Makefile`
23327 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libucb/Makefile`
23328 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutempter/Makefile`
23329 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutil/Makefile`
23330 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libdummy/Makefile`
23331 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libtrace/Makefile`
23332 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile`
23333 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests`
23334 ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTestDB/QMTest/llvm.py`
23335 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile`
23336 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.programs`
23337 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.Makefile`
23338 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.report`
23339 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.report`
23340 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.report`
23341 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.example.Makefile`
23342 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.Makefile`
23343 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.buildrepo.Makefile`
23344 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.Makefile`
23345 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.report`
23346 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.Makefile`
23347 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.report`
23348 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.typesafe.Makefile`
23349 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.gnuplot`
23350 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.Makefile`
23351 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/Makefile`
23352 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile`
23353 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile.spec`
23354 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/Makefile`
23355 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/179.art/Makefile`
23356 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/183.equake/Makefile`
23357 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/188.ammp/Makefile`
23358 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/Makefile`
23359 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/164.gzip/Makefile`
23360 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/175.vpr/Makefile`
23361 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/176.gcc/Makefile`
23362 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/181.mcf/Makefile`
23363 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/186.crafty/Makefile`
23364 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/197.parser/Makefile`
23365 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/254.gap/Makefile`
23366 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/255.vortex/Makefile`
23367 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile`
23368 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/300.twolf/Makefile`
23369 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/LLVMSource/Makefile`
23370 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile`
23371 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile.multisrc`
23372 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Makefile`
23373 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Burg/Makefile`
23374 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/aha/Makefile`
23375 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/sgefa/Makefile`
23376 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Makefile`
23377 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile`
23378 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/Makefile`
23379 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile`
23380 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile`
23381 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile`
23382 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile`
23383 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile`
23384 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile`
23385 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile`
23386 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile`
23387 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile`
23388 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile`
23389 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/Makefile`
23390 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile`
23391 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile`
23392 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile`
23393 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/health/Makefile`
23394 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile`
23395 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile`
23396 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/power/Makefile`
23397 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile`
23398 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile`
23399 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile`
23400 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile`
23401 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile`
23402 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile`
23403 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile`
23404 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile`
23405 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile`
23406 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile`
23407 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile`
23408 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/sim/Makefile`
23409 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Makefile`
23410 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Flex/Makefile`
23411 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Larn/Makefile`
23412 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Moria-5.5.2/Makefile`
23413 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Povray31/Makefile`
23414 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/m4/Makefile`
23415 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile`
23416 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile.singlesrc`
23417 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Gizmos/Makefile`
23418 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Makefile`
23419 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile`
23420 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Shootout/Makefile`
23421 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Stanford/Makefile`
23422 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Misc/Makefile`
23423 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/CustomChecked/Makefile`
23424 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/Makefile`
23425 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile`
23426 ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
23427 ${srcdir}/autoconf/mkinstalldirs `dirname tools/analyze/Makefile`
23428 ${srcdir}/autoconf/mkinstalldirs `dirname tools/bugpoint/Makefile`
23429 ${srcdir}/autoconf/mkinstalldirs `dirname tools/extract/Makefile`
23430 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccas/Makefile`
23431 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccld/Makefile`
23432 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llc/Makefile`
23433 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llee/Makefile`
23434 ${srcdir}/autoconf/mkinstalldirs `dirname tools/lli/Makefile`
23435 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-ar/Makefile`
23436 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-as/Makefile`
23437 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-dis/Makefile`
23438 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-link/Makefile`
23439 ${srcdir}/autoconf/mkinstalldirs `dirname tools/opt/Makefile`
23440 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Makefile`
23441 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Makefile`
23442 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Doc/Makefile`
23443 ${srcdir}/autoconf/mkinstalldirs `dirname utils/TableGen/Makefile`
23444 ${srcdir}/autoconf/mkinstalldirs `dirname www/docs/Makefile`
23445 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile`
23446 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile`
23447 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.common`
23448 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.config`
23449 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/Makefile`
23450 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/sample/Makefile`
23451 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/Makefile`
23452 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/sample/Makefile`
23453 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile`
23454 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile.common`
23455 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/Makefile`
23456 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/ModuleMaker/Makefile`
23462 cat >>$CONFIG_STATUS <<\_ACEOF
23463 for ac_config_target in $ac_config_targets
23465 case "$ac_config_target" in
23466 # Handling of arguments.
23467 "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
23468 "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23469 "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;;
23470 "Makefile.rules" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.rules" ;;
23471 "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
23472 "lib/Analysis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/Makefile" ;;
23473 "lib/Analysis/DataStructure/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/DataStructure/Makefile" ;;
23474 "lib/Analysis/IPA/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/IPA/Makefile" ;;
23475 "lib/Analysis/LiveVar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/LiveVar/Makefile" ;;
23476 "lib/AsmParser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/AsmParser/Makefile" ;;
23477 "lib/Bytecode/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Makefile" ;;
23478 "lib/Bytecode/Reader/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Reader/Makefile" ;;
23479 "lib/Bytecode/Writer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Writer/Makefile" ;;
23480 "lib/CWriter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CWriter/Makefile" ;;
23481 "lib/CodeGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/Makefile" ;;
23482 "lib/CodeGen/InstrSched/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSched/Makefile" ;;
23483 "lib/CodeGen/InstrSelection/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSelection/Makefile" ;;
23484 "lib/CodeGen/ModuloScheduling/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/ModuloScheduling/Makefile" ;;
23485 "lib/CodeGen/RegAlloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/RegAlloc/Makefile" ;;
23486 "lib/CodeGen/SelectionDAG/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/SelectionDAG/Makefile" ;;
23487 "lib/ExecutionEngine/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Makefile" ;;
23488 "lib/ExecutionEngine/Interpreter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Interpreter/Makefile" ;;
23489 "lib/ExecutionEngine/JIT/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/JIT/Makefile" ;;
23490 "lib/Support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Support/Makefile" ;;
23491 "lib/Target/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Makefile" ;;
23492 "lib/Target/Sparc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Sparc/Makefile" ;;
23493 "lib/Target/X86/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/X86/Makefile" ;;
23494 "lib/Transforms/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Makefile" ;;
23495 "lib/Transforms/Hello/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Hello/Makefile" ;;
23496 "lib/Transforms/IPO/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/IPO/Makefile" ;;
23497 "lib/Transforms/Instrumentation/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/Makefile" ;;
23498 "lib/Transforms/Instrumentation/ProfilePaths/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/ProfilePaths/Makefile" ;;
23499 "lib/Transforms/Scalar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Scalar/Makefile" ;;
23500 "lib/Transforms/Utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Utils/Makefile" ;;
23501 "lib/VMCore/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/VMCore/Makefile" ;;
23502 "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;;
23503 "runtime/GCCLibraries/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/Makefile" ;;
23504 "runtime/GCCLibraries/crtend/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/crtend/Makefile" ;;
23505 "runtime/GCCLibraries/libc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libc/Makefile" ;;
23506 "runtime/GCCLibraries/libcurses/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libcurses/Makefile" ;;
23507 "runtime/GCCLibraries/libg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libg/Makefile" ;;
23508 "runtime/GCCLibraries/libgcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libgcc/Makefile" ;;
23509 "runtime/GCCLibraries/libm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libm/Makefile" ;;
23510 "runtime/GCCLibraries/libmalloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libmalloc/Makefile" ;;
23511 "runtime/GCCLibraries/libtermcap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libtermcap/Makefile" ;;
23512 "runtime/GCCLibraries/libucb/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libucb/Makefile" ;;
23513 "runtime/GCCLibraries/libutempter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutempter/Makefile" ;;
23514 "runtime/GCCLibraries/libutil/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutil/Makefile" ;;
23515 "runtime/libdummy/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libdummy/Makefile" ;;
23516 "runtime/libtrace/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libtrace/Makefile" ;;
23517 "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;;
23518 "test/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile.tests" ;;
23519 "test/QMTestDB/QMTest/llvm.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTestDB/QMTest/llvm.py" ;;
23520 "test/Programs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile" ;;
23521 "test/Programs/Makefile.programs" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.programs" ;;
23522 "test/Programs/TEST.aa.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.Makefile" ;;
23523 "test/Programs/TEST.dsgraph.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.report" ;;
23524 "test/Programs/TEST.micro.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.report" ;;
23525 "test/Programs/TEST.aa.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.report" ;;
23526 "test/Programs/TEST.example.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.example.Makefile" ;;
23527 "test/Programs/TEST.nightly.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.Makefile" ;;
23528 "test/Programs/TEST.buildrepo.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.buildrepo.Makefile" ;;
23529 "test/Programs/TEST.jit.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.Makefile" ;;
23530 "test/Programs/TEST.nightly.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.report" ;;
23531 "test/Programs/TEST.dsgraph.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.Makefile" ;;
23532 "test/Programs/TEST.jit.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.report" ;;
23533 "test/Programs/TEST.typesafe.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.typesafe.Makefile" ;;
23534 "test/Programs/TEST.dsgraph.gnuplot" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.gnuplot" ;;
23535 "test/Programs/TEST.micro.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.Makefile" ;;
23536 "test/Programs/External/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/Makefile" ;;
23537 "test/Programs/External/SPEC/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile" ;;
23538 "test/Programs/External/SPEC/Makefile.spec" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile.spec" ;;
23539 "test/Programs/External/SPEC/CFP2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/Makefile" ;;
23540 "test/Programs/External/SPEC/CFP2000/179.art/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/179.art/Makefile" ;;
23541 "test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ;;
23542 "test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ;;
23543 "test/Programs/External/SPEC/CINT2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/Makefile" ;;
23544 "test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ;;
23545 "test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ;;
23546 "test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ;;
23547 "test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ;;
23548 "test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ;;
23549 "test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ;;
23550 "test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ;;
23551 "test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ;;
23552 "test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ;;
23553 "test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ;;
23554 "test/Programs/LLVMSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/LLVMSource/Makefile" ;;
23555 "test/Programs/MultiSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile" ;;
23556 "test/Programs/MultiSource/Makefile.multisrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile.multisrc" ;;
23557 "test/Programs/MultiSource/Applications/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Makefile" ;;
23558 "test/Programs/MultiSource/Applications/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Burg/Makefile" ;;
23559 "test/Programs/MultiSource/Applications/aha/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/aha/Makefile" ;;
23560 "test/Programs/MultiSource/Applications/sgefa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/sgefa/Makefile" ;;
23561 "test/Programs/MultiSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Makefile" ;;
23562 "test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ;;
23563 "test/Programs/MultiSource/Benchmarks/McCat/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/Makefile" ;;
23564 "test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ;;
23565 "test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ;;
23566 "test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ;;
23567 "test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ;;
23568 "test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ;;
23569 "test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ;;
23570 "test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ;;
23571 "test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ;;
23572 "test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ;;
23573 "test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ;;
23574 "test/Programs/MultiSource/Benchmarks/Olden/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/Makefile" ;;
23575 "test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ;;
23576 "test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ;;
23577 "test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ;;
23578 "test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ;;
23579 "test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ;;
23580 "test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ;;
23581 "test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ;;
23582 "test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ;;
23583 "test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ;;
23584 "test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ;;
23585 "test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ;;
23586 "test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ;;
23587 "test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ;;
23588 "test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ;;
23589 "test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ;;
23590 "test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ;;
23591 "test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ;;
23592 "test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ;;
23593 "test/Programs/MultiSource/Benchmarks/sim/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/sim/Makefile" ;;
23594 "test/Programs/NoSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Makefile" ;;
23595 "test/Programs/NoSource/Flex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Flex/Makefile" ;;
23596 "test/Programs/NoSource/Larn/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Larn/Makefile" ;;
23597 "test/Programs/NoSource/Moria-5.5.2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Moria-5.5.2/Makefile" ;;
23598 "test/Programs/NoSource/Povray31/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Povray31/Makefile" ;;
23599 "test/Programs/NoSource/m4/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/m4/Makefile" ;;
23600 "test/Programs/SingleSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile" ;;
23601 "test/Programs/SingleSource/Makefile.singlesrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile.singlesrc" ;;
23602 "test/Programs/SingleSource/Gizmos/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Gizmos/Makefile" ;;
23603 "test/Programs/SingleSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Makefile" ;;
23604 "test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ;;
23605 "test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ;;
23606 "test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ;;
23607 "test/Programs/SingleSource/Benchmarks/Misc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Misc/Makefile" ;;
23608 "test/Programs/SingleSource/CustomChecked/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/CustomChecked/Makefile" ;;
23609 "test/Programs/SingleSource/UnitTests/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/Makefile" ;;
23610 "test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ;;
23611 "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
23612 "tools/analyze/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/analyze/Makefile" ;;
23613 "tools/bugpoint/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/bugpoint/Makefile" ;;
23614 "tools/extract/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/extract/Makefile" ;;
23615 "tools/gccas/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccas/Makefile" ;;
23616 "tools/gccld/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccld/Makefile" ;;
23617 "tools/llc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llc/Makefile" ;;
23618 "tools/llee/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llee/Makefile" ;;
23619 "tools/lli/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/lli/Makefile" ;;
23620 "tools/llvm-ar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-ar/Makefile" ;;
23621 "tools/llvm-as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-as/Makefile" ;;
23622 "tools/llvm-dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-dis/Makefile" ;;
23623 "tools/llvm-link/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-link/Makefile" ;;
23624 "tools/opt/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/opt/Makefile" ;;
23625 "utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Makefile" ;;
23626 "utils/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Makefile" ;;
23627 "utils/Burg/Doc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Doc/Makefile" ;;
23628 "utils/TableGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/TableGen/Makefile" ;;
23629 "www/docs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS www/docs/Makefile" ;;
23630 "projects/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Makefile" ;;
23631 "projects/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile" ;;
23632 "projects/sample/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.common" ;;
23633 "projects/sample/Makefile.config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.config" ;;
23634 "projects/sample/lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/Makefile" ;;
23635 "projects/sample/lib/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/sample/Makefile" ;;
23636 "projects/sample/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/Makefile" ;;
23637 "projects/sample/tools/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/sample/Makefile" ;;
23638 "projects/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile" ;;
23639 "projects/ModuleMaker/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile.common" ;;
23640 "projects/ModuleMaker/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/Makefile" ;;
23641 "projects/ModuleMaker/tools/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/ModuleMaker/Makefile" ;;
23642 "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;;
23643 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23644 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23645 { (exit 1); exit 1; }; };;
23649 # If the user did not use the arguments to specify the items to instantiate,
23650 # then the envvar interface is used. Set only those that are not.
23651 # We use the long form for the default assignment because of an extremely
23652 # bizarre bug on SunOS 4.1.3.
23653 if $ac_need_defaults; then
23654 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23655 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23656 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23659 # Have a temporary directory for convenience. Make it in the build tree
23660 # simply because there is no reason to put it here, and in addition,
23661 # creating and moving files from /tmp can sometimes cause problems.
23662 # Create a temporary directory, and hook for its removal unless debugging.
23665 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23666 trap '{ (exit 1); exit 1; }' 1 2 13 15
23669 # Create a (secure) tmp directory for tmp files.
23672 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23673 test -n "$tmp" && test -d "$tmp"
23676 tmp=./confstat$$-$RANDOM
23677 (umask 077 && mkdir $tmp)
23680 echo "$me: cannot create a temporary directory in ." >&2
23681 { (exit 1); exit 1; }
23686 cat >>$CONFIG_STATUS <<_ACEOF
23689 # CONFIG_FILES section.
23692 # No need to generate the scripts if there are no CONFIG_FILES.
23693 # This happens for instance when ./config.status config.h
23694 if test -n "\$CONFIG_FILES"; then
23695 # Protect against being on the right side of a sed subst in config.status.
23696 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23697 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23698 s,@SHELL@,$SHELL,;t t
23699 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23700 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23701 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23702 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23703 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23704 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23705 s,@exec_prefix@,$exec_prefix,;t t
23706 s,@prefix@,$prefix,;t t
23707 s,@program_transform_name@,$program_transform_name,;t t
23708 s,@bindir@,$bindir,;t t
23709 s,@sbindir@,$sbindir,;t t
23710 s,@libexecdir@,$libexecdir,;t t
23711 s,@datadir@,$datadir,;t t
23712 s,@sysconfdir@,$sysconfdir,;t t
23713 s,@sharedstatedir@,$sharedstatedir,;t t
23714 s,@localstatedir@,$localstatedir,;t t
23715 s,@libdir@,$libdir,;t t
23716 s,@includedir@,$includedir,;t t
23717 s,@oldincludedir@,$oldincludedir,;t t
23718 s,@infodir@,$infodir,;t t
23719 s,@mandir@,$mandir,;t t
23720 s,@build_alias@,$build_alias,;t t
23721 s,@host_alias@,$host_alias,;t t
23722 s,@target_alias@,$target_alias,;t t
23723 s,@DEFS@,$DEFS,;t t
23724 s,@ECHO_C@,$ECHO_C,;t t
23725 s,@ECHO_N@,$ECHO_N,;t t
23726 s,@ECHO_T@,$ECHO_T,;t t
23727 s,@LIBS@,$LIBS,;t t
23728 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23729 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23730 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23731 s,@build@,$build,;t t
23732 s,@build_cpu@,$build_cpu,;t t
23733 s,@build_vendor@,$build_vendor,;t t
23734 s,@build_os@,$build_os,;t t
23735 s,@host@,$host,;t t
23736 s,@host_cpu@,$host_cpu,;t t
23737 s,@host_vendor@,$host_vendor,;t t
23738 s,@host_os@,$host_os,;t t
23739 s,@target@,$target,;t t
23740 s,@target_cpu@,$target_cpu,;t t
23741 s,@target_vendor@,$target_vendor,;t t
23742 s,@target_os@,$target_os,;t t
23744 s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t
23745 s,@ARCH@,$ARCH,;t t
23747 s,@CXXFLAGS@,$CXXFLAGS,;t t
23748 s,@LDFLAGS@,$LDFLAGS,;t t
23749 s,@CPPFLAGS@,$CPPFLAGS,;t t
23750 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
23751 s,@EXEEXT@,$EXEEXT,;t t
23752 s,@OBJEXT@,$OBJEXT,;t t
23754 s,@CFLAGS@,$CFLAGS,;t t
23755 s,@ac_ct_CC@,$ac_ct_CC,;t t
23757 s,@ifGNUmake@,$ifGNUmake,;t t
23759 s,@LEXLIB@,$LEXLIB,;t t
23760 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
23761 s,@YACC@,$YACC,;t t
23762 s,@EGREP@,$EGREP,;t t
23763 s,@LN_S@,$LN_S,;t t
23764 s,@ECHO@,$ECHO,;t t
23766 s,@ac_ct_AR@,$ac_ct_AR,;t t
23767 s,@RANLIB@,$RANLIB,;t t
23768 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23769 s,@STRIP@,$STRIP,;t t
23770 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23771 s,@CXXCPP@,$CXXCPP,;t t
23773 s,@FFLAGS@,$FFLAGS,;t t
23774 s,@ac_ct_F77@,$ac_ct_F77,;t t
23775 s,@LIBTOOL@,$LIBTOOL,;t t
23776 s,@RPWD@,$RPWD,;t t
23779 s,@MKDIR@,$MKDIR,;t t
23780 s,@DATE@,$DATE,;t t
23783 s,@ETAGS@,$ETAGS,;t t
23784 s,@PURIFY@,$PURIFY,;t t
23785 s,@PYTHON@,$PYTHON,;t t
23786 s,@QMTEST@,$QMTEST,;t t
23787 s,@ALLOCA@,$ALLOCA,;t t
23788 s,@LIBOBJS@,$LIBOBJS,;t t
23789 s,@MMAP_FILE@,$MMAP_FILE,;t t
23790 s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t
23791 s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t
23792 s,@USE_SPEC@,$USE_SPEC,;t t
23794 s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t
23796 s,@SPEC_ROOT@,$SPEC_ROOT,;t t
23798 s,@PAPIDIR@,$PAPIDIR,;t t
23799 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23804 cat >>$CONFIG_STATUS <<\_ACEOF
23805 # Split the substitutions into bite-sized pieces for seds with
23806 # small command number limits, like on Digital OSF/1 and HP-UX.
23807 ac_max_sed_lines=48
23808 ac_sed_frag=1 # Number of current file.
23809 ac_beg=1 # First line for current file.
23810 ac_end=$ac_max_sed_lines # Line after last line for current file.
23813 while $ac_more_lines; do
23814 if test $ac_beg -gt 1; then
23815 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23817 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23819 if test ! -s $tmp/subs.frag; then
23820 ac_more_lines=false
23822 # The purpose of the label and of the branching condition is to
23823 # speed up the sed processing (if there are no `@' at all, there
23824 # is no need to browse any of the substitutions).
23825 # These are the two extra sed commands mentioned above.
23827 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23828 if test -z "$ac_sed_cmds"; then
23829 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
23831 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23833 ac_sed_frag=`expr $ac_sed_frag + 1`
23835 ac_end=`expr $ac_end + $ac_max_sed_lines`
23838 if test -z "$ac_sed_cmds"; then
23841 fi # test -n "$CONFIG_FILES"
23844 cat >>$CONFIG_STATUS <<\_ACEOF
23845 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23846 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23848 - | *:- | *:-:* ) # input from stdin
23850 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23851 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23852 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23853 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23854 * ) ac_file_in=$ac_file.in ;;
23857 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23858 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23859 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23860 X"$ac_file" : 'X\(//\)[^/]' \| \
23861 X"$ac_file" : 'X\(//\)$' \| \
23862 X"$ac_file" : 'X\(/\)' \| \
23863 . : '\(.\)' 2>/dev/null ||
23865 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23866 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23867 /^X\(\/\/\)$/{ s//\1/; q; }
23868 /^X\(\/\).*/{ s//\1/; q; }
23870 { if $as_mkdir_p; then
23875 while test ! -d "$as_dir"; do
23876 as_dirs="$as_dir $as_dirs"
23877 as_dir=`(dirname "$as_dir") 2>/dev/null ||
23878 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23879 X"$as_dir" : 'X\(//\)[^/]' \| \
23880 X"$as_dir" : 'X\(//\)$' \| \
23881 X"$as_dir" : 'X\(/\)' \| \
23882 . : '\(.\)' 2>/dev/null ||
23884 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23885 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23886 /^X\(\/\/\)$/{ s//\1/; q; }
23887 /^X\(\/\).*/{ s//\1/; q; }
23890 test ! -n "$as_dirs" || mkdir $as_dirs
23891 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23892 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23893 { (exit 1); exit 1; }; }; }
23897 if test "$ac_dir" != .; then
23898 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23899 # A "../" for each directory in $ac_dir_suffix.
23900 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23902 ac_dir_suffix= ac_top_builddir=
23906 .) # No --srcdir option. We are building in place.
23908 if test -z "$ac_top_builddir"; then
23911 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23913 [\\/]* | ?:[\\/]* ) # Absolute path.
23914 ac_srcdir=$srcdir$ac_dir_suffix;
23915 ac_top_srcdir=$srcdir ;;
23916 *) # Relative path.
23917 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23918 ac_top_srcdir=$ac_top_builddir$srcdir ;;
23920 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
23922 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
23923 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
23924 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
23925 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
23929 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23930 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
23933 if test x"$ac_file" != x-; then
23934 { echo "$as_me:$LINENO: creating $ac_file" >&5
23935 echo "$as_me: creating $ac_file" >&6;}
23938 # Let's still pretend it is `configure' which instantiates (i.e., don't
23939 # use $as_me), people would be surprised to read:
23940 # /* config.h. Generated by config.status. */
23941 if test x"$ac_file" = x-; then
23944 configure_input="$ac_file. "
23946 configure_input=$configure_input"Generated from `echo $ac_file_in |
23947 sed 's,.*/,,'` by configure."
23949 # First look for the input files in the build tree, otherwise in the
23951 ac_file_inputs=`IFS=:
23952 for f in $ac_file_in; do
23954 -) echo $tmp/stdin ;;
23956 # Absolute (can't be DOS-style, as IFS=:)
23957 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23958 echo "$as_me: error: cannot find input file: $f" >&2;}
23959 { (exit 1); exit 1; }; }
23962 if test -f "$f"; then
23965 elif test -f "$srcdir/$f"; then
23970 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23971 echo "$as_me: error: cannot find input file: $f" >&2;}
23972 { (exit 1); exit 1; }; }
23975 done` || { (exit 1); exit 1; }
23977 cat >>$CONFIG_STATUS <<_ACEOF
23981 cat >>$CONFIG_STATUS <<\_ACEOF
23983 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23984 s,@configure_input@,$configure_input,;t t
23985 s,@srcdir@,$ac_srcdir,;t t
23986 s,@abs_srcdir@,$ac_abs_srcdir,;t t
23987 s,@top_srcdir@,$ac_top_srcdir,;t t
23988 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
23989 s,@builddir@,$ac_builddir,;t t
23990 s,@abs_builddir@,$ac_abs_builddir,;t t
23991 s,@top_builddir@,$ac_top_builddir,;t t
23992 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
23993 s,@INSTALL@,$ac_INSTALL,;t t
23994 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
23996 if test x"$ac_file" != x-; then
23997 mv $tmp/out $ac_file
24005 cat >>$CONFIG_STATUS <<\_ACEOF
24008 # CONFIG_HEADER section.
24011 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24012 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24014 # ac_d sets the value in "#define NAME VALUE" lines.
24015 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24016 ac_dB='[ ].*$,\1#\2'
24019 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24020 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24021 ac_uB='$,\1#\2define\3'
24025 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24026 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24028 - | *:- | *:-:* ) # input from stdin
24030 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24031 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24032 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24033 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24034 * ) ac_file_in=$ac_file.in ;;
24037 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24038 echo "$as_me: creating $ac_file" >&6;}
24040 # First look for the input files in the build tree, otherwise in the
24042 ac_file_inputs=`IFS=:
24043 for f in $ac_file_in; do
24045 -) echo $tmp/stdin ;;
24047 # Absolute (can't be DOS-style, as IFS=:)
24048 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24049 echo "$as_me: error: cannot find input file: $f" >&2;}
24050 { (exit 1); exit 1; }; }
24053 if test -f "$f"; then
24056 elif test -f "$srcdir/$f"; then
24061 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24062 echo "$as_me: error: cannot find input file: $f" >&2;}
24063 { (exit 1); exit 1; }; }
24066 done` || { (exit 1); exit 1; }
24067 # Remove the trailing spaces.
24068 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24072 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24073 # `conftest.undefs', that substitutes the proper values into
24074 # config.h.in to produce config.h. The first handles `#define'
24075 # templates, and the second `#undef' templates.
24076 # And first: Protect against being on the right side of a sed subst in
24077 # config.status. Protect against being in an unquoted here document
24078 # in config.status.
24079 rm -f conftest.defines conftest.undefs
24080 # Using a here document instead of a string reduces the quoting nightmare.
24081 # Putting comments in sed scripts is not portable.
24083 # `end' is used to avoid that the second main sed command (meant for
24084 # 0-ary CPP macros) applies to n-ary macro definitions.
24085 # See the Autoconf documentation for `clear'.
24086 cat >confdef2sed.sed <<\_ACEOF
24091 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24093 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24096 # If some macros were called several times there might be several times
24097 # the same #defines, which is useless. Nevertheless, we may not want to
24098 # sort them, since we want the *last* AC-DEFINE to be honored.
24099 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24100 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24101 rm -f confdef2sed.sed
24103 # This sed command replaces #undef with comments. This is necessary, for
24104 # example, in the case of _POSIX_SOURCE, which is predefined and required
24105 # on some systems where configure will not decide to define it.
24106 cat >>conftest.undefs <<\_ACEOF
24107 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24110 # Break up conftest.defines because some shells have a limit on the size
24111 # of here documents, and old seds have small limits too (100 cmds).
24112 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24113 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24114 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24115 echo ' :' >>$CONFIG_STATUS
24116 rm -f conftest.tail
24117 while grep . conftest.defines >/dev/null
24119 # Write a limited-size here document to $tmp/defines.sed.
24120 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24121 # Speed up: don't consider the non `#define' lines.
24122 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24123 # Work around the forget-to-reset-the-flag bug.
24124 echo 't clr' >>$CONFIG_STATUS
24125 echo ': clr' >>$CONFIG_STATUS
24126 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24128 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24130 mv $tmp/out $tmp/in
24132 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24133 rm -f conftest.defines
24134 mv conftest.tail conftest.defines
24136 rm -f conftest.defines
24137 echo ' fi # grep' >>$CONFIG_STATUS
24138 echo >>$CONFIG_STATUS
24140 # Break up conftest.undefs because some shells have a limit on the size
24141 # of here documents, and old seds have small limits too (100 cmds).
24142 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24143 rm -f conftest.tail
24144 while grep . conftest.undefs >/dev/null
24146 # Write a limited-size here document to $tmp/undefs.sed.
24147 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24148 # Speed up: don't consider the non `#undef'
24149 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24150 # Work around the forget-to-reset-the-flag bug.
24151 echo 't clr' >>$CONFIG_STATUS
24152 echo ': clr' >>$CONFIG_STATUS
24153 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24155 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24157 mv $tmp/out $tmp/in
24159 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24160 rm -f conftest.undefs
24161 mv conftest.tail conftest.undefs
24163 rm -f conftest.undefs
24165 cat >>$CONFIG_STATUS <<\_ACEOF
24166 # Let's still pretend it is `configure' which instantiates (i.e., don't
24167 # use $as_me), people would be surprised to read:
24168 # /* config.h. Generated by config.status. */
24169 if test x"$ac_file" = x-; then
24170 echo "/* Generated by configure. */" >$tmp/config.h
24172 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24174 cat $tmp/in >>$tmp/config.h
24176 if test x"$ac_file" != x-; then
24177 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24178 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24179 echo "$as_me: $ac_file is unchanged" >&6;}
24181 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24182 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24183 X"$ac_file" : 'X\(//\)[^/]' \| \
24184 X"$ac_file" : 'X\(//\)$' \| \
24185 X"$ac_file" : 'X\(/\)' \| \
24186 . : '\(.\)' 2>/dev/null ||
24188 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24189 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24190 /^X\(\/\/\)$/{ s//\1/; q; }
24191 /^X\(\/\).*/{ s//\1/; q; }
24193 { if $as_mkdir_p; then
24198 while test ! -d "$as_dir"; do
24199 as_dirs="$as_dir $as_dirs"
24200 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24201 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24202 X"$as_dir" : 'X\(//\)[^/]' \| \
24203 X"$as_dir" : 'X\(//\)$' \| \
24204 X"$as_dir" : 'X\(/\)' \| \
24205 . : '\(.\)' 2>/dev/null ||
24207 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24208 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24209 /^X\(\/\/\)$/{ s//\1/; q; }
24210 /^X\(\/\).*/{ s//\1/; q; }
24213 test ! -n "$as_dirs" || mkdir $as_dirs
24214 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24215 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24216 { (exit 1); exit 1; }; }; }
24219 mv $tmp/config.h $ac_file
24223 rm -f $tmp/config.h
24227 cat >>$CONFIG_STATUS <<\_ACEOF
24230 # CONFIG_COMMANDS section.
24232 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24233 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24234 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24235 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24236 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24237 X"$ac_dest" : 'X\(//\)[^/]' \| \
24238 X"$ac_dest" : 'X\(//\)$' \| \
24239 X"$ac_dest" : 'X\(/\)' \| \
24240 . : '\(.\)' 2>/dev/null ||
24242 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24243 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24244 /^X\(\/\/\)$/{ s//\1/; q; }
24245 /^X\(\/\).*/{ s//\1/; q; }
24249 if test "$ac_dir" != .; then
24250 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24251 # A "../" for each directory in $ac_dir_suffix.
24252 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24254 ac_dir_suffix= ac_top_builddir=
24258 .) # No --srcdir option. We are building in place.
24260 if test -z "$ac_top_builddir"; then
24263 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24265 [\\/]* | ?:[\\/]* ) # Absolute path.
24266 ac_srcdir=$srcdir$ac_dir_suffix;
24267 ac_top_srcdir=$srcdir ;;
24268 *) # Relative path.
24269 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24270 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24272 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24274 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24275 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24276 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24277 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24280 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24281 echo "$as_me: executing $ac_dest commands" >&6;}
24283 Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
24284 Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common ;;
24285 Makefile.rules ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.rules Makefile.rules ;;
24286 lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
24287 lib/Analysis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/Makefile lib/Analysis/Makefile ;;
24288 lib/Analysis/DataStructure/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/DataStructure/Makefile lib/Analysis/DataStructure/Makefile ;;
24289 lib/Analysis/IPA/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/IPA/Makefile lib/Analysis/IPA/Makefile ;;
24290 lib/Analysis/LiveVar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/LiveVar/Makefile lib/Analysis/LiveVar/Makefile ;;
24291 lib/AsmParser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/AsmParser/Makefile lib/AsmParser/Makefile ;;
24292 lib/Bytecode/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Makefile lib/Bytecode/Makefile ;;
24293 lib/Bytecode/Reader/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Reader/Makefile lib/Bytecode/Reader/Makefile ;;
24294 lib/Bytecode/Writer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Writer/Makefile lib/Bytecode/Writer/Makefile ;;
24295 lib/CWriter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CWriter/Makefile lib/CWriter/Makefile ;;
24296 lib/CodeGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/Makefile lib/CodeGen/Makefile ;;
24297 lib/CodeGen/InstrSched/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSched/Makefile lib/CodeGen/InstrSched/Makefile ;;
24298 lib/CodeGen/InstrSelection/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSelection/Makefile lib/CodeGen/InstrSelection/Makefile ;;
24299 lib/CodeGen/ModuloScheduling/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/ModuloScheduling/Makefile lib/CodeGen/ModuloScheduling/Makefile ;;
24300 lib/CodeGen/RegAlloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/RegAlloc/Makefile lib/CodeGen/RegAlloc/Makefile ;;
24301 lib/CodeGen/SelectionDAG/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/SelectionDAG/Makefile lib/CodeGen/SelectionDAG/Makefile ;;
24302 lib/ExecutionEngine/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Makefile lib/ExecutionEngine/Makefile ;;
24303 lib/ExecutionEngine/Interpreter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Interpreter/Makefile lib/ExecutionEngine/Interpreter/Makefile ;;
24304 lib/ExecutionEngine/JIT/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/JIT/Makefile lib/ExecutionEngine/JIT/Makefile ;;
24305 lib/Support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Support/Makefile lib/Support/Makefile ;;
24306 lib/Target/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Makefile lib/Target/Makefile ;;
24307 lib/Target/Sparc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Sparc/Makefile lib/Target/Sparc/Makefile ;;
24308 lib/Target/X86/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/X86/Makefile lib/Target/X86/Makefile ;;
24309 lib/Transforms/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Makefile lib/Transforms/Makefile ;;
24310 lib/Transforms/Hello/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Hello/Makefile lib/Transforms/Hello/Makefile ;;
24311 lib/Transforms/IPO/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/IPO/Makefile lib/Transforms/IPO/Makefile ;;
24312 lib/Transforms/Instrumentation/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/Makefile lib/Transforms/Instrumentation/Makefile ;;
24313 lib/Transforms/Instrumentation/ProfilePaths/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/ProfilePaths/Makefile lib/Transforms/Instrumentation/ProfilePaths/Makefile ;;
24314 lib/Transforms/Scalar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Scalar/Makefile lib/Transforms/Scalar/Makefile ;;
24315 lib/Transforms/Utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Utils/Makefile lib/Transforms/Utils/Makefile ;;
24316 lib/VMCore/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/VMCore/Makefile lib/VMCore/Makefile ;;
24317 runtime/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/Makefile runtime/Makefile ;;
24318 runtime/GCCLibraries/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/Makefile runtime/GCCLibraries/Makefile ;;
24319 runtime/GCCLibraries/crtend/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/crtend/Makefile runtime/GCCLibraries/crtend/Makefile ;;
24320 runtime/GCCLibraries/libc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libc/Makefile runtime/GCCLibraries/libc/Makefile ;;
24321 runtime/GCCLibraries/libcurses/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libcurses/Makefile runtime/GCCLibraries/libcurses/Makefile ;;
24322 runtime/GCCLibraries/libg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libg/Makefile runtime/GCCLibraries/libg/Makefile ;;
24323 runtime/GCCLibraries/libgcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libgcc/Makefile runtime/GCCLibraries/libgcc/Makefile ;;
24324 runtime/GCCLibraries/libm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libm/Makefile runtime/GCCLibraries/libm/Makefile ;;
24325 runtime/GCCLibraries/libmalloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libmalloc/Makefile runtime/GCCLibraries/libmalloc/Makefile ;;
24326 runtime/GCCLibraries/libtermcap/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libtermcap/Makefile runtime/GCCLibraries/libtermcap/Makefile ;;
24327 runtime/GCCLibraries/libucb/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libucb/Makefile runtime/GCCLibraries/libucb/Makefile ;;
24328 runtime/GCCLibraries/libutempter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutempter/Makefile runtime/GCCLibraries/libutempter/Makefile ;;
24329 runtime/GCCLibraries/libutil/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutil/Makefile runtime/GCCLibraries/libutil/Makefile ;;
24330 runtime/libdummy/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libdummy/Makefile runtime/libdummy/Makefile ;;
24331 runtime/libtrace/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libtrace/Makefile runtime/libtrace/Makefile ;;
24332 test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;;
24333 test/Makefile.tests ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile.tests test/Makefile.tests ;;
24334 test/QMTestDB/QMTest/llvm.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTestDB/QMTest/llvm.py test/QMTestDB/QMTest/llvm.py ;;
24335 test/Programs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile test/Programs/Makefile ;;
24336 test/Programs/Makefile.programs ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.programs test/Programs/Makefile.programs ;;
24337 test/Programs/TEST.aa.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.Makefile test/Programs/TEST.aa.Makefile ;;
24338 test/Programs/TEST.dsgraph.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.report test/Programs/TEST.dsgraph.report ;;
24339 test/Programs/TEST.micro.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.report test/Programs/TEST.micro.report ;;
24340 test/Programs/TEST.aa.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.report test/Programs/TEST.aa.report ;;
24341 test/Programs/TEST.example.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.example.Makefile test/Programs/TEST.example.Makefile ;;
24342 test/Programs/TEST.nightly.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.Makefile test/Programs/TEST.nightly.Makefile ;;
24343 test/Programs/TEST.buildrepo.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.buildrepo.Makefile test/Programs/TEST.buildrepo.Makefile ;;
24344 test/Programs/TEST.jit.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.Makefile test/Programs/TEST.jit.Makefile ;;
24345 test/Programs/TEST.nightly.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.report test/Programs/TEST.nightly.report ;;
24346 test/Programs/TEST.dsgraph.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.Makefile test/Programs/TEST.dsgraph.Makefile ;;
24347 test/Programs/TEST.jit.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.report test/Programs/TEST.jit.report ;;
24348 test/Programs/TEST.typesafe.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.typesafe.Makefile test/Programs/TEST.typesafe.Makefile ;;
24349 test/Programs/TEST.dsgraph.gnuplot ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.gnuplot test/Programs/TEST.dsgraph.gnuplot ;;
24350 test/Programs/TEST.micro.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.Makefile test/Programs/TEST.micro.Makefile ;;
24351 test/Programs/External/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/Makefile test/Programs/External/Makefile ;;
24352 test/Programs/External/SPEC/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile test/Programs/External/SPEC/Makefile ;;
24353 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 ;;
24354 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 ;;
24355 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 ;;
24356 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 ;;
24357 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 ;;
24358 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 ;;
24359 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 ;;
24360 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 ;;
24361 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 ;;
24362 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 ;;
24363 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 ;;
24364 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 ;;
24365 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 ;;
24366 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 ;;
24367 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 ;;
24368 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 ;;
24369 test/Programs/LLVMSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/LLVMSource/Makefile test/Programs/LLVMSource/Makefile ;;
24370 test/Programs/MultiSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile test/Programs/MultiSource/Makefile ;;
24371 test/Programs/MultiSource/Makefile.multisrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile.multisrc test/Programs/MultiSource/Makefile.multisrc ;;
24372 test/Programs/MultiSource/Applications/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/Makefile test/Programs/MultiSource/Applications/Makefile ;;
24373 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 ;;
24374 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 ;;
24375 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 ;;
24376 test/Programs/MultiSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Makefile test/Programs/MultiSource/Benchmarks/Makefile ;;
24377 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 ;;
24378 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 ;;
24379 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 ;;
24380 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 ;;
24381 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 ;;
24382 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 ;;
24383 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 ;;
24384 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 ;;
24385 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 ;;
24386 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 ;;
24387 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 ;;
24388 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 ;;
24389 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 ;;
24390 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 ;;
24391 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 ;;
24392 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 ;;
24393 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 ;;
24394 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 ;;
24395 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 ;;
24396 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 ;;
24397 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 ;;
24398 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 ;;
24399 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 ;;
24400 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 ;;
24401 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 ;;
24402 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 ;;
24403 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 ;;
24404 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 ;;
24405 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 ;;
24406 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 ;;
24407 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 ;;
24408 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 ;;
24409 test/Programs/NoSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Makefile test/Programs/NoSource/Makefile ;;
24410 test/Programs/NoSource/Flex/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Flex/Makefile test/Programs/NoSource/Flex/Makefile ;;
24411 test/Programs/NoSource/Larn/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Larn/Makefile test/Programs/NoSource/Larn/Makefile ;;
24412 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 ;;
24413 test/Programs/NoSource/Povray31/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Povray31/Makefile test/Programs/NoSource/Povray31/Makefile ;;
24414 test/Programs/NoSource/m4/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/m4/Makefile test/Programs/NoSource/m4/Makefile ;;
24415 test/Programs/SingleSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile test/Programs/SingleSource/Makefile ;;
24416 test/Programs/SingleSource/Makefile.singlesrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile.singlesrc test/Programs/SingleSource/Makefile.singlesrc ;;
24417 test/Programs/SingleSource/Gizmos/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Gizmos/Makefile test/Programs/SingleSource/Gizmos/Makefile ;;
24418 test/Programs/SingleSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Makefile test/Programs/SingleSource/Benchmarks/Makefile ;;
24419 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 ;;
24420 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 ;;
24421 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 ;;
24422 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 ;;
24423 test/Programs/SingleSource/CustomChecked/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/CustomChecked/Makefile test/Programs/SingleSource/CustomChecked/Makefile ;;
24424 test/Programs/SingleSource/UnitTests/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/Makefile test/Programs/SingleSource/UnitTests/Makefile ;;
24425 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 ;;
24426 tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
24427 tools/analyze/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/analyze/Makefile tools/analyze/Makefile ;;
24428 tools/bugpoint/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/bugpoint/Makefile tools/bugpoint/Makefile ;;
24429 tools/extract/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/extract/Makefile tools/extract/Makefile ;;
24430 tools/gccas/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccas/Makefile tools/gccas/Makefile ;;
24431 tools/gccld/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccld/Makefile tools/gccld/Makefile ;;
24432 tools/llc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llc/Makefile tools/llc/Makefile ;;
24433 tools/llee/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llee/Makefile tools/llee/Makefile ;;
24434 tools/lli/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/lli/Makefile tools/lli/Makefile ;;
24435 tools/llvm-ar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-ar/Makefile tools/llvm-ar/Makefile ;;
24436 tools/llvm-as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-as/Makefile tools/llvm-as/Makefile ;;
24437 tools/llvm-dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-dis/Makefile tools/llvm-dis/Makefile ;;
24438 tools/llvm-link/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-link/Makefile tools/llvm-link/Makefile ;;
24439 tools/opt/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/opt/Makefile tools/opt/Makefile ;;
24440 utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Makefile utils/Makefile ;;
24441 utils/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Makefile utils/Burg/Makefile ;;
24442 utils/Burg/Doc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Doc/Makefile utils/Burg/Doc/Makefile ;;
24443 utils/TableGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/TableGen/Makefile utils/TableGen/Makefile ;;
24444 www/docs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/www/docs/Makefile www/docs/Makefile ;;
24445 projects/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Makefile projects/Makefile ;;
24446 projects/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile projects/sample/Makefile ;;
24447 projects/sample/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.common projects/sample/Makefile.common ;;
24448 projects/sample/Makefile.config ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.config projects/sample/Makefile.config ;;
24449 projects/sample/lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/Makefile projects/sample/lib/Makefile ;;
24450 projects/sample/lib/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/sample/Makefile projects/sample/lib/sample/Makefile ;;
24451 projects/sample/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/Makefile projects/sample/tools/Makefile ;;
24452 projects/sample/tools/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/sample/Makefile projects/sample/tools/sample/Makefile ;;
24453 projects/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile projects/ModuleMaker/Makefile ;;
24454 projects/ModuleMaker/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile.common projects/ModuleMaker/Makefile.common ;;
24455 projects/ModuleMaker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/Makefile projects/ModuleMaker/tools/Makefile ;;
24456 projects/ModuleMaker/tools/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/ModuleMaker/Makefile projects/ModuleMaker/tools/ModuleMaker/Makefile ;;
24461 cat >>$CONFIG_STATUS <<\_ACEOF
24463 { (exit 0); exit 0; }
24465 chmod +x $CONFIG_STATUS
24466 ac_clean_files=$ac_clean_files_save
24469 # configure is writing to config.log, and then calls config.status.
24470 # config.status does its own redirection, appending to config.log.
24471 # Unfortunately, on DOS this fails, as config.log is still kept open
24472 # by configure, so config.status won't be able to write to it; its
24473 # output is simply discarded. So we exec the FD to /dev/null,
24474 # effectively closing config.log, so it can be properly (re)opened and
24475 # appended to by config.status. When coming back to configure, we
24476 # need to make the FD available again.
24477 if test "$no_create" != yes; then
24479 ac_config_status_args=
24480 test "$silent" = yes &&
24481 ac_config_status_args="$ac_config_status_args --quiet"
24483 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24485 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24486 # would make configure fail if this is the last instruction.
24487 $ac_cs_success || { (exit 1); exit 1; }