2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for [LLVM] [1.0].
5 # Report bugs to <llvmbugs@cs.uiuc.edu>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26 # Support unset when possible.
27 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 if expr a : '\(a\)' >/dev/null 2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.file conf$$ 2>/dev/null; then
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
226 as_executable_p="test -f"
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
236 # We need space, tab and new line, in precisely that order.
246 # Check that we are running under the correct shell.
247 SHELL=${CONFIG_SHELL-/bin/sh}
251 # Remove one level of quotation (which was required for Make).
252 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
257 if test "X$1" = X--no-reexec; then
258 # Discard the --no-reexec flag, and continue.
260 elif test "X$1" = X--fallback-echo; then
261 # Avoid inline document here, it may be left over
263 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
264 # Yippee, $echo works!
267 # Restart under the correct shell.
268 exec $SHELL "$0" --no-reexec ${1+"$@"}
271 if test "X$1" = X--fallback-echo; then
272 # used as fallback echo
280 # The HP-UX ksh and POSIX shell print the target directory to stdout
282 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
284 if test -z "$ECHO"; then
285 if test "X${echo_test_string+set}" != Xset; then
286 # find a string as large as possible, as long as the shell can cope with it
287 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
288 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
289 if (echo_test_string="`eval $cmd`") 2>/dev/null &&
290 echo_test_string="`eval $cmd`" &&
291 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
298 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
299 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
300 test "X$echo_testing_string" = "X$echo_test_string"; then
303 # The Solaris, AIX, and Digital Unix default echo programs unquote
304 # backslashes. This makes it impossible to quote backslashes using
305 # echo "$something" | sed 's/\\/\\\\/g'
307 # So, first we look for a working echo in the user's PATH.
309 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
310 for dir in $PATH /usr/ucb; do
312 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
313 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
314 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
315 test "X$echo_testing_string" = "X$echo_test_string"; then
322 if test "X$echo" = Xecho; then
323 # We didn't find a better echo, so look for alternatives.
324 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
325 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
326 test "X$echo_testing_string" = "X$echo_test_string"; then
327 # This shell has a builtin print -r that does the trick.
329 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
330 test "X$CONFIG_SHELL" != X/bin/ksh; then
331 # If we have ksh, try running configure again with it.
332 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
333 export ORIGINAL_CONFIG_SHELL
334 CONFIG_SHELL=/bin/ksh
336 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
340 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
341 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
342 test "X$echo_testing_string" = "X$echo_test_string"; then
345 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
346 test "X$echo_testing_string" = 'X\t' &&
347 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
348 test "X$echo_testing_string" = "X$echo_test_string"; then
349 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
351 SHELL="$CONFIG_SHELL"
353 echo="$CONFIG_SHELL $0 --fallback-echo"
354 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
355 test "X$echo_testing_string" = 'X\t' &&
356 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
357 test "X$echo_testing_string" = "X$echo_test_string"; then
358 echo="$CONFIG_SHELL $0 --fallback-echo"
360 # maybe with a smaller string...
363 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
364 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
371 if test "$prev" != 'sed 50q "$0"'; then
372 echo_test_string=`eval $prev`
373 export echo_test_string
374 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
376 # Oops. We lost completely, so just stick with echo.
385 # Copy echo and quote the copy suitably for passing to libtool from
386 # the Makefile, instead of quoting the original, which is used later.
388 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
389 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
395 tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`
397 tagnames=`echo "$tagnames,F77" | sed 's/^,//'`
400 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
401 # so uname gets run too.
402 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
409 ac_default_prefix=/usr/local
410 ac_config_libobj_dir=.
415 SHELL=${CONFIG_SHELL-/bin/sh}
417 # Maximum number of lines to put in a shell here document.
418 # This variable seems obsolete. It should probably be removed, and
419 # only ac_max_sed_lines should be used.
420 : ${ac_max_here_lines=38}
422 # Identity of this package.
423 PACKAGE_NAME='[LLVM]'
424 PACKAGE_TARNAME='--llvm--'
425 PACKAGE_VERSION='[1.0]'
426 PACKAGE_STRING='[LLVM] [1.0]'
427 PACKAGE_BUGREPORT='llvmbugs@cs.uiuc.edu'
429 # Factoring default headers for most tests.
430 ac_includes_default="\
433 # include <sys/types.h>
436 # include <sys/stat.h>
447 # if !STDC_HEADERS && HAVE_MEMORY_H
453 # include <strings.h>
456 # include <inttypes.h>
466 ac_unique_file=""Makefile.config.in""
467 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os OS LLVMGCCDIR ARCH CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC CPP ifGNUmake LEX LEXLIB LEX_OUTPUT_ROOT YACC EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL RPWD SED RM MKDIR DATE MV DOT ETAGS PURIFY PYTHON QMTEST ALLOCA LIBOBJS MMAP_FILE ENABLE_PURIFY ENABLE_OPTIMIZED USE_SPEC UPB DISABLE_LLC_DIFFS JIT SPEC_ROOT BCR PAPIDIR LTLIBOBJS'
470 # Initialize some variables set by options.
472 ac_init_version=false
473 # The variables have the same names as the options, with
474 # dashes changed to underlines.
482 program_transform_name=s,x,x,
490 # Installation directory options.
491 # These are left unexpanded so users can "make install exec_prefix=/foo"
492 # and all the variables that are supposed to be based on exec_prefix
493 # by default will actually change.
494 # Use braces instead of parens because sh, perl, etc. also accept them.
495 bindir='${exec_prefix}/bin'
496 sbindir='${exec_prefix}/sbin'
497 libexecdir='${exec_prefix}/libexec'
498 datadir='${prefix}/share'
499 sysconfdir='${prefix}/etc'
500 sharedstatedir='${prefix}/com'
501 localstatedir='${prefix}/var'
502 libdir='${exec_prefix}/lib'
503 includedir='${prefix}/include'
504 oldincludedir='/usr/include'
505 infodir='${prefix}/info'
506 mandir='${prefix}/man'
511 # If the previous option needs an argument, assign it.
512 if test -n "$ac_prev"; then
513 eval "$ac_prev=\$ac_option"
518 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
520 # Accept the important Cygnus configure options, so we can diagnose typos.
524 -bindir | --bindir | --bindi | --bind | --bin | --bi)
526 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
529 -build | --build | --buil | --bui | --bu)
530 ac_prev=build_alias ;;
531 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
532 build_alias=$ac_optarg ;;
534 -cache-file | --cache-file | --cache-fil | --cache-fi \
535 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
536 ac_prev=cache_file ;;
537 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
538 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
539 cache_file=$ac_optarg ;;
542 cache_file=config.cache ;;
544 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
546 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
548 datadir=$ac_optarg ;;
550 -disable-* | --disable-*)
551 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
555 { (exit 1); exit 1; }; }
556 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
557 eval "enable_$ac_feature=no" ;;
559 -enable-* | --enable-*)
560 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
561 # Reject names that are not valid shell variable names.
562 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
563 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
564 { (exit 1); exit 1; }; }
565 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
567 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
570 eval "enable_$ac_feature='$ac_optarg'" ;;
572 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
573 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
574 | --exec | --exe | --ex)
575 ac_prev=exec_prefix ;;
576 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
577 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
578 | --exec=* | --exe=* | --ex=*)
579 exec_prefix=$ac_optarg ;;
581 -gas | --gas | --ga | --g)
582 # Obsolete; use --with-gas.
585 -help | --help | --hel | --he | -h)
587 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
588 ac_init_help=recursive ;;
589 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
590 ac_init_help=short ;;
592 -host | --host | --hos | --ho)
593 ac_prev=host_alias ;;
594 -host=* | --host=* | --hos=* | --ho=*)
595 host_alias=$ac_optarg ;;
597 -includedir | --includedir | --includedi | --included | --include \
598 | --includ | --inclu | --incl | --inc)
599 ac_prev=includedir ;;
600 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
601 | --includ=* | --inclu=* | --incl=* | --inc=*)
602 includedir=$ac_optarg ;;
604 -infodir | --infodir | --infodi | --infod | --info | --inf)
606 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
607 infodir=$ac_optarg ;;
609 -libdir | --libdir | --libdi | --libd)
611 -libdir=* | --libdir=* | --libdi=* | --libd=*)
614 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
615 | --libexe | --libex | --libe)
616 ac_prev=libexecdir ;;
617 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
618 | --libexe=* | --libex=* | --libe=*)
619 libexecdir=$ac_optarg ;;
621 -localstatedir | --localstatedir | --localstatedi | --localstated \
622 | --localstate | --localstat | --localsta | --localst \
623 | --locals | --local | --loca | --loc | --lo)
624 ac_prev=localstatedir ;;
625 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
626 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
627 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
628 localstatedir=$ac_optarg ;;
630 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
632 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
636 # Obsolete; use --without-fp.
639 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
640 | --no-cr | --no-c | -n)
643 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
644 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
647 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
648 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
649 | --oldin | --oldi | --old | --ol | --o)
650 ac_prev=oldincludedir ;;
651 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
652 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
653 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
654 oldincludedir=$ac_optarg ;;
656 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
658 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
661 -program-prefix | --program-prefix | --program-prefi | --program-pref \
662 | --program-pre | --program-pr | --program-p)
663 ac_prev=program_prefix ;;
664 -program-prefix=* | --program-prefix=* | --program-prefi=* \
665 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
666 program_prefix=$ac_optarg ;;
668 -program-suffix | --program-suffix | --program-suffi | --program-suff \
669 | --program-suf | --program-su | --program-s)
670 ac_prev=program_suffix ;;
671 -program-suffix=* | --program-suffix=* | --program-suffi=* \
672 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
673 program_suffix=$ac_optarg ;;
675 -program-transform-name | --program-transform-name \
676 | --program-transform-nam | --program-transform-na \
677 | --program-transform-n | --program-transform- \
678 | --program-transform | --program-transfor \
679 | --program-transfo | --program-transf \
680 | --program-trans | --program-tran \
681 | --progr-tra | --program-tr | --program-t)
682 ac_prev=program_transform_name ;;
683 -program-transform-name=* | --program-transform-name=* \
684 | --program-transform-nam=* | --program-transform-na=* \
685 | --program-transform-n=* | --program-transform-=* \
686 | --program-transform=* | --program-transfor=* \
687 | --program-transfo=* | --program-transf=* \
688 | --program-trans=* | --program-tran=* \
689 | --progr-tra=* | --program-tr=* | --program-t=*)
690 program_transform_name=$ac_optarg ;;
692 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
693 | -silent | --silent | --silen | --sile | --sil)
696 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
698 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
700 sbindir=$ac_optarg ;;
702 -sharedstatedir | --sharedstatedir | --sharedstatedi \
703 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
704 | --sharedst | --shareds | --shared | --share | --shar \
706 ac_prev=sharedstatedir ;;
707 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
708 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
709 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
711 sharedstatedir=$ac_optarg ;;
713 -site | --site | --sit)
715 -site=* | --site=* | --sit=*)
718 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
720 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
723 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
724 | --syscon | --sysco | --sysc | --sys | --sy)
725 ac_prev=sysconfdir ;;
726 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
727 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
728 sysconfdir=$ac_optarg ;;
730 -target | --target | --targe | --targ | --tar | --ta | --t)
731 ac_prev=target_alias ;;
732 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
733 target_alias=$ac_optarg ;;
735 -v | -verbose | --verbose | --verbos | --verbo | --verb)
738 -version | --version | --versio | --versi | --vers | -V)
742 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
743 # Reject names that are not valid shell variable names.
744 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
745 { echo "$as_me: error: invalid package name: $ac_package" >&2
746 { (exit 1); exit 1; }; }
747 ac_package=`echo $ac_package| sed 's/-/_/g'`
749 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
752 eval "with_$ac_package='$ac_optarg'" ;;
754 -without-* | --without-*)
755 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
756 # Reject names that are not valid shell variable names.
757 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
758 { echo "$as_me: error: invalid package name: $ac_package" >&2
759 { (exit 1); exit 1; }; }
760 ac_package=`echo $ac_package | sed 's/-/_/g'`
761 eval "with_$ac_package=no" ;;
764 # Obsolete; use --with-x.
767 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
768 | --x-incl | --x-inc | --x-in | --x-i)
769 ac_prev=x_includes ;;
770 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
771 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
772 x_includes=$ac_optarg ;;
774 -x-libraries | --x-libraries | --x-librarie | --x-librari \
775 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
776 ac_prev=x_libraries ;;
777 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
778 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
779 x_libraries=$ac_optarg ;;
781 -*) { echo "$as_me: error: unrecognized option: $ac_option
782 Try \`$0 --help' for more information." >&2
783 { (exit 1); exit 1; }; }
787 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
788 # Reject names that are not valid shell variable names.
789 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
790 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
791 { (exit 1); exit 1; }; }
792 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
793 eval "$ac_envvar='$ac_optarg'"
797 # FIXME: should be removed in autoconf 3.0.
798 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
799 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
800 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
801 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
807 if test -n "$ac_prev"; then
808 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
809 { echo "$as_me: error: missing argument to $ac_option" >&2
810 { (exit 1); exit 1; }; }
813 # Be sure to have absolute paths.
814 for ac_var in exec_prefix prefix
816 eval ac_val=$`echo $ac_var`
818 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
819 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
820 { (exit 1); exit 1; }; };;
824 # Be sure to have absolute paths.
825 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
826 localstatedir libdir includedir oldincludedir infodir mandir
828 eval ac_val=$`echo $ac_var`
830 [\\/$]* | ?:[\\/]* ) ;;
831 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
832 { (exit 1); exit 1; }; };;
836 # There might be people who depend on the old broken behavior: `$host'
837 # used to hold the argument of --host etc.
838 # FIXME: To remove some day.
843 # FIXME: To remove some day.
844 if test "x$host_alias" != x; then
845 if test "x$build_alias" = x; then
846 cross_compiling=maybe
847 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
848 If a cross compiler is detected then cross compile mode will be used." >&2
849 elif test "x$build_alias" != "x$host_alias"; then
855 test -n "$host_alias" && ac_tool_prefix=$host_alias-
857 test "$silent" = yes && exec 6>/dev/null
860 # Find the source files, if location was not specified.
861 if test -z "$srcdir"; then
862 ac_srcdir_defaulted=yes
863 # Try the directory containing this script, then its parent.
864 ac_confdir=`(dirname "$0") 2>/dev/null ||
865 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
866 X"$0" : 'X\(//\)[^/]' \| \
867 X"$0" : 'X\(//\)$' \| \
868 X"$0" : 'X\(/\)' \| \
869 . : '\(.\)' 2>/dev/null ||
871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
872 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
873 /^X\(\/\/\)$/{ s//\1/; q; }
874 /^X\(\/\).*/{ s//\1/; q; }
877 if test ! -r $srcdir/$ac_unique_file; then
881 ac_srcdir_defaulted=no
883 if test ! -r $srcdir/$ac_unique_file; then
884 if test "$ac_srcdir_defaulted" = yes; then
885 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
886 { (exit 1); exit 1; }; }
888 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
889 { (exit 1); exit 1; }; }
892 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
893 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
894 { (exit 1); exit 1; }; }
895 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
896 ac_env_build_alias_set=${build_alias+set}
897 ac_env_build_alias_value=$build_alias
898 ac_cv_env_build_alias_set=${build_alias+set}
899 ac_cv_env_build_alias_value=$build_alias
900 ac_env_host_alias_set=${host_alias+set}
901 ac_env_host_alias_value=$host_alias
902 ac_cv_env_host_alias_set=${host_alias+set}
903 ac_cv_env_host_alias_value=$host_alias
904 ac_env_target_alias_set=${target_alias+set}
905 ac_env_target_alias_value=$target_alias
906 ac_cv_env_target_alias_set=${target_alias+set}
907 ac_cv_env_target_alias_value=$target_alias
908 ac_env_CXX_set=${CXX+set}
909 ac_env_CXX_value=$CXX
910 ac_cv_env_CXX_set=${CXX+set}
911 ac_cv_env_CXX_value=$CXX
912 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
913 ac_env_CXXFLAGS_value=$CXXFLAGS
914 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
915 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
916 ac_env_LDFLAGS_set=${LDFLAGS+set}
917 ac_env_LDFLAGS_value=$LDFLAGS
918 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
919 ac_cv_env_LDFLAGS_value=$LDFLAGS
920 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
921 ac_env_CPPFLAGS_value=$CPPFLAGS
922 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
923 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
924 ac_env_CC_set=${CC+set}
926 ac_cv_env_CC_set=${CC+set}
927 ac_cv_env_CC_value=$CC
928 ac_env_CFLAGS_set=${CFLAGS+set}
929 ac_env_CFLAGS_value=$CFLAGS
930 ac_cv_env_CFLAGS_set=${CFLAGS+set}
931 ac_cv_env_CFLAGS_value=$CFLAGS
932 ac_env_CPP_set=${CPP+set}
933 ac_env_CPP_value=$CPP
934 ac_cv_env_CPP_set=${CPP+set}
935 ac_cv_env_CPP_value=$CPP
936 ac_env_CXXCPP_set=${CXXCPP+set}
937 ac_env_CXXCPP_value=$CXXCPP
938 ac_cv_env_CXXCPP_set=${CXXCPP+set}
939 ac_cv_env_CXXCPP_value=$CXXCPP
940 ac_env_F77_set=${F77+set}
941 ac_env_F77_value=$F77
942 ac_cv_env_F77_set=${F77+set}
943 ac_cv_env_F77_value=$F77
944 ac_env_FFLAGS_set=${FFLAGS+set}
945 ac_env_FFLAGS_value=$FFLAGS
946 ac_cv_env_FFLAGS_set=${FFLAGS+set}
947 ac_cv_env_FFLAGS_value=$FFLAGS
950 # Report the --help message.
952 if test "$ac_init_help" = "long"; then
953 # Omit some internal or obsolete options to make the list less imposing.
954 # This message is too long to be a string in the A/UX 3.1 sh.
956 \`configure' configures [LLVM] [1.0] to adapt to many kinds of systems.
958 Usage: $0 [OPTION]... [VAR=VALUE]...
960 To assign environment variables (e.g., CC, CFLAGS...), specify them as
961 VAR=VALUE. See below for descriptions of some of the useful variables.
963 Defaults for the options are specified in brackets.
966 -h, --help display this help and exit
967 --help=short display options specific to this package
968 --help=recursive display the short help of all the included packages
969 -V, --version display version information and exit
970 -q, --quiet, --silent do not print \`checking...' messages
971 --cache-file=FILE cache test results in FILE [disabled]
972 -C, --config-cache alias for \`--cache-file=config.cache'
973 -n, --no-create do not create output files
974 --srcdir=DIR find the sources in DIR [configure dir or \`..']
979 Installation directories:
980 --prefix=PREFIX install architecture-independent files in PREFIX
982 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
985 By default, \`make install' will install all the files in
986 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
987 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
988 for instance \`--prefix=\$HOME'.
990 For better control, use the options below.
992 Fine tuning of the installation directories:
993 --bindir=DIR user executables [EPREFIX/bin]
994 --sbindir=DIR system admin executables [EPREFIX/sbin]
995 --libexecdir=DIR program executables [EPREFIX/libexec]
996 --datadir=DIR read-only architecture-independent data [PREFIX/share]
997 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
998 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
999 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1000 --libdir=DIR object code libraries [EPREFIX/lib]
1001 --includedir=DIR C header files [PREFIX/include]
1002 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1003 --infodir=DIR info documentation [PREFIX/info]
1004 --mandir=DIR man documentation [PREFIX/man]
1010 --build=BUILD configure for building on BUILD [guessed]
1011 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1012 --target=TARGET configure for building compilers for TARGET [HOST]
1016 if test -n "$ac_init_help"; then
1017 case $ac_init_help in
1018 short | recursive ) echo "Configuration of [LLVM] [1.0]:";;
1023 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1024 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1025 --enable-shared[=PKGS]
1026 build shared libraries [default=yes]
1027 --enable-static[=PKGS]
1028 build static libraries [default=yes]
1029 --enable-fast-install[=PKGS]
1030 optimize for fast installation [default=yes]
1031 --disable-libtool-lock avoid locking (might break parallel builds)
1032 --enable-purify Compile with purify (default is NO)
1033 --enable-optimized Compile with optimizations enabled (default is NO)
1034 --enable-spec Compile SPEC benchmarks (default is NO)
1035 --enable-precompiled_bytecode
1036 Use pre-compiled bytecode (default is NO)
1037 --enable-llc_diffs Enable LLC Diffs when testing (default is YES)
1038 --enable-jit Enable Just In Time Compiling (default is YES)
1041 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1042 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1043 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1044 --with-pic try to use only PIC/non-PIC objects [default=use
1047 include additional configurations [automatic]
1048 --with-spec Location of SPEC benchmarks
1049 --with-llvmgccdir Location of LLVM GCC front-end
1050 --with-bcrepos Location of Bytecode Repository
1051 --with-papi Location of PAPI
1052 --with-purify Location of purify program
1054 Some influential environment variables:
1055 CXX C++ compiler command
1056 CXXFLAGS C++ compiler flags
1057 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1058 nonstandard directory <lib dir>
1059 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1060 headers in a nonstandard directory <include dir>
1061 CC C compiler command
1062 CFLAGS C compiler flags
1064 CXXCPP C++ preprocessor
1065 F77 Fortran 77 compiler command
1066 FFLAGS Fortran 77 compiler flags
1068 Use these variables to override the choices made by `configure' or to help
1069 it to find libraries and programs with nonstandard names/locations.
1071 Report bugs to <llvmbugs@cs.uiuc.edu>.
1075 if test "$ac_init_help" = "recursive"; then
1076 # If there are subdirs, report their specific --help.
1078 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1079 test -d $ac_dir || continue
1082 if test "$ac_dir" != .; then
1083 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1084 # A "../" for each directory in $ac_dir_suffix.
1085 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1087 ac_dir_suffix= ac_top_builddir=
1091 .) # No --srcdir option. We are building in place.
1093 if test -z "$ac_top_builddir"; then
1096 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1098 [\\/]* | ?:[\\/]* ) # Absolute path.
1099 ac_srcdir=$srcdir$ac_dir_suffix;
1100 ac_top_srcdir=$srcdir ;;
1102 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1103 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1105 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1107 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1108 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1109 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1110 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1113 # Check for guested configure; otherwise get Cygnus style configure.
1114 if test -f $ac_srcdir/configure.gnu; then
1116 $SHELL $ac_srcdir/configure.gnu --help=recursive
1117 elif test -f $ac_srcdir/configure; then
1119 $SHELL $ac_srcdir/configure --help=recursive
1120 elif test -f $ac_srcdir/configure.ac ||
1121 test -f $ac_srcdir/configure.in; then
1123 $ac_configure --help
1125 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1131 test -n "$ac_init_help" && exit 0
1132 if $ac_init_version; then
1134 [LLVM] configure [1.0]
1135 generated by GNU Autoconf 2.57
1137 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1138 Free Software Foundation, Inc.
1139 This configure script is free software; the Free Software Foundation
1140 gives unlimited permission to copy, distribute and modify it.
1146 This file contains any messages produced by compilers while
1147 running configure, to aid debugging if configure makes a mistake.
1149 It was created by [LLVM] $as_me [1.0], which was
1150 generated by GNU Autoconf 2.57. Invocation command line was
1161 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1162 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1163 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1164 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1165 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1167 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1168 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1170 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1171 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1172 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1173 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1174 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1175 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1176 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1184 test -z "$as_dir" && as_dir=.
1185 echo "PATH: $as_dir"
1200 # Keep a trace of the command line.
1201 # Strip out --no-create and --no-recursion so they do not pile up.
1202 # Strip out --silent because we don't want to record it for future runs.
1203 # Also quote any args containing shell meta-characters.
1204 # Make two passes to allow for proper duplicate-argument suppression.
1209 ac_must_keep_next=false
1215 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1216 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1217 | -silent | --silent | --silen | --sile | --sil)
1219 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1220 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1223 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1225 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1226 if test $ac_must_keep_next = true; then
1227 ac_must_keep_next=false # Got value, back to normal.
1230 *=* | --config-cache | -C | -disable-* | --disable-* \
1231 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1232 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1233 | -with-* | --with-* | -without-* | --without-* | --x)
1234 case "$ac_configure_args0 " in
1235 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1238 -* ) ac_must_keep_next=true ;;
1241 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1242 # Get rid of the leading space.
1248 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1249 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1251 # When interrupted or exit'd, cleanup temporary files, and complete
1252 # config.log. We remove comments because anyway the quotes in there
1253 # would cause problems or look ugly.
1254 # WARNING: Be sure not to use single quotes in there, as some shells,
1255 # such as our DU 5.0 friend, will then `close' the trap.
1256 trap 'exit_status=$?
1257 # Save into config.log some information that might help in debugging.
1262 ## ---------------- ##
1263 ## Cache variables. ##
1264 ## ---------------- ##
1267 # The following way of writing the cache mishandles newlines in values,
1270 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1273 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1274 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1278 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1285 ## ----------------- ##
1286 ## Output variables. ##
1287 ## ----------------- ##
1290 for ac_var in $ac_subst_vars
1292 eval ac_val=$`echo $ac_var`
1293 echo "$ac_var='"'"'$ac_val'"'"'"
1297 if test -n "$ac_subst_files"; then
1304 for ac_var in $ac_subst_files
1306 eval ac_val=$`echo $ac_var`
1307 echo "$ac_var='"'"'$ac_val'"'"'"
1312 if test -s confdefs.h; then
1319 sed "/^$/d" confdefs.h | sort
1322 test "$ac_signal" != 0 &&
1323 echo "$as_me: caught signal $ac_signal"
1324 echo "$as_me: exit $exit_status"
1326 rm -f core core.* *.core &&
1327 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1330 for ac_signal in 1 2 13 15; do
1331 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1335 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1336 rm -rf conftest* confdefs.h
1337 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1340 # Predefined preprocessor variables.
1342 cat >>confdefs.h <<_ACEOF
1343 #define PACKAGE_NAME "$PACKAGE_NAME"
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1352 cat >>confdefs.h <<_ACEOF
1353 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1357 cat >>confdefs.h <<_ACEOF
1358 #define PACKAGE_STRING "$PACKAGE_STRING"
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1367 # Let the site file select an alternate cache file if it wants to.
1368 # Prefer explicitly selected file to automatically selected ones.
1369 if test -z "$CONFIG_SITE"; then
1370 if test "x$prefix" != xNONE; then
1371 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1373 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1376 for ac_site_file in $CONFIG_SITE; do
1377 if test -r "$ac_site_file"; then
1378 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1379 echo "$as_me: loading site script $ac_site_file" >&6;}
1380 sed 's/^/| /' "$ac_site_file" >&5
1385 if test -r "$cache_file"; then
1386 # Some versions of bash will fail to source /dev/null (special
1387 # files actually), so we avoid doing that.
1388 if test -f "$cache_file"; then
1389 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1390 echo "$as_me: loading cache $cache_file" >&6;}
1392 [\\/]* | ?:[\\/]* ) . $cache_file;;
1393 *) . ./$cache_file;;
1397 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1398 echo "$as_me: creating cache $cache_file" >&6;}
1402 # Check that the precious variables saved in the cache have kept the same
1404 ac_cache_corrupted=false
1405 for ac_var in `(set) 2>&1 |
1406 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1407 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1408 eval ac_new_set=\$ac_env_${ac_var}_set
1409 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1410 eval ac_new_val="\$ac_env_${ac_var}_value"
1411 case $ac_old_set,$ac_new_set in
1413 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1414 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1415 ac_cache_corrupted=: ;;
1417 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1418 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1419 ac_cache_corrupted=: ;;
1422 if test "x$ac_old_val" != "x$ac_new_val"; then
1423 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1424 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1425 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1426 echo "$as_me: former value: $ac_old_val" >&2;}
1427 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1428 echo "$as_me: current value: $ac_new_val" >&2;}
1429 ac_cache_corrupted=:
1432 # Pass precious variables to config.status.
1433 if test "$ac_new_set" = set; then
1435 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1436 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1437 *) ac_arg=$ac_var=$ac_new_val ;;
1439 case " $ac_configure_args " in
1440 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1441 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1445 if $ac_cache_corrupted; then
1446 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1447 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1448 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1449 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1450 { (exit 1); exit 1; }; }
1454 ac_cpp='$CPP $CPPFLAGS'
1455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1487 for ac_dir in autoconf $srcdir/autoconf; do
1488 if test -f $ac_dir/install-sh; then
1490 ac_install_sh="$ac_aux_dir/install-sh -c"
1492 elif test -f $ac_dir/install.sh; then
1494 ac_install_sh="$ac_aux_dir/install.sh -c"
1496 elif test -f $ac_dir/shtool; then
1498 ac_install_sh="$ac_aux_dir/shtool install -c"
1502 if test -z "$ac_aux_dir"; then
1503 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&5
1504 echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;}
1505 { (exit 1); exit 1; }; }
1507 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1508 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1509 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1512 if test ${srcdir} != "."
1514 if test -f ${srcdir}/include/Config/config.h
1516 { { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5
1517 echo "$as_me: error: Already configured in ${srcdir}" >&2;}
1518 { (exit 1); exit 1; }; }
1522 ac_config_headers="$ac_config_headers include/Config/config.h"
1524 ac_config_commands="$ac_config_commands Makefile"
1527 ac_config_commands="$ac_config_commands Makefile.common"
1530 ac_config_commands="$ac_config_commands Makefile.rules"
1533 ac_config_commands="$ac_config_commands lib/Makefile"
1536 ac_config_commands="$ac_config_commands lib/Analysis/Makefile"
1539 ac_config_commands="$ac_config_commands lib/Analysis/DataStructure/Makefile"
1542 ac_config_commands="$ac_config_commands lib/Analysis/IPA/Makefile"
1545 ac_config_commands="$ac_config_commands lib/Analysis/LiveVar/Makefile"
1548 ac_config_commands="$ac_config_commands lib/AsmParser/Makefile"
1551 ac_config_commands="$ac_config_commands lib/Bytecode/Makefile"
1554 ac_config_commands="$ac_config_commands lib/Bytecode/Reader/Makefile"
1557 ac_config_commands="$ac_config_commands lib/Bytecode/Writer/Makefile"
1560 ac_config_commands="$ac_config_commands lib/CWriter/Makefile"
1563 ac_config_commands="$ac_config_commands lib/CodeGen/Makefile"
1566 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSched/Makefile"
1569 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSelection/Makefile"
1572 ac_config_commands="$ac_config_commands lib/CodeGen/ModuloScheduling/Makefile"
1575 ac_config_commands="$ac_config_commands lib/CodeGen/RegAlloc/Makefile"
1578 ac_config_commands="$ac_config_commands lib/CodeGen/SelectionDAG/Makefile"
1581 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Makefile"
1584 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Interpreter/Makefile"
1587 ac_config_commands="$ac_config_commands lib/ExecutionEngine/JIT/Makefile"
1590 ac_config_commands="$ac_config_commands lib/Target/Makefile"
1593 ac_config_commands="$ac_config_commands lib/Target/Sparc/Makefile"
1596 ac_config_commands="$ac_config_commands lib/Target/X86/Makefile"
1599 ac_config_commands="$ac_config_commands lib/Transforms/Makefile"
1602 ac_config_commands="$ac_config_commands lib/Transforms/Hello/Makefile"
1605 ac_config_commands="$ac_config_commands lib/Transforms/IPO/Makefile"
1608 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/Makefile"
1611 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/ProfilePaths/Makefile"
1614 ac_config_commands="$ac_config_commands lib/Transforms/Scalar/Makefile"
1617 ac_config_commands="$ac_config_commands lib/Transforms/Utils/Makefile"
1620 ac_config_commands="$ac_config_commands lib/VMCore/Makefile"
1623 ac_config_commands="$ac_config_commands runtime/Makefile"
1626 ac_config_commands="$ac_config_commands runtime/GCCLibraries/Makefile"
1629 ac_config_commands="$ac_config_commands runtime/GCCLibraries/crtend/Makefile"
1632 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libc/Makefile"
1635 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libcurses/Makefile"
1638 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libg/Makefile"
1641 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libgcc/Makefile"
1644 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libm/Makefile"
1647 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libmalloc/Makefile"
1650 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libtermcap/Makefile"
1653 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libucb/Makefile"
1656 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutempter/Makefile"
1659 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutil/Makefile"
1662 ac_config_commands="$ac_config_commands runtime/libdummy/Makefile"
1665 ac_config_commands="$ac_config_commands runtime/libtrace/Makefile"
1668 ac_config_commands="$ac_config_commands test/Makefile"
1671 ac_config_commands="$ac_config_commands test/Makefile.tests"
1674 ac_config_commands="$ac_config_commands test/QMTestDB/QMTest/llvm.py"
1677 ac_config_commands="$ac_config_commands test/Programs/Makefile"
1680 ac_config_commands="$ac_config_commands test/Programs/Makefile.programs"
1683 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.Makefile"
1686 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.report"
1689 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.report"
1692 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.report"
1695 ac_config_commands="$ac_config_commands test/Programs/TEST.example.Makefile"
1698 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.Makefile"
1701 ac_config_commands="$ac_config_commands test/Programs/TEST.buildrepo.Makefile"
1704 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.Makefile"
1707 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.report"
1710 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.Makefile"
1713 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.report"
1716 ac_config_commands="$ac_config_commands test/Programs/TEST.typesafe.Makefile"
1719 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.gnuplot"
1722 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.Makefile"
1725 ac_config_commands="$ac_config_commands test/Programs/External/Makefile"
1728 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile"
1731 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile.spec"
1734 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/Makefile"
1737 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/179.art/Makefile"
1740 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/183.equake/Makefile"
1743 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/188.ammp/Makefile"
1746 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/Makefile"
1749 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/164.gzip/Makefile"
1752 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/175.vpr/Makefile"
1755 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/176.gcc/Makefile"
1758 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/181.mcf/Makefile"
1761 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/186.crafty/Makefile"
1764 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/197.parser/Makefile"
1767 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/254.gap/Makefile"
1770 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/255.vortex/Makefile"
1773 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile"
1776 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/300.twolf/Makefile"
1779 ac_config_commands="$ac_config_commands test/Programs/LLVMSource/Makefile"
1782 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile"
1785 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile.multisrc"
1788 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Makefile"
1791 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Burg/Makefile"
1794 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/aha/Makefile"
1797 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/sgefa/Makefile"
1800 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Makefile"
1803 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile"
1806 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/Makefile"
1809 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile"
1812 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile"
1815 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile"
1818 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile"
1821 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile"
1824 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile"
1827 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile"
1830 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile"
1833 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile"
1836 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile"
1839 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/Makefile"
1842 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile"
1845 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile"
1848 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile"
1851 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/health/Makefile"
1854 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile"
1857 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile"
1860 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/power/Makefile"
1863 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile"
1866 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile"
1869 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile"
1872 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile"
1875 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile"
1878 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile"
1881 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile"
1884 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile"
1887 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile"
1890 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile"
1893 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile"
1896 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/sim/Makefile"
1899 ac_config_commands="$ac_config_commands test/Programs/NoSource/Makefile"
1902 ac_config_commands="$ac_config_commands test/Programs/NoSource/Flex/Makefile"
1905 ac_config_commands="$ac_config_commands test/Programs/NoSource/Larn/Makefile"
1908 ac_config_commands="$ac_config_commands test/Programs/NoSource/Moria-5.5.2/Makefile"
1911 ac_config_commands="$ac_config_commands test/Programs/NoSource/Povray31/Makefile"
1914 ac_config_commands="$ac_config_commands test/Programs/NoSource/m4/Makefile"
1917 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile"
1920 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile.singlesrc"
1923 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Gizmos/Makefile"
1926 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Makefile"
1929 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile"
1932 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Shootout/Makefile"
1935 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Stanford/Makefile"
1938 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Misc/Makefile"
1941 ac_config_commands="$ac_config_commands test/Programs/SingleSource/CustomChecked/Makefile"
1944 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/Makefile"
1947 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile"
1950 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/Makefile"
1953 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C/Makefile"
1956 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C++/Makefile"
1959 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C++/EH/Makefile"
1962 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C++/CompileFail/Makefile"
1965 ac_config_commands="$ac_config_commands tools/Makefile"
1968 ac_config_commands="$ac_config_commands tools/analyze/Makefile"
1971 ac_config_commands="$ac_config_commands tools/bugpoint/Makefile"
1974 ac_config_commands="$ac_config_commands tools/extract/Makefile"
1977 ac_config_commands="$ac_config_commands tools/gccas/Makefile"
1980 ac_config_commands="$ac_config_commands tools/gccld/Makefile"
1983 ac_config_commands="$ac_config_commands tools/llc/Makefile"
1986 ac_config_commands="$ac_config_commands tools/llee/Makefile"
1989 ac_config_commands="$ac_config_commands tools/lli/Makefile"
1992 ac_config_commands="$ac_config_commands tools/llvm-ar/Makefile"
1995 ac_config_commands="$ac_config_commands tools/llvm-as/Makefile"
1998 ac_config_commands="$ac_config_commands tools/llvm-dis/Makefile"
2001 ac_config_commands="$ac_config_commands tools/llvm-link/Makefile"
2004 ac_config_commands="$ac_config_commands tools/opt/Makefile"
2007 ac_config_commands="$ac_config_commands utils/Makefile"
2010 ac_config_commands="$ac_config_commands www/docs/Makefile"
2013 ac_config_commands="$ac_config_commands projects/Makefile"
2016 ac_config_commands="$ac_config_commands projects/sample/Makefile"
2019 ac_config_commands="$ac_config_commands projects/sample/Makefile.common"
2022 ac_config_commands="$ac_config_commands projects/sample/Makefile.config"
2025 ac_config_commands="$ac_config_commands projects/sample/lib/Makefile"
2028 ac_config_commands="$ac_config_commands projects/sample/lib/sample/Makefile"
2031 ac_config_commands="$ac_config_commands projects/sample/tools/Makefile"
2034 ac_config_commands="$ac_config_commands projects/sample/tools/sample/Makefile"
2037 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile"
2040 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile.common"
2043 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/Makefile"
2046 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/ModuleMaker/Makefile"
2049 ac_config_commands="$ac_config_commands support/Makefile"
2052 ac_config_commands="$ac_config_commands support/lib/Makefile"
2055 ac_config_commands="$ac_config_commands support/lib/Support/Makefile"
2058 ac_config_commands="$ac_config_commands support/tools/Makefile"
2061 ac_config_commands="$ac_config_commands support/tools/Burg/Makefile"
2064 ac_config_commands="$ac_config_commands support/tools/Burg/Doc/Makefile"
2067 ac_config_commands="$ac_config_commands support/tools/TableGen/Makefile"
2072 # Find a good install program. We prefer a C program (faster),
2073 # so one script is as good as another. But avoid the broken or
2074 # incompatible versions:
2075 # SysV /etc/install, /usr/sbin/install
2076 # SunOS /usr/etc/install
2077 # IRIX /sbin/install
2079 # AmigaOS /C/install, which installs bootblocks on floppy discs
2080 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2081 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2082 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2083 # ./install, which can be erroneously created by make from ./install.sh.
2084 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2085 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2086 if test -z "$INSTALL"; then
2087 if test "${ac_cv_path_install+set}" = set; then
2088 echo $ECHO_N "(cached) $ECHO_C" >&6
2090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2094 test -z "$as_dir" && as_dir=.
2095 # Account for people who put trailing slashes in PATH elements.
2097 ./ | .// | /cC/* | \
2098 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2101 # OSF1 and SCO ODT 3.0 have their own names for install.
2102 # Don't use installbsd from OSF since it installs stuff as root
2104 for ac_prog in ginstall scoinst install; do
2105 for ac_exec_ext in '' $ac_executable_extensions; do
2106 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2107 if test $ac_prog = install &&
2108 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2109 # AIX install. It has an incompatible calling convention.
2111 elif test $ac_prog = install &&
2112 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2113 # program-specific install script used by HP pwplus--don't use.
2116 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2128 if test "${ac_cv_path_install+set}" = set; then
2129 INSTALL=$ac_cv_path_install
2131 # As a last resort, use the slow shell script. We don't cache a
2132 # path for INSTALL within a source directory, because that will
2133 # break other packages using the cache if that directory is
2134 # removed, or if the path is relative.
2135 INSTALL=$ac_install_sh
2138 echo "$as_me:$LINENO: result: $INSTALL" >&5
2139 echo "${ECHO_T}$INSTALL" >&6
2141 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2142 # It thinks the first close brace ends the variable substitution.
2143 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2145 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2147 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2150 # Make sure we can run config.sub.
2151 $ac_config_sub sun4 >/dev/null 2>&1 ||
2152 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2153 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2154 { (exit 1); exit 1; }; }
2156 echo "$as_me:$LINENO: checking build system type" >&5
2157 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2158 if test "${ac_cv_build+set}" = set; then
2159 echo $ECHO_N "(cached) $ECHO_C" >&6
2161 ac_cv_build_alias=$build_alias
2162 test -z "$ac_cv_build_alias" &&
2163 ac_cv_build_alias=`$ac_config_guess`
2164 test -z "$ac_cv_build_alias" &&
2165 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2166 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2167 { (exit 1); exit 1; }; }
2168 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2169 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2170 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2171 { (exit 1); exit 1; }; }
2174 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2175 echo "${ECHO_T}$ac_cv_build" >&6
2177 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2178 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2179 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2182 echo "$as_me:$LINENO: checking host system type" >&5
2183 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2184 if test "${ac_cv_host+set}" = set; then
2185 echo $ECHO_N "(cached) $ECHO_C" >&6
2187 ac_cv_host_alias=$host_alias
2188 test -z "$ac_cv_host_alias" &&
2189 ac_cv_host_alias=$ac_cv_build_alias
2190 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2191 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2192 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2193 { (exit 1); exit 1; }; }
2196 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2197 echo "${ECHO_T}$ac_cv_host" >&6
2199 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2200 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2201 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2204 echo "$as_me:$LINENO: checking target system type" >&5
2205 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2206 if test "${ac_cv_target+set}" = set; then
2207 echo $ECHO_N "(cached) $ECHO_C" >&6
2209 ac_cv_target_alias=$target_alias
2210 test "x$ac_cv_target_alias" = "x" &&
2211 ac_cv_target_alias=$ac_cv_host_alias
2212 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2213 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2214 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2215 { (exit 1); exit 1; }; }
2218 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2219 echo "${ECHO_T}$ac_cv_target" >&6
2220 target=$ac_cv_target
2221 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2222 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2223 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2226 # The aliases save the names the user supplied, while $host etc.
2227 # will get canonicalized.
2228 test -n "$target_alias" &&
2229 test "$program_prefix$program_suffix$program_transform_name" = \
2231 program_prefix=${target_alias}-
2236 LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/
2242 LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/
2252 *sparc*solaris*) target=sparcv9-sun-solaris2.8
2261 *sparc*solaris*) ARCH=Sparc
2268 ac_cpp='$CXXCPP $CPPFLAGS'
2269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2272 if test -n "$ac_tool_prefix"; then
2273 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2275 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2276 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2277 echo "$as_me:$LINENO: checking for $ac_word" >&5
2278 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2279 if test "${ac_cv_prog_CXX+set}" = set; then
2280 echo $ECHO_N "(cached) $ECHO_C" >&6
2282 if test -n "$CXX"; then
2283 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2289 test -z "$as_dir" && as_dir=.
2290 for ac_exec_ext in '' $ac_executable_extensions; do
2291 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2292 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2293 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2302 if test -n "$CXX"; then
2303 echo "$as_me:$LINENO: result: $CXX" >&5
2304 echo "${ECHO_T}$CXX" >&6
2306 echo "$as_me:$LINENO: result: no" >&5
2307 echo "${ECHO_T}no" >&6
2310 test -n "$CXX" && break
2313 if test -z "$CXX"; then
2315 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2317 # Extract the first word of "$ac_prog", so it can be a program name with args.
2318 set dummy $ac_prog; ac_word=$2
2319 echo "$as_me:$LINENO: checking for $ac_word" >&5
2320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2321 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2322 echo $ECHO_N "(cached) $ECHO_C" >&6
2324 if test -n "$ac_ct_CXX"; then
2325 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2331 test -z "$as_dir" && as_dir=.
2332 for ac_exec_ext in '' $ac_executable_extensions; do
2333 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2334 ac_cv_prog_ac_ct_CXX="$ac_prog"
2335 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2343 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2344 if test -n "$ac_ct_CXX"; then
2345 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2346 echo "${ECHO_T}$ac_ct_CXX" >&6
2348 echo "$as_me:$LINENO: result: no" >&5
2349 echo "${ECHO_T}no" >&6
2352 test -n "$ac_ct_CXX" && break
2354 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2360 # Provide some information about the compiler.
2361 echo "$as_me:$LINENO:" \
2362 "checking for C++ compiler version" >&5
2363 ac_compiler=`set X $ac_compile; echo $2`
2364 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2365 (eval $ac_compiler --version </dev/null >&5) 2>&5
2367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2368 (exit $ac_status); }
2369 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2370 (eval $ac_compiler -v </dev/null >&5) 2>&5
2372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373 (exit $ac_status); }
2374 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2375 (eval $ac_compiler -V </dev/null >&5) 2>&5
2377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378 (exit $ac_status); }
2380 cat >conftest.$ac_ext <<_ACEOF
2381 #line $LINENO "configure"
2384 cat confdefs.h >>conftest.$ac_ext
2385 cat >>conftest.$ac_ext <<_ACEOF
2386 /* end confdefs.h. */
2396 ac_clean_files_save=$ac_clean_files
2397 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2398 # Try to create an executable without -o first, disregard a.out.
2399 # It will help us diagnose broken compilers, and finding out an intuition
2401 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
2402 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
2403 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2404 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2405 (eval $ac_link_default) 2>&5
2407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2408 (exit $ac_status); }; then
2409 # Find the output, starting from the most likely. This scheme is
2410 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2413 # Be careful to initialize this variable, since it used to be cached.
2414 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2416 # b.out is created by i960 compilers.
2417 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2419 test -f "$ac_file" || continue
2421 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2424 # This is the source file.
2427 # We found the default executable, but exeext='' is most
2431 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2432 # FIXME: I believe we export ac_cv_exeext for Libtool,
2433 # but it would be cool to find out if it's true. Does anybody
2434 # maintain Libtool? --akim.
2442 echo "$as_me: failed program was:" >&5
2443 sed 's/^/| /' conftest.$ac_ext >&5
2445 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2446 See \`config.log' for more details." >&5
2447 echo "$as_me: error: C++ compiler cannot create executables
2448 See \`config.log' for more details." >&2;}
2449 { (exit 77); exit 77; }; }
2452 ac_exeext=$ac_cv_exeext
2453 echo "$as_me:$LINENO: result: $ac_file" >&5
2454 echo "${ECHO_T}$ac_file" >&6
2456 # Check the compiler produces executables we can run. If not, either
2457 # the compiler is broken, or we cross compile.
2458 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2459 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2460 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2461 # If not cross compiling, check that we can run a simple program.
2462 if test "$cross_compiling" != yes; then
2463 if { ac_try='./$ac_file'
2464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468 (exit $ac_status); }; }; then
2471 if test "$cross_compiling" = maybe; then
2474 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2475 If you meant to cross compile, use \`--host'.
2476 See \`config.log' for more details." >&5
2477 echo "$as_me: error: cannot run C++ compiled programs.
2478 If you meant to cross compile, use \`--host'.
2479 See \`config.log' for more details." >&2;}
2480 { (exit 1); exit 1; }; }
2484 echo "$as_me:$LINENO: result: yes" >&5
2485 echo "${ECHO_T}yes" >&6
2487 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2488 ac_clean_files=$ac_clean_files_save
2489 # Check the compiler produces executables we can run. If not, either
2490 # the compiler is broken, or we cross compile.
2491 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2492 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2493 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2494 echo "${ECHO_T}$cross_compiling" >&6
2496 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2497 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2499 (eval $ac_link) 2>&5
2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502 (exit $ac_status); }; then
2503 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2504 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2505 # work properly (i.e., refer to `conftest.exe'), while it won't with
2507 for ac_file in conftest.exe conftest conftest.*; do
2508 test -f "$ac_file" || continue
2510 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2511 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2518 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2519 See \`config.log' for more details." >&5
2520 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2521 See \`config.log' for more details." >&2;}
2522 { (exit 1); exit 1; }; }
2525 rm -f conftest$ac_cv_exeext
2526 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2527 echo "${ECHO_T}$ac_cv_exeext" >&6
2529 rm -f conftest.$ac_ext
2530 EXEEXT=$ac_cv_exeext
2532 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2533 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2534 if test "${ac_cv_objext+set}" = set; then
2535 echo $ECHO_N "(cached) $ECHO_C" >&6
2537 cat >conftest.$ac_ext <<_ACEOF
2538 #line $LINENO "configure"
2541 cat confdefs.h >>conftest.$ac_ext
2542 cat >>conftest.$ac_ext <<_ACEOF
2543 /* end confdefs.h. */
2553 rm -f conftest.o conftest.obj
2554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2555 (eval $ac_compile) 2>&5
2557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2558 (exit $ac_status); }; then
2559 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2561 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2562 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2567 echo "$as_me: failed program was:" >&5
2568 sed 's/^/| /' conftest.$ac_ext >&5
2570 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2571 See \`config.log' for more details." >&5
2572 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2573 See \`config.log' for more details." >&2;}
2574 { (exit 1); exit 1; }; }
2577 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2579 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2580 echo "${ECHO_T}$ac_cv_objext" >&6
2581 OBJEXT=$ac_cv_objext
2583 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2584 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2585 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2586 echo $ECHO_N "(cached) $ECHO_C" >&6
2588 cat >conftest.$ac_ext <<_ACEOF
2589 #line $LINENO "configure"
2592 cat confdefs.h >>conftest.$ac_ext
2593 cat >>conftest.$ac_ext <<_ACEOF
2594 /* end confdefs.h. */
2607 rm -f conftest.$ac_objext
2608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2609 (eval $ac_compile) 2>&5
2611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2612 (exit $ac_status); } &&
2613 { ac_try='test -s conftest.$ac_objext'
2614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618 (exit $ac_status); }; }; then
2621 echo "$as_me: failed program was:" >&5
2622 sed 's/^/| /' conftest.$ac_ext >&5
2626 rm -f conftest.$ac_objext conftest.$ac_ext
2627 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2630 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2631 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2632 GXX=`test $ac_compiler_gnu = yes && echo yes`
2633 ac_test_CXXFLAGS=${CXXFLAGS+set}
2634 ac_save_CXXFLAGS=$CXXFLAGS
2636 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2637 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2638 if test "${ac_cv_prog_cxx_g+set}" = set; then
2639 echo $ECHO_N "(cached) $ECHO_C" >&6
2641 cat >conftest.$ac_ext <<_ACEOF
2642 #line $LINENO "configure"
2645 cat confdefs.h >>conftest.$ac_ext
2646 cat >>conftest.$ac_ext <<_ACEOF
2647 /* end confdefs.h. */
2657 rm -f conftest.$ac_objext
2658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2659 (eval $ac_compile) 2>&5
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); } &&
2663 { ac_try='test -s conftest.$ac_objext'
2664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2668 (exit $ac_status); }; }; then
2669 ac_cv_prog_cxx_g=yes
2671 echo "$as_me: failed program was:" >&5
2672 sed 's/^/| /' conftest.$ac_ext >&5
2676 rm -f conftest.$ac_objext conftest.$ac_ext
2678 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2679 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2680 if test "$ac_test_CXXFLAGS" = set; then
2681 CXXFLAGS=$ac_save_CXXFLAGS
2682 elif test $ac_cv_prog_cxx_g = yes; then
2683 if test "$GXX" = yes; then
2689 if test "$GXX" = yes; then
2695 for ac_declaration in \
2697 '#include <stdlib.h>' \
2698 'extern "C" void std::exit (int) throw (); using std::exit;' \
2699 'extern "C" void std::exit (int); using std::exit;' \
2700 'extern "C" void exit (int) throw ();' \
2701 'extern "C" void exit (int);' \
2704 cat >conftest.$ac_ext <<_ACEOF
2705 #line $LINENO "configure"
2708 cat confdefs.h >>conftest.$ac_ext
2709 cat >>conftest.$ac_ext <<_ACEOF
2710 /* end confdefs.h. */
2721 rm -f conftest.$ac_objext
2722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2723 (eval $ac_compile) 2>&5
2725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2726 (exit $ac_status); } &&
2727 { ac_try='test -s conftest.$ac_objext'
2728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2732 (exit $ac_status); }; }; then
2735 echo "$as_me: failed program was:" >&5
2736 sed 's/^/| /' conftest.$ac_ext >&5
2740 rm -f conftest.$ac_objext conftest.$ac_ext
2741 cat >conftest.$ac_ext <<_ACEOF
2742 #line $LINENO "configure"
2745 cat confdefs.h >>conftest.$ac_ext
2746 cat >>conftest.$ac_ext <<_ACEOF
2747 /* end confdefs.h. */
2757 rm -f conftest.$ac_objext
2758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2759 (eval $ac_compile) 2>&5
2761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2762 (exit $ac_status); } &&
2763 { ac_try='test -s conftest.$ac_objext'
2764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2768 (exit $ac_status); }; }; then
2771 echo "$as_me: failed program was:" >&5
2772 sed 's/^/| /' conftest.$ac_ext >&5
2775 rm -f conftest.$ac_objext conftest.$ac_ext
2778 if test -n "$ac_declaration"; then
2779 echo '#ifdef __cplusplus' >>confdefs.h
2780 echo $ac_declaration >>confdefs.h
2781 echo '#endif' >>confdefs.h
2785 ac_cpp='$CPP $CPPFLAGS'
2786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2791 ac_cpp='$CPP $CPPFLAGS'
2792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2795 if test -n "$ac_tool_prefix"; then
2798 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2799 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2800 echo "$as_me:$LINENO: checking for $ac_word" >&5
2801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2802 if test "${ac_cv_prog_CC+set}" = set; then
2803 echo $ECHO_N "(cached) $ECHO_C" >&6
2805 if test -n "$CC"; then
2806 ac_cv_prog_CC="$CC" # Let the user override the test.
2808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2812 test -z "$as_dir" && as_dir=.
2813 for ac_exec_ext in '' $ac_executable_extensions; do
2814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2815 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2825 if test -n "$CC"; then
2826 echo "$as_me:$LINENO: result: $CC" >&5
2827 echo "${ECHO_T}$CC" >&6
2829 echo "$as_me:$LINENO: result: no" >&5
2830 echo "${ECHO_T}no" >&6
2833 test -n "$CC" && break
2836 if test -z "$CC"; then
2840 # Extract the first word of "$ac_prog", so it can be a program name with args.
2841 set dummy $ac_prog; ac_word=$2
2842 echo "$as_me:$LINENO: checking for $ac_word" >&5
2843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2844 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2845 echo $ECHO_N "(cached) $ECHO_C" >&6
2847 if test -n "$ac_ct_CC"; then
2848 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2854 test -z "$as_dir" && as_dir=.
2855 for ac_exec_ext in '' $ac_executable_extensions; do
2856 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2857 ac_cv_prog_ac_ct_CC="$ac_prog"
2858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2866 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2867 if test -n "$ac_ct_CC"; then
2868 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2869 echo "${ECHO_T}$ac_ct_CC" >&6
2871 echo "$as_me:$LINENO: result: no" >&5
2872 echo "${ECHO_T}no" >&6
2875 test -n "$ac_ct_CC" && break
2882 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2883 See \`config.log' for more details." >&5
2884 echo "$as_me: error: no acceptable C compiler found in \$PATH
2885 See \`config.log' for more details." >&2;}
2886 { (exit 1); exit 1; }; }
2888 # Provide some information about the compiler.
2889 echo "$as_me:$LINENO:" \
2890 "checking for C compiler version" >&5
2891 ac_compiler=`set X $ac_compile; echo $2`
2892 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2893 (eval $ac_compiler --version </dev/null >&5) 2>&5
2895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896 (exit $ac_status); }
2897 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2898 (eval $ac_compiler -v </dev/null >&5) 2>&5
2900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2901 (exit $ac_status); }
2902 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2903 (eval $ac_compiler -V </dev/null >&5) 2>&5
2905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2906 (exit $ac_status); }
2908 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2909 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2910 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2911 echo $ECHO_N "(cached) $ECHO_C" >&6
2913 cat >conftest.$ac_ext <<_ACEOF
2914 #line $LINENO "configure"
2917 cat confdefs.h >>conftest.$ac_ext
2918 cat >>conftest.$ac_ext <<_ACEOF
2919 /* end confdefs.h. */
2932 rm -f conftest.$ac_objext
2933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2934 (eval $ac_compile) 2>&5
2936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2937 (exit $ac_status); } &&
2938 { ac_try='test -s conftest.$ac_objext'
2939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2943 (exit $ac_status); }; }; then
2946 echo "$as_me: failed program was:" >&5
2947 sed 's/^/| /' conftest.$ac_ext >&5
2951 rm -f conftest.$ac_objext conftest.$ac_ext
2952 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2955 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2956 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2957 GCC=`test $ac_compiler_gnu = yes && echo yes`
2958 ac_test_CFLAGS=${CFLAGS+set}
2959 ac_save_CFLAGS=$CFLAGS
2961 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2962 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2963 if test "${ac_cv_prog_cc_g+set}" = set; then
2964 echo $ECHO_N "(cached) $ECHO_C" >&6
2966 cat >conftest.$ac_ext <<_ACEOF
2967 #line $LINENO "configure"
2970 cat confdefs.h >>conftest.$ac_ext
2971 cat >>conftest.$ac_ext <<_ACEOF
2972 /* end confdefs.h. */
2982 rm -f conftest.$ac_objext
2983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2984 (eval $ac_compile) 2>&5
2986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987 (exit $ac_status); } &&
2988 { ac_try='test -s conftest.$ac_objext'
2989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993 (exit $ac_status); }; }; then
2996 echo "$as_me: failed program was:" >&5
2997 sed 's/^/| /' conftest.$ac_ext >&5
3001 rm -f conftest.$ac_objext conftest.$ac_ext
3003 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3004 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3005 if test "$ac_test_CFLAGS" = set; then
3006 CFLAGS=$ac_save_CFLAGS
3007 elif test $ac_cv_prog_cc_g = yes; then
3008 if test "$GCC" = yes; then
3014 if test "$GCC" = yes; then
3020 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3021 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3022 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3023 echo $ECHO_N "(cached) $ECHO_C" >&6
3025 ac_cv_prog_cc_stdc=no
3027 cat >conftest.$ac_ext <<_ACEOF
3028 #line $LINENO "configure"
3031 cat confdefs.h >>conftest.$ac_ext
3032 cat >>conftest.$ac_ext <<_ACEOF
3033 /* end confdefs.h. */
3036 #include <sys/types.h>
3037 #include <sys/stat.h>
3038 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3039 struct buf { int x; };
3040 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3041 static char *e (p, i)
3047 static char *f (char * (*g) (char **, int), char **p, ...)
3052 s = g (p, va_arg (v,int));
3056 int test (int i, double x);
3057 struct s1 {int (*f) (int a);};
3058 struct s2 {int (*f) (double a);};
3059 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3065 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3070 # Don't try gcc -ansi; that turns off useful extensions and
3071 # breaks some systems' header files.
3072 # AIX -qlanglvl=ansi
3073 # Ultrix and OSF/1 -std1
3074 # HP-UX 10.20 and later -Ae
3075 # HP-UX older versions -Aa -D_HPUX_SOURCE
3076 # SVR4 -Xc -D__EXTENSIONS__
3077 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3079 CC="$ac_save_CC $ac_arg"
3080 rm -f conftest.$ac_objext
3081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3082 (eval $ac_compile) 2>&5
3084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3085 (exit $ac_status); } &&
3086 { ac_try='test -s conftest.$ac_objext'
3087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3091 (exit $ac_status); }; }; then
3092 ac_cv_prog_cc_stdc=$ac_arg
3095 echo "$as_me: failed program was:" >&5
3096 sed 's/^/| /' conftest.$ac_ext >&5
3099 rm -f conftest.$ac_objext
3101 rm -f conftest.$ac_ext conftest.$ac_objext
3106 case "x$ac_cv_prog_cc_stdc" in
3108 echo "$as_me:$LINENO: result: none needed" >&5
3109 echo "${ECHO_T}none needed" >&6 ;;
3111 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3112 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3113 CC="$CC $ac_cv_prog_cc_stdc" ;;
3116 # Some people use a C++ compiler to compile C. Since we use `exit',
3117 # in C++ we need to declare it. In case someone uses the same compiler
3118 # for both compiling C and C++ we need to have the C++ compiler decide
3119 # the declaration of exit, since it's the most demanding environment.
3120 cat >conftest.$ac_ext <<_ACEOF
3125 rm -f conftest.$ac_objext
3126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3127 (eval $ac_compile) 2>&5
3129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3130 (exit $ac_status); } &&
3131 { ac_try='test -s conftest.$ac_objext'
3132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3136 (exit $ac_status); }; }; then
3137 for ac_declaration in \
3139 '#include <stdlib.h>' \
3140 'extern "C" void std::exit (int) throw (); using std::exit;' \
3141 'extern "C" void std::exit (int); using std::exit;' \
3142 'extern "C" void exit (int) throw ();' \
3143 'extern "C" void exit (int);' \
3146 cat >conftest.$ac_ext <<_ACEOF
3147 #line $LINENO "configure"
3150 cat confdefs.h >>conftest.$ac_ext
3151 cat >>conftest.$ac_ext <<_ACEOF
3152 /* end confdefs.h. */
3163 rm -f conftest.$ac_objext
3164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3165 (eval $ac_compile) 2>&5
3167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3168 (exit $ac_status); } &&
3169 { ac_try='test -s conftest.$ac_objext'
3170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3174 (exit $ac_status); }; }; then
3177 echo "$as_me: failed program was:" >&5
3178 sed 's/^/| /' conftest.$ac_ext >&5
3182 rm -f conftest.$ac_objext conftest.$ac_ext
3183 cat >conftest.$ac_ext <<_ACEOF
3184 #line $LINENO "configure"
3187 cat confdefs.h >>conftest.$ac_ext
3188 cat >>conftest.$ac_ext <<_ACEOF
3189 /* end confdefs.h. */
3199 rm -f conftest.$ac_objext
3200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3201 (eval $ac_compile) 2>&5
3203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3204 (exit $ac_status); } &&
3205 { ac_try='test -s conftest.$ac_objext'
3206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); }; }; then
3213 echo "$as_me: failed program was:" >&5
3214 sed 's/^/| /' conftest.$ac_ext >&5
3217 rm -f conftest.$ac_objext conftest.$ac_ext
3220 if test -n "$ac_declaration"; then
3221 echo '#ifdef __cplusplus' >>confdefs.h
3222 echo $ac_declaration >>confdefs.h
3223 echo '#endif' >>confdefs.h
3227 echo "$as_me: failed program was:" >&5
3228 sed 's/^/| /' conftest.$ac_ext >&5
3231 rm -f conftest.$ac_objext conftest.$ac_ext
3233 ac_cpp='$CPP $CPPFLAGS'
3234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3239 ac_cpp='$CPP $CPPFLAGS'
3240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3243 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3244 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3245 # On Suns, sometimes $CPP names a directory.
3246 if test -n "$CPP" && test -d "$CPP"; then
3249 if test -z "$CPP"; then
3250 if test "${ac_cv_prog_CPP+set}" = set; then
3251 echo $ECHO_N "(cached) $ECHO_C" >&6
3253 # Double quotes because CPP needs to be expanded
3254 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3257 for ac_c_preproc_warn_flag in '' yes
3259 # Use a header file that comes with gcc, so configuring glibc
3260 # with a fresh cross-compiler works.
3261 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3262 # <limits.h> exists even on freestanding compilers.
3263 # On the NeXT, cc -E runs the code through the compiler's parser,
3264 # not just through cpp. "Syntax error" is here to catch this case.
3265 cat >conftest.$ac_ext <<_ACEOF
3266 #line $LINENO "configure"
3269 cat confdefs.h >>conftest.$ac_ext
3270 cat >>conftest.$ac_ext <<_ACEOF
3271 /* end confdefs.h. */
3273 # include <limits.h>
3275 # include <assert.h>
3279 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3280 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3282 grep -v '^ *+' conftest.er1 >conftest.err
3284 cat conftest.err >&5
3285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3286 (exit $ac_status); } >/dev/null; then
3287 if test -s conftest.err; then
3288 ac_cpp_err=$ac_c_preproc_warn_flag
3295 if test -z "$ac_cpp_err"; then
3298 echo "$as_me: failed program was:" >&5
3299 sed 's/^/| /' conftest.$ac_ext >&5
3301 # Broken: fails on valid input.
3304 rm -f conftest.err conftest.$ac_ext
3306 # OK, works on sane cases. Now check whether non-existent headers
3307 # can be detected and how.
3308 cat >conftest.$ac_ext <<_ACEOF
3309 #line $LINENO "configure"
3312 cat confdefs.h >>conftest.$ac_ext
3313 cat >>conftest.$ac_ext <<_ACEOF
3314 /* end confdefs.h. */
3315 #include <ac_nonexistent.h>
3317 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3318 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3320 grep -v '^ *+' conftest.er1 >conftest.err
3322 cat conftest.err >&5
3323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3324 (exit $ac_status); } >/dev/null; then
3325 if test -s conftest.err; then
3326 ac_cpp_err=$ac_c_preproc_warn_flag
3333 if test -z "$ac_cpp_err"; then
3334 # Broken: success on invalid input.
3337 echo "$as_me: failed program was:" >&5
3338 sed 's/^/| /' conftest.$ac_ext >&5
3340 # Passes both tests.
3344 rm -f conftest.err conftest.$ac_ext
3347 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3348 rm -f conftest.err conftest.$ac_ext
3349 if $ac_preproc_ok; then
3361 echo "$as_me:$LINENO: result: $CPP" >&5
3362 echo "${ECHO_T}$CPP" >&6
3364 for ac_c_preproc_warn_flag in '' yes
3366 # Use a header file that comes with gcc, so configuring glibc
3367 # with a fresh cross-compiler works.
3368 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3369 # <limits.h> exists even on freestanding compilers.
3370 # On the NeXT, cc -E runs the code through the compiler's parser,
3371 # not just through cpp. "Syntax error" is here to catch this case.
3372 cat >conftest.$ac_ext <<_ACEOF
3373 #line $LINENO "configure"
3376 cat confdefs.h >>conftest.$ac_ext
3377 cat >>conftest.$ac_ext <<_ACEOF
3378 /* end confdefs.h. */
3380 # include <limits.h>
3382 # include <assert.h>
3386 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3387 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3389 grep -v '^ *+' conftest.er1 >conftest.err
3391 cat conftest.err >&5
3392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3393 (exit $ac_status); } >/dev/null; then
3394 if test -s conftest.err; then
3395 ac_cpp_err=$ac_c_preproc_warn_flag
3402 if test -z "$ac_cpp_err"; then
3405 echo "$as_me: failed program was:" >&5
3406 sed 's/^/| /' conftest.$ac_ext >&5
3408 # Broken: fails on valid input.
3411 rm -f conftest.err conftest.$ac_ext
3413 # OK, works on sane cases. Now check whether non-existent headers
3414 # can be detected and how.
3415 cat >conftest.$ac_ext <<_ACEOF
3416 #line $LINENO "configure"
3419 cat confdefs.h >>conftest.$ac_ext
3420 cat >>conftest.$ac_ext <<_ACEOF
3421 /* end confdefs.h. */
3422 #include <ac_nonexistent.h>
3424 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3425 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3427 grep -v '^ *+' conftest.er1 >conftest.err
3429 cat conftest.err >&5
3430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3431 (exit $ac_status); } >/dev/null; then
3432 if test -s conftest.err; then
3433 ac_cpp_err=$ac_c_preproc_warn_flag
3440 if test -z "$ac_cpp_err"; then
3441 # Broken: success on invalid input.
3444 echo "$as_me: failed program was:" >&5
3445 sed 's/^/| /' conftest.$ac_ext >&5
3447 # Passes both tests.
3451 rm -f conftest.err conftest.$ac_ext
3454 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3455 rm -f conftest.err conftest.$ac_ext
3456 if $ac_preproc_ok; then
3459 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3460 See \`config.log' for more details." >&5
3461 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3462 See \`config.log' for more details." >&2;}
3463 { (exit 1); exit 1; }; }
3467 ac_cpp='$CPP $CPPFLAGS'
3468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3473 if test "$GCC" != "yes"
3475 { { echo "$as_me:$LINENO: error: gcc required but not found" >&5
3476 echo "$as_me: error: gcc required but not found" >&2;}
3477 { (exit 1); exit 1; }; }
3480 if test "$GXX" != "yes"
3482 { { echo "$as_me:$LINENO: error: g++ required but not found" >&5
3483 echo "$as_me: error: g++ required but not found" >&2;}
3484 { (exit 1); exit 1; }; }
3487 gccmajor=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1`
3488 if test "$gccmajor" -lt "3"
3490 { { echo "$as_me:$LINENO: error: gcc 3.x required" >&5
3491 echo "$as_me: error: gcc 3.x required" >&2;}
3492 { (exit 1); exit 1; }; }
3495 echo "$as_me:$LINENO: checking for GNU make" >&5
3496 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
3497 if test "${_cv_gnu_make_command+set}" = set; then
3498 echo $ECHO_N "(cached) $ECHO_C" >&6
3500 _cv_gnu_make_command='' ;
3501 for a in "$MAKE" make gmake gnumake ; do
3502 if test -z "$a" ; then continue ; fi ;
3503 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
3504 _cv_gnu_make_command=$a ;
3510 echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5
3511 echo "${ECHO_T}$_cv_gnu_make_command" >&6 ;
3512 if test "x$_cv_gnu_make_command" != "x" ; then
3516 echo "$as_me:$LINENO: result: \"Not found\"" >&5
3517 echo "${ECHO_T}\"Not found\"" >&6;
3521 if test -z "$_cv_gnu_make_command"
3523 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
3524 echo "$as_me: error: GNU Make required but not found" >&2;}
3525 { (exit 1); exit 1; }; }
3529 echo "$as_me:$LINENO: checking " >&5
3530 echo $ECHO_N "checking ... $ECHO_C" >&6
3531 if test "${ac_cv_has_flex+set}" = set; then
3532 echo $ECHO_N "(cached) $ECHO_C" >&6
3534 for ac_prog in flex lex
3536 # Extract the first word of "$ac_prog", so it can be a program name with args.
3537 set dummy $ac_prog; ac_word=$2
3538 echo "$as_me:$LINENO: checking for $ac_word" >&5
3539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3540 if test "${ac_cv_prog_LEX+set}" = set; then
3541 echo $ECHO_N "(cached) $ECHO_C" >&6
3543 if test -n "$LEX"; then
3544 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3550 test -z "$as_dir" && as_dir=.
3551 for ac_exec_ext in '' $ac_executable_extensions; do
3552 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3553 ac_cv_prog_LEX="$ac_prog"
3554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3563 if test -n "$LEX"; then
3564 echo "$as_me:$LINENO: result: $LEX" >&5
3565 echo "${ECHO_T}$LEX" >&6
3567 echo "$as_me:$LINENO: result: no" >&5
3568 echo "${ECHO_T}no" >&6
3571 test -n "$LEX" && break
3573 test -n "$LEX" || LEX=":"
3575 if test -z "$LEXLIB"
3577 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3578 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3579 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3580 echo $ECHO_N "(cached) $ECHO_C" >&6
3582 ac_check_lib_save_LIBS=$LIBS
3584 cat >conftest.$ac_ext <<_ACEOF
3585 #line $LINENO "configure"
3588 cat confdefs.h >>conftest.$ac_ext
3589 cat >>conftest.$ac_ext <<_ACEOF
3590 /* end confdefs.h. */
3592 /* Override any gcc2 internal prototype to avoid an error. */
3596 /* We use char because int might match the return type of a gcc2
3597 builtin and then its argument prototype would still apply. */
3607 rm -f conftest.$ac_objext conftest$ac_exeext
3608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3609 (eval $ac_link) 2>&5
3611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3612 (exit $ac_status); } &&
3613 { ac_try='test -s conftest$ac_exeext'
3614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3618 (exit $ac_status); }; }; then
3619 ac_cv_lib_fl_yywrap=yes
3621 echo "$as_me: failed program was:" >&5
3622 sed 's/^/| /' conftest.$ac_ext >&5
3624 ac_cv_lib_fl_yywrap=no
3626 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3627 LIBS=$ac_check_lib_save_LIBS
3629 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3630 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3631 if test $ac_cv_lib_fl_yywrap = yes; then
3634 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3635 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3636 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3637 echo $ECHO_N "(cached) $ECHO_C" >&6
3639 ac_check_lib_save_LIBS=$LIBS
3641 cat >conftest.$ac_ext <<_ACEOF
3642 #line $LINENO "configure"
3645 cat confdefs.h >>conftest.$ac_ext
3646 cat >>conftest.$ac_ext <<_ACEOF
3647 /* end confdefs.h. */
3649 /* Override any gcc2 internal prototype to avoid an error. */
3653 /* We use char because int might match the return type of a gcc2
3654 builtin and then its argument prototype would still apply. */
3664 rm -f conftest.$ac_objext conftest$ac_exeext
3665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3666 (eval $ac_link) 2>&5
3668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3669 (exit $ac_status); } &&
3670 { ac_try='test -s conftest$ac_exeext'
3671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3675 (exit $ac_status); }; }; then
3676 ac_cv_lib_l_yywrap=yes
3678 echo "$as_me: failed program was:" >&5
3679 sed 's/^/| /' conftest.$ac_ext >&5
3681 ac_cv_lib_l_yywrap=no
3683 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3684 LIBS=$ac_check_lib_save_LIBS
3686 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3687 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3688 if test $ac_cv_lib_l_yywrap = yes; then
3696 if test "x$LEX" != "x:"; then
3697 echo "$as_me:$LINENO: checking lex output file root" >&5
3698 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3699 if test "${ac_cv_prog_lex_root+set}" = set; then
3700 echo $ECHO_N "(cached) $ECHO_C" >&6
3702 # The minimal lex program is just a single line: %%. But some broken lexes
3703 # (Solaris, I think it was) want two %% lines, so accommodate them.
3704 cat >conftest.l <<_ACEOF
3708 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3709 (eval $LEX conftest.l) 2>&5
3711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3712 (exit $ac_status); }
3713 if test -f lex.yy.c; then
3714 ac_cv_prog_lex_root=lex.yy
3715 elif test -f lexyy.c; then
3716 ac_cv_prog_lex_root=lexyy
3718 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3719 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3720 { (exit 1); exit 1; }; }
3723 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3724 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3726 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3728 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3729 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3730 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3731 echo $ECHO_N "(cached) $ECHO_C" >&6
3733 # POSIX says lex can declare yytext either as a pointer or an array; the
3734 # default is implementation-dependent. Figure out which it is, since
3735 # not all implementations provide the %pointer and %array declarations.
3736 ac_cv_prog_lex_yytext_pointer=no
3737 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3739 LIBS="$LIBS $LEXLIB"
3740 cat >conftest.$ac_ext <<_ACEOF
3741 `cat $LEX_OUTPUT_ROOT.c`
3743 rm -f conftest.$ac_objext conftest$ac_exeext
3744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3745 (eval $ac_link) 2>&5
3747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3748 (exit $ac_status); } &&
3749 { ac_try='test -s conftest$ac_exeext'
3750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3754 (exit $ac_status); }; }; then
3755 ac_cv_prog_lex_yytext_pointer=yes
3757 echo "$as_me: failed program was:" >&5
3758 sed 's/^/| /' conftest.$ac_ext >&5
3761 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3763 rm -f "${LEX_OUTPUT_ROOT}.c"
3766 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3767 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3768 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3770 cat >>confdefs.h <<\_ACEOF
3771 #define YYTEXT_POINTER 1
3779 echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
3780 echo "${ECHO_T}$ac_cv_has_flex" >&6
3781 if test "$LEX" != "flex"; then
3782 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
3783 echo "$as_me: error: flex not found but required" >&2;}
3784 { (exit 1); exit 1; }; }
3787 echo "$as_me:$LINENO: checking " >&5
3788 echo $ECHO_N "checking ... $ECHO_C" >&6
3789 if test "${ac_cv_has_bison+set}" = set; then
3790 echo $ECHO_N "(cached) $ECHO_C" >&6
3792 for ac_prog in 'bison -y' byacc
3794 # Extract the first word of "$ac_prog", so it can be a program name with args.
3795 set dummy $ac_prog; ac_word=$2
3796 echo "$as_me:$LINENO: checking for $ac_word" >&5
3797 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3798 if test "${ac_cv_prog_YACC+set}" = set; then
3799 echo $ECHO_N "(cached) $ECHO_C" >&6
3801 if test -n "$YACC"; then
3802 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3808 test -z "$as_dir" && as_dir=.
3809 for ac_exec_ext in '' $ac_executable_extensions; do
3810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3811 ac_cv_prog_YACC="$ac_prog"
3812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3820 YACC=$ac_cv_prog_YACC
3821 if test -n "$YACC"; then
3822 echo "$as_me:$LINENO: result: $YACC" >&5
3823 echo "${ECHO_T}$YACC" >&6
3825 echo "$as_me:$LINENO: result: no" >&5
3826 echo "${ECHO_T}no" >&6
3829 test -n "$YACC" && break
3831 test -n "$YACC" || YACC="yacc"
3835 echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5
3836 echo "${ECHO_T}$ac_cv_has_bison" >&6
3837 if test "$YACC" != "bison -y"; then
3838 { { echo "$as_me:$LINENO: error: bison not found but required" >&5
3839 echo "$as_me: error: bison not found but required" >&2;}
3840 { (exit 1); exit 1; }; }
3847 # Check whether --enable-shared or --disable-shared was given.
3848 if test "${enable_shared+set}" = set; then
3849 enableval="$enable_shared"
3850 p=${PACKAGE-default}
3852 yes) enable_shared=yes ;;
3853 no) enable_shared=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-static or --disable-static was given.
3872 if test "${enable_static+set}" = set; then
3873 enableval="$enable_static"
3874 p=${PACKAGE-default}
3876 yes) enable_static=yes ;;
3877 no) enable_static=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
3895 # Check whether --enable-fast-install or --disable-fast-install was given.
3896 if test "${enable_fast_install+set}" = set; then
3897 enableval="$enable_fast_install"
3898 p=${PACKAGE-default}
3900 yes) enable_fast_install=yes ;;
3901 no) enable_fast_install=no ;;
3903 enable_fast_install=no
3904 # Look at the argument we got. We use all the common list separators.
3905 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3906 for pkg in $enableval; do
3908 if test "X$pkg" = "X$p"; then
3909 enable_fast_install=yes
3916 enable_fast_install=yes
3919 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3920 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3921 if test "${lt_cv_path_SED+set}" = set; then
3922 echo $ECHO_N "(cached) $ECHO_C" >&6
3924 # Loop through the user's path and test for sed and gsed.
3925 # Then use that list of sed's as ones to test for truncation.
3926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3930 test -z "$as_dir" && as_dir=.
3931 for lt_ac_prog in sed gsed; do
3932 for ac_exec_ext in '' $ac_executable_extensions; do
3933 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3934 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3941 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3942 # along with /bin/sed that truncates output.
3943 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3944 test ! -f $lt_ac_sed && break
3945 cat /dev/null > conftest.in
3947 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3948 # Check for GNU sed and select it if it is found.
3949 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3950 lt_cv_path_SED=$lt_ac_sed
3954 cat conftest.in conftest.in >conftest.tmp
3955 mv conftest.tmp conftest.in
3956 cp conftest.in conftest.nl
3958 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3959 cmp -s conftest.out conftest.nl || break
3960 # 10000 chars as input seems more than enough
3961 test $lt_ac_count -gt 10 && break
3962 lt_ac_count=`expr $lt_ac_count + 1`
3963 if test $lt_ac_count -gt $lt_ac_max; then
3964 lt_ac_max=$lt_ac_count
3965 lt_cv_path_SED=$lt_ac_sed
3973 echo "$as_me:$LINENO: result: $SED" >&5
3974 echo "${ECHO_T}$SED" >&6
3976 echo "$as_me:$LINENO: checking for egrep" >&5
3977 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3978 if test "${ac_cv_prog_egrep+set}" = set; then
3979 echo $ECHO_N "(cached) $ECHO_C" >&6
3981 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3982 then ac_cv_prog_egrep='grep -E'
3983 else ac_cv_prog_egrep='egrep'
3986 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3987 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3988 EGREP=$ac_cv_prog_egrep
3992 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3993 if test "${with_gnu_ld+set}" = set; then
3994 withval="$with_gnu_ld"
3995 test "$withval" = no || with_gnu_ld=yes
4000 if test "$GCC" = yes; then
4001 # Check if gcc -print-prog-name=ld gives a path.
4002 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4003 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4006 # gcc leaves a trailing carriage return which upsets mingw
4007 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4009 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4012 # Accept absolute paths.
4014 re_direlt='/[^/][^/]*/\.\./'
4015 # Canonicalize the path of ld
4016 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4017 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4018 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4020 test -z "$LD" && LD="$ac_prog"
4023 # If it fails, then pretend we aren't using GCC.
4027 # If it is relative, then search for the first ld in PATH.
4031 elif test "$with_gnu_ld" = yes; then
4032 echo "$as_me:$LINENO: checking for GNU ld" >&5
4033 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4035 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4036 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4038 if test "${lt_cv_path_LD+set}" = set; then
4039 echo $ECHO_N "(cached) $ECHO_C" >&6
4041 if test -z "$LD"; then
4042 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4043 for ac_dir in $PATH; do
4045 test -z "$ac_dir" && ac_dir=.
4046 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4047 lt_cv_path_LD="$ac_dir/$ac_prog"
4048 # Check to see if the program is GNU ld. I'd rather use --version,
4049 # but apparently some GNU ld's only accept -v.
4050 # Break only if it was the GNU/non-GNU ld that we prefer.
4051 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4052 *GNU* | *'with BFD'*)
4053 test "$with_gnu_ld" != no && break
4056 test "$with_gnu_ld" != yes && break
4063 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4068 if test -n "$LD"; then
4069 echo "$as_me:$LINENO: result: $LD" >&5
4070 echo "${ECHO_T}$LD" >&6
4072 echo "$as_me:$LINENO: result: no" >&5
4073 echo "${ECHO_T}no" >&6
4075 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4076 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4077 { (exit 1); exit 1; }; }
4078 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4079 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4080 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4081 echo $ECHO_N "(cached) $ECHO_C" >&6
4083 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4084 case `"$LD" -v 2>&1 </dev/null` in
4085 *GNU* | *'with BFD'*)
4086 lt_cv_prog_gnu_ld=yes
4089 lt_cv_prog_gnu_ld=no
4093 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4094 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4095 with_gnu_ld=$lt_cv_prog_gnu_ld
4098 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4099 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4100 if test "${lt_cv_ld_reload_flag+set}" = set; then
4101 echo $ECHO_N "(cached) $ECHO_C" >&6
4103 lt_cv_ld_reload_flag='-r'
4105 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4106 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4107 reload_flag=$lt_cv_ld_reload_flag
4108 case $reload_flag in
4110 *) reload_flag=" $reload_flag" ;;
4112 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4114 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4115 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4116 if test "${lt_cv_path_NM+set}" = set; then
4117 echo $ECHO_N "(cached) $ECHO_C" >&6
4119 if test -n "$NM"; then
4120 # Let the user override the test.
4123 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4124 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4126 test -z "$ac_dir" && ac_dir=.
4127 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4128 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4129 # Check to see if the nm accepts a BSD-compat flag.
4130 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4131 # nm: unknown option "B" ignored
4132 # Tru64's nm complains that /dev/null is an invalid object file
4133 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4134 */dev/null* | *'Invalid file or object type'*)
4135 lt_cv_path_NM="$tmp_nm -B"
4139 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4141 lt_cv_path_NM="$tmp_nm -p"
4145 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4146 continue # so that we can try to find one that supports BSD flags
4153 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4156 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4157 echo "${ECHO_T}$lt_cv_path_NM" >&6
4160 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4161 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4163 if test "$LN_S" = "ln -s"; then
4164 echo "$as_me:$LINENO: result: yes" >&5
4165 echo "${ECHO_T}yes" >&6
4167 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4168 echo "${ECHO_T}no, using $LN_S" >&6
4171 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4172 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4173 if test "${lt_cv_deplibs_check_method+set}" = set; then
4174 echo $ECHO_N "(cached) $ECHO_C" >&6
4176 lt_cv_file_magic_cmd='$MAGIC_CMD'
4177 lt_cv_file_magic_test_file=
4178 lt_cv_deplibs_check_method='unknown'
4179 # Need to set the preceding variable on all platforms that support
4180 # interlibrary dependencies.
4181 # 'none' -- dependencies not supported.
4182 # `unknown' -- same as none, but documents that we really don't know.
4183 # 'pass_all' -- all dependencies passed with no checks.
4184 # 'test_compile' -- check by making test program.
4185 # 'file_magic [[regex]]' -- check by looking for files in library path
4186 # which responds to the $file_magic_cmd with a given extended regex.
4187 # If you have `file' or equivalent on your system and you're not sure
4188 # whether `pass_all' will *always* work, you probably want this one.
4192 lt_cv_deplibs_check_method=pass_all
4196 lt_cv_deplibs_check_method=pass_all
4200 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4201 lt_cv_file_magic_cmd='/usr/bin/file -L'
4202 lt_cv_file_magic_test_file=/shlib/libc.so
4205 cygwin* | mingw* | pw32*)
4206 # win32_libid is a shell function defined in ltmain.sh
4207 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4208 lt_cv_file_magic_cmd='win32_libid'
4211 darwin* | rhapsody*)
4212 # this will be overwritten by pass_all, but leave it in just in case
4213 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4214 lt_cv_file_magic_cmd='/usr/bin/file -L'
4216 rhapsody* | darwin1.[012])
4217 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4220 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4223 lt_cv_deplibs_check_method=pass_all
4227 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4230 # Not sure whether the presence of OpenBSD here was a mistake.
4231 # Let's accept both of them until this is cleared up.
4232 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4233 lt_cv_file_magic_cmd=/usr/bin/file
4234 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4238 lt_cv_deplibs_check_method=pass_all
4243 lt_cv_deplibs_check_method=pass_all
4246 hpux10.20* | hpux11*)
4247 lt_cv_file_magic_cmd=/usr/bin/file
4250 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4251 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4254 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]'
4255 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4258 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4259 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4264 irix5* | irix6* | nonstopux*)
4266 irix5* | nonstopux*)
4267 # this will be overridden with pass_all, but let us keep it just in case
4268 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4272 *-32|*"-32 ") libmagic=32-bit;;
4273 *-n32|*"-n32 ") libmagic=N32;;
4274 *-64|*"-64 ") libmagic=64-bit;;
4275 *) libmagic=never-match;;
4277 # this will be overridden with pass_all, but let us keep it just in case
4278 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4281 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4282 lt_cv_deplibs_check_method=pass_all
4285 # This must be Linux ELF.
4288 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
4289 lt_cv_deplibs_check_method=pass_all ;;
4291 # glibc up to 2.1.1 does not perform some relocations on ARM
4292 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4294 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4298 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4299 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4301 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4306 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4307 lt_cv_file_magic_cmd=/usr/bin/file
4308 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4312 lt_cv_deplibs_check_method=unknown
4316 lt_cv_file_magic_cmd=/usr/bin/file
4317 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4318 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4319 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4321 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4325 osf3* | osf4* | osf5*)
4326 # this will be overridden with pass_all, but let us keep it just in case
4327 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4328 lt_cv_file_magic_test_file=/shlib/libc.so
4329 lt_cv_deplibs_check_method=pass_all
4333 lt_cv_deplibs_check_method=pass_all
4337 lt_cv_deplibs_check_method=pass_all
4338 lt_cv_file_magic_test_file=/lib/libc.so
4341 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4342 case $host_vendor in
4344 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]'
4345 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4348 lt_cv_deplibs_check_method=pass_all
4351 lt_cv_file_magic_cmd='/bin/file'
4352 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4355 lt_cv_file_magic_cmd='/bin/file'
4356 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4357 lt_cv_file_magic_test_file=/lib/libc.so
4360 lt_cv_deplibs_check_method=pass_all
4365 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4366 lt_cv_deplibs_check_method=pass_all
4371 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4372 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4373 file_magic_cmd=$lt_cv_file_magic_cmd
4374 deplibs_check_method=$lt_cv_deplibs_check_method
4375 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4380 # If no C compiler was specified, use CC.
4383 # Allow CC to be a program name with arguments.
4386 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4387 if test "${enable_libtool_lock+set}" = set; then
4388 enableval="$enable_libtool_lock"
4391 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4393 # Some flags need to be propagated to the compiler or linker for good
4397 # Find out which ABI we are using.
4398 echo 'int i;' > conftest.$ac_ext
4399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4400 (eval $ac_compile) 2>&5
4402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4403 (exit $ac_status); }; then
4404 case `/usr/bin/file conftest.$ac_objext` in
4416 # Find out which ABI we are using.
4417 echo '#line 4417 "configure"' > conftest.$ac_ext
4418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4419 (eval $ac_compile) 2>&5
4421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4422 (exit $ac_status); }; then
4423 if test "$lt_cv_prog_gnu_ld" = yes; then
4424 case `/usr/bin/file conftest.$ac_objext` in
4426 LD="${LD-ld} -melf32bsmip"
4429 LD="${LD-ld} -melf32bmipn32"
4432 LD="${LD-ld} -melf64bmip"
4436 case `/usr/bin/file conftest.$ac_objext` in
4452 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4453 # Find out which ABI we are using.
4454 echo 'int i;' > conftest.$ac_ext
4455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4456 (eval $ac_compile) 2>&5
4458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4459 (exit $ac_status); }; then
4460 case "`/usr/bin/file conftest.o`" in
4464 LD="${LD-ld} -m elf_i386"
4467 LD="${LD-ld} -m elf32ppclinux"
4470 LD="${LD-ld} -m elf_s390"
4473 LD="${LD-ld} -m elf32_sparc"
4480 LD="${LD-ld} -m elf_x86_64"
4482 ppc*-*linux*|powerpc*-*linux*)
4483 LD="${LD-ld} -m elf64ppc"
4486 LD="${LD-ld} -m elf64_s390"
4489 LD="${LD-ld} -m elf64_sparc"
4499 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4500 SAVE_CFLAGS="$CFLAGS"
4501 CFLAGS="$CFLAGS -belf"
4502 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4503 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4504 if test "${lt_cv_cc_needs_belf+set}" = set; then
4505 echo $ECHO_N "(cached) $ECHO_C" >&6
4508 ac_cpp='$CPP $CPPFLAGS'
4509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4513 cat >conftest.$ac_ext <<_ACEOF
4514 #line $LINENO "configure"
4517 cat confdefs.h >>conftest.$ac_ext
4518 cat >>conftest.$ac_ext <<_ACEOF
4519 /* end confdefs.h. */
4529 rm -f conftest.$ac_objext conftest$ac_exeext
4530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4531 (eval $ac_link) 2>&5
4533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4534 (exit $ac_status); } &&
4535 { ac_try='test -s conftest$ac_exeext'
4536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4540 (exit $ac_status); }; }; then
4541 lt_cv_cc_needs_belf=yes
4543 echo "$as_me: failed program was:" >&5
4544 sed 's/^/| /' conftest.$ac_ext >&5
4546 lt_cv_cc_needs_belf=no
4548 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4550 ac_cpp='$CPP $CPPFLAGS'
4551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4556 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4557 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4558 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4559 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4560 CFLAGS="$SAVE_CFLAGS"
4566 need_locks="$enable_libtool_lock"
4570 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4571 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4572 if test "${ac_cv_header_stdc+set}" = set; then
4573 echo $ECHO_N "(cached) $ECHO_C" >&6
4575 cat >conftest.$ac_ext <<_ACEOF
4576 #line $LINENO "configure"
4579 cat confdefs.h >>conftest.$ac_ext
4580 cat >>conftest.$ac_ext <<_ACEOF
4581 /* end confdefs.h. */
4595 rm -f conftest.$ac_objext
4596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4597 (eval $ac_compile) 2>&5
4599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4600 (exit $ac_status); } &&
4601 { ac_try='test -s conftest.$ac_objext'
4602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4606 (exit $ac_status); }; }; then
4607 ac_cv_header_stdc=yes
4609 echo "$as_me: failed program was:" >&5
4610 sed 's/^/| /' conftest.$ac_ext >&5
4612 ac_cv_header_stdc=no
4614 rm -f conftest.$ac_objext conftest.$ac_ext
4616 if test $ac_cv_header_stdc = yes; then
4617 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4618 cat >conftest.$ac_ext <<_ACEOF
4619 #line $LINENO "configure"
4622 cat confdefs.h >>conftest.$ac_ext
4623 cat >>conftest.$ac_ext <<_ACEOF
4624 /* end confdefs.h. */
4628 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4629 $EGREP "memchr" >/dev/null 2>&1; then
4632 ac_cv_header_stdc=no
4638 if test $ac_cv_header_stdc = yes; then
4639 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4640 cat >conftest.$ac_ext <<_ACEOF
4641 #line $LINENO "configure"
4644 cat confdefs.h >>conftest.$ac_ext
4645 cat >>conftest.$ac_ext <<_ACEOF
4646 /* end confdefs.h. */
4650 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4651 $EGREP "free" >/dev/null 2>&1; then
4654 ac_cv_header_stdc=no
4660 if test $ac_cv_header_stdc = yes; then
4661 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4662 if test "$cross_compiling" = yes; then
4665 cat >conftest.$ac_ext <<_ACEOF
4666 #line $LINENO "configure"
4669 cat confdefs.h >>conftest.$ac_ext
4670 cat >>conftest.$ac_ext <<_ACEOF
4671 /* end confdefs.h. */
4673 #if ((' ' & 0x0FF) == 0x020)
4674 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4675 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4677 # define ISLOWER(c) \
4678 (('a' <= (c) && (c) <= 'i') \
4679 || ('j' <= (c) && (c) <= 'r') \
4680 || ('s' <= (c) && (c) <= 'z'))
4681 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4684 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4689 for (i = 0; i < 256; i++)
4690 if (XOR (islower (i), ISLOWER (i))
4691 || toupper (i) != TOUPPER (i))
4696 rm -f conftest$ac_exeext
4697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4698 (eval $ac_link) 2>&5
4700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4701 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4706 (exit $ac_status); }; }; then
4709 echo "$as_me: program exited with status $ac_status" >&5
4710 echo "$as_me: failed program was:" >&5
4711 sed 's/^/| /' conftest.$ac_ext >&5
4714 ac_cv_header_stdc=no
4716 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4720 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4721 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4722 if test $ac_cv_header_stdc = yes; then
4724 cat >>confdefs.h <<\_ACEOF
4725 #define STDC_HEADERS 1
4730 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4740 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4741 inttypes.h stdint.h unistd.h
4743 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4744 echo "$as_me:$LINENO: checking for $ac_header" >&5
4745 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4746 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4747 echo $ECHO_N "(cached) $ECHO_C" >&6
4749 cat >conftest.$ac_ext <<_ACEOF
4750 #line $LINENO "configure"
4753 cat confdefs.h >>conftest.$ac_ext
4754 cat >>conftest.$ac_ext <<_ACEOF
4755 /* end confdefs.h. */
4756 $ac_includes_default
4758 #include <$ac_header>
4760 rm -f conftest.$ac_objext
4761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4762 (eval $ac_compile) 2>&5
4764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4765 (exit $ac_status); } &&
4766 { ac_try='test -s conftest.$ac_objext'
4767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4771 (exit $ac_status); }; }; then
4772 eval "$as_ac_Header=yes"
4774 echo "$as_me: failed program was:" >&5
4775 sed 's/^/| /' conftest.$ac_ext >&5
4777 eval "$as_ac_Header=no"
4779 rm -f conftest.$ac_objext conftest.$ac_ext
4781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4782 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4783 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4784 cat >>confdefs.h <<_ACEOF
4785 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4794 for ac_header in dlfcn.h
4796 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4797 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4798 echo "$as_me:$LINENO: checking for $ac_header" >&5
4799 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4800 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4801 echo $ECHO_N "(cached) $ECHO_C" >&6
4803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4804 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4806 # Is the header compilable?
4807 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4808 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4809 cat >conftest.$ac_ext <<_ACEOF
4810 #line $LINENO "configure"
4813 cat confdefs.h >>conftest.$ac_ext
4814 cat >>conftest.$ac_ext <<_ACEOF
4815 /* end confdefs.h. */
4816 $ac_includes_default
4817 #include <$ac_header>
4819 rm -f conftest.$ac_objext
4820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4821 (eval $ac_compile) 2>&5
4823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4824 (exit $ac_status); } &&
4825 { ac_try='test -s conftest.$ac_objext'
4826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4830 (exit $ac_status); }; }; then
4831 ac_header_compiler=yes
4833 echo "$as_me: failed program was:" >&5
4834 sed 's/^/| /' conftest.$ac_ext >&5
4836 ac_header_compiler=no
4838 rm -f conftest.$ac_objext conftest.$ac_ext
4839 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4840 echo "${ECHO_T}$ac_header_compiler" >&6
4842 # Is the header present?
4843 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4844 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4845 cat >conftest.$ac_ext <<_ACEOF
4846 #line $LINENO "configure"
4849 cat confdefs.h >>conftest.$ac_ext
4850 cat >>conftest.$ac_ext <<_ACEOF
4851 /* end confdefs.h. */
4852 #include <$ac_header>
4854 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4855 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4857 grep -v '^ *+' conftest.er1 >conftest.err
4859 cat conftest.err >&5
4860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4861 (exit $ac_status); } >/dev/null; then
4862 if test -s conftest.err; then
4863 ac_cpp_err=$ac_c_preproc_warn_flag
4870 if test -z "$ac_cpp_err"; then
4871 ac_header_preproc=yes
4873 echo "$as_me: failed program was:" >&5
4874 sed 's/^/| /' conftest.$ac_ext >&5
4876 ac_header_preproc=no
4878 rm -f conftest.err conftest.$ac_ext
4879 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4880 echo "${ECHO_T}$ac_header_preproc" >&6
4882 # So? What about this header?
4883 case $ac_header_compiler:$ac_header_preproc in
4885 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4886 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4887 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4888 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4891 ## ------------------------------------ ##
4892 ## Report this to bug-autoconf@gnu.org. ##
4893 ## ------------------------------------ ##
4896 sed "s/^/$as_me: WARNING: /" >&2
4899 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4900 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4901 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4902 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4903 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4904 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4907 ## ------------------------------------ ##
4908 ## Report this to bug-autoconf@gnu.org. ##
4909 ## ------------------------------------ ##
4912 sed "s/^/$as_me: WARNING: /" >&2
4915 echo "$as_me:$LINENO: checking for $ac_header" >&5
4916 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4918 echo $ECHO_N "(cached) $ECHO_C" >&6
4920 eval "$as_ac_Header=$ac_header_preproc"
4922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4923 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4926 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4927 cat >>confdefs.h <<_ACEOF
4928 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4936 ac_cpp='$CXXCPP $CPPFLAGS'
4937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4940 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4941 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4942 if test -z "$CXXCPP"; then
4943 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4944 echo $ECHO_N "(cached) $ECHO_C" >&6
4946 # Double quotes because CXXCPP needs to be expanded
4947 for CXXCPP in "$CXX -E" "/lib/cpp"
4950 for ac_cxx_preproc_warn_flag in '' yes
4952 # Use a header file that comes with gcc, so configuring glibc
4953 # with a fresh cross-compiler works.
4954 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4955 # <limits.h> exists even on freestanding compilers.
4956 # On the NeXT, cc -E runs the code through the compiler's parser,
4957 # not just through cpp. "Syntax error" is here to catch this case.
4958 cat >conftest.$ac_ext <<_ACEOF
4959 #line $LINENO "configure"
4962 cat confdefs.h >>conftest.$ac_ext
4963 cat >>conftest.$ac_ext <<_ACEOF
4964 /* end confdefs.h. */
4966 # include <limits.h>
4968 # include <assert.h>
4972 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4973 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4975 grep -v '^ *+' conftest.er1 >conftest.err
4977 cat conftest.err >&5
4978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4979 (exit $ac_status); } >/dev/null; then
4980 if test -s conftest.err; then
4981 ac_cpp_err=$ac_cxx_preproc_warn_flag
4988 if test -z "$ac_cpp_err"; then
4991 echo "$as_me: failed program was:" >&5
4992 sed 's/^/| /' conftest.$ac_ext >&5
4994 # Broken: fails on valid input.
4997 rm -f conftest.err conftest.$ac_ext
4999 # OK, works on sane cases. Now check whether non-existent headers
5000 # can be detected and how.
5001 cat >conftest.$ac_ext <<_ACEOF
5002 #line $LINENO "configure"
5005 cat confdefs.h >>conftest.$ac_ext
5006 cat >>conftest.$ac_ext <<_ACEOF
5007 /* end confdefs.h. */
5008 #include <ac_nonexistent.h>
5010 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5011 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5013 grep -v '^ *+' conftest.er1 >conftest.err
5015 cat conftest.err >&5
5016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5017 (exit $ac_status); } >/dev/null; then
5018 if test -s conftest.err; then
5019 ac_cpp_err=$ac_cxx_preproc_warn_flag
5026 if test -z "$ac_cpp_err"; then
5027 # Broken: success on invalid input.
5030 echo "$as_me: failed program was:" >&5
5031 sed 's/^/| /' conftest.$ac_ext >&5
5033 # Passes both tests.
5037 rm -f conftest.err conftest.$ac_ext
5040 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5041 rm -f conftest.err conftest.$ac_ext
5042 if $ac_preproc_ok; then
5047 ac_cv_prog_CXXCPP=$CXXCPP
5050 CXXCPP=$ac_cv_prog_CXXCPP
5052 ac_cv_prog_CXXCPP=$CXXCPP
5054 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5055 echo "${ECHO_T}$CXXCPP" >&6
5057 for ac_cxx_preproc_warn_flag in '' yes
5059 # Use a header file that comes with gcc, so configuring glibc
5060 # with a fresh cross-compiler works.
5061 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5062 # <limits.h> exists even on freestanding compilers.
5063 # On the NeXT, cc -E runs the code through the compiler's parser,
5064 # not just through cpp. "Syntax error" is here to catch this case.
5065 cat >conftest.$ac_ext <<_ACEOF
5066 #line $LINENO "configure"
5069 cat confdefs.h >>conftest.$ac_ext
5070 cat >>conftest.$ac_ext <<_ACEOF
5071 /* end confdefs.h. */
5073 # include <limits.h>
5075 # include <assert.h>
5079 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5080 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5082 grep -v '^ *+' conftest.er1 >conftest.err
5084 cat conftest.err >&5
5085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5086 (exit $ac_status); } >/dev/null; then
5087 if test -s conftest.err; then
5088 ac_cpp_err=$ac_cxx_preproc_warn_flag
5095 if test -z "$ac_cpp_err"; then
5098 echo "$as_me: failed program was:" >&5
5099 sed 's/^/| /' conftest.$ac_ext >&5
5101 # Broken: fails on valid input.
5104 rm -f conftest.err conftest.$ac_ext
5106 # OK, works on sane cases. Now check whether non-existent headers
5107 # can be detected and how.
5108 cat >conftest.$ac_ext <<_ACEOF
5109 #line $LINENO "configure"
5112 cat confdefs.h >>conftest.$ac_ext
5113 cat >>conftest.$ac_ext <<_ACEOF
5114 /* end confdefs.h. */
5115 #include <ac_nonexistent.h>
5117 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5118 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5120 grep -v '^ *+' conftest.er1 >conftest.err
5122 cat conftest.err >&5
5123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5124 (exit $ac_status); } >/dev/null; then
5125 if test -s conftest.err; then
5126 ac_cpp_err=$ac_cxx_preproc_warn_flag
5133 if test -z "$ac_cpp_err"; then
5134 # Broken: success on invalid input.
5137 echo "$as_me: failed program was:" >&5
5138 sed 's/^/| /' conftest.$ac_ext >&5
5140 # Passes both tests.
5144 rm -f conftest.err conftest.$ac_ext
5147 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5148 rm -f conftest.err conftest.$ac_ext
5149 if $ac_preproc_ok; then
5152 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5153 See \`config.log' for more details." >&5
5154 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5155 See \`config.log' for more details." >&2;}
5156 { (exit 1); exit 1; }; }
5160 ac_cpp='$CXXCPP $CPPFLAGS'
5161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5167 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5168 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5169 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5170 if test -n "$ac_tool_prefix"; then
5171 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5173 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5174 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5175 echo "$as_me:$LINENO: checking for $ac_word" >&5
5176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5177 if test "${ac_cv_prog_F77+set}" = set; then
5178 echo $ECHO_N "(cached) $ECHO_C" >&6
5180 if test -n "$F77"; then
5181 ac_cv_prog_F77="$F77" # Let the user override the test.
5183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5187 test -z "$as_dir" && as_dir=.
5188 for ac_exec_ext in '' $ac_executable_extensions; do
5189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5190 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5200 if test -n "$F77"; then
5201 echo "$as_me:$LINENO: result: $F77" >&5
5202 echo "${ECHO_T}$F77" >&6
5204 echo "$as_me:$LINENO: result: no" >&5
5205 echo "${ECHO_T}no" >&6
5208 test -n "$F77" && break
5211 if test -z "$F77"; then
5213 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5215 # Extract the first word of "$ac_prog", so it can be a program name with args.
5216 set dummy $ac_prog; ac_word=$2
5217 echo "$as_me:$LINENO: checking for $ac_word" >&5
5218 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5219 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5220 echo $ECHO_N "(cached) $ECHO_C" >&6
5222 if test -n "$ac_ct_F77"; then
5223 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5229 test -z "$as_dir" && as_dir=.
5230 for ac_exec_ext in '' $ac_executable_extensions; do
5231 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5232 ac_cv_prog_ac_ct_F77="$ac_prog"
5233 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5241 ac_ct_F77=$ac_cv_prog_ac_ct_F77
5242 if test -n "$ac_ct_F77"; then
5243 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5244 echo "${ECHO_T}$ac_ct_F77" >&6
5246 echo "$as_me:$LINENO: result: no" >&5
5247 echo "${ECHO_T}no" >&6
5250 test -n "$ac_ct_F77" && break
5257 # Provide some information about the compiler.
5258 echo "$as_me:5258:" \
5259 "checking for Fortran 77 compiler version" >&5
5260 ac_compiler=`set X $ac_compile; echo $2`
5261 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5262 (eval $ac_compiler --version </dev/null >&5) 2>&5
5264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5265 (exit $ac_status); }
5266 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5267 (eval $ac_compiler -v </dev/null >&5) 2>&5
5269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5270 (exit $ac_status); }
5271 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5272 (eval $ac_compiler -V </dev/null >&5) 2>&5
5274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5275 (exit $ac_status); }
5277 # If we don't use `.F' as extension, the preprocessor is not run on the
5281 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5282 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5283 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5284 echo $ECHO_N "(cached) $ECHO_C" >&6
5286 cat >conftest.$ac_ext <<_ACEOF
5294 rm -f conftest.$ac_objext
5295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5296 (eval $ac_compile) 2>&5
5298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5299 (exit $ac_status); } &&
5300 { ac_try='test -s conftest.$ac_objext'
5301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5305 (exit $ac_status); }; }; then
5308 echo "$as_me: failed program was:" >&5
5309 sed 's/^/| /' conftest.$ac_ext >&5
5313 rm -f conftest.$ac_objext conftest.$ac_ext
5314 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5317 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5318 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5320 G77=`test $ac_compiler_gnu = yes && echo yes`
5321 ac_test_FFLAGS=${FFLAGS+set}
5322 ac_save_FFLAGS=$FFLAGS
5324 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5325 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5326 if test "${ac_cv_prog_f77_g+set}" = set; then
5327 echo $ECHO_N "(cached) $ECHO_C" >&6
5330 cat >conftest.$ac_ext <<_ACEOF
5335 rm -f conftest.$ac_objext
5336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5337 (eval $ac_compile) 2>&5
5339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5340 (exit $ac_status); } &&
5341 { ac_try='test -s conftest.$ac_objext'
5342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5346 (exit $ac_status); }; }; then
5347 ac_cv_prog_f77_g=yes
5349 echo "$as_me: failed program was:" >&5
5350 sed 's/^/| /' conftest.$ac_ext >&5
5354 rm -f conftest.$ac_objext conftest.$ac_ext
5357 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5358 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5359 if test "$ac_test_FFLAGS" = set; then
5360 FFLAGS=$ac_save_FFLAGS
5361 elif test $ac_cv_prog_f77_g = yes; then
5362 if test "$G77" = yes; then
5368 if test "$G77" = yes; then
5375 ac_cpp='$CPP $CPPFLAGS'
5376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5382 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5384 # find the maximum length of command line arguments
5385 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5386 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5387 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5388 echo $ECHO_N "(cached) $ECHO_C" >&6
5395 # On DJGPP, this test can blow up pretty badly due to problems in libc
5396 # (any single argument exceeding 2000 bytes causes a buffer overrun
5397 # during glob expansion). Even if it were fixed, the result of this
5398 # check would be larger than it should be.
5399 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5403 # Under GNU Hurd, this test is not required because there is
5404 # no limit to the length of command line arguments.
5405 # Libtool will interpret -1 as no limit whatsoever
5406 lt_cv_sys_max_cmd_len=-1;
5410 # On Win9x/ME, this test blows up -- it succeeds, but takes
5411 # about 5 minutes as the teststring grows exponentially.
5412 # Worse, since 9x/ME are not pre-emptively multitasking,
5413 # you end up with a "frozen" computer, even though with patience
5414 # the test eventually succeeds (with a max line length of 256k).
5415 # Instead, let's just punt: use the minimum linelength reported by
5416 # all of the supported platforms: 8192 (on NT/2K/XP).
5417 lt_cv_sys_max_cmd_len=8192;
5421 # If test is not a shell built-in, we'll probably end up computing a
5422 # maximum length that is only half of the actual maximum length, but
5424 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5425 = "XX$testring") >/dev/null 2>&1 &&
5426 new_result=`expr "X$testring" : ".*" 2>&1` &&
5427 lt_cv_sys_max_cmd_len=$new_result &&
5428 test $i != 17 # 1/2 MB should be enough
5431 testring=$testring$testring
5434 # Add a significant safety factor because C++ compilers can tack on massive
5435 # amounts of additional arguments before passing them to the linker.
5436 # It appears as though 1/2 is a usable value.
5437 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5443 if test -n $lt_cv_sys_max_cmd_len ; then
5444 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5445 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5447 echo "$as_me:$LINENO: result: none" >&5
5448 echo "${ECHO_T}none" >&6
5454 # Check for command to grab the raw symbol name followed by C symbol from nm.
5455 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5456 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5457 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5458 echo $ECHO_N "(cached) $ECHO_C" >&6
5461 # These are sane defaults that work on at least a few old systems.
5462 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5464 # Character class describing NM global symbol codes.
5465 symcode='[BCDEGRST]'
5467 # Regexp to match symbols that can be accessed directly from C.
5468 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5470 # Transform the above into a raw symbol and a C symbol.
5471 symxfrm='\1 \2\3 \3'
5473 # Transform an extracted symbol line into a proper C declaration
5474 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5476 # Transform an extracted symbol line into symbol name and symbol address
5477 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'"
5479 # Define system-specific variables.
5484 cygwin* | mingw* | pw32*)
5485 symcode='[ABCDGISTW]'
5487 hpux*) # Its linker distinguishes data from code symbols
5488 if test "$host_cpu" = ia64; then
5489 symcode='[ABCDEGRST]'
5491 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5492 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'"
5495 symcode='[BCDEGRST]'
5498 symcode='[BCDEGQRST]'
5508 # Handle CRLF in mingw tool chain
5512 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5516 # If we're using GNU nm, then use its standard symbol codes.
5517 case `$NM -V 2>&1` in
5518 *GNU* | *'with BFD'*)
5519 symcode='[ABCDGISTW]' ;;
5522 # Try without a prefix undercore, then with it.
5523 for ac_symprfx in "" "_"; do
5525 # Write the raw and C identifiers.
5526 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5528 # Check to see that the pipe works correctly.
5532 cat > conftest.$ac_ext <<EOF
5537 void nm_test_func(){}
5541 int main(){nm_test_var='a';nm_test_func();return(0);}
5544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5545 (eval $ac_compile) 2>&5
5547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5548 (exit $ac_status); }; then
5549 # Now try to grab the symbols.
5551 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5552 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5555 (exit $ac_status); } && test -s "$nlist"; then
5556 # Try sorting and uniquifying the output.
5557 if sort "$nlist" | uniq > "$nlist"T; then
5558 mv -f "$nlist"T "$nlist"
5563 # Make sure that we snagged all the symbols we need.
5564 if grep ' nm_test_var$' "$nlist" >/dev/null; then
5565 if grep ' nm_test_func$' "$nlist" >/dev/null; then
5566 cat <<EOF > conftest.$ac_ext
5572 # Now generate the symbol file.
5573 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5575 cat <<EOF >> conftest.$ac_ext
5576 #if defined (__STDC__) && __STDC__
5577 # define lt_ptr_t void *
5579 # define lt_ptr_t char *
5583 /* The mapping between symbol names and symbols. */
5588 lt_preloaded_symbols[] =
5591 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5592 cat <<\EOF >> conftest.$ac_ext
5600 # Now try linking the two files.
5601 mv conftest.$ac_objext conftstm.$ac_objext
5602 lt_save_LIBS="$LIBS"
5603 lt_save_CFLAGS="$CFLAGS"
5604 LIBS="conftstm.$ac_objext"
5605 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5607 (eval $ac_link) 2>&5
5609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5610 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5613 LIBS="$lt_save_LIBS"
5614 CFLAGS="$lt_save_CFLAGS"
5616 echo "cannot find nm_test_func in $nlist" >&5
5619 echo "cannot find nm_test_var in $nlist" >&5
5622 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5625 echo "$progname: failed program was:" >&5
5626 cat conftest.$ac_ext >&5
5628 rm -f conftest* conftst*
5630 # Do not use the global_symbol_pipe unless it works.
5631 if test "$pipe_works" = yes; then
5634 lt_cv_sys_global_symbol_pipe=
5640 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5641 lt_cv_sys_global_symbol_to_cdecl=
5643 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5644 echo "$as_me:$LINENO: result: failed" >&5
5645 echo "${ECHO_T}failed" >&6
5647 echo "$as_me:$LINENO: result: ok" >&5
5648 echo "${ECHO_T}ok" >&6
5651 echo "$as_me:$LINENO: checking for objdir" >&5
5652 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5653 if test "${lt_cv_objdir+set}" = set; then
5654 echo $ECHO_N "(cached) $ECHO_C" >&6
5656 rm -f .libs 2>/dev/null
5657 mkdir .libs 2>/dev/null
5658 if test -d .libs; then
5661 # MS-DOS does not allow filenames that begin with a dot.
5664 rmdir .libs 2>/dev/null
5666 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5667 echo "${ECHO_T}$lt_cv_objdir" >&6
5668 objdir=$lt_cv_objdir
5676 # AIX sometimes has problems with the GCC collect2 program. For some
5677 # reason, if we set the COLLECT_NAMES environment variable, the problems
5678 # vanish in a puff of smoke.
5679 if test "X${COLLECT_NAMES+set}" != Xset; then
5681 export COLLECT_NAMES
5686 # Sed substitution that helps us do robust quoting. It backslashifies
5687 # metacharacters that are still active within double-quoted strings.
5688 Xsed='sed -e s/^X//'
5689 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5691 # Same as above, but do not quote variable references.
5692 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5694 # Sed substitution to delay expansion of an escaped shell variable in a
5695 # double_quote_subst'ed string.
5696 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5698 # Sed substitution to avoid accidental globbing in evaled expressions
5699 no_glob_subst='s/\*/\\\*/g'
5706 can_build_shared=yes
5708 # All known linkers require a `.a' archive for static linking (except M$VC,
5709 # which needs '.lib').
5711 ltmain="$ac_aux_dir/ltmain.sh"
5712 ofile="$default_ofile"
5713 with_gnu_ld="$lt_cv_prog_gnu_ld"
5715 if test -n "$ac_tool_prefix"; then
5716 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5717 set dummy ${ac_tool_prefix}ar; ac_word=$2
5718 echo "$as_me:$LINENO: checking for $ac_word" >&5
5719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5720 if test "${ac_cv_prog_AR+set}" = set; then
5721 echo $ECHO_N "(cached) $ECHO_C" >&6
5723 if test -n "$AR"; then
5724 ac_cv_prog_AR="$AR" # Let the user override the test.
5726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5730 test -z "$as_dir" && as_dir=.
5731 for ac_exec_ext in '' $ac_executable_extensions; do
5732 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5733 ac_cv_prog_AR="${ac_tool_prefix}ar"
5734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5743 if test -n "$AR"; then
5744 echo "$as_me:$LINENO: result: $AR" >&5
5745 echo "${ECHO_T}$AR" >&6
5747 echo "$as_me:$LINENO: result: no" >&5
5748 echo "${ECHO_T}no" >&6
5752 if test -z "$ac_cv_prog_AR"; then
5754 # Extract the first word of "ar", so it can be a program name with args.
5755 set dummy ar; ac_word=$2
5756 echo "$as_me:$LINENO: checking for $ac_word" >&5
5757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5758 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5759 echo $ECHO_N "(cached) $ECHO_C" >&6
5761 if test -n "$ac_ct_AR"; then
5762 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5768 test -z "$as_dir" && as_dir=.
5769 for ac_exec_ext in '' $ac_executable_extensions; do
5770 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5771 ac_cv_prog_ac_ct_AR="ar"
5772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5778 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5781 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5782 if test -n "$ac_ct_AR"; then
5783 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5784 echo "${ECHO_T}$ac_ct_AR" >&6
5786 echo "$as_me:$LINENO: result: no" >&5
5787 echo "${ECHO_T}no" >&6
5795 if test -n "$ac_tool_prefix"; then
5796 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5797 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5798 echo "$as_me:$LINENO: checking for $ac_word" >&5
5799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5800 if test "${ac_cv_prog_RANLIB+set}" = set; then
5801 echo $ECHO_N "(cached) $ECHO_C" >&6
5803 if test -n "$RANLIB"; then
5804 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5810 test -z "$as_dir" && as_dir=.
5811 for ac_exec_ext in '' $ac_executable_extensions; do
5812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5813 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5822 RANLIB=$ac_cv_prog_RANLIB
5823 if test -n "$RANLIB"; then
5824 echo "$as_me:$LINENO: result: $RANLIB" >&5
5825 echo "${ECHO_T}$RANLIB" >&6
5827 echo "$as_me:$LINENO: result: no" >&5
5828 echo "${ECHO_T}no" >&6
5832 if test -z "$ac_cv_prog_RANLIB"; then
5833 ac_ct_RANLIB=$RANLIB
5834 # Extract the first word of "ranlib", so it can be a program name with args.
5835 set dummy ranlib; ac_word=$2
5836 echo "$as_me:$LINENO: checking for $ac_word" >&5
5837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5838 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5839 echo $ECHO_N "(cached) $ECHO_C" >&6
5841 if test -n "$ac_ct_RANLIB"; then
5842 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5848 test -z "$as_dir" && as_dir=.
5849 for ac_exec_ext in '' $ac_executable_extensions; do
5850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5851 ac_cv_prog_ac_ct_RANLIB="ranlib"
5852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5858 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5861 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5862 if test -n "$ac_ct_RANLIB"; then
5863 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5864 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5866 echo "$as_me:$LINENO: result: no" >&5
5867 echo "${ECHO_T}no" >&6
5870 RANLIB=$ac_ct_RANLIB
5872 RANLIB="$ac_cv_prog_RANLIB"
5875 if test -n "$ac_tool_prefix"; then
5876 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5877 set dummy ${ac_tool_prefix}strip; ac_word=$2
5878 echo "$as_me:$LINENO: checking for $ac_word" >&5
5879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5880 if test "${ac_cv_prog_STRIP+set}" = set; then
5881 echo $ECHO_N "(cached) $ECHO_C" >&6
5883 if test -n "$STRIP"; then
5884 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5890 test -z "$as_dir" && as_dir=.
5891 for ac_exec_ext in '' $ac_executable_extensions; do
5892 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5893 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5894 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5902 STRIP=$ac_cv_prog_STRIP
5903 if test -n "$STRIP"; then
5904 echo "$as_me:$LINENO: result: $STRIP" >&5
5905 echo "${ECHO_T}$STRIP" >&6
5907 echo "$as_me:$LINENO: result: no" >&5
5908 echo "${ECHO_T}no" >&6
5912 if test -z "$ac_cv_prog_STRIP"; then
5914 # Extract the first word of "strip", so it can be a program name with args.
5915 set dummy strip; ac_word=$2
5916 echo "$as_me:$LINENO: checking for $ac_word" >&5
5917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5918 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5919 echo $ECHO_N "(cached) $ECHO_C" >&6
5921 if test -n "$ac_ct_STRIP"; then
5922 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5928 test -z "$as_dir" && as_dir=.
5929 for ac_exec_ext in '' $ac_executable_extensions; do
5930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5931 ac_cv_prog_ac_ct_STRIP="strip"
5932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5938 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5941 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5942 if test -n "$ac_ct_STRIP"; then
5943 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5944 echo "${ECHO_T}$ac_ct_STRIP" >&6
5946 echo "$as_me:$LINENO: result: no" >&5
5947 echo "${ECHO_T}no" >&6
5952 STRIP="$ac_cv_prog_STRIP"
5957 old_CFLAGS="$CFLAGS"
5959 # Set sane defaults for various variables
5960 test -z "$AR" && AR=ar
5961 test -z "$AR_FLAGS" && AR_FLAGS=cru
5962 test -z "$AS" && AS=as
5963 test -z "$CC" && CC=cc
5964 test -z "$LTCC" && LTCC=$CC
5965 test -z "$DLLTOOL" && DLLTOOL=dlltool
5966 test -z "$LD" && LD=ld
5967 test -z "$LN_S" && LN_S="ln -s"
5968 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5969 test -z "$NM" && NM=nm
5970 test -z "$SED" && SED=sed
5971 test -z "$OBJDUMP" && OBJDUMP=objdump
5972 test -z "$RANLIB" && RANLIB=:
5973 test -z "$STRIP" && STRIP=:
5974 test -z "$ac_objext" && ac_objext=o
5976 # Determine commands to create old-style static archives.
5977 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5978 old_postinstall_cmds='chmod 644 $oldlib'
5979 old_postuninstall_cmds=
5981 if test -n "$RANLIB"; then
5984 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5987 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
5990 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5993 # Only perform the check for file, if the check method requires it
5994 case $deplibs_check_method in
5996 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5997 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5998 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5999 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6000 echo $ECHO_N "(cached) $ECHO_C" >&6
6004 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6007 lt_save_MAGIC_CMD="$MAGIC_CMD"
6008 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6009 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6010 for ac_dir in $ac_dummy; do
6012 test -z "$ac_dir" && ac_dir=.
6013 if test -f $ac_dir/${ac_tool_prefix}file; then
6014 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6015 if test -n "$file_magic_test_file"; then
6016 case $deplibs_check_method in
6018 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6019 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6020 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6021 $EGREP "$file_magic_regex" > /dev/null; then
6026 *** Warning: the command libtool uses to detect shared libraries,
6027 *** $file_magic_cmd, produces output that libtool cannot recognize.
6028 *** The result is that libtool may fail to recognize shared libraries
6029 *** as such. This will affect the creation of libtool libraries that
6030 *** depend on shared libraries, but programs linked with such libtool
6031 *** libraries will work regardless of this problem. Nevertheless, you
6032 *** may want to report the problem to your system manager and/or to
6033 *** bug-libtool@gnu.org
6043 MAGIC_CMD="$lt_save_MAGIC_CMD"
6048 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6049 if test -n "$MAGIC_CMD"; then
6050 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6051 echo "${ECHO_T}$MAGIC_CMD" >&6
6053 echo "$as_me:$LINENO: result: no" >&5
6054 echo "${ECHO_T}no" >&6
6057 if test -z "$lt_cv_path_MAGIC_CMD"; then
6058 if test -n "$ac_tool_prefix"; then
6059 echo "$as_me:$LINENO: checking for file" >&5
6060 echo $ECHO_N "checking for file... $ECHO_C" >&6
6061 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6062 echo $ECHO_N "(cached) $ECHO_C" >&6
6066 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6069 lt_save_MAGIC_CMD="$MAGIC_CMD"
6070 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6071 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6072 for ac_dir in $ac_dummy; do
6074 test -z "$ac_dir" && ac_dir=.
6075 if test -f $ac_dir/file; then
6076 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6077 if test -n "$file_magic_test_file"; then
6078 case $deplibs_check_method in
6080 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6081 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6082 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6083 $EGREP "$file_magic_regex" > /dev/null; then
6088 *** Warning: the command libtool uses to detect shared libraries,
6089 *** $file_magic_cmd, produces output that libtool cannot recognize.
6090 *** The result is that libtool may fail to recognize shared libraries
6091 *** as such. This will affect the creation of libtool libraries that
6092 *** depend on shared libraries, but programs linked with such libtool
6093 *** libraries will work regardless of this problem. Nevertheless, you
6094 *** may want to report the problem to your system manager and/or to
6095 *** bug-libtool@gnu.org
6105 MAGIC_CMD="$lt_save_MAGIC_CMD"
6110 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6111 if test -n "$MAGIC_CMD"; then
6112 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6113 echo "${ECHO_T}$MAGIC_CMD" >&6
6115 echo "$as_me:$LINENO: result: no" >&5
6116 echo "${ECHO_T}no" >&6
6131 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6132 if test "${enable_libtool_lock+set}" = set; then
6133 enableval="$enable_libtool_lock"
6136 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6139 # Check whether --with-pic or --without-pic was given.
6140 if test "${with_pic+set}" = set; then
6146 test -z "$pic_mode" && pic_mode=default
6148 # Use C for the default configuration in the libtool script
6152 ac_cpp='$CPP $CPPFLAGS'
6153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6158 # Source file extension for C test sources.
6161 # Object file extension for compiled C test sources.
6165 # Code to be used in simple compile tests
6166 lt_simple_compile_test_code="int some_variable = 0;\n"
6168 # Code to be used in simple link tests
6169 lt_simple_link_test_code='int main(){return(0);}\n'
6172 # If no C compiler was specified, use CC.
6175 # Allow CC to be a program name with arguments.
6180 # Check for any special shared library compilation flags.
6183 if test "$GCC" = no; then
6186 lt_prog_cc_shlib='-belf'
6190 if test -n "$lt_prog_cc_shlib"; then
6191 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6192 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6193 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
6195 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6196 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6197 lt_cv_prog_cc_can_build_shared=no
6203 # Check to make sure the static flag actually works.
6205 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6206 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6207 if test "${lt_prog_compiler_static_works+set}" = set; then
6208 echo $ECHO_N "(cached) $ECHO_C" >&6
6210 lt_prog_compiler_static_works=no
6211 save_LDFLAGS="$LDFLAGS"
6212 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6213 printf "$lt_simple_link_test_code" > conftest.$ac_ext
6214 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6215 # The compiler can only warn and ignore the option if not recognized
6216 # So say no if there are warnings
6217 if test -s conftest.err; then
6218 # Append any errors to the config.log.
6219 cat conftest.err 1>&5
6221 lt_prog_compiler_static_works=yes
6225 LDFLAGS="$save_LDFLAGS"
6228 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6229 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6231 if test x"$lt_prog_compiler_static_works" = xyes; then
6234 lt_prog_compiler_static=
6240 ## There is no encapsulation within the following macros, do not change
6241 ## the running order or otherwise move them around unless you know exactly
6242 ## what you are doing...
6244 lt_prog_compiler_no_builtin_flag=
6246 if test "$GCC" = yes; then
6247 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6249 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6250 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6251 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6252 echo $ECHO_N "(cached) $ECHO_C" >&6
6254 lt_cv_prog_compiler_rtti_exceptions=no
6255 ac_outfile=conftest.$ac_objext
6256 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6257 lt_compiler_flag="-fno-rtti -fno-exceptions"
6258 # Insert the option either (1) after the last *FLAGS variable, or
6259 # (2) before a word containing "conftest.", or (3) at the end.
6260 # Note that $ac_compile itself does not contain backslashes and begins
6261 # with a dollar sign (not a hyphen), so the echo should work correctly.
6262 # The option is referenced via a variable to avoid confusing sed.
6263 lt_compile=`echo "$ac_compile" | $SED \
6264 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6265 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6266 -e 's:$: $lt_compiler_flag:'`
6267 (eval echo "\"\$as_me:6267: $lt_compile\"" >&5)
6268 (eval "$lt_compile" 2>conftest.err)
6270 cat conftest.err >&5
6271 echo "$as_me:6271: \$? = $ac_status" >&5
6272 if (exit $ac_status) && test -s "$ac_outfile"; then
6273 # The compiler can only warn and ignore the option if not recognized
6274 # So say no if there are warnings
6275 if test ! -s conftest.err; then
6276 lt_cv_prog_compiler_rtti_exceptions=yes
6282 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6283 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6285 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6286 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6293 lt_prog_compiler_wl=
6294 lt_prog_compiler_pic=
6295 lt_prog_compiler_static=
6297 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6298 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6300 if test "$GCC" = yes; then
6301 lt_prog_compiler_wl='-Wl,'
6302 lt_prog_compiler_static='-static'
6306 # All AIX code is PIC.
6307 if test "$host_cpu" = ia64; then
6308 # AIX 5 now supports IA64 processor
6309 lt_prog_compiler_static='-Bstatic'
6314 # FIXME: we need at least 68020 code to build shared libraries, but
6315 # adding the `-m68020' flag to GCC prevents building anything better,
6317 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6320 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6321 # PIC is the default for these OSes.
6324 mingw* | pw32* | os2*)
6325 # This hack is so that the source file can tell whether it is being
6326 # built for inclusion in a dll (and should export symbols for example).
6327 lt_prog_compiler_pic='-DDLL_EXPORT'
6330 darwin* | rhapsody*)
6331 # PIC is the default on this platform
6332 # Common symbols not allowed in MH_DYLIB files
6333 lt_prog_compiler_pic='-fno-common'
6337 # Just because we use GCC doesn't mean we suddenly get shared libraries
6338 # on systems that don't support them.
6339 lt_prog_compiler_can_build_shared=no
6344 if test -d /usr/nec; then
6345 lt_prog_compiler_pic=-Kconform_pic
6350 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6357 lt_prog_compiler_pic='-fPIC'
6363 lt_prog_compiler_pic='-fPIC'
6367 # PORTME Check for flag to pass linker flags through the system compiler.
6370 lt_prog_compiler_wl='-Wl,'
6371 if test "$host_cpu" = ia64; then
6372 # AIX 5 now supports IA64 processor
6373 lt_prog_compiler_static='-Bstatic'
6375 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6379 mingw* | pw32* | os2*)
6380 # This hack is so that the source file can tell whether it is being
6381 # built for inclusion in a dll (and should export symbols for example).
6382 lt_prog_compiler_pic='-DDLL_EXPORT'
6385 hpux9* | hpux10* | hpux11*)
6386 lt_prog_compiler_wl='-Wl,'
6387 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6394 lt_prog_compiler_pic='+Z'
6397 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6398 lt_prog_compiler_static='${wl}-a ${wl}archive'
6401 irix5* | irix6* | nonstopux*)
6402 lt_prog_compiler_wl='-Wl,'
6403 # PIC (with -KPIC) is the default.
6404 lt_prog_compiler_static='-non_shared'
6408 lt_prog_compiler_pic='-KPIC'
6409 lt_prog_compiler_static='-Bstatic'
6415 lt_prog_compiler_wl='-Wl,'
6416 lt_prog_compiler_pic='-KPIC'
6417 lt_prog_compiler_static='-static'
6420 lt_prog_compiler_wl='-Wl,'
6421 # All Alpha code is PIC.
6422 lt_prog_compiler_static='-non_shared'
6427 osf3* | osf4* | osf5*)
6428 lt_prog_compiler_wl='-Wl,'
6429 # All OSF/1 code is PIC.
6430 lt_prog_compiler_static='-non_shared'
6434 lt_prog_compiler_pic='-Kpic'
6435 lt_prog_compiler_static='-dn'
6439 lt_prog_compiler_wl='-Wl,'
6440 lt_prog_compiler_pic='-KPIC'
6441 lt_prog_compiler_static='-Bstatic'
6445 lt_prog_compiler_wl='-Qoption ld '
6446 lt_prog_compiler_pic='-PIC'
6447 lt_prog_compiler_static='-Bstatic'
6450 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6451 lt_prog_compiler_wl='-Wl,'
6452 lt_prog_compiler_pic='-KPIC'
6453 lt_prog_compiler_static='-Bstatic'
6457 if test -d /usr/nec ;then
6458 lt_prog_compiler_pic='-Kconform_pic'
6459 lt_prog_compiler_static='-Bstatic'
6464 lt_prog_compiler_pic='-pic'
6465 lt_prog_compiler_static='-Bstatic'
6469 lt_prog_compiler_can_build_shared=no
6474 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6475 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6478 # Check to make sure the PIC flag actually works.
6480 if test -n "$lt_prog_compiler_pic"; then
6481 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6482 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6483 if test "${lt_prog_compiler_pic_works+set}" = set; then
6484 echo $ECHO_N "(cached) $ECHO_C" >&6
6486 lt_prog_compiler_pic_works=no
6487 ac_outfile=conftest.$ac_objext
6488 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6489 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6490 # Insert the option either (1) after the last *FLAGS variable, or
6491 # (2) before a word containing "conftest.", or (3) at the end.
6492 # Note that $ac_compile itself does not contain backslashes and begins
6493 # with a dollar sign (not a hyphen), so the echo should work correctly.
6494 # The option is referenced via a variable to avoid confusing sed.
6495 lt_compile=`echo "$ac_compile" | $SED \
6496 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6497 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6498 -e 's:$: $lt_compiler_flag:'`
6499 (eval echo "\"\$as_me:6499: $lt_compile\"" >&5)
6500 (eval "$lt_compile" 2>conftest.err)
6502 cat conftest.err >&5
6503 echo "$as_me:6503: \$? = $ac_status" >&5
6504 if (exit $ac_status) && test -s "$ac_outfile"; then
6505 # The compiler can only warn and ignore the option if not recognized
6506 # So say no if there are warnings
6507 if test ! -s conftest.err; then
6508 lt_prog_compiler_pic_works=yes
6514 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6515 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6517 if test x"$lt_prog_compiler_pic_works" = xyes; then
6518 case $lt_prog_compiler_pic in
6520 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6523 lt_prog_compiler_pic=
6524 lt_prog_compiler_can_build_shared=no
6529 # For platforms which do not support PIC, -DPIC is meaningless:
6531 lt_prog_compiler_pic=
6534 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6538 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6539 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6540 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6541 echo $ECHO_N "(cached) $ECHO_C" >&6
6543 lt_cv_prog_compiler_c_o=no
6544 $rm -r conftest 2>/dev/null
6548 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6550 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6551 # that will create temporary files in the current directory regardless of
6552 # the output directory. Thus, making CWD read-only will cause this test
6553 # to fail, enabling locking or at least warning the user not to do parallel
6557 lt_compiler_flag="-o out/conftest2.$ac_objext"
6558 # Insert the option either (1) after the last *FLAGS variable, or
6559 # (2) before a word containing "conftest.", or (3) at the end.
6560 # Note that $ac_compile itself does not contain backslashes and begins
6561 # with a dollar sign (not a hyphen), so the echo should work correctly.
6562 lt_compile=`echo "$ac_compile" | $SED \
6563 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6564 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6565 -e 's:$: $lt_compiler_flag:'`
6566 (eval echo "\"\$as_me:6566: $lt_compile\"" >&5)
6567 (eval "$lt_compile" 2>out/conftest.err)
6569 cat out/conftest.err >&5
6570 echo "$as_me:6570: \$? = $ac_status" >&5
6571 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6573 # The compiler can only warn and ignore the option if not recognized
6574 # So say no if there are warnings
6575 if test ! -s out/conftest.err; then
6576 lt_cv_prog_compiler_c_o=yes
6587 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6588 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6591 hard_links="nottested"
6592 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6593 # do not overwrite the value of need_locks provided by the user
6594 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6595 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6598 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6600 ln conftest.a conftest.b 2>&5 || hard_links=no
6601 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6602 echo "$as_me:$LINENO: result: $hard_links" >&5
6603 echo "${ECHO_T}$hard_links" >&6
6604 if test "$hard_links" = no; then
6605 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6606 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6613 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6614 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6617 allow_undefined_flag=
6618 enable_shared_with_static_runtimes=no
6620 archive_expsym_cmds=
6621 old_archive_From_new_cmds=
6622 old_archive_from_expsyms_cmds=
6623 export_dynamic_flag_spec=
6624 whole_archive_flag_spec=
6625 thread_safe_flag_spec=
6626 hardcode_libdir_flag_spec=
6627 hardcode_libdir_flag_spec_ld=
6628 hardcode_libdir_separator=
6631 hardcode_shlibpath_var=unsupported
6632 link_all_deplibs=unknown
6633 hardcode_automatic=no
6636 always_export_symbols=no
6637 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6638 # include_expsyms should be a list of space-separated symbols to be *always*
6639 # included in the symbol list
6641 # exclude_expsyms can be an extended regexp of symbols to exclude
6642 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6643 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6644 # as well as any symbol that contains `d'.
6645 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6646 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6647 # platforms (ab)use it in PIC code, but their linkers get confused if
6648 # the symbol is explicitly referenced. Since portable code cannot
6649 # rely on this symbol name, it's probably fine to never include it in
6650 # preloaded symbol tables.
6651 extract_expsyms_cmds=
6654 cygwin* | mingw* | pw32*)
6655 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6656 # When not using gcc, we currently assume that we are using
6657 # Microsoft Visual C++.
6658 if test "$GCC" != yes; then
6668 if test "$with_gnu_ld" = yes; then
6669 # If archive_cmds runs LD, not CC, wlarc should be empty
6672 # See if GNU ld supports shared libraries.
6674 aix3* | aix4* | aix5*)
6675 # On AIX/PPC, the GNU linker is very broken
6676 if test "$host_cpu" != ia64; then
6680 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6681 *** to be unable to reliably create shared libraries on AIX.
6682 *** Therefore, libtool is disabling shared libraries support. If you
6683 *** really care for shared libraries, you may want to modify your PATH
6684 *** so that a non-GNU linker is found, and then restart.
6691 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)'
6692 hardcode_libdir_flag_spec='-L$libdir'
6693 hardcode_minus_L=yes
6695 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6696 # that the semantics of dynamic libraries on AmigaOS, at least up
6697 # to version 4, is to share data among multiple programs linked
6698 # with the same dynamic library. Since this doesn't match the
6699 # behavior of shared libraries on other platforms, we can't use
6705 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6706 allow_undefined_flag=unsupported
6707 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6708 # support --undefined. This deserves some investigation. FIXME
6709 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6715 cygwin* | mingw* | pw32*)
6716 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6717 # as there is no search path for DLLs.
6718 hardcode_libdir_flag_spec='-L$libdir'
6719 allow_undefined_flag=unsupported
6720 always_export_symbols=no
6721 enable_shared_with_static_runtimes=yes
6722 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6724 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6725 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6726 # If the export-symbols file already is a .def file (1st line
6727 # is EXPORTS), use it as is; otherwise, prepend...
6728 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6729 cp $export_symbols $output_objdir/$soname.def;
6731 echo EXPORTS > $output_objdir/$soname.def;
6732 cat $export_symbols >> $output_objdir/$soname.def;
6734 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6741 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6742 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6745 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6746 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6751 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6755 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6756 *** create shared libraries on Solaris systems. Therefore, libtool
6757 *** is disabling shared libraries support. We urge you to upgrade GNU
6758 *** binutils to release 2.9.1 or newer. Another option is to modify
6759 *** your PATH or compiler configuration so that the native linker is
6760 *** used, and then restart.
6763 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6764 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6765 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6772 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6775 hardcode_shlibpath_var=no
6779 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6780 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6781 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6788 if test "$ld_shlibs" = yes; then
6789 runpath_var=LD_RUN_PATH
6790 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6791 export_dynamic_flag_spec='${wl}--export-dynamic'
6792 # ancient GNU ld didn't support --whole-archive et. al.
6793 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6794 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6796 whole_archive_flag_spec=
6800 # PORTME fill in a description of your system's linker (not GNU ld)
6803 allow_undefined_flag=unsupported
6804 always_export_symbols=yes
6805 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'
6806 # Note: this linker hardcodes the directories in LIBPATH if there
6807 # are no directories specified by -L.
6808 hardcode_minus_L=yes
6809 if test "$GCC" = yes && test -z "$link_static_flag"; then
6810 # Neither direct hardcoding nor static linking is supported with a
6812 hardcode_direct=unsupported
6817 if test "$host_cpu" = ia64; then
6818 # On IA64, the linker does run time linking by default, so we don't
6819 # have to do anything special.
6820 aix_use_runtimelinking=no
6821 exp_sym_flag='-Bexport'
6824 # If we're using GNU nm, then we don't want the "-C" option.
6825 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6826 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6827 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'
6829 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'
6831 aix_use_runtimelinking=no
6833 # Test if we are trying to use run time linking or normal
6834 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6835 # need to do runtime linking.
6836 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6837 for ld_flag in $LDFLAGS; do
6838 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6839 aix_use_runtimelinking=yes
6845 exp_sym_flag='-bexport'
6846 no_entry_flag='-bnoentry'
6849 # When large executables or shared objects are built, AIX ld can
6850 # have problems creating the table of contents. If linking a library
6851 # or program results in "error TOC overflow" add -mminimal-toc to
6852 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6853 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6857 hardcode_libdir_separator=':'
6858 link_all_deplibs=yes
6860 if test "$GCC" = yes; then
6861 case $host_os in aix4.012|aix4.012.*)
6862 # We only want to do this on AIX 4.2 and lower, the check
6863 # below for broken collect2 doesn't work under 4.3+
6864 collect2name=`${CC} -print-prog-name=collect2`
6865 if test -f "$collect2name" && \
6866 strings "$collect2name" | grep resolve_lib_name >/dev/null
6868 # We have reworked collect2
6871 # We have old collect2
6872 hardcode_direct=unsupported
6873 # It fails to find uninstalled libraries when the uninstalled
6874 # path is not listed in the libpath. Setting hardcode_minus_L
6875 # to unsupported forces relinking
6876 hardcode_minus_L=yes
6877 hardcode_libdir_flag_spec='-L$libdir'
6878 hardcode_libdir_separator=
6881 shared_flag='-shared'
6884 if test "$host_cpu" = ia64; then
6885 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6886 # chokes on -Wl,-G. The following line is correct:
6889 if test "$aix_use_runtimelinking" = yes; then
6890 shared_flag='${wl}-G'
6892 shared_flag='${wl}-bM:SRE'
6897 # It seems that -bexpall does not export symbols beginning with
6898 # underscore (_), so it is better to generate a list of symbols to export.
6899 always_export_symbols=yes
6900 if test "$aix_use_runtimelinking" = yes; then
6901 # Warning - without using the other runtime loading flags (-brtl),
6902 # -berok will link without error, but may produce a broken library.
6903 allow_undefined_flag='-berok'
6904 # Determine the default libpath from the value encoded in an empty executable.
6905 cat >conftest.$ac_ext <<_ACEOF
6906 #line $LINENO "configure"
6909 cat confdefs.h >>conftest.$ac_ext
6910 cat >>conftest.$ac_ext <<_ACEOF
6911 /* end confdefs.h. */
6921 rm -f conftest.$ac_objext conftest$ac_exeext
6922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6923 (eval $ac_link) 2>&5
6925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6926 (exit $ac_status); } &&
6927 { ac_try='test -s conftest$ac_exeext'
6928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6932 (exit $ac_status); }; }; then
6934 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6936 # Check for a 64-bit object if we didn't find anything.
6937 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; }
6940 echo "$as_me: failed program was:" >&5
6941 sed 's/^/| /' conftest.$ac_ext >&5
6944 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6945 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6947 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6948 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"
6950 if test "$host_cpu" = ia64; then
6951 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6952 allow_undefined_flag="-z nodefs"
6953 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"
6955 # Determine the default libpath from the value encoded in an empty executable.
6956 cat >conftest.$ac_ext <<_ACEOF
6957 #line $LINENO "configure"
6960 cat confdefs.h >>conftest.$ac_ext
6961 cat >>conftest.$ac_ext <<_ACEOF
6962 /* end confdefs.h. */
6972 rm -f conftest.$ac_objext conftest$ac_exeext
6973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6974 (eval $ac_link) 2>&5
6976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6977 (exit $ac_status); } &&
6978 { ac_try='test -s conftest$ac_exeext'
6979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6983 (exit $ac_status); }; }; then
6985 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6987 # Check for a 64-bit object if we didn't find anything.
6988 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; }
6991 echo "$as_me: failed program was:" >&5
6992 sed 's/^/| /' conftest.$ac_ext >&5
6995 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6996 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6998 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6999 # Warning - without using the other run time loading flags,
7000 # -berok will link without error, but may produce a broken library.
7001 no_undefined_flag=' ${wl}-bernotok'
7002 allow_undefined_flag=' ${wl}-berok'
7003 # -bexpall does not export symbols beginning with underscore (_)
7004 always_export_symbols=yes
7005 # Exported symbols can be pulled into shared objects from archives
7006 whole_archive_flag_spec=' '
7007 archive_cmds_need_lc=yes
7008 # This is similar to how AIX traditionally builds it's shared libraries.
7009 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'
7015 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)'
7016 hardcode_libdir_flag_spec='-L$libdir'
7017 hardcode_minus_L=yes
7018 # see comment about different semantics on the GNU ld section
7023 export_dynamic_flag_spec=-rdynamic
7026 cygwin* | mingw* | pw32*)
7027 # When not using gcc, we currently assume that we are using
7028 # Microsoft Visual C++.
7029 # hardcode_libdir_flag_spec is actually meaningless, as there is
7030 # no search path for DLLs.
7031 hardcode_libdir_flag_spec=' '
7032 allow_undefined_flag=unsupported
7033 # Tell ltmain to make .lib files, not .a files.
7035 # Tell ltmain to make .dll files, not .so files.
7037 # FIXME: Setting linknames here is a bad hack.
7038 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7039 # The linker will automatically build a .lib file if we build a DLL.
7040 old_archive_From_new_cmds='true'
7041 # FIXME: Should let the user specify the lib program.
7042 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
7043 fix_srcfile_path='`cygpath -w "$srcfile"`'
7044 enable_shared_with_static_runtimes=yes
7047 darwin* | rhapsody*)
7048 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7049 archive_cmds_need_lc=no
7051 rhapsody* | darwin1.[012])
7052 allow_undefined_flag='-undefined suppress'
7055 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
7058 # FIXME: Relying on posixy $() will cause problems for
7059 # cross-compilation, but unfortunately the echo tests do not
7060 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
7061 # `"' quotes if we put them in here... so don't!
7062 lt_int_apple_cc_single_mod=no
7063 output_verbose_link_cmd='echo'
7064 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7065 lt_int_apple_cc_single_mod=yes
7067 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7068 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7070 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'
7072 module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7073 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7074 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7075 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}'
7077 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}'
7079 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}'
7081 hardcode_automatic=yes
7082 hardcode_shlibpath_var=unsupported
7083 whole_archive_flag_spec='-all_load $convenience'
7084 link_all_deplibs=yes
7089 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7090 hardcode_libdir_flag_spec='-L$libdir'
7091 hardcode_shlibpath_var=no
7098 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7099 # support. Future versions do this automatically, but an explicit c++rt0.o
7100 # does not break anything, and helps significantly (at the cost of a little
7103 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7104 hardcode_libdir_flag_spec='-R$libdir'
7106 hardcode_shlibpath_var=no
7109 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7111 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7113 hardcode_minus_L=yes
7114 hardcode_shlibpath_var=no
7117 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7119 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7120 hardcode_libdir_flag_spec='-R$libdir'
7122 hardcode_shlibpath_var=no
7126 if test "$GCC" = yes; then
7127 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'
7129 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'
7131 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7132 hardcode_libdir_separator=:
7135 # hardcode_minus_L: Not really in the search PATH,
7136 # but as the default location of the library.
7137 hardcode_minus_L=yes
7138 export_dynamic_flag_spec='${wl}-E'
7142 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7145 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7148 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7154 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7157 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7161 if test "$with_gnu_ld" = no; then
7164 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7165 hardcode_libdir_flag_spec_ld='+b $libdir'
7166 hardcode_libdir_separator=:
7168 hardcode_shlibpath_var=no
7171 hardcode_libdir_flag_spec='-L$libdir'
7173 hardcode_shlibpath_var=no
7175 # hardcode_minus_L: Not really in the search PATH,
7176 # but as the default location of the library.
7177 hardcode_minus_L=yes
7180 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7181 hardcode_libdir_separator=:
7183 export_dynamic_flag_spec='${wl}-E'
7185 # hardcode_minus_L: Not really in the search PATH,
7186 # but as the default location of the library.
7187 hardcode_minus_L=yes
7193 irix5* | irix6* | nonstopux*)
7194 if test "$GCC" = yes; then
7195 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'
7197 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'
7198 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7200 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7201 hardcode_libdir_separator=:
7202 link_all_deplibs=yes
7206 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7207 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7209 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7211 hardcode_libdir_flag_spec='-R$libdir'
7213 hardcode_shlibpath_var=no
7217 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7219 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7220 hardcode_libdir_separator=:
7221 hardcode_shlibpath_var=no
7226 hardcode_shlibpath_var=no
7227 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7228 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7229 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7230 export_dynamic_flag_spec='${wl}-E'
7233 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7234 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7235 hardcode_libdir_flag_spec='-R$libdir'
7238 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7239 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7246 hardcode_libdir_flag_spec='-L$libdir'
7247 hardcode_minus_L=yes
7248 allow_undefined_flag=unsupported
7249 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'
7250 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7254 if test "$GCC" = yes; then
7255 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7256 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'
7258 allow_undefined_flag=' -expect_unresolved \*'
7259 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'
7261 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7262 hardcode_libdir_separator=:
7265 osf4* | osf5*) # as osf3* with the addition of -msym flag
7266 if test "$GCC" = yes; then
7267 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7268 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'
7269 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7271 allow_undefined_flag=' -expect_unresolved \*'
7272 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'
7273 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7274 $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'
7276 # Both c and cxx compiler support -rpath directly
7277 hardcode_libdir_flag_spec='-rpath $libdir'
7279 hardcode_libdir_separator=:
7283 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7284 hardcode_shlibpath_var=no
7285 export_dynamic_flag_spec='${wl}-Bexport'
7286 runpath_var=LD_RUN_PATH
7287 hardcode_runpath_var=yes
7291 no_undefined_flag=' -z text'
7292 if test "$GCC" = yes; then
7293 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7294 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7295 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7297 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7298 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7299 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7301 hardcode_libdir_flag_spec='-R$libdir'
7302 hardcode_shlibpath_var=no
7304 solaris2.[0-5] | solaris2.[0-5].*) ;;
7305 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7306 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7308 link_all_deplibs=yes
7312 if test "x$host_vendor" = xsequent; then
7313 # Use $CC to link under sequent, because it throws in some extra .o
7314 # files that make .init and .fini sections work.
7315 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7317 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7319 hardcode_libdir_flag_spec='-L$libdir'
7321 hardcode_minus_L=yes
7322 hardcode_shlibpath_var=no
7326 case $host_vendor in
7328 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7329 hardcode_direct=yes # is this really true???
7332 ## LD is ld it makes a PLAMLIB
7333 ## CC just makes a GrossModule.
7334 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7335 reload_cmds='$CC -r -o $output$reload_objs'
7339 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7340 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7343 runpath_var='LD_RUN_PATH'
7344 hardcode_shlibpath_var=no
7348 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7349 hardcode_shlibpath_var=no
7350 export_dynamic_flag_spec='-Bexport'
7354 if test -d /usr/nec; then
7355 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7356 hardcode_shlibpath_var=no
7357 runpath_var=LD_RUN_PATH
7358 hardcode_runpath_var=yes
7364 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7367 hardcode_shlibpath_var=no
7368 hardcode_runpath_var=yes
7369 runpath_var=LD_RUN_PATH
7372 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7373 no_undefined_flag='${wl}-z ${wl}text'
7374 if test "$GCC" = yes; then
7375 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7377 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7379 runpath_var='LD_RUN_PATH'
7380 hardcode_shlibpath_var=no
7384 no_undefined_flag=' -z text'
7385 # $CC -shared without GNU ld will not create a library from C++
7386 # object files and a static libstdc++, better avoid it by now
7387 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7388 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7389 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7390 hardcode_libdir_flag_spec=
7391 hardcode_shlibpath_var=no
7392 runpath_var='LD_RUN_PATH'
7396 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7397 hardcode_libdir_flag_spec='-L$libdir'
7398 hardcode_shlibpath_var=no
7407 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7408 echo "${ECHO_T}$ld_shlibs" >&6
7409 test "$ld_shlibs" = no && can_build_shared=no
7411 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7412 if test "$GCC" = yes; then
7413 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7417 # Do we need to explicitly link libc?
7419 case "x$archive_cmds_need_lc" in
7421 # Assume -lc should be added
7422 archive_cmds_need_lc=yes
7424 if test "$enable_shared" = yes && test "$GCC" = yes; then
7425 case $archive_cmds in
7427 # FIXME: we may have to deal with multi-command sequences.
7430 # Test whether the compiler implicitly links with -lc since on some
7431 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7432 # to ld, don't add -lc before -lgcc.
7433 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7434 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7436 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7439 (eval $ac_compile) 2>&5
7441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7442 (exit $ac_status); } 2>conftest.err; then
7445 libobjs=conftest.$ac_objext
7447 wl=$lt_prog_compiler_wl
7453 lt_save_allow_undefined_flag=$allow_undefined_flag
7454 allow_undefined_flag=
7455 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7456 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7459 (exit $ac_status); }
7461 archive_cmds_need_lc=no
7463 archive_cmds_need_lc=yes
7465 allow_undefined_flag=$lt_save_allow_undefined_flag
7467 cat conftest.err 1>&5
7470 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7471 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7478 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7479 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7481 if test -n "$hardcode_libdir_flag_spec" || \
7482 test -n "$runpath_var " || \
7483 test "X$hardcode_automatic"="Xyes" ; then
7485 # We can hardcode non-existant directories.
7486 if test "$hardcode_direct" != no &&
7487 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7488 # have to relink, otherwise we might link with an installed library
7489 # when we should be linking with a yet-to-be-installed one
7490 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7491 test "$hardcode_minus_L" != no; then
7492 # Linking always hardcodes the temporary library directory.
7493 hardcode_action=relink
7495 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7496 hardcode_action=immediate
7499 # We cannot hardcode anything, or else we can only hardcode existing
7501 hardcode_action=unsupported
7503 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7504 echo "${ECHO_T}$hardcode_action" >&6
7506 if test "$hardcode_action" = relink; then
7507 # Fast installation is not supported
7508 enable_fast_install=no
7509 elif test "$shlibpath_overrides_runpath" = yes ||
7510 test "$enable_shared" = no; then
7511 # Fast installation is not necessary
7512 enable_fast_install=needless
7517 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7518 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7519 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7520 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7521 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7522 echo "$as_me:$LINENO: result: yes" >&5
7523 echo "${ECHO_T}yes" >&6
7525 # FIXME - insert some real tests, host_os isn't really good enough
7528 if test -n "$STRIP" ; then
7529 striplib="$STRIP -x"
7530 echo "$as_me:$LINENO: result: yes" >&5
7531 echo "${ECHO_T}yes" >&6
7533 echo "$as_me:$LINENO: result: no" >&5
7534 echo "${ECHO_T}no" >&6
7538 echo "$as_me:$LINENO: result: no" >&5
7539 echo "${ECHO_T}no" >&6
7544 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7545 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7547 libname_spec='lib$name'
7555 shlibpath_overrides_runpath=unknown
7557 dynamic_linker="$host_os ld.so"
7558 sys_lib_dlsearch_path_spec="/lib /usr/lib"
7559 if test "$GCC" = yes; then
7560 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7561 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7562 # if the path contains ";" then we assume it to be the separator
7563 # otherwise default to the standard path separator (i.e. ":") - it is
7564 # assumed that no part of a normal pathname contains ";" but that should
7565 # okay in the real world where ";" in dirpaths is itself problematic.
7566 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7568 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7571 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7573 need_lib_prefix=unknown
7574 hardcode_into_libs=no
7576 # when you set need_version to no, make sure it does not cause -set_version
7577 # flags to be left without arguments
7578 need_version=unknown
7583 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7584 shlibpath_var=LIBPATH
7586 # AIX 3 has no versioning support, so we append a major version to the name.
7587 soname_spec='${libname}${release}${shared_ext}$major'
7594 hardcode_into_libs=yes
7595 if test "$host_cpu" = ia64; then
7596 # AIX 5 supports IA64
7597 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7598 shlibpath_var=LD_LIBRARY_PATH
7600 # With GCC up to 2.95.x, collect2 would create an import file
7601 # for dependence libraries. The import file would start with
7602 # the line `#! .'. This would cause the generated library to
7603 # depend on `.', always an invalid library. This was fixed in
7604 # development snapshots of GCC prior to 3.0.
7606 aix4 | aix4.[01] | aix4.[01].*)
7607 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7609 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7616 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7617 # soname into executable. Probably we can add versioning support to
7618 # collect2, so additional links can be useful in future.
7619 if test "$aix_use_runtimelinking" = yes; then
7620 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7621 # instead of lib<name>.a to let people know that these are not
7622 # typical AIX shared libraries.
7623 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7625 # We preserve .a as extension for shared libraries through AIX4.2
7626 # and later when we are not doing run time linking.
7627 library_names_spec='${libname}${release}.a $libname.a'
7628 soname_spec='${libname}${release}${shared_ext}$major'
7630 shlibpath_var=LIBPATH
7635 library_names_spec='$libname.ixlibrary $libname.a'
7636 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7637 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'
7641 library_names_spec='${libname}${shared_ext}'
7642 dynamic_linker="$host_os ld.so"
7643 shlibpath_var=LIBRARY_PATH
7649 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7650 soname_spec='${libname}${release}${shared_ext}$major'
7651 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7652 shlibpath_var=LD_LIBRARY_PATH
7653 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7654 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7655 # the default ld.so.conf also contains /usr/contrib/lib and
7656 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7657 # libtool to hard-code these into programs
7660 cygwin* | mingw* | pw32*)
7661 version_type=windows
7666 case $GCC,$host_os in
7667 yes,cygwin* | yes,mingw* | yes,pw32*)
7668 library_names_spec='$libname.dll.a'
7669 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7670 postinstall_cmds='base_file=`basename \${file}`~
7671 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7672 dldir=$destdir/`dirname \$dlpath`~
7673 test -d \$dldir || mkdir -p \$dldir~
7674 $install_prog $dir/$dlname \$dldir/$dlname'
7675 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7676 dlpath=$dir/\$dldll~
7678 shlibpath_overrides_runpath=yes
7682 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7683 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7684 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
7687 # MinGW DLLs use traditional 'lib' prefix
7688 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7689 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7690 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7691 # It is most probably a Windows format PATH printed by
7692 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7693 # path with ; separators, and with drive letters. We can handle the
7694 # drive letters (cygwin fileutils understands them), so leave them,
7695 # especially as we might pass files found there to a mingw objdump,
7696 # which wouldn't understand a cygwinified path. Ahh.
7697 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7699 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7703 # pw32 DLLs use 'pw' prefix rather than 'lib'
7704 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7710 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7713 dynamic_linker='Win32 ld.exe'
7714 # FIXME: first we should search . and the directory the executable is in
7718 darwin* | rhapsody*)
7719 dynamic_linker="$host_os dyld"
7723 # FIXME: Relying on posixy $() will cause problems for
7724 # cross-compilation, but unfortunately the echo tests do not
7725 # yet detect zsh echo's removal of \ escapes.
7726 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7727 soname_spec='${libname}${release}${major}$shared_ext'
7728 shlibpath_overrides_runpath=yes
7729 shlibpath_var=DYLD_LIBRARY_PATH
7730 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
7731 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7732 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7733 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"`
7735 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7742 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7743 soname_spec='${libname}${release}${shared_ext}$major'
7744 shlibpath_var=LD_LIBRARY_PATH
7752 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7753 version_type=freebsd-$objformat
7754 case $version_type in
7756 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7761 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7765 shlibpath_var=LD_LIBRARY_PATH
7768 shlibpath_overrides_runpath=yes
7770 freebsd3.01* | freebsdelf3.01*)
7771 shlibpath_overrides_runpath=yes
7772 hardcode_into_libs=yes
7775 shlibpath_overrides_runpath=no
7776 hardcode_into_libs=yes
7785 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7786 soname_spec='${libname}${release}${shared_ext}$major'
7787 shlibpath_var=LD_LIBRARY_PATH
7788 hardcode_into_libs=yes
7791 hpux9* | hpux10* | hpux11*)
7792 # Give a soname corresponding to the major version so that dld.sl refuses to
7793 # link against other versions.
7800 hardcode_into_libs=yes
7801 dynamic_linker="$host_os dld.so"
7802 shlibpath_var=LD_LIBRARY_PATH
7803 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7804 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7805 soname_spec='${libname}${release}${shared_ext}$major'
7806 if test "X$HPUX_IA64_MODE" = X32; then
7807 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7809 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7811 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7815 hardcode_into_libs=yes
7816 dynamic_linker="$host_os dld.sl"
7817 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7818 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7819 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7820 soname_spec='${libname}${release}${shared_ext}$major'
7821 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7822 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7826 dynamic_linker="$host_os dld.sl"
7827 shlibpath_var=SHLIB_PATH
7828 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7829 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7830 soname_spec='${libname}${release}${shared_ext}$major'
7833 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7834 postinstall_cmds='chmod 555 $lib'
7837 irix5* | irix6* | nonstopux*)
7839 nonstopux*) version_type=nonstopux ;;
7841 if test "$lt_cv_prog_gnu_ld" = yes; then
7849 soname_spec='${libname}${release}${shared_ext}$major'
7850 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7852 irix5* | nonstopux*)
7856 case $LD in # libtool.m4 will add one of these switches to LD
7857 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7858 libsuff= shlibsuff= libmagic=32-bit;;
7859 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7860 libsuff=32 shlibsuff=N32 libmagic=N32;;
7861 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7862 libsuff=64 shlibsuff=64 libmagic=64-bit;;
7863 *) libsuff= shlibsuff= libmagic=never-match;;
7867 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7868 shlibpath_overrides_runpath=no
7869 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7870 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7871 hardcode_into_libs=yes
7874 # No shared lib support for Linux oldld, aout, or coff.
7875 linux*oldld* | linux*aout* | linux*coff*)
7879 # This must be Linux ELF.
7884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7885 soname_spec='${libname}${release}${shared_ext}$major'
7886 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7887 shlibpath_var=LD_LIBRARY_PATH
7888 shlibpath_overrides_runpath=no
7889 # This implies no fast_install, which is unacceptable.
7890 # Some rework will be needed to allow for fast_install
7891 # before this can be enabled.
7892 hardcode_into_libs=yes
7894 # We used to test for /lib/ld.so.1 and disable shared libraries on
7895 # powerpc, because MkLinux only supported shared libraries with the
7896 # GNU dynamic linker. Since this was broken with cross compilers,
7897 # most powerpc-linux boxes support dynamic linking these days and
7898 # people can always --disable-shared, the test was removed, and we
7899 # assume the GNU/Linux dynamic linker is in use.
7900 dynamic_linker='GNU/Linux ld.so'
7907 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7908 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7909 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7910 dynamic_linker='NetBSD (a.out) ld.so'
7912 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
7913 soname_spec='${libname}${release}${shared_ext}$major'
7914 dynamic_linker='NetBSD ld.elf_so'
7916 shlibpath_var=LD_LIBRARY_PATH
7917 shlibpath_overrides_runpath=yes
7918 hardcode_into_libs=yes
7923 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7924 shlibpath_var=LD_LIBRARY_PATH
7925 shlibpath_overrides_runpath=yes
7932 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7933 soname_spec='${libname}${release}${shared_ext}$major'
7934 shlibpath_var=LD_LIBRARY_PATH
7935 shlibpath_overrides_runpath=yes
7942 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7943 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7944 shlibpath_var=LD_LIBRARY_PATH
7945 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7947 openbsd2.[89] | openbsd2.[89].*)
7948 shlibpath_overrides_runpath=no
7951 shlibpath_overrides_runpath=yes
7955 shlibpath_overrides_runpath=yes
7960 libname_spec='$name'
7963 library_names_spec='$libname${shared_ext} $libname.a'
7964 dynamic_linker='OS/2 ld.exe'
7965 shlibpath_var=LIBPATH
7968 osf3* | osf4* | osf5*)
7972 soname_spec='${libname}${release}${shared_ext}$major'
7973 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7974 shlibpath_var=LD_LIBRARY_PATH
7975 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7976 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7981 soname_spec='${libname}${release}${shared_ext}$major'
7982 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7983 shlibpath_var=LD_LIBRARY_PATH
7990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7991 soname_spec='${libname}${release}${shared_ext}$major'
7992 shlibpath_var=LD_LIBRARY_PATH
7993 shlibpath_overrides_runpath=yes
7994 hardcode_into_libs=yes
7995 # ldd complains unless libraries are executable
7996 postinstall_cmds='chmod +x $lib'
8001 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8002 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8003 shlibpath_var=LD_LIBRARY_PATH
8004 shlibpath_overrides_runpath=yes
8005 if test "$with_gnu_ld" = yes; then
8011 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8013 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8014 soname_spec='${libname}${release}${shared_ext}$major'
8015 shlibpath_var=LD_LIBRARY_PATH
8016 case $host_vendor in
8018 shlibpath_overrides_runpath=no
8020 export_dynamic_flag_spec='${wl}-Blargedynsym'
8021 runpath_var=LD_RUN_PATH
8029 shlibpath_overrides_runpath=no
8030 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8036 if test -d /usr/nec ;then
8038 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8039 soname_spec='$libname${shared_ext}.$major'
8040 shlibpath_var=LD_LIBRARY_PATH
8046 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8047 soname_spec='${libname}${release}${shared_ext}$major'
8048 shlibpath_var=LD_LIBRARY_PATH
8055 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8056 echo "${ECHO_T}$dynamic_linker" >&6
8057 test "$dynamic_linker" = no && can_build_shared=no
8059 if test "x$enable_dlopen" != xyes; then
8060 enable_dlopen=unknown
8061 enable_dlopen_self=unknown
8062 enable_dlopen_self_static=unknown
8069 lt_cv_dlopen="load_add_on"
8071 lt_cv_dlopen_self=yes
8075 lt_cv_dlopen="LoadLibrary"
8080 lt_cv_dlopen="dlopen"
8085 # if libdl is installed we need to link against it
8086 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8087 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8088 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8089 echo $ECHO_N "(cached) $ECHO_C" >&6
8091 ac_check_lib_save_LIBS=$LIBS
8093 cat >conftest.$ac_ext <<_ACEOF
8094 #line $LINENO "configure"
8097 cat confdefs.h >>conftest.$ac_ext
8098 cat >>conftest.$ac_ext <<_ACEOF
8099 /* end confdefs.h. */
8101 /* Override any gcc2 internal prototype to avoid an error. */
8105 /* We use char because int might match the return type of a gcc2
8106 builtin and then its argument prototype would still apply. */
8116 rm -f conftest.$ac_objext conftest$ac_exeext
8117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8118 (eval $ac_link) 2>&5
8120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8121 (exit $ac_status); } &&
8122 { ac_try='test -s conftest$ac_exeext'
8123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8127 (exit $ac_status); }; }; then
8128 ac_cv_lib_dl_dlopen=yes
8130 echo "$as_me: failed program was:" >&5
8131 sed 's/^/| /' conftest.$ac_ext >&5
8133 ac_cv_lib_dl_dlopen=no
8135 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8136 LIBS=$ac_check_lib_save_LIBS
8138 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8139 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8140 if test $ac_cv_lib_dl_dlopen = yes; then
8141 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8146 lt_cv_dlopen_self=yes
8153 echo "$as_me:$LINENO: checking for shl_load" >&5
8154 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8155 if test "${ac_cv_func_shl_load+set}" = set; then
8156 echo $ECHO_N "(cached) $ECHO_C" >&6
8158 cat >conftest.$ac_ext <<_ACEOF
8159 #line $LINENO "configure"
8162 cat confdefs.h >>conftest.$ac_ext
8163 cat >>conftest.$ac_ext <<_ACEOF
8164 /* end confdefs.h. */
8165 /* System header to define __stub macros and hopefully few prototypes,
8166 which can conflict with char shl_load (); below.
8167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8168 <limits.h> exists even on freestanding compilers. */
8170 # include <limits.h>
8172 # include <assert.h>
8174 /* Override any gcc2 internal prototype to avoid an error. */
8179 /* We use char because int might match the return type of a gcc2
8180 builtin and then its argument prototype would still apply. */
8182 /* The GNU C library defines this for functions which it implements
8183 to always fail with ENOSYS. Some functions are actually named
8184 something starting with __ and the normal name is an alias. */
8185 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8188 char (*f) () = shl_load;
8197 return f != shl_load;
8202 rm -f conftest.$ac_objext conftest$ac_exeext
8203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8204 (eval $ac_link) 2>&5
8206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8207 (exit $ac_status); } &&
8208 { ac_try='test -s conftest$ac_exeext'
8209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8213 (exit $ac_status); }; }; then
8214 ac_cv_func_shl_load=yes
8216 echo "$as_me: failed program was:" >&5
8217 sed 's/^/| /' conftest.$ac_ext >&5
8219 ac_cv_func_shl_load=no
8221 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8223 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8224 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8225 if test $ac_cv_func_shl_load = yes; then
8226 lt_cv_dlopen="shl_load"
8228 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8229 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8230 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8231 echo $ECHO_N "(cached) $ECHO_C" >&6
8233 ac_check_lib_save_LIBS=$LIBS
8235 cat >conftest.$ac_ext <<_ACEOF
8236 #line $LINENO "configure"
8239 cat confdefs.h >>conftest.$ac_ext
8240 cat >>conftest.$ac_ext <<_ACEOF
8241 /* end confdefs.h. */
8243 /* Override any gcc2 internal prototype to avoid an error. */
8247 /* We use char because int might match the return type of a gcc2
8248 builtin and then its argument prototype would still apply. */
8258 rm -f conftest.$ac_objext conftest$ac_exeext
8259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8260 (eval $ac_link) 2>&5
8262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8263 (exit $ac_status); } &&
8264 { ac_try='test -s conftest$ac_exeext'
8265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8269 (exit $ac_status); }; }; then
8270 ac_cv_lib_dld_shl_load=yes
8272 echo "$as_me: failed program was:" >&5
8273 sed 's/^/| /' conftest.$ac_ext >&5
8275 ac_cv_lib_dld_shl_load=no
8277 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8278 LIBS=$ac_check_lib_save_LIBS
8280 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8281 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8282 if test $ac_cv_lib_dld_shl_load = yes; then
8283 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8285 echo "$as_me:$LINENO: checking for dlopen" >&5
8286 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8287 if test "${ac_cv_func_dlopen+set}" = set; then
8288 echo $ECHO_N "(cached) $ECHO_C" >&6
8290 cat >conftest.$ac_ext <<_ACEOF
8291 #line $LINENO "configure"
8294 cat confdefs.h >>conftest.$ac_ext
8295 cat >>conftest.$ac_ext <<_ACEOF
8296 /* end confdefs.h. */
8297 /* System header to define __stub macros and hopefully few prototypes,
8298 which can conflict with char dlopen (); below.
8299 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8300 <limits.h> exists even on freestanding compilers. */
8302 # include <limits.h>
8304 # include <assert.h>
8306 /* Override any gcc2 internal prototype to avoid an error. */
8311 /* We use char because int might match the return type of a gcc2
8312 builtin and then its argument prototype would still apply. */
8314 /* The GNU C library defines this for functions which it implements
8315 to always fail with ENOSYS. Some functions are actually named
8316 something starting with __ and the normal name is an alias. */
8317 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8320 char (*f) () = dlopen;
8334 rm -f conftest.$ac_objext conftest$ac_exeext
8335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8336 (eval $ac_link) 2>&5
8338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8339 (exit $ac_status); } &&
8340 { ac_try='test -s conftest$ac_exeext'
8341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8345 (exit $ac_status); }; }; then
8346 ac_cv_func_dlopen=yes
8348 echo "$as_me: failed program was:" >&5
8349 sed 's/^/| /' conftest.$ac_ext >&5
8351 ac_cv_func_dlopen=no
8353 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8355 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8356 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8357 if test $ac_cv_func_dlopen = yes; then
8358 lt_cv_dlopen="dlopen"
8360 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8361 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8362 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8363 echo $ECHO_N "(cached) $ECHO_C" >&6
8365 ac_check_lib_save_LIBS=$LIBS
8367 cat >conftest.$ac_ext <<_ACEOF
8368 #line $LINENO "configure"
8371 cat confdefs.h >>conftest.$ac_ext
8372 cat >>conftest.$ac_ext <<_ACEOF
8373 /* end confdefs.h. */
8375 /* Override any gcc2 internal prototype to avoid an error. */
8379 /* We use char because int might match the return type of a gcc2
8380 builtin and then its argument prototype would still apply. */
8390 rm -f conftest.$ac_objext conftest$ac_exeext
8391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8392 (eval $ac_link) 2>&5
8394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8395 (exit $ac_status); } &&
8396 { ac_try='test -s conftest$ac_exeext'
8397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8401 (exit $ac_status); }; }; then
8402 ac_cv_lib_dl_dlopen=yes
8404 echo "$as_me: failed program was:" >&5
8405 sed 's/^/| /' conftest.$ac_ext >&5
8407 ac_cv_lib_dl_dlopen=no
8409 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8410 LIBS=$ac_check_lib_save_LIBS
8412 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8413 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8414 if test $ac_cv_lib_dl_dlopen = yes; then
8415 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8417 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8418 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8419 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8420 echo $ECHO_N "(cached) $ECHO_C" >&6
8422 ac_check_lib_save_LIBS=$LIBS
8424 cat >conftest.$ac_ext <<_ACEOF
8425 #line $LINENO "configure"
8428 cat confdefs.h >>conftest.$ac_ext
8429 cat >>conftest.$ac_ext <<_ACEOF
8430 /* end confdefs.h. */
8432 /* Override any gcc2 internal prototype to avoid an error. */
8436 /* We use char because int might match the return type of a gcc2
8437 builtin and then its argument prototype would still apply. */
8447 rm -f conftest.$ac_objext conftest$ac_exeext
8448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8449 (eval $ac_link) 2>&5
8451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8452 (exit $ac_status); } &&
8453 { ac_try='test -s conftest$ac_exeext'
8454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8458 (exit $ac_status); }; }; then
8459 ac_cv_lib_svld_dlopen=yes
8461 echo "$as_me: failed program was:" >&5
8462 sed 's/^/| /' conftest.$ac_ext >&5
8464 ac_cv_lib_svld_dlopen=no
8466 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8467 LIBS=$ac_check_lib_save_LIBS
8469 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8470 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8471 if test $ac_cv_lib_svld_dlopen = yes; then
8472 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8474 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8475 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8476 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8477 echo $ECHO_N "(cached) $ECHO_C" >&6
8479 ac_check_lib_save_LIBS=$LIBS
8481 cat >conftest.$ac_ext <<_ACEOF
8482 #line $LINENO "configure"
8485 cat confdefs.h >>conftest.$ac_ext
8486 cat >>conftest.$ac_ext <<_ACEOF
8487 /* end confdefs.h. */
8489 /* Override any gcc2 internal prototype to avoid an error. */
8493 /* We use char because int might match the return type of a gcc2
8494 builtin and then its argument prototype would still apply. */
8504 rm -f conftest.$ac_objext conftest$ac_exeext
8505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8506 (eval $ac_link) 2>&5
8508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8509 (exit $ac_status); } &&
8510 { ac_try='test -s conftest$ac_exeext'
8511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8515 (exit $ac_status); }; }; then
8516 ac_cv_lib_dld_dld_link=yes
8518 echo "$as_me: failed program was:" >&5
8519 sed 's/^/| /' conftest.$ac_ext >&5
8521 ac_cv_lib_dld_dld_link=no
8523 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8524 LIBS=$ac_check_lib_save_LIBS
8526 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8527 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8528 if test $ac_cv_lib_dld_dld_link = yes; then
8529 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8550 if test "x$lt_cv_dlopen" != xno; then
8556 case $lt_cv_dlopen in
8558 save_CPPFLAGS="$CPPFLAGS"
8559 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8561 save_LDFLAGS="$LDFLAGS"
8562 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8565 LIBS="$lt_cv_dlopen_libs $LIBS"
8567 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8568 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8569 if test "${lt_cv_dlopen_self+set}" = set; then
8570 echo $ECHO_N "(cached) $ECHO_C" >&6
8572 if test "$cross_compiling" = yes; then :
8573 lt_cv_dlopen_self=cross
8575 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8576 lt_status=$lt_dlunknown
8577 cat > conftest.$ac_ext <<EOF
8578 #line 8578 "configure"
8579 #include "confdefs.h"
8588 # define LT_DLGLOBAL RTLD_GLOBAL
8591 # define LT_DLGLOBAL DL_GLOBAL
8593 # define LT_DLGLOBAL 0
8597 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8598 find out it does not work in some platform. */
8599 #ifndef LT_DLLAZY_OR_NOW
8601 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8604 # define LT_DLLAZY_OR_NOW DL_LAZY
8607 # define LT_DLLAZY_OR_NOW RTLD_NOW
8610 # define LT_DLLAZY_OR_NOW DL_NOW
8612 # define LT_DLLAZY_OR_NOW 0
8620 extern "C" void exit (int);
8623 void fnord() { int i=42;}
8626 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8627 int status = $lt_dlunknown;
8631 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8632 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8633 /* dlclose (self); */
8639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8640 (eval $ac_link) 2>&5
8642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8643 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8644 (./conftest; exit; ) 2>/dev/null
8647 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8648 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8649 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
8652 # compilation failed
8653 lt_cv_dlopen_self=no
8660 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8661 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8663 if test "x$lt_cv_dlopen_self" = xyes; then
8664 LDFLAGS="$LDFLAGS $link_static_flag"
8665 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8666 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8667 if test "${lt_cv_dlopen_self_static+set}" = set; then
8668 echo $ECHO_N "(cached) $ECHO_C" >&6
8670 if test "$cross_compiling" = yes; then :
8671 lt_cv_dlopen_self_static=cross
8673 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8674 lt_status=$lt_dlunknown
8675 cat > conftest.$ac_ext <<EOF
8676 #line 8676 "configure"
8677 #include "confdefs.h"
8686 # define LT_DLGLOBAL RTLD_GLOBAL
8689 # define LT_DLGLOBAL DL_GLOBAL
8691 # define LT_DLGLOBAL 0
8695 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8696 find out it does not work in some platform. */
8697 #ifndef LT_DLLAZY_OR_NOW
8699 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8702 # define LT_DLLAZY_OR_NOW DL_LAZY
8705 # define LT_DLLAZY_OR_NOW RTLD_NOW
8708 # define LT_DLLAZY_OR_NOW DL_NOW
8710 # define LT_DLLAZY_OR_NOW 0
8718 extern "C" void exit (int);
8721 void fnord() { int i=42;}
8724 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8725 int status = $lt_dlunknown;
8729 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8730 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8731 /* dlclose (self); */
8737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8738 (eval $ac_link) 2>&5
8740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8741 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8742 (./conftest; exit; ) 2>/dev/null
8745 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8746 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8747 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
8750 # compilation failed
8751 lt_cv_dlopen_self_static=no
8758 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8759 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8762 CPPFLAGS="$save_CPPFLAGS"
8763 LDFLAGS="$save_LDFLAGS"
8768 case $lt_cv_dlopen_self in
8769 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
8770 *) enable_dlopen_self=unknown ;;
8773 case $lt_cv_dlopen_self_static in
8774 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
8775 *) enable_dlopen_self_static=unknown ;;
8780 # Report which librarie types wil actually be built
8781 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8782 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8783 echo "$as_me:$LINENO: result: $can_build_shared" >&5
8784 echo "${ECHO_T}$can_build_shared" >&6
8786 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8787 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8788 test "$can_build_shared" = "no" && enable_shared=no
8790 # On AIX, shared libraries and static libraries use the same namespace, and
8791 # are all built from PIC.
8794 test "$enable_shared" = yes && enable_static=no
8795 if test -n "$RANLIB"; then
8796 archive_cmds="$archive_cmds~\$RANLIB \$lib"
8797 postinstall_cmds='$RANLIB $lib'
8802 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8803 test "$enable_shared" = yes && enable_static=no
8806 darwin* | rhapsody*)
8807 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8808 archive_cmds_need_lc=no
8810 rhapsody* | darwin1.[012])
8811 allow_undefined_flag='-undefined suppress'
8814 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
8817 # FIXME: Relying on posixy $() will cause problems for
8818 # cross-compilation, but unfortunately the echo tests do not
8819 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
8820 # `"' quotes if we put them in here... so don't!
8821 output_verbose_link_cmd='echo'
8822 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8823 module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
8824 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8825 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}'
8826 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}'
8828 hardcode_automatic=yes
8829 hardcode_shlibpath_var=unsupported
8830 whole_archive_flag_spec='-all_load $convenience'
8831 link_all_deplibs=yes
8835 echo "$as_me:$LINENO: result: $enable_shared" >&5
8836 echo "${ECHO_T}$enable_shared" >&6
8838 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8839 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
8840 # Make sure either enable_shared or enable_static is yes.
8841 test "$enable_shared" = yes || enable_static=yes
8842 echo "$as_me:$LINENO: result: $enable_static" >&5
8843 echo "${ECHO_T}$enable_static" >&6
8845 # The else clause should only fire when bootstrapping the
8846 # libtool distribution, otherwise you forgot to ship ltmain.sh
8847 # with your package, and you will get complaints that there are
8848 # no rules to generate ltmain.sh.
8849 if test -f "$ltmain"; then
8850 # See if we are running on zsh, and set the options which allow our commands through
8851 # without removal of \ escapes.
8852 if test -n "${ZSH_VERSION+set}" ; then
8853 setopt NO_GLOB_SUBST
8855 # Now quote all the things that may contain metacharacters while being
8856 # careful not to overquote the AC_SUBSTed values. We take copies of the
8857 # variables and quote the copies for generation of the libtool script.
8858 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8859 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8860 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8861 deplibs_check_method reload_flag reload_cmds need_locks \
8862 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
8863 lt_cv_sys_global_symbol_to_c_name_address \
8864 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8865 old_postinstall_cmds old_postuninstall_cmds \
8869 lt_prog_compiler_wl \
8870 lt_prog_compiler_pic \
8871 lt_prog_compiler_static \
8872 lt_prog_compiler_no_builtin_flag \
8873 export_dynamic_flag_spec \
8874 thread_safe_flag_spec \
8875 whole_archive_flag_spec \
8876 enable_shared_with_static_runtimes \
8878 old_archive_from_new_cmds \
8883 compiler_lib_search_path \
8885 archive_expsym_cmds \
8887 postuninstall_cmds \
8888 old_archive_from_expsyms_cmds \
8889 allow_undefined_flag \
8891 export_symbols_cmds \
8892 hardcode_libdir_flag_spec \
8893 hardcode_libdir_flag_spec_ld \
8894 hardcode_libdir_separator \
8895 hardcode_automatic \
8897 module_expsym_cmds \
8898 lt_cv_prog_compiler_c_o \
8903 old_archive_cmds | \
8904 old_archive_from_new_cmds | \
8906 archive_expsym_cmds | \
8908 module_expsym_cmds | \
8909 old_archive_from_expsyms_cmds | \
8910 export_symbols_cmds | \
8911 extract_expsyms_cmds | reload_cmds | finish_cmds | \
8912 postinstall_cmds | postuninstall_cmds | \
8913 old_postinstall_cmds | old_postuninstall_cmds | \
8914 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
8915 # Double-quote double-evaled strings.
8916 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
8919 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
8925 *'\$0 --fallback-echo"')
8926 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
8931 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
8933 { echo "$as_me:$LINENO: creating $ofile" >&5
8934 echo "$as_me: creating $ofile" >&6;}
8936 cat <<__EOF__ >> "$cfgfile"
8939 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
8940 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
8941 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8943 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
8944 # Free Software Foundation, Inc.
8946 # This file is part of GNU Libtool:
8947 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8949 # This program is free software; you can redistribute it and/or modify
8950 # it under the terms of the GNU General Public License as published by
8951 # the Free Software Foundation; either version 2 of the License, or
8952 # (at your option) any later version.
8954 # This program is distributed in the hope that it will be useful, but
8955 # WITHOUT ANY WARRANTY; without even the implied warranty of
8956 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8957 # General Public License for more details.
8959 # You should have received a copy of the GNU General Public License
8960 # along with this program; if not, write to the Free Software
8961 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8963 # As a special exception to the GNU General Public License, if you
8964 # distribute this file as part of a program that contains a
8965 # configuration script generated by Autoconf, you may include it under
8966 # the same distribution terms that you use for the rest of that program.
8968 # A sed program that does not truncate output.
8971 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
8972 Xsed="$SED -e s/^X//"
8974 # The HP-UX ksh and POSIX shell print the target directory to stdout
8976 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
8978 # The names of the tagged configurations supported by this script.
8981 # ### BEGIN LIBTOOL CONFIG
8983 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
8985 # Shell to use when invoking shell scripts.
8988 # Whether or not to build shared libraries.
8989 build_libtool_libs=$enable_shared
8991 # Whether or not to build static libraries.
8992 build_old_libs=$enable_static
8994 # Whether or not to add -lc for building shared libraries.
8995 build_libtool_need_lc=$archive_cmds_need_lc
8997 # Whether or not to disallow shared libs when runtime libs are static
8998 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9000 # Whether or not to optimize for fast installation.
9001 fast_install=$enable_fast_install
9004 host_alias=$host_alias
9007 # An echo program that does not interpret backslashes.
9012 AR_FLAGS=$lt_AR_FLAGS
9017 # A language-specific compiler.
9020 # Is the compiler the GNU C compiler?
9026 # The linker used to build libraries.
9029 # Whether we need hard or soft links.
9032 # A BSD-compatible nm program.
9035 # A symbol stripping program
9038 # Used to examine libraries when file_magic_cmd begins "file"
9039 MAGIC_CMD=$MAGIC_CMD
9041 # Used on cygwin: DLL creation program.
9044 # Used on cygwin: object dumper.
9047 # Used on cygwin: assembler.
9050 # The name of the directory that contains temporary libtool files.
9053 # How to create reloadable object files.
9054 reload_flag=$lt_reload_flag
9055 reload_cmds=$lt_reload_cmds
9057 # How to pass a linker flag through the compiler.
9058 wl=$lt_lt_prog_compiler_wl
9060 # Object file suffix (normally "o").
9063 # Old archive suffix (normally "a").
9066 # Shared library suffix (normally ".so").
9069 # Executable file suffix (normally "").
9072 # Additional compiler flags for building library objects.
9073 pic_flag=$lt_lt_prog_compiler_pic
9076 # What is the maximum length of a command?
9077 max_cmd_len=$lt_cv_sys_max_cmd_len
9079 # Does compiler simultaneously support -c and -o options?
9080 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9082 # Must we lock files when doing compilation ?
9083 need_locks=$lt_need_locks
9085 # Do we need the lib prefix for modules?
9086 need_lib_prefix=$need_lib_prefix
9088 # Do we need a version for libraries?
9089 need_version=$need_version
9091 # Whether dlopen is supported.
9092 dlopen_support=$enable_dlopen
9094 # Whether dlopen of programs is supported.
9095 dlopen_self=$enable_dlopen_self
9097 # Whether dlopen of statically linked programs is supported.
9098 dlopen_self_static=$enable_dlopen_self_static
9100 # Compiler flag to prevent dynamic linking.
9101 link_static_flag=$lt_lt_prog_compiler_static
9103 # Compiler flag to turn off builtin functions.
9104 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9106 # Compiler flag to allow reflexive dlopens.
9107 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9109 # Compiler flag to generate shared objects directly from archives.
9110 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9112 # Compiler flag to generate thread-safe objects.
9113 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9115 # Library versioning type.
9116 version_type=$version_type
9118 # Format of library name prefix.
9119 libname_spec=$lt_libname_spec
9121 # List of archive names. First name is the real one, the rest are links.
9122 # The last name is the one that the linker finds with -lNAME.
9123 library_names_spec=$lt_library_names_spec
9125 # The coded name of the library, if different from the real name.
9126 soname_spec=$lt_soname_spec
9128 # Commands used to build and install an old-style archive.
9130 old_archive_cmds=$lt_old_archive_cmds
9131 old_postinstall_cmds=$lt_old_postinstall_cmds
9132 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9134 # Create an old-style archive from a shared archive.
9135 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9137 # Create a temporary old-style archive to link instead of a shared archive.
9138 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9140 # Commands used to build and install a shared archive.
9141 archive_cmds=$lt_archive_cmds
9142 archive_expsym_cmds=$lt_archive_expsym_cmds
9143 postinstall_cmds=$lt_postinstall_cmds
9144 postuninstall_cmds=$lt_postuninstall_cmds
9146 # Commands used to build a loadable module (assumed same as above if empty)
9147 module_cmds=$lt_module_cmds
9148 module_expsym_cmds=$lt_module_expsym_cmds
9150 # Commands to strip libraries.
9151 old_striplib=$lt_old_striplib
9152 striplib=$lt_striplib
9154 # Dependencies to place before the objects being linked to create a
9156 predep_objects=$lt_predep_objects
9158 # Dependencies to place after the objects being linked to create a
9160 postdep_objects=$lt_postdep_objects
9162 # Dependencies to place before the objects being linked to create a
9166 # Dependencies to place after the objects being linked to create a
9168 postdeps=$lt_postdeps
9170 # The library search path used internally by the compiler when linking
9172 compiler_lib_search_path=$lt_compiler_lib_search_path
9174 # Method to check whether dependent libraries are shared objects.
9175 deplibs_check_method=$lt_deplibs_check_method
9177 # Command to use when deplibs_check_method == file_magic.
9178 file_magic_cmd=$lt_file_magic_cmd
9180 # Flag that allows shared libraries with undefined symbols to be built.
9181 allow_undefined_flag=$lt_allow_undefined_flag
9183 # Flag that forces no undefined symbols.
9184 no_undefined_flag=$lt_no_undefined_flag
9186 # Commands used to finish a libtool library installation in a directory.
9187 finish_cmds=$lt_finish_cmds
9189 # Same as above, but a single script fragment to be evaled but not shown.
9190 finish_eval=$lt_finish_eval
9192 # Take the output of nm and produce a listing of raw symbols and C names.
9193 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9195 # Transform the output of nm in a proper C declaration
9196 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9198 # Transform the output of nm in a C name address pair
9199 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9201 # This is the shared library runtime path variable.
9202 runpath_var=$runpath_var
9204 # This is the shared library path variable.
9205 shlibpath_var=$shlibpath_var
9207 # Is shlibpath searched before the hard-coded library search path?
9208 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9210 # How to hardcode a shared library path into an executable.
9211 hardcode_action=$hardcode_action
9213 # Whether we should hardcode library paths into libraries.
9214 hardcode_into_libs=$hardcode_into_libs
9216 # Flag to hardcode \$libdir into a binary during linking.
9217 # This must work even if \$libdir does not exist.
9218 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9220 # If ld is used when linking, flag to hardcode \$libdir into
9221 # a binary during linking. This must work even if \$libdir does
9223 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9225 # Whether we need a single -rpath flag with a separated argument.
9226 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9228 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9230 hardcode_direct=$hardcode_direct
9232 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9234 hardcode_minus_L=$hardcode_minus_L
9236 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9237 # the resulting binary.
9238 hardcode_shlibpath_var=$hardcode_shlibpath_var
9240 # Set to yes if building a shared library automatically hardcodes DIR into the library
9241 # and all subsequent libraries and executables linked against it.
9242 hardcode_automatic=$hardcode_automatic
9244 # Variables whose values should be saved in libtool wrapper scripts and
9245 # restored at relink time.
9246 variables_saved_for_relink="$variables_saved_for_relink"
9248 # Whether libtool must link a program against all its dependency libraries.
9249 link_all_deplibs=$link_all_deplibs
9251 # Compile-time system search path for libraries
9252 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9254 # Run-time system search path for libraries
9255 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9257 # Fix the shell variable \$srcfile for the compiler.
9258 fix_srcfile_path="$fix_srcfile_path"
9260 # Set to yes if exported symbols are required.
9261 always_export_symbols=$always_export_symbols
9263 # The commands to list exported symbols.
9264 export_symbols_cmds=$lt_export_symbols_cmds
9266 # The commands to extract the exported symbol list from a shared archive.
9267 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9269 # Symbols that should not be listed in the preloaded symbols.
9270 exclude_expsyms=$lt_exclude_expsyms
9272 # Symbols that must always be exported.
9273 include_expsyms=$lt_include_expsyms
9275 # ### END LIBTOOL CONFIG
9282 cat <<\EOF >> "$cfgfile"
9284 # AIX sometimes has problems with the GCC collect2 program. For some
9285 # reason, if we set the COLLECT_NAMES environment variable, the problems
9286 # vanish in a puff of smoke.
9287 if test "X${COLLECT_NAMES+set}" != Xset; then
9289 export COLLECT_NAMES
9295 # We use sed instead of cat because bash on DJGPP gets confused if
9296 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9297 # text mode, it properly converts lines to CR/LF. This bash problem
9298 # is reportedly fixed, but why not run on old versions too?
9299 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9301 mv -f "$cfgfile" "$ofile" || \
9302 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9306 # If there is no Makefile yet, we rely on a make rule to execute
9307 # `config.status --recheck' to rerun these tests and create the
9308 # libtool script then.
9309 test -f Makefile && make "$ltmain"
9314 ac_cpp='$CPP $CPPFLAGS'
9315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9322 # Check whether --with-tags or --without-tags was given.
9323 if test "${with_tags+set}" = set; then
9324 withval="$with_tags"
9328 if test -f "$ltmain" && test -n "$tagnames"; then
9329 if test ! -f "${ofile}"; then
9330 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9331 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9334 if test -z "$LTCC"; then
9335 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9336 if test -z "$LTCC"; then
9337 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9338 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9340 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9341 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9345 # Extract list of available tagged configurations in $ofile.
9346 # Note that this assumes the entire list is on one line.
9347 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9349 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9350 for tagname in $tagnames; do
9352 # Check whether tagname contains only valid characters
9353 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9355 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9356 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9357 { (exit 1); exit 1; }; }
9361 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9363 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9364 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9365 { (exit 1); exit 1; }; }
9368 # Update the list of available tags.
9369 if test -n "$tagname"; then
9370 echo appending configuration tag \"$tagname\" to $ofile
9374 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9376 ac_cpp='$CXXCPP $CPPFLAGS'
9377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9384 archive_cmds_need_lc_CXX=no
9385 allow_undefined_flag_CXX=
9386 always_export_symbols_CXX=no
9387 archive_expsym_cmds_CXX=
9388 export_dynamic_flag_spec_CXX=
9389 hardcode_direct_CXX=no
9390 hardcode_libdir_flag_spec_CXX=
9391 hardcode_libdir_flag_spec_ld_CXX=
9392 hardcode_libdir_separator_CXX=
9393 hardcode_minus_L_CXX=no
9394 hardcode_automatic_CXX=no
9396 module_expsym_cmds_CXX=
9397 link_all_deplibs_CXX=unknown
9398 old_archive_cmds_CXX=$old_archive_cmds
9399 no_undefined_flag_CXX=
9400 whole_archive_flag_spec_CXX=
9401 enable_shared_with_static_runtimes_CXX=no
9403 # Dependencies to place before and after the object being linked:
9405 postdep_objects_CXX=
9408 compiler_lib_search_path_CXX=
9410 # Source file extension for C++ test sources.
9413 # Object file extension for compiled C++ test sources.
9417 # Code to be used in simple compile tests
9418 lt_simple_compile_test_code="int some_variable = 0;\n"
9420 # Code to be used in simple link tests
9421 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
9423 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9425 # If no C compiler was specified, use CC.
9428 # Allow CC to be a program name with arguments.
9432 # Allow CC to be a program name with arguments.
9437 lt_save_with_gnu_ld=$with_gnu_ld
9438 lt_save_path_LD=$lt_cv_path_LD
9439 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9440 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9442 unset lt_cv_prog_gnu_ld
9444 if test -n "${lt_cv_path_LDCXX+set}"; then
9445 lt_cv_path_LD=$lt_cv_path_LDCXX
9449 test -z "${LDCXX+set}" || LD=$LDCXX
9453 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9455 # We don't want -fno-exception wen compiling C++ code, so set the
9456 # no_builtin_flag separately
9457 if test "$GXX" = yes; then
9458 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9460 lt_prog_compiler_no_builtin_flag_CXX=
9463 if test "$GXX" = yes; then
9464 # Set up default GNU C++ configuration
9467 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9468 if test "${with_gnu_ld+set}" = set; then
9469 withval="$with_gnu_ld"
9470 test "$withval" = no || with_gnu_ld=yes
9475 if test "$GCC" = yes; then
9476 # Check if gcc -print-prog-name=ld gives a path.
9477 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9478 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9481 # gcc leaves a trailing carriage return which upsets mingw
9482 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9484 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9487 # Accept absolute paths.
9489 re_direlt='/[^/][^/]*/\.\./'
9490 # Canonicalize the path of ld
9491 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9492 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9493 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9495 test -z "$LD" && LD="$ac_prog"
9498 # If it fails, then pretend we aren't using GCC.
9502 # If it is relative, then search for the first ld in PATH.
9506 elif test "$with_gnu_ld" = yes; then
9507 echo "$as_me:$LINENO: checking for GNU ld" >&5
9508 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9510 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9511 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9513 if test "${lt_cv_path_LD+set}" = set; then
9514 echo $ECHO_N "(cached) $ECHO_C" >&6
9516 if test -z "$LD"; then
9517 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9518 for ac_dir in $PATH; do
9520 test -z "$ac_dir" && ac_dir=.
9521 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9522 lt_cv_path_LD="$ac_dir/$ac_prog"
9523 # Check to see if the program is GNU ld. I'd rather use --version,
9524 # but apparently some GNU ld's only accept -v.
9525 # Break only if it was the GNU/non-GNU ld that we prefer.
9526 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9527 *GNU* | *'with BFD'*)
9528 test "$with_gnu_ld" != no && break
9531 test "$with_gnu_ld" != yes && break
9538 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9543 if test -n "$LD"; then
9544 echo "$as_me:$LINENO: result: $LD" >&5
9545 echo "${ECHO_T}$LD" >&6
9547 echo "$as_me:$LINENO: result: no" >&5
9548 echo "${ECHO_T}no" >&6
9550 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9551 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9552 { (exit 1); exit 1; }; }
9553 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9554 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9555 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9556 echo $ECHO_N "(cached) $ECHO_C" >&6
9558 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9559 case `"$LD" -v 2>&1 </dev/null` in
9560 *GNU* | *'with BFD'*)
9561 lt_cv_prog_gnu_ld=yes
9564 lt_cv_prog_gnu_ld=no
9568 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9569 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9570 with_gnu_ld=$lt_cv_prog_gnu_ld
9574 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9575 # archiving commands below assume that GNU ld is being used.
9576 if test "$with_gnu_ld" = yes; then
9577 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9578 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'
9580 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
9581 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9583 # If archive_cmds runs LD, not CC, wlarc should be empty
9584 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9585 # investigate it a little bit more. (MM)
9588 # ancient GNU ld didn't support --whole-archive et. al.
9589 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9590 grep 'no-whole-archive' > /dev/null; then
9591 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9593 whole_archive_flag_spec_CXX=
9599 # A generic and very simple default shared library creation
9600 # command for GNU C++ for the case where it uses the native
9601 # linker, instead of GNU ld. If possible, this setting should
9602 # overridden to take advantage of the native linker features on
9603 # the platform it is being used on.
9604 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9607 # Commands to make compiler produce verbose output that lists
9608 # what "hidden" libraries, object files and flags are used when
9609 # linking a shared library.
9610 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9618 # PORTME: fill in a description of your system's C++ link characteristics
9619 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9620 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9624 # FIXME: insert proper C++ library support
9628 if test "$host_cpu" = ia64; then
9629 # On IA64, the linker does run time linking by default, so we don't
9630 # have to do anything special.
9631 aix_use_runtimelinking=no
9632 exp_sym_flag='-Bexport'
9635 aix_use_runtimelinking=no
9637 # Test if we are trying to use run time linking or normal
9638 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9639 # need to do runtime linking.
9640 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9641 for ld_flag in $LDFLAGS; do
9644 aix_use_runtimelinking=yes
9651 exp_sym_flag='-bexport'
9652 no_entry_flag='-bnoentry'
9655 # When large executables or shared objects are built, AIX ld can
9656 # have problems creating the table of contents. If linking a library
9657 # or program results in "error TOC overflow" add -mminimal-toc to
9658 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9659 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9662 hardcode_direct_CXX=yes
9663 hardcode_libdir_separator_CXX=':'
9664 link_all_deplibs_CXX=yes
9666 if test "$GXX" = yes; then
9667 case $host_os in aix4.012|aix4.012.*)
9668 # We only want to do this on AIX 4.2 and lower, the check
9669 # below for broken collect2 doesn't work under 4.3+
9670 collect2name=`${CC} -print-prog-name=collect2`
9671 if test -f "$collect2name" && \
9672 strings "$collect2name" | grep resolve_lib_name >/dev/null
9674 # We have reworked collect2
9675 hardcode_direct_CXX=yes
9677 # We have old collect2
9678 hardcode_direct_CXX=unsupported
9679 # It fails to find uninstalled libraries when the uninstalled
9680 # path is not listed in the libpath. Setting hardcode_minus_L
9681 # to unsupported forces relinking
9682 hardcode_minus_L_CXX=yes
9683 hardcode_libdir_flag_spec_CXX='-L$libdir'
9684 hardcode_libdir_separator_CXX=
9687 shared_flag='-shared'
9690 if test "$host_cpu" = ia64; then
9691 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9692 # chokes on -Wl,-G. The following line is correct:
9695 if test "$aix_use_runtimelinking" = yes; then
9696 shared_flag='${wl}-G'
9698 shared_flag='${wl}-bM:SRE'
9703 # It seems that -bexpall does not export symbols beginning with
9704 # underscore (_), so it is better to generate a list of symbols to export.
9705 always_export_symbols_CXX=yes
9706 if test "$aix_use_runtimelinking" = yes; then
9707 # Warning - without using the other runtime loading flags (-brtl),
9708 # -berok will link without error, but may produce a broken library.
9709 allow_undefined_flag_CXX='-berok'
9710 # Determine the default libpath from the value encoded in an empty executable.
9711 cat >conftest.$ac_ext <<_ACEOF
9712 #line $LINENO "configure"
9715 cat confdefs.h >>conftest.$ac_ext
9716 cat >>conftest.$ac_ext <<_ACEOF
9717 /* end confdefs.h. */
9727 rm -f conftest.$ac_objext conftest$ac_exeext
9728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9729 (eval $ac_link) 2>&5
9731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9732 (exit $ac_status); } &&
9733 { ac_try='test -s conftest$ac_exeext'
9734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9738 (exit $ac_status); }; }; then
9740 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9742 # Check for a 64-bit object if we didn't find anything.
9743 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; }
9746 echo "$as_me: failed program was:" >&5
9747 sed 's/^/| /' conftest.$ac_ext >&5
9750 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9751 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9753 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9755 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"
9757 if test "$host_cpu" = ia64; then
9758 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
9759 allow_undefined_flag_CXX="-z nodefs"
9760 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"
9762 # Determine the default libpath from the value encoded in an empty executable.
9763 cat >conftest.$ac_ext <<_ACEOF
9764 #line $LINENO "configure"
9767 cat confdefs.h >>conftest.$ac_ext
9768 cat >>conftest.$ac_ext <<_ACEOF
9769 /* end confdefs.h. */
9779 rm -f conftest.$ac_objext conftest$ac_exeext
9780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9781 (eval $ac_link) 2>&5
9783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9784 (exit $ac_status); } &&
9785 { ac_try='test -s conftest$ac_exeext'
9786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9790 (exit $ac_status); }; }; then
9792 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9794 # Check for a 64-bit object if we didn't find anything.
9795 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; }
9798 echo "$as_me: failed program was:" >&5
9799 sed 's/^/| /' conftest.$ac_ext >&5
9802 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9803 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9805 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9806 # Warning - without using the other run time loading flags,
9807 # -berok will link without error, but may produce a broken library.
9808 no_undefined_flag_CXX=' ${wl}-bernotok'
9809 allow_undefined_flag_CXX=' ${wl}-berok'
9810 # -bexpall does not export symbols beginning with underscore (_)
9811 always_export_symbols_CXX=yes
9812 # Exported symbols can be pulled into shared objects from archives
9813 whole_archive_flag_spec_CXX=' '
9814 archive_cmds_need_lc_CXX=yes
9815 # This is similar to how AIX traditionally builds it's shared libraries.
9816 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'
9821 case $cc_basename in
9823 # FIXME: insert proper C++ library support
9829 cygwin* | mingw* | pw32*)
9830 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
9831 # as there is no search path for DLLs.
9832 hardcode_libdir_flag_spec_CXX='-L$libdir'
9833 allow_undefined_flag_CXX=unsupported
9834 always_export_symbols_CXX=no
9835 enable_shared_with_static_runtimes_CXX=yes
9837 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9838 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'
9839 # If the export-symbols file already is a .def file (1st line
9840 # is EXPORTS), use it as is; otherwise, prepend...
9841 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9842 cp $export_symbols $output_objdir/$soname.def;
9844 echo EXPORTS > $output_objdir/$soname.def;
9845 cat $export_symbols >> $output_objdir/$soname.def;
9847 $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'
9853 darwin* | rhapsody*)
9854 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9855 archive_cmds_need_lc_CXX=no
9857 rhapsody* | darwin1.[012])
9858 allow_undefined_flag_CXX='-undefined suppress'
9861 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9864 lt_int_apple_cc_single_mod=no
9865 output_verbose_link_cmd='echo'
9866 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9867 lt_int_apple_cc_single_mod=yes
9869 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9870 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9872 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'
9874 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9876 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9877 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9878 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}'
9880 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}'
9882 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}'
9883 hardcode_direct_CXX=no
9884 hardcode_automatic_CXX=yes
9885 hardcode_shlibpath_var_CXX=unsupported
9886 whole_archive_flag_spec_CXX='-all_load $convenience'
9887 link_all_deplibs_CXX=yes
9892 case $cc_basename in
9894 # FIXME: insert proper C++ library support
9898 # Green Hills C++ Compiler
9899 # FIXME: insert proper C++ library support
9903 # FIXME: insert proper C++ library support
9909 # C++ shared libraries reported to be fairly broken before switch to ELF
9913 archive_cmds_need_lc_CXX=no
9916 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
9923 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9924 hardcode_libdir_separator_CXX=:
9925 export_dynamic_flag_spec_CXX='${wl}-E'
9926 hardcode_direct_CXX=yes
9927 hardcode_minus_L_CXX=yes # Not in the search PATH,
9928 # but as the default
9929 # location of the library.
9931 case $cc_basename in
9933 # FIXME: insert proper C++ library support
9937 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'
9938 # Commands to make compiler produce verbose output that lists
9939 # what "hidden" libraries, object files and flags are used when
9940 # linking a shared library.
9942 # There doesn't appear to be a way to prevent this compiler from
9943 # explicitly linking system object files so we need to strip them
9944 # from the output so that they don't get included in the library
9946 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'
9949 if test "$GXX" = yes; then
9950 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'
9952 # FIXME: insert proper C++ library support
9959 if test $with_gnu_ld = no; then
9962 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9963 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
9964 hardcode_libdir_separator_CXX=:
9967 hardcode_libdir_flag_spec_CXX='-L$libdir'
9970 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9971 hardcode_libdir_separator_CXX=:
9972 export_dynamic_flag_spec_CXX='${wl}-E'
9978 hardcode_direct_CXX=no
9979 hardcode_shlibpath_var_CXX=no
9982 hardcode_direct_CXX=no
9983 hardcode_shlibpath_var_CXX=no
9984 hardcode_minus_L_CXX=yes # Not in the search PATH,
9985 # but as the default
9986 # location of the library.
9989 hardcode_direct_CXX=yes
9990 hardcode_minus_L_CXX=yes # Not in the search PATH,
9991 # but as the default
9992 # location of the library.
9996 case $cc_basename in
9998 # FIXME: insert proper C++ library support
10002 case "$host_cpu" in
10004 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10007 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10010 # Commands to make compiler produce verbose output that lists
10011 # what "hidden" libraries, object files and flags are used when
10012 # linking a shared library.
10014 # There doesn't appear to be a way to prevent this compiler from
10015 # explicitly linking system object files so we need to strip them
10016 # from the output so that they don't get included in the library
10018 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'
10021 if test "$GXX" = yes; then
10022 if test $with_gnu_ld = no; then
10023 case "$host_cpu" in
10025 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10028 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'
10033 # FIXME: insert proper C++ library support
10040 case $cc_basename in
10043 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'
10045 # Archives containing C++ object files must be created using
10046 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10047 # necessary to make sure instantiated templates are included
10049 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10052 if test "$GXX" = yes; then
10053 if test "$with_gnu_ld" = no; then
10054 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'
10056 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'
10059 link_all_deplibs_CXX=yes
10062 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10063 hardcode_libdir_separator_CXX=:
10066 case $cc_basename in
10068 # Kuck and Associates, Inc. (KAI) C++ Compiler
10070 # KCC will only create a shared library if the output file
10071 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10072 # to its proper name (with version) after linking.
10073 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'
10074 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'
10075 # Commands to make compiler produce verbose output that lists
10076 # what "hidden" libraries, object files and flags are used when
10077 # linking a shared library.
10079 # There doesn't appear to be a way to prevent this compiler from
10080 # explicitly linking system object files so we need to strip them
10081 # from the output so that they don't get included in the library
10083 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'
10085 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10086 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10088 # Archives containing C++ object files must be created using
10089 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10090 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10095 archive_cmds_need_lc_CXX=no
10096 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10097 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'
10098 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10099 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10100 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10104 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10105 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'
10107 runpath_var=LD_RUN_PATH
10108 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10109 hardcode_libdir_separator_CXX=:
10111 # Commands to make compiler produce verbose output that lists
10112 # what "hidden" libraries, object files and flags are used when
10113 # linking a shared library.
10115 # There doesn't appear to be a way to prevent this compiler from
10116 # explicitly linking system object files so we need to strip them
10117 # from the output so that they don't get included in the library
10119 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'
10124 # FIXME: insert proper C++ library support
10128 # FIXME: insert proper C++ library support
10132 case $cc_basename in
10134 # FIXME: insert proper C++ library support
10138 # FIXME: insert proper C++ library support
10144 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10145 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10147 hardcode_libdir_flag_spec_CXX='-R$libdir'
10148 hardcode_direct_CXX=yes
10149 hardcode_shlibpath_var_CXX=no
10151 # Workaround some broken pre-1.5 toolchains
10152 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10155 case $cc_basename in
10157 # Kuck and Associates, Inc. (KAI) C++ Compiler
10159 # KCC will only create a shared library if the output file
10160 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10161 # to its proper name (with version) after linking.
10162 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'
10164 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10165 hardcode_libdir_separator_CXX=:
10167 # Archives containing C++ object files must be created using
10168 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10169 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10173 # Rational C++ 2.4.1
10174 # FIXME: insert proper C++ library support
10178 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10179 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'
10181 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10182 hardcode_libdir_separator_CXX=:
10184 # Commands to make compiler produce verbose output that lists
10185 # what "hidden" libraries, object files and flags are used when
10186 # linking a shared library.
10188 # There doesn't appear to be a way to prevent this compiler from
10189 # explicitly linking system object files so we need to strip them
10190 # from the output so that they don't get included in the library
10192 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'
10195 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10196 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10197 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'
10199 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10200 hardcode_libdir_separator_CXX=:
10202 # Commands to make compiler produce verbose output that lists
10203 # what "hidden" libraries, object files and flags are used when
10204 # linking a shared library.
10205 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10208 # FIXME: insert proper C++ library support
10215 case $cc_basename in
10217 # Kuck and Associates, Inc. (KAI) C++ Compiler
10219 # KCC will only create a shared library if the output file
10220 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10221 # to its proper name (with version) after linking.
10222 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'
10224 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10225 hardcode_libdir_separator_CXX=:
10227 # Archives containing C++ object files must be created using
10228 # the KAI C++ compiler.
10229 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10232 # Rational C++ 2.4.1
10233 # FIXME: insert proper C++ library support
10237 allow_undefined_flag_CXX=' -expect_unresolved \*'
10238 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'
10239 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10240 echo "-hidden">> $lib.exp~
10241 $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~
10244 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10245 hardcode_libdir_separator_CXX=:
10247 # Commands to make compiler produce verbose output that lists
10248 # what "hidden" libraries, object files and flags are used when
10249 # linking a shared library.
10251 # There doesn't appear to be a way to prevent this compiler from
10252 # explicitly linking system object files so we need to strip them
10253 # from the output so that they don't get included in the library
10255 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'
10258 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10259 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10260 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'
10262 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10263 hardcode_libdir_separator_CXX=:
10265 # Commands to make compiler produce verbose output that lists
10266 # what "hidden" libraries, object files and flags are used when
10267 # linking a shared library.
10268 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10271 # FIXME: insert proper C++ library support
10278 # FIXME: insert proper C++ library support
10282 archive_cmds_need_lc_CXX=no
10283 case $cc_basename in
10285 # FIXME: insert proper C++ library support
10289 # FIXME: insert proper C++ library support
10295 case $cc_basename in
10298 # FIXME: insert proper C++ library support
10303 # FIXME: insert proper C++ library support
10307 # FIXME: insert proper C++ library support
10313 case $cc_basename in
10315 # Sun C++ 4.2, 5.x and Centerline C++
10316 no_undefined_flag_CXX=' -zdefs'
10317 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10318 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10319 $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'
10321 hardcode_libdir_flag_spec_CXX='-R$libdir'
10322 hardcode_shlibpath_var_CXX=no
10324 solaris2.0-5 | solaris2.0-5.*) ;;
10326 # The C++ compiler is used as linker so we must use $wl
10327 # flag to pass the commands to the underlying system
10329 # Supported since Solaris 2.6 (maybe 2.5.1?)
10330 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10333 link_all_deplibs_CXX=yes
10335 # Commands to make compiler produce verbose output that lists
10336 # what "hidden" libraries, object files and flags are used when
10337 # linking a shared library.
10339 # There doesn't appear to be a way to prevent this compiler from
10340 # explicitly linking system object files so we need to strip them
10341 # from the output so that they don't get included in the library
10343 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'
10345 # Archives containing C++ object files must be created using
10346 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10347 # necessary to make sure instantiated templates are included
10349 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10352 # Green Hills C++ Compiler
10353 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10355 # The C++ compiler must be used to create the archive.
10356 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10359 # GNU C++ compiler with Solaris linker
10360 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10361 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10362 if $CC --version | grep -v '^2\.7' > /dev/null; then
10363 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10364 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10365 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10367 # Commands to make compiler produce verbose output that lists
10368 # what "hidden" libraries, object files and flags are used when
10369 # linking a shared library.
10370 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10372 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10374 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10375 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10376 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10378 # Commands to make compiler produce verbose output that lists
10379 # what "hidden" libraries, object files and flags are used when
10380 # linking a shared library.
10381 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10384 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10389 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10390 archive_cmds_need_lc_CXX=no
10393 case $cc_basename in
10395 # NonStop-UX NCC 3.20
10396 # FIXME: insert proper C++ library support
10400 # FIXME: insert proper C++ library support
10406 # FIXME: insert proper C++ library support
10410 # FIXME: insert proper C++ library support
10414 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10415 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10416 test "$ld_shlibs_CXX" = no && can_build_shared=no
10422 ## There is no encapsulation within the following macros, do not change
10423 ## the running order or otherwise move them around unless you know exactly
10424 ## what you are doing...
10426 cat > conftest.$ac_ext <<EOF
10430 Foo (void) { a = 0; }
10436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10437 (eval $ac_compile) 2>&5
10439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10440 (exit $ac_status); }; then
10441 # Parse the compiler output and extract the necessary
10442 # objects, libraries and library flags.
10444 # Sentinel used to keep track of whether or not we are before
10445 # the conftest object file.
10446 pre_test_object_deps_done=no
10448 # The `*' in the case matches for architectures that use `case' in
10449 # $output_verbose_cmd can trigger glob expansion during the loop
10450 # eval without this substitution.
10451 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10453 for p in `eval $output_verbose_link_cmd`; do
10457 # Some compilers place space between "-{L,R}" and the path.
10458 # Remove the space.
10459 if test $p = "-L" \
10460 || test $p = "-R"; then
10467 if test "$pre_test_object_deps_done" = no; then
10470 # Internal compiler library paths should come after those
10471 # provided the user. The postdeps already come after the
10472 # user supplied libs so there is no need to process them.
10473 if test -z "$compiler_lib_search_path_CXX"; then
10474 compiler_lib_search_path_CXX="${prev}${p}"
10476 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10479 # The "-l" case would never come before the object being
10480 # linked, so don't bother handling this case.
10483 if test -z "$postdeps_CXX"; then
10484 postdeps_CXX="${prev}${p}"
10486 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10492 # This assumes that the test object file only shows up
10493 # once in the compiler output.
10494 if test "$p" = "conftest.$objext"; then
10495 pre_test_object_deps_done=yes
10499 if test "$pre_test_object_deps_done" = no; then
10500 if test -z "$predep_objects_CXX"; then
10501 predep_objects_CXX="$p"
10503 predep_objects_CXX="$predep_objects_CXX $p"
10506 if test -z "$postdep_objects_CXX"; then
10507 postdep_objects_CXX="$p"
10509 postdep_objects_CXX="$postdep_objects_CXX $p"
10514 *) ;; # Ignore the rest.
10522 echo "libtool.m4: error: problem compiling CXX test program"
10525 $rm -f confest.$objext
10527 case " $postdeps_CXX " in
10528 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
10531 lt_prog_compiler_wl_CXX=
10532 lt_prog_compiler_pic_CXX=
10533 lt_prog_compiler_static_CXX=
10535 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10536 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10538 # C++ specific cases for pic, static, wl, etc.
10539 if test "$GXX" = yes; then
10540 lt_prog_compiler_wl_CXX='-Wl,'
10541 lt_prog_compiler_static_CXX='-static'
10545 # All AIX code is PIC.
10546 if test "$host_cpu" = ia64; then
10547 # AIX 5 now supports IA64 processor
10548 lt_prog_compiler_static_CXX='-Bstatic'
10552 # FIXME: we need at least 68020 code to build shared libraries, but
10553 # adding the `-m68020' flag to GCC prevents building anything better,
10555 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10557 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10558 # PIC is the default for these OSes.
10560 mingw* | os2* | pw32*)
10561 # This hack is so that the source file can tell whether it is being
10562 # built for inclusion in a dll (and should export symbols for example).
10563 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10565 darwin* | rhapsody*)
10566 # PIC is the default on this platform
10567 # Common symbols not allowed in MH_DYLIB files
10568 lt_prog_compiler_pic_CXX='-fno-common'
10571 # DJGPP does not support shared libraries at all
10572 lt_prog_compiler_pic_CXX=
10575 if test -d /usr/nec; then
10576 lt_prog_compiler_pic_CXX=-Kconform_pic
10580 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10581 # not for PA HP-UX.
10582 case "$host_cpu" in
10586 lt_prog_compiler_pic_CXX='-fPIC'
10591 lt_prog_compiler_pic_CXX='-fPIC'
10597 # All AIX code is PIC.
10598 if test "$host_cpu" = ia64; then
10599 # AIX 5 now supports IA64 processor
10600 lt_prog_compiler_static_CXX='-Bstatic'
10602 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
10606 case $cc_basename in
10608 # Green Hills C++ Compiler
10609 # _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"
10614 case $cc_basename in
10616 lt_prog_compiler_pic_CXX='-KPIC'
10619 # Green Hills C++ Compiler
10620 lt_prog_compiler_pic_CXX='-pic'
10627 # FreeBSD uses GNU C++
10629 hpux9* | hpux10* | hpux11*)
10630 case $cc_basename in
10632 lt_prog_compiler_wl_CXX='-Wl,'
10633 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10634 if test "$host_cpu" != ia64; then
10635 lt_prog_compiler_pic_CXX='+Z'
10639 lt_prog_compiler_wl_CXX='-Wl,'
10640 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10641 case "$host_cpu" in
10646 lt_prog_compiler_pic_CXX='+Z'
10654 irix5* | irix6* | nonstopux*)
10655 case $cc_basename in
10657 lt_prog_compiler_wl_CXX='-Wl,'
10658 lt_prog_compiler_static_CXX='-non_shared'
10659 # CC pic flag -KPIC is the default.
10666 case $cc_basename in
10669 lt_prog_compiler_wl_CXX='--backend -Wl,'
10670 lt_prog_compiler_pic_CXX='-fPIC'
10674 lt_prog_compiler_wl_CXX='-Wl,'
10675 lt_prog_compiler_pic_CXX='-KPIC'
10676 lt_prog_compiler_static_CXX='-static'
10680 # Make sure the PIC flag is empty. It appears that all Alpha
10681 # Linux and Compaq Tru64 Unix objects are PIC.
10682 lt_prog_compiler_pic_CXX=
10683 lt_prog_compiler_static_CXX='-non_shared'
10694 case $cc_basename in
10696 lt_prog_compiler_pic_CXX='-W c,exportall'
10704 osf3* | osf4* | osf5*)
10705 case $cc_basename in
10707 lt_prog_compiler_wl_CXX='--backend -Wl,'
10710 # Rational C++ 2.4.1
10711 lt_prog_compiler_pic_CXX='-pic'
10714 # Digital/Compaq C++
10715 lt_prog_compiler_wl_CXX='-Wl,'
10716 # Make sure the PIC flag is empty. It appears that all Alpha
10717 # Linux and Compaq Tru64 Unix objects are PIC.
10718 lt_prog_compiler_pic_CXX=
10719 lt_prog_compiler_static_CXX='-non_shared'
10728 case $cc_basename in
10730 lt_prog_compiler_pic_CXX='-fPIC'
10737 case $cc_basename in
10739 # Sun C++ 4.2, 5.x and Centerline C++
10740 lt_prog_compiler_pic_CXX='-KPIC'
10741 lt_prog_compiler_static_CXX='-Bstatic'
10742 lt_prog_compiler_wl_CXX='-Qoption ld '
10745 # Green Hills C++ Compiler
10746 lt_prog_compiler_pic_CXX='-PIC'
10753 case $cc_basename in
10756 lt_prog_compiler_pic_CXX='-pic'
10757 lt_prog_compiler_static_CXX='-Bstatic'
10761 lt_prog_compiler_pic_CXX='-pic'
10768 case $cc_basename in
10770 # NonStop-UX NCC 3.20
10771 lt_prog_compiler_pic_CXX='-KPIC'
10782 lt_prog_compiler_can_build_shared_CXX=no
10787 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10788 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
10791 # Check to make sure the PIC flag actually works.
10793 if test -n "$lt_prog_compiler_pic_CXX"; then
10794 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10795 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
10796 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10797 echo $ECHO_N "(cached) $ECHO_C" >&6
10799 lt_prog_compiler_pic_works_CXX=no
10800 ac_outfile=conftest.$ac_objext
10801 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10802 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
10803 # Insert the option either (1) after the last *FLAGS variable, or
10804 # (2) before a word containing "conftest.", or (3) at the end.
10805 # Note that $ac_compile itself does not contain backslashes and begins
10806 # with a dollar sign (not a hyphen), so the echo should work correctly.
10807 # The option is referenced via a variable to avoid confusing sed.
10808 lt_compile=`echo "$ac_compile" | $SED \
10809 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10810 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10811 -e 's:$: $lt_compiler_flag:'`
10812 (eval echo "\"\$as_me:10812: $lt_compile\"" >&5)
10813 (eval "$lt_compile" 2>conftest.err)
10815 cat conftest.err >&5
10816 echo "$as_me:10816: \$? = $ac_status" >&5
10817 if (exit $ac_status) && test -s "$ac_outfile"; then
10818 # The compiler can only warn and ignore the option if not recognized
10819 # So say no if there are warnings
10820 if test ! -s conftest.err; then
10821 lt_prog_compiler_pic_works_CXX=yes
10827 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10828 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
10830 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
10831 case $lt_prog_compiler_pic_CXX in
10833 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
10836 lt_prog_compiler_pic_CXX=
10837 lt_prog_compiler_can_build_shared_CXX=no
10842 # For platforms which do not support PIC, -DPIC is meaningless:
10844 lt_prog_compiler_pic_CXX=
10847 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
10851 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10852 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10853 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
10854 echo $ECHO_N "(cached) $ECHO_C" >&6
10856 lt_cv_prog_compiler_c_o_CXX=no
10857 $rm -r conftest 2>/dev/null
10861 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10863 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10864 # that will create temporary files in the current directory regardless of
10865 # the output directory. Thus, making CWD read-only will cause this test
10866 # to fail, enabling locking or at least warning the user not to do parallel
10870 lt_compiler_flag="-o out/conftest2.$ac_objext"
10871 # Insert the option either (1) after the last *FLAGS variable, or
10872 # (2) before a word containing "conftest.", or (3) at the end.
10873 # Note that $ac_compile itself does not contain backslashes and begins
10874 # with a dollar sign (not a hyphen), so the echo should work correctly.
10875 lt_compile=`echo "$ac_compile" | $SED \
10876 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10877 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10878 -e 's:$: $lt_compiler_flag:'`
10879 (eval echo "\"\$as_me:10879: $lt_compile\"" >&5)
10880 (eval "$lt_compile" 2>out/conftest.err)
10882 cat out/conftest.err >&5
10883 echo "$as_me:10883: \$? = $ac_status" >&5
10884 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10886 # The compiler can only warn and ignore the option if not recognized
10887 # So say no if there are warnings
10888 if test ! -s out/conftest.err; then
10889 lt_cv_prog_compiler_c_o_CXX=yes
10893 $rm conftest* out/*
10900 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10901 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
10904 hard_links="nottested"
10905 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
10906 # do not overwrite the value of need_locks provided by the user
10907 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10908 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10911 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10913 ln conftest.a conftest.b 2>&5 || hard_links=no
10914 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10915 echo "$as_me:$LINENO: result: $hard_links" >&5
10916 echo "${ECHO_T}$hard_links" >&6
10917 if test "$hard_links" = no; then
10918 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10919 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10926 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10927 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10929 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10932 # If we're using GNU nm, then we don't want the "-C" option.
10933 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10934 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10935 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'
10937 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'
10941 export_symbols_cmds_CXX="$ltdll_cmds"
10944 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10947 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10951 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10952 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10953 test "$ld_shlibs_CXX" = no && can_build_shared=no
10955 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10956 if test "$GCC" = yes; then
10957 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10961 # Do we need to explicitly link libc?
10963 case "x$archive_cmds_need_lc_CXX" in
10965 # Assume -lc should be added
10966 archive_cmds_need_lc_CXX=yes
10968 if test "$enable_shared" = yes && test "$GCC" = yes; then
10969 case $archive_cmds_CXX in
10971 # FIXME: we may have to deal with multi-command sequences.
10974 # Test whether the compiler implicitly links with -lc since on some
10975 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10976 # to ld, don't add -lc before -lgcc.
10977 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10978 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10980 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10983 (eval $ac_compile) 2>&5
10985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10986 (exit $ac_status); } 2>conftest.err; then
10989 libobjs=conftest.$ac_objext
10991 wl=$lt_prog_compiler_wl_CXX
10997 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
10998 allow_undefined_flag_CXX=
10999 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11000 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
11002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11003 (exit $ac_status); }
11005 archive_cmds_need_lc_CXX=no
11007 archive_cmds_need_lc_CXX=yes
11009 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
11011 cat conftest.err 1>&5
11014 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11015 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11022 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11023 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11024 hardcode_action_CXX=
11025 if test -n "$hardcode_libdir_flag_spec_CXX" || \
11026 test -n "$runpath_var CXX" || \
11027 test "X$hardcode_automatic_CXX"="Xyes" ; then
11029 # We can hardcode non-existant directories.
11030 if test "$hardcode_direct_CXX" != no &&
11031 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11032 # have to relink, otherwise we might link with an installed library
11033 # when we should be linking with a yet-to-be-installed one
11034 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
11035 test "$hardcode_minus_L_CXX" != no; then
11036 # Linking always hardcodes the temporary library directory.
11037 hardcode_action_CXX=relink
11039 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11040 hardcode_action_CXX=immediate
11043 # We cannot hardcode anything, or else we can only hardcode existing
11045 hardcode_action_CXX=unsupported
11047 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11048 echo "${ECHO_T}$hardcode_action_CXX" >&6
11050 if test "$hardcode_action_CXX" = relink; then
11051 # Fast installation is not supported
11052 enable_fast_install=no
11053 elif test "$shlibpath_overrides_runpath" = yes ||
11054 test "$enable_shared" = no; then
11055 # Fast installation is not necessary
11056 enable_fast_install=needless
11061 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11062 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11063 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11064 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11065 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11066 echo "$as_me:$LINENO: result: yes" >&5
11067 echo "${ECHO_T}yes" >&6
11069 # FIXME - insert some real tests, host_os isn't really good enough
11072 if test -n "$STRIP" ; then
11073 striplib="$STRIP -x"
11074 echo "$as_me:$LINENO: result: yes" >&5
11075 echo "${ECHO_T}yes" >&6
11077 echo "$as_me:$LINENO: result: no" >&5
11078 echo "${ECHO_T}no" >&6
11082 echo "$as_me:$LINENO: result: no" >&5
11083 echo "${ECHO_T}no" >&6
11088 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11089 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11090 library_names_spec=
11091 libname_spec='lib$name'
11095 postuninstall_cmds=
11099 shlibpath_overrides_runpath=unknown
11101 dynamic_linker="$host_os ld.so"
11102 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11103 if test "$GCC" = yes; then
11104 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11105 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11106 # if the path contains ";" then we assume it to be the separator
11107 # otherwise default to the standard path separator (i.e. ":") - it is
11108 # assumed that no part of a normal pathname contains ";" but that should
11109 # okay in the real world where ";" in dirpaths is itself problematic.
11110 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11112 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11115 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11117 need_lib_prefix=unknown
11118 hardcode_into_libs=no
11120 # when you set need_version to no, make sure it does not cause -set_version
11121 # flags to be left without arguments
11122 need_version=unknown
11127 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11128 shlibpath_var=LIBPATH
11130 # AIX 3 has no versioning support, so we append a major version to the name.
11131 soname_spec='${libname}${release}${shared_ext}$major'
11138 hardcode_into_libs=yes
11139 if test "$host_cpu" = ia64; then
11140 # AIX 5 supports IA64
11141 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11142 shlibpath_var=LD_LIBRARY_PATH
11144 # With GCC up to 2.95.x, collect2 would create an import file
11145 # for dependence libraries. The import file would start with
11146 # the line `#! .'. This would cause the generated library to
11147 # depend on `.', always an invalid library. This was fixed in
11148 # development snapshots of GCC prior to 3.0.
11150 aix4 | aix4.[01] | aix4.[01].*)
11151 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11153 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11156 can_build_shared=no
11160 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11161 # soname into executable. Probably we can add versioning support to
11162 # collect2, so additional links can be useful in future.
11163 if test "$aix_use_runtimelinking" = yes; then
11164 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11165 # instead of lib<name>.a to let people know that these are not
11166 # typical AIX shared libraries.
11167 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11169 # We preserve .a as extension for shared libraries through AIX4.2
11170 # and later when we are not doing run time linking.
11171 library_names_spec='${libname}${release}.a $libname.a'
11172 soname_spec='${libname}${release}${shared_ext}$major'
11174 shlibpath_var=LIBPATH
11179 library_names_spec='$libname.ixlibrary $libname.a'
11180 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11181 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'
11185 library_names_spec='${libname}${shared_ext}'
11186 dynamic_linker="$host_os ld.so"
11187 shlibpath_var=LIBRARY_PATH
11193 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11194 soname_spec='${libname}${release}${shared_ext}$major'
11195 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11196 shlibpath_var=LD_LIBRARY_PATH
11197 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11198 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11199 # the default ld.so.conf also contains /usr/contrib/lib and
11200 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11201 # libtool to hard-code these into programs
11204 cygwin* | mingw* | pw32*)
11205 version_type=windows
11210 case $GCC,$host_os in
11211 yes,cygwin* | yes,mingw* | yes,pw32*)
11212 library_names_spec='$libname.dll.a'
11213 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11214 postinstall_cmds='base_file=`basename \${file}`~
11215 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11216 dldir=$destdir/`dirname \$dlpath`~
11217 test -d \$dldir || mkdir -p \$dldir~
11218 $install_prog $dir/$dlname \$dldir/$dlname'
11219 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11220 dlpath=$dir/\$dldll~
11222 shlibpath_overrides_runpath=yes
11226 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11227 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11228 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
11231 # MinGW DLLs use traditional 'lib' prefix
11232 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11233 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11234 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11235 # It is most probably a Windows format PATH printed by
11236 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11237 # path with ; separators, and with drive letters. We can handle the
11238 # drive letters (cygwin fileutils understands them), so leave them,
11239 # especially as we might pass files found there to a mingw objdump,
11240 # which wouldn't understand a cygwinified path. Ahh.
11241 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11243 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11247 # pw32 DLLs use 'pw' prefix rather than 'lib'
11248 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11254 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11257 dynamic_linker='Win32 ld.exe'
11258 # FIXME: first we should search . and the directory the executable is in
11262 darwin* | rhapsody*)
11263 dynamic_linker="$host_os dyld"
11264 version_type=darwin
11267 # FIXME: Relying on posixy $() will cause problems for
11268 # cross-compilation, but unfortunately the echo tests do not
11269 # yet detect zsh echo's removal of \ escapes.
11270 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11271 soname_spec='${libname}${release}${major}$shared_ext'
11272 shlibpath_overrides_runpath=yes
11273 shlibpath_var=DYLD_LIBRARY_PATH
11274 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11275 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11276 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
11277 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"`
11279 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11286 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11287 soname_spec='${libname}${release}${shared_ext}$major'
11288 shlibpath_var=LD_LIBRARY_PATH
11296 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11297 version_type=freebsd-$objformat
11298 case $version_type in
11300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11305 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11309 shlibpath_var=LD_LIBRARY_PATH
11312 shlibpath_overrides_runpath=yes
11314 freebsd3.01* | freebsdelf3.01*)
11315 shlibpath_overrides_runpath=yes
11316 hardcode_into_libs=yes
11319 shlibpath_overrides_runpath=no
11320 hardcode_into_libs=yes
11329 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11330 soname_spec='${libname}${release}${shared_ext}$major'
11331 shlibpath_var=LD_LIBRARY_PATH
11332 hardcode_into_libs=yes
11335 hpux9* | hpux10* | hpux11*)
11336 # Give a soname corresponding to the major version so that dld.sl refuses to
11337 # link against other versions.
11341 case "$host_cpu" in
11344 hardcode_into_libs=yes
11345 dynamic_linker="$host_os dld.so"
11346 shlibpath_var=LD_LIBRARY_PATH
11347 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11349 soname_spec='${libname}${release}${shared_ext}$major'
11350 if test "X$HPUX_IA64_MODE" = X32; then
11351 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11353 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11355 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11359 hardcode_into_libs=yes
11360 dynamic_linker="$host_os dld.sl"
11361 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11362 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11364 soname_spec='${libname}${release}${shared_ext}$major'
11365 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11366 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11370 dynamic_linker="$host_os dld.sl"
11371 shlibpath_var=SHLIB_PATH
11372 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11373 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11374 soname_spec='${libname}${release}${shared_ext}$major'
11377 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11378 postinstall_cmds='chmod 555 $lib'
11381 irix5* | irix6* | nonstopux*)
11383 nonstopux*) version_type=nonstopux ;;
11385 if test "$lt_cv_prog_gnu_ld" = yes; then
11393 soname_spec='${libname}${release}${shared_ext}$major'
11394 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11396 irix5* | nonstopux*)
11397 libsuff= shlibsuff=
11400 case $LD in # libtool.m4 will add one of these switches to LD
11401 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11402 libsuff= shlibsuff= libmagic=32-bit;;
11403 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11404 libsuff=32 shlibsuff=N32 libmagic=N32;;
11405 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11406 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11407 *) libsuff= shlibsuff= libmagic=never-match;;
11411 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11412 shlibpath_overrides_runpath=no
11413 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11414 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11415 hardcode_into_libs=yes
11418 # No shared lib support for Linux oldld, aout, or coff.
11419 linux*oldld* | linux*aout* | linux*coff*)
11423 # This must be Linux ELF.
11428 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11429 soname_spec='${libname}${release}${shared_ext}$major'
11430 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11431 shlibpath_var=LD_LIBRARY_PATH
11432 shlibpath_overrides_runpath=no
11433 # This implies no fast_install, which is unacceptable.
11434 # Some rework will be needed to allow for fast_install
11435 # before this can be enabled.
11436 hardcode_into_libs=yes
11438 # We used to test for /lib/ld.so.1 and disable shared libraries on
11439 # powerpc, because MkLinux only supported shared libraries with the
11440 # GNU dynamic linker. Since this was broken with cross compilers,
11441 # most powerpc-linux boxes support dynamic linking these days and
11442 # people can always --disable-shared, the test was removed, and we
11443 # assume the GNU/Linux dynamic linker is in use.
11444 dynamic_linker='GNU/Linux ld.so'
11451 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11453 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11454 dynamic_linker='NetBSD (a.out) ld.so'
11456 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11457 soname_spec='${libname}${release}${shared_ext}$major'
11458 dynamic_linker='NetBSD ld.elf_so'
11460 shlibpath_var=LD_LIBRARY_PATH
11461 shlibpath_overrides_runpath=yes
11462 hardcode_into_libs=yes
11467 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11468 shlibpath_var=LD_LIBRARY_PATH
11469 shlibpath_overrides_runpath=yes
11476 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11477 soname_spec='${libname}${release}${shared_ext}$major'
11478 shlibpath_var=LD_LIBRARY_PATH
11479 shlibpath_overrides_runpath=yes
11486 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11487 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11488 shlibpath_var=LD_LIBRARY_PATH
11489 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11491 openbsd2.[89] | openbsd2.[89].*)
11492 shlibpath_overrides_runpath=no
11495 shlibpath_overrides_runpath=yes
11499 shlibpath_overrides_runpath=yes
11504 libname_spec='$name'
11507 library_names_spec='$libname${shared_ext} $libname.a'
11508 dynamic_linker='OS/2 ld.exe'
11509 shlibpath_var=LIBPATH
11512 osf3* | osf4* | osf5*)
11516 soname_spec='${libname}${release}${shared_ext}$major'
11517 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11518 shlibpath_var=LD_LIBRARY_PATH
11519 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11520 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11525 soname_spec='${libname}${release}${shared_ext}$major'
11526 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11527 shlibpath_var=LD_LIBRARY_PATH
11534 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11535 soname_spec='${libname}${release}${shared_ext}$major'
11536 shlibpath_var=LD_LIBRARY_PATH
11537 shlibpath_overrides_runpath=yes
11538 hardcode_into_libs=yes
11539 # ldd complains unless libraries are executable
11540 postinstall_cmds='chmod +x $lib'
11545 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11546 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11547 shlibpath_var=LD_LIBRARY_PATH
11548 shlibpath_overrides_runpath=yes
11549 if test "$with_gnu_ld" = yes; then
11555 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11557 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11558 soname_spec='${libname}${release}${shared_ext}$major'
11559 shlibpath_var=LD_LIBRARY_PATH
11560 case $host_vendor in
11562 shlibpath_overrides_runpath=no
11564 export_dynamic_flag_spec='${wl}-Blargedynsym'
11565 runpath_var=LD_RUN_PATH
11573 shlibpath_overrides_runpath=no
11574 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11580 if test -d /usr/nec ;then
11582 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11583 soname_spec='$libname${shared_ext}.$major'
11584 shlibpath_var=LD_LIBRARY_PATH
11590 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11591 soname_spec='${libname}${release}${shared_ext}$major'
11592 shlibpath_var=LD_LIBRARY_PATH
11599 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11600 echo "${ECHO_T}$dynamic_linker" >&6
11601 test "$dynamic_linker" = no && can_build_shared=no
11603 if test "x$enable_dlopen" != xyes; then
11604 enable_dlopen=unknown
11605 enable_dlopen_self=unknown
11606 enable_dlopen_self_static=unknown
11613 lt_cv_dlopen="load_add_on"
11615 lt_cv_dlopen_self=yes
11619 lt_cv_dlopen="LoadLibrary"
11624 lt_cv_dlopen="dlopen"
11629 # if libdl is installed we need to link against it
11630 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11631 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11632 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11633 echo $ECHO_N "(cached) $ECHO_C" >&6
11635 ac_check_lib_save_LIBS=$LIBS
11637 cat >conftest.$ac_ext <<_ACEOF
11638 #line $LINENO "configure"
11641 cat confdefs.h >>conftest.$ac_ext
11642 cat >>conftest.$ac_ext <<_ACEOF
11643 /* end confdefs.h. */
11645 /* Override any gcc2 internal prototype to avoid an error. */
11649 /* We use char because int might match the return type of a gcc2
11650 builtin and then its argument prototype would still apply. */
11660 rm -f conftest.$ac_objext conftest$ac_exeext
11661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11662 (eval $ac_link) 2>&5
11664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11665 (exit $ac_status); } &&
11666 { ac_try='test -s conftest$ac_exeext'
11667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11668 (eval $ac_try) 2>&5
11670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11671 (exit $ac_status); }; }; then
11672 ac_cv_lib_dl_dlopen=yes
11674 echo "$as_me: failed program was:" >&5
11675 sed 's/^/| /' conftest.$ac_ext >&5
11677 ac_cv_lib_dl_dlopen=no
11679 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11680 LIBS=$ac_check_lib_save_LIBS
11682 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11683 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11684 if test $ac_cv_lib_dl_dlopen = yes; then
11685 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11688 lt_cv_dlopen="dyld"
11690 lt_cv_dlopen_self=yes
11697 echo "$as_me:$LINENO: checking for shl_load" >&5
11698 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11699 if test "${ac_cv_func_shl_load+set}" = set; then
11700 echo $ECHO_N "(cached) $ECHO_C" >&6
11702 cat >conftest.$ac_ext <<_ACEOF
11703 #line $LINENO "configure"
11706 cat confdefs.h >>conftest.$ac_ext
11707 cat >>conftest.$ac_ext <<_ACEOF
11708 /* end confdefs.h. */
11709 /* System header to define __stub macros and hopefully few prototypes,
11710 which can conflict with char shl_load (); below.
11711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11712 <limits.h> exists even on freestanding compilers. */
11714 # include <limits.h>
11716 # include <assert.h>
11718 /* Override any gcc2 internal prototype to avoid an error. */
11723 /* We use char because int might match the return type of a gcc2
11724 builtin and then its argument prototype would still apply. */
11726 /* The GNU C library defines this for functions which it implements
11727 to always fail with ENOSYS. Some functions are actually named
11728 something starting with __ and the normal name is an alias. */
11729 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11732 char (*f) () = shl_load;
11741 return f != shl_load;
11746 rm -f conftest.$ac_objext conftest$ac_exeext
11747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11748 (eval $ac_link) 2>&5
11750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11751 (exit $ac_status); } &&
11752 { ac_try='test -s conftest$ac_exeext'
11753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11754 (eval $ac_try) 2>&5
11756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11757 (exit $ac_status); }; }; then
11758 ac_cv_func_shl_load=yes
11760 echo "$as_me: failed program was:" >&5
11761 sed 's/^/| /' conftest.$ac_ext >&5
11763 ac_cv_func_shl_load=no
11765 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11767 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11768 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11769 if test $ac_cv_func_shl_load = yes; then
11770 lt_cv_dlopen="shl_load"
11772 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11773 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11774 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11775 echo $ECHO_N "(cached) $ECHO_C" >&6
11777 ac_check_lib_save_LIBS=$LIBS
11779 cat >conftest.$ac_ext <<_ACEOF
11780 #line $LINENO "configure"
11783 cat confdefs.h >>conftest.$ac_ext
11784 cat >>conftest.$ac_ext <<_ACEOF
11785 /* end confdefs.h. */
11787 /* Override any gcc2 internal prototype to avoid an error. */
11791 /* We use char because int might match the return type of a gcc2
11792 builtin and then its argument prototype would still apply. */
11802 rm -f conftest.$ac_objext conftest$ac_exeext
11803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11804 (eval $ac_link) 2>&5
11806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11807 (exit $ac_status); } &&
11808 { ac_try='test -s conftest$ac_exeext'
11809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11810 (eval $ac_try) 2>&5
11812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11813 (exit $ac_status); }; }; then
11814 ac_cv_lib_dld_shl_load=yes
11816 echo "$as_me: failed program was:" >&5
11817 sed 's/^/| /' conftest.$ac_ext >&5
11819 ac_cv_lib_dld_shl_load=no
11821 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11822 LIBS=$ac_check_lib_save_LIBS
11824 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11825 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11826 if test $ac_cv_lib_dld_shl_load = yes; then
11827 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11829 echo "$as_me:$LINENO: checking for dlopen" >&5
11830 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11831 if test "${ac_cv_func_dlopen+set}" = set; then
11832 echo $ECHO_N "(cached) $ECHO_C" >&6
11834 cat >conftest.$ac_ext <<_ACEOF
11835 #line $LINENO "configure"
11838 cat confdefs.h >>conftest.$ac_ext
11839 cat >>conftest.$ac_ext <<_ACEOF
11840 /* end confdefs.h. */
11841 /* System header to define __stub macros and hopefully few prototypes,
11842 which can conflict with char dlopen (); below.
11843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11844 <limits.h> exists even on freestanding compilers. */
11846 # include <limits.h>
11848 # include <assert.h>
11850 /* Override any gcc2 internal prototype to avoid an error. */
11855 /* We use char because int might match the return type of a gcc2
11856 builtin and then its argument prototype would still apply. */
11858 /* The GNU C library defines this for functions which it implements
11859 to always fail with ENOSYS. Some functions are actually named
11860 something starting with __ and the normal name is an alias. */
11861 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11864 char (*f) () = dlopen;
11873 return f != dlopen;
11878 rm -f conftest.$ac_objext conftest$ac_exeext
11879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11880 (eval $ac_link) 2>&5
11882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11883 (exit $ac_status); } &&
11884 { ac_try='test -s conftest$ac_exeext'
11885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11886 (eval $ac_try) 2>&5
11888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11889 (exit $ac_status); }; }; then
11890 ac_cv_func_dlopen=yes
11892 echo "$as_me: failed program was:" >&5
11893 sed 's/^/| /' conftest.$ac_ext >&5
11895 ac_cv_func_dlopen=no
11897 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11899 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11900 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11901 if test $ac_cv_func_dlopen = yes; then
11902 lt_cv_dlopen="dlopen"
11904 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11905 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11906 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11907 echo $ECHO_N "(cached) $ECHO_C" >&6
11909 ac_check_lib_save_LIBS=$LIBS
11911 cat >conftest.$ac_ext <<_ACEOF
11912 #line $LINENO "configure"
11915 cat confdefs.h >>conftest.$ac_ext
11916 cat >>conftest.$ac_ext <<_ACEOF
11917 /* end confdefs.h. */
11919 /* Override any gcc2 internal prototype to avoid an error. */
11923 /* We use char because int might match the return type of a gcc2
11924 builtin and then its argument prototype would still apply. */
11934 rm -f conftest.$ac_objext conftest$ac_exeext
11935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11936 (eval $ac_link) 2>&5
11938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11939 (exit $ac_status); } &&
11940 { ac_try='test -s conftest$ac_exeext'
11941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11942 (eval $ac_try) 2>&5
11944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11945 (exit $ac_status); }; }; then
11946 ac_cv_lib_dl_dlopen=yes
11948 echo "$as_me: failed program was:" >&5
11949 sed 's/^/| /' conftest.$ac_ext >&5
11951 ac_cv_lib_dl_dlopen=no
11953 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11954 LIBS=$ac_check_lib_save_LIBS
11956 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11957 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11958 if test $ac_cv_lib_dl_dlopen = yes; then
11959 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11961 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11962 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11963 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11964 echo $ECHO_N "(cached) $ECHO_C" >&6
11966 ac_check_lib_save_LIBS=$LIBS
11967 LIBS="-lsvld $LIBS"
11968 cat >conftest.$ac_ext <<_ACEOF
11969 #line $LINENO "configure"
11972 cat confdefs.h >>conftest.$ac_ext
11973 cat >>conftest.$ac_ext <<_ACEOF
11974 /* end confdefs.h. */
11976 /* Override any gcc2 internal prototype to avoid an error. */
11980 /* We use char because int might match the return type of a gcc2
11981 builtin and then its argument prototype would still apply. */
11991 rm -f conftest.$ac_objext conftest$ac_exeext
11992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11993 (eval $ac_link) 2>&5
11995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11996 (exit $ac_status); } &&
11997 { ac_try='test -s conftest$ac_exeext'
11998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11999 (eval $ac_try) 2>&5
12001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12002 (exit $ac_status); }; }; then
12003 ac_cv_lib_svld_dlopen=yes
12005 echo "$as_me: failed program was:" >&5
12006 sed 's/^/| /' conftest.$ac_ext >&5
12008 ac_cv_lib_svld_dlopen=no
12010 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12011 LIBS=$ac_check_lib_save_LIBS
12013 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12014 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12015 if test $ac_cv_lib_svld_dlopen = yes; then
12016 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12018 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12019 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12020 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12021 echo $ECHO_N "(cached) $ECHO_C" >&6
12023 ac_check_lib_save_LIBS=$LIBS
12025 cat >conftest.$ac_ext <<_ACEOF
12026 #line $LINENO "configure"
12029 cat confdefs.h >>conftest.$ac_ext
12030 cat >>conftest.$ac_ext <<_ACEOF
12031 /* end confdefs.h. */
12033 /* Override any gcc2 internal prototype to avoid an error. */
12037 /* We use char because int might match the return type of a gcc2
12038 builtin and then its argument prototype would still apply. */
12048 rm -f conftest.$ac_objext conftest$ac_exeext
12049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12050 (eval $ac_link) 2>&5
12052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12053 (exit $ac_status); } &&
12054 { ac_try='test -s conftest$ac_exeext'
12055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12056 (eval $ac_try) 2>&5
12058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12059 (exit $ac_status); }; }; then
12060 ac_cv_lib_dld_dld_link=yes
12062 echo "$as_me: failed program was:" >&5
12063 sed 's/^/| /' conftest.$ac_ext >&5
12065 ac_cv_lib_dld_dld_link=no
12067 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12068 LIBS=$ac_check_lib_save_LIBS
12070 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12071 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12072 if test $ac_cv_lib_dld_dld_link = yes; then
12073 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12094 if test "x$lt_cv_dlopen" != xno; then
12100 case $lt_cv_dlopen in
12102 save_CPPFLAGS="$CPPFLAGS"
12103 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12105 save_LDFLAGS="$LDFLAGS"
12106 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12109 LIBS="$lt_cv_dlopen_libs $LIBS"
12111 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12112 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12113 if test "${lt_cv_dlopen_self+set}" = set; then
12114 echo $ECHO_N "(cached) $ECHO_C" >&6
12116 if test "$cross_compiling" = yes; then :
12117 lt_cv_dlopen_self=cross
12119 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12120 lt_status=$lt_dlunknown
12121 cat > conftest.$ac_ext <<EOF
12122 #line 12122 "configure"
12123 #include "confdefs.h"
12132 # define LT_DLGLOBAL RTLD_GLOBAL
12135 # define LT_DLGLOBAL DL_GLOBAL
12137 # define LT_DLGLOBAL 0
12141 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12142 find out it does not work in some platform. */
12143 #ifndef LT_DLLAZY_OR_NOW
12145 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12148 # define LT_DLLAZY_OR_NOW DL_LAZY
12151 # define LT_DLLAZY_OR_NOW RTLD_NOW
12154 # define LT_DLLAZY_OR_NOW DL_NOW
12156 # define LT_DLLAZY_OR_NOW 0
12164 extern "C" void exit (int);
12167 void fnord() { int i=42;}
12170 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12171 int status = $lt_dlunknown;
12175 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12176 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12177 /* dlclose (self); */
12183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12184 (eval $ac_link) 2>&5
12186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12187 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12188 (./conftest; exit; ) 2>/dev/null
12190 case x$lt_status in
12191 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12192 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12193 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12196 # compilation failed
12197 lt_cv_dlopen_self=no
12204 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12205 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12207 if test "x$lt_cv_dlopen_self" = xyes; then
12208 LDFLAGS="$LDFLAGS $link_static_flag"
12209 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12210 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12211 if test "${lt_cv_dlopen_self_static+set}" = set; then
12212 echo $ECHO_N "(cached) $ECHO_C" >&6
12214 if test "$cross_compiling" = yes; then :
12215 lt_cv_dlopen_self_static=cross
12217 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12218 lt_status=$lt_dlunknown
12219 cat > conftest.$ac_ext <<EOF
12220 #line 12220 "configure"
12221 #include "confdefs.h"
12230 # define LT_DLGLOBAL RTLD_GLOBAL
12233 # define LT_DLGLOBAL DL_GLOBAL
12235 # define LT_DLGLOBAL 0
12239 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12240 find out it does not work in some platform. */
12241 #ifndef LT_DLLAZY_OR_NOW
12243 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12246 # define LT_DLLAZY_OR_NOW DL_LAZY
12249 # define LT_DLLAZY_OR_NOW RTLD_NOW
12252 # define LT_DLLAZY_OR_NOW DL_NOW
12254 # define LT_DLLAZY_OR_NOW 0
12262 extern "C" void exit (int);
12265 void fnord() { int i=42;}
12268 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12269 int status = $lt_dlunknown;
12273 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12274 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12275 /* dlclose (self); */
12281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12282 (eval $ac_link) 2>&5
12284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12285 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12286 (./conftest; exit; ) 2>/dev/null
12288 case x$lt_status in
12289 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12290 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12291 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12294 # compilation failed
12295 lt_cv_dlopen_self_static=no
12302 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12303 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12306 CPPFLAGS="$save_CPPFLAGS"
12307 LDFLAGS="$save_LDFLAGS"
12312 case $lt_cv_dlopen_self in
12313 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12314 *) enable_dlopen_self=unknown ;;
12317 case $lt_cv_dlopen_self_static in
12318 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12319 *) enable_dlopen_self_static=unknown ;;
12324 # The else clause should only fire when bootstrapping the
12325 # libtool distribution, otherwise you forgot to ship ltmain.sh
12326 # with your package, and you will get complaints that there are
12327 # no rules to generate ltmain.sh.
12328 if test -f "$ltmain"; then
12329 # See if we are running on zsh, and set the options which allow our commands through
12330 # without removal of \ escapes.
12331 if test -n "${ZSH_VERSION+set}" ; then
12332 setopt NO_GLOB_SUBST
12334 # Now quote all the things that may contain metacharacters while being
12335 # careful not to overquote the AC_SUBSTed values. We take copies of the
12336 # variables and quote the copies for generation of the libtool script.
12337 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12338 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12339 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12340 deplibs_check_method reload_flag reload_cmds need_locks \
12341 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12342 lt_cv_sys_global_symbol_to_c_name_address \
12343 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12344 old_postinstall_cmds old_postuninstall_cmds \
12348 lt_prog_compiler_wl_CXX \
12349 lt_prog_compiler_pic_CXX \
12350 lt_prog_compiler_static_CXX \
12351 lt_prog_compiler_no_builtin_flag_CXX \
12352 export_dynamic_flag_spec_CXX \
12353 thread_safe_flag_spec_CXX \
12354 whole_archive_flag_spec_CXX \
12355 enable_shared_with_static_runtimes_CXX \
12356 old_archive_cmds_CXX \
12357 old_archive_from_new_cmds_CXX \
12358 predep_objects_CXX \
12359 postdep_objects_CXX \
12362 compiler_lib_search_path_CXX \
12364 archive_expsym_cmds_CXX \
12365 postinstall_cmds_CXX \
12366 postuninstall_cmds_CXX \
12367 old_archive_from_expsyms_cmds_CXX \
12368 allow_undefined_flag_CXX \
12369 no_undefined_flag_CXX \
12370 export_symbols_cmds_CXX \
12371 hardcode_libdir_flag_spec_CXX \
12372 hardcode_libdir_flag_spec_ld_CXX \
12373 hardcode_libdir_separator_CXX \
12374 hardcode_automatic_CXX \
12376 module_expsym_cmds_CXX \
12377 lt_cv_prog_compiler_c_o_CXX \
12378 exclude_expsyms_CXX \
12379 include_expsyms_CXX; do
12382 old_archive_cmds_CXX | \
12383 old_archive_from_new_cmds_CXX | \
12384 archive_cmds_CXX | \
12385 archive_expsym_cmds_CXX | \
12386 module_cmds_CXX | \
12387 module_expsym_cmds_CXX | \
12388 old_archive_from_expsyms_cmds_CXX | \
12389 export_symbols_cmds_CXX | \
12390 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12391 postinstall_cmds | postuninstall_cmds | \
12392 old_postinstall_cmds | old_postuninstall_cmds | \
12393 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12394 # Double-quote double-evaled strings.
12395 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12398 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12404 *'\$0 --fallback-echo"')
12405 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12411 cat <<__EOF__ >> "$cfgfile"
12412 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12414 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12416 # Shell to use when invoking shell scripts.
12419 # Whether or not to build shared libraries.
12420 build_libtool_libs=$enable_shared
12422 # Whether or not to build static libraries.
12423 build_old_libs=$enable_static
12425 # Whether or not to add -lc for building shared libraries.
12426 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12428 # Whether or not to disallow shared libs when runtime libs are static
12429 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12431 # Whether or not to optimize for fast installation.
12432 fast_install=$enable_fast_install
12435 host_alias=$host_alias
12438 # An echo program that does not interpret backslashes.
12443 AR_FLAGS=$lt_AR_FLAGS
12448 # A language-specific compiler.
12449 CC=$lt_compiler_CXX
12451 # Is the compiler the GNU C compiler?
12457 # The linker used to build libraries.
12460 # Whether we need hard or soft links.
12463 # A BSD-compatible nm program.
12466 # A symbol stripping program
12469 # Used to examine libraries when file_magic_cmd begins "file"
12470 MAGIC_CMD=$MAGIC_CMD
12472 # Used on cygwin: DLL creation program.
12475 # Used on cygwin: object dumper.
12478 # Used on cygwin: assembler.
12481 # The name of the directory that contains temporary libtool files.
12484 # How to create reloadable object files.
12485 reload_flag=$lt_reload_flag
12486 reload_cmds=$lt_reload_cmds
12488 # How to pass a linker flag through the compiler.
12489 wl=$lt_lt_prog_compiler_wl_CXX
12491 # Object file suffix (normally "o").
12492 objext="$ac_objext"
12494 # Old archive suffix (normally "a").
12497 # Shared library suffix (normally ".so").
12500 # Executable file suffix (normally "").
12503 # Additional compiler flags for building library objects.
12504 pic_flag=$lt_lt_prog_compiler_pic_CXX
12507 # What is the maximum length of a command?
12508 max_cmd_len=$lt_cv_sys_max_cmd_len
12510 # Does compiler simultaneously support -c and -o options?
12511 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12513 # Must we lock files when doing compilation ?
12514 need_locks=$lt_need_locks
12516 # Do we need the lib prefix for modules?
12517 need_lib_prefix=$need_lib_prefix
12519 # Do we need a version for libraries?
12520 need_version=$need_version
12522 # Whether dlopen is supported.
12523 dlopen_support=$enable_dlopen
12525 # Whether dlopen of programs is supported.
12526 dlopen_self=$enable_dlopen_self
12528 # Whether dlopen of statically linked programs is supported.
12529 dlopen_self_static=$enable_dlopen_self_static
12531 # Compiler flag to prevent dynamic linking.
12532 link_static_flag=$lt_lt_prog_compiler_static_CXX
12534 # Compiler flag to turn off builtin functions.
12535 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12537 # Compiler flag to allow reflexive dlopens.
12538 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12540 # Compiler flag to generate shared objects directly from archives.
12541 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12543 # Compiler flag to generate thread-safe objects.
12544 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12546 # Library versioning type.
12547 version_type=$version_type
12549 # Format of library name prefix.
12550 libname_spec=$lt_libname_spec
12552 # List of archive names. First name is the real one, the rest are links.
12553 # The last name is the one that the linker finds with -lNAME.
12554 library_names_spec=$lt_library_names_spec
12556 # The coded name of the library, if different from the real name.
12557 soname_spec=$lt_soname_spec
12559 # Commands used to build and install an old-style archive.
12561 old_archive_cmds=$lt_old_archive_cmds_CXX
12562 old_postinstall_cmds=$lt_old_postinstall_cmds
12563 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12565 # Create an old-style archive from a shared archive.
12566 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12568 # Create a temporary old-style archive to link instead of a shared archive.
12569 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12571 # Commands used to build and install a shared archive.
12572 archive_cmds=$lt_archive_cmds_CXX
12573 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12574 postinstall_cmds=$lt_postinstall_cmds
12575 postuninstall_cmds=$lt_postuninstall_cmds
12577 # Commands used to build a loadable module (assumed same as above if empty)
12578 module_cmds=$lt_module_cmds_CXX
12579 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12581 # Commands to strip libraries.
12582 old_striplib=$lt_old_striplib
12583 striplib=$lt_striplib
12585 # Dependencies to place before the objects being linked to create a
12587 predep_objects=$lt_predep_objects_CXX
12589 # Dependencies to place after the objects being linked to create a
12591 postdep_objects=$lt_postdep_objects_CXX
12593 # Dependencies to place before the objects being linked to create a
12595 predeps=$lt_predeps_CXX
12597 # Dependencies to place after the objects being linked to create a
12599 postdeps=$lt_postdeps_CXX
12601 # The library search path used internally by the compiler when linking
12602 # a shared library.
12603 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12605 # Method to check whether dependent libraries are shared objects.
12606 deplibs_check_method=$lt_deplibs_check_method
12608 # Command to use when deplibs_check_method == file_magic.
12609 file_magic_cmd=$lt_file_magic_cmd
12611 # Flag that allows shared libraries with undefined symbols to be built.
12612 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12614 # Flag that forces no undefined symbols.
12615 no_undefined_flag=$lt_no_undefined_flag_CXX
12617 # Commands used to finish a libtool library installation in a directory.
12618 finish_cmds=$lt_finish_cmds
12620 # Same as above, but a single script fragment to be evaled but not shown.
12621 finish_eval=$lt_finish_eval
12623 # Take the output of nm and produce a listing of raw symbols and C names.
12624 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12626 # Transform the output of nm in a proper C declaration
12627 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12629 # Transform the output of nm in a C name address pair
12630 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12632 # This is the shared library runtime path variable.
12633 runpath_var=$runpath_var
12635 # This is the shared library path variable.
12636 shlibpath_var=$shlibpath_var
12638 # Is shlibpath searched before the hard-coded library search path?
12639 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12641 # How to hardcode a shared library path into an executable.
12642 hardcode_action=$hardcode_action_CXX
12644 # Whether we should hardcode library paths into libraries.
12645 hardcode_into_libs=$hardcode_into_libs
12647 # Flag to hardcode \$libdir into a binary during linking.
12648 # This must work even if \$libdir does not exist.
12649 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12651 # If ld is used when linking, flag to hardcode \$libdir into
12652 # a binary during linking. This must work even if \$libdir does
12654 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12656 # Whether we need a single -rpath flag with a separated argument.
12657 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12659 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12660 # resulting binary.
12661 hardcode_direct=$hardcode_direct_CXX
12663 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12664 # resulting binary.
12665 hardcode_minus_L=$hardcode_minus_L_CXX
12667 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12668 # the resulting binary.
12669 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12671 # Set to yes if building a shared library automatically hardcodes DIR into the library
12672 # and all subsequent libraries and executables linked against it.
12673 hardcode_automatic=$hardcode_automatic_CXX
12675 # Variables whose values should be saved in libtool wrapper scripts and
12676 # restored at relink time.
12677 variables_saved_for_relink="$variables_saved_for_relink"
12679 # Whether libtool must link a program against all its dependency libraries.
12680 link_all_deplibs=$link_all_deplibs_CXX
12682 # Compile-time system search path for libraries
12683 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12685 # Run-time system search path for libraries
12686 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12688 # Fix the shell variable \$srcfile for the compiler.
12689 fix_srcfile_path="$fix_srcfile_path_CXX"
12691 # Set to yes if exported symbols are required.
12692 always_export_symbols=$always_export_symbols_CXX
12694 # The commands to list exported symbols.
12695 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12697 # The commands to extract the exported symbol list from a shared archive.
12698 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12700 # Symbols that should not be listed in the preloaded symbols.
12701 exclude_expsyms=$lt_exclude_expsyms_CXX
12703 # Symbols that must always be exported.
12704 include_expsyms=$lt_include_expsyms_CXX
12706 # ### END LIBTOOL TAG CONFIG: $tagname
12712 # If there is no Makefile yet, we rely on a make rule to execute
12713 # `config.status --recheck' to rerun these tests and create the
12714 # libtool script then.
12715 test -f Makefile && make "$ltmain"
12720 ac_cpp='$CPP $CPPFLAGS'
12721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12729 with_gnu_ldcxx=$with_gnu_ld
12730 with_gnu_ld=$lt_save_with_gnu_ld
12731 lt_cv_path_LDCXX=$lt_cv_path_LD
12732 lt_cv_path_LD=$lt_save_path_LD
12733 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12734 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12742 if test -n "$F77" && test "X$F77" != "Xno"; then
12745 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12746 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12747 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12750 archive_cmds_need_lc_F77=no
12751 allow_undefined_flag_F77=
12752 always_export_symbols_F77=no
12753 archive_expsym_cmds_F77=
12754 export_dynamic_flag_spec_F77=
12755 hardcode_direct_F77=no
12756 hardcode_libdir_flag_spec_F77=
12757 hardcode_libdir_flag_spec_ld_F77=
12758 hardcode_libdir_separator_F77=
12759 hardcode_minus_L_F77=no
12760 hardcode_automatic_F77=no
12762 module_expsym_cmds_F77=
12763 link_all_deplibs_F77=unknown
12764 old_archive_cmds_F77=$old_archive_cmds
12765 no_undefined_flag_F77=
12766 whole_archive_flag_spec_F77=
12767 enable_shared_with_static_runtimes_F77=no
12769 # Source file extension for f77 test sources.
12772 # Object file extension for compiled f77 test sources.
12776 # Code to be used in simple compile tests
12777 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12779 # Code to be used in simple link tests
12780 lt_simple_link_test_code=" program t\n end\n"
12782 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12784 # If no C compiler was specified, use CC.
12787 # Allow CC to be a program name with arguments.
12791 # Allow CC to be a program name with arguments.
12796 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12798 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12799 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12800 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12801 echo "${ECHO_T}$can_build_shared" >&6
12803 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12804 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12805 test "$can_build_shared" = "no" && enable_shared=no
12807 # On AIX, shared libraries and static libraries use the same namespace, and
12808 # are all built from PIC.
12811 test "$enable_shared" = yes && enable_static=no
12812 if test -n "$RANLIB"; then
12813 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12814 postinstall_cmds='$RANLIB $lib'
12818 test "$enable_shared" = yes && enable_static=no
12821 echo "$as_me:$LINENO: result: $enable_shared" >&5
12822 echo "${ECHO_T}$enable_shared" >&6
12824 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12825 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12826 # Make sure either enable_shared or enable_static is yes.
12827 test "$enable_shared" = yes || enable_static=yes
12828 echo "$as_me:$LINENO: result: $enable_static" >&5
12829 echo "${ECHO_T}$enable_static" >&6
12831 test "$ld_shlibs_F77" = no && can_build_shared=no
12836 lt_prog_compiler_wl_F77=
12837 lt_prog_compiler_pic_F77=
12838 lt_prog_compiler_static_F77=
12840 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12841 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12843 if test "$GCC" = yes; then
12844 lt_prog_compiler_wl_F77='-Wl,'
12845 lt_prog_compiler_static_F77='-static'
12849 # All AIX code is PIC.
12850 if test "$host_cpu" = ia64; then
12851 # AIX 5 now supports IA64 processor
12852 lt_prog_compiler_static_F77='-Bstatic'
12857 # FIXME: we need at least 68020 code to build shared libraries, but
12858 # adding the `-m68020' flag to GCC prevents building anything better,
12860 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12863 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12864 # PIC is the default for these OSes.
12867 mingw* | pw32* | os2*)
12868 # This hack is so that the source file can tell whether it is being
12869 # built for inclusion in a dll (and should export symbols for example).
12870 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12873 darwin* | rhapsody*)
12874 # PIC is the default on this platform
12875 # Common symbols not allowed in MH_DYLIB files
12876 lt_prog_compiler_pic_F77='-fno-common'
12880 # Just because we use GCC doesn't mean we suddenly get shared libraries
12881 # on systems that don't support them.
12882 lt_prog_compiler_can_build_shared_F77=no
12887 if test -d /usr/nec; then
12888 lt_prog_compiler_pic_F77=-Kconform_pic
12893 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12894 # not for PA HP-UX.
12895 case "$host_cpu" in
12900 lt_prog_compiler_pic_F77='-fPIC'
12906 lt_prog_compiler_pic_F77='-fPIC'
12910 # PORTME Check for flag to pass linker flags through the system compiler.
12913 lt_prog_compiler_wl_F77='-Wl,'
12914 if test "$host_cpu" = ia64; then
12915 # AIX 5 now supports IA64 processor
12916 lt_prog_compiler_static_F77='-Bstatic'
12918 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12922 mingw* | pw32* | os2*)
12923 # This hack is so that the source file can tell whether it is being
12924 # built for inclusion in a dll (and should export symbols for example).
12925 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12928 hpux9* | hpux10* | hpux11*)
12929 lt_prog_compiler_wl_F77='-Wl,'
12930 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12931 # not for PA HP-UX.
12932 case "$host_cpu" in
12937 lt_prog_compiler_pic_F77='+Z'
12940 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12941 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
12944 irix5* | irix6* | nonstopux*)
12945 lt_prog_compiler_wl_F77='-Wl,'
12946 # PIC (with -KPIC) is the default.
12947 lt_prog_compiler_static_F77='-non_shared'
12951 lt_prog_compiler_pic_F77='-KPIC'
12952 lt_prog_compiler_static_F77='-Bstatic'
12958 lt_prog_compiler_wl_F77='-Wl,'
12959 lt_prog_compiler_pic_F77='-KPIC'
12960 lt_prog_compiler_static_F77='-static'
12963 lt_prog_compiler_wl_F77='-Wl,'
12964 # All Alpha code is PIC.
12965 lt_prog_compiler_static_F77='-non_shared'
12970 osf3* | osf4* | osf5*)
12971 lt_prog_compiler_wl_F77='-Wl,'
12972 # All OSF/1 code is PIC.
12973 lt_prog_compiler_static_F77='-non_shared'
12977 lt_prog_compiler_pic_F77='-Kpic'
12978 lt_prog_compiler_static_F77='-dn'
12982 lt_prog_compiler_wl_F77='-Wl,'
12983 lt_prog_compiler_pic_F77='-KPIC'
12984 lt_prog_compiler_static_F77='-Bstatic'
12988 lt_prog_compiler_wl_F77='-Qoption ld '
12989 lt_prog_compiler_pic_F77='-PIC'
12990 lt_prog_compiler_static_F77='-Bstatic'
12993 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12994 lt_prog_compiler_wl_F77='-Wl,'
12995 lt_prog_compiler_pic_F77='-KPIC'
12996 lt_prog_compiler_static_F77='-Bstatic'
13000 if test -d /usr/nec ;then
13001 lt_prog_compiler_pic_F77='-Kconform_pic'
13002 lt_prog_compiler_static_F77='-Bstatic'
13007 lt_prog_compiler_pic_F77='-pic'
13008 lt_prog_compiler_static_F77='-Bstatic'
13012 lt_prog_compiler_can_build_shared_F77=no
13017 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13018 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13021 # Check to make sure the PIC flag actually works.
13023 if test -n "$lt_prog_compiler_pic_F77"; then
13024 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13025 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13026 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13027 echo $ECHO_N "(cached) $ECHO_C" >&6
13029 lt_prog_compiler_pic_works_F77=no
13030 ac_outfile=conftest.$ac_objext
13031 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13032 lt_compiler_flag="$lt_prog_compiler_pic_F77"
13033 # Insert the option either (1) after the last *FLAGS variable, or
13034 # (2) before a word containing "conftest.", or (3) at the end.
13035 # Note that $ac_compile itself does not contain backslashes and begins
13036 # with a dollar sign (not a hyphen), so the echo should work correctly.
13037 # The option is referenced via a variable to avoid confusing sed.
13038 lt_compile=`echo "$ac_compile" | $SED \
13039 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13040 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13041 -e 's:$: $lt_compiler_flag:'`
13042 (eval echo "\"\$as_me:13042: $lt_compile\"" >&5)
13043 (eval "$lt_compile" 2>conftest.err)
13045 cat conftest.err >&5
13046 echo "$as_me:13046: \$? = $ac_status" >&5
13047 if (exit $ac_status) && test -s "$ac_outfile"; then
13048 # The compiler can only warn and ignore the option if not recognized
13049 # So say no if there are warnings
13050 if test ! -s conftest.err; then
13051 lt_prog_compiler_pic_works_F77=yes
13057 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13058 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13060 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13061 case $lt_prog_compiler_pic_F77 in
13063 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13066 lt_prog_compiler_pic_F77=
13067 lt_prog_compiler_can_build_shared_F77=no
13072 # For platforms which do not support PIC, -DPIC is meaningless:
13074 lt_prog_compiler_pic_F77=
13077 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13081 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13082 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13083 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13084 echo $ECHO_N "(cached) $ECHO_C" >&6
13086 lt_cv_prog_compiler_c_o_F77=no
13087 $rm -r conftest 2>/dev/null
13091 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13093 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13094 # that will create temporary files in the current directory regardless of
13095 # the output directory. Thus, making CWD read-only will cause this test
13096 # to fail, enabling locking or at least warning the user not to do parallel
13100 lt_compiler_flag="-o out/conftest2.$ac_objext"
13101 # Insert the option either (1) after the last *FLAGS variable, or
13102 # (2) before a word containing "conftest.", or (3) at the end.
13103 # Note that $ac_compile itself does not contain backslashes and begins
13104 # with a dollar sign (not a hyphen), so the echo should work correctly.
13105 lt_compile=`echo "$ac_compile" | $SED \
13106 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13107 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13108 -e 's:$: $lt_compiler_flag:'`
13109 (eval echo "\"\$as_me:13109: $lt_compile\"" >&5)
13110 (eval "$lt_compile" 2>out/conftest.err)
13112 cat out/conftest.err >&5
13113 echo "$as_me:13113: \$? = $ac_status" >&5
13114 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13116 # The compiler can only warn and ignore the option if not recognized
13117 # So say no if there are warnings
13118 if test ! -s out/conftest.err; then
13119 lt_cv_prog_compiler_c_o_F77=yes
13123 $rm conftest* out/*
13130 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13131 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13134 hard_links="nottested"
13135 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13136 # do not overwrite the value of need_locks provided by the user
13137 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13138 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13141 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13143 ln conftest.a conftest.b 2>&5 || hard_links=no
13144 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13145 echo "$as_me:$LINENO: result: $hard_links" >&5
13146 echo "${ECHO_T}$hard_links" >&6
13147 if test "$hard_links" = no; then
13148 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13149 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13156 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13157 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13160 allow_undefined_flag_F77=
13161 enable_shared_with_static_runtimes_F77=no
13163 archive_expsym_cmds_F77=
13164 old_archive_From_new_cmds_F77=
13165 old_archive_from_expsyms_cmds_F77=
13166 export_dynamic_flag_spec_F77=
13167 whole_archive_flag_spec_F77=
13168 thread_safe_flag_spec_F77=
13169 hardcode_libdir_flag_spec_F77=
13170 hardcode_libdir_flag_spec_ld_F77=
13171 hardcode_libdir_separator_F77=
13172 hardcode_direct_F77=no
13173 hardcode_minus_L_F77=no
13174 hardcode_shlibpath_var_F77=unsupported
13175 link_all_deplibs_F77=unknown
13176 hardcode_automatic_F77=no
13178 module_expsym_cmds_F77=
13179 always_export_symbols_F77=no
13180 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13181 # include_expsyms should be a list of space-separated symbols to be *always*
13182 # included in the symbol list
13183 include_expsyms_F77=
13184 # exclude_expsyms can be an extended regexp of symbols to exclude
13185 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13186 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13187 # as well as any symbol that contains `d'.
13188 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13189 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13190 # platforms (ab)use it in PIC code, but their linkers get confused if
13191 # the symbol is explicitly referenced. Since portable code cannot
13192 # rely on this symbol name, it's probably fine to never include it in
13193 # preloaded symbol tables.
13194 extract_expsyms_cmds=
13197 cygwin* | mingw* | pw32*)
13198 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13199 # When not using gcc, we currently assume that we are using
13200 # Microsoft Visual C++.
13201 if test "$GCC" != yes; then
13211 if test "$with_gnu_ld" = yes; then
13212 # If archive_cmds runs LD, not CC, wlarc should be empty
13215 # See if GNU ld supports shared libraries.
13217 aix3* | aix4* | aix5*)
13218 # On AIX/PPC, the GNU linker is very broken
13219 if test "$host_cpu" != ia64; then
13223 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13224 *** to be unable to reliably create shared libraries on AIX.
13225 *** Therefore, libtool is disabling shared libraries support. If you
13226 *** really care for shared libraries, you may want to modify your PATH
13227 *** so that a non-GNU linker is found, and then restart.
13234 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)'
13235 hardcode_libdir_flag_spec_F77='-L$libdir'
13236 hardcode_minus_L_F77=yes
13238 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13239 # that the semantics of dynamic libraries on AmigaOS, at least up
13240 # to version 4, is to share data among multiple programs linked
13241 # with the same dynamic library. Since this doesn't match the
13242 # behavior of shared libraries on other platforms, we can't use
13248 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13249 allow_undefined_flag_F77=unsupported
13250 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13251 # support --undefined. This deserves some investigation. FIXME
13252 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13258 cygwin* | mingw* | pw32*)
13259 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13260 # as there is no search path for DLLs.
13261 hardcode_libdir_flag_spec_F77='-L$libdir'
13262 allow_undefined_flag_F77=unsupported
13263 always_export_symbols_F77=no
13264 enable_shared_with_static_runtimes_F77=yes
13265 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13267 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13268 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13269 # If the export-symbols file already is a .def file (1st line
13270 # is EXPORTS), use it as is; otherwise, prepend...
13271 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13272 cp $export_symbols $output_objdir/$soname.def;
13274 echo EXPORTS > $output_objdir/$soname.def;
13275 cat $export_symbols >> $output_objdir/$soname.def;
13277 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13284 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13285 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13288 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13289 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13294 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13298 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13299 *** create shared libraries on Solaris systems. Therefore, libtool
13300 *** is disabling shared libraries support. We urge you to upgrade GNU
13301 *** binutils to release 2.9.1 or newer. Another option is to modify
13302 *** your PATH or compiler configuration so that the native linker is
13303 *** used, and then restart.
13306 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13307 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13308 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13315 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13317 hardcode_direct_F77=yes
13318 hardcode_shlibpath_var_F77=no
13322 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13323 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13324 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13331 if test "$ld_shlibs_F77" = yes; then
13332 runpath_var=LD_RUN_PATH
13333 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13334 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13335 # ancient GNU ld didn't support --whole-archive et. al.
13336 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13337 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13339 whole_archive_flag_spec_F77=
13343 # PORTME fill in a description of your system's linker (not GNU ld)
13346 allow_undefined_flag_F77=unsupported
13347 always_export_symbols_F77=yes
13348 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'
13349 # Note: this linker hardcodes the directories in LIBPATH if there
13350 # are no directories specified by -L.
13351 hardcode_minus_L_F77=yes
13352 if test "$GCC" = yes && test -z "$link_static_flag"; then
13353 # Neither direct hardcoding nor static linking is supported with a
13355 hardcode_direct_F77=unsupported
13360 if test "$host_cpu" = ia64; then
13361 # On IA64, the linker does run time linking by default, so we don't
13362 # have to do anything special.
13363 aix_use_runtimelinking=no
13364 exp_sym_flag='-Bexport'
13367 # If we're using GNU nm, then we don't want the "-C" option.
13368 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13369 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13370 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'
13372 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'
13374 aix_use_runtimelinking=no
13376 # Test if we are trying to use run time linking or normal
13377 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13378 # need to do runtime linking.
13379 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13380 for ld_flag in $LDFLAGS; do
13381 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13382 aix_use_runtimelinking=yes
13388 exp_sym_flag='-bexport'
13389 no_entry_flag='-bnoentry'
13392 # When large executables or shared objects are built, AIX ld can
13393 # have problems creating the table of contents. If linking a library
13394 # or program results in "error TOC overflow" add -mminimal-toc to
13395 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13396 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13398 archive_cmds_F77=''
13399 hardcode_direct_F77=yes
13400 hardcode_libdir_separator_F77=':'
13401 link_all_deplibs_F77=yes
13403 if test "$GCC" = yes; then
13404 case $host_os in aix4.012|aix4.012.*)
13405 # We only want to do this on AIX 4.2 and lower, the check
13406 # below for broken collect2 doesn't work under 4.3+
13407 collect2name=`${CC} -print-prog-name=collect2`
13408 if test -f "$collect2name" && \
13409 strings "$collect2name" | grep resolve_lib_name >/dev/null
13411 # We have reworked collect2
13412 hardcode_direct_F77=yes
13414 # We have old collect2
13415 hardcode_direct_F77=unsupported
13416 # It fails to find uninstalled libraries when the uninstalled
13417 # path is not listed in the libpath. Setting hardcode_minus_L
13418 # to unsupported forces relinking
13419 hardcode_minus_L_F77=yes
13420 hardcode_libdir_flag_spec_F77='-L$libdir'
13421 hardcode_libdir_separator_F77=
13424 shared_flag='-shared'
13427 if test "$host_cpu" = ia64; then
13428 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13429 # chokes on -Wl,-G. The following line is correct:
13432 if test "$aix_use_runtimelinking" = yes; then
13433 shared_flag='${wl}-G'
13435 shared_flag='${wl}-bM:SRE'
13440 # It seems that -bexpall does not export symbols beginning with
13441 # underscore (_), so it is better to generate a list of symbols to export.
13442 always_export_symbols_F77=yes
13443 if test "$aix_use_runtimelinking" = yes; then
13444 # Warning - without using the other runtime loading flags (-brtl),
13445 # -berok will link without error, but may produce a broken library.
13446 allow_undefined_flag_F77='-berok'
13447 # Determine the default libpath from the value encoded in an empty executable.
13448 cat >conftest.$ac_ext <<_ACEOF
13453 rm -f conftest.$ac_objext conftest$ac_exeext
13454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13455 (eval $ac_link) 2>&5
13457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13458 (exit $ac_status); } &&
13459 { ac_try='test -s conftest$ac_exeext'
13460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13461 (eval $ac_try) 2>&5
13463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13464 (exit $ac_status); }; }; then
13466 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13468 # Check for a 64-bit object if we didn't find anything.
13469 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; }
13472 echo "$as_me: failed program was:" >&5
13473 sed 's/^/| /' conftest.$ac_ext >&5
13476 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13477 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13479 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13480 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"
13482 if test "$host_cpu" = ia64; then
13483 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13484 allow_undefined_flag_F77="-z nodefs"
13485 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"
13487 # Determine the default libpath from the value encoded in an empty executable.
13488 cat >conftest.$ac_ext <<_ACEOF
13493 rm -f conftest.$ac_objext conftest$ac_exeext
13494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13495 (eval $ac_link) 2>&5
13497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13498 (exit $ac_status); } &&
13499 { ac_try='test -s conftest$ac_exeext'
13500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13501 (eval $ac_try) 2>&5
13503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13504 (exit $ac_status); }; }; then
13506 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13508 # Check for a 64-bit object if we didn't find anything.
13509 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; }
13512 echo "$as_me: failed program was:" >&5
13513 sed 's/^/| /' conftest.$ac_ext >&5
13516 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13517 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13519 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13520 # Warning - without using the other run time loading flags,
13521 # -berok will link without error, but may produce a broken library.
13522 no_undefined_flag_F77=' ${wl}-bernotok'
13523 allow_undefined_flag_F77=' ${wl}-berok'
13524 # -bexpall does not export symbols beginning with underscore (_)
13525 always_export_symbols_F77=yes
13526 # Exported symbols can be pulled into shared objects from archives
13527 whole_archive_flag_spec_F77=' '
13528 archive_cmds_need_lc_F77=yes
13529 # This is similar to how AIX traditionally builds it's shared libraries.
13530 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'
13536 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)'
13537 hardcode_libdir_flag_spec_F77='-L$libdir'
13538 hardcode_minus_L_F77=yes
13539 # see comment about different semantics on the GNU ld section
13544 export_dynamic_flag_spec_F77=-rdynamic
13547 cygwin* | mingw* | pw32*)
13548 # When not using gcc, we currently assume that we are using
13549 # Microsoft Visual C++.
13550 # hardcode_libdir_flag_spec is actually meaningless, as there is
13551 # no search path for DLLs.
13552 hardcode_libdir_flag_spec_F77=' '
13553 allow_undefined_flag_F77=unsupported
13554 # Tell ltmain to make .lib files, not .a files.
13556 # Tell ltmain to make .dll files, not .so files.
13558 # FIXME: Setting linknames here is a bad hack.
13559 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13560 # The linker will automatically build a .lib file if we build a DLL.
13561 old_archive_From_new_cmds_F77='true'
13562 # FIXME: Should let the user specify the lib program.
13563 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13564 fix_srcfile_path='`cygpath -w "$srcfile"`'
13565 enable_shared_with_static_runtimes_F77=yes
13568 darwin* | rhapsody*)
13569 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
13570 archive_cmds_need_lc_F77=no
13572 rhapsody* | darwin1.[012])
13573 allow_undefined_flag_F77='-undefined suppress'
13576 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13579 # FIXME: Relying on posixy $() will cause problems for
13580 # cross-compilation, but unfortunately the echo tests do not
13581 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13582 # `"' quotes if we put them in here... so don't!
13583 lt_int_apple_cc_single_mod=no
13584 output_verbose_link_cmd='echo'
13585 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13586 lt_int_apple_cc_single_mod=yes
13588 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13589 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13591 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'
13593 module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
13594 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13595 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13596 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}'
13598 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}'
13600 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}'
13601 hardcode_direct_F77=no
13602 hardcode_automatic_F77=yes
13603 hardcode_shlibpath_var_F77=unsupported
13604 whole_archive_flag_spec_F77='-all_load $convenience'
13605 link_all_deplibs_F77=yes
13610 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13611 hardcode_libdir_flag_spec_F77='-L$libdir'
13612 hardcode_shlibpath_var_F77=no
13619 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13620 # support. Future versions do this automatically, but an explicit c++rt0.o
13621 # does not break anything, and helps significantly (at the cost of a little
13624 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13625 hardcode_libdir_flag_spec_F77='-R$libdir'
13626 hardcode_direct_F77=yes
13627 hardcode_shlibpath_var_F77=no
13630 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13632 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13633 hardcode_direct_F77=yes
13634 hardcode_minus_L_F77=yes
13635 hardcode_shlibpath_var_F77=no
13638 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13640 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13641 hardcode_libdir_flag_spec_F77='-R$libdir'
13642 hardcode_direct_F77=yes
13643 hardcode_shlibpath_var_F77=no
13647 if test "$GCC" = yes; then
13648 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'
13650 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'
13652 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13653 hardcode_libdir_separator_F77=:
13654 hardcode_direct_F77=yes
13656 # hardcode_minus_L: Not really in the search PATH,
13657 # but as the default location of the library.
13658 hardcode_minus_L_F77=yes
13659 export_dynamic_flag_spec_F77='${wl}-E'
13663 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13664 case "$host_cpu" in
13666 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13669 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13673 case "$host_cpu" in
13675 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13678 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13682 if test "$with_gnu_ld" = no; then
13683 case "$host_cpu" in
13685 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13686 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13687 hardcode_libdir_separator_F77=:
13688 hardcode_direct_F77=no
13689 hardcode_shlibpath_var_F77=no
13692 hardcode_libdir_flag_spec_F77='-L$libdir'
13693 hardcode_direct_F77=no
13694 hardcode_shlibpath_var_F77=no
13696 # hardcode_minus_L: Not really in the search PATH,
13697 # but as the default location of the library.
13698 hardcode_minus_L_F77=yes
13701 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13702 hardcode_libdir_separator_F77=:
13703 hardcode_direct_F77=yes
13704 export_dynamic_flag_spec_F77='${wl}-E'
13706 # hardcode_minus_L: Not really in the search PATH,
13707 # but as the default location of the library.
13708 hardcode_minus_L_F77=yes
13714 irix5* | irix6* | nonstopux*)
13715 if test "$GCC" = yes; then
13716 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'
13718 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'
13719 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13721 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13722 hardcode_libdir_separator_F77=:
13723 link_all_deplibs_F77=yes
13727 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13728 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13730 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13732 hardcode_libdir_flag_spec_F77='-R$libdir'
13733 hardcode_direct_F77=yes
13734 hardcode_shlibpath_var_F77=no
13738 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13739 hardcode_direct_F77=yes
13740 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13741 hardcode_libdir_separator_F77=:
13742 hardcode_shlibpath_var_F77=no
13746 hardcode_direct_F77=yes
13747 hardcode_shlibpath_var_F77=no
13748 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13749 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13750 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13751 export_dynamic_flag_spec_F77='${wl}-E'
13754 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13755 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13756 hardcode_libdir_flag_spec_F77='-R$libdir'
13759 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13760 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13767 hardcode_libdir_flag_spec_F77='-L$libdir'
13768 hardcode_minus_L_F77=yes
13769 allow_undefined_flag_F77=unsupported
13770 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'
13771 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13775 if test "$GCC" = yes; then
13776 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13777 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'
13779 allow_undefined_flag_F77=' -expect_unresolved \*'
13780 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'
13782 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13783 hardcode_libdir_separator_F77=:
13786 osf4* | osf5*) # as osf3* with the addition of -msym flag
13787 if test "$GCC" = yes; then
13788 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13789 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'
13790 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13792 allow_undefined_flag_F77=' -expect_unresolved \*'
13793 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'
13794 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~
13795 $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'
13797 # Both c and cxx compiler support -rpath directly
13798 hardcode_libdir_flag_spec_F77='-rpath $libdir'
13800 hardcode_libdir_separator_F77=:
13804 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13805 hardcode_shlibpath_var_F77=no
13806 export_dynamic_flag_spec_F77='${wl}-Bexport'
13807 runpath_var=LD_RUN_PATH
13808 hardcode_runpath_var=yes
13812 no_undefined_flag_F77=' -z text'
13813 if test "$GCC" = yes; then
13814 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13815 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13816 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13818 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13819 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13820 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13822 hardcode_libdir_flag_spec_F77='-R$libdir'
13823 hardcode_shlibpath_var_F77=no
13825 solaris2.[0-5] | solaris2.[0-5].*) ;;
13826 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13827 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13829 link_all_deplibs_F77=yes
13833 if test "x$host_vendor" = xsequent; then
13834 # Use $CC to link under sequent, because it throws in some extra .o
13835 # files that make .init and .fini sections work.
13836 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13838 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13840 hardcode_libdir_flag_spec_F77='-L$libdir'
13841 hardcode_direct_F77=yes
13842 hardcode_minus_L_F77=yes
13843 hardcode_shlibpath_var_F77=no
13847 case $host_vendor in
13849 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13850 hardcode_direct_F77=yes # is this really true???
13853 ## LD is ld it makes a PLAMLIB
13854 ## CC just makes a GrossModule.
13855 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13856 reload_cmds_F77='$CC -r -o $output$reload_objs'
13857 hardcode_direct_F77=no
13860 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13861 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13864 runpath_var='LD_RUN_PATH'
13865 hardcode_shlibpath_var_F77=no
13869 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13870 hardcode_shlibpath_var_F77=no
13871 export_dynamic_flag_spec_F77='-Bexport'
13875 if test -d /usr/nec; then
13876 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13877 hardcode_shlibpath_var_F77=no
13878 runpath_var=LD_RUN_PATH
13879 hardcode_runpath_var=yes
13885 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13886 hardcode_direct_F77=yes
13887 hardcode_minus_L_F77=no
13888 hardcode_shlibpath_var_F77=no
13889 hardcode_runpath_var=yes
13890 runpath_var=LD_RUN_PATH
13893 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13894 no_undefined_flag_F77='${wl}-z ${wl}text'
13895 if test "$GCC" = yes; then
13896 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13898 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13900 runpath_var='LD_RUN_PATH'
13901 hardcode_shlibpath_var_F77=no
13905 no_undefined_flag_F77=' -z text'
13906 # $CC -shared without GNU ld will not create a library from C++
13907 # object files and a static libstdc++, better avoid it by now
13908 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13909 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13910 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13911 hardcode_libdir_flag_spec_F77=
13912 hardcode_shlibpath_var_F77=no
13913 runpath_var='LD_RUN_PATH'
13917 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13918 hardcode_libdir_flag_spec_F77='-L$libdir'
13919 hardcode_shlibpath_var_F77=no
13928 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
13929 echo "${ECHO_T}$ld_shlibs_F77" >&6
13930 test "$ld_shlibs_F77" = no && can_build_shared=no
13932 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13933 if test "$GCC" = yes; then
13934 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13938 # Do we need to explicitly link libc?
13940 case "x$archive_cmds_need_lc_F77" in
13942 # Assume -lc should be added
13943 archive_cmds_need_lc_F77=yes
13945 if test "$enable_shared" = yes && test "$GCC" = yes; then
13946 case $archive_cmds_F77 in
13948 # FIXME: we may have to deal with multi-command sequences.
13951 # Test whether the compiler implicitly links with -lc since on some
13952 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13953 # to ld, don't add -lc before -lgcc.
13954 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13955 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13957 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13960 (eval $ac_compile) 2>&5
13962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13963 (exit $ac_status); } 2>conftest.err; then
13966 libobjs=conftest.$ac_objext
13968 wl=$lt_prog_compiler_wl_F77
13974 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
13975 allow_undefined_flag_F77=
13976 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13977 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13980 (exit $ac_status); }
13982 archive_cmds_need_lc_F77=no
13984 archive_cmds_need_lc_F77=yes
13986 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
13988 cat conftest.err 1>&5
13991 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
13992 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
13999 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14000 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14001 hardcode_action_F77=
14002 if test -n "$hardcode_libdir_flag_spec_F77" || \
14003 test -n "$runpath_var F77" || \
14004 test "X$hardcode_automatic_F77"="Xyes" ; then
14006 # We can hardcode non-existant directories.
14007 if test "$hardcode_direct_F77" != no &&
14008 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14009 # have to relink, otherwise we might link with an installed library
14010 # when we should be linking with a yet-to-be-installed one
14011 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
14012 test "$hardcode_minus_L_F77" != no; then
14013 # Linking always hardcodes the temporary library directory.
14014 hardcode_action_F77=relink
14016 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14017 hardcode_action_F77=immediate
14020 # We cannot hardcode anything, or else we can only hardcode existing
14022 hardcode_action_F77=unsupported
14024 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14025 echo "${ECHO_T}$hardcode_action_F77" >&6
14027 if test "$hardcode_action_F77" = relink; then
14028 # Fast installation is not supported
14029 enable_fast_install=no
14030 elif test "$shlibpath_overrides_runpath" = yes ||
14031 test "$enable_shared" = no; then
14032 # Fast installation is not necessary
14033 enable_fast_install=needless
14038 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14039 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14040 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14041 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14042 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14043 echo "$as_me:$LINENO: result: yes" >&5
14044 echo "${ECHO_T}yes" >&6
14046 # FIXME - insert some real tests, host_os isn't really good enough
14049 if test -n "$STRIP" ; then
14050 striplib="$STRIP -x"
14051 echo "$as_me:$LINENO: result: yes" >&5
14052 echo "${ECHO_T}yes" >&6
14054 echo "$as_me:$LINENO: result: no" >&5
14055 echo "${ECHO_T}no" >&6
14059 echo "$as_me:$LINENO: result: no" >&5
14060 echo "${ECHO_T}no" >&6
14065 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14066 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14067 library_names_spec=
14068 libname_spec='lib$name'
14072 postuninstall_cmds=
14076 shlibpath_overrides_runpath=unknown
14078 dynamic_linker="$host_os ld.so"
14079 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14080 if test "$GCC" = yes; then
14081 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14082 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14083 # if the path contains ";" then we assume it to be the separator
14084 # otherwise default to the standard path separator (i.e. ":") - it is
14085 # assumed that no part of a normal pathname contains ";" but that should
14086 # okay in the real world where ";" in dirpaths is itself problematic.
14087 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14089 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14092 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14094 need_lib_prefix=unknown
14095 hardcode_into_libs=no
14097 # when you set need_version to no, make sure it does not cause -set_version
14098 # flags to be left without arguments
14099 need_version=unknown
14104 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14105 shlibpath_var=LIBPATH
14107 # AIX 3 has no versioning support, so we append a major version to the name.
14108 soname_spec='${libname}${release}${shared_ext}$major'
14115 hardcode_into_libs=yes
14116 if test "$host_cpu" = ia64; then
14117 # AIX 5 supports IA64
14118 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14119 shlibpath_var=LD_LIBRARY_PATH
14121 # With GCC up to 2.95.x, collect2 would create an import file
14122 # for dependence libraries. The import file would start with
14123 # the line `#! .'. This would cause the generated library to
14124 # depend on `.', always an invalid library. This was fixed in
14125 # development snapshots of GCC prior to 3.0.
14127 aix4 | aix4.[01] | aix4.[01].*)
14128 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14130 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14133 can_build_shared=no
14137 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14138 # soname into executable. Probably we can add versioning support to
14139 # collect2, so additional links can be useful in future.
14140 if test "$aix_use_runtimelinking" = yes; then
14141 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14142 # instead of lib<name>.a to let people know that these are not
14143 # typical AIX shared libraries.
14144 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14146 # We preserve .a as extension for shared libraries through AIX4.2
14147 # and later when we are not doing run time linking.
14148 library_names_spec='${libname}${release}.a $libname.a'
14149 soname_spec='${libname}${release}${shared_ext}$major'
14151 shlibpath_var=LIBPATH
14156 library_names_spec='$libname.ixlibrary $libname.a'
14157 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14158 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'
14162 library_names_spec='${libname}${shared_ext}'
14163 dynamic_linker="$host_os ld.so"
14164 shlibpath_var=LIBRARY_PATH
14170 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14171 soname_spec='${libname}${release}${shared_ext}$major'
14172 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14173 shlibpath_var=LD_LIBRARY_PATH
14174 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14175 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14176 # the default ld.so.conf also contains /usr/contrib/lib and
14177 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14178 # libtool to hard-code these into programs
14181 cygwin* | mingw* | pw32*)
14182 version_type=windows
14187 case $GCC,$host_os in
14188 yes,cygwin* | yes,mingw* | yes,pw32*)
14189 library_names_spec='$libname.dll.a'
14190 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14191 postinstall_cmds='base_file=`basename \${file}`~
14192 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14193 dldir=$destdir/`dirname \$dlpath`~
14194 test -d \$dldir || mkdir -p \$dldir~
14195 $install_prog $dir/$dlname \$dldir/$dlname'
14196 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14197 dlpath=$dir/\$dldll~
14199 shlibpath_overrides_runpath=yes
14203 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14204 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14205 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
14208 # MinGW DLLs use traditional 'lib' prefix
14209 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14210 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14211 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14212 # It is most probably a Windows format PATH printed by
14213 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14214 # path with ; separators, and with drive letters. We can handle the
14215 # drive letters (cygwin fileutils understands them), so leave them,
14216 # especially as we might pass files found there to a mingw objdump,
14217 # which wouldn't understand a cygwinified path. Ahh.
14218 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14220 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14224 # pw32 DLLs use 'pw' prefix rather than 'lib'
14225 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14231 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14234 dynamic_linker='Win32 ld.exe'
14235 # FIXME: first we should search . and the directory the executable is in
14239 darwin* | rhapsody*)
14240 dynamic_linker="$host_os dyld"
14241 version_type=darwin
14244 # FIXME: Relying on posixy $() will cause problems for
14245 # cross-compilation, but unfortunately the echo tests do not
14246 # yet detect zsh echo's removal of \ escapes.
14247 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14248 soname_spec='${libname}${release}${major}$shared_ext'
14249 shlibpath_overrides_runpath=yes
14250 shlibpath_var=DYLD_LIBRARY_PATH
14251 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
14252 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14253 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
14254 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"`
14256 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14263 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14264 soname_spec='${libname}${release}${shared_ext}$major'
14265 shlibpath_var=LD_LIBRARY_PATH
14273 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14274 version_type=freebsd-$objformat
14275 case $version_type in
14277 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14282 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14286 shlibpath_var=LD_LIBRARY_PATH
14289 shlibpath_overrides_runpath=yes
14291 freebsd3.01* | freebsdelf3.01*)
14292 shlibpath_overrides_runpath=yes
14293 hardcode_into_libs=yes
14296 shlibpath_overrides_runpath=no
14297 hardcode_into_libs=yes
14306 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14307 soname_spec='${libname}${release}${shared_ext}$major'
14308 shlibpath_var=LD_LIBRARY_PATH
14309 hardcode_into_libs=yes
14312 hpux9* | hpux10* | hpux11*)
14313 # Give a soname corresponding to the major version so that dld.sl refuses to
14314 # link against other versions.
14318 case "$host_cpu" in
14321 hardcode_into_libs=yes
14322 dynamic_linker="$host_os dld.so"
14323 shlibpath_var=LD_LIBRARY_PATH
14324 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14325 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14326 soname_spec='${libname}${release}${shared_ext}$major'
14327 if test "X$HPUX_IA64_MODE" = X32; then
14328 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14330 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14332 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14336 hardcode_into_libs=yes
14337 dynamic_linker="$host_os dld.sl"
14338 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14339 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14340 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14341 soname_spec='${libname}${release}${shared_ext}$major'
14342 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14343 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14347 dynamic_linker="$host_os dld.sl"
14348 shlibpath_var=SHLIB_PATH
14349 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14350 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14351 soname_spec='${libname}${release}${shared_ext}$major'
14354 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14355 postinstall_cmds='chmod 555 $lib'
14358 irix5* | irix6* | nonstopux*)
14360 nonstopux*) version_type=nonstopux ;;
14362 if test "$lt_cv_prog_gnu_ld" = yes; then
14370 soname_spec='${libname}${release}${shared_ext}$major'
14371 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14373 irix5* | nonstopux*)
14374 libsuff= shlibsuff=
14377 case $LD in # libtool.m4 will add one of these switches to LD
14378 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14379 libsuff= shlibsuff= libmagic=32-bit;;
14380 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14381 libsuff=32 shlibsuff=N32 libmagic=N32;;
14382 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14383 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14384 *) libsuff= shlibsuff= libmagic=never-match;;
14388 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14389 shlibpath_overrides_runpath=no
14390 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14391 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14392 hardcode_into_libs=yes
14395 # No shared lib support for Linux oldld, aout, or coff.
14396 linux*oldld* | linux*aout* | linux*coff*)
14400 # This must be Linux ELF.
14405 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14406 soname_spec='${libname}${release}${shared_ext}$major'
14407 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14408 shlibpath_var=LD_LIBRARY_PATH
14409 shlibpath_overrides_runpath=no
14410 # This implies no fast_install, which is unacceptable.
14411 # Some rework will be needed to allow for fast_install
14412 # before this can be enabled.
14413 hardcode_into_libs=yes
14415 # We used to test for /lib/ld.so.1 and disable shared libraries on
14416 # powerpc, because MkLinux only supported shared libraries with the
14417 # GNU dynamic linker. Since this was broken with cross compilers,
14418 # most powerpc-linux boxes support dynamic linking these days and
14419 # people can always --disable-shared, the test was removed, and we
14420 # assume the GNU/Linux dynamic linker is in use.
14421 dynamic_linker='GNU/Linux ld.so'
14428 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14429 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14430 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14431 dynamic_linker='NetBSD (a.out) ld.so'
14433 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14434 soname_spec='${libname}${release}${shared_ext}$major'
14435 dynamic_linker='NetBSD ld.elf_so'
14437 shlibpath_var=LD_LIBRARY_PATH
14438 shlibpath_overrides_runpath=yes
14439 hardcode_into_libs=yes
14444 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14445 shlibpath_var=LD_LIBRARY_PATH
14446 shlibpath_overrides_runpath=yes
14453 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14454 soname_spec='${libname}${release}${shared_ext}$major'
14455 shlibpath_var=LD_LIBRARY_PATH
14456 shlibpath_overrides_runpath=yes
14463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14464 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14465 shlibpath_var=LD_LIBRARY_PATH
14466 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14468 openbsd2.[89] | openbsd2.[89].*)
14469 shlibpath_overrides_runpath=no
14472 shlibpath_overrides_runpath=yes
14476 shlibpath_overrides_runpath=yes
14481 libname_spec='$name'
14484 library_names_spec='$libname${shared_ext} $libname.a'
14485 dynamic_linker='OS/2 ld.exe'
14486 shlibpath_var=LIBPATH
14489 osf3* | osf4* | osf5*)
14493 soname_spec='${libname}${release}${shared_ext}$major'
14494 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14495 shlibpath_var=LD_LIBRARY_PATH
14496 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14497 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14502 soname_spec='${libname}${release}${shared_ext}$major'
14503 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14504 shlibpath_var=LD_LIBRARY_PATH
14511 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14512 soname_spec='${libname}${release}${shared_ext}$major'
14513 shlibpath_var=LD_LIBRARY_PATH
14514 shlibpath_overrides_runpath=yes
14515 hardcode_into_libs=yes
14516 # ldd complains unless libraries are executable
14517 postinstall_cmds='chmod +x $lib'
14522 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14523 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14524 shlibpath_var=LD_LIBRARY_PATH
14525 shlibpath_overrides_runpath=yes
14526 if test "$with_gnu_ld" = yes; then
14532 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14534 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14535 soname_spec='${libname}${release}${shared_ext}$major'
14536 shlibpath_var=LD_LIBRARY_PATH
14537 case $host_vendor in
14539 shlibpath_overrides_runpath=no
14541 export_dynamic_flag_spec='${wl}-Blargedynsym'
14542 runpath_var=LD_RUN_PATH
14550 shlibpath_overrides_runpath=no
14551 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14557 if test -d /usr/nec ;then
14559 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14560 soname_spec='$libname${shared_ext}.$major'
14561 shlibpath_var=LD_LIBRARY_PATH
14567 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14568 soname_spec='${libname}${release}${shared_ext}$major'
14569 shlibpath_var=LD_LIBRARY_PATH
14576 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14577 echo "${ECHO_T}$dynamic_linker" >&6
14578 test "$dynamic_linker" = no && can_build_shared=no
14581 # The else clause should only fire when bootstrapping the
14582 # libtool distribution, otherwise you forgot to ship ltmain.sh
14583 # with your package, and you will get complaints that there are
14584 # no rules to generate ltmain.sh.
14585 if test -f "$ltmain"; then
14586 # See if we are running on zsh, and set the options which allow our commands through
14587 # without removal of \ escapes.
14588 if test -n "${ZSH_VERSION+set}" ; then
14589 setopt NO_GLOB_SUBST
14591 # Now quote all the things that may contain metacharacters while being
14592 # careful not to overquote the AC_SUBSTed values. We take copies of the
14593 # variables and quote the copies for generation of the libtool script.
14594 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
14595 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14596 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14597 deplibs_check_method reload_flag reload_cmds need_locks \
14598 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14599 lt_cv_sys_global_symbol_to_c_name_address \
14600 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14601 old_postinstall_cmds old_postuninstall_cmds \
14605 lt_prog_compiler_wl_F77 \
14606 lt_prog_compiler_pic_F77 \
14607 lt_prog_compiler_static_F77 \
14608 lt_prog_compiler_no_builtin_flag_F77 \
14609 export_dynamic_flag_spec_F77 \
14610 thread_safe_flag_spec_F77 \
14611 whole_archive_flag_spec_F77 \
14612 enable_shared_with_static_runtimes_F77 \
14613 old_archive_cmds_F77 \
14614 old_archive_from_new_cmds_F77 \
14615 predep_objects_F77 \
14616 postdep_objects_F77 \
14619 compiler_lib_search_path_F77 \
14621 archive_expsym_cmds_F77 \
14622 postinstall_cmds_F77 \
14623 postuninstall_cmds_F77 \
14624 old_archive_from_expsyms_cmds_F77 \
14625 allow_undefined_flag_F77 \
14626 no_undefined_flag_F77 \
14627 export_symbols_cmds_F77 \
14628 hardcode_libdir_flag_spec_F77 \
14629 hardcode_libdir_flag_spec_ld_F77 \
14630 hardcode_libdir_separator_F77 \
14631 hardcode_automatic_F77 \
14633 module_expsym_cmds_F77 \
14634 lt_cv_prog_compiler_c_o_F77 \
14635 exclude_expsyms_F77 \
14636 include_expsyms_F77; do
14639 old_archive_cmds_F77 | \
14640 old_archive_from_new_cmds_F77 | \
14641 archive_cmds_F77 | \
14642 archive_expsym_cmds_F77 | \
14643 module_cmds_F77 | \
14644 module_expsym_cmds_F77 | \
14645 old_archive_from_expsyms_cmds_F77 | \
14646 export_symbols_cmds_F77 | \
14647 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14648 postinstall_cmds | postuninstall_cmds | \
14649 old_postinstall_cmds | old_postuninstall_cmds | \
14650 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14651 # Double-quote double-evaled strings.
14652 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14655 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14661 *'\$0 --fallback-echo"')
14662 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14668 cat <<__EOF__ >> "$cfgfile"
14669 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14671 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14673 # Shell to use when invoking shell scripts.
14676 # Whether or not to build shared libraries.
14677 build_libtool_libs=$enable_shared
14679 # Whether or not to build static libraries.
14680 build_old_libs=$enable_static
14682 # Whether or not to add -lc for building shared libraries.
14683 build_libtool_need_lc=$archive_cmds_need_lc_F77
14685 # Whether or not to disallow shared libs when runtime libs are static
14686 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14688 # Whether or not to optimize for fast installation.
14689 fast_install=$enable_fast_install
14692 host_alias=$host_alias
14695 # An echo program that does not interpret backslashes.
14700 AR_FLAGS=$lt_AR_FLAGS
14705 # A language-specific compiler.
14706 CC=$lt_compiler_F77
14708 # Is the compiler the GNU C compiler?
14714 # The linker used to build libraries.
14717 # Whether we need hard or soft links.
14720 # A BSD-compatible nm program.
14723 # A symbol stripping program
14726 # Used to examine libraries when file_magic_cmd begins "file"
14727 MAGIC_CMD=$MAGIC_CMD
14729 # Used on cygwin: DLL creation program.
14732 # Used on cygwin: object dumper.
14735 # Used on cygwin: assembler.
14738 # The name of the directory that contains temporary libtool files.
14741 # How to create reloadable object files.
14742 reload_flag=$lt_reload_flag
14743 reload_cmds=$lt_reload_cmds
14745 # How to pass a linker flag through the compiler.
14746 wl=$lt_lt_prog_compiler_wl_F77
14748 # Object file suffix (normally "o").
14749 objext="$ac_objext"
14751 # Old archive suffix (normally "a").
14754 # Shared library suffix (normally ".so").
14757 # Executable file suffix (normally "").
14760 # Additional compiler flags for building library objects.
14761 pic_flag=$lt_lt_prog_compiler_pic_F77
14764 # What is the maximum length of a command?
14765 max_cmd_len=$lt_cv_sys_max_cmd_len
14767 # Does compiler simultaneously support -c and -o options?
14768 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
14770 # Must we lock files when doing compilation ?
14771 need_locks=$lt_need_locks
14773 # Do we need the lib prefix for modules?
14774 need_lib_prefix=$need_lib_prefix
14776 # Do we need a version for libraries?
14777 need_version=$need_version
14779 # Whether dlopen is supported.
14780 dlopen_support=$enable_dlopen
14782 # Whether dlopen of programs is supported.
14783 dlopen_self=$enable_dlopen_self
14785 # Whether dlopen of statically linked programs is supported.
14786 dlopen_self_static=$enable_dlopen_self_static
14788 # Compiler flag to prevent dynamic linking.
14789 link_static_flag=$lt_lt_prog_compiler_static_F77
14791 # Compiler flag to turn off builtin functions.
14792 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
14794 # Compiler flag to allow reflexive dlopens.
14795 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
14797 # Compiler flag to generate shared objects directly from archives.
14798 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
14800 # Compiler flag to generate thread-safe objects.
14801 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
14803 # Library versioning type.
14804 version_type=$version_type
14806 # Format of library name prefix.
14807 libname_spec=$lt_libname_spec
14809 # List of archive names. First name is the real one, the rest are links.
14810 # The last name is the one that the linker finds with -lNAME.
14811 library_names_spec=$lt_library_names_spec
14813 # The coded name of the library, if different from the real name.
14814 soname_spec=$lt_soname_spec
14816 # Commands used to build and install an old-style archive.
14818 old_archive_cmds=$lt_old_archive_cmds_F77
14819 old_postinstall_cmds=$lt_old_postinstall_cmds
14820 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14822 # Create an old-style archive from a shared archive.
14823 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
14825 # Create a temporary old-style archive to link instead of a shared archive.
14826 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
14828 # Commands used to build and install a shared archive.
14829 archive_cmds=$lt_archive_cmds_F77
14830 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
14831 postinstall_cmds=$lt_postinstall_cmds
14832 postuninstall_cmds=$lt_postuninstall_cmds
14834 # Commands used to build a loadable module (assumed same as above if empty)
14835 module_cmds=$lt_module_cmds_F77
14836 module_expsym_cmds=$lt_module_expsym_cmds_F77
14838 # Commands to strip libraries.
14839 old_striplib=$lt_old_striplib
14840 striplib=$lt_striplib
14842 # Dependencies to place before the objects being linked to create a
14844 predep_objects=$lt_predep_objects_F77
14846 # Dependencies to place after the objects being linked to create a
14848 postdep_objects=$lt_postdep_objects_F77
14850 # Dependencies to place before the objects being linked to create a
14852 predeps=$lt_predeps_F77
14854 # Dependencies to place after the objects being linked to create a
14856 postdeps=$lt_postdeps_F77
14858 # The library search path used internally by the compiler when linking
14859 # a shared library.
14860 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
14862 # Method to check whether dependent libraries are shared objects.
14863 deplibs_check_method=$lt_deplibs_check_method
14865 # Command to use when deplibs_check_method == file_magic.
14866 file_magic_cmd=$lt_file_magic_cmd
14868 # Flag that allows shared libraries with undefined symbols to be built.
14869 allow_undefined_flag=$lt_allow_undefined_flag_F77
14871 # Flag that forces no undefined symbols.
14872 no_undefined_flag=$lt_no_undefined_flag_F77
14874 # Commands used to finish a libtool library installation in a directory.
14875 finish_cmds=$lt_finish_cmds
14877 # Same as above, but a single script fragment to be evaled but not shown.
14878 finish_eval=$lt_finish_eval
14880 # Take the output of nm and produce a listing of raw symbols and C names.
14881 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14883 # Transform the output of nm in a proper C declaration
14884 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14886 # Transform the output of nm in a C name address pair
14887 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14889 # This is the shared library runtime path variable.
14890 runpath_var=$runpath_var
14892 # This is the shared library path variable.
14893 shlibpath_var=$shlibpath_var
14895 # Is shlibpath searched before the hard-coded library search path?
14896 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14898 # How to hardcode a shared library path into an executable.
14899 hardcode_action=$hardcode_action_F77
14901 # Whether we should hardcode library paths into libraries.
14902 hardcode_into_libs=$hardcode_into_libs
14904 # Flag to hardcode \$libdir into a binary during linking.
14905 # This must work even if \$libdir does not exist.
14906 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
14908 # If ld is used when linking, flag to hardcode \$libdir into
14909 # a binary during linking. This must work even if \$libdir does
14911 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
14913 # Whether we need a single -rpath flag with a separated argument.
14914 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
14916 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14917 # resulting binary.
14918 hardcode_direct=$hardcode_direct_F77
14920 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14921 # resulting binary.
14922 hardcode_minus_L=$hardcode_minus_L_F77
14924 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14925 # the resulting binary.
14926 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
14928 # Set to yes if building a shared library automatically hardcodes DIR into the library
14929 # and all subsequent libraries and executables linked against it.
14930 hardcode_automatic=$hardcode_automatic_F77
14932 # Variables whose values should be saved in libtool wrapper scripts and
14933 # restored at relink time.
14934 variables_saved_for_relink="$variables_saved_for_relink"
14936 # Whether libtool must link a program against all its dependency libraries.
14937 link_all_deplibs=$link_all_deplibs_F77
14939 # Compile-time system search path for libraries
14940 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14942 # Run-time system search path for libraries
14943 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14945 # Fix the shell variable \$srcfile for the compiler.
14946 fix_srcfile_path="$fix_srcfile_path_F77"
14948 # Set to yes if exported symbols are required.
14949 always_export_symbols=$always_export_symbols_F77
14951 # The commands to list exported symbols.
14952 export_symbols_cmds=$lt_export_symbols_cmds_F77
14954 # The commands to extract the exported symbol list from a shared archive.
14955 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14957 # Symbols that should not be listed in the preloaded symbols.
14958 exclude_expsyms=$lt_exclude_expsyms_F77
14960 # Symbols that must always be exported.
14961 include_expsyms=$lt_include_expsyms_F77
14963 # ### END LIBTOOL TAG CONFIG: $tagname
14969 # If there is no Makefile yet, we rely on a make rule to execute
14970 # `config.status --recheck' to rerun these tests and create the
14971 # libtool script then.
14972 test -f Makefile && make "$ltmain"
14977 ac_cpp='$CPP $CPPFLAGS'
14978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14990 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
14994 # Source file extension for Java test sources.
14997 # Object file extension for compiled Java test sources.
15001 # Code to be used in simple compile tests
15002 lt_simple_compile_test_code="class foo {}\n"
15004 # Code to be used in simple link tests
15005 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
15007 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15009 # If no C compiler was specified, use CC.
15012 # Allow CC to be a program name with arguments.
15016 # Allow CC to be a program name with arguments.
15022 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15023 archive_cmds_need_lc_GCJ=no
15026 ## There is no encapsulation within the following macros, do not change
15027 ## the running order or otherwise move them around unless you know exactly
15028 ## what you are doing...
15030 lt_prog_compiler_no_builtin_flag_GCJ=
15032 if test "$GCC" = yes; then
15033 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15035 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15036 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15037 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15038 echo $ECHO_N "(cached) $ECHO_C" >&6
15040 lt_cv_prog_compiler_rtti_exceptions=no
15041 ac_outfile=conftest.$ac_objext
15042 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15043 lt_compiler_flag="-fno-rtti -fno-exceptions"
15044 # Insert the option either (1) after the last *FLAGS variable, or
15045 # (2) before a word containing "conftest.", or (3) at the end.
15046 # Note that $ac_compile itself does not contain backslashes and begins
15047 # with a dollar sign (not a hyphen), so the echo should work correctly.
15048 # The option is referenced via a variable to avoid confusing sed.
15049 lt_compile=`echo "$ac_compile" | $SED \
15050 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15051 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15052 -e 's:$: $lt_compiler_flag:'`
15053 (eval echo "\"\$as_me:15053: $lt_compile\"" >&5)
15054 (eval "$lt_compile" 2>conftest.err)
15056 cat conftest.err >&5
15057 echo "$as_me:15057: \$? = $ac_status" >&5
15058 if (exit $ac_status) && test -s "$ac_outfile"; then
15059 # The compiler can only warn and ignore the option if not recognized
15060 # So say no if there are warnings
15061 if test ! -s conftest.err; then
15062 lt_cv_prog_compiler_rtti_exceptions=yes
15068 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15069 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15071 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15072 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15079 lt_prog_compiler_wl_GCJ=
15080 lt_prog_compiler_pic_GCJ=
15081 lt_prog_compiler_static_GCJ=
15083 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15084 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15086 if test "$GCC" = yes; then
15087 lt_prog_compiler_wl_GCJ='-Wl,'
15088 lt_prog_compiler_static_GCJ='-static'
15092 # All AIX code is PIC.
15093 if test "$host_cpu" = ia64; then
15094 # AIX 5 now supports IA64 processor
15095 lt_prog_compiler_static_GCJ='-Bstatic'
15100 # FIXME: we need at least 68020 code to build shared libraries, but
15101 # adding the `-m68020' flag to GCC prevents building anything better,
15103 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15106 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15107 # PIC is the default for these OSes.
15110 mingw* | pw32* | os2*)
15111 # This hack is so that the source file can tell whether it is being
15112 # built for inclusion in a dll (and should export symbols for example).
15113 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15116 darwin* | rhapsody*)
15117 # PIC is the default on this platform
15118 # Common symbols not allowed in MH_DYLIB files
15119 lt_prog_compiler_pic_GCJ='-fno-common'
15123 # Just because we use GCC doesn't mean we suddenly get shared libraries
15124 # on systems that don't support them.
15125 lt_prog_compiler_can_build_shared_GCJ=no
15130 if test -d /usr/nec; then
15131 lt_prog_compiler_pic_GCJ=-Kconform_pic
15136 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15137 # not for PA HP-UX.
15138 case "$host_cpu" in
15143 lt_prog_compiler_pic_GCJ='-fPIC'
15149 lt_prog_compiler_pic_GCJ='-fPIC'
15153 # PORTME Check for flag to pass linker flags through the system compiler.
15156 lt_prog_compiler_wl_GCJ='-Wl,'
15157 if test "$host_cpu" = ia64; then
15158 # AIX 5 now supports IA64 processor
15159 lt_prog_compiler_static_GCJ='-Bstatic'
15161 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15165 mingw* | pw32* | os2*)
15166 # This hack is so that the source file can tell whether it is being
15167 # built for inclusion in a dll (and should export symbols for example).
15168 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15171 hpux9* | hpux10* | hpux11*)
15172 lt_prog_compiler_wl_GCJ='-Wl,'
15173 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15174 # not for PA HP-UX.
15175 case "$host_cpu" in
15180 lt_prog_compiler_pic_GCJ='+Z'
15183 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15184 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15187 irix5* | irix6* | nonstopux*)
15188 lt_prog_compiler_wl_GCJ='-Wl,'
15189 # PIC (with -KPIC) is the default.
15190 lt_prog_compiler_static_GCJ='-non_shared'
15194 lt_prog_compiler_pic_GCJ='-KPIC'
15195 lt_prog_compiler_static_GCJ='-Bstatic'
15201 lt_prog_compiler_wl_GCJ='-Wl,'
15202 lt_prog_compiler_pic_GCJ='-KPIC'
15203 lt_prog_compiler_static_GCJ='-static'
15206 lt_prog_compiler_wl_GCJ='-Wl,'
15207 # All Alpha code is PIC.
15208 lt_prog_compiler_static_GCJ='-non_shared'
15213 osf3* | osf4* | osf5*)
15214 lt_prog_compiler_wl_GCJ='-Wl,'
15215 # All OSF/1 code is PIC.
15216 lt_prog_compiler_static_GCJ='-non_shared'
15220 lt_prog_compiler_pic_GCJ='-Kpic'
15221 lt_prog_compiler_static_GCJ='-dn'
15225 lt_prog_compiler_wl_GCJ='-Wl,'
15226 lt_prog_compiler_pic_GCJ='-KPIC'
15227 lt_prog_compiler_static_GCJ='-Bstatic'
15231 lt_prog_compiler_wl_GCJ='-Qoption ld '
15232 lt_prog_compiler_pic_GCJ='-PIC'
15233 lt_prog_compiler_static_GCJ='-Bstatic'
15236 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15237 lt_prog_compiler_wl_GCJ='-Wl,'
15238 lt_prog_compiler_pic_GCJ='-KPIC'
15239 lt_prog_compiler_static_GCJ='-Bstatic'
15243 if test -d /usr/nec ;then
15244 lt_prog_compiler_pic_GCJ='-Kconform_pic'
15245 lt_prog_compiler_static_GCJ='-Bstatic'
15250 lt_prog_compiler_pic_GCJ='-pic'
15251 lt_prog_compiler_static_GCJ='-Bstatic'
15255 lt_prog_compiler_can_build_shared_GCJ=no
15260 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15261 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15264 # Check to make sure the PIC flag actually works.
15266 if test -n "$lt_prog_compiler_pic_GCJ"; then
15267 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15268 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15269 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15270 echo $ECHO_N "(cached) $ECHO_C" >&6
15272 lt_prog_compiler_pic_works_GCJ=no
15273 ac_outfile=conftest.$ac_objext
15274 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15275 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15276 # Insert the option either (1) after the last *FLAGS variable, or
15277 # (2) before a word containing "conftest.", or (3) at the end.
15278 # Note that $ac_compile itself does not contain backslashes and begins
15279 # with a dollar sign (not a hyphen), so the echo should work correctly.
15280 # The option is referenced via a variable to avoid confusing sed.
15281 lt_compile=`echo "$ac_compile" | $SED \
15282 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15283 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15284 -e 's:$: $lt_compiler_flag:'`
15285 (eval echo "\"\$as_me:15285: $lt_compile\"" >&5)
15286 (eval "$lt_compile" 2>conftest.err)
15288 cat conftest.err >&5
15289 echo "$as_me:15289: \$? = $ac_status" >&5
15290 if (exit $ac_status) && test -s "$ac_outfile"; then
15291 # The compiler can only warn and ignore the option if not recognized
15292 # So say no if there are warnings
15293 if test ! -s conftest.err; then
15294 lt_prog_compiler_pic_works_GCJ=yes
15300 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15301 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15303 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15304 case $lt_prog_compiler_pic_GCJ in
15306 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15309 lt_prog_compiler_pic_GCJ=
15310 lt_prog_compiler_can_build_shared_GCJ=no
15315 # For platforms which do not support PIC, -DPIC is meaningless:
15317 lt_prog_compiler_pic_GCJ=
15320 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15324 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15325 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15326 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15327 echo $ECHO_N "(cached) $ECHO_C" >&6
15329 lt_cv_prog_compiler_c_o_GCJ=no
15330 $rm -r conftest 2>/dev/null
15334 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15336 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15337 # that will create temporary files in the current directory regardless of
15338 # the output directory. Thus, making CWD read-only will cause this test
15339 # to fail, enabling locking or at least warning the user not to do parallel
15343 lt_compiler_flag="-o out/conftest2.$ac_objext"
15344 # Insert the option either (1) after the last *FLAGS variable, or
15345 # (2) before a word containing "conftest.", or (3) at the end.
15346 # Note that $ac_compile itself does not contain backslashes and begins
15347 # with a dollar sign (not a hyphen), so the echo should work correctly.
15348 lt_compile=`echo "$ac_compile" | $SED \
15349 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15350 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15351 -e 's:$: $lt_compiler_flag:'`
15352 (eval echo "\"\$as_me:15352: $lt_compile\"" >&5)
15353 (eval "$lt_compile" 2>out/conftest.err)
15355 cat out/conftest.err >&5
15356 echo "$as_me:15356: \$? = $ac_status" >&5
15357 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15359 # The compiler can only warn and ignore the option if not recognized
15360 # So say no if there are warnings
15361 if test ! -s out/conftest.err; then
15362 lt_cv_prog_compiler_c_o_GCJ=yes
15366 $rm conftest* out/*
15373 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15374 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15377 hard_links="nottested"
15378 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15379 # do not overwrite the value of need_locks provided by the user
15380 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15381 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15384 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15386 ln conftest.a conftest.b 2>&5 || hard_links=no
15387 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15388 echo "$as_me:$LINENO: result: $hard_links" >&5
15389 echo "${ECHO_T}$hard_links" >&6
15390 if test "$hard_links" = no; then
15391 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15392 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15399 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15400 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15403 allow_undefined_flag_GCJ=
15404 enable_shared_with_static_runtimes_GCJ=no
15406 archive_expsym_cmds_GCJ=
15407 old_archive_From_new_cmds_GCJ=
15408 old_archive_from_expsyms_cmds_GCJ=
15409 export_dynamic_flag_spec_GCJ=
15410 whole_archive_flag_spec_GCJ=
15411 thread_safe_flag_spec_GCJ=
15412 hardcode_libdir_flag_spec_GCJ=
15413 hardcode_libdir_flag_spec_ld_GCJ=
15414 hardcode_libdir_separator_GCJ=
15415 hardcode_direct_GCJ=no
15416 hardcode_minus_L_GCJ=no
15417 hardcode_shlibpath_var_GCJ=unsupported
15418 link_all_deplibs_GCJ=unknown
15419 hardcode_automatic_GCJ=no
15421 module_expsym_cmds_GCJ=
15422 always_export_symbols_GCJ=no
15423 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15424 # include_expsyms should be a list of space-separated symbols to be *always*
15425 # included in the symbol list
15426 include_expsyms_GCJ=
15427 # exclude_expsyms can be an extended regexp of symbols to exclude
15428 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15429 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15430 # as well as any symbol that contains `d'.
15431 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15432 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15433 # platforms (ab)use it in PIC code, but their linkers get confused if
15434 # the symbol is explicitly referenced. Since portable code cannot
15435 # rely on this symbol name, it's probably fine to never include it in
15436 # preloaded symbol tables.
15437 extract_expsyms_cmds=
15440 cygwin* | mingw* | pw32*)
15441 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15442 # When not using gcc, we currently assume that we are using
15443 # Microsoft Visual C++.
15444 if test "$GCC" != yes; then
15454 if test "$with_gnu_ld" = yes; then
15455 # If archive_cmds runs LD, not CC, wlarc should be empty
15458 # See if GNU ld supports shared libraries.
15460 aix3* | aix4* | aix5*)
15461 # On AIX/PPC, the GNU linker is very broken
15462 if test "$host_cpu" != ia64; then
15466 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15467 *** to be unable to reliably create shared libraries on AIX.
15468 *** Therefore, libtool is disabling shared libraries support. If you
15469 *** really care for shared libraries, you may want to modify your PATH
15470 *** so that a non-GNU linker is found, and then restart.
15477 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)'
15478 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15479 hardcode_minus_L_GCJ=yes
15481 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15482 # that the semantics of dynamic libraries on AmigaOS, at least up
15483 # to version 4, is to share data among multiple programs linked
15484 # with the same dynamic library. Since this doesn't match the
15485 # behavior of shared libraries on other platforms, we can't use
15491 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15492 allow_undefined_flag_GCJ=unsupported
15493 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15494 # support --undefined. This deserves some investigation. FIXME
15495 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15501 cygwin* | mingw* | pw32*)
15502 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15503 # as there is no search path for DLLs.
15504 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15505 allow_undefined_flag_GCJ=unsupported
15506 always_export_symbols_GCJ=no
15507 enable_shared_with_static_runtimes_GCJ=yes
15508 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15510 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15511 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15512 # If the export-symbols file already is a .def file (1st line
15513 # is EXPORTS), use it as is; otherwise, prepend...
15514 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15515 cp $export_symbols $output_objdir/$soname.def;
15517 echo EXPORTS > $output_objdir/$soname.def;
15518 cat $export_symbols >> $output_objdir/$soname.def;
15520 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15527 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15528 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15531 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15532 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15537 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15541 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15542 *** create shared libraries on Solaris systems. Therefore, libtool
15543 *** is disabling shared libraries support. We urge you to upgrade GNU
15544 *** binutils to release 2.9.1 or newer. Another option is to modify
15545 *** your PATH or compiler configuration so that the native linker is
15546 *** used, and then restart.
15549 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15550 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15551 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15558 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15560 hardcode_direct_GCJ=yes
15561 hardcode_shlibpath_var_GCJ=no
15565 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15566 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15567 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15574 if test "$ld_shlibs_GCJ" = yes; then
15575 runpath_var=LD_RUN_PATH
15576 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15577 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15578 # ancient GNU ld didn't support --whole-archive et. al.
15579 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15580 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15582 whole_archive_flag_spec_GCJ=
15586 # PORTME fill in a description of your system's linker (not GNU ld)
15589 allow_undefined_flag_GCJ=unsupported
15590 always_export_symbols_GCJ=yes
15591 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'
15592 # Note: this linker hardcodes the directories in LIBPATH if there
15593 # are no directories specified by -L.
15594 hardcode_minus_L_GCJ=yes
15595 if test "$GCC" = yes && test -z "$link_static_flag"; then
15596 # Neither direct hardcoding nor static linking is supported with a
15598 hardcode_direct_GCJ=unsupported
15603 if test "$host_cpu" = ia64; then
15604 # On IA64, the linker does run time linking by default, so we don't
15605 # have to do anything special.
15606 aix_use_runtimelinking=no
15607 exp_sym_flag='-Bexport'
15610 # If we're using GNU nm, then we don't want the "-C" option.
15611 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15612 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15613 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'
15615 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'
15617 aix_use_runtimelinking=no
15619 # Test if we are trying to use run time linking or normal
15620 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15621 # need to do runtime linking.
15622 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15623 for ld_flag in $LDFLAGS; do
15624 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15625 aix_use_runtimelinking=yes
15631 exp_sym_flag='-bexport'
15632 no_entry_flag='-bnoentry'
15635 # When large executables or shared objects are built, AIX ld can
15636 # have problems creating the table of contents. If linking a library
15637 # or program results in "error TOC overflow" add -mminimal-toc to
15638 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15639 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15641 archive_cmds_GCJ=''
15642 hardcode_direct_GCJ=yes
15643 hardcode_libdir_separator_GCJ=':'
15644 link_all_deplibs_GCJ=yes
15646 if test "$GCC" = yes; then
15647 case $host_os in aix4.012|aix4.012.*)
15648 # We only want to do this on AIX 4.2 and lower, the check
15649 # below for broken collect2 doesn't work under 4.3+
15650 collect2name=`${CC} -print-prog-name=collect2`
15651 if test -f "$collect2name" && \
15652 strings "$collect2name" | grep resolve_lib_name >/dev/null
15654 # We have reworked collect2
15655 hardcode_direct_GCJ=yes
15657 # We have old collect2
15658 hardcode_direct_GCJ=unsupported
15659 # It fails to find uninstalled libraries when the uninstalled
15660 # path is not listed in the libpath. Setting hardcode_minus_L
15661 # to unsupported forces relinking
15662 hardcode_minus_L_GCJ=yes
15663 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15664 hardcode_libdir_separator_GCJ=
15667 shared_flag='-shared'
15670 if test "$host_cpu" = ia64; then
15671 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15672 # chokes on -Wl,-G. The following line is correct:
15675 if test "$aix_use_runtimelinking" = yes; then
15676 shared_flag='${wl}-G'
15678 shared_flag='${wl}-bM:SRE'
15683 # It seems that -bexpall does not export symbols beginning with
15684 # underscore (_), so it is better to generate a list of symbols to export.
15685 always_export_symbols_GCJ=yes
15686 if test "$aix_use_runtimelinking" = yes; then
15687 # Warning - without using the other runtime loading flags (-brtl),
15688 # -berok will link without error, but may produce a broken library.
15689 allow_undefined_flag_GCJ='-berok'
15690 # Determine the default libpath from the value encoded in an empty executable.
15691 cat >conftest.$ac_ext <<_ACEOF
15692 #line $LINENO "configure"
15695 cat confdefs.h >>conftest.$ac_ext
15696 cat >>conftest.$ac_ext <<_ACEOF
15697 /* end confdefs.h. */
15707 rm -f conftest.$ac_objext conftest$ac_exeext
15708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15709 (eval $ac_link) 2>&5
15711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15712 (exit $ac_status); } &&
15713 { ac_try='test -s conftest$ac_exeext'
15714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15715 (eval $ac_try) 2>&5
15717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15718 (exit $ac_status); }; }; then
15720 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15722 # Check for a 64-bit object if we didn't find anything.
15723 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; }
15726 echo "$as_me: failed program was:" >&5
15727 sed 's/^/| /' conftest.$ac_ext >&5
15730 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15731 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15733 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15734 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"
15736 if test "$host_cpu" = ia64; then
15737 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
15738 allow_undefined_flag_GCJ="-z nodefs"
15739 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"
15741 # Determine the default libpath from the value encoded in an empty executable.
15742 cat >conftest.$ac_ext <<_ACEOF
15743 #line $LINENO "configure"
15746 cat confdefs.h >>conftest.$ac_ext
15747 cat >>conftest.$ac_ext <<_ACEOF
15748 /* end confdefs.h. */
15758 rm -f conftest.$ac_objext conftest$ac_exeext
15759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15760 (eval $ac_link) 2>&5
15762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15763 (exit $ac_status); } &&
15764 { ac_try='test -s conftest$ac_exeext'
15765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15766 (eval $ac_try) 2>&5
15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769 (exit $ac_status); }; }; then
15771 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15773 # Check for a 64-bit object if we didn't find anything.
15774 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; }
15777 echo "$as_me: failed program was:" >&5
15778 sed 's/^/| /' conftest.$ac_ext >&5
15781 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15782 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15784 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15785 # Warning - without using the other run time loading flags,
15786 # -berok will link without error, but may produce a broken library.
15787 no_undefined_flag_GCJ=' ${wl}-bernotok'
15788 allow_undefined_flag_GCJ=' ${wl}-berok'
15789 # -bexpall does not export symbols beginning with underscore (_)
15790 always_export_symbols_GCJ=yes
15791 # Exported symbols can be pulled into shared objects from archives
15792 whole_archive_flag_spec_GCJ=' '
15793 archive_cmds_need_lc_GCJ=yes
15794 # This is similar to how AIX traditionally builds it's shared libraries.
15795 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'
15801 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)'
15802 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15803 hardcode_minus_L_GCJ=yes
15804 # see comment about different semantics on the GNU ld section
15809 export_dynamic_flag_spec_GCJ=-rdynamic
15812 cygwin* | mingw* | pw32*)
15813 # When not using gcc, we currently assume that we are using
15814 # Microsoft Visual C++.
15815 # hardcode_libdir_flag_spec is actually meaningless, as there is
15816 # no search path for DLLs.
15817 hardcode_libdir_flag_spec_GCJ=' '
15818 allow_undefined_flag_GCJ=unsupported
15819 # Tell ltmain to make .lib files, not .a files.
15821 # Tell ltmain to make .dll files, not .so files.
15823 # FIXME: Setting linknames here is a bad hack.
15824 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15825 # The linker will automatically build a .lib file if we build a DLL.
15826 old_archive_From_new_cmds_GCJ='true'
15827 # FIXME: Should let the user specify the lib program.
15828 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
15829 fix_srcfile_path='`cygpath -w "$srcfile"`'
15830 enable_shared_with_static_runtimes_GCJ=yes
15833 darwin* | rhapsody*)
15834 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
15835 archive_cmds_need_lc_GCJ=no
15837 rhapsody* | darwin1.[012])
15838 allow_undefined_flag_GCJ='-undefined suppress'
15841 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
15844 # FIXME: Relying on posixy $() will cause problems for
15845 # cross-compilation, but unfortunately the echo tests do not
15846 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
15847 # `"' quotes if we put them in here... so don't!
15848 lt_int_apple_cc_single_mod=no
15849 output_verbose_link_cmd='echo'
15850 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
15851 lt_int_apple_cc_single_mod=yes
15853 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15854 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15856 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'
15858 module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
15859 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15860 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15861 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}'
15863 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}'
15865 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}'
15866 hardcode_direct_GCJ=no
15867 hardcode_automatic_GCJ=yes
15868 hardcode_shlibpath_var_GCJ=unsupported
15869 whole_archive_flag_spec_GCJ='-all_load $convenience'
15870 link_all_deplibs_GCJ=yes
15875 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15876 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15877 hardcode_shlibpath_var_GCJ=no
15884 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15885 # support. Future versions do this automatically, but an explicit c++rt0.o
15886 # does not break anything, and helps significantly (at the cost of a little
15889 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15890 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15891 hardcode_direct_GCJ=yes
15892 hardcode_shlibpath_var_GCJ=no
15895 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15897 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15898 hardcode_direct_GCJ=yes
15899 hardcode_minus_L_GCJ=yes
15900 hardcode_shlibpath_var_GCJ=no
15903 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15905 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15906 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15907 hardcode_direct_GCJ=yes
15908 hardcode_shlibpath_var_GCJ=no
15912 if test "$GCC" = yes; then
15913 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'
15915 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'
15917 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15918 hardcode_libdir_separator_GCJ=:
15919 hardcode_direct_GCJ=yes
15921 # hardcode_minus_L: Not really in the search PATH,
15922 # but as the default location of the library.
15923 hardcode_minus_L_GCJ=yes
15924 export_dynamic_flag_spec_GCJ='${wl}-E'
15928 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15929 case "$host_cpu" in
15931 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15934 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15938 case "$host_cpu" in
15940 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15943 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15947 if test "$with_gnu_ld" = no; then
15948 case "$host_cpu" in
15950 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15951 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
15952 hardcode_libdir_separator_GCJ=:
15953 hardcode_direct_GCJ=no
15954 hardcode_shlibpath_var_GCJ=no
15957 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15958 hardcode_direct_GCJ=no
15959 hardcode_shlibpath_var_GCJ=no
15961 # hardcode_minus_L: Not really in the search PATH,
15962 # but as the default location of the library.
15963 hardcode_minus_L_GCJ=yes
15966 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15967 hardcode_libdir_separator_GCJ=:
15968 hardcode_direct_GCJ=yes
15969 export_dynamic_flag_spec_GCJ='${wl}-E'
15971 # hardcode_minus_L: Not really in the search PATH,
15972 # but as the default location of the library.
15973 hardcode_minus_L_GCJ=yes
15979 irix5* | irix6* | nonstopux*)
15980 if test "$GCC" = yes; then
15981 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'
15983 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'
15984 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
15986 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15987 hardcode_libdir_separator_GCJ=:
15988 link_all_deplibs_GCJ=yes
15992 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15993 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15995 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15997 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15998 hardcode_direct_GCJ=yes
15999 hardcode_shlibpath_var_GCJ=no
16003 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16004 hardcode_direct_GCJ=yes
16005 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16006 hardcode_libdir_separator_GCJ=:
16007 hardcode_shlibpath_var_GCJ=no
16011 hardcode_direct_GCJ=yes
16012 hardcode_shlibpath_var_GCJ=no
16013 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16014 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16015 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16016 export_dynamic_flag_spec_GCJ='${wl}-E'
16019 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16020 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16021 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16024 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16025 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16032 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16033 hardcode_minus_L_GCJ=yes
16034 allow_undefined_flag_GCJ=unsupported
16035 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'
16036 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16040 if test "$GCC" = yes; then
16041 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16042 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'
16044 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16045 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'
16047 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16048 hardcode_libdir_separator_GCJ=:
16051 osf4* | osf5*) # as osf3* with the addition of -msym flag
16052 if test "$GCC" = yes; then
16053 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16054 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'
16055 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16057 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16058 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'
16059 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~
16060 $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'
16062 # Both c and cxx compiler support -rpath directly
16063 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16065 hardcode_libdir_separator_GCJ=:
16069 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16070 hardcode_shlibpath_var_GCJ=no
16071 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16072 runpath_var=LD_RUN_PATH
16073 hardcode_runpath_var=yes
16077 no_undefined_flag_GCJ=' -z text'
16078 if test "$GCC" = yes; then
16079 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16080 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16081 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16083 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16084 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16085 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16087 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16088 hardcode_shlibpath_var_GCJ=no
16090 solaris2.[0-5] | solaris2.[0-5].*) ;;
16091 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16092 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16094 link_all_deplibs_GCJ=yes
16098 if test "x$host_vendor" = xsequent; then
16099 # Use $CC to link under sequent, because it throws in some extra .o
16100 # files that make .init and .fini sections work.
16101 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16103 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16105 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16106 hardcode_direct_GCJ=yes
16107 hardcode_minus_L_GCJ=yes
16108 hardcode_shlibpath_var_GCJ=no
16112 case $host_vendor in
16114 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16115 hardcode_direct_GCJ=yes # is this really true???
16118 ## LD is ld it makes a PLAMLIB
16119 ## CC just makes a GrossModule.
16120 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16121 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16122 hardcode_direct_GCJ=no
16125 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16126 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16129 runpath_var='LD_RUN_PATH'
16130 hardcode_shlibpath_var_GCJ=no
16134 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16135 hardcode_shlibpath_var_GCJ=no
16136 export_dynamic_flag_spec_GCJ='-Bexport'
16140 if test -d /usr/nec; then
16141 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16142 hardcode_shlibpath_var_GCJ=no
16143 runpath_var=LD_RUN_PATH
16144 hardcode_runpath_var=yes
16150 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16151 hardcode_direct_GCJ=yes
16152 hardcode_minus_L_GCJ=no
16153 hardcode_shlibpath_var_GCJ=no
16154 hardcode_runpath_var=yes
16155 runpath_var=LD_RUN_PATH
16158 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16159 no_undefined_flag_GCJ='${wl}-z ${wl}text'
16160 if test "$GCC" = yes; then
16161 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16163 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16165 runpath_var='LD_RUN_PATH'
16166 hardcode_shlibpath_var_GCJ=no
16170 no_undefined_flag_GCJ=' -z text'
16171 # $CC -shared without GNU ld will not create a library from C++
16172 # object files and a static libstdc++, better avoid it by now
16173 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16174 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16175 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16176 hardcode_libdir_flag_spec_GCJ=
16177 hardcode_shlibpath_var_GCJ=no
16178 runpath_var='LD_RUN_PATH'
16182 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16183 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16184 hardcode_shlibpath_var_GCJ=no
16193 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16194 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16195 test "$ld_shlibs_GCJ" = no && can_build_shared=no
16197 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16198 if test "$GCC" = yes; then
16199 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16203 # Do we need to explicitly link libc?
16205 case "x$archive_cmds_need_lc_GCJ" in
16207 # Assume -lc should be added
16208 archive_cmds_need_lc_GCJ=yes
16210 if test "$enable_shared" = yes && test "$GCC" = yes; then
16211 case $archive_cmds_GCJ in
16213 # FIXME: we may have to deal with multi-command sequences.
16216 # Test whether the compiler implicitly links with -lc since on some
16217 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16218 # to ld, don't add -lc before -lgcc.
16219 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16220 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16222 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16225 (eval $ac_compile) 2>&5
16227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16228 (exit $ac_status); } 2>conftest.err; then
16231 libobjs=conftest.$ac_objext
16233 wl=$lt_prog_compiler_wl_GCJ
16239 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16240 allow_undefined_flag_GCJ=
16241 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16242 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16245 (exit $ac_status); }
16247 archive_cmds_need_lc_GCJ=no
16249 archive_cmds_need_lc_GCJ=yes
16251 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16253 cat conftest.err 1>&5
16256 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16257 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16264 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16265 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16266 hardcode_action_GCJ=
16267 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
16268 test -n "$runpath_var GCJ" || \
16269 test "X$hardcode_automatic_GCJ"="Xyes" ; then
16271 # We can hardcode non-existant directories.
16272 if test "$hardcode_direct_GCJ" != no &&
16273 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16274 # have to relink, otherwise we might link with an installed library
16275 # when we should be linking with a yet-to-be-installed one
16276 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
16277 test "$hardcode_minus_L_GCJ" != no; then
16278 # Linking always hardcodes the temporary library directory.
16279 hardcode_action_GCJ=relink
16281 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16282 hardcode_action_GCJ=immediate
16285 # We cannot hardcode anything, or else we can only hardcode existing
16287 hardcode_action_GCJ=unsupported
16289 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
16290 echo "${ECHO_T}$hardcode_action_GCJ" >&6
16292 if test "$hardcode_action_GCJ" = relink; then
16293 # Fast installation is not supported
16294 enable_fast_install=no
16295 elif test "$shlibpath_overrides_runpath" = yes ||
16296 test "$enable_shared" = no; then
16297 # Fast installation is not necessary
16298 enable_fast_install=needless
16303 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16304 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16305 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16306 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16307 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16308 echo "$as_me:$LINENO: result: yes" >&5
16309 echo "${ECHO_T}yes" >&6
16311 # FIXME - insert some real tests, host_os isn't really good enough
16314 if test -n "$STRIP" ; then
16315 striplib="$STRIP -x"
16316 echo "$as_me:$LINENO: result: yes" >&5
16317 echo "${ECHO_T}yes" >&6
16319 echo "$as_me:$LINENO: result: no" >&5
16320 echo "${ECHO_T}no" >&6
16324 echo "$as_me:$LINENO: result: no" >&5
16325 echo "${ECHO_T}no" >&6
16330 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16331 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16332 library_names_spec=
16333 libname_spec='lib$name'
16337 postuninstall_cmds=
16341 shlibpath_overrides_runpath=unknown
16343 dynamic_linker="$host_os ld.so"
16344 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16345 if test "$GCC" = yes; then
16346 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16347 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16348 # if the path contains ";" then we assume it to be the separator
16349 # otherwise default to the standard path separator (i.e. ":") - it is
16350 # assumed that no part of a normal pathname contains ";" but that should
16351 # okay in the real world where ";" in dirpaths is itself problematic.
16352 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16354 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16357 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16359 need_lib_prefix=unknown
16360 hardcode_into_libs=no
16362 # when you set need_version to no, make sure it does not cause -set_version
16363 # flags to be left without arguments
16364 need_version=unknown
16369 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16370 shlibpath_var=LIBPATH
16372 # AIX 3 has no versioning support, so we append a major version to the name.
16373 soname_spec='${libname}${release}${shared_ext}$major'
16380 hardcode_into_libs=yes
16381 if test "$host_cpu" = ia64; then
16382 # AIX 5 supports IA64
16383 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16384 shlibpath_var=LD_LIBRARY_PATH
16386 # With GCC up to 2.95.x, collect2 would create an import file
16387 # for dependence libraries. The import file would start with
16388 # the line `#! .'. This would cause the generated library to
16389 # depend on `.', always an invalid library. This was fixed in
16390 # development snapshots of GCC prior to 3.0.
16392 aix4 | aix4.[01] | aix4.[01].*)
16393 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16395 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16398 can_build_shared=no
16402 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16403 # soname into executable. Probably we can add versioning support to
16404 # collect2, so additional links can be useful in future.
16405 if test "$aix_use_runtimelinking" = yes; then
16406 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16407 # instead of lib<name>.a to let people know that these are not
16408 # typical AIX shared libraries.
16409 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16411 # We preserve .a as extension for shared libraries through AIX4.2
16412 # and later when we are not doing run time linking.
16413 library_names_spec='${libname}${release}.a $libname.a'
16414 soname_spec='${libname}${release}${shared_ext}$major'
16416 shlibpath_var=LIBPATH
16421 library_names_spec='$libname.ixlibrary $libname.a'
16422 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16423 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'
16427 library_names_spec='${libname}${shared_ext}'
16428 dynamic_linker="$host_os ld.so"
16429 shlibpath_var=LIBRARY_PATH
16435 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16436 soname_spec='${libname}${release}${shared_ext}$major'
16437 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16438 shlibpath_var=LD_LIBRARY_PATH
16439 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16440 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16441 # the default ld.so.conf also contains /usr/contrib/lib and
16442 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16443 # libtool to hard-code these into programs
16446 cygwin* | mingw* | pw32*)
16447 version_type=windows
16452 case $GCC,$host_os in
16453 yes,cygwin* | yes,mingw* | yes,pw32*)
16454 library_names_spec='$libname.dll.a'
16455 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16456 postinstall_cmds='base_file=`basename \${file}`~
16457 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16458 dldir=$destdir/`dirname \$dlpath`~
16459 test -d \$dldir || mkdir -p \$dldir~
16460 $install_prog $dir/$dlname \$dldir/$dlname'
16461 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16462 dlpath=$dir/\$dldll~
16464 shlibpath_overrides_runpath=yes
16468 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16469 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16470 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
16473 # MinGW DLLs use traditional 'lib' prefix
16474 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16475 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16476 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16477 # It is most probably a Windows format PATH printed by
16478 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16479 # path with ; separators, and with drive letters. We can handle the
16480 # drive letters (cygwin fileutils understands them), so leave them,
16481 # especially as we might pass files found there to a mingw objdump,
16482 # which wouldn't understand a cygwinified path. Ahh.
16483 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16485 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16489 # pw32 DLLs use 'pw' prefix rather than 'lib'
16490 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16496 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16499 dynamic_linker='Win32 ld.exe'
16500 # FIXME: first we should search . and the directory the executable is in
16504 darwin* | rhapsody*)
16505 dynamic_linker="$host_os dyld"
16506 version_type=darwin
16509 # FIXME: Relying on posixy $() will cause problems for
16510 # cross-compilation, but unfortunately the echo tests do not
16511 # yet detect zsh echo's removal of \ escapes.
16512 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16513 soname_spec='${libname}${release}${major}$shared_ext'
16514 shlibpath_overrides_runpath=yes
16515 shlibpath_var=DYLD_LIBRARY_PATH
16516 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
16517 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16518 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
16519 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"`
16521 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16528 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16529 soname_spec='${libname}${release}${shared_ext}$major'
16530 shlibpath_var=LD_LIBRARY_PATH
16538 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16539 version_type=freebsd-$objformat
16540 case $version_type in
16542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16547 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16551 shlibpath_var=LD_LIBRARY_PATH
16554 shlibpath_overrides_runpath=yes
16556 freebsd3.01* | freebsdelf3.01*)
16557 shlibpath_overrides_runpath=yes
16558 hardcode_into_libs=yes
16561 shlibpath_overrides_runpath=no
16562 hardcode_into_libs=yes
16571 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16572 soname_spec='${libname}${release}${shared_ext}$major'
16573 shlibpath_var=LD_LIBRARY_PATH
16574 hardcode_into_libs=yes
16577 hpux9* | hpux10* | hpux11*)
16578 # Give a soname corresponding to the major version so that dld.sl refuses to
16579 # link against other versions.
16583 case "$host_cpu" in
16586 hardcode_into_libs=yes
16587 dynamic_linker="$host_os dld.so"
16588 shlibpath_var=LD_LIBRARY_PATH
16589 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16590 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16591 soname_spec='${libname}${release}${shared_ext}$major'
16592 if test "X$HPUX_IA64_MODE" = X32; then
16593 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16595 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16597 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16601 hardcode_into_libs=yes
16602 dynamic_linker="$host_os dld.sl"
16603 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16604 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16605 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16606 soname_spec='${libname}${release}${shared_ext}$major'
16607 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16608 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16612 dynamic_linker="$host_os dld.sl"
16613 shlibpath_var=SHLIB_PATH
16614 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16616 soname_spec='${libname}${release}${shared_ext}$major'
16619 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16620 postinstall_cmds='chmod 555 $lib'
16623 irix5* | irix6* | nonstopux*)
16625 nonstopux*) version_type=nonstopux ;;
16627 if test "$lt_cv_prog_gnu_ld" = yes; then
16635 soname_spec='${libname}${release}${shared_ext}$major'
16636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16638 irix5* | nonstopux*)
16639 libsuff= shlibsuff=
16642 case $LD in # libtool.m4 will add one of these switches to LD
16643 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16644 libsuff= shlibsuff= libmagic=32-bit;;
16645 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16646 libsuff=32 shlibsuff=N32 libmagic=N32;;
16647 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16648 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16649 *) libsuff= shlibsuff= libmagic=never-match;;
16653 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16654 shlibpath_overrides_runpath=no
16655 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16656 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16657 hardcode_into_libs=yes
16660 # No shared lib support for Linux oldld, aout, or coff.
16661 linux*oldld* | linux*aout* | linux*coff*)
16665 # This must be Linux ELF.
16670 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16671 soname_spec='${libname}${release}${shared_ext}$major'
16672 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16673 shlibpath_var=LD_LIBRARY_PATH
16674 shlibpath_overrides_runpath=no
16675 # This implies no fast_install, which is unacceptable.
16676 # Some rework will be needed to allow for fast_install
16677 # before this can be enabled.
16678 hardcode_into_libs=yes
16680 # We used to test for /lib/ld.so.1 and disable shared libraries on
16681 # powerpc, because MkLinux only supported shared libraries with the
16682 # GNU dynamic linker. Since this was broken with cross compilers,
16683 # most powerpc-linux boxes support dynamic linking these days and
16684 # people can always --disable-shared, the test was removed, and we
16685 # assume the GNU/Linux dynamic linker is in use.
16686 dynamic_linker='GNU/Linux ld.so'
16693 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16694 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16695 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16696 dynamic_linker='NetBSD (a.out) ld.so'
16698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16699 soname_spec='${libname}${release}${shared_ext}$major'
16700 dynamic_linker='NetBSD ld.elf_so'
16702 shlibpath_var=LD_LIBRARY_PATH
16703 shlibpath_overrides_runpath=yes
16704 hardcode_into_libs=yes
16709 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16710 shlibpath_var=LD_LIBRARY_PATH
16711 shlibpath_overrides_runpath=yes
16718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16719 soname_spec='${libname}${release}${shared_ext}$major'
16720 shlibpath_var=LD_LIBRARY_PATH
16721 shlibpath_overrides_runpath=yes
16728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16729 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16730 shlibpath_var=LD_LIBRARY_PATH
16731 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16733 openbsd2.[89] | openbsd2.[89].*)
16734 shlibpath_overrides_runpath=no
16737 shlibpath_overrides_runpath=yes
16741 shlibpath_overrides_runpath=yes
16746 libname_spec='$name'
16749 library_names_spec='$libname${shared_ext} $libname.a'
16750 dynamic_linker='OS/2 ld.exe'
16751 shlibpath_var=LIBPATH
16754 osf3* | osf4* | osf5*)
16758 soname_spec='${libname}${release}${shared_ext}$major'
16759 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16760 shlibpath_var=LD_LIBRARY_PATH
16761 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16762 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16767 soname_spec='${libname}${release}${shared_ext}$major'
16768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16769 shlibpath_var=LD_LIBRARY_PATH
16776 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16777 soname_spec='${libname}${release}${shared_ext}$major'
16778 shlibpath_var=LD_LIBRARY_PATH
16779 shlibpath_overrides_runpath=yes
16780 hardcode_into_libs=yes
16781 # ldd complains unless libraries are executable
16782 postinstall_cmds='chmod +x $lib'
16787 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16788 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16789 shlibpath_var=LD_LIBRARY_PATH
16790 shlibpath_overrides_runpath=yes
16791 if test "$with_gnu_ld" = yes; then
16797 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16799 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16800 soname_spec='${libname}${release}${shared_ext}$major'
16801 shlibpath_var=LD_LIBRARY_PATH
16802 case $host_vendor in
16804 shlibpath_overrides_runpath=no
16806 export_dynamic_flag_spec='${wl}-Blargedynsym'
16807 runpath_var=LD_RUN_PATH
16815 shlibpath_overrides_runpath=no
16816 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16822 if test -d /usr/nec ;then
16824 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16825 soname_spec='$libname${shared_ext}.$major'
16826 shlibpath_var=LD_LIBRARY_PATH
16832 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16833 soname_spec='${libname}${release}${shared_ext}$major'
16834 shlibpath_var=LD_LIBRARY_PATH
16841 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16842 echo "${ECHO_T}$dynamic_linker" >&6
16843 test "$dynamic_linker" = no && can_build_shared=no
16845 if test "x$enable_dlopen" != xyes; then
16846 enable_dlopen=unknown
16847 enable_dlopen_self=unknown
16848 enable_dlopen_self_static=unknown
16855 lt_cv_dlopen="load_add_on"
16857 lt_cv_dlopen_self=yes
16861 lt_cv_dlopen="LoadLibrary"
16866 lt_cv_dlopen="dlopen"
16871 # if libdl is installed we need to link against it
16872 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16873 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16874 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16875 echo $ECHO_N "(cached) $ECHO_C" >&6
16877 ac_check_lib_save_LIBS=$LIBS
16879 cat >conftest.$ac_ext <<_ACEOF
16880 #line $LINENO "configure"
16883 cat confdefs.h >>conftest.$ac_ext
16884 cat >>conftest.$ac_ext <<_ACEOF
16885 /* end confdefs.h. */
16887 /* Override any gcc2 internal prototype to avoid an error. */
16891 /* We use char because int might match the return type of a gcc2
16892 builtin and then its argument prototype would still apply. */
16902 rm -f conftest.$ac_objext conftest$ac_exeext
16903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16904 (eval $ac_link) 2>&5
16906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16907 (exit $ac_status); } &&
16908 { ac_try='test -s conftest$ac_exeext'
16909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16910 (eval $ac_try) 2>&5
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); }; }; then
16914 ac_cv_lib_dl_dlopen=yes
16916 echo "$as_me: failed program was:" >&5
16917 sed 's/^/| /' conftest.$ac_ext >&5
16919 ac_cv_lib_dl_dlopen=no
16921 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16922 LIBS=$ac_check_lib_save_LIBS
16924 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16925 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16926 if test $ac_cv_lib_dl_dlopen = yes; then
16927 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16930 lt_cv_dlopen="dyld"
16932 lt_cv_dlopen_self=yes
16939 echo "$as_me:$LINENO: checking for shl_load" >&5
16940 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
16941 if test "${ac_cv_func_shl_load+set}" = set; then
16942 echo $ECHO_N "(cached) $ECHO_C" >&6
16944 cat >conftest.$ac_ext <<_ACEOF
16945 #line $LINENO "configure"
16948 cat confdefs.h >>conftest.$ac_ext
16949 cat >>conftest.$ac_ext <<_ACEOF
16950 /* end confdefs.h. */
16951 /* System header to define __stub macros and hopefully few prototypes,
16952 which can conflict with char shl_load (); below.
16953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16954 <limits.h> exists even on freestanding compilers. */
16956 # include <limits.h>
16958 # include <assert.h>
16960 /* Override any gcc2 internal prototype to avoid an error. */
16965 /* We use char because int might match the return type of a gcc2
16966 builtin and then its argument prototype would still apply. */
16968 /* The GNU C library defines this for functions which it implements
16969 to always fail with ENOSYS. Some functions are actually named
16970 something starting with __ and the normal name is an alias. */
16971 #if defined (__stub_shl_load) || defined (__stub___shl_load)
16974 char (*f) () = shl_load;
16983 return f != shl_load;
16988 rm -f conftest.$ac_objext conftest$ac_exeext
16989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16990 (eval $ac_link) 2>&5
16992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16993 (exit $ac_status); } &&
16994 { ac_try='test -s conftest$ac_exeext'
16995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16996 (eval $ac_try) 2>&5
16998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16999 (exit $ac_status); }; }; then
17000 ac_cv_func_shl_load=yes
17002 echo "$as_me: failed program was:" >&5
17003 sed 's/^/| /' conftest.$ac_ext >&5
17005 ac_cv_func_shl_load=no
17007 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17009 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17010 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17011 if test $ac_cv_func_shl_load = yes; then
17012 lt_cv_dlopen="shl_load"
17014 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17015 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17016 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17017 echo $ECHO_N "(cached) $ECHO_C" >&6
17019 ac_check_lib_save_LIBS=$LIBS
17021 cat >conftest.$ac_ext <<_ACEOF
17022 #line $LINENO "configure"
17025 cat confdefs.h >>conftest.$ac_ext
17026 cat >>conftest.$ac_ext <<_ACEOF
17027 /* end confdefs.h. */
17029 /* Override any gcc2 internal prototype to avoid an error. */
17033 /* We use char because int might match the return type of a gcc2
17034 builtin and then its argument prototype would still apply. */
17044 rm -f conftest.$ac_objext conftest$ac_exeext
17045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17046 (eval $ac_link) 2>&5
17048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17049 (exit $ac_status); } &&
17050 { ac_try='test -s conftest$ac_exeext'
17051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17052 (eval $ac_try) 2>&5
17054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17055 (exit $ac_status); }; }; then
17056 ac_cv_lib_dld_shl_load=yes
17058 echo "$as_me: failed program was:" >&5
17059 sed 's/^/| /' conftest.$ac_ext >&5
17061 ac_cv_lib_dld_shl_load=no
17063 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17064 LIBS=$ac_check_lib_save_LIBS
17066 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17067 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17068 if test $ac_cv_lib_dld_shl_load = yes; then
17069 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17071 echo "$as_me:$LINENO: checking for dlopen" >&5
17072 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17073 if test "${ac_cv_func_dlopen+set}" = set; then
17074 echo $ECHO_N "(cached) $ECHO_C" >&6
17076 cat >conftest.$ac_ext <<_ACEOF
17077 #line $LINENO "configure"
17080 cat confdefs.h >>conftest.$ac_ext
17081 cat >>conftest.$ac_ext <<_ACEOF
17082 /* end confdefs.h. */
17083 /* System header to define __stub macros and hopefully few prototypes,
17084 which can conflict with char dlopen (); below.
17085 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17086 <limits.h> exists even on freestanding compilers. */
17088 # include <limits.h>
17090 # include <assert.h>
17092 /* Override any gcc2 internal prototype to avoid an error. */
17097 /* We use char because int might match the return type of a gcc2
17098 builtin and then its argument prototype would still apply. */
17100 /* The GNU C library defines this for functions which it implements
17101 to always fail with ENOSYS. Some functions are actually named
17102 something starting with __ and the normal name is an alias. */
17103 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17106 char (*f) () = dlopen;
17115 return f != dlopen;
17120 rm -f conftest.$ac_objext conftest$ac_exeext
17121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17122 (eval $ac_link) 2>&5
17124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17125 (exit $ac_status); } &&
17126 { ac_try='test -s conftest$ac_exeext'
17127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17128 (eval $ac_try) 2>&5
17130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17131 (exit $ac_status); }; }; then
17132 ac_cv_func_dlopen=yes
17134 echo "$as_me: failed program was:" >&5
17135 sed 's/^/| /' conftest.$ac_ext >&5
17137 ac_cv_func_dlopen=no
17139 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17141 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17142 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17143 if test $ac_cv_func_dlopen = yes; then
17144 lt_cv_dlopen="dlopen"
17146 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17147 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17148 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17149 echo $ECHO_N "(cached) $ECHO_C" >&6
17151 ac_check_lib_save_LIBS=$LIBS
17153 cat >conftest.$ac_ext <<_ACEOF
17154 #line $LINENO "configure"
17157 cat confdefs.h >>conftest.$ac_ext
17158 cat >>conftest.$ac_ext <<_ACEOF
17159 /* end confdefs.h. */
17161 /* Override any gcc2 internal prototype to avoid an error. */
17165 /* We use char because int might match the return type of a gcc2
17166 builtin and then its argument prototype would still apply. */
17176 rm -f conftest.$ac_objext conftest$ac_exeext
17177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17178 (eval $ac_link) 2>&5
17180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17181 (exit $ac_status); } &&
17182 { ac_try='test -s conftest$ac_exeext'
17183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17184 (eval $ac_try) 2>&5
17186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17187 (exit $ac_status); }; }; then
17188 ac_cv_lib_dl_dlopen=yes
17190 echo "$as_me: failed program was:" >&5
17191 sed 's/^/| /' conftest.$ac_ext >&5
17193 ac_cv_lib_dl_dlopen=no
17195 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17196 LIBS=$ac_check_lib_save_LIBS
17198 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17199 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17200 if test $ac_cv_lib_dl_dlopen = yes; then
17201 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17203 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17204 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17205 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17206 echo $ECHO_N "(cached) $ECHO_C" >&6
17208 ac_check_lib_save_LIBS=$LIBS
17209 LIBS="-lsvld $LIBS"
17210 cat >conftest.$ac_ext <<_ACEOF
17211 #line $LINENO "configure"
17214 cat confdefs.h >>conftest.$ac_ext
17215 cat >>conftest.$ac_ext <<_ACEOF
17216 /* end confdefs.h. */
17218 /* Override any gcc2 internal prototype to avoid an error. */
17222 /* We use char because int might match the return type of a gcc2
17223 builtin and then its argument prototype would still apply. */
17233 rm -f conftest.$ac_objext conftest$ac_exeext
17234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17235 (eval $ac_link) 2>&5
17237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17238 (exit $ac_status); } &&
17239 { ac_try='test -s conftest$ac_exeext'
17240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17241 (eval $ac_try) 2>&5
17243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17244 (exit $ac_status); }; }; then
17245 ac_cv_lib_svld_dlopen=yes
17247 echo "$as_me: failed program was:" >&5
17248 sed 's/^/| /' conftest.$ac_ext >&5
17250 ac_cv_lib_svld_dlopen=no
17252 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17253 LIBS=$ac_check_lib_save_LIBS
17255 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17256 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17257 if test $ac_cv_lib_svld_dlopen = yes; then
17258 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17260 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17261 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17262 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17263 echo $ECHO_N "(cached) $ECHO_C" >&6
17265 ac_check_lib_save_LIBS=$LIBS
17267 cat >conftest.$ac_ext <<_ACEOF
17268 #line $LINENO "configure"
17271 cat confdefs.h >>conftest.$ac_ext
17272 cat >>conftest.$ac_ext <<_ACEOF
17273 /* end confdefs.h. */
17275 /* Override any gcc2 internal prototype to avoid an error. */
17279 /* We use char because int might match the return type of a gcc2
17280 builtin and then its argument prototype would still apply. */
17290 rm -f conftest.$ac_objext conftest$ac_exeext
17291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17292 (eval $ac_link) 2>&5
17294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17295 (exit $ac_status); } &&
17296 { ac_try='test -s conftest$ac_exeext'
17297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17298 (eval $ac_try) 2>&5
17300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17301 (exit $ac_status); }; }; then
17302 ac_cv_lib_dld_dld_link=yes
17304 echo "$as_me: failed program was:" >&5
17305 sed 's/^/| /' conftest.$ac_ext >&5
17307 ac_cv_lib_dld_dld_link=no
17309 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17310 LIBS=$ac_check_lib_save_LIBS
17312 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17313 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17314 if test $ac_cv_lib_dld_dld_link = yes; then
17315 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17336 if test "x$lt_cv_dlopen" != xno; then
17342 case $lt_cv_dlopen in
17344 save_CPPFLAGS="$CPPFLAGS"
17345 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17347 save_LDFLAGS="$LDFLAGS"
17348 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17351 LIBS="$lt_cv_dlopen_libs $LIBS"
17353 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17354 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17355 if test "${lt_cv_dlopen_self+set}" = set; then
17356 echo $ECHO_N "(cached) $ECHO_C" >&6
17358 if test "$cross_compiling" = yes; then :
17359 lt_cv_dlopen_self=cross
17361 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17362 lt_status=$lt_dlunknown
17363 cat > conftest.$ac_ext <<EOF
17364 #line 17364 "configure"
17365 #include "confdefs.h"
17374 # define LT_DLGLOBAL RTLD_GLOBAL
17377 # define LT_DLGLOBAL DL_GLOBAL
17379 # define LT_DLGLOBAL 0
17383 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17384 find out it does not work in some platform. */
17385 #ifndef LT_DLLAZY_OR_NOW
17387 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17390 # define LT_DLLAZY_OR_NOW DL_LAZY
17393 # define LT_DLLAZY_OR_NOW RTLD_NOW
17396 # define LT_DLLAZY_OR_NOW DL_NOW
17398 # define LT_DLLAZY_OR_NOW 0
17406 extern "C" void exit (int);
17409 void fnord() { int i=42;}
17412 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17413 int status = $lt_dlunknown;
17417 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17418 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17419 /* dlclose (self); */
17425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17426 (eval $ac_link) 2>&5
17428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17429 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17430 (./conftest; exit; ) 2>/dev/null
17432 case x$lt_status in
17433 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17434 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17435 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
17438 # compilation failed
17439 lt_cv_dlopen_self=no
17446 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17447 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17449 if test "x$lt_cv_dlopen_self" = xyes; then
17450 LDFLAGS="$LDFLAGS $link_static_flag"
17451 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17452 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17453 if test "${lt_cv_dlopen_self_static+set}" = set; then
17454 echo $ECHO_N "(cached) $ECHO_C" >&6
17456 if test "$cross_compiling" = yes; then :
17457 lt_cv_dlopen_self_static=cross
17459 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17460 lt_status=$lt_dlunknown
17461 cat > conftest.$ac_ext <<EOF
17462 #line 17462 "configure"
17463 #include "confdefs.h"
17472 # define LT_DLGLOBAL RTLD_GLOBAL
17475 # define LT_DLGLOBAL DL_GLOBAL
17477 # define LT_DLGLOBAL 0
17481 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17482 find out it does not work in some platform. */
17483 #ifndef LT_DLLAZY_OR_NOW
17485 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17488 # define LT_DLLAZY_OR_NOW DL_LAZY
17491 # define LT_DLLAZY_OR_NOW RTLD_NOW
17494 # define LT_DLLAZY_OR_NOW DL_NOW
17496 # define LT_DLLAZY_OR_NOW 0
17504 extern "C" void exit (int);
17507 void fnord() { int i=42;}
17510 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17511 int status = $lt_dlunknown;
17515 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17516 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17517 /* dlclose (self); */
17523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17524 (eval $ac_link) 2>&5
17526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17527 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17528 (./conftest; exit; ) 2>/dev/null
17530 case x$lt_status in
17531 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17532 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17533 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
17536 # compilation failed
17537 lt_cv_dlopen_self_static=no
17544 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17545 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17548 CPPFLAGS="$save_CPPFLAGS"
17549 LDFLAGS="$save_LDFLAGS"
17554 case $lt_cv_dlopen_self in
17555 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17556 *) enable_dlopen_self=unknown ;;
17559 case $lt_cv_dlopen_self_static in
17560 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17561 *) enable_dlopen_self_static=unknown ;;
17566 # The else clause should only fire when bootstrapping the
17567 # libtool distribution, otherwise you forgot to ship ltmain.sh
17568 # with your package, and you will get complaints that there are
17569 # no rules to generate ltmain.sh.
17570 if test -f "$ltmain"; then
17571 # See if we are running on zsh, and set the options which allow our commands through
17572 # without removal of \ escapes.
17573 if test -n "${ZSH_VERSION+set}" ; then
17574 setopt NO_GLOB_SUBST
17576 # Now quote all the things that may contain metacharacters while being
17577 # careful not to overquote the AC_SUBSTed values. We take copies of the
17578 # variables and quote the copies for generation of the libtool script.
17579 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17580 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17581 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17582 deplibs_check_method reload_flag reload_cmds need_locks \
17583 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17584 lt_cv_sys_global_symbol_to_c_name_address \
17585 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17586 old_postinstall_cmds old_postuninstall_cmds \
17590 lt_prog_compiler_wl_GCJ \
17591 lt_prog_compiler_pic_GCJ \
17592 lt_prog_compiler_static_GCJ \
17593 lt_prog_compiler_no_builtin_flag_GCJ \
17594 export_dynamic_flag_spec_GCJ \
17595 thread_safe_flag_spec_GCJ \
17596 whole_archive_flag_spec_GCJ \
17597 enable_shared_with_static_runtimes_GCJ \
17598 old_archive_cmds_GCJ \
17599 old_archive_from_new_cmds_GCJ \
17600 predep_objects_GCJ \
17601 postdep_objects_GCJ \
17604 compiler_lib_search_path_GCJ \
17606 archive_expsym_cmds_GCJ \
17607 postinstall_cmds_GCJ \
17608 postuninstall_cmds_GCJ \
17609 old_archive_from_expsyms_cmds_GCJ \
17610 allow_undefined_flag_GCJ \
17611 no_undefined_flag_GCJ \
17612 export_symbols_cmds_GCJ \
17613 hardcode_libdir_flag_spec_GCJ \
17614 hardcode_libdir_flag_spec_ld_GCJ \
17615 hardcode_libdir_separator_GCJ \
17616 hardcode_automatic_GCJ \
17618 module_expsym_cmds_GCJ \
17619 lt_cv_prog_compiler_c_o_GCJ \
17620 exclude_expsyms_GCJ \
17621 include_expsyms_GCJ; do
17624 old_archive_cmds_GCJ | \
17625 old_archive_from_new_cmds_GCJ | \
17626 archive_cmds_GCJ | \
17627 archive_expsym_cmds_GCJ | \
17628 module_cmds_GCJ | \
17629 module_expsym_cmds_GCJ | \
17630 old_archive_from_expsyms_cmds_GCJ | \
17631 export_symbols_cmds_GCJ | \
17632 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17633 postinstall_cmds | postuninstall_cmds | \
17634 old_postinstall_cmds | old_postuninstall_cmds | \
17635 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17636 # Double-quote double-evaled strings.
17637 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17640 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17646 *'\$0 --fallback-echo"')
17647 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17653 cat <<__EOF__ >> "$cfgfile"
17654 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17656 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17658 # Shell to use when invoking shell scripts.
17661 # Whether or not to build shared libraries.
17662 build_libtool_libs=$enable_shared
17664 # Whether or not to build static libraries.
17665 build_old_libs=$enable_static
17667 # Whether or not to add -lc for building shared libraries.
17668 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17670 # Whether or not to disallow shared libs when runtime libs are static
17671 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17673 # Whether or not to optimize for fast installation.
17674 fast_install=$enable_fast_install
17677 host_alias=$host_alias
17680 # An echo program that does not interpret backslashes.
17685 AR_FLAGS=$lt_AR_FLAGS
17690 # A language-specific compiler.
17691 CC=$lt_compiler_GCJ
17693 # Is the compiler the GNU C compiler?
17699 # The linker used to build libraries.
17702 # Whether we need hard or soft links.
17705 # A BSD-compatible nm program.
17708 # A symbol stripping program
17711 # Used to examine libraries when file_magic_cmd begins "file"
17712 MAGIC_CMD=$MAGIC_CMD
17714 # Used on cygwin: DLL creation program.
17717 # Used on cygwin: object dumper.
17720 # Used on cygwin: assembler.
17723 # The name of the directory that contains temporary libtool files.
17726 # How to create reloadable object files.
17727 reload_flag=$lt_reload_flag
17728 reload_cmds=$lt_reload_cmds
17730 # How to pass a linker flag through the compiler.
17731 wl=$lt_lt_prog_compiler_wl_GCJ
17733 # Object file suffix (normally "o").
17734 objext="$ac_objext"
17736 # Old archive suffix (normally "a").
17739 # Shared library suffix (normally ".so").
17742 # Executable file suffix (normally "").
17745 # Additional compiler flags for building library objects.
17746 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17749 # What is the maximum length of a command?
17750 max_cmd_len=$lt_cv_sys_max_cmd_len
17752 # Does compiler simultaneously support -c and -o options?
17753 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17755 # Must we lock files when doing compilation ?
17756 need_locks=$lt_need_locks
17758 # Do we need the lib prefix for modules?
17759 need_lib_prefix=$need_lib_prefix
17761 # Do we need a version for libraries?
17762 need_version=$need_version
17764 # Whether dlopen is supported.
17765 dlopen_support=$enable_dlopen
17767 # Whether dlopen of programs is supported.
17768 dlopen_self=$enable_dlopen_self
17770 # Whether dlopen of statically linked programs is supported.
17771 dlopen_self_static=$enable_dlopen_self_static
17773 # Compiler flag to prevent dynamic linking.
17774 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17776 # Compiler flag to turn off builtin functions.
17777 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17779 # Compiler flag to allow reflexive dlopens.
17780 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17782 # Compiler flag to generate shared objects directly from archives.
17783 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17785 # Compiler flag to generate thread-safe objects.
17786 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17788 # Library versioning type.
17789 version_type=$version_type
17791 # Format of library name prefix.
17792 libname_spec=$lt_libname_spec
17794 # List of archive names. First name is the real one, the rest are links.
17795 # The last name is the one that the linker finds with -lNAME.
17796 library_names_spec=$lt_library_names_spec
17798 # The coded name of the library, if different from the real name.
17799 soname_spec=$lt_soname_spec
17801 # Commands used to build and install an old-style archive.
17803 old_archive_cmds=$lt_old_archive_cmds_GCJ
17804 old_postinstall_cmds=$lt_old_postinstall_cmds
17805 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17807 # Create an old-style archive from a shared archive.
17808 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17810 # Create a temporary old-style archive to link instead of a shared archive.
17811 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17813 # Commands used to build and install a shared archive.
17814 archive_cmds=$lt_archive_cmds_GCJ
17815 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17816 postinstall_cmds=$lt_postinstall_cmds
17817 postuninstall_cmds=$lt_postuninstall_cmds
17819 # Commands used to build a loadable module (assumed same as above if empty)
17820 module_cmds=$lt_module_cmds_GCJ
17821 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17823 # Commands to strip libraries.
17824 old_striplib=$lt_old_striplib
17825 striplib=$lt_striplib
17827 # Dependencies to place before the objects being linked to create a
17829 predep_objects=$lt_predep_objects_GCJ
17831 # Dependencies to place after the objects being linked to create a
17833 postdep_objects=$lt_postdep_objects_GCJ
17835 # Dependencies to place before the objects being linked to create a
17837 predeps=$lt_predeps_GCJ
17839 # Dependencies to place after the objects being linked to create a
17841 postdeps=$lt_postdeps_GCJ
17843 # The library search path used internally by the compiler when linking
17844 # a shared library.
17845 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17847 # Method to check whether dependent libraries are shared objects.
17848 deplibs_check_method=$lt_deplibs_check_method
17850 # Command to use when deplibs_check_method == file_magic.
17851 file_magic_cmd=$lt_file_magic_cmd
17853 # Flag that allows shared libraries with undefined symbols to be built.
17854 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17856 # Flag that forces no undefined symbols.
17857 no_undefined_flag=$lt_no_undefined_flag_GCJ
17859 # Commands used to finish a libtool library installation in a directory.
17860 finish_cmds=$lt_finish_cmds
17862 # Same as above, but a single script fragment to be evaled but not shown.
17863 finish_eval=$lt_finish_eval
17865 # Take the output of nm and produce a listing of raw symbols and C names.
17866 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17868 # Transform the output of nm in a proper C declaration
17869 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17871 # Transform the output of nm in a C name address pair
17872 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17874 # This is the shared library runtime path variable.
17875 runpath_var=$runpath_var
17877 # This is the shared library path variable.
17878 shlibpath_var=$shlibpath_var
17880 # Is shlibpath searched before the hard-coded library search path?
17881 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17883 # How to hardcode a shared library path into an executable.
17884 hardcode_action=$hardcode_action_GCJ
17886 # Whether we should hardcode library paths into libraries.
17887 hardcode_into_libs=$hardcode_into_libs
17889 # Flag to hardcode \$libdir into a binary during linking.
17890 # This must work even if \$libdir does not exist.
17891 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17893 # If ld is used when linking, flag to hardcode \$libdir into
17894 # a binary during linking. This must work even if \$libdir does
17896 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17898 # Whether we need a single -rpath flag with a separated argument.
17899 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17901 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17902 # resulting binary.
17903 hardcode_direct=$hardcode_direct_GCJ
17905 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17906 # resulting binary.
17907 hardcode_minus_L=$hardcode_minus_L_GCJ
17909 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17910 # the resulting binary.
17911 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17913 # Set to yes if building a shared library automatically hardcodes DIR into the library
17914 # and all subsequent libraries and executables linked against it.
17915 hardcode_automatic=$hardcode_automatic_GCJ
17917 # Variables whose values should be saved in libtool wrapper scripts and
17918 # restored at relink time.
17919 variables_saved_for_relink="$variables_saved_for_relink"
17921 # Whether libtool must link a program against all its dependency libraries.
17922 link_all_deplibs=$link_all_deplibs_GCJ
17924 # Compile-time system search path for libraries
17925 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17927 # Run-time system search path for libraries
17928 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17930 # Fix the shell variable \$srcfile for the compiler.
17931 fix_srcfile_path="$fix_srcfile_path_GCJ"
17933 # Set to yes if exported symbols are required.
17934 always_export_symbols=$always_export_symbols_GCJ
17936 # The commands to list exported symbols.
17937 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17939 # The commands to extract the exported symbol list from a shared archive.
17940 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17942 # Symbols that should not be listed in the preloaded symbols.
17943 exclude_expsyms=$lt_exclude_expsyms_GCJ
17945 # Symbols that must always be exported.
17946 include_expsyms=$lt_include_expsyms_GCJ
17948 # ### END LIBTOOL TAG CONFIG: $tagname
17954 # If there is no Makefile yet, we rely on a make rule to execute
17955 # `config.status --recheck' to rerun these tests and create the
17956 # libtool script then.
17957 test -f Makefile && make "$ltmain"
17962 ac_cpp='$CPP $CPPFLAGS'
17963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17978 # Source file extension for RC test sources.
17981 # Object file extension for compiled RC test sources.
17985 # Code to be used in simple compile tests
17986 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
17988 # Code to be used in simple link tests
17989 lt_simple_link_test_code="$lt_simple_compile_test_code"
17991 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17993 # If no C compiler was specified, use CC.
17996 # Allow CC to be a program name with arguments.
18000 # Allow CC to be a program name with arguments.
18005 lt_cv_prog_compiler_c_o_RC=yes
18007 # The else clause should only fire when bootstrapping the
18008 # libtool distribution, otherwise you forgot to ship ltmain.sh
18009 # with your package, and you will get complaints that there are
18010 # no rules to generate ltmain.sh.
18011 if test -f "$ltmain"; then
18012 # See if we are running on zsh, and set the options which allow our commands through
18013 # without removal of \ escapes.
18014 if test -n "${ZSH_VERSION+set}" ; then
18015 setopt NO_GLOB_SUBST
18017 # Now quote all the things that may contain metacharacters while being
18018 # careful not to overquote the AC_SUBSTed values. We take copies of the
18019 # variables and quote the copies for generation of the libtool script.
18020 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18021 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18022 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18023 deplibs_check_method reload_flag reload_cmds need_locks \
18024 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18025 lt_cv_sys_global_symbol_to_c_name_address \
18026 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18027 old_postinstall_cmds old_postuninstall_cmds \
18031 lt_prog_compiler_wl_RC \
18032 lt_prog_compiler_pic_RC \
18033 lt_prog_compiler_static_RC \
18034 lt_prog_compiler_no_builtin_flag_RC \
18035 export_dynamic_flag_spec_RC \
18036 thread_safe_flag_spec_RC \
18037 whole_archive_flag_spec_RC \
18038 enable_shared_with_static_runtimes_RC \
18039 old_archive_cmds_RC \
18040 old_archive_from_new_cmds_RC \
18041 predep_objects_RC \
18042 postdep_objects_RC \
18045 compiler_lib_search_path_RC \
18047 archive_expsym_cmds_RC \
18048 postinstall_cmds_RC \
18049 postuninstall_cmds_RC \
18050 old_archive_from_expsyms_cmds_RC \
18051 allow_undefined_flag_RC \
18052 no_undefined_flag_RC \
18053 export_symbols_cmds_RC \
18054 hardcode_libdir_flag_spec_RC \
18055 hardcode_libdir_flag_spec_ld_RC \
18056 hardcode_libdir_separator_RC \
18057 hardcode_automatic_RC \
18059 module_expsym_cmds_RC \
18060 lt_cv_prog_compiler_c_o_RC \
18061 exclude_expsyms_RC \
18062 include_expsyms_RC; do
18065 old_archive_cmds_RC | \
18066 old_archive_from_new_cmds_RC | \
18067 archive_cmds_RC | \
18068 archive_expsym_cmds_RC | \
18070 module_expsym_cmds_RC | \
18071 old_archive_from_expsyms_cmds_RC | \
18072 export_symbols_cmds_RC | \
18073 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18074 postinstall_cmds | postuninstall_cmds | \
18075 old_postinstall_cmds | old_postuninstall_cmds | \
18076 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18077 # Double-quote double-evaled strings.
18078 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18081 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18087 *'\$0 --fallback-echo"')
18088 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18094 cat <<__EOF__ >> "$cfgfile"
18095 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18097 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18099 # Shell to use when invoking shell scripts.
18102 # Whether or not to build shared libraries.
18103 build_libtool_libs=$enable_shared
18105 # Whether or not to build static libraries.
18106 build_old_libs=$enable_static
18108 # Whether or not to add -lc for building shared libraries.
18109 build_libtool_need_lc=$archive_cmds_need_lc_RC
18111 # Whether or not to disallow shared libs when runtime libs are static
18112 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18114 # Whether or not to optimize for fast installation.
18115 fast_install=$enable_fast_install
18118 host_alias=$host_alias
18121 # An echo program that does not interpret backslashes.
18126 AR_FLAGS=$lt_AR_FLAGS
18131 # A language-specific compiler.
18134 # Is the compiler the GNU C compiler?
18140 # The linker used to build libraries.
18143 # Whether we need hard or soft links.
18146 # A BSD-compatible nm program.
18149 # A symbol stripping program
18152 # Used to examine libraries when file_magic_cmd begins "file"
18153 MAGIC_CMD=$MAGIC_CMD
18155 # Used on cygwin: DLL creation program.
18158 # Used on cygwin: object dumper.
18161 # Used on cygwin: assembler.
18164 # The name of the directory that contains temporary libtool files.
18167 # How to create reloadable object files.
18168 reload_flag=$lt_reload_flag
18169 reload_cmds=$lt_reload_cmds
18171 # How to pass a linker flag through the compiler.
18172 wl=$lt_lt_prog_compiler_wl_RC
18174 # Object file suffix (normally "o").
18175 objext="$ac_objext"
18177 # Old archive suffix (normally "a").
18180 # Shared library suffix (normally ".so").
18183 # Executable file suffix (normally "").
18186 # Additional compiler flags for building library objects.
18187 pic_flag=$lt_lt_prog_compiler_pic_RC
18190 # What is the maximum length of a command?
18191 max_cmd_len=$lt_cv_sys_max_cmd_len
18193 # Does compiler simultaneously support -c and -o options?
18194 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18196 # Must we lock files when doing compilation ?
18197 need_locks=$lt_need_locks
18199 # Do we need the lib prefix for modules?
18200 need_lib_prefix=$need_lib_prefix
18202 # Do we need a version for libraries?
18203 need_version=$need_version
18205 # Whether dlopen is supported.
18206 dlopen_support=$enable_dlopen
18208 # Whether dlopen of programs is supported.
18209 dlopen_self=$enable_dlopen_self
18211 # Whether dlopen of statically linked programs is supported.
18212 dlopen_self_static=$enable_dlopen_self_static
18214 # Compiler flag to prevent dynamic linking.
18215 link_static_flag=$lt_lt_prog_compiler_static_RC
18217 # Compiler flag to turn off builtin functions.
18218 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18220 # Compiler flag to allow reflexive dlopens.
18221 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18223 # Compiler flag to generate shared objects directly from archives.
18224 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18226 # Compiler flag to generate thread-safe objects.
18227 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18229 # Library versioning type.
18230 version_type=$version_type
18232 # Format of library name prefix.
18233 libname_spec=$lt_libname_spec
18235 # List of archive names. First name is the real one, the rest are links.
18236 # The last name is the one that the linker finds with -lNAME.
18237 library_names_spec=$lt_library_names_spec
18239 # The coded name of the library, if different from the real name.
18240 soname_spec=$lt_soname_spec
18242 # Commands used to build and install an old-style archive.
18244 old_archive_cmds=$lt_old_archive_cmds_RC
18245 old_postinstall_cmds=$lt_old_postinstall_cmds
18246 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18248 # Create an old-style archive from a shared archive.
18249 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18251 # Create a temporary old-style archive to link instead of a shared archive.
18252 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18254 # Commands used to build and install a shared archive.
18255 archive_cmds=$lt_archive_cmds_RC
18256 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18257 postinstall_cmds=$lt_postinstall_cmds
18258 postuninstall_cmds=$lt_postuninstall_cmds
18260 # Commands used to build a loadable module (assumed same as above if empty)
18261 module_cmds=$lt_module_cmds_RC
18262 module_expsym_cmds=$lt_module_expsym_cmds_RC
18264 # Commands to strip libraries.
18265 old_striplib=$lt_old_striplib
18266 striplib=$lt_striplib
18268 # Dependencies to place before the objects being linked to create a
18270 predep_objects=$lt_predep_objects_RC
18272 # Dependencies to place after the objects being linked to create a
18274 postdep_objects=$lt_postdep_objects_RC
18276 # Dependencies to place before the objects being linked to create a
18278 predeps=$lt_predeps_RC
18280 # Dependencies to place after the objects being linked to create a
18282 postdeps=$lt_postdeps_RC
18284 # The library search path used internally by the compiler when linking
18285 # a shared library.
18286 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18288 # Method to check whether dependent libraries are shared objects.
18289 deplibs_check_method=$lt_deplibs_check_method
18291 # Command to use when deplibs_check_method == file_magic.
18292 file_magic_cmd=$lt_file_magic_cmd
18294 # Flag that allows shared libraries with undefined symbols to be built.
18295 allow_undefined_flag=$lt_allow_undefined_flag_RC
18297 # Flag that forces no undefined symbols.
18298 no_undefined_flag=$lt_no_undefined_flag_RC
18300 # Commands used to finish a libtool library installation in a directory.
18301 finish_cmds=$lt_finish_cmds
18303 # Same as above, but a single script fragment to be evaled but not shown.
18304 finish_eval=$lt_finish_eval
18306 # Take the output of nm and produce a listing of raw symbols and C names.
18307 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18309 # Transform the output of nm in a proper C declaration
18310 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18312 # Transform the output of nm in a C name address pair
18313 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18315 # This is the shared library runtime path variable.
18316 runpath_var=$runpath_var
18318 # This is the shared library path variable.
18319 shlibpath_var=$shlibpath_var
18321 # Is shlibpath searched before the hard-coded library search path?
18322 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18324 # How to hardcode a shared library path into an executable.
18325 hardcode_action=$hardcode_action_RC
18327 # Whether we should hardcode library paths into libraries.
18328 hardcode_into_libs=$hardcode_into_libs
18330 # Flag to hardcode \$libdir into a binary during linking.
18331 # This must work even if \$libdir does not exist.
18332 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18334 # If ld is used when linking, flag to hardcode \$libdir into
18335 # a binary during linking. This must work even if \$libdir does
18337 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18339 # Whether we need a single -rpath flag with a separated argument.
18340 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18342 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18343 # resulting binary.
18344 hardcode_direct=$hardcode_direct_RC
18346 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18347 # resulting binary.
18348 hardcode_minus_L=$hardcode_minus_L_RC
18350 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18351 # the resulting binary.
18352 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18354 # Set to yes if building a shared library automatically hardcodes DIR into the library
18355 # and all subsequent libraries and executables linked against it.
18356 hardcode_automatic=$hardcode_automatic_RC
18358 # Variables whose values should be saved in libtool wrapper scripts and
18359 # restored at relink time.
18360 variables_saved_for_relink="$variables_saved_for_relink"
18362 # Whether libtool must link a program against all its dependency libraries.
18363 link_all_deplibs=$link_all_deplibs_RC
18365 # Compile-time system search path for libraries
18366 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18368 # Run-time system search path for libraries
18369 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18371 # Fix the shell variable \$srcfile for the compiler.
18372 fix_srcfile_path="$fix_srcfile_path_RC"
18374 # Set to yes if exported symbols are required.
18375 always_export_symbols=$always_export_symbols_RC
18377 # The commands to list exported symbols.
18378 export_symbols_cmds=$lt_export_symbols_cmds_RC
18380 # The commands to extract the exported symbol list from a shared archive.
18381 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18383 # Symbols that should not be listed in the preloaded symbols.
18384 exclude_expsyms=$lt_exclude_expsyms_RC
18386 # Symbols that must always be exported.
18387 include_expsyms=$lt_include_expsyms_RC
18389 # ### END LIBTOOL TAG CONFIG: $tagname
18395 # If there is no Makefile yet, we rely on a make rule to execute
18396 # `config.status --recheck' to rerun these tests and create the
18397 # libtool script then.
18398 test -f Makefile && make "$ltmain"
18403 ac_cpp='$CPP $CPPFLAGS'
18404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18413 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18414 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18415 { (exit 1); exit 1; }; }
18419 # Append the new tag name to the list of available tags.
18420 if test -n "$tagname" ; then
18421 available_tags="$available_tags $tagname"
18427 # Now substitute the updated list of available tags.
18428 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18429 mv "${ofile}T" "$ofile"
18433 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18434 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18435 { (exit 1); exit 1; }; }
18441 # This can be used to rebuild libtool when needed
18442 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18444 # Always use our own libtool.
18445 LIBTOOL='$(SHELL) $(top_builddir)/mklib'
18447 # Prevent multiple expansion
18469 # Extract the first word of "pwd", so it can be a program name with args.
18470 set dummy pwd; ac_word=$2
18471 echo "$as_me:$LINENO: checking for $ac_word" >&5
18472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18473 if test "${ac_cv_path_RPWD+set}" = set; then
18474 echo $ECHO_N "(cached) $ECHO_C" >&6
18478 ac_cv_path_RPWD="$RPWD" # Let the user override the test with a path.
18481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18482 for as_dir in $PATH
18485 test -z "$as_dir" && as_dir=.
18486 for ac_exec_ext in '' $ac_executable_extensions; do
18487 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18488 ac_cv_path_RPWD="$as_dir/$ac_word$ac_exec_ext"
18489 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18495 test -z "$ac_cv_path_RPWD" && ac_cv_path_RPWD="false"
18499 RPWD=$ac_cv_path_RPWD
18501 if test -n "$RPWD"; then
18502 echo "$as_me:$LINENO: result: $RPWD" >&5
18503 echo "${ECHO_T}$RPWD" >&6
18505 echo "$as_me:$LINENO: result: no" >&5
18506 echo "${ECHO_T}no" >&6
18509 if test ${RPWD} = "false"
18511 { { echo "$as_me:$LINENO: error: pwd required but not found" >&5
18512 echo "$as_me: error: pwd required but not found" >&2;}
18513 { (exit 1); exit 1; }; }
18516 # Extract the first word of "ar", so it can be a program name with args.
18517 set dummy ar; ac_word=$2
18518 echo "$as_me:$LINENO: checking for $ac_word" >&5
18519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18520 if test "${ac_cv_path_AR+set}" = set; then
18521 echo $ECHO_N "(cached) $ECHO_C" >&6
18525 ac_cv_path_AR="$AR" # Let the user override the test with a path.
18528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18529 for as_dir in $PATH
18532 test -z "$as_dir" && as_dir=.
18533 for ac_exec_ext in '' $ac_executable_extensions; do
18534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18535 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
18536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18542 test -z "$ac_cv_path_AR" && ac_cv_path_AR="false"
18548 if test -n "$AR"; then
18549 echo "$as_me:$LINENO: result: $AR" >&5
18550 echo "${ECHO_T}$AR" >&6
18552 echo "$as_me:$LINENO: result: no" >&5
18553 echo "${ECHO_T}no" >&6
18556 if test ${AR} = "false"
18558 { { echo "$as_me:$LINENO: error: ar required but not found" >&5
18559 echo "$as_me: error: ar required but not found" >&2;}
18560 { (exit 1); exit 1; }; }
18563 # Extract the first word of "sed", so it can be a program name with args.
18564 set dummy sed; ac_word=$2
18565 echo "$as_me:$LINENO: checking for $ac_word" >&5
18566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18567 if test "${ac_cv_path_SED+set}" = set; then
18568 echo $ECHO_N "(cached) $ECHO_C" >&6
18572 ac_cv_path_SED="$SED" # Let the user override the test with a path.
18575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18576 for as_dir in $PATH
18579 test -z "$as_dir" && as_dir=.
18580 for ac_exec_ext in '' $ac_executable_extensions; do
18581 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18582 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
18583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18589 test -z "$ac_cv_path_SED" && ac_cv_path_SED="false"
18593 SED=$ac_cv_path_SED
18595 if test -n "$SED"; then
18596 echo "$as_me:$LINENO: result: $SED" >&5
18597 echo "${ECHO_T}$SED" >&6
18599 echo "$as_me:$LINENO: result: no" >&5
18600 echo "${ECHO_T}no" >&6
18603 if test ${SED} = "false"
18605 { { echo "$as_me:$LINENO: error: sed required but not found" >&5
18606 echo "$as_me: error: sed required but not found" >&2;}
18607 { (exit 1); exit 1; }; }
18610 # Extract the first word of "rm", so it can be a program name with args.
18611 set dummy rm; ac_word=$2
18612 echo "$as_me:$LINENO: checking for $ac_word" >&5
18613 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18614 if test "${ac_cv_path_RM+set}" = set; then
18615 echo $ECHO_N "(cached) $ECHO_C" >&6
18619 ac_cv_path_RM="$RM" # Let the user override the test with a path.
18622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18623 for as_dir in $PATH
18626 test -z "$as_dir" && as_dir=.
18627 for ac_exec_ext in '' $ac_executable_extensions; do
18628 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18629 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
18630 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18636 test -z "$ac_cv_path_RM" && ac_cv_path_RM="false"
18642 if test -n "$RM"; then
18643 echo "$as_me:$LINENO: result: $RM" >&5
18644 echo "${ECHO_T}$RM" >&6
18646 echo "$as_me:$LINENO: result: no" >&5
18647 echo "${ECHO_T}no" >&6
18650 if test ${RM} = "false"
18652 { { echo "$as_me:$LINENO: error: rm required but not found" >&5
18653 echo "$as_me: error: rm required but not found" >&2;}
18654 { (exit 1); exit 1; }; }
18657 # Extract the first word of "echo", so it can be a program name with args.
18658 set dummy echo; ac_word=$2
18659 echo "$as_me:$LINENO: checking for $ac_word" >&5
18660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18661 if test "${ac_cv_path_ECHO+set}" = set; then
18662 echo $ECHO_N "(cached) $ECHO_C" >&6
18666 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
18669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18670 for as_dir in $PATH
18673 test -z "$as_dir" && as_dir=.
18674 for ac_exec_ext in '' $ac_executable_extensions; do
18675 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18676 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
18677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18683 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="false"
18687 ECHO=$ac_cv_path_ECHO
18689 if test -n "$ECHO"; then
18690 echo "$as_me:$LINENO: result: $ECHO" >&5
18691 echo "${ECHO_T}$ECHO" >&6
18693 echo "$as_me:$LINENO: result: no" >&5
18694 echo "${ECHO_T}no" >&6
18697 if test ${ECHO} = "false"
18699 { { echo "$as_me:$LINENO: error: echo required but not found" >&5
18700 echo "$as_me: error: echo required but not found" >&2;}
18701 { (exit 1); exit 1; }; }
18704 # Extract the first word of "mkdir", so it can be a program name with args.
18705 set dummy mkdir; ac_word=$2
18706 echo "$as_me:$LINENO: checking for $ac_word" >&5
18707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18708 if test "${ac_cv_path_MKDIR+set}" = set; then
18709 echo $ECHO_N "(cached) $ECHO_C" >&6
18713 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
18716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18717 for as_dir in $PATH
18720 test -z "$as_dir" && as_dir=.
18721 for ac_exec_ext in '' $ac_executable_extensions; do
18722 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18723 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
18724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18730 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR="false"
18734 MKDIR=$ac_cv_path_MKDIR
18736 if test -n "$MKDIR"; then
18737 echo "$as_me:$LINENO: result: $MKDIR" >&5
18738 echo "${ECHO_T}$MKDIR" >&6
18740 echo "$as_me:$LINENO: result: no" >&5
18741 echo "${ECHO_T}no" >&6
18744 if test ${MKDIR} = "false"
18746 { { echo "$as_me:$LINENO: error: mkdir required but not found" >&5
18747 echo "$as_me: error: mkdir required but not found" >&2;}
18748 { (exit 1); exit 1; }; }
18751 # Extract the first word of "date", so it can be a program name with args.
18752 set dummy date; ac_word=$2
18753 echo "$as_me:$LINENO: checking for $ac_word" >&5
18754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18755 if test "${ac_cv_path_DATE+set}" = set; then
18756 echo $ECHO_N "(cached) $ECHO_C" >&6
18760 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
18763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18764 for as_dir in $PATH
18767 test -z "$as_dir" && as_dir=.
18768 for ac_exec_ext in '' $ac_executable_extensions; do
18769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18770 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
18771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18777 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE="false"
18781 DATE=$ac_cv_path_DATE
18783 if test -n "$DATE"; then
18784 echo "$as_me:$LINENO: result: $DATE" >&5
18785 echo "${ECHO_T}$DATE" >&6
18787 echo "$as_me:$LINENO: result: no" >&5
18788 echo "${ECHO_T}no" >&6
18791 if test ${DATE} = "false"
18793 { { echo "$as_me:$LINENO: error: date required but not found" >&5
18794 echo "$as_me: error: date required but not found" >&2;}
18795 { (exit 1); exit 1; }; }
18798 # Extract the first word of "mv", so it can be a program name with args.
18799 set dummy mv; ac_word=$2
18800 echo "$as_me:$LINENO: checking for $ac_word" >&5
18801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18802 if test "${ac_cv_path_MV+set}" = set; then
18803 echo $ECHO_N "(cached) $ECHO_C" >&6
18807 ac_cv_path_MV="$MV" # Let the user override the test with a path.
18810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18811 for as_dir in $PATH
18814 test -z "$as_dir" && as_dir=.
18815 for ac_exec_ext in '' $ac_executable_extensions; do
18816 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18817 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
18818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18824 test -z "$ac_cv_path_MV" && ac_cv_path_MV="false"
18830 if test -n "$MV"; then
18831 echo "$as_me:$LINENO: result: $MV" >&5
18832 echo "${ECHO_T}$MV" >&6
18834 echo "$as_me:$LINENO: result: no" >&5
18835 echo "${ECHO_T}no" >&6
18838 if test ${MV} = "false"
18840 { { echo "$as_me:$LINENO: error: mv required but not found" >&5
18841 echo "$as_me: error: mv required but not found" >&2;}
18842 { (exit 1); exit 1; }; }
18845 # Extract the first word of "dot", so it can be a program name with args.
18846 set dummy dot; ac_word=$2
18847 echo "$as_me:$LINENO: checking for $ac_word" >&5
18848 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18849 if test "${ac_cv_path_DOT+set}" = set; then
18850 echo $ECHO_N "(cached) $ECHO_C" >&6
18854 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18858 for as_dir in $PATH
18861 test -z "$as_dir" && as_dir=.
18862 for ac_exec_ext in '' $ac_executable_extensions; do
18863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18864 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18871 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="false"
18875 DOT=$ac_cv_path_DOT
18877 if test -n "$DOT"; then
18878 echo "$as_me:$LINENO: result: $DOT" >&5
18879 echo "${ECHO_T}$DOT" >&6
18881 echo "$as_me:$LINENO: result: no" >&5
18882 echo "${ECHO_T}no" >&6
18886 # Extract the first word of "etags", so it can be a program name with args.
18887 set dummy etags; ac_word=$2
18888 echo "$as_me:$LINENO: checking for $ac_word" >&5
18889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18890 if test "${ac_cv_path_ETAGS+set}" = set; then
18891 echo $ECHO_N "(cached) $ECHO_C" >&6
18895 ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
18898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18899 for as_dir in $PATH
18902 test -z "$as_dir" && as_dir=.
18903 for ac_exec_ext in '' $ac_executable_extensions; do
18904 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18905 ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext"
18906 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18912 test -z "$ac_cv_path_ETAGS" && ac_cv_path_ETAGS="false"
18916 ETAGS=$ac_cv_path_ETAGS
18918 if test -n "$ETAGS"; then
18919 echo "$as_me:$LINENO: result: $ETAGS" >&5
18920 echo "${ECHO_T}$ETAGS" >&6
18922 echo "$as_me:$LINENO: result: no" >&5
18923 echo "${ECHO_T}no" >&6
18927 # Extract the first word of "purify", so it can be a program name with args.
18928 set dummy purify; ac_word=$2
18929 echo "$as_me:$LINENO: checking for $ac_word" >&5
18930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18931 if test "${ac_cv_path_PURIFY+set}" = set; then
18932 echo $ECHO_N "(cached) $ECHO_C" >&6
18936 ac_cv_path_PURIFY="$PURIFY" # Let the user override the test with a path.
18939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18940 for as_dir in $PATH
18943 test -z "$as_dir" && as_dir=.
18944 for ac_exec_ext in '' $ac_executable_extensions; do
18945 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18946 ac_cv_path_PURIFY="$as_dir/$ac_word$ac_exec_ext"
18947 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18953 test -z "$ac_cv_path_PURIFY" && ac_cv_path_PURIFY="false"
18957 PURIFY=$ac_cv_path_PURIFY
18959 if test -n "$PURIFY"; then
18960 echo "$as_me:$LINENO: result: $PURIFY" >&5
18961 echo "${ECHO_T}$PURIFY" >&6
18963 echo "$as_me:$LINENO: result: no" >&5
18964 echo "${ECHO_T}no" >&6
18968 # Extract the first word of "python", so it can be a program name with args.
18969 set dummy python; ac_word=$2
18970 echo "$as_me:$LINENO: checking for $ac_word" >&5
18971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18972 if test "${ac_cv_path_PYTHON+set}" = set; then
18973 echo $ECHO_N "(cached) $ECHO_C" >&6
18977 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
18980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18981 for as_dir in $PATH
18984 test -z "$as_dir" && as_dir=.
18985 for ac_exec_ext in '' $ac_executable_extensions; do
18986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18987 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
18988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18994 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="false"
18998 PYTHON=$ac_cv_path_PYTHON
19000 if test -n "$PYTHON"; then
19001 echo "$as_me:$LINENO: result: $PYTHON" >&5
19002 echo "${ECHO_T}$PYTHON" >&6
19004 echo "$as_me:$LINENO: result: no" >&5
19005 echo "${ECHO_T}no" >&6
19008 if test ${PYTHON} = "false"
19010 { echo "$as_me:$LINENO: WARNING: python required but not found" >&5
19011 echo "$as_me: WARNING: python required but not found" >&2;}
19014 # Extract the first word of "qmtest", so it can be a program name with args.
19015 set dummy qmtest; ac_word=$2
19016 echo "$as_me:$LINENO: checking for $ac_word" >&5
19017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19018 if test "${ac_cv_path_QMTEST+set}" = set; then
19019 echo $ECHO_N "(cached) $ECHO_C" >&6
19023 ac_cv_path_QMTEST="$QMTEST" # Let the user override the test with a path.
19026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19027 for as_dir in $PATH
19030 test -z "$as_dir" && as_dir=.
19031 for ac_exec_ext in '' $ac_executable_extensions; do
19032 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19033 ac_cv_path_QMTEST="$as_dir/$ac_word$ac_exec_ext"
19034 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19040 test -z "$ac_cv_path_QMTEST" && ac_cv_path_QMTEST="false"
19044 QMTEST=$ac_cv_path_QMTEST
19046 if test -n "$QMTEST"; then
19047 echo "$as_me:$LINENO: result: $QMTEST" >&5
19048 echo "${ECHO_T}$QMTEST" >&6
19050 echo "$as_me:$LINENO: result: no" >&5
19051 echo "${ECHO_T}no" >&6
19054 if test ${QMTEST} = "false"
19056 { echo "$as_me:$LINENO: WARNING: qmtest required but not found" >&5
19057 echo "$as_me: WARNING: qmtest required but not found" >&2;}
19060 pyversion=`$PYTHON -V 2>&1 | cut -d\ -f2`
19061 pymajor=`echo $pyversion | cut -d. -f1`
19062 pyminor=`echo $pyversion | cut -d. -f2`
19064 if test "$pymajor" -ge "2"
19066 if test "$pymajor" -eq "2"
19068 if test "$pyminor" -lt "2"
19070 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
19071 echo "$as_me: error: Python 2.2 or greater required" >&2;}
19072 { (exit 1); exit 1; }; }
19076 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
19077 echo "$as_me: error: Python 2.2 or greater required" >&2;}
19078 { (exit 1); exit 1; }; }
19085 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
19086 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
19087 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
19088 echo $ECHO_N "(cached) $ECHO_C" >&6
19090 ac_check_lib_save_LIBS=$LIBS
19092 cat >conftest.$ac_ext <<_ACEOF
19093 #line $LINENO "configure"
19096 cat confdefs.h >>conftest.$ac_ext
19097 cat >>conftest.$ac_ext <<_ACEOF
19098 /* end confdefs.h. */
19100 /* Override any gcc2 internal prototype to avoid an error. */
19104 /* We use char because int might match the return type of a gcc2
19105 builtin and then its argument prototype would still apply. */
19115 rm -f conftest.$ac_objext conftest$ac_exeext
19116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19117 (eval $ac_link) 2>&5
19119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19120 (exit $ac_status); } &&
19121 { ac_try='test -s conftest$ac_exeext'
19122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19123 (eval $ac_try) 2>&5
19125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126 (exit $ac_status); }; }; then
19127 ac_cv_lib_elf_elf_begin=yes
19129 echo "$as_me: failed program was:" >&5
19130 sed 's/^/| /' conftest.$ac_ext >&5
19132 ac_cv_lib_elf_elf_begin=no
19134 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19135 LIBS=$ac_check_lib_save_LIBS
19137 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
19138 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
19139 if test $ac_cv_lib_elf_elf_begin = yes; then
19140 cat >>confdefs.h <<_ACEOF
19141 #define HAVE_LIBELF 1
19149 echo "$as_me:$LINENO: checking for library containing dlopen" >&5
19150 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
19151 if test "${ac_cv_search_dlopen+set}" = set; then
19152 echo $ECHO_N "(cached) $ECHO_C" >&6
19154 ac_func_search_save_LIBS=$LIBS
19155 ac_cv_search_dlopen=no
19156 cat >conftest.$ac_ext <<_ACEOF
19157 #line $LINENO "configure"
19160 cat confdefs.h >>conftest.$ac_ext
19161 cat >>conftest.$ac_ext <<_ACEOF
19162 /* end confdefs.h. */
19164 /* Override any gcc2 internal prototype to avoid an error. */
19168 /* We use char because int might match the return type of a gcc2
19169 builtin and then its argument prototype would still apply. */
19179 rm -f conftest.$ac_objext conftest$ac_exeext
19180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19181 (eval $ac_link) 2>&5
19183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19184 (exit $ac_status); } &&
19185 { ac_try='test -s conftest$ac_exeext'
19186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19187 (eval $ac_try) 2>&5
19189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19190 (exit $ac_status); }; }; then
19191 ac_cv_search_dlopen="none required"
19193 echo "$as_me: failed program was:" >&5
19194 sed 's/^/| /' conftest.$ac_ext >&5
19197 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19198 if test "$ac_cv_search_dlopen" = no; then
19199 for ac_lib in dl; do
19200 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19201 cat >conftest.$ac_ext <<_ACEOF
19202 #line $LINENO "configure"
19205 cat confdefs.h >>conftest.$ac_ext
19206 cat >>conftest.$ac_ext <<_ACEOF
19207 /* end confdefs.h. */
19209 /* Override any gcc2 internal prototype to avoid an error. */
19213 /* We use char because int might match the return type of a gcc2
19214 builtin and then its argument prototype would still apply. */
19224 rm -f conftest.$ac_objext conftest$ac_exeext
19225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19226 (eval $ac_link) 2>&5
19228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19229 (exit $ac_status); } &&
19230 { ac_try='test -s conftest$ac_exeext'
19231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19232 (eval $ac_try) 2>&5
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); }; }; then
19236 ac_cv_search_dlopen="-l$ac_lib"
19239 echo "$as_me: failed program was:" >&5
19240 sed 's/^/| /' conftest.$ac_ext >&5
19243 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19246 LIBS=$ac_func_search_save_LIBS
19248 echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
19249 echo "${ECHO_T}$ac_cv_search_dlopen" >&6
19250 if test "$ac_cv_search_dlopen" != no; then
19251 test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
19254 { { echo "$as_me:$LINENO: error: dlopen() required but not found" >&5
19255 echo "$as_me: error: dlopen() required but not found" >&2;}
19256 { (exit 1); exit 1; }; }
19260 echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
19261 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6
19262 if test "${ac_cv_search_mallinfo+set}" = set; then
19263 echo $ECHO_N "(cached) $ECHO_C" >&6
19265 ac_func_search_save_LIBS=$LIBS
19266 ac_cv_search_mallinfo=no
19267 cat >conftest.$ac_ext <<_ACEOF
19268 #line $LINENO "configure"
19271 cat confdefs.h >>conftest.$ac_ext
19272 cat >>conftest.$ac_ext <<_ACEOF
19273 /* end confdefs.h. */
19275 /* Override any gcc2 internal prototype to avoid an error. */
19279 /* We use char because int might match the return type of a gcc2
19280 builtin and then its argument prototype would still apply. */
19290 rm -f conftest.$ac_objext conftest$ac_exeext
19291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19292 (eval $ac_link) 2>&5
19294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19295 (exit $ac_status); } &&
19296 { ac_try='test -s conftest$ac_exeext'
19297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19298 (eval $ac_try) 2>&5
19300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19301 (exit $ac_status); }; }; then
19302 ac_cv_search_mallinfo="none required"
19304 echo "$as_me: failed program was:" >&5
19305 sed 's/^/| /' conftest.$ac_ext >&5
19308 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19309 if test "$ac_cv_search_mallinfo" = no; then
19310 for ac_lib in malloc; do
19311 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
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. */
19320 /* Override any gcc2 internal prototype to avoid an error. */
19324 /* We use char because int might match the return type of a gcc2
19325 builtin and then its argument prototype would still apply. */
19335 rm -f conftest.$ac_objext conftest$ac_exeext
19336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19337 (eval $ac_link) 2>&5
19339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19340 (exit $ac_status); } &&
19341 { ac_try='test -s conftest$ac_exeext'
19342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19343 (eval $ac_try) 2>&5
19345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19346 (exit $ac_status); }; }; then
19347 ac_cv_search_mallinfo="-l$ac_lib"
19350 echo "$as_me: failed program was:" >&5
19351 sed 's/^/| /' conftest.$ac_ext >&5
19354 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19357 LIBS=$ac_func_search_save_LIBS
19359 echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
19360 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6
19361 if test "$ac_cv_search_mallinfo" != no; then
19362 test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS"
19363 cat >>confdefs.h <<\_ACEOF
19364 #define HAVE_MALLINFO 1
19371 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19372 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19373 if test "${ac_cv_header_stdc+set}" = set; then
19374 echo $ECHO_N "(cached) $ECHO_C" >&6
19376 cat >conftest.$ac_ext <<_ACEOF
19377 #line $LINENO "configure"
19380 cat confdefs.h >>conftest.$ac_ext
19381 cat >>conftest.$ac_ext <<_ACEOF
19382 /* end confdefs.h. */
19383 #include <stdlib.h>
19384 #include <stdarg.h>
19385 #include <string.h>
19396 rm -f conftest.$ac_objext
19397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19398 (eval $ac_compile) 2>&5
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); } &&
19402 { ac_try='test -s conftest.$ac_objext'
19403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19404 (eval $ac_try) 2>&5
19406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19407 (exit $ac_status); }; }; then
19408 ac_cv_header_stdc=yes
19410 echo "$as_me: failed program was:" >&5
19411 sed 's/^/| /' conftest.$ac_ext >&5
19413 ac_cv_header_stdc=no
19415 rm -f conftest.$ac_objext conftest.$ac_ext
19417 if test $ac_cv_header_stdc = yes; then
19418 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19419 cat >conftest.$ac_ext <<_ACEOF
19420 #line $LINENO "configure"
19423 cat confdefs.h >>conftest.$ac_ext
19424 cat >>conftest.$ac_ext <<_ACEOF
19425 /* end confdefs.h. */
19426 #include <string.h>
19429 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19430 $EGREP "memchr" >/dev/null 2>&1; then
19433 ac_cv_header_stdc=no
19439 if test $ac_cv_header_stdc = yes; then
19440 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19441 cat >conftest.$ac_ext <<_ACEOF
19442 #line $LINENO "configure"
19445 cat confdefs.h >>conftest.$ac_ext
19446 cat >>conftest.$ac_ext <<_ACEOF
19447 /* end confdefs.h. */
19448 #include <stdlib.h>
19451 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19452 $EGREP "free" >/dev/null 2>&1; then
19455 ac_cv_header_stdc=no
19461 if test $ac_cv_header_stdc = yes; then
19462 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19463 if test "$cross_compiling" = yes; then
19466 cat >conftest.$ac_ext <<_ACEOF
19467 #line $LINENO "configure"
19470 cat confdefs.h >>conftest.$ac_ext
19471 cat >>conftest.$ac_ext <<_ACEOF
19472 /* end confdefs.h. */
19474 #if ((' ' & 0x0FF) == 0x020)
19475 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19476 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19478 # define ISLOWER(c) \
19479 (('a' <= (c) && (c) <= 'i') \
19480 || ('j' <= (c) && (c) <= 'r') \
19481 || ('s' <= (c) && (c) <= 'z'))
19482 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19485 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19490 for (i = 0; i < 256; i++)
19491 if (XOR (islower (i), ISLOWER (i))
19492 || toupper (i) != TOUPPER (i))
19497 rm -f conftest$ac_exeext
19498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19499 (eval $ac_link) 2>&5
19501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19502 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19504 (eval $ac_try) 2>&5
19506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19507 (exit $ac_status); }; }; then
19510 echo "$as_me: program exited with status $ac_status" >&5
19511 echo "$as_me: failed program was:" >&5
19512 sed 's/^/| /' conftest.$ac_ext >&5
19514 ( exit $ac_status )
19515 ac_cv_header_stdc=no
19517 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19521 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19522 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19523 if test $ac_cv_header_stdc = yes; then
19525 cat >>confdefs.h <<\_ACEOF
19526 #define STDC_HEADERS 1
19531 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19532 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
19533 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19534 echo $ECHO_N "(cached) $ECHO_C" >&6
19536 cat >conftest.$ac_ext <<_ACEOF
19537 #line $LINENO "configure"
19540 cat confdefs.h >>conftest.$ac_ext
19541 cat >>conftest.$ac_ext <<_ACEOF
19542 /* end confdefs.h. */
19543 #include <sys/types.h>
19544 #include <sys/wait.h>
19545 #ifndef WEXITSTATUS
19546 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
19549 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19557 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19562 rm -f conftest.$ac_objext
19563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19564 (eval $ac_compile) 2>&5
19566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19567 (exit $ac_status); } &&
19568 { ac_try='test -s conftest.$ac_objext'
19569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19570 (eval $ac_try) 2>&5
19572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19573 (exit $ac_status); }; }; then
19574 ac_cv_header_sys_wait_h=yes
19576 echo "$as_me: failed program was:" >&5
19577 sed 's/^/| /' conftest.$ac_ext >&5
19579 ac_cv_header_sys_wait_h=no
19581 rm -f conftest.$ac_objext conftest.$ac_ext
19583 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19584 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
19585 if test $ac_cv_header_sys_wait_h = yes; then
19587 cat >>confdefs.h <<\_ACEOF
19588 #define HAVE_SYS_WAIT_H 1
19602 for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h
19604 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19605 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19606 echo "$as_me:$LINENO: checking for $ac_header" >&5
19607 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19608 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19609 echo $ECHO_N "(cached) $ECHO_C" >&6
19611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19612 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19614 # Is the header compilable?
19615 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19616 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19617 cat >conftest.$ac_ext <<_ACEOF
19618 #line $LINENO "configure"
19621 cat confdefs.h >>conftest.$ac_ext
19622 cat >>conftest.$ac_ext <<_ACEOF
19623 /* end confdefs.h. */
19624 $ac_includes_default
19625 #include <$ac_header>
19627 rm -f conftest.$ac_objext
19628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19629 (eval $ac_compile) 2>&5
19631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19632 (exit $ac_status); } &&
19633 { ac_try='test -s conftest.$ac_objext'
19634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19635 (eval $ac_try) 2>&5
19637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19638 (exit $ac_status); }; }; then
19639 ac_header_compiler=yes
19641 echo "$as_me: failed program was:" >&5
19642 sed 's/^/| /' conftest.$ac_ext >&5
19644 ac_header_compiler=no
19646 rm -f conftest.$ac_objext conftest.$ac_ext
19647 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19648 echo "${ECHO_T}$ac_header_compiler" >&6
19650 # Is the header present?
19651 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19652 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19653 cat >conftest.$ac_ext <<_ACEOF
19654 #line $LINENO "configure"
19657 cat confdefs.h >>conftest.$ac_ext
19658 cat >>conftest.$ac_ext <<_ACEOF
19659 /* end confdefs.h. */
19660 #include <$ac_header>
19662 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19663 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19665 grep -v '^ *+' conftest.er1 >conftest.err
19667 cat conftest.err >&5
19668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19669 (exit $ac_status); } >/dev/null; then
19670 if test -s conftest.err; then
19671 ac_cpp_err=$ac_c_preproc_warn_flag
19678 if test -z "$ac_cpp_err"; then
19679 ac_header_preproc=yes
19681 echo "$as_me: failed program was:" >&5
19682 sed 's/^/| /' conftest.$ac_ext >&5
19684 ac_header_preproc=no
19686 rm -f conftest.err conftest.$ac_ext
19687 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19688 echo "${ECHO_T}$ac_header_preproc" >&6
19690 # So? What about this header?
19691 case $ac_header_compiler:$ac_header_preproc in
19693 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19694 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19695 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19696 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19699 ## ------------------------------------ ##
19700 ## Report this to bug-autoconf@gnu.org. ##
19701 ## ------------------------------------ ##
19704 sed "s/^/$as_me: WARNING: /" >&2
19707 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19708 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19709 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19710 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19711 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19712 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19715 ## ------------------------------------ ##
19716 ## Report this to bug-autoconf@gnu.org. ##
19717 ## ------------------------------------ ##
19720 sed "s/^/$as_me: WARNING: /" >&2
19723 echo "$as_me:$LINENO: checking for $ac_header" >&5
19724 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19725 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19726 echo $ECHO_N "(cached) $ECHO_C" >&6
19728 eval "$as_ac_Header=$ac_header_preproc"
19730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19731 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19734 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19735 cat >>confdefs.h <<_ACEOF
19736 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19748 for ac_header in malloc.h strings.h sys/mman.h sys/resource.h
19750 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19752 echo "$as_me:$LINENO: checking for $ac_header" >&5
19753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19755 echo $ECHO_N "(cached) $ECHO_C" >&6
19757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19758 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19760 # Is the header compilable?
19761 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19762 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19763 cat >conftest.$ac_ext <<_ACEOF
19764 #line $LINENO "configure"
19767 cat confdefs.h >>conftest.$ac_ext
19768 cat >>conftest.$ac_ext <<_ACEOF
19769 /* end confdefs.h. */
19770 $ac_includes_default
19771 #include <$ac_header>
19773 rm -f conftest.$ac_objext
19774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19775 (eval $ac_compile) 2>&5
19777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778 (exit $ac_status); } &&
19779 { ac_try='test -s conftest.$ac_objext'
19780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19781 (eval $ac_try) 2>&5
19783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19784 (exit $ac_status); }; }; then
19785 ac_header_compiler=yes
19787 echo "$as_me: failed program was:" >&5
19788 sed 's/^/| /' conftest.$ac_ext >&5
19790 ac_header_compiler=no
19792 rm -f conftest.$ac_objext conftest.$ac_ext
19793 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19794 echo "${ECHO_T}$ac_header_compiler" >&6
19796 # Is the header present?
19797 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19798 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19799 cat >conftest.$ac_ext <<_ACEOF
19800 #line $LINENO "configure"
19803 cat confdefs.h >>conftest.$ac_ext
19804 cat >>conftest.$ac_ext <<_ACEOF
19805 /* end confdefs.h. */
19806 #include <$ac_header>
19808 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19809 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19811 grep -v '^ *+' conftest.er1 >conftest.err
19813 cat conftest.err >&5
19814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19815 (exit $ac_status); } >/dev/null; then
19816 if test -s conftest.err; then
19817 ac_cpp_err=$ac_c_preproc_warn_flag
19824 if test -z "$ac_cpp_err"; then
19825 ac_header_preproc=yes
19827 echo "$as_me: failed program was:" >&5
19828 sed 's/^/| /' conftest.$ac_ext >&5
19830 ac_header_preproc=no
19832 rm -f conftest.err conftest.$ac_ext
19833 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19834 echo "${ECHO_T}$ac_header_preproc" >&6
19836 # So? What about this header?
19837 case $ac_header_compiler:$ac_header_preproc in
19839 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19840 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19841 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19842 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19845 ## ------------------------------------ ##
19846 ## Report this to bug-autoconf@gnu.org. ##
19847 ## ------------------------------------ ##
19850 sed "s/^/$as_me: WARNING: /" >&2
19853 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19854 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19855 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19856 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19857 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19858 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19861 ## ------------------------------------ ##
19862 ## Report this to bug-autoconf@gnu.org. ##
19863 ## ------------------------------------ ##
19866 sed "s/^/$as_me: WARNING: /" >&2
19869 echo "$as_me:$LINENO: checking for $ac_header" >&5
19870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19871 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19872 echo $ECHO_N "(cached) $ECHO_C" >&6
19874 eval "$as_ac_Header=$ac_header_preproc"
19876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19877 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19880 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19881 cat >>confdefs.h <<_ACEOF
19882 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19892 for ac_header in dlfcn.h link.h
19894 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19895 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19896 echo "$as_me:$LINENO: checking for $ac_header" >&5
19897 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19898 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19899 echo $ECHO_N "(cached) $ECHO_C" >&6
19901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19902 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19904 # Is the header compilable?
19905 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19906 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19907 cat >conftest.$ac_ext <<_ACEOF
19908 #line $LINENO "configure"
19911 cat confdefs.h >>conftest.$ac_ext
19912 cat >>conftest.$ac_ext <<_ACEOF
19913 /* end confdefs.h. */
19914 $ac_includes_default
19915 #include <$ac_header>
19917 rm -f conftest.$ac_objext
19918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19919 (eval $ac_compile) 2>&5
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); } &&
19923 { ac_try='test -s conftest.$ac_objext'
19924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19925 (eval $ac_try) 2>&5
19927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19928 (exit $ac_status); }; }; then
19929 ac_header_compiler=yes
19931 echo "$as_me: failed program was:" >&5
19932 sed 's/^/| /' conftest.$ac_ext >&5
19934 ac_header_compiler=no
19936 rm -f conftest.$ac_objext conftest.$ac_ext
19937 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19938 echo "${ECHO_T}$ac_header_compiler" >&6
19940 # Is the header present?
19941 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19942 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19943 cat >conftest.$ac_ext <<_ACEOF
19944 #line $LINENO "configure"
19947 cat confdefs.h >>conftest.$ac_ext
19948 cat >>conftest.$ac_ext <<_ACEOF
19949 /* end confdefs.h. */
19950 #include <$ac_header>
19952 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19953 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19955 grep -v '^ *+' conftest.er1 >conftest.err
19957 cat conftest.err >&5
19958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19959 (exit $ac_status); } >/dev/null; then
19960 if test -s conftest.err; then
19961 ac_cpp_err=$ac_c_preproc_warn_flag
19968 if test -z "$ac_cpp_err"; then
19969 ac_header_preproc=yes
19971 echo "$as_me: failed program was:" >&5
19972 sed 's/^/| /' conftest.$ac_ext >&5
19974 ac_header_preproc=no
19976 rm -f conftest.err conftest.$ac_ext
19977 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19978 echo "${ECHO_T}$ac_header_preproc" >&6
19980 # So? What about this header?
19981 case $ac_header_compiler:$ac_header_preproc in
19983 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19984 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19985 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19986 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19989 ## ------------------------------------ ##
19990 ## Report this to bug-autoconf@gnu.org. ##
19991 ## ------------------------------------ ##
19994 sed "s/^/$as_me: WARNING: /" >&2
19997 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19998 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19999 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20000 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20001 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20002 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20005 ## ------------------------------------ ##
20006 ## Report this to bug-autoconf@gnu.org. ##
20007 ## ------------------------------------ ##
20010 sed "s/^/$as_me: WARNING: /" >&2
20013 echo "$as_me:$LINENO: checking for $ac_header" >&5
20014 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20015 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20016 echo $ECHO_N "(cached) $ECHO_C" >&6
20018 eval "$as_ac_Header=$ac_header_preproc"
20020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20021 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20024 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20025 cat >>confdefs.h <<_ACEOF
20026 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20035 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20036 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
20037 if test "${ac_cv_c_const+set}" = set; then
20038 echo $ECHO_N "(cached) $ECHO_C" >&6
20040 cat >conftest.$ac_ext <<_ACEOF
20041 #line $LINENO "configure"
20044 cat confdefs.h >>conftest.$ac_ext
20045 cat >>conftest.$ac_ext <<_ACEOF
20046 /* end confdefs.h. */
20051 /* FIXME: Include the comments suggested by Paul. */
20052 #ifndef __cplusplus
20053 /* Ultrix mips cc rejects this. */
20054 typedef int charset[2];
20056 /* SunOS 4.1.1 cc rejects this. */
20057 char const *const *ccp;
20059 /* NEC SVR4.0.2 mips cc rejects this. */
20060 struct point {int x, y;};
20061 static struct point const zero = {0,0};
20062 /* AIX XL C 1.02.0.0 rejects this.
20063 It does not let you subtract one const X* pointer from another in
20064 an arm of an if-expression whose if-part is not a constant
20066 const char *g = "string";
20067 ccp = &g + (g ? g-g : 0);
20068 /* HPUX 7.0 cc rejects these. */
20071 ccp = (char const *const *) p;
20072 { /* SCO 3.2v4 cc rejects this. */
20074 char const *s = 0 ? (char *) 0 : (char const *) 0;
20078 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20079 int x[] = {25, 17};
20080 const int *foo = &x[0];
20083 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20084 typedef const int *iptr;
20088 { /* AIX XL C 1.02.0.0 rejects this saying
20089 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20090 struct s { int j; const int *ap[3]; };
20091 struct s *b; b->j = 5;
20093 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20094 const int foo = 10;
20102 rm -f conftest.$ac_objext
20103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20104 (eval $ac_compile) 2>&5
20106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20107 (exit $ac_status); } &&
20108 { ac_try='test -s conftest.$ac_objext'
20109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20110 (eval $ac_try) 2>&5
20112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20113 (exit $ac_status); }; }; then
20116 echo "$as_me: failed program was:" >&5
20117 sed 's/^/| /' conftest.$ac_ext >&5
20121 rm -f conftest.$ac_objext conftest.$ac_ext
20123 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20124 echo "${ECHO_T}$ac_cv_c_const" >&6
20125 if test $ac_cv_c_const = no; then
20127 cat >>confdefs.h <<\_ACEOF
20133 echo "$as_me:$LINENO: checking for inline" >&5
20134 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20135 if test "${ac_cv_c_inline+set}" = set; then
20136 echo $ECHO_N "(cached) $ECHO_C" >&6
20139 for ac_kw in inline __inline__ __inline; do
20140 cat >conftest.$ac_ext <<_ACEOF
20141 #line $LINENO "configure"
20144 cat confdefs.h >>conftest.$ac_ext
20145 cat >>conftest.$ac_ext <<_ACEOF
20146 /* end confdefs.h. */
20147 #ifndef __cplusplus
20149 static $ac_kw foo_t static_foo () {return 0; }
20150 $ac_kw foo_t foo () {return 0; }
20154 rm -f conftest.$ac_objext
20155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20156 (eval $ac_compile) 2>&5
20158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20159 (exit $ac_status); } &&
20160 { ac_try='test -s conftest.$ac_objext'
20161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20162 (eval $ac_try) 2>&5
20164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20165 (exit $ac_status); }; }; then
20166 ac_cv_c_inline=$ac_kw; break
20168 echo "$as_me: failed program was:" >&5
20169 sed 's/^/| /' conftest.$ac_ext >&5
20172 rm -f conftest.$ac_objext conftest.$ac_ext
20176 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20177 echo "${ECHO_T}$ac_cv_c_inline" >&6
20178 case $ac_cv_c_inline in
20181 cat >>confdefs.h <<\_ACEOF
20185 *) cat >>confdefs.h <<_ACEOF
20186 #define inline $ac_cv_c_inline
20192 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20193 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20194 if test "${ac_cv_c_bigendian+set}" = set; then
20195 echo $ECHO_N "(cached) $ECHO_C" >&6
20197 # See if sys/param.h defines the BYTE_ORDER macro.
20198 cat >conftest.$ac_ext <<_ACEOF
20199 #line $LINENO "configure"
20202 cat confdefs.h >>conftest.$ac_ext
20203 cat >>conftest.$ac_ext <<_ACEOF
20204 /* end confdefs.h. */
20205 #include <sys/types.h>
20206 #include <sys/param.h>
20211 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20212 bogus endian macros
20219 rm -f conftest.$ac_objext
20220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20221 (eval $ac_compile) 2>&5
20223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20224 (exit $ac_status); } &&
20225 { ac_try='test -s conftest.$ac_objext'
20226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20227 (eval $ac_try) 2>&5
20229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20230 (exit $ac_status); }; }; then
20231 # It does; now see whether it defined to BIG_ENDIAN or not.
20232 cat >conftest.$ac_ext <<_ACEOF
20233 #line $LINENO "configure"
20236 cat confdefs.h >>conftest.$ac_ext
20237 cat >>conftest.$ac_ext <<_ACEOF
20238 /* end confdefs.h. */
20239 #include <sys/types.h>
20240 #include <sys/param.h>
20245 #if BYTE_ORDER != BIG_ENDIAN
20253 rm -f conftest.$ac_objext
20254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20255 (eval $ac_compile) 2>&5
20257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258 (exit $ac_status); } &&
20259 { ac_try='test -s conftest.$ac_objext'
20260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20261 (eval $ac_try) 2>&5
20263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20264 (exit $ac_status); }; }; then
20265 ac_cv_c_bigendian=yes
20267 echo "$as_me: failed program was:" >&5
20268 sed 's/^/| /' conftest.$ac_ext >&5
20270 ac_cv_c_bigendian=no
20272 rm -f conftest.$ac_objext conftest.$ac_ext
20274 echo "$as_me: failed program was:" >&5
20275 sed 's/^/| /' conftest.$ac_ext >&5
20277 # It does not; compile a test program.
20278 if test "$cross_compiling" = yes; then
20279 # try to guess the endianness by grepping values into an object file
20280 ac_cv_c_bigendian=unknown
20281 cat >conftest.$ac_ext <<_ACEOF
20282 #line $LINENO "configure"
20285 cat confdefs.h >>conftest.$ac_ext
20286 cat >>conftest.$ac_ext <<_ACEOF
20287 /* end confdefs.h. */
20288 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20289 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20290 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20291 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20292 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20293 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20297 _ascii (); _ebcdic ();
20302 rm -f conftest.$ac_objext
20303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20304 (eval $ac_compile) 2>&5
20306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20307 (exit $ac_status); } &&
20308 { ac_try='test -s conftest.$ac_objext'
20309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20310 (eval $ac_try) 2>&5
20312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20313 (exit $ac_status); }; }; then
20314 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
20315 ac_cv_c_bigendian=yes
20317 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
20318 if test "$ac_cv_c_bigendian" = unknown; then
20319 ac_cv_c_bigendian=no
20321 # finding both strings is unlikely to happen, but who knows?
20322 ac_cv_c_bigendian=unknown
20326 echo "$as_me: failed program was:" >&5
20327 sed 's/^/| /' conftest.$ac_ext >&5
20330 rm -f conftest.$ac_objext conftest.$ac_ext
20332 cat >conftest.$ac_ext <<_ACEOF
20333 #line $LINENO "configure"
20336 cat confdefs.h >>conftest.$ac_ext
20337 cat >>conftest.$ac_ext <<_ACEOF
20338 /* end confdefs.h. */
20342 /* Are we little or big endian? From Harbison&Steele. */
20346 char c[sizeof (long)];
20349 exit (u.c[sizeof (long) - 1] == 1);
20352 rm -f conftest$ac_exeext
20353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20354 (eval $ac_link) 2>&5
20356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20357 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20359 (eval $ac_try) 2>&5
20361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20362 (exit $ac_status); }; }; then
20363 ac_cv_c_bigendian=no
20365 echo "$as_me: program exited with status $ac_status" >&5
20366 echo "$as_me: failed program was:" >&5
20367 sed 's/^/| /' conftest.$ac_ext >&5
20369 ( exit $ac_status )
20370 ac_cv_c_bigendian=yes
20372 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20375 rm -f conftest.$ac_objext conftest.$ac_ext
20377 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20378 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20379 case $ac_cv_c_bigendian in
20381 cat >>confdefs.h <<\_ACEOF
20382 #define ENDIAN_BIG 1
20386 cat >>confdefs.h <<\_ACEOF
20387 #define ENDIAN_LITTLE 1
20391 { { echo "$as_me:$LINENO: error: unknown endianness
20392 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20393 echo "$as_me: error: unknown endianness
20394 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20395 { (exit 1); exit 1; }; } ;;
20399 echo "$as_me:$LINENO: checking for pid_t" >&5
20400 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20401 if test "${ac_cv_type_pid_t+set}" = set; then
20402 echo $ECHO_N "(cached) $ECHO_C" >&6
20404 cat >conftest.$ac_ext <<_ACEOF
20405 #line $LINENO "configure"
20408 cat confdefs.h >>conftest.$ac_ext
20409 cat >>conftest.$ac_ext <<_ACEOF
20410 /* end confdefs.h. */
20411 $ac_includes_default
20417 if (sizeof (pid_t))
20423 rm -f conftest.$ac_objext
20424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20425 (eval $ac_compile) 2>&5
20427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20428 (exit $ac_status); } &&
20429 { ac_try='test -s conftest.$ac_objext'
20430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20431 (eval $ac_try) 2>&5
20433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20434 (exit $ac_status); }; }; then
20435 ac_cv_type_pid_t=yes
20437 echo "$as_me: failed program was:" >&5
20438 sed 's/^/| /' conftest.$ac_ext >&5
20440 ac_cv_type_pid_t=no
20442 rm -f conftest.$ac_objext conftest.$ac_ext
20444 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20445 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20446 if test $ac_cv_type_pid_t = yes; then
20450 cat >>confdefs.h <<_ACEOF
20456 echo "$as_me:$LINENO: checking for size_t" >&5
20457 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20458 if test "${ac_cv_type_size_t+set}" = set; then
20459 echo $ECHO_N "(cached) $ECHO_C" >&6
20461 cat >conftest.$ac_ext <<_ACEOF
20462 #line $LINENO "configure"
20465 cat confdefs.h >>conftest.$ac_ext
20466 cat >>conftest.$ac_ext <<_ACEOF
20467 /* end confdefs.h. */
20468 $ac_includes_default
20474 if (sizeof (size_t))
20480 rm -f conftest.$ac_objext
20481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20482 (eval $ac_compile) 2>&5
20484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20485 (exit $ac_status); } &&
20486 { ac_try='test -s conftest.$ac_objext'
20487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20488 (eval $ac_try) 2>&5
20490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20491 (exit $ac_status); }; }; then
20492 ac_cv_type_size_t=yes
20494 echo "$as_me: failed program was:" >&5
20495 sed 's/^/| /' conftest.$ac_ext >&5
20497 ac_cv_type_size_t=no
20499 rm -f conftest.$ac_objext conftest.$ac_ext
20501 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20502 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20503 if test $ac_cv_type_size_t = yes; then
20507 cat >>confdefs.h <<_ACEOF
20508 #define size_t unsigned
20513 echo "$as_me:$LINENO: checking for int64_t" >&5
20514 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
20515 if test "${ac_cv_type_int64_t+set}" = set; then
20516 echo $ECHO_N "(cached) $ECHO_C" >&6
20518 cat >conftest.$ac_ext <<_ACEOF
20519 #line $LINENO "configure"
20522 cat confdefs.h >>conftest.$ac_ext
20523 cat >>conftest.$ac_ext <<_ACEOF
20524 /* end confdefs.h. */
20525 $ac_includes_default
20531 if (sizeof (int64_t))
20537 rm -f conftest.$ac_objext
20538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20539 (eval $ac_compile) 2>&5
20541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20542 (exit $ac_status); } &&
20543 { ac_try='test -s conftest.$ac_objext'
20544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20545 (eval $ac_try) 2>&5
20547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20548 (exit $ac_status); }; }; then
20549 ac_cv_type_int64_t=yes
20551 echo "$as_me: failed program was:" >&5
20552 sed 's/^/| /' conftest.$ac_ext >&5
20554 ac_cv_type_int64_t=no
20556 rm -f conftest.$ac_objext conftest.$ac_ext
20558 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
20559 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
20560 if test $ac_cv_type_int64_t = yes; then
20562 cat >>confdefs.h <<_ACEOF
20563 #define HAVE_INT64_T 1
20568 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
20569 echo "$as_me: error: Type int64_t required but not found" >&2;}
20570 { (exit 1); exit 1; }; }
20573 echo "$as_me:$LINENO: checking for uint64_t" >&5
20574 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
20575 if test "${ac_cv_type_uint64_t+set}" = set; then
20576 echo $ECHO_N "(cached) $ECHO_C" >&6
20578 cat >conftest.$ac_ext <<_ACEOF
20579 #line $LINENO "configure"
20582 cat confdefs.h >>conftest.$ac_ext
20583 cat >>conftest.$ac_ext <<_ACEOF
20584 /* end confdefs.h. */
20585 $ac_includes_default
20589 if ((uint64_t *) 0)
20591 if (sizeof (uint64_t))
20597 rm -f conftest.$ac_objext
20598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20599 (eval $ac_compile) 2>&5
20601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20602 (exit $ac_status); } &&
20603 { ac_try='test -s conftest.$ac_objext'
20604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20605 (eval $ac_try) 2>&5
20607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20608 (exit $ac_status); }; }; then
20609 ac_cv_type_uint64_t=yes
20611 echo "$as_me: failed program was:" >&5
20612 sed 's/^/| /' conftest.$ac_ext >&5
20614 ac_cv_type_uint64_t=no
20616 rm -f conftest.$ac_objext conftest.$ac_ext
20618 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
20619 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
20620 if test $ac_cv_type_uint64_t = yes; then
20622 cat >>confdefs.h <<_ACEOF
20623 #define HAVE_UINT64_T 1
20628 { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5
20629 echo "$as_me: error: Type uint64_t required but not found" >&2;}
20630 { (exit 1); exit 1; }; }
20633 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20634 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20635 if test "${ac_cv_header_time+set}" = set; then
20636 echo $ECHO_N "(cached) $ECHO_C" >&6
20638 cat >conftest.$ac_ext <<_ACEOF
20639 #line $LINENO "configure"
20642 cat confdefs.h >>conftest.$ac_ext
20643 cat >>conftest.$ac_ext <<_ACEOF
20644 /* end confdefs.h. */
20645 #include <sys/types.h>
20646 #include <sys/time.h>
20652 if ((struct tm *) 0)
20658 rm -f conftest.$ac_objext
20659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20660 (eval $ac_compile) 2>&5
20662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20663 (exit $ac_status); } &&
20664 { ac_try='test -s conftest.$ac_objext'
20665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20666 (eval $ac_try) 2>&5
20668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20669 (exit $ac_status); }; }; then
20670 ac_cv_header_time=yes
20672 echo "$as_me: failed program was:" >&5
20673 sed 's/^/| /' conftest.$ac_ext >&5
20675 ac_cv_header_time=no
20677 rm -f conftest.$ac_objext conftest.$ac_ext
20679 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20680 echo "${ECHO_T}$ac_cv_header_time" >&6
20681 if test $ac_cv_header_time = yes; then
20683 cat >>confdefs.h <<\_ACEOF
20684 #define TIME_WITH_SYS_TIME 1
20689 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20690 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
20691 if test "${ac_cv_struct_tm+set}" = set; then
20692 echo $ECHO_N "(cached) $ECHO_C" >&6
20694 cat >conftest.$ac_ext <<_ACEOF
20695 #line $LINENO "configure"
20698 cat confdefs.h >>conftest.$ac_ext
20699 cat >>conftest.$ac_ext <<_ACEOF
20700 /* end confdefs.h. */
20701 #include <sys/types.h>
20707 struct tm *tp; tp->tm_sec;
20712 rm -f conftest.$ac_objext
20713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20714 (eval $ac_compile) 2>&5
20716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20717 (exit $ac_status); } &&
20718 { ac_try='test -s conftest.$ac_objext'
20719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20720 (eval $ac_try) 2>&5
20722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20723 (exit $ac_status); }; }; then
20724 ac_cv_struct_tm=time.h
20726 echo "$as_me: failed program was:" >&5
20727 sed 's/^/| /' conftest.$ac_ext >&5
20729 ac_cv_struct_tm=sys/time.h
20731 rm -f conftest.$ac_objext conftest.$ac_ext
20733 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20734 echo "${ECHO_T}$ac_cv_struct_tm" >&6
20735 if test $ac_cv_struct_tm = sys/time.h; then
20737 cat >>confdefs.h <<\_ACEOF
20738 #define TM_IN_SYS_TIME 1
20744 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
20745 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
20746 if test "${ac_cv_cxx_namespaces+set}" = set; then
20747 echo $ECHO_N "(cached) $ECHO_C" >&6
20752 ac_cpp='$CXXCPP $CPPFLAGS'
20753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 namespace Outer { namespace Inner { int i = 0; }}
20768 using namespace Outer::Inner; return i;
20773 rm -f conftest.$ac_objext
20774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20775 (eval $ac_compile) 2>&5
20777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20778 (exit $ac_status); } &&
20779 { ac_try='test -s conftest.$ac_objext'
20780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20781 (eval $ac_try) 2>&5
20783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20784 (exit $ac_status); }; }; then
20785 ac_cv_cxx_namespaces=yes
20787 echo "$as_me: failed program was:" >&5
20788 sed 's/^/| /' conftest.$ac_ext >&5
20790 ac_cv_cxx_namespaces=no
20792 rm -f conftest.$ac_objext conftest.$ac_ext
20794 ac_cpp='$CPP $CPPFLAGS'
20795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20801 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
20802 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
20803 if test "$ac_cv_cxx_namespaces" = yes; then
20805 cat >>confdefs.h <<\_ACEOF
20806 #define HAVE_NAMESPACES
20811 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_map" >&5
20812 echo $ECHO_N "checking whether the compiler has ext/hash_map... $ECHO_C" >&6
20813 if test "${ac_cv_cxx_have_ext_hash_map+set}" = set; then
20814 echo $ECHO_N "(cached) $ECHO_C" >&6
20820 ac_cpp='$CXXCPP $CPPFLAGS'
20821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20825 cat >conftest.$ac_ext <<_ACEOF
20826 #line $LINENO "configure"
20829 cat confdefs.h >>conftest.$ac_ext
20830 cat >>conftest.$ac_ext <<_ACEOF
20831 /* end confdefs.h. */
20832 #include <ext/hash_map>
20833 #ifdef HAVE_NAMESPACES
20834 using namespace std;
20839 hash_map<int, int> t; return 0;
20844 rm -f conftest.$ac_objext
20845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20846 (eval $ac_compile) 2>&5
20848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20849 (exit $ac_status); } &&
20850 { ac_try='test -s conftest.$ac_objext'
20851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20852 (eval $ac_try) 2>&5
20854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20855 (exit $ac_status); }; }; then
20856 ac_cv_cxx_have_ext_hash_map=std
20858 echo "$as_me: failed program was:" >&5
20859 sed 's/^/| /' conftest.$ac_ext >&5
20861 ac_cv_cxx_have_ext_hash_map=no
20863 rm -f conftest.$ac_objext conftest.$ac_ext
20864 cat >conftest.$ac_ext <<_ACEOF
20865 #line $LINENO "configure"
20868 cat confdefs.h >>conftest.$ac_ext
20869 cat >>conftest.$ac_ext <<_ACEOF
20870 /* end confdefs.h. */
20871 #include <ext/hash_map>
20872 #ifdef HAVE_NAMESPACES
20873 using namespace __gnu_cxx;
20878 hash_map<int, int> t; return 0;
20883 rm -f conftest.$ac_objext
20884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20885 (eval $ac_compile) 2>&5
20887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20888 (exit $ac_status); } &&
20889 { ac_try='test -s conftest.$ac_objext'
20890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20891 (eval $ac_try) 2>&5
20893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20894 (exit $ac_status); }; }; then
20895 ac_cv_cxx_have_ext_hash_map=gnu
20897 echo "$as_me: failed program was:" >&5
20898 sed 's/^/| /' conftest.$ac_ext >&5
20900 ac_cv_cxx_have_ext_hash_map=no
20902 rm -f conftest.$ac_objext conftest.$ac_ext
20904 ac_cpp='$CPP $CPPFLAGS'
20905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20911 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_map" >&5
20912 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_map" >&6
20913 if test "$ac_cv_cxx_have_ext_hash_map" = std; then
20915 cat >>confdefs.h <<\_ACEOF
20916 #define HAVE_STD_EXT_HASH_MAP
20920 if test "$ac_cv_cxx_have_ext_hash_map" = gnu; then
20922 cat >>confdefs.h <<\_ACEOF
20923 #define HAVE_GNU_EXT_HASH_MAP
20928 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_set" >&5
20929 echo $ECHO_N "checking whether the compiler has ext/hash_set... $ECHO_C" >&6
20930 if test "${ac_cv_cxx_have_ext_hash_set+set}" = set; then
20931 echo $ECHO_N "(cached) $ECHO_C" >&6
20937 ac_cpp='$CXXCPP $CPPFLAGS'
20938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20942 cat >conftest.$ac_ext <<_ACEOF
20943 #line $LINENO "configure"
20946 cat confdefs.h >>conftest.$ac_ext
20947 cat >>conftest.$ac_ext <<_ACEOF
20948 /* end confdefs.h. */
20949 #include <ext/hash_set>
20950 #ifdef HAVE_NAMESPACES
20951 using namespace std;
20956 hash_set<int> t; return 0;
20961 rm -f conftest.$ac_objext
20962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20963 (eval $ac_compile) 2>&5
20965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20966 (exit $ac_status); } &&
20967 { ac_try='test -s conftest.$ac_objext'
20968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20969 (eval $ac_try) 2>&5
20971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20972 (exit $ac_status); }; }; then
20973 ac_cv_cxx_have_ext_hash_set=std
20975 echo "$as_me: failed program was:" >&5
20976 sed 's/^/| /' conftest.$ac_ext >&5
20978 ac_cv_cxx_have_ext_hash_set=no
20980 rm -f conftest.$ac_objext conftest.$ac_ext
20981 cat >conftest.$ac_ext <<_ACEOF
20982 #line $LINENO "configure"
20985 cat confdefs.h >>conftest.$ac_ext
20986 cat >>conftest.$ac_ext <<_ACEOF
20987 /* end confdefs.h. */
20988 #include <ext/hash_set>
20989 #ifdef HAVE_NAMESPACES
20990 using namespace __gnu_cxx;
20995 hash_set<int> t; return 0;
21000 rm -f conftest.$ac_objext
21001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21002 (eval $ac_compile) 2>&5
21004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21005 (exit $ac_status); } &&
21006 { ac_try='test -s conftest.$ac_objext'
21007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21008 (eval $ac_try) 2>&5
21010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21011 (exit $ac_status); }; }; then
21012 ac_cv_cxx_have_ext_hash_set=gnu
21014 echo "$as_me: failed program was:" >&5
21015 sed 's/^/| /' conftest.$ac_ext >&5
21017 ac_cv_cxx_have_ext_hash_set=no
21019 rm -f conftest.$ac_objext conftest.$ac_ext
21021 ac_cpp='$CPP $CPPFLAGS'
21022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21028 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_set" >&5
21029 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_set" >&6
21030 if test "$ac_cv_cxx_have_ext_hash_set" = std; then
21032 cat >>confdefs.h <<\_ACEOF
21033 #define HAVE_STD_EXT_HASH_SET
21037 if test "$ac_cv_cxx_have_ext_hash_set" = gnu; then
21039 cat >>confdefs.h <<\_ACEOF
21040 #define HAVE_GNU_EXT_HASH_SET
21045 echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5
21046 echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6
21047 if test "${ac_cv_cxx_have_ext_slist+set}" = set; then
21048 echo $ECHO_N "(cached) $ECHO_C" >&6
21054 ac_cpp='$CXXCPP $CPPFLAGS'
21055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21059 cat >conftest.$ac_ext <<_ACEOF
21060 #line $LINENO "configure"
21063 cat confdefs.h >>conftest.$ac_ext
21064 cat >>conftest.$ac_ext <<_ACEOF
21065 /* end confdefs.h. */
21066 #include <ext/slist>
21067 #ifdef HAVE_NAMESPACES
21068 using namespace std;
21073 slist<int> s; return 0;
21078 rm -f conftest.$ac_objext
21079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21080 (eval $ac_compile) 2>&5
21082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21083 (exit $ac_status); } &&
21084 { ac_try='test -s conftest.$ac_objext'
21085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21086 (eval $ac_try) 2>&5
21088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21089 (exit $ac_status); }; }; then
21090 ac_cv_cxx_have_ext_slist=std
21092 echo "$as_me: failed program was:" >&5
21093 sed 's/^/| /' conftest.$ac_ext >&5
21095 ac_cv_cxx_have_ext_slist=no
21097 rm -f conftest.$ac_objext conftest.$ac_ext
21098 cat >conftest.$ac_ext <<_ACEOF
21099 #line $LINENO "configure"
21102 cat confdefs.h >>conftest.$ac_ext
21103 cat >>conftest.$ac_ext <<_ACEOF
21104 /* end confdefs.h. */
21105 #include <ext/slist>
21106 #ifdef HAVE_NAMESPACES
21107 using namespace __gnu_cxx;
21112 slist<int> s; return 0;
21117 rm -f conftest.$ac_objext
21118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21119 (eval $ac_compile) 2>&5
21121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21122 (exit $ac_status); } &&
21123 { ac_try='test -s conftest.$ac_objext'
21124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21125 (eval $ac_try) 2>&5
21127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21128 (exit $ac_status); }; }; then
21129 ac_cv_cxx_have_ext_slist=gnu
21131 echo "$as_me: failed program was:" >&5
21132 sed 's/^/| /' conftest.$ac_ext >&5
21134 ac_cv_cxx_have_ext_slist=no
21136 rm -f conftest.$ac_objext conftest.$ac_ext
21139 ac_cpp='$CPP $CPPFLAGS'
21140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21146 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5
21147 echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6
21148 if test "$ac_cv_cxx_have_ext_slist" = std; then
21150 cat >>confdefs.h <<\_ACEOF
21151 #define HAVE_EXT_SLIST std
21155 if test "$ac_cv_cxx_have_ext_slist" = gnu; then
21157 cat >>confdefs.h <<\_ACEOF
21158 #define HAVE_EXT_SLIST gnu
21163 echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
21164 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6
21165 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
21166 echo $ECHO_N "(cached) $ECHO_C" >&6
21172 ac_cpp='$CXXCPP $CPPFLAGS'
21173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21177 cat >conftest.$ac_ext <<_ACEOF
21178 #line $LINENO "configure"
21181 cat confdefs.h >>conftest.$ac_ext
21182 cat >>conftest.$ac_ext <<_ACEOF
21183 /* end confdefs.h. */
21184 #include <iterator>
21185 #ifdef HAVE_NAMESPACES
21186 using namespace std;
21191 iterator<int,int,int> t; return 0;
21196 rm -f conftest.$ac_objext
21197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21198 (eval $ac_compile) 2>&5
21200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21201 (exit $ac_status); } &&
21202 { ac_try='test -s conftest.$ac_objext'
21203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21204 (eval $ac_try) 2>&5
21206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21207 (exit $ac_status); }; }; then
21208 ac_cv_cxx_have_std_iterator=yes
21210 echo "$as_me: failed program was:" >&5
21211 sed 's/^/| /' conftest.$ac_ext >&5
21213 ac_cv_cxx_have_std_iterator=no
21215 rm -f conftest.$ac_objext conftest.$ac_ext
21217 ac_cpp='$CPP $CPPFLAGS'
21218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21224 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
21225 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6
21226 if test "$ac_cv_cxx_have_std_iterator" = yes; then
21228 cat >>confdefs.h <<\_ACEOF
21229 #define HAVE_STD_ITERATOR
21234 echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
21235 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6
21236 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
21237 echo $ECHO_N "(cached) $ECHO_C" >&6
21243 ac_cpp='$CXXCPP $CPPFLAGS'
21244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21248 cat >conftest.$ac_ext <<_ACEOF
21249 #line $LINENO "configure"
21252 cat confdefs.h >>conftest.$ac_ext
21253 cat >>conftest.$ac_ext <<_ACEOF
21254 /* end confdefs.h. */
21255 #include <iterator>
21256 #ifdef HAVE_NAMESPACES
21257 using namespace std;
21262 bidirectional_iterator<int,int> t; return 0;
21267 rm -f conftest.$ac_objext
21268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21269 (eval $ac_compile) 2>&5
21271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21272 (exit $ac_status); } &&
21273 { ac_try='test -s conftest.$ac_objext'
21274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21275 (eval $ac_try) 2>&5
21277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21278 (exit $ac_status); }; }; then
21279 ac_cv_cxx_have_bi_iterator=yes
21281 echo "$as_me: failed program was:" >&5
21282 sed 's/^/| /' conftest.$ac_ext >&5
21284 ac_cv_cxx_have_bi_iterator=no
21286 rm -f conftest.$ac_objext conftest.$ac_ext
21288 ac_cpp='$CPP $CPPFLAGS'
21289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21295 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
21296 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6
21297 if test "$ac_cv_cxx_have_bi_iterator" = yes; then
21299 cat >>confdefs.h <<\_ACEOF
21300 #define HAVE_BI_ITERATOR
21305 echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
21306 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6
21307 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
21308 echo $ECHO_N "(cached) $ECHO_C" >&6
21314 ac_cpp='$CXXCPP $CPPFLAGS'
21315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21319 cat >conftest.$ac_ext <<_ACEOF
21320 #line $LINENO "configure"
21323 cat confdefs.h >>conftest.$ac_ext
21324 cat >>conftest.$ac_ext <<_ACEOF
21325 /* end confdefs.h. */
21326 #include <iterator>
21327 #ifdef HAVE_NAMESPACES
21328 using namespace std;
21333 forward_iterator<int,int> t; return 0;
21338 rm -f conftest.$ac_objext
21339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21340 (eval $ac_compile) 2>&5
21342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21343 (exit $ac_status); } &&
21344 { ac_try='test -s conftest.$ac_objext'
21345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21346 (eval $ac_try) 2>&5
21348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21349 (exit $ac_status); }; }; then
21350 ac_cv_cxx_have_fwd_iterator=yes
21352 echo "$as_me: failed program was:" >&5
21353 sed 's/^/| /' conftest.$ac_ext >&5
21355 ac_cv_cxx_have_fwd_iterator=no
21357 rm -f conftest.$ac_objext conftest.$ac_ext
21359 ac_cpp='$CPP $CPPFLAGS'
21360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21366 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
21367 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6
21368 if test "$ac_cv_cxx_have_fwd_iterator" = yes; then
21370 cat >>confdefs.h <<\_ACEOF
21371 #define HAVE_FWD_ITERATOR
21377 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21378 # for constant arguments. Useless!
21379 echo "$as_me:$LINENO: checking for working alloca.h" >&5
21380 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
21381 if test "${ac_cv_working_alloca_h+set}" = set; then
21382 echo $ECHO_N "(cached) $ECHO_C" >&6
21384 cat >conftest.$ac_ext <<_ACEOF
21385 #line $LINENO "configure"
21388 cat confdefs.h >>conftest.$ac_ext
21389 cat >>conftest.$ac_ext <<_ACEOF
21390 /* end confdefs.h. */
21391 #include <alloca.h>
21395 char *p = (char *) alloca (2 * sizeof (int));
21400 rm -f conftest.$ac_objext conftest$ac_exeext
21401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21402 (eval $ac_link) 2>&5
21404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21405 (exit $ac_status); } &&
21406 { ac_try='test -s conftest$ac_exeext'
21407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21408 (eval $ac_try) 2>&5
21410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21411 (exit $ac_status); }; }; then
21412 ac_cv_working_alloca_h=yes
21414 echo "$as_me: failed program was:" >&5
21415 sed 's/^/| /' conftest.$ac_ext >&5
21417 ac_cv_working_alloca_h=no
21419 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21421 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21422 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
21423 if test $ac_cv_working_alloca_h = yes; then
21425 cat >>confdefs.h <<\_ACEOF
21426 #define HAVE_ALLOCA_H 1
21431 echo "$as_me:$LINENO: checking for alloca" >&5
21432 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
21433 if test "${ac_cv_func_alloca_works+set}" = set; then
21434 echo $ECHO_N "(cached) $ECHO_C" >&6
21436 cat >conftest.$ac_ext <<_ACEOF
21437 #line $LINENO "configure"
21440 cat confdefs.h >>conftest.$ac_ext
21441 cat >>conftest.$ac_ext <<_ACEOF
21442 /* end confdefs.h. */
21444 # define alloca __builtin_alloca
21447 # include <malloc.h>
21448 # define alloca _alloca
21451 # include <alloca.h>
21456 # ifndef alloca /* predefined by HP cc +Olibcalls */
21467 char *p = (char *) alloca (1);
21472 rm -f conftest.$ac_objext conftest$ac_exeext
21473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21474 (eval $ac_link) 2>&5
21476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21477 (exit $ac_status); } &&
21478 { ac_try='test -s conftest$ac_exeext'
21479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21480 (eval $ac_try) 2>&5
21482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21483 (exit $ac_status); }; }; then
21484 ac_cv_func_alloca_works=yes
21486 echo "$as_me: failed program was:" >&5
21487 sed 's/^/| /' conftest.$ac_ext >&5
21489 ac_cv_func_alloca_works=no
21491 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21493 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21494 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
21496 if test $ac_cv_func_alloca_works = yes; then
21498 cat >>confdefs.h <<\_ACEOF
21499 #define HAVE_ALLOCA 1
21503 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21504 # that cause trouble. Some versions do not even contain alloca or
21505 # contain a buggy version. If you still want to use their alloca,
21506 # use ar to extract alloca.o from them instead of compiling alloca.c.
21508 ALLOCA=alloca.$ac_objext
21510 cat >>confdefs.h <<\_ACEOF
21515 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21516 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
21517 if test "${ac_cv_os_cray+set}" = set; then
21518 echo $ECHO_N "(cached) $ECHO_C" >&6
21520 cat >conftest.$ac_ext <<_ACEOF
21521 #line $LINENO "configure"
21524 cat confdefs.h >>conftest.$ac_ext
21525 cat >>conftest.$ac_ext <<_ACEOF
21526 /* end confdefs.h. */
21527 #if defined(CRAY) && ! defined(CRAY2)
21534 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21535 $EGREP "webecray" >/dev/null 2>&1; then
21543 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
21544 echo "${ECHO_T}$ac_cv_os_cray" >&6
21545 if test $ac_cv_os_cray = yes; then
21546 for ac_func in _getb67 GETB67 getb67; do
21547 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21548 echo "$as_me:$LINENO: checking for $ac_func" >&5
21549 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21550 if eval "test \"\${$as_ac_var+set}\" = set"; then
21551 echo $ECHO_N "(cached) $ECHO_C" >&6
21553 cat >conftest.$ac_ext <<_ACEOF
21554 #line $LINENO "configure"
21557 cat confdefs.h >>conftest.$ac_ext
21558 cat >>conftest.$ac_ext <<_ACEOF
21559 /* end confdefs.h. */
21560 /* System header to define __stub macros and hopefully few prototypes,
21561 which can conflict with char $ac_func (); below.
21562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21563 <limits.h> exists even on freestanding compilers. */
21565 # include <limits.h>
21567 # include <assert.h>
21569 /* Override any gcc2 internal prototype to avoid an error. */
21574 /* We use char because int might match the return type of a gcc2
21575 builtin and then its argument prototype would still apply. */
21577 /* The GNU C library defines this for functions which it implements
21578 to always fail with ENOSYS. Some functions are actually named
21579 something starting with __ and the normal name is an alias. */
21580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21583 char (*f) () = $ac_func;
21592 return f != $ac_func;
21597 rm -f conftest.$ac_objext conftest$ac_exeext
21598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21599 (eval $ac_link) 2>&5
21601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21602 (exit $ac_status); } &&
21603 { ac_try='test -s conftest$ac_exeext'
21604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21605 (eval $ac_try) 2>&5
21607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21608 (exit $ac_status); }; }; then
21609 eval "$as_ac_var=yes"
21611 echo "$as_me: failed program was:" >&5
21612 sed 's/^/| /' conftest.$ac_ext >&5
21614 eval "$as_ac_var=no"
21616 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21620 if test `eval echo '${'$as_ac_var'}'` = yes; then
21622 cat >>confdefs.h <<_ACEOF
21623 #define CRAY_STACKSEG_END $ac_func
21632 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21633 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
21634 if test "${ac_cv_c_stack_direction+set}" = set; then
21635 echo $ECHO_N "(cached) $ECHO_C" >&6
21637 if test "$cross_compiling" = yes; then
21638 ac_cv_c_stack_direction=0
21640 cat >conftest.$ac_ext <<_ACEOF
21641 #line $LINENO "configure"
21644 cat confdefs.h >>conftest.$ac_ext
21645 cat >>conftest.$ac_ext <<_ACEOF
21646 /* end confdefs.h. */
21648 find_stack_direction ()
21650 static char *addr = 0;
21655 return find_stack_direction ();
21658 return (&dummy > addr) ? 1 : -1;
21664 exit (find_stack_direction () < 0);
21667 rm -f conftest$ac_exeext
21668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21669 (eval $ac_link) 2>&5
21671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21672 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21674 (eval $ac_try) 2>&5
21676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21677 (exit $ac_status); }; }; then
21678 ac_cv_c_stack_direction=1
21680 echo "$as_me: program exited with status $ac_status" >&5
21681 echo "$as_me: failed program was:" >&5
21682 sed 's/^/| /' conftest.$ac_ext >&5
21684 ( exit $ac_status )
21685 ac_cv_c_stack_direction=-1
21687 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21690 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21691 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
21693 cat >>confdefs.h <<_ACEOF
21694 #define STACK_DIRECTION $ac_cv_c_stack_direction
21700 if test $ac_cv_c_compiler_gnu = yes; then
21701 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
21702 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
21703 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
21704 echo $ECHO_N "(cached) $ECHO_C" >&6
21706 ac_pattern="Autoconf.*'x'"
21707 cat >conftest.$ac_ext <<_ACEOF
21708 #line $LINENO "configure"
21711 cat confdefs.h >>conftest.$ac_ext
21712 cat >>conftest.$ac_ext <<_ACEOF
21713 /* end confdefs.h. */
21717 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21718 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21719 ac_cv_prog_gcc_traditional=yes
21721 ac_cv_prog_gcc_traditional=no
21726 if test $ac_cv_prog_gcc_traditional = no; then
21727 cat >conftest.$ac_ext <<_ACEOF
21728 #line $LINENO "configure"
21731 cat confdefs.h >>conftest.$ac_ext
21732 cat >>conftest.$ac_ext <<_ACEOF
21733 /* end confdefs.h. */
21734 #include <termio.h>
21737 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21738 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21739 ac_cv_prog_gcc_traditional=yes
21745 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
21746 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
21747 if test $ac_cv_prog_gcc_traditional = yes; then
21748 CC="$CC -traditional"
21752 echo "$as_me:$LINENO: checking for working memcmp" >&5
21753 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
21754 if test "${ac_cv_func_memcmp_working+set}" = set; then
21755 echo $ECHO_N "(cached) $ECHO_C" >&6
21757 if test "$cross_compiling" = yes; then
21758 ac_cv_func_memcmp_working=no
21760 cat >conftest.$ac_ext <<_ACEOF
21761 #line $LINENO "configure"
21764 cat confdefs.h >>conftest.$ac_ext
21765 cat >>conftest.$ac_ext <<_ACEOF
21766 /* end confdefs.h. */
21772 /* Some versions of memcmp are not 8-bit clean. */
21773 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
21774 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
21777 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
21778 or more and with at least one buffer not starting on a 4-byte boundary.
21779 William Lewis provided this test program. */
21784 for (i = 0; i < 4; i++)
21788 strcpy (a, "--------01111111");
21789 strcpy (b, "--------10000000");
21790 if (memcmp (a, b, 16) >= 0)
21800 rm -f conftest$ac_exeext
21801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21802 (eval $ac_link) 2>&5
21804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21805 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21807 (eval $ac_try) 2>&5
21809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21810 (exit $ac_status); }; }; then
21811 ac_cv_func_memcmp_working=yes
21813 echo "$as_me: program exited with status $ac_status" >&5
21814 echo "$as_me: failed program was:" >&5
21815 sed 's/^/| /' conftest.$ac_ext >&5
21817 ( exit $ac_status )
21818 ac_cv_func_memcmp_working=no
21820 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21823 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
21824 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
21825 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
21829 for ac_header in stdlib.h unistd.h
21831 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21832 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21833 echo "$as_me:$LINENO: checking for $ac_header" >&5
21834 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21835 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21836 echo $ECHO_N "(cached) $ECHO_C" >&6
21838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21839 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21841 # Is the header compilable?
21842 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21843 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21844 cat >conftest.$ac_ext <<_ACEOF
21845 #line $LINENO "configure"
21848 cat confdefs.h >>conftest.$ac_ext
21849 cat >>conftest.$ac_ext <<_ACEOF
21850 /* end confdefs.h. */
21851 $ac_includes_default
21852 #include <$ac_header>
21854 rm -f conftest.$ac_objext
21855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21856 (eval $ac_compile) 2>&5
21858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21859 (exit $ac_status); } &&
21860 { ac_try='test -s conftest.$ac_objext'
21861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21862 (eval $ac_try) 2>&5
21864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21865 (exit $ac_status); }; }; then
21866 ac_header_compiler=yes
21868 echo "$as_me: failed program was:" >&5
21869 sed 's/^/| /' conftest.$ac_ext >&5
21871 ac_header_compiler=no
21873 rm -f conftest.$ac_objext conftest.$ac_ext
21874 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21875 echo "${ECHO_T}$ac_header_compiler" >&6
21877 # Is the header present?
21878 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21879 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21880 cat >conftest.$ac_ext <<_ACEOF
21881 #line $LINENO "configure"
21884 cat confdefs.h >>conftest.$ac_ext
21885 cat >>conftest.$ac_ext <<_ACEOF
21886 /* end confdefs.h. */
21887 #include <$ac_header>
21889 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21890 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21892 grep -v '^ *+' conftest.er1 >conftest.err
21894 cat conftest.err >&5
21895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21896 (exit $ac_status); } >/dev/null; then
21897 if test -s conftest.err; then
21898 ac_cpp_err=$ac_c_preproc_warn_flag
21905 if test -z "$ac_cpp_err"; then
21906 ac_header_preproc=yes
21908 echo "$as_me: failed program was:" >&5
21909 sed 's/^/| /' conftest.$ac_ext >&5
21911 ac_header_preproc=no
21913 rm -f conftest.err conftest.$ac_ext
21914 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21915 echo "${ECHO_T}$ac_header_preproc" >&6
21917 # So? What about this header?
21918 case $ac_header_compiler:$ac_header_preproc in
21920 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21921 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21922 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21923 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21926 ## ------------------------------------ ##
21927 ## Report this to bug-autoconf@gnu.org. ##
21928 ## ------------------------------------ ##
21931 sed "s/^/$as_me: WARNING: /" >&2
21934 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21935 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21936 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21937 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21938 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21939 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21942 ## ------------------------------------ ##
21943 ## Report this to bug-autoconf@gnu.org. ##
21944 ## ------------------------------------ ##
21947 sed "s/^/$as_me: WARNING: /" >&2
21950 echo "$as_me:$LINENO: checking for $ac_header" >&5
21951 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21952 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21953 echo $ECHO_N "(cached) $ECHO_C" >&6
21955 eval "$as_ac_Header=$ac_header_preproc"
21957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21958 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21961 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21962 cat >>confdefs.h <<_ACEOF
21963 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21971 for ac_func in getpagesize
21973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21974 echo "$as_me:$LINENO: checking for $ac_func" >&5
21975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21976 if eval "test \"\${$as_ac_var+set}\" = set"; then
21977 echo $ECHO_N "(cached) $ECHO_C" >&6
21979 cat >conftest.$ac_ext <<_ACEOF
21980 #line $LINENO "configure"
21983 cat confdefs.h >>conftest.$ac_ext
21984 cat >>conftest.$ac_ext <<_ACEOF
21985 /* end confdefs.h. */
21986 /* System header to define __stub macros and hopefully few prototypes,
21987 which can conflict with char $ac_func (); below.
21988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21989 <limits.h> exists even on freestanding compilers. */
21991 # include <limits.h>
21993 # include <assert.h>
21995 /* Override any gcc2 internal prototype to avoid an error. */
22000 /* We use char because int might match the return type of a gcc2
22001 builtin and then its argument prototype would still apply. */
22003 /* The GNU C library defines this for functions which it implements
22004 to always fail with ENOSYS. Some functions are actually named
22005 something starting with __ and the normal name is an alias. */
22006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22009 char (*f) () = $ac_func;
22018 return f != $ac_func;
22023 rm -f conftest.$ac_objext conftest$ac_exeext
22024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22025 (eval $ac_link) 2>&5
22027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22028 (exit $ac_status); } &&
22029 { ac_try='test -s conftest$ac_exeext'
22030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22031 (eval $ac_try) 2>&5
22033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22034 (exit $ac_status); }; }; then
22035 eval "$as_ac_var=yes"
22037 echo "$as_me: failed program was:" >&5
22038 sed 's/^/| /' conftest.$ac_ext >&5
22040 eval "$as_ac_var=no"
22042 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22046 if test `eval echo '${'$as_ac_var'}'` = yes; then
22047 cat >>confdefs.h <<_ACEOF
22048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22054 echo "$as_me:$LINENO: checking for working mmap" >&5
22055 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
22056 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
22057 echo $ECHO_N "(cached) $ECHO_C" >&6
22059 if test "$cross_compiling" = yes; then
22060 ac_cv_func_mmap_fixed_mapped=no
22062 cat >conftest.$ac_ext <<_ACEOF
22063 #line $LINENO "configure"
22066 cat confdefs.h >>conftest.$ac_ext
22067 cat >>conftest.$ac_ext <<_ACEOF
22068 /* end confdefs.h. */
22069 $ac_includes_default
22070 /* malloc might have been renamed as rpl_malloc. */
22073 /* Thanks to Mike Haertel and Jim Avera for this test.
22074 Here is a matrix of mmap possibilities:
22075 mmap private not fixed
22076 mmap private fixed at somewhere currently unmapped
22077 mmap private fixed at somewhere already mapped
22078 mmap shared not fixed
22079 mmap shared fixed at somewhere currently unmapped
22080 mmap shared fixed at somewhere already mapped
22081 For private mappings, we should verify that changes cannot be read()
22082 back from the file, nor mmap's back from the file at a different
22083 address. (There have been systems where private was not correctly
22084 implemented like the infamous i386 svr4.0, and systems where the
22085 VM page cache was not coherent with the file system buffer cache
22086 like early versions of FreeBSD and possibly contemporary NetBSD.)
22087 For shared mappings, we should conversely verify that changes get
22088 propagated back to all the places they're supposed to be.
22090 Grep wants private fixed already mapped.
22091 The main things grep needs to know about mmap are:
22092 * does it exist and is it safe to write into the mmap'd area
22093 * how to use it (BSD variants) */
22096 #include <sys/mman.h>
22098 #if !STDC_HEADERS && !HAVE_STDLIB_H
22102 /* This mess was copied from the GNU getpagesize.h. */
22103 #if !HAVE_GETPAGESIZE
22104 /* Assume that all systems that can run configure have sys/param.h. */
22105 # if !HAVE_SYS_PARAM_H
22106 # define HAVE_SYS_PARAM_H 1
22109 # ifdef _SC_PAGESIZE
22110 # define getpagesize() sysconf(_SC_PAGESIZE)
22111 # else /* no _SC_PAGESIZE */
22112 # if HAVE_SYS_PARAM_H
22113 # include <sys/param.h>
22114 # ifdef EXEC_PAGESIZE
22115 # define getpagesize() EXEC_PAGESIZE
22116 # else /* no EXEC_PAGESIZE */
22118 # define getpagesize() NBPG * CLSIZE
22121 # endif /* no CLSIZE */
22122 # else /* no NBPG */
22124 # define getpagesize() NBPC
22125 # else /* no NBPC */
22127 # define getpagesize() PAGESIZE
22128 # endif /* PAGESIZE */
22129 # endif /* no NBPC */
22130 # endif /* no NBPG */
22131 # endif /* no EXEC_PAGESIZE */
22132 # else /* no HAVE_SYS_PARAM_H */
22133 # define getpagesize() 8192 /* punt totally */
22134 # endif /* no HAVE_SYS_PARAM_H */
22135 # endif /* no _SC_PAGESIZE */
22137 #endif /* no HAVE_GETPAGESIZE */
22142 char *data, *data2, *data3;
22146 pagesize = getpagesize ();
22148 /* First, make a file with some known garbage in it. */
22149 data = (char *) malloc (pagesize);
22152 for (i = 0; i < pagesize; ++i)
22153 *(data + i) = rand ();
22155 fd = creat ("conftest.mmap", 0600);
22158 if (write (fd, data, pagesize) != pagesize)
22162 /* Next, try to mmap the file at a fixed address which already has
22163 something else allocated at it. If we can, also make sure that
22164 we see the same garbage. */
22165 fd = open ("conftest.mmap", O_RDWR);
22168 data2 = (char *) malloc (2 * pagesize);
22171 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
22172 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22173 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22175 for (i = 0; i < pagesize; ++i)
22176 if (*(data + i) != *(data2 + i))
22179 /* Finally, make sure that changes to the mapped area do not
22180 percolate back to the file as seen by read(). (This is a bug on
22181 some variants of i386 svr4.0.) */
22182 for (i = 0; i < pagesize; ++i)
22183 *(data2 + i) = *(data2 + i) + 1;
22184 data3 = (char *) malloc (pagesize);
22187 if (read (fd, data3, pagesize) != pagesize)
22189 for (i = 0; i < pagesize; ++i)
22190 if (*(data + i) != *(data3 + i))
22196 rm -f conftest$ac_exeext
22197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22198 (eval $ac_link) 2>&5
22200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22201 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22203 (eval $ac_try) 2>&5
22205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22206 (exit $ac_status); }; }; then
22207 ac_cv_func_mmap_fixed_mapped=yes
22209 echo "$as_me: program exited with status $ac_status" >&5
22210 echo "$as_me: failed program was:" >&5
22211 sed 's/^/| /' conftest.$ac_ext >&5
22213 ( exit $ac_status )
22214 ac_cv_func_mmap_fixed_mapped=no
22216 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22219 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22220 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22221 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22223 cat >>confdefs.h <<\_ACEOF
22224 #define HAVE_MMAP 1
22228 rm -f conftest.mmap
22230 echo "$as_me:$LINENO: checking for mmap of files" >&5
22231 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6
22232 if test "${ac_cv_func_mmap_file+set}" = set; then
22233 echo $ECHO_N "(cached) $ECHO_C" >&6
22238 ac_cpp='$CPP $CPPFLAGS'
22239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22243 if test "$cross_compiling" = yes; then
22244 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22245 See \`config.log' for more details." >&5
22246 echo "$as_me: error: cannot run test program while cross compiling
22247 See \`config.log' for more details." >&2;}
22248 { (exit 1); exit 1; }; }
22250 cat >conftest.$ac_ext <<_ACEOF
22251 #line $LINENO "configure"
22254 cat confdefs.h >>conftest.$ac_ext
22255 cat >>conftest.$ac_ext <<_ACEOF
22256 /* end confdefs.h. */
22258 #ifdef HAVE_SYS_MMAN_H
22259 #include <sys/mman.h>
22262 #ifdef HAVE_SYS_TYPES_H
22263 #include <sys/types.h>
22266 #ifdef HAVE_FCNTL_H
22272 fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != MAP_FAILED);}
22274 rm -f conftest$ac_exeext
22275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22276 (eval $ac_link) 2>&5
22278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22279 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22281 (eval $ac_try) 2>&5
22283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22284 (exit $ac_status); }; }; then
22285 ac_cv_func_mmap_file=yes
22287 echo "$as_me: program exited with status $ac_status" >&5
22288 echo "$as_me: failed program was:" >&5
22289 sed 's/^/| /' conftest.$ac_ext >&5
22291 ( exit $ac_status )
22292 ac_cv_func_mmap_file=no
22294 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22297 ac_cpp='$CPP $CPPFLAGS'
22298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22304 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
22305 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
22306 if test "$ac_cv_func_mmap_file" = yes; then
22307 cat >>confdefs.h <<\_ACEOF
22308 #define HAVE_MMAP_FILE 1
22315 if test ${ac_cv_func_mmap_file} = "no"
22317 { { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5
22318 echo "$as_me: error: mmap() of files required but not found" >&2;}
22319 { (exit 1); exit 1; }; }
22321 echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
22322 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6
22323 if test "${ac_cv_header_mmap_anon+set}" = set; then
22324 echo $ECHO_N "(cached) $ECHO_C" >&6
22329 ac_cpp='$CPP $CPPFLAGS'
22330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22334 cat >conftest.$ac_ext <<_ACEOF
22335 #line $LINENO "configure"
22338 cat confdefs.h >>conftest.$ac_ext
22339 cat >>conftest.$ac_ext <<_ACEOF
22340 /* end confdefs.h. */
22341 #include <sys/mman.h>
22342 #include <unistd.h>
22347 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
22352 rm -f conftest.$ac_objext
22353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22354 (eval $ac_compile) 2>&5
22356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22357 (exit $ac_status); } &&
22358 { ac_try='test -s conftest.$ac_objext'
22359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22360 (eval $ac_try) 2>&5
22362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22363 (exit $ac_status); }; }; then
22364 ac_cv_header_mmap_anon=yes
22366 echo "$as_me: failed program was:" >&5
22367 sed 's/^/| /' conftest.$ac_ext >&5
22369 ac_cv_header_mmap_anon=no
22371 rm -f conftest.$ac_objext conftest.$ac_ext
22373 ac_cpp='$CPP $CPPFLAGS'
22374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22380 echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
22381 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6
22382 if test "$ac_cv_header_mmap_anon" = yes; then
22383 cat >>confdefs.h <<\_ACEOF
22384 #define HAVE_MMAP_ANONYMOUS 1
22389 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
22390 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
22391 if test "${ac_cv_type_signal+set}" = set; then
22392 echo $ECHO_N "(cached) $ECHO_C" >&6
22394 cat >conftest.$ac_ext <<_ACEOF
22395 #line $LINENO "configure"
22398 cat confdefs.h >>conftest.$ac_ext
22399 cat >>conftest.$ac_ext <<_ACEOF
22400 /* end confdefs.h. */
22401 #include <sys/types.h>
22402 #include <signal.h>
22407 extern "C" void (*signal (int, void (*)(int)))(int);
22409 void (*signal ()) ();
22420 rm -f conftest.$ac_objext
22421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22422 (eval $ac_compile) 2>&5
22424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22425 (exit $ac_status); } &&
22426 { ac_try='test -s conftest.$ac_objext'
22427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22428 (eval $ac_try) 2>&5
22430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22431 (exit $ac_status); }; }; then
22432 ac_cv_type_signal=void
22434 echo "$as_me: failed program was:" >&5
22435 sed 's/^/| /' conftest.$ac_ext >&5
22437 ac_cv_type_signal=int
22439 rm -f conftest.$ac_objext conftest.$ac_ext
22441 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
22442 echo "${ECHO_T}$ac_cv_type_signal" >&6
22444 cat >>confdefs.h <<_ACEOF
22445 #define RETSIGTYPE $ac_cv_type_signal
22458 for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol
22460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22461 echo "$as_me:$LINENO: checking for $ac_func" >&5
22462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22463 if eval "test \"\${$as_ac_var+set}\" = set"; then
22464 echo $ECHO_N "(cached) $ECHO_C" >&6
22466 cat >conftest.$ac_ext <<_ACEOF
22467 #line $LINENO "configure"
22470 cat confdefs.h >>conftest.$ac_ext
22471 cat >>conftest.$ac_ext <<_ACEOF
22472 /* end confdefs.h. */
22473 /* System header to define __stub macros and hopefully few prototypes,
22474 which can conflict with char $ac_func (); below.
22475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22476 <limits.h> exists even on freestanding compilers. */
22478 # include <limits.h>
22480 # include <assert.h>
22482 /* Override any gcc2 internal prototype to avoid an error. */
22487 /* We use char because int might match the return type of a gcc2
22488 builtin and then its argument prototype would still apply. */
22490 /* The GNU C library defines this for functions which it implements
22491 to always fail with ENOSYS. Some functions are actually named
22492 something starting with __ and the normal name is an alias. */
22493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22496 char (*f) () = $ac_func;
22505 return f != $ac_func;
22510 rm -f conftest.$ac_objext conftest$ac_exeext
22511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22512 (eval $ac_link) 2>&5
22514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22515 (exit $ac_status); } &&
22516 { ac_try='test -s conftest$ac_exeext'
22517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22518 (eval $ac_try) 2>&5
22520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22521 (exit $ac_status); }; }; then
22522 eval "$as_ac_var=yes"
22524 echo "$as_me: failed program was:" >&5
22525 sed 's/^/| /' conftest.$ac_ext >&5
22527 eval "$as_ac_var=no"
22529 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22533 if test `eval echo '${'$as_ac_var'}'` = yes; then
22534 cat >>confdefs.h <<_ACEOF
22535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22543 echo "$as_me:$LINENO: checking for mmap" >&5
22544 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
22545 if test "${ac_cv_func_mmap+set}" = set; then
22546 echo $ECHO_N "(cached) $ECHO_C" >&6
22548 cat >conftest.$ac_ext <<_ACEOF
22549 #line $LINENO "configure"
22552 cat confdefs.h >>conftest.$ac_ext
22553 cat >>conftest.$ac_ext <<_ACEOF
22554 /* end confdefs.h. */
22555 /* System header to define __stub macros and hopefully few prototypes,
22556 which can conflict with char mmap (); below.
22557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22558 <limits.h> exists even on freestanding compilers. */
22560 # include <limits.h>
22562 # include <assert.h>
22564 /* Override any gcc2 internal prototype to avoid an error. */
22569 /* We use char because int might match the return type of a gcc2
22570 builtin and then its argument prototype would still apply. */
22572 /* The GNU C library defines this for functions which it implements
22573 to always fail with ENOSYS. Some functions are actually named
22574 something starting with __ and the normal name is an alias. */
22575 #if defined (__stub_mmap) || defined (__stub___mmap)
22578 char (*f) () = mmap;
22592 rm -f conftest.$ac_objext conftest$ac_exeext
22593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22594 (eval $ac_link) 2>&5
22596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22597 (exit $ac_status); } &&
22598 { ac_try='test -s conftest$ac_exeext'
22599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22600 (eval $ac_try) 2>&5
22602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22603 (exit $ac_status); }; }; then
22604 ac_cv_func_mmap=yes
22606 echo "$as_me: failed program was:" >&5
22607 sed 's/^/| /' conftest.$ac_ext >&5
22611 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22613 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
22614 echo "${ECHO_T}$ac_cv_func_mmap" >&6
22615 if test $ac_cv_func_mmap = yes; then
22618 { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5
22619 echo "$as_me: error: Function mmap() required but not found" >&2;}
22620 { (exit 1); exit 1; }; }
22623 echo "$as_me:$LINENO: checking for mprotect" >&5
22624 echo $ECHO_N "checking for mprotect... $ECHO_C" >&6
22625 if test "${ac_cv_func_mprotect+set}" = set; then
22626 echo $ECHO_N "(cached) $ECHO_C" >&6
22628 cat >conftest.$ac_ext <<_ACEOF
22629 #line $LINENO "configure"
22632 cat confdefs.h >>conftest.$ac_ext
22633 cat >>conftest.$ac_ext <<_ACEOF
22634 /* end confdefs.h. */
22635 /* System header to define __stub macros and hopefully few prototypes,
22636 which can conflict with char mprotect (); below.
22637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22638 <limits.h> exists even on freestanding compilers. */
22640 # include <limits.h>
22642 # include <assert.h>
22644 /* Override any gcc2 internal prototype to avoid an error. */
22649 /* We use char because int might match the return type of a gcc2
22650 builtin and then its argument prototype would still apply. */
22652 /* The GNU C library defines this for functions which it implements
22653 to always fail with ENOSYS. Some functions are actually named
22654 something starting with __ and the normal name is an alias. */
22655 #if defined (__stub_mprotect) || defined (__stub___mprotect)
22658 char (*f) () = mprotect;
22667 return f != mprotect;
22672 rm -f conftest.$ac_objext conftest$ac_exeext
22673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22674 (eval $ac_link) 2>&5
22676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22677 (exit $ac_status); } &&
22678 { ac_try='test -s conftest$ac_exeext'
22679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22680 (eval $ac_try) 2>&5
22682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22683 (exit $ac_status); }; }; then
22684 ac_cv_func_mprotect=yes
22686 echo "$as_me: failed program was:" >&5
22687 sed 's/^/| /' conftest.$ac_ext >&5
22689 ac_cv_func_mprotect=no
22691 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22693 echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
22694 echo "${ECHO_T}$ac_cv_func_mprotect" >&6
22695 if test $ac_cv_func_mprotect = yes; then
22698 { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5
22699 echo "$as_me: error: Function mprotect() required but not found" >&2;}
22700 { (exit 1); exit 1; }; }
22705 # Check whether --enable-purify or --disable-purify was given.
22706 if test "${enable_purify+set}" = set; then
22707 enableval="$enable_purify"
22712 if test ${enableval} = "no"
22717 ENABLE_PURIFY=ENABLE_PURIFY=1
22721 # Check whether --enable-optimized or --disable-optimized was given.
22722 if test "${enable_optimized+set}" = set; then
22723 enableval="$enable_optimized"
22728 if test ${enableval} = "no"
22733 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
22737 # Check whether --enable-spec or --disable-spec was given.
22738 if test "${enable_spec+set}" = set; then
22739 enableval="$enable_spec"
22744 if test ${enableval} = "no"
22749 USE_SPEC=USE_SPEC=1
22753 # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given.
22754 if test "${enable_precompiled_bytecode+set}" = set; then
22755 enableval="$enable_precompiled_bytecode"
22760 if test ${enableval} = "no"
22765 UPB=USE_PRECOMPILED_BYTECODE=1
22770 # Check whether --enable-llc_diffs or --disable-llc_diffs was given.
22771 if test "${enable_llc_diffs+set}" = set; then
22772 enableval="$enable_llc_diffs"
22777 if test ${enableval} = "no"
22779 DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1
22786 # Check whether --enable-jit or --disable-jit was given.
22787 if test "${enable_jit+set}" = set; then
22788 enableval="$enable_jit"
22794 if test ${enableval} = "no"
22801 JIT=TARGET_HAS_JIT=1
22805 JIT=TARGET_HAS_JIT=1
22817 # Check whether --with-spec or --without-spec was given.
22818 if test "${with_spec+set}" = set; then
22819 withval="$with_spec"
22823 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22828 # Check whether --with-llvmgccdir or --without-llvmgccdir was given.
22829 if test "${with_llvmgccdir+set}" = set; then
22830 withval="$with_llvmgccdir"
22831 LLVMGCCDIR=$withval
22836 # Check whether --with-bcrepos or --without-bcrepos was given.
22837 if test "${with_bcrepos+set}" = set; then
22838 withval="$with_bcrepos"
22842 BCR=/home/vadve/lattner/LLVMPrograms
22847 # Check whether --with-papi or --without-papi was given.
22848 if test "${with_papi+set}" = set; then
22849 withval="$with_papi"
22853 PAPIDIR=/home/vadve/shared/Sparc/papi-2.3.4.1
22858 # Check whether --with-purify or --without-purify was given.
22859 if test "${with_purify+set}" = set; then
22860 withval="$with_purify"
22866 ac_config_files="$ac_config_files Makefile.config"
22867 cat >confcache <<\_ACEOF
22868 # This file is a shell script that caches the results of configure
22869 # tests run on this system so they can be shared between configure
22870 # scripts and configure runs, see configure's option --config-cache.
22871 # It is not useful on other systems. If it contains results you don't
22872 # want to keep, you may remove or edit it.
22874 # config.status only pays attention to the cache file if you give it
22875 # the --recheck option to rerun configure.
22877 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22878 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22879 # following values.
22883 # The following way of writing the cache mishandles newlines in values,
22884 # but we know of no workaround that is simple, portable, and efficient.
22885 # So, don't put newlines in cache variables' values.
22886 # Ultrix sh set writes to stderr and can't be redirected directly,
22887 # and sets the high bit in the cache file unless we assign to the vars.
22890 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22892 # `set' does not quote correctly, so add quotes (double-quote
22893 # substitution turns \\\\ into \\, and sed turns \\ into \).
22896 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22899 # `set' quotes correctly as required by POSIX, so do not add quotes.
22901 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22908 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22910 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22912 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22913 if test -w $cache_file; then
22914 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22915 cat confcache >$cache_file
22917 echo "not updating unwritable cache $cache_file"
22922 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22923 # Let make expand exec_prefix.
22924 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22926 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22927 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22928 # trailing colons and then remove the whole line if VPATH becomes empty
22929 # (actually we leave an empty line to preserve line numbers).
22930 if test "x$srcdir" = x.; then
22931 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22932 s/:*\$(srcdir):*/:/;
22933 s/:*\${srcdir}:*/:/;
22935 s/^\([^=]*=[ ]*\):*/\1/;
22941 DEFS=-DHAVE_CONFIG_H
22945 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22946 # 1. Remove the extension, and $U if already installed.
22947 ac_i=`echo "$ac_i" |
22948 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22950 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
22951 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
22953 LIBOBJS=$ac_libobjs
22955 LTLIBOBJS=$ac_ltlibobjs
22959 : ${CONFIG_STATUS=./config.status}
22960 ac_clean_files_save=$ac_clean_files
22961 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22962 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22963 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22964 cat >$CONFIG_STATUS <<_ACEOF
22966 # Generated by $as_me.
22967 # Run this file to recreate the current configuration.
22968 # Compiler output produced by configure, useful for debugging
22969 # configure, is in config.log if it exists.
22972 ac_cs_recheck=false
22974 SHELL=\${CONFIG_SHELL-$SHELL}
22977 cat >>$CONFIG_STATUS <<\_ACEOF
22978 ## --------------------- ##
22979 ## M4sh Initialization. ##
22980 ## --------------------- ##
22982 # Be Bourne compatible
22983 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22986 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22987 # is contrary to our usage. Disable this feature.
22988 alias -g '${1+"$@"}'='"$@"'
22989 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22993 # Support unset when possible.
22994 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
23001 # Work around bugs in pre-3.0 UWIN ksh.
23002 $as_unset ENV MAIL MAILPATH
23009 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23010 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23011 LC_TELEPHONE LC_TIME
23013 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
23014 eval $as_var=C; export $as_var
23020 # Required to use basename.
23021 if expr a : '\(a\)' >/dev/null 2>&1; then
23027 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
23028 as_basename=basename
23034 # Name of the executable.
23035 as_me=`$as_basename "$0" ||
23036 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23037 X"$0" : 'X\(//\)$' \| \
23038 X"$0" : 'X\(/\)$' \| \
23039 . : '\(.\)' 2>/dev/null ||
23041 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23042 /^X\/\(\/\/\)$/{ s//\1/; q; }
23043 /^X\/\(\/\).*/{ s//\1/; q; }
23047 # PATH needs CR, and LINENO needs CR and PATH.
23048 # Avoid depending upon Character Ranges.
23049 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23050 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23051 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23052 as_cr_digits='0123456789'
23053 as_cr_alnum=$as_cr_Letters$as_cr_digits
23055 # The user is always right.
23056 if test "${PATH_SEPARATOR+set}" != set; then
23057 echo "#! /bin/sh" >conf$$.sh
23058 echo "exit 0" >>conf$$.sh
23060 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23069 as_lineno_1=$LINENO
23070 as_lineno_2=$LINENO
23071 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23072 test "x$as_lineno_1" != "x$as_lineno_2" &&
23073 test "x$as_lineno_3" = "x$as_lineno_2" || {
23074 # Find who we are. Look in the path if we contain no path at all
23077 *[\\/]* ) as_myself=$0 ;;
23078 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23079 for as_dir in $PATH
23082 test -z "$as_dir" && as_dir=.
23083 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23088 # We did not find ourselves, most probably we were run as `sh COMMAND'
23089 # in which case we are not to be found in the path.
23090 if test "x$as_myself" = x; then
23093 if test ! -f "$as_myself"; then
23094 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23095 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23096 { (exit 1); exit 1; }; }
23098 case $CONFIG_SHELL in
23100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23101 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
23104 test -z "$as_dir" && as_dir=.
23105 for as_base in sh bash ksh sh5; do
23108 if ("$as_dir/$as_base" -c '
23109 as_lineno_1=$LINENO
23110 as_lineno_2=$LINENO
23111 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23112 test "x$as_lineno_1" != "x$as_lineno_2" &&
23113 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
23114 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23115 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23116 CONFIG_SHELL=$as_dir/$as_base
23117 export CONFIG_SHELL
23118 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23126 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23127 # uniformly replaced by the line number. The first 'sed' inserts a
23128 # line-number line before each line; the second 'sed' does the real
23129 # work. The second script uses 'N' to pair each line-number line
23130 # with the numbered line, and appends trailing '-' during
23131 # substitution so that $LINENO is not a special case at line end.
23132 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23133 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23134 sed '=' <$as_myself |
23139 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23142 s,^['$as_cr_digits']*\n,,
23143 ' >$as_me.lineno &&
23144 chmod +x $as_me.lineno ||
23145 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23146 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23147 { (exit 1); exit 1; }; }
23149 # Don't try to exec as it changes $[0], causing all sort of problems
23150 # (the dirname of $[0] is not the place where we might find the
23151 # original and so on. Autoconf is especially sensible to this).
23153 # Exit status is that of the last command.
23158 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23159 *c*,-n*) ECHO_N= ECHO_C='
23161 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23162 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23165 if expr a : '\(a\)' >/dev/null 2>&1; then
23171 rm -f conf$$ conf$$.exe conf$$.file
23173 if ln -s conf$$.file conf$$ 2>/dev/null; then
23174 # We could just check for DJGPP; but this test a) works b) is more generic
23175 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23176 if test -f conf$$.exe; then
23177 # Don't use ln at all; we don't have any links
23182 elif ln conf$$.file conf$$ 2>/dev/null; then
23187 rm -f conf$$ conf$$.exe conf$$.file
23189 if mkdir -p . 2>/dev/null; then
23195 as_executable_p="test -f"
23197 # Sed expression to map a string onto a valid CPP name.
23198 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23200 # Sed expression to map a string onto a valid variable name.
23201 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
23205 # We need space, tab and new line, in precisely that order.
23215 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23216 # report actual input values of CONFIG_FILES etc. instead of their
23217 # values after options handling. Logging --version etc. is OK.
23221 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23222 ## Running $as_me. ##
23227 This file was extended by [LLVM] $as_me [1.0], which was
23228 generated by GNU Autoconf 2.57. Invocation command line was
23230 CONFIG_FILES = $CONFIG_FILES
23231 CONFIG_HEADERS = $CONFIG_HEADERS
23232 CONFIG_LINKS = $CONFIG_LINKS
23233 CONFIG_COMMANDS = $CONFIG_COMMANDS
23237 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23241 # Files that config.status was made for.
23242 if test -n "$ac_config_files"; then
23243 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23246 if test -n "$ac_config_headers"; then
23247 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23250 if test -n "$ac_config_links"; then
23251 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23254 if test -n "$ac_config_commands"; then
23255 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23258 cat >>$CONFIG_STATUS <<\_ACEOF
23261 \`$as_me' instantiates files from templates according to the
23262 current configuration.
23264 Usage: $0 [OPTIONS] [FILE]...
23266 -h, --help print this help, then exit
23267 -V, --version print version number, then exit
23268 -q, --quiet do not print progress messages
23269 -d, --debug don't remove temporary files
23270 --recheck update $as_me by reconfiguring in the same conditions
23271 --file=FILE[:TEMPLATE]
23272 instantiate the configuration file FILE
23273 --header=FILE[:TEMPLATE]
23274 instantiate the configuration header FILE
23276 Configuration files:
23279 Configuration headers:
23282 Configuration commands:
23285 Report bugs to <bug-autoconf@gnu.org>."
23288 cat >>$CONFIG_STATUS <<_ACEOF
23290 [LLVM] config.status [1.0]
23291 configured by $0, generated by GNU Autoconf 2.57,
23292 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23294 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
23295 Free Software Foundation, Inc.
23296 This config.status script is free software; the Free Software Foundation
23297 gives unlimited permission to copy, distribute and modify it."
23302 cat >>$CONFIG_STATUS <<\_ACEOF
23303 # If no file are specified by the user, then we need to provide default
23304 # value. By we need to know if files were specified by the user.
23310 ac_option=`expr "x$1" : 'x\([^=]*\)='`
23311 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23319 *) # This is not an option, so the user has probably given explicit
23322 ac_need_defaults=false;;
23326 # Handling of the options.
23328 cat >>$CONFIG_STATUS <<\_ACEOF
23329 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23331 --version | --vers* | -V )
23332 echo "$ac_cs_version"; exit 0 ;;
23334 # Conflict between --help and --header
23335 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23336 Try \`$0 --help' for more information." >&5
23337 echo "$as_me: error: ambiguous option: $1
23338 Try \`$0 --help' for more information." >&2;}
23339 { (exit 1); exit 1; }; };;
23340 --help | --hel | -h )
23341 echo "$ac_cs_usage"; exit 0 ;;
23342 --debug | --d* | -d )
23344 --file | --fil | --fi | --f )
23346 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23347 ac_need_defaults=false;;
23348 --header | --heade | --head | --hea )
23350 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23351 ac_need_defaults=false;;
23352 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23353 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23356 # This is an error.
23357 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23358 Try \`$0 --help' for more information." >&5
23359 echo "$as_me: error: unrecognized option: $1
23360 Try \`$0 --help' for more information." >&2;}
23361 { (exit 1); exit 1; }; } ;;
23363 *) ac_config_targets="$ac_config_targets $1" ;;
23369 ac_configure_extra_args=
23371 if $ac_cs_silent; then
23373 ac_configure_extra_args="$ac_configure_extra_args --silent"
23377 cat >>$CONFIG_STATUS <<_ACEOF
23378 if \$ac_cs_recheck; then
23379 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23380 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23385 cat >>$CONFIG_STATUS <<_ACEOF
23387 # INIT-COMMANDS section.
23390 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
23391 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common`
23392 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.rules`
23393 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
23394 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/Makefile`
23395 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/DataStructure/Makefile`
23396 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/IPA/Makefile`
23397 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/LiveVar/Makefile`
23398 ${srcdir}/autoconf/mkinstalldirs `dirname lib/AsmParser/Makefile`
23399 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Makefile`
23400 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Reader/Makefile`
23401 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Writer/Makefile`
23402 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CWriter/Makefile`
23403 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/Makefile`
23404 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSched/Makefile`
23405 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSelection/Makefile`
23406 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/ModuloScheduling/Makefile`
23407 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/RegAlloc/Makefile`
23408 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/SelectionDAG/Makefile`
23409 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Makefile`
23410 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Interpreter/Makefile`
23411 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/JIT/Makefile`
23412 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Makefile`
23413 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Sparc/Makefile`
23414 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/X86/Makefile`
23415 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Makefile`
23416 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Hello/Makefile`
23417 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/IPO/Makefile`
23418 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/Makefile`
23419 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/ProfilePaths/Makefile`
23420 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Scalar/Makefile`
23421 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Utils/Makefile`
23422 ${srcdir}/autoconf/mkinstalldirs `dirname lib/VMCore/Makefile`
23423 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile`
23424 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/Makefile`
23425 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/crtend/Makefile`
23426 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libc/Makefile`
23427 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libcurses/Makefile`
23428 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libg/Makefile`
23429 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libgcc/Makefile`
23430 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libm/Makefile`
23431 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libmalloc/Makefile`
23432 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libtermcap/Makefile`
23433 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libucb/Makefile`
23434 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutempter/Makefile`
23435 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutil/Makefile`
23436 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libdummy/Makefile`
23437 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libtrace/Makefile`
23438 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile`
23439 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests`
23440 ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTestDB/QMTest/llvm.py`
23441 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile`
23442 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.programs`
23443 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.Makefile`
23444 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.report`
23445 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.report`
23446 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.report`
23447 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.example.Makefile`
23448 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.Makefile`
23449 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.buildrepo.Makefile`
23450 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.Makefile`
23451 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.report`
23452 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.Makefile`
23453 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.report`
23454 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.typesafe.Makefile`
23455 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.gnuplot`
23456 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.Makefile`
23457 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/Makefile`
23458 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile`
23459 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile.spec`
23460 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/Makefile`
23461 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/179.art/Makefile`
23462 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/183.equake/Makefile`
23463 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/188.ammp/Makefile`
23464 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/Makefile`
23465 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/164.gzip/Makefile`
23466 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/175.vpr/Makefile`
23467 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/176.gcc/Makefile`
23468 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/181.mcf/Makefile`
23469 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/186.crafty/Makefile`
23470 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/197.parser/Makefile`
23471 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/254.gap/Makefile`
23472 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/255.vortex/Makefile`
23473 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile`
23474 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/300.twolf/Makefile`
23475 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/LLVMSource/Makefile`
23476 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile`
23477 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile.multisrc`
23478 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Makefile`
23479 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Burg/Makefile`
23480 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/aha/Makefile`
23481 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/sgefa/Makefile`
23482 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Makefile`
23483 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile`
23484 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/Makefile`
23485 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile`
23486 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile`
23487 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile`
23488 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile`
23489 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile`
23490 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile`
23491 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile`
23492 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile`
23493 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile`
23494 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile`
23495 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/Makefile`
23496 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile`
23497 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile`
23498 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile`
23499 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/health/Makefile`
23500 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile`
23501 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile`
23502 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/power/Makefile`
23503 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile`
23504 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile`
23505 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile`
23506 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile`
23507 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile`
23508 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile`
23509 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile`
23510 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile`
23511 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile`
23512 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile`
23513 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile`
23514 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/sim/Makefile`
23515 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Makefile`
23516 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Flex/Makefile`
23517 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Larn/Makefile`
23518 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Moria-5.5.2/Makefile`
23519 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Povray31/Makefile`
23520 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/m4/Makefile`
23521 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile`
23522 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile.singlesrc`
23523 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Gizmos/Makefile`
23524 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Makefile`
23525 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile`
23526 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Shootout/Makefile`
23527 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Stanford/Makefile`
23528 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Misc/Makefile`
23529 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/CustomChecked/Makefile`
23530 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/Makefile`
23531 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile`
23532 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/Makefile`
23533 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C/Makefile`
23534 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/Makefile`
23535 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/EH/Makefile`
23536 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/CompileFail/Makefile`
23537 ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
23538 ${srcdir}/autoconf/mkinstalldirs `dirname tools/analyze/Makefile`
23539 ${srcdir}/autoconf/mkinstalldirs `dirname tools/bugpoint/Makefile`
23540 ${srcdir}/autoconf/mkinstalldirs `dirname tools/extract/Makefile`
23541 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccas/Makefile`
23542 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccld/Makefile`
23543 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llc/Makefile`
23544 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llee/Makefile`
23545 ${srcdir}/autoconf/mkinstalldirs `dirname tools/lli/Makefile`
23546 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-ar/Makefile`
23547 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-as/Makefile`
23548 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-dis/Makefile`
23549 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-link/Makefile`
23550 ${srcdir}/autoconf/mkinstalldirs `dirname tools/opt/Makefile`
23551 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Makefile`
23552 ${srcdir}/autoconf/mkinstalldirs `dirname www/docs/Makefile`
23553 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile`
23554 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile`
23555 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.common`
23556 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.config`
23557 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/Makefile`
23558 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/sample/Makefile`
23559 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/Makefile`
23560 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/sample/Makefile`
23561 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile`
23562 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile.common`
23563 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/Makefile`
23564 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/ModuleMaker/Makefile`
23565 ${srcdir}/autoconf/mkinstalldirs `dirname support/Makefile`
23566 ${srcdir}/autoconf/mkinstalldirs `dirname support/lib/Makefile`
23567 ${srcdir}/autoconf/mkinstalldirs `dirname support/lib/Support/Makefile`
23568 ${srcdir}/autoconf/mkinstalldirs `dirname support/tools/Makefile`
23569 ${srcdir}/autoconf/mkinstalldirs `dirname support/tools/Burg/Makefile`
23570 ${srcdir}/autoconf/mkinstalldirs `dirname support/tools/Burg/Doc/Makefile`
23571 ${srcdir}/autoconf/mkinstalldirs `dirname support/tools/TableGen/Makefile`
23577 cat >>$CONFIG_STATUS <<\_ACEOF
23578 for ac_config_target in $ac_config_targets
23580 case "$ac_config_target" in
23581 # Handling of arguments.
23582 "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
23583 "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23584 "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;;
23585 "Makefile.rules" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.rules" ;;
23586 "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
23587 "lib/Analysis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/Makefile" ;;
23588 "lib/Analysis/DataStructure/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/DataStructure/Makefile" ;;
23589 "lib/Analysis/IPA/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/IPA/Makefile" ;;
23590 "lib/Analysis/LiveVar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/LiveVar/Makefile" ;;
23591 "lib/AsmParser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/AsmParser/Makefile" ;;
23592 "lib/Bytecode/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Makefile" ;;
23593 "lib/Bytecode/Reader/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Reader/Makefile" ;;
23594 "lib/Bytecode/Writer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Writer/Makefile" ;;
23595 "lib/CWriter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CWriter/Makefile" ;;
23596 "lib/CodeGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/Makefile" ;;
23597 "lib/CodeGen/InstrSched/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSched/Makefile" ;;
23598 "lib/CodeGen/InstrSelection/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSelection/Makefile" ;;
23599 "lib/CodeGen/ModuloScheduling/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/ModuloScheduling/Makefile" ;;
23600 "lib/CodeGen/RegAlloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/RegAlloc/Makefile" ;;
23601 "lib/CodeGen/SelectionDAG/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/SelectionDAG/Makefile" ;;
23602 "lib/ExecutionEngine/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Makefile" ;;
23603 "lib/ExecutionEngine/Interpreter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Interpreter/Makefile" ;;
23604 "lib/ExecutionEngine/JIT/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/JIT/Makefile" ;;
23605 "lib/Target/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Makefile" ;;
23606 "lib/Target/Sparc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Sparc/Makefile" ;;
23607 "lib/Target/X86/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/X86/Makefile" ;;
23608 "lib/Transforms/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Makefile" ;;
23609 "lib/Transforms/Hello/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Hello/Makefile" ;;
23610 "lib/Transforms/IPO/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/IPO/Makefile" ;;
23611 "lib/Transforms/Instrumentation/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/Makefile" ;;
23612 "lib/Transforms/Instrumentation/ProfilePaths/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/ProfilePaths/Makefile" ;;
23613 "lib/Transforms/Scalar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Scalar/Makefile" ;;
23614 "lib/Transforms/Utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Utils/Makefile" ;;
23615 "lib/VMCore/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/VMCore/Makefile" ;;
23616 "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;;
23617 "runtime/GCCLibraries/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/Makefile" ;;
23618 "runtime/GCCLibraries/crtend/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/crtend/Makefile" ;;
23619 "runtime/GCCLibraries/libc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libc/Makefile" ;;
23620 "runtime/GCCLibraries/libcurses/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libcurses/Makefile" ;;
23621 "runtime/GCCLibraries/libg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libg/Makefile" ;;
23622 "runtime/GCCLibraries/libgcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libgcc/Makefile" ;;
23623 "runtime/GCCLibraries/libm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libm/Makefile" ;;
23624 "runtime/GCCLibraries/libmalloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libmalloc/Makefile" ;;
23625 "runtime/GCCLibraries/libtermcap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libtermcap/Makefile" ;;
23626 "runtime/GCCLibraries/libucb/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libucb/Makefile" ;;
23627 "runtime/GCCLibraries/libutempter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutempter/Makefile" ;;
23628 "runtime/GCCLibraries/libutil/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutil/Makefile" ;;
23629 "runtime/libdummy/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libdummy/Makefile" ;;
23630 "runtime/libtrace/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libtrace/Makefile" ;;
23631 "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;;
23632 "test/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile.tests" ;;
23633 "test/QMTestDB/QMTest/llvm.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTestDB/QMTest/llvm.py" ;;
23634 "test/Programs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile" ;;
23635 "test/Programs/Makefile.programs" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.programs" ;;
23636 "test/Programs/TEST.aa.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.Makefile" ;;
23637 "test/Programs/TEST.dsgraph.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.report" ;;
23638 "test/Programs/TEST.micro.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.report" ;;
23639 "test/Programs/TEST.aa.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.report" ;;
23640 "test/Programs/TEST.example.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.example.Makefile" ;;
23641 "test/Programs/TEST.nightly.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.Makefile" ;;
23642 "test/Programs/TEST.buildrepo.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.buildrepo.Makefile" ;;
23643 "test/Programs/TEST.jit.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.Makefile" ;;
23644 "test/Programs/TEST.nightly.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.report" ;;
23645 "test/Programs/TEST.dsgraph.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.Makefile" ;;
23646 "test/Programs/TEST.jit.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.report" ;;
23647 "test/Programs/TEST.typesafe.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.typesafe.Makefile" ;;
23648 "test/Programs/TEST.dsgraph.gnuplot" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.gnuplot" ;;
23649 "test/Programs/TEST.micro.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.Makefile" ;;
23650 "test/Programs/External/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/Makefile" ;;
23651 "test/Programs/External/SPEC/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile" ;;
23652 "test/Programs/External/SPEC/Makefile.spec" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile.spec" ;;
23653 "test/Programs/External/SPEC/CFP2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/Makefile" ;;
23654 "test/Programs/External/SPEC/CFP2000/179.art/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/179.art/Makefile" ;;
23655 "test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ;;
23656 "test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ;;
23657 "test/Programs/External/SPEC/CINT2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/Makefile" ;;
23658 "test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ;;
23659 "test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ;;
23660 "test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ;;
23661 "test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ;;
23662 "test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ;;
23663 "test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ;;
23664 "test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ;;
23665 "test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ;;
23666 "test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ;;
23667 "test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ;;
23668 "test/Programs/LLVMSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/LLVMSource/Makefile" ;;
23669 "test/Programs/MultiSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile" ;;
23670 "test/Programs/MultiSource/Makefile.multisrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile.multisrc" ;;
23671 "test/Programs/MultiSource/Applications/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Makefile" ;;
23672 "test/Programs/MultiSource/Applications/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Burg/Makefile" ;;
23673 "test/Programs/MultiSource/Applications/aha/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/aha/Makefile" ;;
23674 "test/Programs/MultiSource/Applications/sgefa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/sgefa/Makefile" ;;
23675 "test/Programs/MultiSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Makefile" ;;
23676 "test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ;;
23677 "test/Programs/MultiSource/Benchmarks/McCat/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/Makefile" ;;
23678 "test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ;;
23679 "test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ;;
23680 "test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ;;
23681 "test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ;;
23682 "test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ;;
23683 "test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ;;
23684 "test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ;;
23685 "test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ;;
23686 "test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ;;
23687 "test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ;;
23688 "test/Programs/MultiSource/Benchmarks/Olden/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/Makefile" ;;
23689 "test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ;;
23690 "test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ;;
23691 "test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ;;
23692 "test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ;;
23693 "test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ;;
23694 "test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ;;
23695 "test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ;;
23696 "test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ;;
23697 "test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ;;
23698 "test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ;;
23699 "test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ;;
23700 "test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ;;
23701 "test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ;;
23702 "test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ;;
23703 "test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ;;
23704 "test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ;;
23705 "test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ;;
23706 "test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ;;
23707 "test/Programs/MultiSource/Benchmarks/sim/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/sim/Makefile" ;;
23708 "test/Programs/NoSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Makefile" ;;
23709 "test/Programs/NoSource/Flex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Flex/Makefile" ;;
23710 "test/Programs/NoSource/Larn/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Larn/Makefile" ;;
23711 "test/Programs/NoSource/Moria-5.5.2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Moria-5.5.2/Makefile" ;;
23712 "test/Programs/NoSource/Povray31/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Povray31/Makefile" ;;
23713 "test/Programs/NoSource/m4/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/m4/Makefile" ;;
23714 "test/Programs/SingleSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile" ;;
23715 "test/Programs/SingleSource/Makefile.singlesrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile.singlesrc" ;;
23716 "test/Programs/SingleSource/Gizmos/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Gizmos/Makefile" ;;
23717 "test/Programs/SingleSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Makefile" ;;
23718 "test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ;;
23719 "test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ;;
23720 "test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ;;
23721 "test/Programs/SingleSource/Benchmarks/Misc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Misc/Makefile" ;;
23722 "test/Programs/SingleSource/CustomChecked/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/CustomChecked/Makefile" ;;
23723 "test/Programs/SingleSource/UnitTests/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/Makefile" ;;
23724 "test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ;;
23725 "test/Programs/SingleSource/Regression/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/Makefile" ;;
23726 "test/Programs/SingleSource/Regression/C/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C/Makefile" ;;
23727 "test/Programs/SingleSource/Regression/C++/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/Makefile" ;;
23728 "test/Programs/SingleSource/Regression/C++/EH/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/EH/Makefile" ;;
23729 "test/Programs/SingleSource/Regression/C++/CompileFail/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/CompileFail/Makefile" ;;
23730 "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
23731 "tools/analyze/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/analyze/Makefile" ;;
23732 "tools/bugpoint/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/bugpoint/Makefile" ;;
23733 "tools/extract/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/extract/Makefile" ;;
23734 "tools/gccas/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccas/Makefile" ;;
23735 "tools/gccld/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccld/Makefile" ;;
23736 "tools/llc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llc/Makefile" ;;
23737 "tools/llee/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llee/Makefile" ;;
23738 "tools/lli/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/lli/Makefile" ;;
23739 "tools/llvm-ar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-ar/Makefile" ;;
23740 "tools/llvm-as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-as/Makefile" ;;
23741 "tools/llvm-dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-dis/Makefile" ;;
23742 "tools/llvm-link/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-link/Makefile" ;;
23743 "tools/opt/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/opt/Makefile" ;;
23744 "utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Makefile" ;;
23745 "www/docs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS www/docs/Makefile" ;;
23746 "projects/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Makefile" ;;
23747 "projects/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile" ;;
23748 "projects/sample/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.common" ;;
23749 "projects/sample/Makefile.config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.config" ;;
23750 "projects/sample/lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/Makefile" ;;
23751 "projects/sample/lib/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/sample/Makefile" ;;
23752 "projects/sample/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/Makefile" ;;
23753 "projects/sample/tools/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/sample/Makefile" ;;
23754 "projects/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile" ;;
23755 "projects/ModuleMaker/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile.common" ;;
23756 "projects/ModuleMaker/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/Makefile" ;;
23757 "projects/ModuleMaker/tools/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/ModuleMaker/Makefile" ;;
23758 "support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/Makefile" ;;
23759 "support/lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/lib/Makefile" ;;
23760 "support/lib/Support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/lib/Support/Makefile" ;;
23761 "support/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/tools/Makefile" ;;
23762 "support/tools/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/tools/Burg/Makefile" ;;
23763 "support/tools/Burg/Doc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/tools/Burg/Doc/Makefile" ;;
23764 "support/tools/TableGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/tools/TableGen/Makefile" ;;
23765 "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;;
23766 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23767 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23768 { (exit 1); exit 1; }; };;
23772 # If the user did not use the arguments to specify the items to instantiate,
23773 # then the envvar interface is used. Set only those that are not.
23774 # We use the long form for the default assignment because of an extremely
23775 # bizarre bug on SunOS 4.1.3.
23776 if $ac_need_defaults; then
23777 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23778 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23779 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23782 # Have a temporary directory for convenience. Make it in the build tree
23783 # simply because there is no reason to put it here, and in addition,
23784 # creating and moving files from /tmp can sometimes cause problems.
23785 # Create a temporary directory, and hook for its removal unless debugging.
23788 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23789 trap '{ (exit 1); exit 1; }' 1 2 13 15
23792 # Create a (secure) tmp directory for tmp files.
23795 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23796 test -n "$tmp" && test -d "$tmp"
23799 tmp=./confstat$$-$RANDOM
23800 (umask 077 && mkdir $tmp)
23803 echo "$me: cannot create a temporary directory in ." >&2
23804 { (exit 1); exit 1; }
23809 cat >>$CONFIG_STATUS <<_ACEOF
23812 # CONFIG_FILES section.
23815 # No need to generate the scripts if there are no CONFIG_FILES.
23816 # This happens for instance when ./config.status config.h
23817 if test -n "\$CONFIG_FILES"; then
23818 # Protect against being on the right side of a sed subst in config.status.
23819 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23820 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23821 s,@SHELL@,$SHELL,;t t
23822 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23823 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23824 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23825 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23826 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23827 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23828 s,@exec_prefix@,$exec_prefix,;t t
23829 s,@prefix@,$prefix,;t t
23830 s,@program_transform_name@,$program_transform_name,;t t
23831 s,@bindir@,$bindir,;t t
23832 s,@sbindir@,$sbindir,;t t
23833 s,@libexecdir@,$libexecdir,;t t
23834 s,@datadir@,$datadir,;t t
23835 s,@sysconfdir@,$sysconfdir,;t t
23836 s,@sharedstatedir@,$sharedstatedir,;t t
23837 s,@localstatedir@,$localstatedir,;t t
23838 s,@libdir@,$libdir,;t t
23839 s,@includedir@,$includedir,;t t
23840 s,@oldincludedir@,$oldincludedir,;t t
23841 s,@infodir@,$infodir,;t t
23842 s,@mandir@,$mandir,;t t
23843 s,@build_alias@,$build_alias,;t t
23844 s,@host_alias@,$host_alias,;t t
23845 s,@target_alias@,$target_alias,;t t
23846 s,@DEFS@,$DEFS,;t t
23847 s,@ECHO_C@,$ECHO_C,;t t
23848 s,@ECHO_N@,$ECHO_N,;t t
23849 s,@ECHO_T@,$ECHO_T,;t t
23850 s,@LIBS@,$LIBS,;t t
23851 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23852 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23853 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23854 s,@build@,$build,;t t
23855 s,@build_cpu@,$build_cpu,;t t
23856 s,@build_vendor@,$build_vendor,;t t
23857 s,@build_os@,$build_os,;t t
23858 s,@host@,$host,;t t
23859 s,@host_cpu@,$host_cpu,;t t
23860 s,@host_vendor@,$host_vendor,;t t
23861 s,@host_os@,$host_os,;t t
23862 s,@target@,$target,;t t
23863 s,@target_cpu@,$target_cpu,;t t
23864 s,@target_vendor@,$target_vendor,;t t
23865 s,@target_os@,$target_os,;t t
23867 s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t
23868 s,@ARCH@,$ARCH,;t t
23870 s,@CXXFLAGS@,$CXXFLAGS,;t t
23871 s,@LDFLAGS@,$LDFLAGS,;t t
23872 s,@CPPFLAGS@,$CPPFLAGS,;t t
23873 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
23874 s,@EXEEXT@,$EXEEXT,;t t
23875 s,@OBJEXT@,$OBJEXT,;t t
23877 s,@CFLAGS@,$CFLAGS,;t t
23878 s,@ac_ct_CC@,$ac_ct_CC,;t t
23880 s,@ifGNUmake@,$ifGNUmake,;t t
23882 s,@LEXLIB@,$LEXLIB,;t t
23883 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
23884 s,@YACC@,$YACC,;t t
23885 s,@EGREP@,$EGREP,;t t
23886 s,@LN_S@,$LN_S,;t t
23887 s,@ECHO@,$ECHO,;t t
23889 s,@ac_ct_AR@,$ac_ct_AR,;t t
23890 s,@RANLIB@,$RANLIB,;t t
23891 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23892 s,@STRIP@,$STRIP,;t t
23893 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23894 s,@CXXCPP@,$CXXCPP,;t t
23896 s,@FFLAGS@,$FFLAGS,;t t
23897 s,@ac_ct_F77@,$ac_ct_F77,;t t
23898 s,@LIBTOOL@,$LIBTOOL,;t t
23899 s,@RPWD@,$RPWD,;t t
23902 s,@MKDIR@,$MKDIR,;t t
23903 s,@DATE@,$DATE,;t t
23906 s,@ETAGS@,$ETAGS,;t t
23907 s,@PURIFY@,$PURIFY,;t t
23908 s,@PYTHON@,$PYTHON,;t t
23909 s,@QMTEST@,$QMTEST,;t t
23910 s,@ALLOCA@,$ALLOCA,;t t
23911 s,@LIBOBJS@,$LIBOBJS,;t t
23912 s,@MMAP_FILE@,$MMAP_FILE,;t t
23913 s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t
23914 s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t
23915 s,@USE_SPEC@,$USE_SPEC,;t t
23917 s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t
23919 s,@SPEC_ROOT@,$SPEC_ROOT,;t t
23921 s,@PAPIDIR@,$PAPIDIR,;t t
23922 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23927 cat >>$CONFIG_STATUS <<\_ACEOF
23928 # Split the substitutions into bite-sized pieces for seds with
23929 # small command number limits, like on Digital OSF/1 and HP-UX.
23930 ac_max_sed_lines=48
23931 ac_sed_frag=1 # Number of current file.
23932 ac_beg=1 # First line for current file.
23933 ac_end=$ac_max_sed_lines # Line after last line for current file.
23936 while $ac_more_lines; do
23937 if test $ac_beg -gt 1; then
23938 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23940 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23942 if test ! -s $tmp/subs.frag; then
23943 ac_more_lines=false
23945 # The purpose of the label and of the branching condition is to
23946 # speed up the sed processing (if there are no `@' at all, there
23947 # is no need to browse any of the substitutions).
23948 # These are the two extra sed commands mentioned above.
23950 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23951 if test -z "$ac_sed_cmds"; then
23952 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
23954 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23956 ac_sed_frag=`expr $ac_sed_frag + 1`
23958 ac_end=`expr $ac_end + $ac_max_sed_lines`
23961 if test -z "$ac_sed_cmds"; then
23964 fi # test -n "$CONFIG_FILES"
23967 cat >>$CONFIG_STATUS <<\_ACEOF
23968 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23969 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23971 - | *:- | *:-:* ) # input from stdin
23973 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23974 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23975 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23976 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23977 * ) ac_file_in=$ac_file.in ;;
23980 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23981 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23982 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23983 X"$ac_file" : 'X\(//\)[^/]' \| \
23984 X"$ac_file" : 'X\(//\)$' \| \
23985 X"$ac_file" : 'X\(/\)' \| \
23986 . : '\(.\)' 2>/dev/null ||
23988 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23989 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23990 /^X\(\/\/\)$/{ s//\1/; q; }
23991 /^X\(\/\).*/{ s//\1/; q; }
23993 { if $as_mkdir_p; then
23998 while test ! -d "$as_dir"; do
23999 as_dirs="$as_dir $as_dirs"
24000 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24001 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24002 X"$as_dir" : 'X\(//\)[^/]' \| \
24003 X"$as_dir" : 'X\(//\)$' \| \
24004 X"$as_dir" : 'X\(/\)' \| \
24005 . : '\(.\)' 2>/dev/null ||
24007 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24008 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24009 /^X\(\/\/\)$/{ s//\1/; q; }
24010 /^X\(\/\).*/{ s//\1/; q; }
24013 test ! -n "$as_dirs" || mkdir $as_dirs
24014 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24015 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24016 { (exit 1); exit 1; }; }; }
24020 if test "$ac_dir" != .; then
24021 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24022 # A "../" for each directory in $ac_dir_suffix.
24023 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24025 ac_dir_suffix= ac_top_builddir=
24029 .) # No --srcdir option. We are building in place.
24031 if test -z "$ac_top_builddir"; then
24034 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24036 [\\/]* | ?:[\\/]* ) # Absolute path.
24037 ac_srcdir=$srcdir$ac_dir_suffix;
24038 ac_top_srcdir=$srcdir ;;
24039 *) # Relative path.
24040 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24041 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24043 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24045 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24046 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24047 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24048 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24052 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24053 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
24056 if test x"$ac_file" != x-; then
24057 { echo "$as_me:$LINENO: creating $ac_file" >&5
24058 echo "$as_me: creating $ac_file" >&6;}
24061 # Let's still pretend it is `configure' which instantiates (i.e., don't
24062 # use $as_me), people would be surprised to read:
24063 # /* config.h. Generated by config.status. */
24064 if test x"$ac_file" = x-; then
24067 configure_input="$ac_file. "
24069 configure_input=$configure_input"Generated from `echo $ac_file_in |
24070 sed 's,.*/,,'` by configure."
24072 # First look for the input files in the build tree, otherwise in the
24074 ac_file_inputs=`IFS=:
24075 for f in $ac_file_in; do
24077 -) echo $tmp/stdin ;;
24079 # Absolute (can't be DOS-style, as IFS=:)
24080 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24081 echo "$as_me: error: cannot find input file: $f" >&2;}
24082 { (exit 1); exit 1; }; }
24085 if test -f "$f"; then
24088 elif test -f "$srcdir/$f"; then
24093 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24094 echo "$as_me: error: cannot find input file: $f" >&2;}
24095 { (exit 1); exit 1; }; }
24098 done` || { (exit 1); exit 1; }
24100 cat >>$CONFIG_STATUS <<_ACEOF
24104 cat >>$CONFIG_STATUS <<\_ACEOF
24106 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24107 s,@configure_input@,$configure_input,;t t
24108 s,@srcdir@,$ac_srcdir,;t t
24109 s,@abs_srcdir@,$ac_abs_srcdir,;t t
24110 s,@top_srcdir@,$ac_top_srcdir,;t t
24111 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
24112 s,@builddir@,$ac_builddir,;t t
24113 s,@abs_builddir@,$ac_abs_builddir,;t t
24114 s,@top_builddir@,$ac_top_builddir,;t t
24115 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
24116 s,@INSTALL@,$ac_INSTALL,;t t
24117 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24119 if test x"$ac_file" != x-; then
24120 mv $tmp/out $ac_file
24128 cat >>$CONFIG_STATUS <<\_ACEOF
24131 # CONFIG_HEADER section.
24134 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24135 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24137 # ac_d sets the value in "#define NAME VALUE" lines.
24138 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24139 ac_dB='[ ].*$,\1#\2'
24142 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24143 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24144 ac_uB='$,\1#\2define\3'
24148 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24149 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24151 - | *:- | *:-:* ) # input from stdin
24153 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24154 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24155 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24156 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24157 * ) ac_file_in=$ac_file.in ;;
24160 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24161 echo "$as_me: creating $ac_file" >&6;}
24163 # First look for the input files in the build tree, otherwise in the
24165 ac_file_inputs=`IFS=:
24166 for f in $ac_file_in; do
24168 -) echo $tmp/stdin ;;
24170 # Absolute (can't be DOS-style, as IFS=:)
24171 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24172 echo "$as_me: error: cannot find input file: $f" >&2;}
24173 { (exit 1); exit 1; }; }
24176 if test -f "$f"; then
24179 elif test -f "$srcdir/$f"; then
24184 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24185 echo "$as_me: error: cannot find input file: $f" >&2;}
24186 { (exit 1); exit 1; }; }
24189 done` || { (exit 1); exit 1; }
24190 # Remove the trailing spaces.
24191 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24195 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24196 # `conftest.undefs', that substitutes the proper values into
24197 # config.h.in to produce config.h. The first handles `#define'
24198 # templates, and the second `#undef' templates.
24199 # And first: Protect against being on the right side of a sed subst in
24200 # config.status. Protect against being in an unquoted here document
24201 # in config.status.
24202 rm -f conftest.defines conftest.undefs
24203 # Using a here document instead of a string reduces the quoting nightmare.
24204 # Putting comments in sed scripts is not portable.
24206 # `end' is used to avoid that the second main sed command (meant for
24207 # 0-ary CPP macros) applies to n-ary macro definitions.
24208 # See the Autoconf documentation for `clear'.
24209 cat >confdef2sed.sed <<\_ACEOF
24214 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24216 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24219 # If some macros were called several times there might be several times
24220 # the same #defines, which is useless. Nevertheless, we may not want to
24221 # sort them, since we want the *last* AC-DEFINE to be honored.
24222 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24223 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24224 rm -f confdef2sed.sed
24226 # This sed command replaces #undef with comments. This is necessary, for
24227 # example, in the case of _POSIX_SOURCE, which is predefined and required
24228 # on some systems where configure will not decide to define it.
24229 cat >>conftest.undefs <<\_ACEOF
24230 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24233 # Break up conftest.defines because some shells have a limit on the size
24234 # of here documents, and old seds have small limits too (100 cmds).
24235 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24236 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24237 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24238 echo ' :' >>$CONFIG_STATUS
24239 rm -f conftest.tail
24240 while grep . conftest.defines >/dev/null
24242 # Write a limited-size here document to $tmp/defines.sed.
24243 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24244 # Speed up: don't consider the non `#define' lines.
24245 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24246 # Work around the forget-to-reset-the-flag bug.
24247 echo 't clr' >>$CONFIG_STATUS
24248 echo ': clr' >>$CONFIG_STATUS
24249 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24251 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24253 mv $tmp/out $tmp/in
24255 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24256 rm -f conftest.defines
24257 mv conftest.tail conftest.defines
24259 rm -f conftest.defines
24260 echo ' fi # grep' >>$CONFIG_STATUS
24261 echo >>$CONFIG_STATUS
24263 # Break up conftest.undefs because some shells have a limit on the size
24264 # of here documents, and old seds have small limits too (100 cmds).
24265 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24266 rm -f conftest.tail
24267 while grep . conftest.undefs >/dev/null
24269 # Write a limited-size here document to $tmp/undefs.sed.
24270 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24271 # Speed up: don't consider the non `#undef'
24272 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24273 # Work around the forget-to-reset-the-flag bug.
24274 echo 't clr' >>$CONFIG_STATUS
24275 echo ': clr' >>$CONFIG_STATUS
24276 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24278 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24280 mv $tmp/out $tmp/in
24282 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24283 rm -f conftest.undefs
24284 mv conftest.tail conftest.undefs
24286 rm -f conftest.undefs
24288 cat >>$CONFIG_STATUS <<\_ACEOF
24289 # Let's still pretend it is `configure' which instantiates (i.e., don't
24290 # use $as_me), people would be surprised to read:
24291 # /* config.h. Generated by config.status. */
24292 if test x"$ac_file" = x-; then
24293 echo "/* Generated by configure. */" >$tmp/config.h
24295 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24297 cat $tmp/in >>$tmp/config.h
24299 if test x"$ac_file" != x-; then
24300 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24301 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24302 echo "$as_me: $ac_file is unchanged" >&6;}
24304 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24305 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24306 X"$ac_file" : 'X\(//\)[^/]' \| \
24307 X"$ac_file" : 'X\(//\)$' \| \
24308 X"$ac_file" : 'X\(/\)' \| \
24309 . : '\(.\)' 2>/dev/null ||
24311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24312 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24313 /^X\(\/\/\)$/{ s//\1/; q; }
24314 /^X\(\/\).*/{ s//\1/; q; }
24316 { if $as_mkdir_p; then
24321 while test ! -d "$as_dir"; do
24322 as_dirs="$as_dir $as_dirs"
24323 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24324 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24325 X"$as_dir" : 'X\(//\)[^/]' \| \
24326 X"$as_dir" : 'X\(//\)$' \| \
24327 X"$as_dir" : 'X\(/\)' \| \
24328 . : '\(.\)' 2>/dev/null ||
24330 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24331 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24332 /^X\(\/\/\)$/{ s//\1/; q; }
24333 /^X\(\/\).*/{ s//\1/; q; }
24336 test ! -n "$as_dirs" || mkdir $as_dirs
24337 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24338 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24339 { (exit 1); exit 1; }; }; }
24342 mv $tmp/config.h $ac_file
24346 rm -f $tmp/config.h
24350 cat >>$CONFIG_STATUS <<\_ACEOF
24353 # CONFIG_COMMANDS section.
24355 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24356 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24357 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24358 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24359 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24360 X"$ac_dest" : 'X\(//\)[^/]' \| \
24361 X"$ac_dest" : 'X\(//\)$' \| \
24362 X"$ac_dest" : 'X\(/\)' \| \
24363 . : '\(.\)' 2>/dev/null ||
24365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24366 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24367 /^X\(\/\/\)$/{ s//\1/; q; }
24368 /^X\(\/\).*/{ s//\1/; q; }
24372 if test "$ac_dir" != .; then
24373 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24374 # A "../" for each directory in $ac_dir_suffix.
24375 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24377 ac_dir_suffix= ac_top_builddir=
24381 .) # No --srcdir option. We are building in place.
24383 if test -z "$ac_top_builddir"; then
24386 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24388 [\\/]* | ?:[\\/]* ) # Absolute path.
24389 ac_srcdir=$srcdir$ac_dir_suffix;
24390 ac_top_srcdir=$srcdir ;;
24391 *) # Relative path.
24392 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24393 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24395 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24397 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24398 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24399 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24400 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24403 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24404 echo "$as_me: executing $ac_dest commands" >&6;}
24406 Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
24407 Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common ;;
24408 Makefile.rules ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.rules Makefile.rules ;;
24409 lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
24410 lib/Analysis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/Makefile lib/Analysis/Makefile ;;
24411 lib/Analysis/DataStructure/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/DataStructure/Makefile lib/Analysis/DataStructure/Makefile ;;
24412 lib/Analysis/IPA/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/IPA/Makefile lib/Analysis/IPA/Makefile ;;
24413 lib/Analysis/LiveVar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/LiveVar/Makefile lib/Analysis/LiveVar/Makefile ;;
24414 lib/AsmParser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/AsmParser/Makefile lib/AsmParser/Makefile ;;
24415 lib/Bytecode/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Makefile lib/Bytecode/Makefile ;;
24416 lib/Bytecode/Reader/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Reader/Makefile lib/Bytecode/Reader/Makefile ;;
24417 lib/Bytecode/Writer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Writer/Makefile lib/Bytecode/Writer/Makefile ;;
24418 lib/CWriter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CWriter/Makefile lib/CWriter/Makefile ;;
24419 lib/CodeGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/Makefile lib/CodeGen/Makefile ;;
24420 lib/CodeGen/InstrSched/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSched/Makefile lib/CodeGen/InstrSched/Makefile ;;
24421 lib/CodeGen/InstrSelection/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSelection/Makefile lib/CodeGen/InstrSelection/Makefile ;;
24422 lib/CodeGen/ModuloScheduling/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/ModuloScheduling/Makefile lib/CodeGen/ModuloScheduling/Makefile ;;
24423 lib/CodeGen/RegAlloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/RegAlloc/Makefile lib/CodeGen/RegAlloc/Makefile ;;
24424 lib/CodeGen/SelectionDAG/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/SelectionDAG/Makefile lib/CodeGen/SelectionDAG/Makefile ;;
24425 lib/ExecutionEngine/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Makefile lib/ExecutionEngine/Makefile ;;
24426 lib/ExecutionEngine/Interpreter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Interpreter/Makefile lib/ExecutionEngine/Interpreter/Makefile ;;
24427 lib/ExecutionEngine/JIT/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/JIT/Makefile lib/ExecutionEngine/JIT/Makefile ;;
24428 lib/Target/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Makefile lib/Target/Makefile ;;
24429 lib/Target/Sparc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Sparc/Makefile lib/Target/Sparc/Makefile ;;
24430 lib/Target/X86/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/X86/Makefile lib/Target/X86/Makefile ;;
24431 lib/Transforms/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Makefile lib/Transforms/Makefile ;;
24432 lib/Transforms/Hello/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Hello/Makefile lib/Transforms/Hello/Makefile ;;
24433 lib/Transforms/IPO/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/IPO/Makefile lib/Transforms/IPO/Makefile ;;
24434 lib/Transforms/Instrumentation/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/Makefile lib/Transforms/Instrumentation/Makefile ;;
24435 lib/Transforms/Instrumentation/ProfilePaths/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/ProfilePaths/Makefile lib/Transforms/Instrumentation/ProfilePaths/Makefile ;;
24436 lib/Transforms/Scalar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Scalar/Makefile lib/Transforms/Scalar/Makefile ;;
24437 lib/Transforms/Utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Utils/Makefile lib/Transforms/Utils/Makefile ;;
24438 lib/VMCore/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/VMCore/Makefile lib/VMCore/Makefile ;;
24439 runtime/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/Makefile runtime/Makefile ;;
24440 runtime/GCCLibraries/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/Makefile runtime/GCCLibraries/Makefile ;;
24441 runtime/GCCLibraries/crtend/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/crtend/Makefile runtime/GCCLibraries/crtend/Makefile ;;
24442 runtime/GCCLibraries/libc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libc/Makefile runtime/GCCLibraries/libc/Makefile ;;
24443 runtime/GCCLibraries/libcurses/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libcurses/Makefile runtime/GCCLibraries/libcurses/Makefile ;;
24444 runtime/GCCLibraries/libg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libg/Makefile runtime/GCCLibraries/libg/Makefile ;;
24445 runtime/GCCLibraries/libgcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libgcc/Makefile runtime/GCCLibraries/libgcc/Makefile ;;
24446 runtime/GCCLibraries/libm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libm/Makefile runtime/GCCLibraries/libm/Makefile ;;
24447 runtime/GCCLibraries/libmalloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libmalloc/Makefile runtime/GCCLibraries/libmalloc/Makefile ;;
24448 runtime/GCCLibraries/libtermcap/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libtermcap/Makefile runtime/GCCLibraries/libtermcap/Makefile ;;
24449 runtime/GCCLibraries/libucb/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libucb/Makefile runtime/GCCLibraries/libucb/Makefile ;;
24450 runtime/GCCLibraries/libutempter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutempter/Makefile runtime/GCCLibraries/libutempter/Makefile ;;
24451 runtime/GCCLibraries/libutil/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutil/Makefile runtime/GCCLibraries/libutil/Makefile ;;
24452 runtime/libdummy/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libdummy/Makefile runtime/libdummy/Makefile ;;
24453 runtime/libtrace/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libtrace/Makefile runtime/libtrace/Makefile ;;
24454 test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;;
24455 test/Makefile.tests ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile.tests test/Makefile.tests ;;
24456 test/QMTestDB/QMTest/llvm.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTestDB/QMTest/llvm.py test/QMTestDB/QMTest/llvm.py ;;
24457 test/Programs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile test/Programs/Makefile ;;
24458 test/Programs/Makefile.programs ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.programs test/Programs/Makefile.programs ;;
24459 test/Programs/TEST.aa.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.Makefile test/Programs/TEST.aa.Makefile ;;
24460 test/Programs/TEST.dsgraph.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.report test/Programs/TEST.dsgraph.report ;;
24461 test/Programs/TEST.micro.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.report test/Programs/TEST.micro.report ;;
24462 test/Programs/TEST.aa.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.report test/Programs/TEST.aa.report ;;
24463 test/Programs/TEST.example.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.example.Makefile test/Programs/TEST.example.Makefile ;;
24464 test/Programs/TEST.nightly.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.Makefile test/Programs/TEST.nightly.Makefile ;;
24465 test/Programs/TEST.buildrepo.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.buildrepo.Makefile test/Programs/TEST.buildrepo.Makefile ;;
24466 test/Programs/TEST.jit.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.Makefile test/Programs/TEST.jit.Makefile ;;
24467 test/Programs/TEST.nightly.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.report test/Programs/TEST.nightly.report ;;
24468 test/Programs/TEST.dsgraph.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.Makefile test/Programs/TEST.dsgraph.Makefile ;;
24469 test/Programs/TEST.jit.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.report test/Programs/TEST.jit.report ;;
24470 test/Programs/TEST.typesafe.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.typesafe.Makefile test/Programs/TEST.typesafe.Makefile ;;
24471 test/Programs/TEST.dsgraph.gnuplot ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.gnuplot test/Programs/TEST.dsgraph.gnuplot ;;
24472 test/Programs/TEST.micro.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.Makefile test/Programs/TEST.micro.Makefile ;;
24473 test/Programs/External/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/Makefile test/Programs/External/Makefile ;;
24474 test/Programs/External/SPEC/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile test/Programs/External/SPEC/Makefile ;;
24475 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 ;;
24476 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 ;;
24477 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 ;;
24478 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 ;;
24479 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 ;;
24480 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 ;;
24481 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 ;;
24482 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 ;;
24483 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 ;;
24484 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 ;;
24485 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 ;;
24486 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 ;;
24487 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 ;;
24488 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 ;;
24489 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 ;;
24490 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 ;;
24491 test/Programs/LLVMSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/LLVMSource/Makefile test/Programs/LLVMSource/Makefile ;;
24492 test/Programs/MultiSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile test/Programs/MultiSource/Makefile ;;
24493 test/Programs/MultiSource/Makefile.multisrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile.multisrc test/Programs/MultiSource/Makefile.multisrc ;;
24494 test/Programs/MultiSource/Applications/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/Makefile test/Programs/MultiSource/Applications/Makefile ;;
24495 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 ;;
24496 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 ;;
24497 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 ;;
24498 test/Programs/MultiSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Makefile test/Programs/MultiSource/Benchmarks/Makefile ;;
24499 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 ;;
24500 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 ;;
24501 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 ;;
24502 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 ;;
24503 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 ;;
24504 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 ;;
24505 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 ;;
24506 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 ;;
24507 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 ;;
24508 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 ;;
24509 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 ;;
24510 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 ;;
24511 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 ;;
24512 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 ;;
24513 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 ;;
24514 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 ;;
24515 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 ;;
24516 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 ;;
24517 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 ;;
24518 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 ;;
24519 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 ;;
24520 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 ;;
24521 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 ;;
24522 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 ;;
24523 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 ;;
24524 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 ;;
24525 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 ;;
24526 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 ;;
24527 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 ;;
24528 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 ;;
24529 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 ;;
24530 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 ;;
24531 test/Programs/NoSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Makefile test/Programs/NoSource/Makefile ;;
24532 test/Programs/NoSource/Flex/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Flex/Makefile test/Programs/NoSource/Flex/Makefile ;;
24533 test/Programs/NoSource/Larn/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Larn/Makefile test/Programs/NoSource/Larn/Makefile ;;
24534 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 ;;
24535 test/Programs/NoSource/Povray31/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Povray31/Makefile test/Programs/NoSource/Povray31/Makefile ;;
24536 test/Programs/NoSource/m4/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/m4/Makefile test/Programs/NoSource/m4/Makefile ;;
24537 test/Programs/SingleSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile test/Programs/SingleSource/Makefile ;;
24538 test/Programs/SingleSource/Makefile.singlesrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile.singlesrc test/Programs/SingleSource/Makefile.singlesrc ;;
24539 test/Programs/SingleSource/Gizmos/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Gizmos/Makefile test/Programs/SingleSource/Gizmos/Makefile ;;
24540 test/Programs/SingleSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Makefile test/Programs/SingleSource/Benchmarks/Makefile ;;
24541 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 ;;
24542 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 ;;
24543 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 ;;
24544 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 ;;
24545 test/Programs/SingleSource/CustomChecked/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/CustomChecked/Makefile test/Programs/SingleSource/CustomChecked/Makefile ;;
24546 test/Programs/SingleSource/UnitTests/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/Makefile test/Programs/SingleSource/UnitTests/Makefile ;;
24547 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 ;;
24548 test/Programs/SingleSource/Regression/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/Makefile test/Programs/SingleSource/Regression/Makefile ;;
24549 test/Programs/SingleSource/Regression/C/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/C/Makefile test/Programs/SingleSource/Regression/C/Makefile ;;
24550 test/Programs/SingleSource/Regression/C++/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/C++/Makefile test/Programs/SingleSource/Regression/C++/Makefile ;;
24551 test/Programs/SingleSource/Regression/C++/EH/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/C++/EH/Makefile test/Programs/SingleSource/Regression/C++/EH/Makefile ;;
24552 test/Programs/SingleSource/Regression/C++/CompileFail/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/C++/CompileFail/Makefile test/Programs/SingleSource/Regression/C++/CompileFail/Makefile ;;
24553 tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
24554 tools/analyze/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/analyze/Makefile tools/analyze/Makefile ;;
24555 tools/bugpoint/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/bugpoint/Makefile tools/bugpoint/Makefile ;;
24556 tools/extract/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/extract/Makefile tools/extract/Makefile ;;
24557 tools/gccas/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccas/Makefile tools/gccas/Makefile ;;
24558 tools/gccld/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccld/Makefile tools/gccld/Makefile ;;
24559 tools/llc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llc/Makefile tools/llc/Makefile ;;
24560 tools/llee/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llee/Makefile tools/llee/Makefile ;;
24561 tools/lli/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/lli/Makefile tools/lli/Makefile ;;
24562 tools/llvm-ar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-ar/Makefile tools/llvm-ar/Makefile ;;
24563 tools/llvm-as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-as/Makefile tools/llvm-as/Makefile ;;
24564 tools/llvm-dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-dis/Makefile tools/llvm-dis/Makefile ;;
24565 tools/llvm-link/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-link/Makefile tools/llvm-link/Makefile ;;
24566 tools/opt/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/opt/Makefile tools/opt/Makefile ;;
24567 utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Makefile utils/Makefile ;;
24568 www/docs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/www/docs/Makefile www/docs/Makefile ;;
24569 projects/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Makefile projects/Makefile ;;
24570 projects/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile projects/sample/Makefile ;;
24571 projects/sample/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.common projects/sample/Makefile.common ;;
24572 projects/sample/Makefile.config ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.config projects/sample/Makefile.config ;;
24573 projects/sample/lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/Makefile projects/sample/lib/Makefile ;;
24574 projects/sample/lib/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/sample/Makefile projects/sample/lib/sample/Makefile ;;
24575 projects/sample/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/Makefile projects/sample/tools/Makefile ;;
24576 projects/sample/tools/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/sample/Makefile projects/sample/tools/sample/Makefile ;;
24577 projects/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile projects/ModuleMaker/Makefile ;;
24578 projects/ModuleMaker/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile.common projects/ModuleMaker/Makefile.common ;;
24579 projects/ModuleMaker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/Makefile projects/ModuleMaker/tools/Makefile ;;
24580 projects/ModuleMaker/tools/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/ModuleMaker/Makefile projects/ModuleMaker/tools/ModuleMaker/Makefile ;;
24581 support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/Makefile support/Makefile ;;
24582 support/lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/lib/Makefile support/lib/Makefile ;;
24583 support/lib/Support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/lib/Support/Makefile support/lib/Support/Makefile ;;
24584 support/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/tools/Makefile support/tools/Makefile ;;
24585 support/tools/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/tools/Burg/Makefile support/tools/Burg/Makefile ;;
24586 support/tools/Burg/Doc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/tools/Burg/Doc/Makefile support/tools/Burg/Doc/Makefile ;;
24587 support/tools/TableGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/tools/TableGen/Makefile support/tools/TableGen/Makefile ;;
24592 cat >>$CONFIG_STATUS <<\_ACEOF
24594 { (exit 0); exit 0; }
24596 chmod +x $CONFIG_STATUS
24597 ac_clean_files=$ac_clean_files_save
24600 # configure is writing to config.log, and then calls config.status.
24601 # config.status does its own redirection, appending to config.log.
24602 # Unfortunately, on DOS this fails, as config.log is still kept open
24603 # by configure, so config.status won't be able to write to it; its
24604 # output is simply discarded. So we exec the FD to /dev/null,
24605 # effectively closing config.log, so it can be properly (re)opened and
24606 # appended to by config.status. When coming back to configure, we
24607 # need to make the FD available again.
24608 if test "$no_create" != yes; then
24610 ac_config_status_args=
24611 test "$silent" = yes &&
24612 ac_config_status_args="$ac_config_status_args --quiet"
24614 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24616 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24617 # would make configure fail if this is the last instruction.
24618 $ac_cs_success || { (exit 1); exit 1; }