2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for [LLVM] [1.0].
5 # Report bugs to <llvmbugs@cs.uiuc.edu>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26 # Support unset when possible.
27 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 if expr a : '\(a\)' >/dev/null 2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.file conf$$ 2>/dev/null; then
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
226 as_executable_p="test -f"
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
236 # We need space, tab and new line, in precisely that order.
246 # Check that we are running under the correct shell.
247 SHELL=${CONFIG_SHELL-/bin/sh}
251 # Remove one level of quotation (which was required for Make).
252 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
257 if test "X$1" = X--no-reexec; then
258 # Discard the --no-reexec flag, and continue.
260 elif test "X$1" = X--fallback-echo; then
261 # Avoid inline document here, it may be left over
263 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
264 # Yippee, $echo works!
267 # Restart under the correct shell.
268 exec $SHELL "$0" --no-reexec ${1+"$@"}
271 if test "X$1" = X--fallback-echo; then
272 # used as fallback echo
280 # The HP-UX ksh and POSIX shell print the target directory to stdout
282 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
284 if test -z "$ECHO"; then
285 if test "X${echo_test_string+set}" != Xset; then
286 # find a string as large as possible, as long as the shell can cope with it
287 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
288 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
289 if (echo_test_string="`eval $cmd`") 2>/dev/null &&
290 echo_test_string="`eval $cmd`" &&
291 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
298 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
299 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
300 test "X$echo_testing_string" = "X$echo_test_string"; then
303 # The Solaris, AIX, and Digital Unix default echo programs unquote
304 # backslashes. This makes it impossible to quote backslashes using
305 # echo "$something" | sed 's/\\/\\\\/g'
307 # So, first we look for a working echo in the user's PATH.
309 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
310 for dir in $PATH /usr/ucb; do
312 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
313 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
314 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
315 test "X$echo_testing_string" = "X$echo_test_string"; then
322 if test "X$echo" = Xecho; then
323 # We didn't find a better echo, so look for alternatives.
324 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
325 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
326 test "X$echo_testing_string" = "X$echo_test_string"; then
327 # This shell has a builtin print -r that does the trick.
329 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
330 test "X$CONFIG_SHELL" != X/bin/ksh; then
331 # If we have ksh, try running configure again with it.
332 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
333 export ORIGINAL_CONFIG_SHELL
334 CONFIG_SHELL=/bin/ksh
336 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
340 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
341 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
342 test "X$echo_testing_string" = "X$echo_test_string"; then
345 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
346 test "X$echo_testing_string" = 'X\t' &&
347 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
348 test "X$echo_testing_string" = "X$echo_test_string"; then
349 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
351 SHELL="$CONFIG_SHELL"
353 echo="$CONFIG_SHELL $0 --fallback-echo"
354 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
355 test "X$echo_testing_string" = 'X\t' &&
356 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
357 test "X$echo_testing_string" = "X$echo_test_string"; then
358 echo="$CONFIG_SHELL $0 --fallback-echo"
360 # maybe with a smaller string...
363 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
364 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
371 if test "$prev" != 'sed 50q "$0"'; then
372 echo_test_string=`eval $prev`
373 export echo_test_string
374 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
376 # Oops. We lost completely, so just stick with echo.
385 # Copy echo and quote the copy suitably for passing to libtool from
386 # the Makefile, instead of quoting the original, which is used later.
388 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
389 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
395 tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`
397 tagnames=`echo "$tagnames,F77" | sed 's/^,//'`
400 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
401 # so uname gets run too.
402 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
409 ac_default_prefix=/usr/local
410 ac_config_libobj_dir=.
415 SHELL=${CONFIG_SHELL-/bin/sh}
417 # Maximum number of lines to put in a shell here document.
418 # This variable seems obsolete. It should probably be removed, and
419 # only ac_max_sed_lines should be used.
420 : ${ac_max_here_lines=38}
422 # Identity of this package.
423 PACKAGE_NAME='[LLVM]'
424 PACKAGE_TARNAME='--llvm--'
425 PACKAGE_VERSION='[1.0]'
426 PACKAGE_STRING='[LLVM] [1.0]'
427 PACKAGE_BUGREPORT='llvmbugs@cs.uiuc.edu'
429 # Factoring default headers for most tests.
430 ac_includes_default="\
433 # include <sys/types.h>
436 # include <sys/stat.h>
447 # if !STDC_HEADERS && HAVE_MEMORY_H
453 # include <strings.h>
456 # include <inttypes.h>
466 ac_unique_file=""Makefile.config.in""
467 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os OS LLVMGCCDIR ARCH CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC CPP ifGNUmake LEX LEXLIB LEX_OUTPUT_ROOT YACC EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL RPWD SED RM MKDIR DATE MV DOT ETAGS PURIFY PYTHON QMTEST ALLOCA LIBOBJS MMAP_FILE ENABLE_PURIFY ENABLE_OPTIMIZED USE_SPEC UPB DISABLE_LLC_DIFFS JIT SPEC_ROOT BCR PAPIDIR LTLIBOBJS'
470 # Initialize some variables set by options.
472 ac_init_version=false
473 # The variables have the same names as the options, with
474 # dashes changed to underlines.
482 program_transform_name=s,x,x,
490 # Installation directory options.
491 # These are left unexpanded so users can "make install exec_prefix=/foo"
492 # and all the variables that are supposed to be based on exec_prefix
493 # by default will actually change.
494 # Use braces instead of parens because sh, perl, etc. also accept them.
495 bindir='${exec_prefix}/bin'
496 sbindir='${exec_prefix}/sbin'
497 libexecdir='${exec_prefix}/libexec'
498 datadir='${prefix}/share'
499 sysconfdir='${prefix}/etc'
500 sharedstatedir='${prefix}/com'
501 localstatedir='${prefix}/var'
502 libdir='${exec_prefix}/lib'
503 includedir='${prefix}/include'
504 oldincludedir='/usr/include'
505 infodir='${prefix}/info'
506 mandir='${prefix}/man'
511 # If the previous option needs an argument, assign it.
512 if test -n "$ac_prev"; then
513 eval "$ac_prev=\$ac_option"
518 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
520 # Accept the important Cygnus configure options, so we can diagnose typos.
524 -bindir | --bindir | --bindi | --bind | --bin | --bi)
526 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
529 -build | --build | --buil | --bui | --bu)
530 ac_prev=build_alias ;;
531 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
532 build_alias=$ac_optarg ;;
534 -cache-file | --cache-file | --cache-fil | --cache-fi \
535 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
536 ac_prev=cache_file ;;
537 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
538 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
539 cache_file=$ac_optarg ;;
542 cache_file=config.cache ;;
544 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
546 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
548 datadir=$ac_optarg ;;
550 -disable-* | --disable-*)
551 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
555 { (exit 1); exit 1; }; }
556 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
557 eval "enable_$ac_feature=no" ;;
559 -enable-* | --enable-*)
560 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
561 # Reject names that are not valid shell variable names.
562 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
563 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
564 { (exit 1); exit 1; }; }
565 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
567 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
570 eval "enable_$ac_feature='$ac_optarg'" ;;
572 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
573 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
574 | --exec | --exe | --ex)
575 ac_prev=exec_prefix ;;
576 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
577 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
578 | --exec=* | --exe=* | --ex=*)
579 exec_prefix=$ac_optarg ;;
581 -gas | --gas | --ga | --g)
582 # Obsolete; use --with-gas.
585 -help | --help | --hel | --he | -h)
587 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
588 ac_init_help=recursive ;;
589 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
590 ac_init_help=short ;;
592 -host | --host | --hos | --ho)
593 ac_prev=host_alias ;;
594 -host=* | --host=* | --hos=* | --ho=*)
595 host_alias=$ac_optarg ;;
597 -includedir | --includedir | --includedi | --included | --include \
598 | --includ | --inclu | --incl | --inc)
599 ac_prev=includedir ;;
600 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
601 | --includ=* | --inclu=* | --incl=* | --inc=*)
602 includedir=$ac_optarg ;;
604 -infodir | --infodir | --infodi | --infod | --info | --inf)
606 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
607 infodir=$ac_optarg ;;
609 -libdir | --libdir | --libdi | --libd)
611 -libdir=* | --libdir=* | --libdi=* | --libd=*)
614 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
615 | --libexe | --libex | --libe)
616 ac_prev=libexecdir ;;
617 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
618 | --libexe=* | --libex=* | --libe=*)
619 libexecdir=$ac_optarg ;;
621 -localstatedir | --localstatedir | --localstatedi | --localstated \
622 | --localstate | --localstat | --localsta | --localst \
623 | --locals | --local | --loca | --loc | --lo)
624 ac_prev=localstatedir ;;
625 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
626 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
627 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
628 localstatedir=$ac_optarg ;;
630 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
632 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
636 # Obsolete; use --without-fp.
639 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
640 | --no-cr | --no-c | -n)
643 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
644 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
647 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
648 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
649 | --oldin | --oldi | --old | --ol | --o)
650 ac_prev=oldincludedir ;;
651 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
652 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
653 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
654 oldincludedir=$ac_optarg ;;
656 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
658 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
661 -program-prefix | --program-prefix | --program-prefi | --program-pref \
662 | --program-pre | --program-pr | --program-p)
663 ac_prev=program_prefix ;;
664 -program-prefix=* | --program-prefix=* | --program-prefi=* \
665 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
666 program_prefix=$ac_optarg ;;
668 -program-suffix | --program-suffix | --program-suffi | --program-suff \
669 | --program-suf | --program-su | --program-s)
670 ac_prev=program_suffix ;;
671 -program-suffix=* | --program-suffix=* | --program-suffi=* \
672 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
673 program_suffix=$ac_optarg ;;
675 -program-transform-name | --program-transform-name \
676 | --program-transform-nam | --program-transform-na \
677 | --program-transform-n | --program-transform- \
678 | --program-transform | --program-transfor \
679 | --program-transfo | --program-transf \
680 | --program-trans | --program-tran \
681 | --progr-tra | --program-tr | --program-t)
682 ac_prev=program_transform_name ;;
683 -program-transform-name=* | --program-transform-name=* \
684 | --program-transform-nam=* | --program-transform-na=* \
685 | --program-transform-n=* | --program-transform-=* \
686 | --program-transform=* | --program-transfor=* \
687 | --program-transfo=* | --program-transf=* \
688 | --program-trans=* | --program-tran=* \
689 | --progr-tra=* | --program-tr=* | --program-t=*)
690 program_transform_name=$ac_optarg ;;
692 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
693 | -silent | --silent | --silen | --sile | --sil)
696 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
698 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
700 sbindir=$ac_optarg ;;
702 -sharedstatedir | --sharedstatedir | --sharedstatedi \
703 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
704 | --sharedst | --shareds | --shared | --share | --shar \
706 ac_prev=sharedstatedir ;;
707 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
708 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
709 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
711 sharedstatedir=$ac_optarg ;;
713 -site | --site | --sit)
715 -site=* | --site=* | --sit=*)
718 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
720 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
723 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
724 | --syscon | --sysco | --sysc | --sys | --sy)
725 ac_prev=sysconfdir ;;
726 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
727 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
728 sysconfdir=$ac_optarg ;;
730 -target | --target | --targe | --targ | --tar | --ta | --t)
731 ac_prev=target_alias ;;
732 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
733 target_alias=$ac_optarg ;;
735 -v | -verbose | --verbose | --verbos | --verbo | --verb)
738 -version | --version | --versio | --versi | --vers | -V)
742 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
743 # Reject names that are not valid shell variable names.
744 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
745 { echo "$as_me: error: invalid package name: $ac_package" >&2
746 { (exit 1); exit 1; }; }
747 ac_package=`echo $ac_package| sed 's/-/_/g'`
749 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
752 eval "with_$ac_package='$ac_optarg'" ;;
754 -without-* | --without-*)
755 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
756 # Reject names that are not valid shell variable names.
757 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
758 { echo "$as_me: error: invalid package name: $ac_package" >&2
759 { (exit 1); exit 1; }; }
760 ac_package=`echo $ac_package | sed 's/-/_/g'`
761 eval "with_$ac_package=no" ;;
764 # Obsolete; use --with-x.
767 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
768 | --x-incl | --x-inc | --x-in | --x-i)
769 ac_prev=x_includes ;;
770 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
771 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
772 x_includes=$ac_optarg ;;
774 -x-libraries | --x-libraries | --x-librarie | --x-librari \
775 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
776 ac_prev=x_libraries ;;
777 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
778 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
779 x_libraries=$ac_optarg ;;
781 -*) { echo "$as_me: error: unrecognized option: $ac_option
782 Try \`$0 --help' for more information." >&2
783 { (exit 1); exit 1; }; }
787 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
788 # Reject names that are not valid shell variable names.
789 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
790 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
791 { (exit 1); exit 1; }; }
792 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
793 eval "$ac_envvar='$ac_optarg'"
797 # FIXME: should be removed in autoconf 3.0.
798 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
799 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
800 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
801 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
807 if test -n "$ac_prev"; then
808 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
809 { echo "$as_me: error: missing argument to $ac_option" >&2
810 { (exit 1); exit 1; }; }
813 # Be sure to have absolute paths.
814 for ac_var in exec_prefix prefix
816 eval ac_val=$`echo $ac_var`
818 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
819 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
820 { (exit 1); exit 1; }; };;
824 # Be sure to have absolute paths.
825 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
826 localstatedir libdir includedir oldincludedir infodir mandir
828 eval ac_val=$`echo $ac_var`
830 [\\/$]* | ?:[\\/]* ) ;;
831 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
832 { (exit 1); exit 1; }; };;
836 # There might be people who depend on the old broken behavior: `$host'
837 # used to hold the argument of --host etc.
838 # FIXME: To remove some day.
843 # FIXME: To remove some day.
844 if test "x$host_alias" != x; then
845 if test "x$build_alias" = x; then
846 cross_compiling=maybe
847 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
848 If a cross compiler is detected then cross compile mode will be used." >&2
849 elif test "x$build_alias" != "x$host_alias"; then
855 test -n "$host_alias" && ac_tool_prefix=$host_alias-
857 test "$silent" = yes && exec 6>/dev/null
860 # Find the source files, if location was not specified.
861 if test -z "$srcdir"; then
862 ac_srcdir_defaulted=yes
863 # Try the directory containing this script, then its parent.
864 ac_confdir=`(dirname "$0") 2>/dev/null ||
865 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
866 X"$0" : 'X\(//\)[^/]' \| \
867 X"$0" : 'X\(//\)$' \| \
868 X"$0" : 'X\(/\)' \| \
869 . : '\(.\)' 2>/dev/null ||
871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
872 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
873 /^X\(\/\/\)$/{ s//\1/; q; }
874 /^X\(\/\).*/{ s//\1/; q; }
877 if test ! -r $srcdir/$ac_unique_file; then
881 ac_srcdir_defaulted=no
883 if test ! -r $srcdir/$ac_unique_file; then
884 if test "$ac_srcdir_defaulted" = yes; then
885 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
886 { (exit 1); exit 1; }; }
888 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
889 { (exit 1); exit 1; }; }
892 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
893 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
894 { (exit 1); exit 1; }; }
895 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
896 ac_env_build_alias_set=${build_alias+set}
897 ac_env_build_alias_value=$build_alias
898 ac_cv_env_build_alias_set=${build_alias+set}
899 ac_cv_env_build_alias_value=$build_alias
900 ac_env_host_alias_set=${host_alias+set}
901 ac_env_host_alias_value=$host_alias
902 ac_cv_env_host_alias_set=${host_alias+set}
903 ac_cv_env_host_alias_value=$host_alias
904 ac_env_target_alias_set=${target_alias+set}
905 ac_env_target_alias_value=$target_alias
906 ac_cv_env_target_alias_set=${target_alias+set}
907 ac_cv_env_target_alias_value=$target_alias
908 ac_env_CXX_set=${CXX+set}
909 ac_env_CXX_value=$CXX
910 ac_cv_env_CXX_set=${CXX+set}
911 ac_cv_env_CXX_value=$CXX
912 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
913 ac_env_CXXFLAGS_value=$CXXFLAGS
914 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
915 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
916 ac_env_LDFLAGS_set=${LDFLAGS+set}
917 ac_env_LDFLAGS_value=$LDFLAGS
918 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
919 ac_cv_env_LDFLAGS_value=$LDFLAGS
920 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
921 ac_env_CPPFLAGS_value=$CPPFLAGS
922 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
923 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
924 ac_env_CC_set=${CC+set}
926 ac_cv_env_CC_set=${CC+set}
927 ac_cv_env_CC_value=$CC
928 ac_env_CFLAGS_set=${CFLAGS+set}
929 ac_env_CFLAGS_value=$CFLAGS
930 ac_cv_env_CFLAGS_set=${CFLAGS+set}
931 ac_cv_env_CFLAGS_value=$CFLAGS
932 ac_env_CPP_set=${CPP+set}
933 ac_env_CPP_value=$CPP
934 ac_cv_env_CPP_set=${CPP+set}
935 ac_cv_env_CPP_value=$CPP
936 ac_env_CXXCPP_set=${CXXCPP+set}
937 ac_env_CXXCPP_value=$CXXCPP
938 ac_cv_env_CXXCPP_set=${CXXCPP+set}
939 ac_cv_env_CXXCPP_value=$CXXCPP
940 ac_env_F77_set=${F77+set}
941 ac_env_F77_value=$F77
942 ac_cv_env_F77_set=${F77+set}
943 ac_cv_env_F77_value=$F77
944 ac_env_FFLAGS_set=${FFLAGS+set}
945 ac_env_FFLAGS_value=$FFLAGS
946 ac_cv_env_FFLAGS_set=${FFLAGS+set}
947 ac_cv_env_FFLAGS_value=$FFLAGS
950 # Report the --help message.
952 if test "$ac_init_help" = "long"; then
953 # Omit some internal or obsolete options to make the list less imposing.
954 # This message is too long to be a string in the A/UX 3.1 sh.
956 \`configure' configures [LLVM] [1.0] to adapt to many kinds of systems.
958 Usage: $0 [OPTION]... [VAR=VALUE]...
960 To assign environment variables (e.g., CC, CFLAGS...), specify them as
961 VAR=VALUE. See below for descriptions of some of the useful variables.
963 Defaults for the options are specified in brackets.
966 -h, --help display this help and exit
967 --help=short display options specific to this package
968 --help=recursive display the short help of all the included packages
969 -V, --version display version information and exit
970 -q, --quiet, --silent do not print \`checking...' messages
971 --cache-file=FILE cache test results in FILE [disabled]
972 -C, --config-cache alias for \`--cache-file=config.cache'
973 -n, --no-create do not create output files
974 --srcdir=DIR find the sources in DIR [configure dir or \`..']
979 Installation directories:
980 --prefix=PREFIX install architecture-independent files in PREFIX
982 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
985 By default, \`make install' will install all the files in
986 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
987 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
988 for instance \`--prefix=\$HOME'.
990 For better control, use the options below.
992 Fine tuning of the installation directories:
993 --bindir=DIR user executables [EPREFIX/bin]
994 --sbindir=DIR system admin executables [EPREFIX/sbin]
995 --libexecdir=DIR program executables [EPREFIX/libexec]
996 --datadir=DIR read-only architecture-independent data [PREFIX/share]
997 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
998 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
999 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1000 --libdir=DIR object code libraries [EPREFIX/lib]
1001 --includedir=DIR C header files [PREFIX/include]
1002 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1003 --infodir=DIR info documentation [PREFIX/info]
1004 --mandir=DIR man documentation [PREFIX/man]
1010 --build=BUILD configure for building on BUILD [guessed]
1011 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1012 --target=TARGET configure for building compilers for TARGET [HOST]
1016 if test -n "$ac_init_help"; then
1017 case $ac_init_help in
1018 short | recursive ) echo "Configuration of [LLVM] [1.0]:";;
1023 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1024 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1025 --enable-shared[=PKGS]
1026 build shared libraries [default=yes]
1027 --enable-static[=PKGS]
1028 build static libraries [default=yes]
1029 --enable-fast-install[=PKGS]
1030 optimize for fast installation [default=yes]
1031 --disable-libtool-lock avoid locking (might break parallel builds)
1032 --enable-purify Compile with purify (default is NO)
1033 --enable-optimized Compile with optimizations enabled (default is NO)
1034 --enable-spec Compile SPEC benchmarks (default is NO)
1035 --enable-precompiled_bytecode
1036 Use pre-compiled bytecode (default is NO)
1037 --enable-llc_diffs Enable LLC Diffs when testing (default is YES)
1038 --enable-jit Enable Just In Time Compiling (default is YES)
1041 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1042 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1043 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1044 --with-pic try to use only PIC/non-PIC objects [default=use
1047 include additional configurations [automatic]
1048 --with-spec Location of SPEC benchmarks
1049 --with-llvmgccdir Location of LLVM GCC front-end
1050 --with-bcrepos Location of Bytecode Repository
1051 --with-papi Location of PAPI
1052 --with-purify Location of purify program
1054 Some influential environment variables:
1055 CXX C++ compiler command
1056 CXXFLAGS C++ compiler flags
1057 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1058 nonstandard directory <lib dir>
1059 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1060 headers in a nonstandard directory <include dir>
1061 CC C compiler command
1062 CFLAGS C compiler flags
1064 CXXCPP C++ preprocessor
1065 F77 Fortran 77 compiler command
1066 FFLAGS Fortran 77 compiler flags
1068 Use these variables to override the choices made by `configure' or to help
1069 it to find libraries and programs with nonstandard names/locations.
1071 Report bugs to <llvmbugs@cs.uiuc.edu>.
1075 if test "$ac_init_help" = "recursive"; then
1076 # If there are subdirs, report their specific --help.
1078 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1079 test -d $ac_dir || continue
1082 if test "$ac_dir" != .; then
1083 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1084 # A "../" for each directory in $ac_dir_suffix.
1085 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1087 ac_dir_suffix= ac_top_builddir=
1091 .) # No --srcdir option. We are building in place.
1093 if test -z "$ac_top_builddir"; then
1096 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1098 [\\/]* | ?:[\\/]* ) # Absolute path.
1099 ac_srcdir=$srcdir$ac_dir_suffix;
1100 ac_top_srcdir=$srcdir ;;
1102 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1103 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1105 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1107 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1108 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1109 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1110 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1113 # Check for guested configure; otherwise get Cygnus style configure.
1114 if test -f $ac_srcdir/configure.gnu; then
1116 $SHELL $ac_srcdir/configure.gnu --help=recursive
1117 elif test -f $ac_srcdir/configure; then
1119 $SHELL $ac_srcdir/configure --help=recursive
1120 elif test -f $ac_srcdir/configure.ac ||
1121 test -f $ac_srcdir/configure.in; then
1123 $ac_configure --help
1125 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1131 test -n "$ac_init_help" && exit 0
1132 if $ac_init_version; then
1134 [LLVM] configure [1.0]
1135 generated by GNU Autoconf 2.57
1137 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1138 Free Software Foundation, Inc.
1139 This configure script is free software; the Free Software Foundation
1140 gives unlimited permission to copy, distribute and modify it.
1146 This file contains any messages produced by compilers while
1147 running configure, to aid debugging if configure makes a mistake.
1149 It was created by [LLVM] $as_me [1.0], which was
1150 generated by GNU Autoconf 2.57. Invocation command line was
1161 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1162 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1163 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1164 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1165 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1167 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1168 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1170 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1171 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1172 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1173 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1174 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1175 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1176 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1184 test -z "$as_dir" && as_dir=.
1185 echo "PATH: $as_dir"
1200 # Keep a trace of the command line.
1201 # Strip out --no-create and --no-recursion so they do not pile up.
1202 # Strip out --silent because we don't want to record it for future runs.
1203 # Also quote any args containing shell meta-characters.
1204 # Make two passes to allow for proper duplicate-argument suppression.
1209 ac_must_keep_next=false
1215 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1216 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1217 | -silent | --silent | --silen | --sile | --sil)
1219 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1220 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1223 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1225 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1226 if test $ac_must_keep_next = true; then
1227 ac_must_keep_next=false # Got value, back to normal.
1230 *=* | --config-cache | -C | -disable-* | --disable-* \
1231 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1232 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1233 | -with-* | --with-* | -without-* | --without-* | --x)
1234 case "$ac_configure_args0 " in
1235 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1238 -* ) ac_must_keep_next=true ;;
1241 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1242 # Get rid of the leading space.
1248 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1249 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1251 # When interrupted or exit'd, cleanup temporary files, and complete
1252 # config.log. We remove comments because anyway the quotes in there
1253 # would cause problems or look ugly.
1254 # WARNING: Be sure not to use single quotes in there, as some shells,
1255 # such as our DU 5.0 friend, will then `close' the trap.
1256 trap 'exit_status=$?
1257 # Save into config.log some information that might help in debugging.
1262 ## ---------------- ##
1263 ## Cache variables. ##
1264 ## ---------------- ##
1267 # The following way of writing the cache mishandles newlines in values,
1270 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1273 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1274 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1278 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1285 ## ----------------- ##
1286 ## Output variables. ##
1287 ## ----------------- ##
1290 for ac_var in $ac_subst_vars
1292 eval ac_val=$`echo $ac_var`
1293 echo "$ac_var='"'"'$ac_val'"'"'"
1297 if test -n "$ac_subst_files"; then
1304 for ac_var in $ac_subst_files
1306 eval ac_val=$`echo $ac_var`
1307 echo "$ac_var='"'"'$ac_val'"'"'"
1312 if test -s confdefs.h; then
1319 sed "/^$/d" confdefs.h | sort
1322 test "$ac_signal" != 0 &&
1323 echo "$as_me: caught signal $ac_signal"
1324 echo "$as_me: exit $exit_status"
1326 rm -f core core.* *.core &&
1327 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1330 for ac_signal in 1 2 13 15; do
1331 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1335 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1336 rm -rf conftest* confdefs.h
1337 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1340 # Predefined preprocessor variables.
1342 cat >>confdefs.h <<_ACEOF
1343 #define PACKAGE_NAME "$PACKAGE_NAME"
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1352 cat >>confdefs.h <<_ACEOF
1353 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1357 cat >>confdefs.h <<_ACEOF
1358 #define PACKAGE_STRING "$PACKAGE_STRING"
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1367 # Let the site file select an alternate cache file if it wants to.
1368 # Prefer explicitly selected file to automatically selected ones.
1369 if test -z "$CONFIG_SITE"; then
1370 if test "x$prefix" != xNONE; then
1371 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1373 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1376 for ac_site_file in $CONFIG_SITE; do
1377 if test -r "$ac_site_file"; then
1378 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1379 echo "$as_me: loading site script $ac_site_file" >&6;}
1380 sed 's/^/| /' "$ac_site_file" >&5
1385 if test -r "$cache_file"; then
1386 # Some versions of bash will fail to source /dev/null (special
1387 # files actually), so we avoid doing that.
1388 if test -f "$cache_file"; then
1389 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1390 echo "$as_me: loading cache $cache_file" >&6;}
1392 [\\/]* | ?:[\\/]* ) . $cache_file;;
1393 *) . ./$cache_file;;
1397 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1398 echo "$as_me: creating cache $cache_file" >&6;}
1402 # Check that the precious variables saved in the cache have kept the same
1404 ac_cache_corrupted=false
1405 for ac_var in `(set) 2>&1 |
1406 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1407 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1408 eval ac_new_set=\$ac_env_${ac_var}_set
1409 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1410 eval ac_new_val="\$ac_env_${ac_var}_value"
1411 case $ac_old_set,$ac_new_set in
1413 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1414 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1415 ac_cache_corrupted=: ;;
1417 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1418 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1419 ac_cache_corrupted=: ;;
1422 if test "x$ac_old_val" != "x$ac_new_val"; then
1423 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1424 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1425 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1426 echo "$as_me: former value: $ac_old_val" >&2;}
1427 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1428 echo "$as_me: current value: $ac_new_val" >&2;}
1429 ac_cache_corrupted=:
1432 # Pass precious variables to config.status.
1433 if test "$ac_new_set" = set; then
1435 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1436 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1437 *) ac_arg=$ac_var=$ac_new_val ;;
1439 case " $ac_configure_args " in
1440 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1441 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1445 if $ac_cache_corrupted; then
1446 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1447 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1448 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1449 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1450 { (exit 1); exit 1; }; }
1454 ac_cpp='$CPP $CPPFLAGS'
1455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1487 for ac_dir in autoconf $srcdir/autoconf; do
1488 if test -f $ac_dir/install-sh; then
1490 ac_install_sh="$ac_aux_dir/install-sh -c"
1492 elif test -f $ac_dir/install.sh; then
1494 ac_install_sh="$ac_aux_dir/install.sh -c"
1496 elif test -f $ac_dir/shtool; then
1498 ac_install_sh="$ac_aux_dir/shtool install -c"
1502 if test -z "$ac_aux_dir"; then
1503 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&5
1504 echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;}
1505 { (exit 1); exit 1; }; }
1507 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1508 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1509 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1512 if test ${srcdir} != "."
1514 if test -f ${srcdir}/include/Config/config.h
1516 { { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5
1517 echo "$as_me: error: Already configured in ${srcdir}" >&2;}
1518 { (exit 1); exit 1; }; }
1522 ac_config_headers="$ac_config_headers include/Config/config.h"
1524 ac_config_commands="$ac_config_commands Makefile"
1527 ac_config_commands="$ac_config_commands Makefile.common"
1530 ac_config_commands="$ac_config_commands Makefile.rules"
1533 ac_config_commands="$ac_config_commands lib/Makefile"
1536 ac_config_commands="$ac_config_commands lib/Analysis/Makefile"
1539 ac_config_commands="$ac_config_commands lib/Analysis/DataStructure/Makefile"
1542 ac_config_commands="$ac_config_commands lib/Analysis/IPA/Makefile"
1545 ac_config_commands="$ac_config_commands lib/Analysis/LiveVar/Makefile"
1548 ac_config_commands="$ac_config_commands lib/AsmParser/Makefile"
1551 ac_config_commands="$ac_config_commands lib/Bytecode/Makefile"
1554 ac_config_commands="$ac_config_commands lib/Bytecode/Reader/Makefile"
1557 ac_config_commands="$ac_config_commands lib/Bytecode/Writer/Makefile"
1560 ac_config_commands="$ac_config_commands lib/CWriter/Makefile"
1563 ac_config_commands="$ac_config_commands lib/CodeGen/Makefile"
1566 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSched/Makefile"
1569 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSelection/Makefile"
1572 ac_config_commands="$ac_config_commands lib/CodeGen/ModuloScheduling/Makefile"
1575 ac_config_commands="$ac_config_commands lib/CodeGen/RegAlloc/Makefile"
1578 ac_config_commands="$ac_config_commands lib/CodeGen/SelectionDAG/Makefile"
1581 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Makefile"
1584 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Interpreter/Makefile"
1587 ac_config_commands="$ac_config_commands lib/ExecutionEngine/JIT/Makefile"
1590 ac_config_commands="$ac_config_commands lib/Support/Makefile"
1593 ac_config_commands="$ac_config_commands lib/Target/Makefile"
1596 ac_config_commands="$ac_config_commands lib/Target/Sparc/Makefile"
1599 ac_config_commands="$ac_config_commands lib/Target/X86/Makefile"
1602 ac_config_commands="$ac_config_commands lib/Transforms/Makefile"
1605 ac_config_commands="$ac_config_commands lib/Transforms/Hello/Makefile"
1608 ac_config_commands="$ac_config_commands lib/Transforms/IPO/Makefile"
1611 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/Makefile"
1614 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/ProfilePaths/Makefile"
1617 ac_config_commands="$ac_config_commands lib/Transforms/Scalar/Makefile"
1620 ac_config_commands="$ac_config_commands lib/Transforms/Utils/Makefile"
1623 ac_config_commands="$ac_config_commands lib/VMCore/Makefile"
1626 ac_config_commands="$ac_config_commands runtime/Makefile"
1629 ac_config_commands="$ac_config_commands runtime/GCCLibraries/Makefile"
1632 ac_config_commands="$ac_config_commands runtime/GCCLibraries/crtend/Makefile"
1635 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libc/Makefile"
1638 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libcurses/Makefile"
1641 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libg/Makefile"
1644 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libgcc/Makefile"
1647 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libm/Makefile"
1650 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libmalloc/Makefile"
1653 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libtermcap/Makefile"
1656 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libucb/Makefile"
1659 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutempter/Makefile"
1662 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutil/Makefile"
1665 ac_config_commands="$ac_config_commands runtime/libdummy/Makefile"
1668 ac_config_commands="$ac_config_commands runtime/libtrace/Makefile"
1671 ac_config_commands="$ac_config_commands test/Makefile"
1674 ac_config_commands="$ac_config_commands test/Makefile.tests"
1677 ac_config_commands="$ac_config_commands test/QMTestDB/QMTest/llvm.py"
1680 ac_config_commands="$ac_config_commands test/Programs/Makefile"
1683 ac_config_commands="$ac_config_commands test/Programs/Makefile.programs"
1686 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.Makefile"
1689 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.report"
1692 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.report"
1695 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.report"
1698 ac_config_commands="$ac_config_commands test/Programs/TEST.example.Makefile"
1701 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.Makefile"
1704 ac_config_commands="$ac_config_commands test/Programs/TEST.buildrepo.Makefile"
1707 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.Makefile"
1710 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.report"
1713 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.Makefile"
1716 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.report"
1719 ac_config_commands="$ac_config_commands test/Programs/TEST.typesafe.Makefile"
1722 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.gnuplot"
1725 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.Makefile"
1728 ac_config_commands="$ac_config_commands test/Programs/External/Makefile"
1731 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile"
1734 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile.spec"
1737 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/Makefile"
1740 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/179.art/Makefile"
1743 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/183.equake/Makefile"
1746 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/188.ammp/Makefile"
1749 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/Makefile"
1752 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/164.gzip/Makefile"
1755 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/175.vpr/Makefile"
1758 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/176.gcc/Makefile"
1761 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/181.mcf/Makefile"
1764 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/186.crafty/Makefile"
1767 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/197.parser/Makefile"
1770 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/254.gap/Makefile"
1773 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/255.vortex/Makefile"
1776 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile"
1779 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/300.twolf/Makefile"
1782 ac_config_commands="$ac_config_commands test/Programs/LLVMSource/Makefile"
1785 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile"
1788 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile.multisrc"
1791 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Makefile"
1794 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Burg/Makefile"
1797 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/aha/Makefile"
1800 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/sgefa/Makefile"
1803 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Makefile"
1806 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile"
1809 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/Makefile"
1812 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile"
1815 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile"
1818 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile"
1821 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile"
1824 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile"
1827 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile"
1830 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile"
1833 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile"
1836 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile"
1839 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile"
1842 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/Makefile"
1845 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile"
1848 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile"
1851 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile"
1854 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/health/Makefile"
1857 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile"
1860 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile"
1863 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/power/Makefile"
1866 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile"
1869 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile"
1872 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile"
1875 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile"
1878 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile"
1881 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile"
1884 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile"
1887 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile"
1890 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile"
1893 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile"
1896 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile"
1899 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/sim/Makefile"
1902 ac_config_commands="$ac_config_commands test/Programs/NoSource/Makefile"
1905 ac_config_commands="$ac_config_commands test/Programs/NoSource/Flex/Makefile"
1908 ac_config_commands="$ac_config_commands test/Programs/NoSource/Larn/Makefile"
1911 ac_config_commands="$ac_config_commands test/Programs/NoSource/Moria-5.5.2/Makefile"
1914 ac_config_commands="$ac_config_commands test/Programs/NoSource/Povray31/Makefile"
1917 ac_config_commands="$ac_config_commands test/Programs/NoSource/m4/Makefile"
1920 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile"
1923 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile.singlesrc"
1926 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Gizmos/Makefile"
1929 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Makefile"
1932 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile"
1935 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Shootout/Makefile"
1938 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Stanford/Makefile"
1941 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Misc/Makefile"
1944 ac_config_commands="$ac_config_commands test/Programs/SingleSource/CustomChecked/Makefile"
1947 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/Makefile"
1950 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile"
1953 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/Makefile"
1956 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C/Makefile"
1959 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C++/Makefile"
1962 ac_config_commands="$ac_config_commands tools/Makefile"
1965 ac_config_commands="$ac_config_commands tools/analyze/Makefile"
1968 ac_config_commands="$ac_config_commands tools/bugpoint/Makefile"
1971 ac_config_commands="$ac_config_commands tools/extract/Makefile"
1974 ac_config_commands="$ac_config_commands tools/gccas/Makefile"
1977 ac_config_commands="$ac_config_commands tools/gccld/Makefile"
1980 ac_config_commands="$ac_config_commands tools/llc/Makefile"
1983 ac_config_commands="$ac_config_commands tools/llee/Makefile"
1986 ac_config_commands="$ac_config_commands tools/lli/Makefile"
1989 ac_config_commands="$ac_config_commands tools/llvm-ar/Makefile"
1992 ac_config_commands="$ac_config_commands tools/llvm-as/Makefile"
1995 ac_config_commands="$ac_config_commands tools/llvm-dis/Makefile"
1998 ac_config_commands="$ac_config_commands tools/llvm-link/Makefile"
2001 ac_config_commands="$ac_config_commands tools/opt/Makefile"
2004 ac_config_commands="$ac_config_commands utils/Makefile"
2007 ac_config_commands="$ac_config_commands utils/Burg/Makefile"
2010 ac_config_commands="$ac_config_commands utils/Burg/Doc/Makefile"
2013 ac_config_commands="$ac_config_commands utils/TableGen/Makefile"
2016 ac_config_commands="$ac_config_commands www/docs/Makefile"
2019 ac_config_commands="$ac_config_commands projects/Makefile"
2022 ac_config_commands="$ac_config_commands projects/sample/Makefile"
2025 ac_config_commands="$ac_config_commands projects/sample/Makefile.common"
2028 ac_config_commands="$ac_config_commands projects/sample/Makefile.config"
2031 ac_config_commands="$ac_config_commands projects/sample/lib/Makefile"
2034 ac_config_commands="$ac_config_commands projects/sample/lib/sample/Makefile"
2037 ac_config_commands="$ac_config_commands projects/sample/tools/Makefile"
2040 ac_config_commands="$ac_config_commands projects/sample/tools/sample/Makefile"
2043 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile"
2046 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile.common"
2049 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/Makefile"
2052 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/ModuleMaker/Makefile"
2057 # Find a good install program. We prefer a C program (faster),
2058 # so one script is as good as another. But avoid the broken or
2059 # incompatible versions:
2060 # SysV /etc/install, /usr/sbin/install
2061 # SunOS /usr/etc/install
2062 # IRIX /sbin/install
2064 # AmigaOS /C/install, which installs bootblocks on floppy discs
2065 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2066 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2067 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2068 # ./install, which can be erroneously created by make from ./install.sh.
2069 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2070 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2071 if test -z "$INSTALL"; then
2072 if test "${ac_cv_path_install+set}" = set; then
2073 echo $ECHO_N "(cached) $ECHO_C" >&6
2075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2079 test -z "$as_dir" && as_dir=.
2080 # Account for people who put trailing slashes in PATH elements.
2082 ./ | .// | /cC/* | \
2083 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2086 # OSF1 and SCO ODT 3.0 have their own names for install.
2087 # Don't use installbsd from OSF since it installs stuff as root
2089 for ac_prog in ginstall scoinst install; do
2090 for ac_exec_ext in '' $ac_executable_extensions; do
2091 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2092 if test $ac_prog = install &&
2093 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2094 # AIX install. It has an incompatible calling convention.
2096 elif test $ac_prog = install &&
2097 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2098 # program-specific install script used by HP pwplus--don't use.
2101 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2113 if test "${ac_cv_path_install+set}" = set; then
2114 INSTALL=$ac_cv_path_install
2116 # As a last resort, use the slow shell script. We don't cache a
2117 # path for INSTALL within a source directory, because that will
2118 # break other packages using the cache if that directory is
2119 # removed, or if the path is relative.
2120 INSTALL=$ac_install_sh
2123 echo "$as_me:$LINENO: result: $INSTALL" >&5
2124 echo "${ECHO_T}$INSTALL" >&6
2126 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2127 # It thinks the first close brace ends the variable substitution.
2128 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2130 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2132 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2135 # Make sure we can run config.sub.
2136 $ac_config_sub sun4 >/dev/null 2>&1 ||
2137 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2138 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2139 { (exit 1); exit 1; }; }
2141 echo "$as_me:$LINENO: checking build system type" >&5
2142 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2143 if test "${ac_cv_build+set}" = set; then
2144 echo $ECHO_N "(cached) $ECHO_C" >&6
2146 ac_cv_build_alias=$build_alias
2147 test -z "$ac_cv_build_alias" &&
2148 ac_cv_build_alias=`$ac_config_guess`
2149 test -z "$ac_cv_build_alias" &&
2150 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2151 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2152 { (exit 1); exit 1; }; }
2153 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2154 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2155 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2156 { (exit 1); exit 1; }; }
2159 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2160 echo "${ECHO_T}$ac_cv_build" >&6
2162 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2163 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2164 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2167 echo "$as_me:$LINENO: checking host system type" >&5
2168 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2169 if test "${ac_cv_host+set}" = set; then
2170 echo $ECHO_N "(cached) $ECHO_C" >&6
2172 ac_cv_host_alias=$host_alias
2173 test -z "$ac_cv_host_alias" &&
2174 ac_cv_host_alias=$ac_cv_build_alias
2175 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2176 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2177 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2178 { (exit 1); exit 1; }; }
2181 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2182 echo "${ECHO_T}$ac_cv_host" >&6
2184 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2185 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2186 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2189 echo "$as_me:$LINENO: checking target system type" >&5
2190 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2191 if test "${ac_cv_target+set}" = set; then
2192 echo $ECHO_N "(cached) $ECHO_C" >&6
2194 ac_cv_target_alias=$target_alias
2195 test "x$ac_cv_target_alias" = "x" &&
2196 ac_cv_target_alias=$ac_cv_host_alias
2197 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2198 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2199 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2200 { (exit 1); exit 1; }; }
2203 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2204 echo "${ECHO_T}$ac_cv_target" >&6
2205 target=$ac_cv_target
2206 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2207 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2208 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2211 # The aliases save the names the user supplied, while $host etc.
2212 # will get canonicalized.
2213 test -n "$target_alias" &&
2214 test "$program_prefix$program_suffix$program_transform_name" = \
2216 program_prefix=${target_alias}-
2221 LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/
2227 LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/
2237 *sparc*solaris*) target=sparcv9-sun-solaris2.8
2246 *sparc*solaris*) ARCH=Sparc
2253 ac_cpp='$CXXCPP $CPPFLAGS'
2254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2257 if test -n "$ac_tool_prefix"; then
2258 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2260 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2261 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2262 echo "$as_me:$LINENO: checking for $ac_word" >&5
2263 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2264 if test "${ac_cv_prog_CXX+set}" = set; then
2265 echo $ECHO_N "(cached) $ECHO_C" >&6
2267 if test -n "$CXX"; then
2268 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2274 test -z "$as_dir" && as_dir=.
2275 for ac_exec_ext in '' $ac_executable_extensions; do
2276 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2277 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2278 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2287 if test -n "$CXX"; then
2288 echo "$as_me:$LINENO: result: $CXX" >&5
2289 echo "${ECHO_T}$CXX" >&6
2291 echo "$as_me:$LINENO: result: no" >&5
2292 echo "${ECHO_T}no" >&6
2295 test -n "$CXX" && break
2298 if test -z "$CXX"; then
2300 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2302 # Extract the first word of "$ac_prog", so it can be a program name with args.
2303 set dummy $ac_prog; ac_word=$2
2304 echo "$as_me:$LINENO: checking for $ac_word" >&5
2305 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2306 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2307 echo $ECHO_N "(cached) $ECHO_C" >&6
2309 if test -n "$ac_ct_CXX"; then
2310 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2316 test -z "$as_dir" && as_dir=.
2317 for ac_exec_ext in '' $ac_executable_extensions; do
2318 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2319 ac_cv_prog_ac_ct_CXX="$ac_prog"
2320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2328 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2329 if test -n "$ac_ct_CXX"; then
2330 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2331 echo "${ECHO_T}$ac_ct_CXX" >&6
2333 echo "$as_me:$LINENO: result: no" >&5
2334 echo "${ECHO_T}no" >&6
2337 test -n "$ac_ct_CXX" && break
2339 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2345 # Provide some information about the compiler.
2346 echo "$as_me:$LINENO:" \
2347 "checking for C++ compiler version" >&5
2348 ac_compiler=`set X $ac_compile; echo $2`
2349 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2350 (eval $ac_compiler --version </dev/null >&5) 2>&5
2352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2353 (exit $ac_status); }
2354 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2355 (eval $ac_compiler -v </dev/null >&5) 2>&5
2357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2358 (exit $ac_status); }
2359 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2360 (eval $ac_compiler -V </dev/null >&5) 2>&5
2362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363 (exit $ac_status); }
2365 cat >conftest.$ac_ext <<_ACEOF
2366 #line $LINENO "configure"
2369 cat confdefs.h >>conftest.$ac_ext
2370 cat >>conftest.$ac_ext <<_ACEOF
2371 /* end confdefs.h. */
2381 ac_clean_files_save=$ac_clean_files
2382 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2383 # Try to create an executable without -o first, disregard a.out.
2384 # It will help us diagnose broken compilers, and finding out an intuition
2386 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
2387 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
2388 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2389 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2390 (eval $ac_link_default) 2>&5
2392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2393 (exit $ac_status); }; then
2394 # Find the output, starting from the most likely. This scheme is
2395 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2398 # Be careful to initialize this variable, since it used to be cached.
2399 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2401 # b.out is created by i960 compilers.
2402 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2404 test -f "$ac_file" || continue
2406 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2409 # This is the source file.
2412 # We found the default executable, but exeext='' is most
2416 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2417 # FIXME: I believe we export ac_cv_exeext for Libtool,
2418 # but it would be cool to find out if it's true. Does anybody
2419 # maintain Libtool? --akim.
2427 echo "$as_me: failed program was:" >&5
2428 sed 's/^/| /' conftest.$ac_ext >&5
2430 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2431 See \`config.log' for more details." >&5
2432 echo "$as_me: error: C++ compiler cannot create executables
2433 See \`config.log' for more details." >&2;}
2434 { (exit 77); exit 77; }; }
2437 ac_exeext=$ac_cv_exeext
2438 echo "$as_me:$LINENO: result: $ac_file" >&5
2439 echo "${ECHO_T}$ac_file" >&6
2441 # Check the compiler produces executables we can run. If not, either
2442 # the compiler is broken, or we cross compile.
2443 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2444 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2445 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2446 # If not cross compiling, check that we can run a simple program.
2447 if test "$cross_compiling" != yes; then
2448 if { ac_try='./$ac_file'
2449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2453 (exit $ac_status); }; }; then
2456 if test "$cross_compiling" = maybe; then
2459 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2460 If you meant to cross compile, use \`--host'.
2461 See \`config.log' for more details." >&5
2462 echo "$as_me: error: cannot run C++ compiled programs.
2463 If you meant to cross compile, use \`--host'.
2464 See \`config.log' for more details." >&2;}
2465 { (exit 1); exit 1; }; }
2469 echo "$as_me:$LINENO: result: yes" >&5
2470 echo "${ECHO_T}yes" >&6
2472 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2473 ac_clean_files=$ac_clean_files_save
2474 # Check the compiler produces executables we can run. If not, either
2475 # the compiler is broken, or we cross compile.
2476 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2477 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2478 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2479 echo "${ECHO_T}$cross_compiling" >&6
2481 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2482 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2484 (eval $ac_link) 2>&5
2486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2487 (exit $ac_status); }; then
2488 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2489 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2490 # work properly (i.e., refer to `conftest.exe'), while it won't with
2492 for ac_file in conftest.exe conftest conftest.*; do
2493 test -f "$ac_file" || continue
2495 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2496 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2503 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2504 See \`config.log' for more details." >&5
2505 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2506 See \`config.log' for more details." >&2;}
2507 { (exit 1); exit 1; }; }
2510 rm -f conftest$ac_cv_exeext
2511 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2512 echo "${ECHO_T}$ac_cv_exeext" >&6
2514 rm -f conftest.$ac_ext
2515 EXEEXT=$ac_cv_exeext
2517 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2518 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2519 if test "${ac_cv_objext+set}" = set; then
2520 echo $ECHO_N "(cached) $ECHO_C" >&6
2522 cat >conftest.$ac_ext <<_ACEOF
2523 #line $LINENO "configure"
2526 cat confdefs.h >>conftest.$ac_ext
2527 cat >>conftest.$ac_ext <<_ACEOF
2528 /* end confdefs.h. */
2538 rm -f conftest.o conftest.obj
2539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2540 (eval $ac_compile) 2>&5
2542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2543 (exit $ac_status); }; then
2544 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2546 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2547 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2552 echo "$as_me: failed program was:" >&5
2553 sed 's/^/| /' conftest.$ac_ext >&5
2555 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2556 See \`config.log' for more details." >&5
2557 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2558 See \`config.log' for more details." >&2;}
2559 { (exit 1); exit 1; }; }
2562 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2564 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2565 echo "${ECHO_T}$ac_cv_objext" >&6
2566 OBJEXT=$ac_cv_objext
2568 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2569 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2570 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2571 echo $ECHO_N "(cached) $ECHO_C" >&6
2573 cat >conftest.$ac_ext <<_ACEOF
2574 #line $LINENO "configure"
2577 cat confdefs.h >>conftest.$ac_ext
2578 cat >>conftest.$ac_ext <<_ACEOF
2579 /* end confdefs.h. */
2592 rm -f conftest.$ac_objext
2593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2594 (eval $ac_compile) 2>&5
2596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2597 (exit $ac_status); } &&
2598 { ac_try='test -s conftest.$ac_objext'
2599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2603 (exit $ac_status); }; }; then
2606 echo "$as_me: failed program was:" >&5
2607 sed 's/^/| /' conftest.$ac_ext >&5
2611 rm -f conftest.$ac_objext conftest.$ac_ext
2612 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2615 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2616 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2617 GXX=`test $ac_compiler_gnu = yes && echo yes`
2618 ac_test_CXXFLAGS=${CXXFLAGS+set}
2619 ac_save_CXXFLAGS=$CXXFLAGS
2621 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2622 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2623 if test "${ac_cv_prog_cxx_g+set}" = set; then
2624 echo $ECHO_N "(cached) $ECHO_C" >&6
2626 cat >conftest.$ac_ext <<_ACEOF
2627 #line $LINENO "configure"
2630 cat confdefs.h >>conftest.$ac_ext
2631 cat >>conftest.$ac_ext <<_ACEOF
2632 /* end confdefs.h. */
2642 rm -f conftest.$ac_objext
2643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2644 (eval $ac_compile) 2>&5
2646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647 (exit $ac_status); } &&
2648 { ac_try='test -s conftest.$ac_objext'
2649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2653 (exit $ac_status); }; }; then
2654 ac_cv_prog_cxx_g=yes
2656 echo "$as_me: failed program was:" >&5
2657 sed 's/^/| /' conftest.$ac_ext >&5
2661 rm -f conftest.$ac_objext conftest.$ac_ext
2663 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2664 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2665 if test "$ac_test_CXXFLAGS" = set; then
2666 CXXFLAGS=$ac_save_CXXFLAGS
2667 elif test $ac_cv_prog_cxx_g = yes; then
2668 if test "$GXX" = yes; then
2674 if test "$GXX" = yes; then
2680 for ac_declaration in \
2682 '#include <stdlib.h>' \
2683 'extern "C" void std::exit (int) throw (); using std::exit;' \
2684 'extern "C" void std::exit (int); using std::exit;' \
2685 'extern "C" void exit (int) throw ();' \
2686 'extern "C" void exit (int);' \
2689 cat >conftest.$ac_ext <<_ACEOF
2690 #line $LINENO "configure"
2693 cat confdefs.h >>conftest.$ac_ext
2694 cat >>conftest.$ac_ext <<_ACEOF
2695 /* end confdefs.h. */
2706 rm -f conftest.$ac_objext
2707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2708 (eval $ac_compile) 2>&5
2710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2711 (exit $ac_status); } &&
2712 { ac_try='test -s conftest.$ac_objext'
2713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2717 (exit $ac_status); }; }; then
2720 echo "$as_me: failed program was:" >&5
2721 sed 's/^/| /' conftest.$ac_ext >&5
2725 rm -f conftest.$ac_objext conftest.$ac_ext
2726 cat >conftest.$ac_ext <<_ACEOF
2727 #line $LINENO "configure"
2730 cat confdefs.h >>conftest.$ac_ext
2731 cat >>conftest.$ac_ext <<_ACEOF
2732 /* end confdefs.h. */
2742 rm -f conftest.$ac_objext
2743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2744 (eval $ac_compile) 2>&5
2746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2747 (exit $ac_status); } &&
2748 { ac_try='test -s conftest.$ac_objext'
2749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 (exit $ac_status); }; }; then
2756 echo "$as_me: failed program was:" >&5
2757 sed 's/^/| /' conftest.$ac_ext >&5
2760 rm -f conftest.$ac_objext conftest.$ac_ext
2763 if test -n "$ac_declaration"; then
2764 echo '#ifdef __cplusplus' >>confdefs.h
2765 echo $ac_declaration >>confdefs.h
2766 echo '#endif' >>confdefs.h
2770 ac_cpp='$CPP $CPPFLAGS'
2771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2776 ac_cpp='$CPP $CPPFLAGS'
2777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2780 if test -n "$ac_tool_prefix"; then
2783 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2784 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2785 echo "$as_me:$LINENO: checking for $ac_word" >&5
2786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2787 if test "${ac_cv_prog_CC+set}" = set; then
2788 echo $ECHO_N "(cached) $ECHO_C" >&6
2790 if test -n "$CC"; then
2791 ac_cv_prog_CC="$CC" # Let the user override the test.
2793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2797 test -z "$as_dir" && as_dir=.
2798 for ac_exec_ext in '' $ac_executable_extensions; do
2799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2800 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2810 if test -n "$CC"; then
2811 echo "$as_me:$LINENO: result: $CC" >&5
2812 echo "${ECHO_T}$CC" >&6
2814 echo "$as_me:$LINENO: result: no" >&5
2815 echo "${ECHO_T}no" >&6
2818 test -n "$CC" && break
2821 if test -z "$CC"; then
2825 # Extract the first word of "$ac_prog", so it can be a program name with args.
2826 set dummy $ac_prog; ac_word=$2
2827 echo "$as_me:$LINENO: checking for $ac_word" >&5
2828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2829 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2830 echo $ECHO_N "(cached) $ECHO_C" >&6
2832 if test -n "$ac_ct_CC"; then
2833 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2839 test -z "$as_dir" && as_dir=.
2840 for ac_exec_ext in '' $ac_executable_extensions; do
2841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2842 ac_cv_prog_ac_ct_CC="$ac_prog"
2843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2851 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2852 if test -n "$ac_ct_CC"; then
2853 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2854 echo "${ECHO_T}$ac_ct_CC" >&6
2856 echo "$as_me:$LINENO: result: no" >&5
2857 echo "${ECHO_T}no" >&6
2860 test -n "$ac_ct_CC" && break
2867 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2868 See \`config.log' for more details." >&5
2869 echo "$as_me: error: no acceptable C compiler found in \$PATH
2870 See \`config.log' for more details." >&2;}
2871 { (exit 1); exit 1; }; }
2873 # Provide some information about the compiler.
2874 echo "$as_me:$LINENO:" \
2875 "checking for C compiler version" >&5
2876 ac_compiler=`set X $ac_compile; echo $2`
2877 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2878 (eval $ac_compiler --version </dev/null >&5) 2>&5
2880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881 (exit $ac_status); }
2882 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2883 (eval $ac_compiler -v </dev/null >&5) 2>&5
2885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2886 (exit $ac_status); }
2887 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2888 (eval $ac_compiler -V </dev/null >&5) 2>&5
2890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2891 (exit $ac_status); }
2893 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2894 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2895 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2896 echo $ECHO_N "(cached) $ECHO_C" >&6
2898 cat >conftest.$ac_ext <<_ACEOF
2899 #line $LINENO "configure"
2902 cat confdefs.h >>conftest.$ac_ext
2903 cat >>conftest.$ac_ext <<_ACEOF
2904 /* end confdefs.h. */
2917 rm -f conftest.$ac_objext
2918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2919 (eval $ac_compile) 2>&5
2921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922 (exit $ac_status); } &&
2923 { ac_try='test -s conftest.$ac_objext'
2924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2928 (exit $ac_status); }; }; then
2931 echo "$as_me: failed program was:" >&5
2932 sed 's/^/| /' conftest.$ac_ext >&5
2936 rm -f conftest.$ac_objext conftest.$ac_ext
2937 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2940 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2941 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2942 GCC=`test $ac_compiler_gnu = yes && echo yes`
2943 ac_test_CFLAGS=${CFLAGS+set}
2944 ac_save_CFLAGS=$CFLAGS
2946 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2947 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2948 if test "${ac_cv_prog_cc_g+set}" = set; then
2949 echo $ECHO_N "(cached) $ECHO_C" >&6
2951 cat >conftest.$ac_ext <<_ACEOF
2952 #line $LINENO "configure"
2955 cat confdefs.h >>conftest.$ac_ext
2956 cat >>conftest.$ac_ext <<_ACEOF
2957 /* end confdefs.h. */
2967 rm -f conftest.$ac_objext
2968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2969 (eval $ac_compile) 2>&5
2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972 (exit $ac_status); } &&
2973 { ac_try='test -s conftest.$ac_objext'
2974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); }; }; then
2981 echo "$as_me: failed program was:" >&5
2982 sed 's/^/| /' conftest.$ac_ext >&5
2986 rm -f conftest.$ac_objext conftest.$ac_ext
2988 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2989 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2990 if test "$ac_test_CFLAGS" = set; then
2991 CFLAGS=$ac_save_CFLAGS
2992 elif test $ac_cv_prog_cc_g = yes; then
2993 if test "$GCC" = yes; then
2999 if test "$GCC" = yes; then
3005 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3006 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3007 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3008 echo $ECHO_N "(cached) $ECHO_C" >&6
3010 ac_cv_prog_cc_stdc=no
3012 cat >conftest.$ac_ext <<_ACEOF
3013 #line $LINENO "configure"
3016 cat confdefs.h >>conftest.$ac_ext
3017 cat >>conftest.$ac_ext <<_ACEOF
3018 /* end confdefs.h. */
3021 #include <sys/types.h>
3022 #include <sys/stat.h>
3023 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3024 struct buf { int x; };
3025 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3026 static char *e (p, i)
3032 static char *f (char * (*g) (char **, int), char **p, ...)
3037 s = g (p, va_arg (v,int));
3041 int test (int i, double x);
3042 struct s1 {int (*f) (int a);};
3043 struct s2 {int (*f) (double a);};
3044 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3050 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3055 # Don't try gcc -ansi; that turns off useful extensions and
3056 # breaks some systems' header files.
3057 # AIX -qlanglvl=ansi
3058 # Ultrix and OSF/1 -std1
3059 # HP-UX 10.20 and later -Ae
3060 # HP-UX older versions -Aa -D_HPUX_SOURCE
3061 # SVR4 -Xc -D__EXTENSIONS__
3062 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3064 CC="$ac_save_CC $ac_arg"
3065 rm -f conftest.$ac_objext
3066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3067 (eval $ac_compile) 2>&5
3069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3070 (exit $ac_status); } &&
3071 { ac_try='test -s conftest.$ac_objext'
3072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3076 (exit $ac_status); }; }; then
3077 ac_cv_prog_cc_stdc=$ac_arg
3080 echo "$as_me: failed program was:" >&5
3081 sed 's/^/| /' conftest.$ac_ext >&5
3084 rm -f conftest.$ac_objext
3086 rm -f conftest.$ac_ext conftest.$ac_objext
3091 case "x$ac_cv_prog_cc_stdc" in
3093 echo "$as_me:$LINENO: result: none needed" >&5
3094 echo "${ECHO_T}none needed" >&6 ;;
3096 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3097 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3098 CC="$CC $ac_cv_prog_cc_stdc" ;;
3101 # Some people use a C++ compiler to compile C. Since we use `exit',
3102 # in C++ we need to declare it. In case someone uses the same compiler
3103 # for both compiling C and C++ we need to have the C++ compiler decide
3104 # the declaration of exit, since it's the most demanding environment.
3105 cat >conftest.$ac_ext <<_ACEOF
3110 rm -f conftest.$ac_objext
3111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3112 (eval $ac_compile) 2>&5
3114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3115 (exit $ac_status); } &&
3116 { ac_try='test -s conftest.$ac_objext'
3117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3121 (exit $ac_status); }; }; then
3122 for ac_declaration in \
3124 '#include <stdlib.h>' \
3125 'extern "C" void std::exit (int) throw (); using std::exit;' \
3126 'extern "C" void std::exit (int); using std::exit;' \
3127 'extern "C" void exit (int) throw ();' \
3128 'extern "C" void exit (int);' \
3131 cat >conftest.$ac_ext <<_ACEOF
3132 #line $LINENO "configure"
3135 cat confdefs.h >>conftest.$ac_ext
3136 cat >>conftest.$ac_ext <<_ACEOF
3137 /* end confdefs.h. */
3148 rm -f conftest.$ac_objext
3149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3150 (eval $ac_compile) 2>&5
3152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153 (exit $ac_status); } &&
3154 { ac_try='test -s conftest.$ac_objext'
3155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3159 (exit $ac_status); }; }; then
3162 echo "$as_me: failed program was:" >&5
3163 sed 's/^/| /' conftest.$ac_ext >&5
3167 rm -f conftest.$ac_objext conftest.$ac_ext
3168 cat >conftest.$ac_ext <<_ACEOF
3169 #line $LINENO "configure"
3172 cat confdefs.h >>conftest.$ac_ext
3173 cat >>conftest.$ac_ext <<_ACEOF
3174 /* end confdefs.h. */
3184 rm -f conftest.$ac_objext
3185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3186 (eval $ac_compile) 2>&5
3188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3189 (exit $ac_status); } &&
3190 { ac_try='test -s conftest.$ac_objext'
3191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3195 (exit $ac_status); }; }; then
3198 echo "$as_me: failed program was:" >&5
3199 sed 's/^/| /' conftest.$ac_ext >&5
3202 rm -f conftest.$ac_objext conftest.$ac_ext
3205 if test -n "$ac_declaration"; then
3206 echo '#ifdef __cplusplus' >>confdefs.h
3207 echo $ac_declaration >>confdefs.h
3208 echo '#endif' >>confdefs.h
3212 echo "$as_me: failed program was:" >&5
3213 sed 's/^/| /' conftest.$ac_ext >&5
3216 rm -f conftest.$ac_objext conftest.$ac_ext
3218 ac_cpp='$CPP $CPPFLAGS'
3219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3224 ac_cpp='$CPP $CPPFLAGS'
3225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3228 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3229 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3230 # On Suns, sometimes $CPP names a directory.
3231 if test -n "$CPP" && test -d "$CPP"; then
3234 if test -z "$CPP"; then
3235 if test "${ac_cv_prog_CPP+set}" = set; then
3236 echo $ECHO_N "(cached) $ECHO_C" >&6
3238 # Double quotes because CPP needs to be expanded
3239 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3242 for ac_c_preproc_warn_flag in '' yes
3244 # Use a header file that comes with gcc, so configuring glibc
3245 # with a fresh cross-compiler works.
3246 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3247 # <limits.h> exists even on freestanding compilers.
3248 # On the NeXT, cc -E runs the code through the compiler's parser,
3249 # not just through cpp. "Syntax error" is here to catch this case.
3250 cat >conftest.$ac_ext <<_ACEOF
3251 #line $LINENO "configure"
3254 cat confdefs.h >>conftest.$ac_ext
3255 cat >>conftest.$ac_ext <<_ACEOF
3256 /* end confdefs.h. */
3258 # include <limits.h>
3260 # include <assert.h>
3264 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3265 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3267 grep -v '^ *+' conftest.er1 >conftest.err
3269 cat conftest.err >&5
3270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3271 (exit $ac_status); } >/dev/null; then
3272 if test -s conftest.err; then
3273 ac_cpp_err=$ac_c_preproc_warn_flag
3280 if test -z "$ac_cpp_err"; then
3283 echo "$as_me: failed program was:" >&5
3284 sed 's/^/| /' conftest.$ac_ext >&5
3286 # Broken: fails on valid input.
3289 rm -f conftest.err conftest.$ac_ext
3291 # OK, works on sane cases. Now check whether non-existent headers
3292 # can be detected and how.
3293 cat >conftest.$ac_ext <<_ACEOF
3294 #line $LINENO "configure"
3297 cat confdefs.h >>conftest.$ac_ext
3298 cat >>conftest.$ac_ext <<_ACEOF
3299 /* end confdefs.h. */
3300 #include <ac_nonexistent.h>
3302 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3303 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3305 grep -v '^ *+' conftest.er1 >conftest.err
3307 cat conftest.err >&5
3308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3309 (exit $ac_status); } >/dev/null; then
3310 if test -s conftest.err; then
3311 ac_cpp_err=$ac_c_preproc_warn_flag
3318 if test -z "$ac_cpp_err"; then
3319 # Broken: success on invalid input.
3322 echo "$as_me: failed program was:" >&5
3323 sed 's/^/| /' conftest.$ac_ext >&5
3325 # Passes both tests.
3329 rm -f conftest.err conftest.$ac_ext
3332 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3333 rm -f conftest.err conftest.$ac_ext
3334 if $ac_preproc_ok; then
3346 echo "$as_me:$LINENO: result: $CPP" >&5
3347 echo "${ECHO_T}$CPP" >&6
3349 for ac_c_preproc_warn_flag in '' yes
3351 # Use a header file that comes with gcc, so configuring glibc
3352 # with a fresh cross-compiler works.
3353 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3354 # <limits.h> exists even on freestanding compilers.
3355 # On the NeXT, cc -E runs the code through the compiler's parser,
3356 # not just through cpp. "Syntax error" is here to catch this case.
3357 cat >conftest.$ac_ext <<_ACEOF
3358 #line $LINENO "configure"
3361 cat confdefs.h >>conftest.$ac_ext
3362 cat >>conftest.$ac_ext <<_ACEOF
3363 /* end confdefs.h. */
3365 # include <limits.h>
3367 # include <assert.h>
3371 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3372 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3374 grep -v '^ *+' conftest.er1 >conftest.err
3376 cat conftest.err >&5
3377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3378 (exit $ac_status); } >/dev/null; then
3379 if test -s conftest.err; then
3380 ac_cpp_err=$ac_c_preproc_warn_flag
3387 if test -z "$ac_cpp_err"; then
3390 echo "$as_me: failed program was:" >&5
3391 sed 's/^/| /' conftest.$ac_ext >&5
3393 # Broken: fails on valid input.
3396 rm -f conftest.err conftest.$ac_ext
3398 # OK, works on sane cases. Now check whether non-existent headers
3399 # can be detected and how.
3400 cat >conftest.$ac_ext <<_ACEOF
3401 #line $LINENO "configure"
3404 cat confdefs.h >>conftest.$ac_ext
3405 cat >>conftest.$ac_ext <<_ACEOF
3406 /* end confdefs.h. */
3407 #include <ac_nonexistent.h>
3409 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3410 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3412 grep -v '^ *+' conftest.er1 >conftest.err
3414 cat conftest.err >&5
3415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3416 (exit $ac_status); } >/dev/null; then
3417 if test -s conftest.err; then
3418 ac_cpp_err=$ac_c_preproc_warn_flag
3425 if test -z "$ac_cpp_err"; then
3426 # Broken: success on invalid input.
3429 echo "$as_me: failed program was:" >&5
3430 sed 's/^/| /' conftest.$ac_ext >&5
3432 # Passes both tests.
3436 rm -f conftest.err conftest.$ac_ext
3439 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3440 rm -f conftest.err conftest.$ac_ext
3441 if $ac_preproc_ok; then
3444 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3445 See \`config.log' for more details." >&5
3446 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3447 See \`config.log' for more details." >&2;}
3448 { (exit 1); exit 1; }; }
3452 ac_cpp='$CPP $CPPFLAGS'
3453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3458 if test "$GCC" != "yes"
3460 { { echo "$as_me:$LINENO: error: gcc required but not found" >&5
3461 echo "$as_me: error: gcc required but not found" >&2;}
3462 { (exit 1); exit 1; }; }
3465 if test "$GXX" != "yes"
3467 { { echo "$as_me:$LINENO: error: g++ required but not found" >&5
3468 echo "$as_me: error: g++ required but not found" >&2;}
3469 { (exit 1); exit 1; }; }
3472 gccmajor=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1`
3473 if test "$gccmajor" -lt "3"
3475 { { echo "$as_me:$LINENO: error: gcc 3.x required" >&5
3476 echo "$as_me: error: gcc 3.x required" >&2;}
3477 { (exit 1); exit 1; }; }
3480 echo "$as_me:$LINENO: checking for GNU make" >&5
3481 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
3482 if test "${_cv_gnu_make_command+set}" = set; then
3483 echo $ECHO_N "(cached) $ECHO_C" >&6
3485 _cv_gnu_make_command='' ;
3486 for a in "$MAKE" make gmake gnumake ; do
3487 if test -z "$a" ; then continue ; fi ;
3488 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
3489 _cv_gnu_make_command=$a ;
3495 echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5
3496 echo "${ECHO_T}$_cv_gnu_make_command" >&6 ;
3497 if test "x$_cv_gnu_make_command" != "x" ; then
3501 echo "$as_me:$LINENO: result: \"Not found\"" >&5
3502 echo "${ECHO_T}\"Not found\"" >&6;
3506 if test -z "$_cv_gnu_make_command"
3508 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
3509 echo "$as_me: error: GNU Make required but not found" >&2;}
3510 { (exit 1); exit 1; }; }
3514 echo "$as_me:$LINENO: checking " >&5
3515 echo $ECHO_N "checking ... $ECHO_C" >&6
3516 if test "${ac_cv_has_flex+set}" = set; then
3517 echo $ECHO_N "(cached) $ECHO_C" >&6
3519 for ac_prog in flex lex
3521 # Extract the first word of "$ac_prog", so it can be a program name with args.
3522 set dummy $ac_prog; ac_word=$2
3523 echo "$as_me:$LINENO: checking for $ac_word" >&5
3524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3525 if test "${ac_cv_prog_LEX+set}" = set; then
3526 echo $ECHO_N "(cached) $ECHO_C" >&6
3528 if test -n "$LEX"; then
3529 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3535 test -z "$as_dir" && as_dir=.
3536 for ac_exec_ext in '' $ac_executable_extensions; do
3537 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3538 ac_cv_prog_LEX="$ac_prog"
3539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3548 if test -n "$LEX"; then
3549 echo "$as_me:$LINENO: result: $LEX" >&5
3550 echo "${ECHO_T}$LEX" >&6
3552 echo "$as_me:$LINENO: result: no" >&5
3553 echo "${ECHO_T}no" >&6
3556 test -n "$LEX" && break
3558 test -n "$LEX" || LEX=":"
3560 if test -z "$LEXLIB"
3562 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3563 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3564 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3565 echo $ECHO_N "(cached) $ECHO_C" >&6
3567 ac_check_lib_save_LIBS=$LIBS
3569 cat >conftest.$ac_ext <<_ACEOF
3570 #line $LINENO "configure"
3573 cat confdefs.h >>conftest.$ac_ext
3574 cat >>conftest.$ac_ext <<_ACEOF
3575 /* end confdefs.h. */
3577 /* Override any gcc2 internal prototype to avoid an error. */
3581 /* We use char because int might match the return type of a gcc2
3582 builtin and then its argument prototype would still apply. */
3592 rm -f conftest.$ac_objext conftest$ac_exeext
3593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3594 (eval $ac_link) 2>&5
3596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597 (exit $ac_status); } &&
3598 { ac_try='test -s conftest$ac_exeext'
3599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3603 (exit $ac_status); }; }; then
3604 ac_cv_lib_fl_yywrap=yes
3606 echo "$as_me: failed program was:" >&5
3607 sed 's/^/| /' conftest.$ac_ext >&5
3609 ac_cv_lib_fl_yywrap=no
3611 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3612 LIBS=$ac_check_lib_save_LIBS
3614 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3615 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3616 if test $ac_cv_lib_fl_yywrap = yes; then
3619 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3620 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3621 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3622 echo $ECHO_N "(cached) $ECHO_C" >&6
3624 ac_check_lib_save_LIBS=$LIBS
3626 cat >conftest.$ac_ext <<_ACEOF
3627 #line $LINENO "configure"
3630 cat confdefs.h >>conftest.$ac_ext
3631 cat >>conftest.$ac_ext <<_ACEOF
3632 /* end confdefs.h. */
3634 /* Override any gcc2 internal prototype to avoid an error. */
3638 /* We use char because int might match the return type of a gcc2
3639 builtin and then its argument prototype would still apply. */
3649 rm -f conftest.$ac_objext conftest$ac_exeext
3650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3651 (eval $ac_link) 2>&5
3653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3654 (exit $ac_status); } &&
3655 { ac_try='test -s conftest$ac_exeext'
3656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3660 (exit $ac_status); }; }; then
3661 ac_cv_lib_l_yywrap=yes
3663 echo "$as_me: failed program was:" >&5
3664 sed 's/^/| /' conftest.$ac_ext >&5
3666 ac_cv_lib_l_yywrap=no
3668 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3669 LIBS=$ac_check_lib_save_LIBS
3671 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3672 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3673 if test $ac_cv_lib_l_yywrap = yes; then
3681 if test "x$LEX" != "x:"; then
3682 echo "$as_me:$LINENO: checking lex output file root" >&5
3683 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3684 if test "${ac_cv_prog_lex_root+set}" = set; then
3685 echo $ECHO_N "(cached) $ECHO_C" >&6
3687 # The minimal lex program is just a single line: %%. But some broken lexes
3688 # (Solaris, I think it was) want two %% lines, so accommodate them.
3689 cat >conftest.l <<_ACEOF
3693 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3694 (eval $LEX conftest.l) 2>&5
3696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3697 (exit $ac_status); }
3698 if test -f lex.yy.c; then
3699 ac_cv_prog_lex_root=lex.yy
3700 elif test -f lexyy.c; then
3701 ac_cv_prog_lex_root=lexyy
3703 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3704 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3705 { (exit 1); exit 1; }; }
3708 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3709 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3711 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3713 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3714 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3715 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3716 echo $ECHO_N "(cached) $ECHO_C" >&6
3718 # POSIX says lex can declare yytext either as a pointer or an array; the
3719 # default is implementation-dependent. Figure out which it is, since
3720 # not all implementations provide the %pointer and %array declarations.
3721 ac_cv_prog_lex_yytext_pointer=no
3722 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3724 LIBS="$LIBS $LEXLIB"
3725 cat >conftest.$ac_ext <<_ACEOF
3726 `cat $LEX_OUTPUT_ROOT.c`
3728 rm -f conftest.$ac_objext conftest$ac_exeext
3729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3730 (eval $ac_link) 2>&5
3732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3733 (exit $ac_status); } &&
3734 { ac_try='test -s conftest$ac_exeext'
3735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3739 (exit $ac_status); }; }; then
3740 ac_cv_prog_lex_yytext_pointer=yes
3742 echo "$as_me: failed program was:" >&5
3743 sed 's/^/| /' conftest.$ac_ext >&5
3746 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3748 rm -f "${LEX_OUTPUT_ROOT}.c"
3751 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3752 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3753 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3755 cat >>confdefs.h <<\_ACEOF
3756 #define YYTEXT_POINTER 1
3764 echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
3765 echo "${ECHO_T}$ac_cv_has_flex" >&6
3766 if test "$LEX" != "flex"; then
3767 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
3768 echo "$as_me: error: flex not found but required" >&2;}
3769 { (exit 1); exit 1; }; }
3772 echo "$as_me:$LINENO: checking " >&5
3773 echo $ECHO_N "checking ... $ECHO_C" >&6
3774 if test "${ac_cv_has_bison+set}" = set; then
3775 echo $ECHO_N "(cached) $ECHO_C" >&6
3777 for ac_prog in 'bison -y' byacc
3779 # Extract the first word of "$ac_prog", so it can be a program name with args.
3780 set dummy $ac_prog; ac_word=$2
3781 echo "$as_me:$LINENO: checking for $ac_word" >&5
3782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3783 if test "${ac_cv_prog_YACC+set}" = set; then
3784 echo $ECHO_N "(cached) $ECHO_C" >&6
3786 if test -n "$YACC"; then
3787 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3793 test -z "$as_dir" && as_dir=.
3794 for ac_exec_ext in '' $ac_executable_extensions; do
3795 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3796 ac_cv_prog_YACC="$ac_prog"
3797 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3805 YACC=$ac_cv_prog_YACC
3806 if test -n "$YACC"; then
3807 echo "$as_me:$LINENO: result: $YACC" >&5
3808 echo "${ECHO_T}$YACC" >&6
3810 echo "$as_me:$LINENO: result: no" >&5
3811 echo "${ECHO_T}no" >&6
3814 test -n "$YACC" && break
3816 test -n "$YACC" || YACC="yacc"
3820 echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5
3821 echo "${ECHO_T}$ac_cv_has_bison" >&6
3822 if test "$YACC" != "bison -y"; then
3823 { { echo "$as_me:$LINENO: error: bison not found but required" >&5
3824 echo "$as_me: error: bison not found but required" >&2;}
3825 { (exit 1); exit 1; }; }
3832 # Check whether --enable-shared or --disable-shared was given.
3833 if test "${enable_shared+set}" = set; then
3834 enableval="$enable_shared"
3835 p=${PACKAGE-default}
3837 yes) enable_shared=yes ;;
3838 no) enable_shared=no ;;
3841 # Look at the argument we got. We use all the common list separators.
3842 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3843 for pkg in $enableval; do
3845 if test "X$pkg" = "X$p"; then
3856 # Check whether --enable-static or --disable-static was given.
3857 if test "${enable_static+set}" = set; then
3858 enableval="$enable_static"
3859 p=${PACKAGE-default}
3861 yes) enable_static=yes ;;
3862 no) enable_static=no ;;
3865 # Look at the argument we got. We use all the common list separators.
3866 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3867 for pkg in $enableval; do
3869 if test "X$pkg" = "X$p"; then
3880 # Check whether --enable-fast-install or --disable-fast-install was given.
3881 if test "${enable_fast_install+set}" = set; then
3882 enableval="$enable_fast_install"
3883 p=${PACKAGE-default}
3885 yes) enable_fast_install=yes ;;
3886 no) enable_fast_install=no ;;
3888 enable_fast_install=no
3889 # Look at the argument we got. We use all the common list separators.
3890 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3891 for pkg in $enableval; do
3893 if test "X$pkg" = "X$p"; then
3894 enable_fast_install=yes
3901 enable_fast_install=yes
3904 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3905 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3906 if test "${lt_cv_path_SED+set}" = set; then
3907 echo $ECHO_N "(cached) $ECHO_C" >&6
3909 # Loop through the user's path and test for sed and gsed.
3910 # Then use that list of sed's as ones to test for truncation.
3911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3915 test -z "$as_dir" && as_dir=.
3916 for lt_ac_prog in sed gsed; do
3917 for ac_exec_ext in '' $ac_executable_extensions; do
3918 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3919 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3926 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3927 # along with /bin/sed that truncates output.
3928 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3929 test ! -f $lt_ac_sed && break
3930 cat /dev/null > conftest.in
3932 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3933 # Check for GNU sed and select it if it is found.
3934 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3935 lt_cv_path_SED=$lt_ac_sed
3939 cat conftest.in conftest.in >conftest.tmp
3940 mv conftest.tmp conftest.in
3941 cp conftest.in conftest.nl
3943 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3944 cmp -s conftest.out conftest.nl || break
3945 # 10000 chars as input seems more than enough
3946 test $lt_ac_count -gt 10 && break
3947 lt_ac_count=`expr $lt_ac_count + 1`
3948 if test $lt_ac_count -gt $lt_ac_max; then
3949 lt_ac_max=$lt_ac_count
3950 lt_cv_path_SED=$lt_ac_sed
3958 echo "$as_me:$LINENO: result: $SED" >&5
3959 echo "${ECHO_T}$SED" >&6
3961 echo "$as_me:$LINENO: checking for egrep" >&5
3962 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3963 if test "${ac_cv_prog_egrep+set}" = set; then
3964 echo $ECHO_N "(cached) $ECHO_C" >&6
3966 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3967 then ac_cv_prog_egrep='grep -E'
3968 else ac_cv_prog_egrep='egrep'
3971 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3972 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3973 EGREP=$ac_cv_prog_egrep
3977 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3978 if test "${with_gnu_ld+set}" = set; then
3979 withval="$with_gnu_ld"
3980 test "$withval" = no || with_gnu_ld=yes
3985 if test "$GCC" = yes; then
3986 # Check if gcc -print-prog-name=ld gives a path.
3987 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3988 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3991 # gcc leaves a trailing carriage return which upsets mingw
3992 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3994 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3997 # Accept absolute paths.
3999 re_direlt='/[^/][^/]*/\.\./'
4000 # Canonicalize the path of ld
4001 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4002 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4003 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4005 test -z "$LD" && LD="$ac_prog"
4008 # If it fails, then pretend we aren't using GCC.
4012 # If it is relative, then search for the first ld in PATH.
4016 elif test "$with_gnu_ld" = yes; then
4017 echo "$as_me:$LINENO: checking for GNU ld" >&5
4018 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4020 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4021 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4023 if test "${lt_cv_path_LD+set}" = set; then
4024 echo $ECHO_N "(cached) $ECHO_C" >&6
4026 if test -z "$LD"; then
4027 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4028 for ac_dir in $PATH; do
4030 test -z "$ac_dir" && ac_dir=.
4031 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4032 lt_cv_path_LD="$ac_dir/$ac_prog"
4033 # Check to see if the program is GNU ld. I'd rather use --version,
4034 # but apparently some GNU ld's only accept -v.
4035 # Break only if it was the GNU/non-GNU ld that we prefer.
4036 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4037 *GNU* | *'with BFD'*)
4038 test "$with_gnu_ld" != no && break
4041 test "$with_gnu_ld" != yes && break
4048 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4053 if test -n "$LD"; then
4054 echo "$as_me:$LINENO: result: $LD" >&5
4055 echo "${ECHO_T}$LD" >&6
4057 echo "$as_me:$LINENO: result: no" >&5
4058 echo "${ECHO_T}no" >&6
4060 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4061 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4062 { (exit 1); exit 1; }; }
4063 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4064 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4065 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4066 echo $ECHO_N "(cached) $ECHO_C" >&6
4068 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4069 case `"$LD" -v 2>&1 </dev/null` in
4070 *GNU* | *'with BFD'*)
4071 lt_cv_prog_gnu_ld=yes
4074 lt_cv_prog_gnu_ld=no
4078 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4079 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4080 with_gnu_ld=$lt_cv_prog_gnu_ld
4083 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4084 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4085 if test "${lt_cv_ld_reload_flag+set}" = set; then
4086 echo $ECHO_N "(cached) $ECHO_C" >&6
4088 lt_cv_ld_reload_flag='-r'
4090 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4091 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4092 reload_flag=$lt_cv_ld_reload_flag
4093 case $reload_flag in
4095 *) reload_flag=" $reload_flag" ;;
4097 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4099 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4100 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4101 if test "${lt_cv_path_NM+set}" = set; then
4102 echo $ECHO_N "(cached) $ECHO_C" >&6
4104 if test -n "$NM"; then
4105 # Let the user override the test.
4108 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4109 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4111 test -z "$ac_dir" && ac_dir=.
4112 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4113 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4114 # Check to see if the nm accepts a BSD-compat flag.
4115 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4116 # nm: unknown option "B" ignored
4117 # Tru64's nm complains that /dev/null is an invalid object file
4118 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4119 */dev/null* | *'Invalid file or object type'*)
4120 lt_cv_path_NM="$tmp_nm -B"
4124 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4126 lt_cv_path_NM="$tmp_nm -p"
4130 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4131 continue # so that we can try to find one that supports BSD flags
4138 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4141 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4142 echo "${ECHO_T}$lt_cv_path_NM" >&6
4145 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4146 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4148 if test "$LN_S" = "ln -s"; then
4149 echo "$as_me:$LINENO: result: yes" >&5
4150 echo "${ECHO_T}yes" >&6
4152 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4153 echo "${ECHO_T}no, using $LN_S" >&6
4156 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4157 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4158 if test "${lt_cv_deplibs_check_method+set}" = set; then
4159 echo $ECHO_N "(cached) $ECHO_C" >&6
4161 lt_cv_file_magic_cmd='$MAGIC_CMD'
4162 lt_cv_file_magic_test_file=
4163 lt_cv_deplibs_check_method='unknown'
4164 # Need to set the preceding variable on all platforms that support
4165 # interlibrary dependencies.
4166 # 'none' -- dependencies not supported.
4167 # `unknown' -- same as none, but documents that we really don't know.
4168 # 'pass_all' -- all dependencies passed with no checks.
4169 # 'test_compile' -- check by making test program.
4170 # 'file_magic [[regex]]' -- check by looking for files in library path
4171 # which responds to the $file_magic_cmd with a given extended regex.
4172 # If you have `file' or equivalent on your system and you're not sure
4173 # whether `pass_all' will *always* work, you probably want this one.
4177 lt_cv_deplibs_check_method=pass_all
4181 lt_cv_deplibs_check_method=pass_all
4185 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4186 lt_cv_file_magic_cmd='/usr/bin/file -L'
4187 lt_cv_file_magic_test_file=/shlib/libc.so
4190 cygwin* | mingw* | pw32*)
4191 # win32_libid is a shell function defined in ltmain.sh
4192 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4193 lt_cv_file_magic_cmd='win32_libid'
4196 darwin* | rhapsody*)
4197 # this will be overwritten by pass_all, but leave it in just in case
4198 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4199 lt_cv_file_magic_cmd='/usr/bin/file -L'
4201 rhapsody* | darwin1.[012])
4202 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4205 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4208 lt_cv_deplibs_check_method=pass_all
4212 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4215 # Not sure whether the presence of OpenBSD here was a mistake.
4216 # Let's accept both of them until this is cleared up.
4217 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4218 lt_cv_file_magic_cmd=/usr/bin/file
4219 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4223 lt_cv_deplibs_check_method=pass_all
4228 lt_cv_deplibs_check_method=pass_all
4231 hpux10.20* | hpux11*)
4232 lt_cv_file_magic_cmd=/usr/bin/file
4235 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4236 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4239 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]'
4240 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4243 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4244 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4249 irix5* | irix6* | nonstopux*)
4251 irix5* | nonstopux*)
4252 # this will be overridden with pass_all, but let us keep it just in case
4253 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4257 *-32|*"-32 ") libmagic=32-bit;;
4258 *-n32|*"-n32 ") libmagic=N32;;
4259 *-64|*"-64 ") libmagic=64-bit;;
4260 *) libmagic=never-match;;
4262 # this will be overridden with pass_all, but let us keep it just in case
4263 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4266 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4267 lt_cv_deplibs_check_method=pass_all
4270 # This must be Linux ELF.
4273 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
4274 lt_cv_deplibs_check_method=pass_all ;;
4276 # glibc up to 2.1.1 does not perform some relocations on ARM
4277 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4279 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4283 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4284 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4286 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4291 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4292 lt_cv_file_magic_cmd=/usr/bin/file
4293 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4297 lt_cv_deplibs_check_method=unknown
4301 lt_cv_file_magic_cmd=/usr/bin/file
4302 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4303 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4304 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4306 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4310 osf3* | osf4* | osf5*)
4311 # this will be overridden with pass_all, but let us keep it just in case
4312 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4313 lt_cv_file_magic_test_file=/shlib/libc.so
4314 lt_cv_deplibs_check_method=pass_all
4318 lt_cv_deplibs_check_method=pass_all
4322 lt_cv_deplibs_check_method=pass_all
4323 lt_cv_file_magic_test_file=/lib/libc.so
4326 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4327 case $host_vendor in
4329 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]'
4330 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4333 lt_cv_deplibs_check_method=pass_all
4336 lt_cv_file_magic_cmd='/bin/file'
4337 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4340 lt_cv_file_magic_cmd='/bin/file'
4341 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4342 lt_cv_file_magic_test_file=/lib/libc.so
4345 lt_cv_deplibs_check_method=pass_all
4350 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4351 lt_cv_deplibs_check_method=pass_all
4356 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4357 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4358 file_magic_cmd=$lt_cv_file_magic_cmd
4359 deplibs_check_method=$lt_cv_deplibs_check_method
4360 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4365 # If no C compiler was specified, use CC.
4368 # Allow CC to be a program name with arguments.
4371 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4372 if test "${enable_libtool_lock+set}" = set; then
4373 enableval="$enable_libtool_lock"
4376 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4378 # Some flags need to be propagated to the compiler or linker for good
4382 # Find out which ABI we are using.
4383 echo 'int i;' > conftest.$ac_ext
4384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4385 (eval $ac_compile) 2>&5
4387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4388 (exit $ac_status); }; then
4389 case `/usr/bin/file conftest.$ac_objext` in
4401 # Find out which ABI we are using.
4402 echo '#line 4402 "configure"' > conftest.$ac_ext
4403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4404 (eval $ac_compile) 2>&5
4406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4407 (exit $ac_status); }; then
4408 if test "$lt_cv_prog_gnu_ld" = yes; then
4409 case `/usr/bin/file conftest.$ac_objext` in
4411 LD="${LD-ld} -melf32bsmip"
4414 LD="${LD-ld} -melf32bmipn32"
4417 LD="${LD-ld} -melf64bmip"
4421 case `/usr/bin/file conftest.$ac_objext` in
4437 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4438 # Find out which ABI we are using.
4439 echo 'int i;' > conftest.$ac_ext
4440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4441 (eval $ac_compile) 2>&5
4443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4444 (exit $ac_status); }; then
4445 case "`/usr/bin/file conftest.o`" in
4449 LD="${LD-ld} -m elf_i386"
4452 LD="${LD-ld} -m elf32ppclinux"
4455 LD="${LD-ld} -m elf_s390"
4458 LD="${LD-ld} -m elf32_sparc"
4465 LD="${LD-ld} -m elf_x86_64"
4467 ppc*-*linux*|powerpc*-*linux*)
4468 LD="${LD-ld} -m elf64ppc"
4471 LD="${LD-ld} -m elf64_s390"
4474 LD="${LD-ld} -m elf64_sparc"
4484 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4485 SAVE_CFLAGS="$CFLAGS"
4486 CFLAGS="$CFLAGS -belf"
4487 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4488 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4489 if test "${lt_cv_cc_needs_belf+set}" = set; then
4490 echo $ECHO_N "(cached) $ECHO_C" >&6
4493 ac_cpp='$CPP $CPPFLAGS'
4494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4498 cat >conftest.$ac_ext <<_ACEOF
4499 #line $LINENO "configure"
4502 cat confdefs.h >>conftest.$ac_ext
4503 cat >>conftest.$ac_ext <<_ACEOF
4504 /* end confdefs.h. */
4514 rm -f conftest.$ac_objext conftest$ac_exeext
4515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4516 (eval $ac_link) 2>&5
4518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4519 (exit $ac_status); } &&
4520 { ac_try='test -s conftest$ac_exeext'
4521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525 (exit $ac_status); }; }; then
4526 lt_cv_cc_needs_belf=yes
4528 echo "$as_me: failed program was:" >&5
4529 sed 's/^/| /' conftest.$ac_ext >&5
4531 lt_cv_cc_needs_belf=no
4533 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4535 ac_cpp='$CPP $CPPFLAGS'
4536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4541 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4542 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4543 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4544 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4545 CFLAGS="$SAVE_CFLAGS"
4551 need_locks="$enable_libtool_lock"
4555 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4556 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4557 if test "${ac_cv_header_stdc+set}" = set; then
4558 echo $ECHO_N "(cached) $ECHO_C" >&6
4560 cat >conftest.$ac_ext <<_ACEOF
4561 #line $LINENO "configure"
4564 cat confdefs.h >>conftest.$ac_ext
4565 cat >>conftest.$ac_ext <<_ACEOF
4566 /* end confdefs.h. */
4580 rm -f conftest.$ac_objext
4581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4582 (eval $ac_compile) 2>&5
4584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4585 (exit $ac_status); } &&
4586 { ac_try='test -s conftest.$ac_objext'
4587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591 (exit $ac_status); }; }; then
4592 ac_cv_header_stdc=yes
4594 echo "$as_me: failed program was:" >&5
4595 sed 's/^/| /' conftest.$ac_ext >&5
4597 ac_cv_header_stdc=no
4599 rm -f conftest.$ac_objext conftest.$ac_ext
4601 if test $ac_cv_header_stdc = yes; then
4602 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4603 cat >conftest.$ac_ext <<_ACEOF
4604 #line $LINENO "configure"
4607 cat confdefs.h >>conftest.$ac_ext
4608 cat >>conftest.$ac_ext <<_ACEOF
4609 /* end confdefs.h. */
4613 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4614 $EGREP "memchr" >/dev/null 2>&1; then
4617 ac_cv_header_stdc=no
4623 if test $ac_cv_header_stdc = yes; then
4624 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4625 cat >conftest.$ac_ext <<_ACEOF
4626 #line $LINENO "configure"
4629 cat confdefs.h >>conftest.$ac_ext
4630 cat >>conftest.$ac_ext <<_ACEOF
4631 /* end confdefs.h. */
4635 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4636 $EGREP "free" >/dev/null 2>&1; then
4639 ac_cv_header_stdc=no
4645 if test $ac_cv_header_stdc = yes; then
4646 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4647 if test "$cross_compiling" = yes; then
4650 cat >conftest.$ac_ext <<_ACEOF
4651 #line $LINENO "configure"
4654 cat confdefs.h >>conftest.$ac_ext
4655 cat >>conftest.$ac_ext <<_ACEOF
4656 /* end confdefs.h. */
4658 #if ((' ' & 0x0FF) == 0x020)
4659 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4660 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4662 # define ISLOWER(c) \
4663 (('a' <= (c) && (c) <= 'i') \
4664 || ('j' <= (c) && (c) <= 'r') \
4665 || ('s' <= (c) && (c) <= 'z'))
4666 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4669 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4674 for (i = 0; i < 256; i++)
4675 if (XOR (islower (i), ISLOWER (i))
4676 || toupper (i) != TOUPPER (i))
4681 rm -f conftest$ac_exeext
4682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4683 (eval $ac_link) 2>&5
4685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4686 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4691 (exit $ac_status); }; }; then
4694 echo "$as_me: program exited with status $ac_status" >&5
4695 echo "$as_me: failed program was:" >&5
4696 sed 's/^/| /' conftest.$ac_ext >&5
4699 ac_cv_header_stdc=no
4701 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4705 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4706 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4707 if test $ac_cv_header_stdc = yes; then
4709 cat >>confdefs.h <<\_ACEOF
4710 #define STDC_HEADERS 1
4715 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4725 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4726 inttypes.h stdint.h unistd.h
4728 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4729 echo "$as_me:$LINENO: checking for $ac_header" >&5
4730 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4732 echo $ECHO_N "(cached) $ECHO_C" >&6
4734 cat >conftest.$ac_ext <<_ACEOF
4735 #line $LINENO "configure"
4738 cat confdefs.h >>conftest.$ac_ext
4739 cat >>conftest.$ac_ext <<_ACEOF
4740 /* end confdefs.h. */
4741 $ac_includes_default
4743 #include <$ac_header>
4745 rm -f conftest.$ac_objext
4746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4747 (eval $ac_compile) 2>&5
4749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750 (exit $ac_status); } &&
4751 { ac_try='test -s conftest.$ac_objext'
4752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4756 (exit $ac_status); }; }; then
4757 eval "$as_ac_Header=yes"
4759 echo "$as_me: failed program was:" >&5
4760 sed 's/^/| /' conftest.$ac_ext >&5
4762 eval "$as_ac_Header=no"
4764 rm -f conftest.$ac_objext conftest.$ac_ext
4766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4767 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4768 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4769 cat >>confdefs.h <<_ACEOF
4770 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4779 for ac_header in dlfcn.h
4781 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4783 echo "$as_me:$LINENO: checking for $ac_header" >&5
4784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4786 echo $ECHO_N "(cached) $ECHO_C" >&6
4788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4789 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4791 # Is the header compilable?
4792 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4793 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4794 cat >conftest.$ac_ext <<_ACEOF
4795 #line $LINENO "configure"
4798 cat confdefs.h >>conftest.$ac_ext
4799 cat >>conftest.$ac_ext <<_ACEOF
4800 /* end confdefs.h. */
4801 $ac_includes_default
4802 #include <$ac_header>
4804 rm -f conftest.$ac_objext
4805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4806 (eval $ac_compile) 2>&5
4808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4809 (exit $ac_status); } &&
4810 { ac_try='test -s conftest.$ac_objext'
4811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4815 (exit $ac_status); }; }; then
4816 ac_header_compiler=yes
4818 echo "$as_me: failed program was:" >&5
4819 sed 's/^/| /' conftest.$ac_ext >&5
4821 ac_header_compiler=no
4823 rm -f conftest.$ac_objext conftest.$ac_ext
4824 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4825 echo "${ECHO_T}$ac_header_compiler" >&6
4827 # Is the header present?
4828 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4829 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4830 cat >conftest.$ac_ext <<_ACEOF
4831 #line $LINENO "configure"
4834 cat confdefs.h >>conftest.$ac_ext
4835 cat >>conftest.$ac_ext <<_ACEOF
4836 /* end confdefs.h. */
4837 #include <$ac_header>
4839 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4840 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4842 grep -v '^ *+' conftest.er1 >conftest.err
4844 cat conftest.err >&5
4845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4846 (exit $ac_status); } >/dev/null; then
4847 if test -s conftest.err; then
4848 ac_cpp_err=$ac_c_preproc_warn_flag
4855 if test -z "$ac_cpp_err"; then
4856 ac_header_preproc=yes
4858 echo "$as_me: failed program was:" >&5
4859 sed 's/^/| /' conftest.$ac_ext >&5
4861 ac_header_preproc=no
4863 rm -f conftest.err conftest.$ac_ext
4864 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4865 echo "${ECHO_T}$ac_header_preproc" >&6
4867 # So? What about this header?
4868 case $ac_header_compiler:$ac_header_preproc in
4870 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4871 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4872 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4873 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4876 ## ------------------------------------ ##
4877 ## Report this to bug-autoconf@gnu.org. ##
4878 ## ------------------------------------ ##
4881 sed "s/^/$as_me: WARNING: /" >&2
4884 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4885 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4886 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4887 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4888 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4889 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4892 ## ------------------------------------ ##
4893 ## Report this to bug-autoconf@gnu.org. ##
4894 ## ------------------------------------ ##
4897 sed "s/^/$as_me: WARNING: /" >&2
4900 echo "$as_me:$LINENO: checking for $ac_header" >&5
4901 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4903 echo $ECHO_N "(cached) $ECHO_C" >&6
4905 eval "$as_ac_Header=$ac_header_preproc"
4907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4908 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4911 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4912 cat >>confdefs.h <<_ACEOF
4913 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4921 ac_cpp='$CXXCPP $CPPFLAGS'
4922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4925 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4926 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4927 if test -z "$CXXCPP"; then
4928 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4929 echo $ECHO_N "(cached) $ECHO_C" >&6
4931 # Double quotes because CXXCPP needs to be expanded
4932 for CXXCPP in "$CXX -E" "/lib/cpp"
4935 for ac_cxx_preproc_warn_flag in '' yes
4937 # Use a header file that comes with gcc, so configuring glibc
4938 # with a fresh cross-compiler works.
4939 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4940 # <limits.h> exists even on freestanding compilers.
4941 # On the NeXT, cc -E runs the code through the compiler's parser,
4942 # not just through cpp. "Syntax error" is here to catch this case.
4943 cat >conftest.$ac_ext <<_ACEOF
4944 #line $LINENO "configure"
4947 cat confdefs.h >>conftest.$ac_ext
4948 cat >>conftest.$ac_ext <<_ACEOF
4949 /* end confdefs.h. */
4951 # include <limits.h>
4953 # include <assert.h>
4957 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4958 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4960 grep -v '^ *+' conftest.er1 >conftest.err
4962 cat conftest.err >&5
4963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4964 (exit $ac_status); } >/dev/null; then
4965 if test -s conftest.err; then
4966 ac_cpp_err=$ac_cxx_preproc_warn_flag
4973 if test -z "$ac_cpp_err"; then
4976 echo "$as_me: failed program was:" >&5
4977 sed 's/^/| /' conftest.$ac_ext >&5
4979 # Broken: fails on valid input.
4982 rm -f conftest.err conftest.$ac_ext
4984 # OK, works on sane cases. Now check whether non-existent headers
4985 # can be detected and how.
4986 cat >conftest.$ac_ext <<_ACEOF
4987 #line $LINENO "configure"
4990 cat confdefs.h >>conftest.$ac_ext
4991 cat >>conftest.$ac_ext <<_ACEOF
4992 /* end confdefs.h. */
4993 #include <ac_nonexistent.h>
4995 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4996 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4998 grep -v '^ *+' conftest.er1 >conftest.err
5000 cat conftest.err >&5
5001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5002 (exit $ac_status); } >/dev/null; then
5003 if test -s conftest.err; then
5004 ac_cpp_err=$ac_cxx_preproc_warn_flag
5011 if test -z "$ac_cpp_err"; then
5012 # Broken: success on invalid input.
5015 echo "$as_me: failed program was:" >&5
5016 sed 's/^/| /' conftest.$ac_ext >&5
5018 # Passes both tests.
5022 rm -f conftest.err conftest.$ac_ext
5025 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5026 rm -f conftest.err conftest.$ac_ext
5027 if $ac_preproc_ok; then
5032 ac_cv_prog_CXXCPP=$CXXCPP
5035 CXXCPP=$ac_cv_prog_CXXCPP
5037 ac_cv_prog_CXXCPP=$CXXCPP
5039 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5040 echo "${ECHO_T}$CXXCPP" >&6
5042 for ac_cxx_preproc_warn_flag in '' yes
5044 # Use a header file that comes with gcc, so configuring glibc
5045 # with a fresh cross-compiler works.
5046 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5047 # <limits.h> exists even on freestanding compilers.
5048 # On the NeXT, cc -E runs the code through the compiler's parser,
5049 # not just through cpp. "Syntax error" is here to catch this case.
5050 cat >conftest.$ac_ext <<_ACEOF
5051 #line $LINENO "configure"
5054 cat confdefs.h >>conftest.$ac_ext
5055 cat >>conftest.$ac_ext <<_ACEOF
5056 /* end confdefs.h. */
5058 # include <limits.h>
5060 # include <assert.h>
5064 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5065 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5067 grep -v '^ *+' conftest.er1 >conftest.err
5069 cat conftest.err >&5
5070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5071 (exit $ac_status); } >/dev/null; then
5072 if test -s conftest.err; then
5073 ac_cpp_err=$ac_cxx_preproc_warn_flag
5080 if test -z "$ac_cpp_err"; then
5083 echo "$as_me: failed program was:" >&5
5084 sed 's/^/| /' conftest.$ac_ext >&5
5086 # Broken: fails on valid input.
5089 rm -f conftest.err conftest.$ac_ext
5091 # OK, works on sane cases. Now check whether non-existent headers
5092 # can be detected and how.
5093 cat >conftest.$ac_ext <<_ACEOF
5094 #line $LINENO "configure"
5097 cat confdefs.h >>conftest.$ac_ext
5098 cat >>conftest.$ac_ext <<_ACEOF
5099 /* end confdefs.h. */
5100 #include <ac_nonexistent.h>
5102 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5103 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5105 grep -v '^ *+' conftest.er1 >conftest.err
5107 cat conftest.err >&5
5108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109 (exit $ac_status); } >/dev/null; then
5110 if test -s conftest.err; then
5111 ac_cpp_err=$ac_cxx_preproc_warn_flag
5118 if test -z "$ac_cpp_err"; then
5119 # Broken: success on invalid input.
5122 echo "$as_me: failed program was:" >&5
5123 sed 's/^/| /' conftest.$ac_ext >&5
5125 # Passes both tests.
5129 rm -f conftest.err conftest.$ac_ext
5132 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5133 rm -f conftest.err conftest.$ac_ext
5134 if $ac_preproc_ok; then
5137 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5138 See \`config.log' for more details." >&5
5139 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5140 See \`config.log' for more details." >&2;}
5141 { (exit 1); exit 1; }; }
5145 ac_cpp='$CXXCPP $CPPFLAGS'
5146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5152 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5153 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5154 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5155 if test -n "$ac_tool_prefix"; then
5156 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5158 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5159 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5160 echo "$as_me:$LINENO: checking for $ac_word" >&5
5161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5162 if test "${ac_cv_prog_F77+set}" = set; then
5163 echo $ECHO_N "(cached) $ECHO_C" >&6
5165 if test -n "$F77"; then
5166 ac_cv_prog_F77="$F77" # Let the user override the test.
5168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5172 test -z "$as_dir" && as_dir=.
5173 for ac_exec_ext in '' $ac_executable_extensions; do
5174 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5175 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5185 if test -n "$F77"; then
5186 echo "$as_me:$LINENO: result: $F77" >&5
5187 echo "${ECHO_T}$F77" >&6
5189 echo "$as_me:$LINENO: result: no" >&5
5190 echo "${ECHO_T}no" >&6
5193 test -n "$F77" && break
5196 if test -z "$F77"; then
5198 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5200 # Extract the first word of "$ac_prog", so it can be a program name with args.
5201 set dummy $ac_prog; ac_word=$2
5202 echo "$as_me:$LINENO: checking for $ac_word" >&5
5203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5204 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5205 echo $ECHO_N "(cached) $ECHO_C" >&6
5207 if test -n "$ac_ct_F77"; then
5208 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5214 test -z "$as_dir" && as_dir=.
5215 for ac_exec_ext in '' $ac_executable_extensions; do
5216 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5217 ac_cv_prog_ac_ct_F77="$ac_prog"
5218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5226 ac_ct_F77=$ac_cv_prog_ac_ct_F77
5227 if test -n "$ac_ct_F77"; then
5228 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5229 echo "${ECHO_T}$ac_ct_F77" >&6
5231 echo "$as_me:$LINENO: result: no" >&5
5232 echo "${ECHO_T}no" >&6
5235 test -n "$ac_ct_F77" && break
5242 # Provide some information about the compiler.
5243 echo "$as_me:5243:" \
5244 "checking for Fortran 77 compiler version" >&5
5245 ac_compiler=`set X $ac_compile; echo $2`
5246 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5247 (eval $ac_compiler --version </dev/null >&5) 2>&5
5249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5250 (exit $ac_status); }
5251 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5252 (eval $ac_compiler -v </dev/null >&5) 2>&5
5254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5255 (exit $ac_status); }
5256 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5257 (eval $ac_compiler -V </dev/null >&5) 2>&5
5259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5260 (exit $ac_status); }
5262 # If we don't use `.F' as extension, the preprocessor is not run on the
5266 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5267 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5268 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5269 echo $ECHO_N "(cached) $ECHO_C" >&6
5271 cat >conftest.$ac_ext <<_ACEOF
5279 rm -f conftest.$ac_objext
5280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5281 (eval $ac_compile) 2>&5
5283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5284 (exit $ac_status); } &&
5285 { ac_try='test -s conftest.$ac_objext'
5286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5290 (exit $ac_status); }; }; then
5293 echo "$as_me: failed program was:" >&5
5294 sed 's/^/| /' conftest.$ac_ext >&5
5298 rm -f conftest.$ac_objext conftest.$ac_ext
5299 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5302 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5303 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5305 G77=`test $ac_compiler_gnu = yes && echo yes`
5306 ac_test_FFLAGS=${FFLAGS+set}
5307 ac_save_FFLAGS=$FFLAGS
5309 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5310 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5311 if test "${ac_cv_prog_f77_g+set}" = set; then
5312 echo $ECHO_N "(cached) $ECHO_C" >&6
5315 cat >conftest.$ac_ext <<_ACEOF
5320 rm -f conftest.$ac_objext
5321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5322 (eval $ac_compile) 2>&5
5324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5325 (exit $ac_status); } &&
5326 { ac_try='test -s conftest.$ac_objext'
5327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5331 (exit $ac_status); }; }; then
5332 ac_cv_prog_f77_g=yes
5334 echo "$as_me: failed program was:" >&5
5335 sed 's/^/| /' conftest.$ac_ext >&5
5339 rm -f conftest.$ac_objext conftest.$ac_ext
5342 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5343 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5344 if test "$ac_test_FFLAGS" = set; then
5345 FFLAGS=$ac_save_FFLAGS
5346 elif test $ac_cv_prog_f77_g = yes; then
5347 if test "$G77" = yes; then
5353 if test "$G77" = yes; then
5360 ac_cpp='$CPP $CPPFLAGS'
5361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5367 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5369 # find the maximum length of command line arguments
5370 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5371 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5372 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5373 echo $ECHO_N "(cached) $ECHO_C" >&6
5380 # On DJGPP, this test can blow up pretty badly due to problems in libc
5381 # (any single argument exceeding 2000 bytes causes a buffer overrun
5382 # during glob expansion). Even if it were fixed, the result of this
5383 # check would be larger than it should be.
5384 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5388 # Under GNU Hurd, this test is not required because there is
5389 # no limit to the length of command line arguments.
5390 # Libtool will interpret -1 as no limit whatsoever
5391 lt_cv_sys_max_cmd_len=-1;
5395 # On Win9x/ME, this test blows up -- it succeeds, but takes
5396 # about 5 minutes as the teststring grows exponentially.
5397 # Worse, since 9x/ME are not pre-emptively multitasking,
5398 # you end up with a "frozen" computer, even though with patience
5399 # the test eventually succeeds (with a max line length of 256k).
5400 # Instead, let's just punt: use the minimum linelength reported by
5401 # all of the supported platforms: 8192 (on NT/2K/XP).
5402 lt_cv_sys_max_cmd_len=8192;
5406 # If test is not a shell built-in, we'll probably end up computing a
5407 # maximum length that is only half of the actual maximum length, but
5409 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5410 = "XX$testring") >/dev/null 2>&1 &&
5411 new_result=`expr "X$testring" : ".*" 2>&1` &&
5412 lt_cv_sys_max_cmd_len=$new_result &&
5413 test $i != 17 # 1/2 MB should be enough
5416 testring=$testring$testring
5419 # Add a significant safety factor because C++ compilers can tack on massive
5420 # amounts of additional arguments before passing them to the linker.
5421 # It appears as though 1/2 is a usable value.
5422 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5428 if test -n $lt_cv_sys_max_cmd_len ; then
5429 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5430 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5432 echo "$as_me:$LINENO: result: none" >&5
5433 echo "${ECHO_T}none" >&6
5439 # Check for command to grab the raw symbol name followed by C symbol from nm.
5440 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5441 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5442 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5443 echo $ECHO_N "(cached) $ECHO_C" >&6
5446 # These are sane defaults that work on at least a few old systems.
5447 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5449 # Character class describing NM global symbol codes.
5450 symcode='[BCDEGRST]'
5452 # Regexp to match symbols that can be accessed directly from C.
5453 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5455 # Transform the above into a raw symbol and a C symbol.
5456 symxfrm='\1 \2\3 \3'
5458 # Transform an extracted symbol line into a proper C declaration
5459 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5461 # Transform an extracted symbol line into symbol name and symbol address
5462 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'"
5464 # Define system-specific variables.
5469 cygwin* | mingw* | pw32*)
5470 symcode='[ABCDGISTW]'
5472 hpux*) # Its linker distinguishes data from code symbols
5473 if test "$host_cpu" = ia64; then
5474 symcode='[ABCDEGRST]'
5476 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
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'"
5480 symcode='[BCDEGRST]'
5483 symcode='[BCDEGQRST]'
5493 # Handle CRLF in mingw tool chain
5497 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5501 # If we're using GNU nm, then use its standard symbol codes.
5502 case `$NM -V 2>&1` in
5503 *GNU* | *'with BFD'*)
5504 symcode='[ABCDGISTW]' ;;
5507 # Try without a prefix undercore, then with it.
5508 for ac_symprfx in "" "_"; do
5510 # Write the raw and C identifiers.
5511 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5513 # Check to see that the pipe works correctly.
5517 cat > conftest.$ac_ext <<EOF
5522 void nm_test_func(){}
5526 int main(){nm_test_var='a';nm_test_func();return(0);}
5529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5530 (eval $ac_compile) 2>&5
5532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5533 (exit $ac_status); }; then
5534 # Now try to grab the symbols.
5536 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5537 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5540 (exit $ac_status); } && test -s "$nlist"; then
5541 # Try sorting and uniquifying the output.
5542 if sort "$nlist" | uniq > "$nlist"T; then
5543 mv -f "$nlist"T "$nlist"
5548 # Make sure that we snagged all the symbols we need.
5549 if grep ' nm_test_var$' "$nlist" >/dev/null; then
5550 if grep ' nm_test_func$' "$nlist" >/dev/null; then
5551 cat <<EOF > conftest.$ac_ext
5557 # Now generate the symbol file.
5558 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5560 cat <<EOF >> conftest.$ac_ext
5561 #if defined (__STDC__) && __STDC__
5562 # define lt_ptr_t void *
5564 # define lt_ptr_t char *
5568 /* The mapping between symbol names and symbols. */
5573 lt_preloaded_symbols[] =
5576 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5577 cat <<\EOF >> conftest.$ac_ext
5585 # Now try linking the two files.
5586 mv conftest.$ac_objext conftstm.$ac_objext
5587 lt_save_LIBS="$LIBS"
5588 lt_save_CFLAGS="$CFLAGS"
5589 LIBS="conftstm.$ac_objext"
5590 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5592 (eval $ac_link) 2>&5
5594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5595 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5598 LIBS="$lt_save_LIBS"
5599 CFLAGS="$lt_save_CFLAGS"
5601 echo "cannot find nm_test_func in $nlist" >&5
5604 echo "cannot find nm_test_var in $nlist" >&5
5607 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5610 echo "$progname: failed program was:" >&5
5611 cat conftest.$ac_ext >&5
5613 rm -f conftest* conftst*
5615 # Do not use the global_symbol_pipe unless it works.
5616 if test "$pipe_works" = yes; then
5619 lt_cv_sys_global_symbol_pipe=
5625 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5626 lt_cv_sys_global_symbol_to_cdecl=
5628 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5629 echo "$as_me:$LINENO: result: failed" >&5
5630 echo "${ECHO_T}failed" >&6
5632 echo "$as_me:$LINENO: result: ok" >&5
5633 echo "${ECHO_T}ok" >&6
5636 echo "$as_me:$LINENO: checking for objdir" >&5
5637 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5638 if test "${lt_cv_objdir+set}" = set; then
5639 echo $ECHO_N "(cached) $ECHO_C" >&6
5641 rm -f .libs 2>/dev/null
5642 mkdir .libs 2>/dev/null
5643 if test -d .libs; then
5646 # MS-DOS does not allow filenames that begin with a dot.
5649 rmdir .libs 2>/dev/null
5651 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5652 echo "${ECHO_T}$lt_cv_objdir" >&6
5653 objdir=$lt_cv_objdir
5661 # AIX sometimes has problems with the GCC collect2 program. For some
5662 # reason, if we set the COLLECT_NAMES environment variable, the problems
5663 # vanish in a puff of smoke.
5664 if test "X${COLLECT_NAMES+set}" != Xset; then
5666 export COLLECT_NAMES
5671 # Sed substitution that helps us do robust quoting. It backslashifies
5672 # metacharacters that are still active within double-quoted strings.
5673 Xsed='sed -e s/^X//'
5674 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5676 # Same as above, but do not quote variable references.
5677 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5679 # Sed substitution to delay expansion of an escaped shell variable in a
5680 # double_quote_subst'ed string.
5681 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5683 # Sed substitution to avoid accidental globbing in evaled expressions
5684 no_glob_subst='s/\*/\\\*/g'
5691 can_build_shared=yes
5693 # All known linkers require a `.a' archive for static linking (except M$VC,
5694 # which needs '.lib').
5696 ltmain="$ac_aux_dir/ltmain.sh"
5697 ofile="$default_ofile"
5698 with_gnu_ld="$lt_cv_prog_gnu_ld"
5700 if test -n "$ac_tool_prefix"; then
5701 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5702 set dummy ${ac_tool_prefix}ar; ac_word=$2
5703 echo "$as_me:$LINENO: checking for $ac_word" >&5
5704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5705 if test "${ac_cv_prog_AR+set}" = set; then
5706 echo $ECHO_N "(cached) $ECHO_C" >&6
5708 if test -n "$AR"; then
5709 ac_cv_prog_AR="$AR" # Let the user override the test.
5711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5715 test -z "$as_dir" && as_dir=.
5716 for ac_exec_ext in '' $ac_executable_extensions; do
5717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5718 ac_cv_prog_AR="${ac_tool_prefix}ar"
5719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5728 if test -n "$AR"; then
5729 echo "$as_me:$LINENO: result: $AR" >&5
5730 echo "${ECHO_T}$AR" >&6
5732 echo "$as_me:$LINENO: result: no" >&5
5733 echo "${ECHO_T}no" >&6
5737 if test -z "$ac_cv_prog_AR"; then
5739 # Extract the first word of "ar", so it can be a program name with args.
5740 set dummy ar; ac_word=$2
5741 echo "$as_me:$LINENO: checking for $ac_word" >&5
5742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5743 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5744 echo $ECHO_N "(cached) $ECHO_C" >&6
5746 if test -n "$ac_ct_AR"; then
5747 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5753 test -z "$as_dir" && as_dir=.
5754 for ac_exec_ext in '' $ac_executable_extensions; do
5755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5756 ac_cv_prog_ac_ct_AR="ar"
5757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5763 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5766 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5767 if test -n "$ac_ct_AR"; then
5768 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5769 echo "${ECHO_T}$ac_ct_AR" >&6
5771 echo "$as_me:$LINENO: result: no" >&5
5772 echo "${ECHO_T}no" >&6
5780 if test -n "$ac_tool_prefix"; then
5781 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5782 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5783 echo "$as_me:$LINENO: checking for $ac_word" >&5
5784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5785 if test "${ac_cv_prog_RANLIB+set}" = set; then
5786 echo $ECHO_N "(cached) $ECHO_C" >&6
5788 if test -n "$RANLIB"; then
5789 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5795 test -z "$as_dir" && as_dir=.
5796 for ac_exec_ext in '' $ac_executable_extensions; do
5797 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5798 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5807 RANLIB=$ac_cv_prog_RANLIB
5808 if test -n "$RANLIB"; then
5809 echo "$as_me:$LINENO: result: $RANLIB" >&5
5810 echo "${ECHO_T}$RANLIB" >&6
5812 echo "$as_me:$LINENO: result: no" >&5
5813 echo "${ECHO_T}no" >&6
5817 if test -z "$ac_cv_prog_RANLIB"; then
5818 ac_ct_RANLIB=$RANLIB
5819 # Extract the first word of "ranlib", so it can be a program name with args.
5820 set dummy ranlib; ac_word=$2
5821 echo "$as_me:$LINENO: checking for $ac_word" >&5
5822 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5823 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5824 echo $ECHO_N "(cached) $ECHO_C" >&6
5826 if test -n "$ac_ct_RANLIB"; then
5827 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5833 test -z "$as_dir" && as_dir=.
5834 for ac_exec_ext in '' $ac_executable_extensions; do
5835 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5836 ac_cv_prog_ac_ct_RANLIB="ranlib"
5837 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5843 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5846 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5847 if test -n "$ac_ct_RANLIB"; then
5848 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5849 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5851 echo "$as_me:$LINENO: result: no" >&5
5852 echo "${ECHO_T}no" >&6
5855 RANLIB=$ac_ct_RANLIB
5857 RANLIB="$ac_cv_prog_RANLIB"
5860 if test -n "$ac_tool_prefix"; then
5861 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5862 set dummy ${ac_tool_prefix}strip; ac_word=$2
5863 echo "$as_me:$LINENO: checking for $ac_word" >&5
5864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5865 if test "${ac_cv_prog_STRIP+set}" = set; then
5866 echo $ECHO_N "(cached) $ECHO_C" >&6
5868 if test -n "$STRIP"; then
5869 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5875 test -z "$as_dir" && as_dir=.
5876 for ac_exec_ext in '' $ac_executable_extensions; do
5877 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5878 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5879 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5887 STRIP=$ac_cv_prog_STRIP
5888 if test -n "$STRIP"; then
5889 echo "$as_me:$LINENO: result: $STRIP" >&5
5890 echo "${ECHO_T}$STRIP" >&6
5892 echo "$as_me:$LINENO: result: no" >&5
5893 echo "${ECHO_T}no" >&6
5897 if test -z "$ac_cv_prog_STRIP"; then
5899 # Extract the first word of "strip", so it can be a program name with args.
5900 set dummy strip; ac_word=$2
5901 echo "$as_me:$LINENO: checking for $ac_word" >&5
5902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5903 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5904 echo $ECHO_N "(cached) $ECHO_C" >&6
5906 if test -n "$ac_ct_STRIP"; then
5907 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5913 test -z "$as_dir" && as_dir=.
5914 for ac_exec_ext in '' $ac_executable_extensions; do
5915 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5916 ac_cv_prog_ac_ct_STRIP="strip"
5917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5923 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5926 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5927 if test -n "$ac_ct_STRIP"; then
5928 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5929 echo "${ECHO_T}$ac_ct_STRIP" >&6
5931 echo "$as_me:$LINENO: result: no" >&5
5932 echo "${ECHO_T}no" >&6
5937 STRIP="$ac_cv_prog_STRIP"
5942 old_CFLAGS="$CFLAGS"
5944 # Set sane defaults for various variables
5945 test -z "$AR" && AR=ar
5946 test -z "$AR_FLAGS" && AR_FLAGS=cru
5947 test -z "$AS" && AS=as
5948 test -z "$CC" && CC=cc
5949 test -z "$LTCC" && LTCC=$CC
5950 test -z "$DLLTOOL" && DLLTOOL=dlltool
5951 test -z "$LD" && LD=ld
5952 test -z "$LN_S" && LN_S="ln -s"
5953 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5954 test -z "$NM" && NM=nm
5955 test -z "$SED" && SED=sed
5956 test -z "$OBJDUMP" && OBJDUMP=objdump
5957 test -z "$RANLIB" && RANLIB=:
5958 test -z "$STRIP" && STRIP=:
5959 test -z "$ac_objext" && ac_objext=o
5961 # Determine commands to create old-style static archives.
5962 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5963 old_postinstall_cmds='chmod 644 $oldlib'
5964 old_postuninstall_cmds=
5966 if test -n "$RANLIB"; then
5969 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5972 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
5975 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5978 # Only perform the check for file, if the check method requires it
5979 case $deplibs_check_method in
5981 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5982 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5983 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5984 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5985 echo $ECHO_N "(cached) $ECHO_C" >&6
5989 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5992 lt_save_MAGIC_CMD="$MAGIC_CMD"
5993 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5994 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
5995 for ac_dir in $ac_dummy; do
5997 test -z "$ac_dir" && ac_dir=.
5998 if test -f $ac_dir/${ac_tool_prefix}file; then
5999 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6000 if test -n "$file_magic_test_file"; then
6001 case $deplibs_check_method in
6003 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6004 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6005 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6006 $EGREP "$file_magic_regex" > /dev/null; then
6011 *** Warning: the command libtool uses to detect shared libraries,
6012 *** $file_magic_cmd, produces output that libtool cannot recognize.
6013 *** The result is that libtool may fail to recognize shared libraries
6014 *** as such. This will affect the creation of libtool libraries that
6015 *** depend on shared libraries, but programs linked with such libtool
6016 *** libraries will work regardless of this problem. Nevertheless, you
6017 *** may want to report the problem to your system manager and/or to
6018 *** bug-libtool@gnu.org
6028 MAGIC_CMD="$lt_save_MAGIC_CMD"
6033 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6034 if test -n "$MAGIC_CMD"; then
6035 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6036 echo "${ECHO_T}$MAGIC_CMD" >&6
6038 echo "$as_me:$LINENO: result: no" >&5
6039 echo "${ECHO_T}no" >&6
6042 if test -z "$lt_cv_path_MAGIC_CMD"; then
6043 if test -n "$ac_tool_prefix"; then
6044 echo "$as_me:$LINENO: checking for file" >&5
6045 echo $ECHO_N "checking for file... $ECHO_C" >&6
6046 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6047 echo $ECHO_N "(cached) $ECHO_C" >&6
6051 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6054 lt_save_MAGIC_CMD="$MAGIC_CMD"
6055 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6056 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6057 for ac_dir in $ac_dummy; do
6059 test -z "$ac_dir" && ac_dir=.
6060 if test -f $ac_dir/file; then
6061 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6062 if test -n "$file_magic_test_file"; then
6063 case $deplibs_check_method in
6065 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6066 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6067 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6068 $EGREP "$file_magic_regex" > /dev/null; then
6073 *** Warning: the command libtool uses to detect shared libraries,
6074 *** $file_magic_cmd, produces output that libtool cannot recognize.
6075 *** The result is that libtool may fail to recognize shared libraries
6076 *** as such. This will affect the creation of libtool libraries that
6077 *** depend on shared libraries, but programs linked with such libtool
6078 *** libraries will work regardless of this problem. Nevertheless, you
6079 *** may want to report the problem to your system manager and/or to
6080 *** bug-libtool@gnu.org
6090 MAGIC_CMD="$lt_save_MAGIC_CMD"
6095 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6096 if test -n "$MAGIC_CMD"; then
6097 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6098 echo "${ECHO_T}$MAGIC_CMD" >&6
6100 echo "$as_me:$LINENO: result: no" >&5
6101 echo "${ECHO_T}no" >&6
6116 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6117 if test "${enable_libtool_lock+set}" = set; then
6118 enableval="$enable_libtool_lock"
6121 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6124 # Check whether --with-pic or --without-pic was given.
6125 if test "${with_pic+set}" = set; then
6131 test -z "$pic_mode" && pic_mode=default
6133 # Use C for the default configuration in the libtool script
6137 ac_cpp='$CPP $CPPFLAGS'
6138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6143 # Source file extension for C test sources.
6146 # Object file extension for compiled C test sources.
6150 # Code to be used in simple compile tests
6151 lt_simple_compile_test_code="int some_variable = 0;\n"
6153 # Code to be used in simple link tests
6154 lt_simple_link_test_code='int main(){return(0);}\n'
6157 # If no C compiler was specified, use CC.
6160 # Allow CC to be a program name with arguments.
6165 # Check for any special shared library compilation flags.
6168 if test "$GCC" = no; then
6171 lt_prog_cc_shlib='-belf'
6175 if test -n "$lt_prog_cc_shlib"; then
6176 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6177 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6178 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
6180 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6181 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6182 lt_cv_prog_cc_can_build_shared=no
6188 # Check to make sure the static flag actually works.
6190 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6191 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6192 if test "${lt_prog_compiler_static_works+set}" = set; then
6193 echo $ECHO_N "(cached) $ECHO_C" >&6
6195 lt_prog_compiler_static_works=no
6196 save_LDFLAGS="$LDFLAGS"
6197 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6198 printf "$lt_simple_link_test_code" > conftest.$ac_ext
6199 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6200 # The compiler can only warn and ignore the option if not recognized
6201 # So say no if there are warnings
6202 if test -s conftest.err; then
6203 # Append any errors to the config.log.
6204 cat conftest.err 1>&5
6206 lt_prog_compiler_static_works=yes
6210 LDFLAGS="$save_LDFLAGS"
6213 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6214 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6216 if test x"$lt_prog_compiler_static_works" = xyes; then
6219 lt_prog_compiler_static=
6225 ## There is no encapsulation within the following macros, do not change
6226 ## the running order or otherwise move them around unless you know exactly
6227 ## what you are doing...
6229 lt_prog_compiler_no_builtin_flag=
6231 if test "$GCC" = yes; then
6232 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6234 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6235 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6236 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6237 echo $ECHO_N "(cached) $ECHO_C" >&6
6239 lt_cv_prog_compiler_rtti_exceptions=no
6240 ac_outfile=conftest.$ac_objext
6241 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6242 lt_compiler_flag="-fno-rtti -fno-exceptions"
6243 # Insert the option either (1) after the last *FLAGS variable, or
6244 # (2) before a word containing "conftest.", or (3) at the end.
6245 # Note that $ac_compile itself does not contain backslashes and begins
6246 # with a dollar sign (not a hyphen), so the echo should work correctly.
6247 # The option is referenced via a variable to avoid confusing sed.
6248 lt_compile=`echo "$ac_compile" | $SED \
6249 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6250 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6251 -e 's:$: $lt_compiler_flag:'`
6252 (eval echo "\"\$as_me:6252: $lt_compile\"" >&5)
6253 (eval "$lt_compile" 2>conftest.err)
6255 cat conftest.err >&5
6256 echo "$as_me:6256: \$? = $ac_status" >&5
6257 if (exit $ac_status) && test -s "$ac_outfile"; then
6258 # The compiler can only warn and ignore the option if not recognized
6259 # So say no if there are warnings
6260 if test ! -s conftest.err; then
6261 lt_cv_prog_compiler_rtti_exceptions=yes
6267 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6268 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6270 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6271 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6278 lt_prog_compiler_wl=
6279 lt_prog_compiler_pic=
6280 lt_prog_compiler_static=
6282 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6283 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6285 if test "$GCC" = yes; then
6286 lt_prog_compiler_wl='-Wl,'
6287 lt_prog_compiler_static='-static'
6291 # All AIX code is PIC.
6292 if test "$host_cpu" = ia64; then
6293 # AIX 5 now supports IA64 processor
6294 lt_prog_compiler_static='-Bstatic'
6299 # FIXME: we need at least 68020 code to build shared libraries, but
6300 # adding the `-m68020' flag to GCC prevents building anything better,
6302 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6305 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6306 # PIC is the default for these OSes.
6309 mingw* | pw32* | os2*)
6310 # This hack is so that the source file can tell whether it is being
6311 # built for inclusion in a dll (and should export symbols for example).
6312 lt_prog_compiler_pic='-DDLL_EXPORT'
6315 darwin* | rhapsody*)
6316 # PIC is the default on this platform
6317 # Common symbols not allowed in MH_DYLIB files
6318 lt_prog_compiler_pic='-fno-common'
6322 # Just because we use GCC doesn't mean we suddenly get shared libraries
6323 # on systems that don't support them.
6324 lt_prog_compiler_can_build_shared=no
6329 if test -d /usr/nec; then
6330 lt_prog_compiler_pic=-Kconform_pic
6335 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6342 lt_prog_compiler_pic='-fPIC'
6348 lt_prog_compiler_pic='-fPIC'
6352 # PORTME Check for flag to pass linker flags through the system compiler.
6355 lt_prog_compiler_wl='-Wl,'
6356 if test "$host_cpu" = ia64; then
6357 # AIX 5 now supports IA64 processor
6358 lt_prog_compiler_static='-Bstatic'
6360 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6364 mingw* | pw32* | os2*)
6365 # This hack is so that the source file can tell whether it is being
6366 # built for inclusion in a dll (and should export symbols for example).
6367 lt_prog_compiler_pic='-DDLL_EXPORT'
6370 hpux9* | hpux10* | hpux11*)
6371 lt_prog_compiler_wl='-Wl,'
6372 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6379 lt_prog_compiler_pic='+Z'
6382 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6383 lt_prog_compiler_static='${wl}-a ${wl}archive'
6386 irix5* | irix6* | nonstopux*)
6387 lt_prog_compiler_wl='-Wl,'
6388 # PIC (with -KPIC) is the default.
6389 lt_prog_compiler_static='-non_shared'
6393 lt_prog_compiler_pic='-KPIC'
6394 lt_prog_compiler_static='-Bstatic'
6400 lt_prog_compiler_wl='-Wl,'
6401 lt_prog_compiler_pic='-KPIC'
6402 lt_prog_compiler_static='-static'
6405 lt_prog_compiler_wl='-Wl,'
6406 # All Alpha code is PIC.
6407 lt_prog_compiler_static='-non_shared'
6412 osf3* | osf4* | osf5*)
6413 lt_prog_compiler_wl='-Wl,'
6414 # All OSF/1 code is PIC.
6415 lt_prog_compiler_static='-non_shared'
6419 lt_prog_compiler_pic='-Kpic'
6420 lt_prog_compiler_static='-dn'
6424 lt_prog_compiler_wl='-Wl,'
6425 lt_prog_compiler_pic='-KPIC'
6426 lt_prog_compiler_static='-Bstatic'
6430 lt_prog_compiler_wl='-Qoption ld '
6431 lt_prog_compiler_pic='-PIC'
6432 lt_prog_compiler_static='-Bstatic'
6435 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6436 lt_prog_compiler_wl='-Wl,'
6437 lt_prog_compiler_pic='-KPIC'
6438 lt_prog_compiler_static='-Bstatic'
6442 if test -d /usr/nec ;then
6443 lt_prog_compiler_pic='-Kconform_pic'
6444 lt_prog_compiler_static='-Bstatic'
6449 lt_prog_compiler_pic='-pic'
6450 lt_prog_compiler_static='-Bstatic'
6454 lt_prog_compiler_can_build_shared=no
6459 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6460 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6463 # Check to make sure the PIC flag actually works.
6465 if test -n "$lt_prog_compiler_pic"; then
6466 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6467 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6468 if test "${lt_prog_compiler_pic_works+set}" = set; then
6469 echo $ECHO_N "(cached) $ECHO_C" >&6
6471 lt_prog_compiler_pic_works=no
6472 ac_outfile=conftest.$ac_objext
6473 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6474 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6475 # Insert the option either (1) after the last *FLAGS variable, or
6476 # (2) before a word containing "conftest.", or (3) at the end.
6477 # Note that $ac_compile itself does not contain backslashes and begins
6478 # with a dollar sign (not a hyphen), so the echo should work correctly.
6479 # The option is referenced via a variable to avoid confusing sed.
6480 lt_compile=`echo "$ac_compile" | $SED \
6481 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6482 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6483 -e 's:$: $lt_compiler_flag:'`
6484 (eval echo "\"\$as_me:6484: $lt_compile\"" >&5)
6485 (eval "$lt_compile" 2>conftest.err)
6487 cat conftest.err >&5
6488 echo "$as_me:6488: \$? = $ac_status" >&5
6489 if (exit $ac_status) && test -s "$ac_outfile"; then
6490 # The compiler can only warn and ignore the option if not recognized
6491 # So say no if there are warnings
6492 if test ! -s conftest.err; then
6493 lt_prog_compiler_pic_works=yes
6499 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6500 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6502 if test x"$lt_prog_compiler_pic_works" = xyes; then
6503 case $lt_prog_compiler_pic in
6505 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6508 lt_prog_compiler_pic=
6509 lt_prog_compiler_can_build_shared=no
6514 # For platforms which do not support PIC, -DPIC is meaningless:
6516 lt_prog_compiler_pic=
6519 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6523 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6524 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6525 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6526 echo $ECHO_N "(cached) $ECHO_C" >&6
6528 lt_cv_prog_compiler_c_o=no
6529 $rm -r conftest 2>/dev/null
6533 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6535 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6536 # that will create temporary files in the current directory regardless of
6537 # the output directory. Thus, making CWD read-only will cause this test
6538 # to fail, enabling locking or at least warning the user not to do parallel
6542 lt_compiler_flag="-o out/conftest2.$ac_objext"
6543 # Insert the option either (1) after the last *FLAGS variable, or
6544 # (2) before a word containing "conftest.", or (3) at the end.
6545 # Note that $ac_compile itself does not contain backslashes and begins
6546 # with a dollar sign (not a hyphen), so the echo should work correctly.
6547 lt_compile=`echo "$ac_compile" | $SED \
6548 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6549 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6550 -e 's:$: $lt_compiler_flag:'`
6551 (eval echo "\"\$as_me:6551: $lt_compile\"" >&5)
6552 (eval "$lt_compile" 2>out/conftest.err)
6554 cat out/conftest.err >&5
6555 echo "$as_me:6555: \$? = $ac_status" >&5
6556 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6558 # The compiler can only warn and ignore the option if not recognized
6559 # So say no if there are warnings
6560 if test ! -s out/conftest.err; then
6561 lt_cv_prog_compiler_c_o=yes
6572 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6573 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6576 hard_links="nottested"
6577 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6578 # do not overwrite the value of need_locks provided by the user
6579 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6580 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6583 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6585 ln conftest.a conftest.b 2>&5 || hard_links=no
6586 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6587 echo "$as_me:$LINENO: result: $hard_links" >&5
6588 echo "${ECHO_T}$hard_links" >&6
6589 if test "$hard_links" = no; then
6590 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6591 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6598 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6599 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6602 allow_undefined_flag=
6603 enable_shared_with_static_runtimes=no
6605 archive_expsym_cmds=
6606 old_archive_From_new_cmds=
6607 old_archive_from_expsyms_cmds=
6608 export_dynamic_flag_spec=
6609 whole_archive_flag_spec=
6610 thread_safe_flag_spec=
6611 hardcode_libdir_flag_spec=
6612 hardcode_libdir_flag_spec_ld=
6613 hardcode_libdir_separator=
6616 hardcode_shlibpath_var=unsupported
6617 link_all_deplibs=unknown
6618 hardcode_automatic=no
6621 always_export_symbols=no
6622 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6623 # include_expsyms should be a list of space-separated symbols to be *always*
6624 # included in the symbol list
6626 # exclude_expsyms can be an extended regexp of symbols to exclude
6627 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6628 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6629 # as well as any symbol that contains `d'.
6630 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6631 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6632 # platforms (ab)use it in PIC code, but their linkers get confused if
6633 # the symbol is explicitly referenced. Since portable code cannot
6634 # rely on this symbol name, it's probably fine to never include it in
6635 # preloaded symbol tables.
6636 extract_expsyms_cmds=
6639 cygwin* | mingw* | pw32*)
6640 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6641 # When not using gcc, we currently assume that we are using
6642 # Microsoft Visual C++.
6643 if test "$GCC" != yes; then
6653 if test "$with_gnu_ld" = yes; then
6654 # If archive_cmds runs LD, not CC, wlarc should be empty
6657 # See if GNU ld supports shared libraries.
6659 aix3* | aix4* | aix5*)
6660 # On AIX/PPC, the GNU linker is very broken
6661 if test "$host_cpu" != ia64; then
6665 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6666 *** to be unable to reliably create shared libraries on AIX.
6667 *** Therefore, libtool is disabling shared libraries support. If you
6668 *** really care for shared libraries, you may want to modify your PATH
6669 *** so that a non-GNU linker is found, and then restart.
6676 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)'
6677 hardcode_libdir_flag_spec='-L$libdir'
6678 hardcode_minus_L=yes
6680 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6681 # that the semantics of dynamic libraries on AmigaOS, at least up
6682 # to version 4, is to share data among multiple programs linked
6683 # with the same dynamic library. Since this doesn't match the
6684 # behavior of shared libraries on other platforms, we can't use
6690 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6691 allow_undefined_flag=unsupported
6692 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6693 # support --undefined. This deserves some investigation. FIXME
6694 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6700 cygwin* | mingw* | pw32*)
6701 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6702 # as there is no search path for DLLs.
6703 hardcode_libdir_flag_spec='-L$libdir'
6704 allow_undefined_flag=unsupported
6705 always_export_symbols=no
6706 enable_shared_with_static_runtimes=yes
6707 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6709 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6710 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6711 # If the export-symbols file already is a .def file (1st line
6712 # is EXPORTS), use it as is; otherwise, prepend...
6713 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6714 cp $export_symbols $output_objdir/$soname.def;
6716 echo EXPORTS > $output_objdir/$soname.def;
6717 cat $export_symbols >> $output_objdir/$soname.def;
6719 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6726 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6727 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6730 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6731 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6736 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6740 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6741 *** create shared libraries on Solaris systems. Therefore, libtool
6742 *** is disabling shared libraries support. We urge you to upgrade GNU
6743 *** binutils to release 2.9.1 or newer. Another option is to modify
6744 *** your PATH or compiler configuration so that the native linker is
6745 *** used, and then restart.
6748 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6749 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6750 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6757 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6760 hardcode_shlibpath_var=no
6764 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6765 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6766 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6773 if test "$ld_shlibs" = yes; then
6774 runpath_var=LD_RUN_PATH
6775 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6776 export_dynamic_flag_spec='${wl}--export-dynamic'
6777 # ancient GNU ld didn't support --whole-archive et. al.
6778 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6779 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6781 whole_archive_flag_spec=
6785 # PORTME fill in a description of your system's linker (not GNU ld)
6788 allow_undefined_flag=unsupported
6789 always_export_symbols=yes
6790 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'
6791 # Note: this linker hardcodes the directories in LIBPATH if there
6792 # are no directories specified by -L.
6793 hardcode_minus_L=yes
6794 if test "$GCC" = yes && test -z "$link_static_flag"; then
6795 # Neither direct hardcoding nor static linking is supported with a
6797 hardcode_direct=unsupported
6802 if test "$host_cpu" = ia64; then
6803 # On IA64, the linker does run time linking by default, so we don't
6804 # have to do anything special.
6805 aix_use_runtimelinking=no
6806 exp_sym_flag='-Bexport'
6809 # If we're using GNU nm, then we don't want the "-C" option.
6810 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6811 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6812 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'
6814 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'
6816 aix_use_runtimelinking=no
6818 # Test if we are trying to use run time linking or normal
6819 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6820 # need to do runtime linking.
6821 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6822 for ld_flag in $LDFLAGS; do
6823 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6824 aix_use_runtimelinking=yes
6830 exp_sym_flag='-bexport'
6831 no_entry_flag='-bnoentry'
6834 # When large executables or shared objects are built, AIX ld can
6835 # have problems creating the table of contents. If linking a library
6836 # or program results in "error TOC overflow" add -mminimal-toc to
6837 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6838 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6842 hardcode_libdir_separator=':'
6843 link_all_deplibs=yes
6845 if test "$GCC" = yes; then
6846 case $host_os in aix4.012|aix4.012.*)
6847 # We only want to do this on AIX 4.2 and lower, the check
6848 # below for broken collect2 doesn't work under 4.3+
6849 collect2name=`${CC} -print-prog-name=collect2`
6850 if test -f "$collect2name" && \
6851 strings "$collect2name" | grep resolve_lib_name >/dev/null
6853 # We have reworked collect2
6856 # We have old collect2
6857 hardcode_direct=unsupported
6858 # It fails to find uninstalled libraries when the uninstalled
6859 # path is not listed in the libpath. Setting hardcode_minus_L
6860 # to unsupported forces relinking
6861 hardcode_minus_L=yes
6862 hardcode_libdir_flag_spec='-L$libdir'
6863 hardcode_libdir_separator=
6866 shared_flag='-shared'
6869 if test "$host_cpu" = ia64; then
6870 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6871 # chokes on -Wl,-G. The following line is correct:
6874 if test "$aix_use_runtimelinking" = yes; then
6875 shared_flag='${wl}-G'
6877 shared_flag='${wl}-bM:SRE'
6882 # It seems that -bexpall does not export symbols beginning with
6883 # underscore (_), so it is better to generate a list of symbols to export.
6884 always_export_symbols=yes
6885 if test "$aix_use_runtimelinking" = yes; then
6886 # Warning - without using the other runtime loading flags (-brtl),
6887 # -berok will link without error, but may produce a broken library.
6888 allow_undefined_flag='-berok'
6889 # Determine the default libpath from the value encoded in an empty executable.
6890 cat >conftest.$ac_ext <<_ACEOF
6891 #line $LINENO "configure"
6894 cat confdefs.h >>conftest.$ac_ext
6895 cat >>conftest.$ac_ext <<_ACEOF
6896 /* end confdefs.h. */
6906 rm -f conftest.$ac_objext conftest$ac_exeext
6907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6908 (eval $ac_link) 2>&5
6910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6911 (exit $ac_status); } &&
6912 { ac_try='test -s conftest$ac_exeext'
6913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6917 (exit $ac_status); }; }; then
6919 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6921 # Check for a 64-bit object if we didn't find anything.
6922 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; }
6925 echo "$as_me: failed program was:" >&5
6926 sed 's/^/| /' conftest.$ac_ext >&5
6929 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6930 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6932 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6933 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"
6935 if test "$host_cpu" = ia64; then
6936 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6937 allow_undefined_flag="-z nodefs"
6938 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"
6940 # Determine the default libpath from the value encoded in an empty executable.
6941 cat >conftest.$ac_ext <<_ACEOF
6942 #line $LINENO "configure"
6945 cat confdefs.h >>conftest.$ac_ext
6946 cat >>conftest.$ac_ext <<_ACEOF
6947 /* end confdefs.h. */
6957 rm -f conftest.$ac_objext conftest$ac_exeext
6958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6959 (eval $ac_link) 2>&5
6961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6962 (exit $ac_status); } &&
6963 { ac_try='test -s conftest$ac_exeext'
6964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6968 (exit $ac_status); }; }; then
6970 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6972 # Check for a 64-bit object if we didn't find anything.
6973 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; }
6976 echo "$as_me: failed program was:" >&5
6977 sed 's/^/| /' conftest.$ac_ext >&5
6980 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6981 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6983 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6984 # Warning - without using the other run time loading flags,
6985 # -berok will link without error, but may produce a broken library.
6986 no_undefined_flag=' ${wl}-bernotok'
6987 allow_undefined_flag=' ${wl}-berok'
6988 # -bexpall does not export symbols beginning with underscore (_)
6989 always_export_symbols=yes
6990 # Exported symbols can be pulled into shared objects from archives
6991 whole_archive_flag_spec=' '
6992 archive_cmds_need_lc=yes
6993 # This is similar to how AIX traditionally builds it's shared libraries.
6994 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'
7000 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)'
7001 hardcode_libdir_flag_spec='-L$libdir'
7002 hardcode_minus_L=yes
7003 # see comment about different semantics on the GNU ld section
7008 export_dynamic_flag_spec=-rdynamic
7011 cygwin* | mingw* | pw32*)
7012 # When not using gcc, we currently assume that we are using
7013 # Microsoft Visual C++.
7014 # hardcode_libdir_flag_spec is actually meaningless, as there is
7015 # no search path for DLLs.
7016 hardcode_libdir_flag_spec=' '
7017 allow_undefined_flag=unsupported
7018 # Tell ltmain to make .lib files, not .a files.
7020 # Tell ltmain to make .dll files, not .so files.
7022 # FIXME: Setting linknames here is a bad hack.
7023 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7024 # The linker will automatically build a .lib file if we build a DLL.
7025 old_archive_From_new_cmds='true'
7026 # FIXME: Should let the user specify the lib program.
7027 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
7028 fix_srcfile_path='`cygpath -w "$srcfile"`'
7029 enable_shared_with_static_runtimes=yes
7032 darwin* | rhapsody*)
7033 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7034 archive_cmds_need_lc=no
7036 rhapsody* | darwin1.[012])
7037 allow_undefined_flag='-undefined suppress'
7040 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
7043 # FIXME: Relying on posixy $() will cause problems for
7044 # cross-compilation, but unfortunately the echo tests do not
7045 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
7046 # `"' quotes if we put them in here... so don't!
7047 lt_int_apple_cc_single_mod=no
7048 output_verbose_link_cmd='echo'
7049 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7050 lt_int_apple_cc_single_mod=yes
7052 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7053 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7055 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'
7057 module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7058 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7059 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7060 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}'
7062 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}'
7064 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}'
7066 hardcode_automatic=yes
7067 hardcode_shlibpath_var=unsupported
7068 whole_archive_flag_spec='-all_load $convenience'
7069 link_all_deplibs=yes
7074 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7075 hardcode_libdir_flag_spec='-L$libdir'
7076 hardcode_shlibpath_var=no
7083 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7084 # support. Future versions do this automatically, but an explicit c++rt0.o
7085 # does not break anything, and helps significantly (at the cost of a little
7088 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7089 hardcode_libdir_flag_spec='-R$libdir'
7091 hardcode_shlibpath_var=no
7094 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7096 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7098 hardcode_minus_L=yes
7099 hardcode_shlibpath_var=no
7102 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7104 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7105 hardcode_libdir_flag_spec='-R$libdir'
7107 hardcode_shlibpath_var=no
7111 if test "$GCC" = yes; then
7112 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'
7114 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'
7116 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7117 hardcode_libdir_separator=:
7120 # hardcode_minus_L: Not really in the search PATH,
7121 # but as the default location of the library.
7122 hardcode_minus_L=yes
7123 export_dynamic_flag_spec='${wl}-E'
7127 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7130 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7133 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7139 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7142 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7146 if test "$with_gnu_ld" = no; then
7149 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7150 hardcode_libdir_flag_spec_ld='+b $libdir'
7151 hardcode_libdir_separator=:
7153 hardcode_shlibpath_var=no
7156 hardcode_libdir_flag_spec='-L$libdir'
7158 hardcode_shlibpath_var=no
7160 # hardcode_minus_L: Not really in the search PATH,
7161 # but as the default location of the library.
7162 hardcode_minus_L=yes
7165 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7166 hardcode_libdir_separator=:
7168 export_dynamic_flag_spec='${wl}-E'
7170 # hardcode_minus_L: Not really in the search PATH,
7171 # but as the default location of the library.
7172 hardcode_minus_L=yes
7178 irix5* | irix6* | nonstopux*)
7179 if test "$GCC" = yes; then
7180 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'
7182 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'
7183 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7185 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7186 hardcode_libdir_separator=:
7187 link_all_deplibs=yes
7191 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7192 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7194 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7196 hardcode_libdir_flag_spec='-R$libdir'
7198 hardcode_shlibpath_var=no
7202 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7204 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7205 hardcode_libdir_separator=:
7206 hardcode_shlibpath_var=no
7211 hardcode_shlibpath_var=no
7212 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7213 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7214 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7215 export_dynamic_flag_spec='${wl}-E'
7218 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7219 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7220 hardcode_libdir_flag_spec='-R$libdir'
7223 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7224 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7231 hardcode_libdir_flag_spec='-L$libdir'
7232 hardcode_minus_L=yes
7233 allow_undefined_flag=unsupported
7234 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'
7235 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7239 if test "$GCC" = yes; then
7240 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7241 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'
7243 allow_undefined_flag=' -expect_unresolved \*'
7244 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'
7246 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7247 hardcode_libdir_separator=:
7250 osf4* | osf5*) # as osf3* with the addition of -msym flag
7251 if test "$GCC" = yes; then
7252 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7253 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'
7254 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7256 allow_undefined_flag=' -expect_unresolved \*'
7257 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'
7258 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7259 $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'
7261 # Both c and cxx compiler support -rpath directly
7262 hardcode_libdir_flag_spec='-rpath $libdir'
7264 hardcode_libdir_separator=:
7268 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7269 hardcode_shlibpath_var=no
7270 export_dynamic_flag_spec='${wl}-Bexport'
7271 runpath_var=LD_RUN_PATH
7272 hardcode_runpath_var=yes
7276 no_undefined_flag=' -z text'
7277 if test "$GCC" = yes; then
7278 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7279 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7280 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7282 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7283 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7284 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7286 hardcode_libdir_flag_spec='-R$libdir'
7287 hardcode_shlibpath_var=no
7289 solaris2.[0-5] | solaris2.[0-5].*) ;;
7290 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7291 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7293 link_all_deplibs=yes
7297 if test "x$host_vendor" = xsequent; then
7298 # Use $CC to link under sequent, because it throws in some extra .o
7299 # files that make .init and .fini sections work.
7300 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7302 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7304 hardcode_libdir_flag_spec='-L$libdir'
7306 hardcode_minus_L=yes
7307 hardcode_shlibpath_var=no
7311 case $host_vendor in
7313 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7314 hardcode_direct=yes # is this really true???
7317 ## LD is ld it makes a PLAMLIB
7318 ## CC just makes a GrossModule.
7319 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7320 reload_cmds='$CC -r -o $output$reload_objs'
7324 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7325 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7328 runpath_var='LD_RUN_PATH'
7329 hardcode_shlibpath_var=no
7333 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7334 hardcode_shlibpath_var=no
7335 export_dynamic_flag_spec='-Bexport'
7339 if test -d /usr/nec; then
7340 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7341 hardcode_shlibpath_var=no
7342 runpath_var=LD_RUN_PATH
7343 hardcode_runpath_var=yes
7349 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7352 hardcode_shlibpath_var=no
7353 hardcode_runpath_var=yes
7354 runpath_var=LD_RUN_PATH
7357 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7358 no_undefined_flag='${wl}-z ${wl}text'
7359 if test "$GCC" = yes; then
7360 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7362 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7364 runpath_var='LD_RUN_PATH'
7365 hardcode_shlibpath_var=no
7369 no_undefined_flag=' -z text'
7370 # $CC -shared without GNU ld will not create a library from C++
7371 # object files and a static libstdc++, better avoid it by now
7372 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7373 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7374 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7375 hardcode_libdir_flag_spec=
7376 hardcode_shlibpath_var=no
7377 runpath_var='LD_RUN_PATH'
7381 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7382 hardcode_libdir_flag_spec='-L$libdir'
7383 hardcode_shlibpath_var=no
7392 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7393 echo "${ECHO_T}$ld_shlibs" >&6
7394 test "$ld_shlibs" = no && can_build_shared=no
7396 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7397 if test "$GCC" = yes; then
7398 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7402 # Do we need to explicitly link libc?
7404 case "x$archive_cmds_need_lc" in
7406 # Assume -lc should be added
7407 archive_cmds_need_lc=yes
7409 if test "$enable_shared" = yes && test "$GCC" = yes; then
7410 case $archive_cmds in
7412 # FIXME: we may have to deal with multi-command sequences.
7415 # Test whether the compiler implicitly links with -lc since on some
7416 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7417 # to ld, don't add -lc before -lgcc.
7418 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7419 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7421 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7424 (eval $ac_compile) 2>&5
7426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7427 (exit $ac_status); } 2>conftest.err; then
7430 libobjs=conftest.$ac_objext
7432 wl=$lt_prog_compiler_wl
7438 lt_save_allow_undefined_flag=$allow_undefined_flag
7439 allow_undefined_flag=
7440 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7441 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 (exit $ac_status); }
7446 archive_cmds_need_lc=no
7448 archive_cmds_need_lc=yes
7450 allow_undefined_flag=$lt_save_allow_undefined_flag
7452 cat conftest.err 1>&5
7455 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7456 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7463 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7464 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7466 if test -n "$hardcode_libdir_flag_spec" || \
7467 test -n "$runpath_var " || \
7468 test "X$hardcode_automatic"="Xyes" ; then
7470 # We can hardcode non-existant directories.
7471 if test "$hardcode_direct" != no &&
7472 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7473 # have to relink, otherwise we might link with an installed library
7474 # when we should be linking with a yet-to-be-installed one
7475 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7476 test "$hardcode_minus_L" != no; then
7477 # Linking always hardcodes the temporary library directory.
7478 hardcode_action=relink
7480 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7481 hardcode_action=immediate
7484 # We cannot hardcode anything, or else we can only hardcode existing
7486 hardcode_action=unsupported
7488 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7489 echo "${ECHO_T}$hardcode_action" >&6
7491 if test "$hardcode_action" = relink; then
7492 # Fast installation is not supported
7493 enable_fast_install=no
7494 elif test "$shlibpath_overrides_runpath" = yes ||
7495 test "$enable_shared" = no; then
7496 # Fast installation is not necessary
7497 enable_fast_install=needless
7502 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7503 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7504 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7505 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7506 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7507 echo "$as_me:$LINENO: result: yes" >&5
7508 echo "${ECHO_T}yes" >&6
7510 # FIXME - insert some real tests, host_os isn't really good enough
7513 if test -n "$STRIP" ; then
7514 striplib="$STRIP -x"
7515 echo "$as_me:$LINENO: result: yes" >&5
7516 echo "${ECHO_T}yes" >&6
7518 echo "$as_me:$LINENO: result: no" >&5
7519 echo "${ECHO_T}no" >&6
7523 echo "$as_me:$LINENO: result: no" >&5
7524 echo "${ECHO_T}no" >&6
7529 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7530 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7532 libname_spec='lib$name'
7540 shlibpath_overrides_runpath=unknown
7542 dynamic_linker="$host_os ld.so"
7543 sys_lib_dlsearch_path_spec="/lib /usr/lib"
7544 if test "$GCC" = yes; then
7545 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7546 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7547 # if the path contains ";" then we assume it to be the separator
7548 # otherwise default to the standard path separator (i.e. ":") - it is
7549 # assumed that no part of a normal pathname contains ";" but that should
7550 # okay in the real world where ";" in dirpaths is itself problematic.
7551 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7553 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7556 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7558 need_lib_prefix=unknown
7559 hardcode_into_libs=no
7561 # when you set need_version to no, make sure it does not cause -set_version
7562 # flags to be left without arguments
7563 need_version=unknown
7568 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7569 shlibpath_var=LIBPATH
7571 # AIX 3 has no versioning support, so we append a major version to the name.
7572 soname_spec='${libname}${release}${shared_ext}$major'
7579 hardcode_into_libs=yes
7580 if test "$host_cpu" = ia64; then
7581 # AIX 5 supports IA64
7582 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7583 shlibpath_var=LD_LIBRARY_PATH
7585 # With GCC up to 2.95.x, collect2 would create an import file
7586 # for dependence libraries. The import file would start with
7587 # the line `#! .'. This would cause the generated library to
7588 # depend on `.', always an invalid library. This was fixed in
7589 # development snapshots of GCC prior to 3.0.
7591 aix4 | aix4.[01] | aix4.[01].*)
7592 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7594 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7601 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7602 # soname into executable. Probably we can add versioning support to
7603 # collect2, so additional links can be useful in future.
7604 if test "$aix_use_runtimelinking" = yes; then
7605 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7606 # instead of lib<name>.a to let people know that these are not
7607 # typical AIX shared libraries.
7608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7610 # We preserve .a as extension for shared libraries through AIX4.2
7611 # and later when we are not doing run time linking.
7612 library_names_spec='${libname}${release}.a $libname.a'
7613 soname_spec='${libname}${release}${shared_ext}$major'
7615 shlibpath_var=LIBPATH
7620 library_names_spec='$libname.ixlibrary $libname.a'
7621 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7622 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'
7626 library_names_spec='${libname}${shared_ext}'
7627 dynamic_linker="$host_os ld.so"
7628 shlibpath_var=LIBRARY_PATH
7634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7635 soname_spec='${libname}${release}${shared_ext}$major'
7636 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7637 shlibpath_var=LD_LIBRARY_PATH
7638 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7639 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7640 # the default ld.so.conf also contains /usr/contrib/lib and
7641 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7642 # libtool to hard-code these into programs
7645 cygwin* | mingw* | pw32*)
7646 version_type=windows
7651 case $GCC,$host_os in
7652 yes,cygwin* | yes,mingw* | yes,pw32*)
7653 library_names_spec='$libname.dll.a'
7654 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7655 postinstall_cmds='base_file=`basename \${file}`~
7656 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7657 dldir=$destdir/`dirname \$dlpath`~
7658 test -d \$dldir || mkdir -p \$dldir~
7659 $install_prog $dir/$dlname \$dldir/$dlname'
7660 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7661 dlpath=$dir/\$dldll~
7663 shlibpath_overrides_runpath=yes
7667 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7668 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7669 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
7672 # MinGW DLLs use traditional 'lib' prefix
7673 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7674 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7675 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7676 # It is most probably a Windows format PATH printed by
7677 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7678 # path with ; separators, and with drive letters. We can handle the
7679 # drive letters (cygwin fileutils understands them), so leave them,
7680 # especially as we might pass files found there to a mingw objdump,
7681 # which wouldn't understand a cygwinified path. Ahh.
7682 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7684 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7688 # pw32 DLLs use 'pw' prefix rather than 'lib'
7689 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7695 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7698 dynamic_linker='Win32 ld.exe'
7699 # FIXME: first we should search . and the directory the executable is in
7703 darwin* | rhapsody*)
7704 dynamic_linker="$host_os dyld"
7708 # FIXME: Relying on posixy $() will cause problems for
7709 # cross-compilation, but unfortunately the echo tests do not
7710 # yet detect zsh echo's removal of \ escapes.
7711 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7712 soname_spec='${libname}${release}${major}$shared_ext'
7713 shlibpath_overrides_runpath=yes
7714 shlibpath_var=DYLD_LIBRARY_PATH
7715 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
7716 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7717 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7718 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"`
7720 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7727 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7728 soname_spec='${libname}${release}${shared_ext}$major'
7729 shlibpath_var=LD_LIBRARY_PATH
7737 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7738 version_type=freebsd-$objformat
7739 case $version_type in
7741 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7746 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7750 shlibpath_var=LD_LIBRARY_PATH
7753 shlibpath_overrides_runpath=yes
7755 freebsd3.01* | freebsdelf3.01*)
7756 shlibpath_overrides_runpath=yes
7757 hardcode_into_libs=yes
7760 shlibpath_overrides_runpath=no
7761 hardcode_into_libs=yes
7770 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7771 soname_spec='${libname}${release}${shared_ext}$major'
7772 shlibpath_var=LD_LIBRARY_PATH
7773 hardcode_into_libs=yes
7776 hpux9* | hpux10* | hpux11*)
7777 # Give a soname corresponding to the major version so that dld.sl refuses to
7778 # link against other versions.
7785 hardcode_into_libs=yes
7786 dynamic_linker="$host_os dld.so"
7787 shlibpath_var=LD_LIBRARY_PATH
7788 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7789 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7790 soname_spec='${libname}${release}${shared_ext}$major'
7791 if test "X$HPUX_IA64_MODE" = X32; then
7792 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7794 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7796 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7800 hardcode_into_libs=yes
7801 dynamic_linker="$host_os dld.sl"
7802 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_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 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7807 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7811 dynamic_linker="$host_os dld.sl"
7812 shlibpath_var=SHLIB_PATH
7813 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7814 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7815 soname_spec='${libname}${release}${shared_ext}$major'
7818 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7819 postinstall_cmds='chmod 555 $lib'
7822 irix5* | irix6* | nonstopux*)
7824 nonstopux*) version_type=nonstopux ;;
7826 if test "$lt_cv_prog_gnu_ld" = yes; then
7834 soname_spec='${libname}${release}${shared_ext}$major'
7835 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7837 irix5* | nonstopux*)
7841 case $LD in # libtool.m4 will add one of these switches to LD
7842 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7843 libsuff= shlibsuff= libmagic=32-bit;;
7844 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7845 libsuff=32 shlibsuff=N32 libmagic=N32;;
7846 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7847 libsuff=64 shlibsuff=64 libmagic=64-bit;;
7848 *) libsuff= shlibsuff= libmagic=never-match;;
7852 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7853 shlibpath_overrides_runpath=no
7854 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7855 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7856 hardcode_into_libs=yes
7859 # No shared lib support for Linux oldld, aout, or coff.
7860 linux*oldld* | linux*aout* | linux*coff*)
7864 # This must be Linux ELF.
7869 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7870 soname_spec='${libname}${release}${shared_ext}$major'
7871 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7872 shlibpath_var=LD_LIBRARY_PATH
7873 shlibpath_overrides_runpath=no
7874 # This implies no fast_install, which is unacceptable.
7875 # Some rework will be needed to allow for fast_install
7876 # before this can be enabled.
7877 hardcode_into_libs=yes
7879 # We used to test for /lib/ld.so.1 and disable shared libraries on
7880 # powerpc, because MkLinux only supported shared libraries with the
7881 # GNU dynamic linker. Since this was broken with cross compilers,
7882 # most powerpc-linux boxes support dynamic linking these days and
7883 # people can always --disable-shared, the test was removed, and we
7884 # assume the GNU/Linux dynamic linker is in use.
7885 dynamic_linker='GNU/Linux ld.so'
7892 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7893 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7894 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7895 dynamic_linker='NetBSD (a.out) ld.so'
7897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
7898 soname_spec='${libname}${release}${shared_ext}$major'
7899 dynamic_linker='NetBSD ld.elf_so'
7901 shlibpath_var=LD_LIBRARY_PATH
7902 shlibpath_overrides_runpath=yes
7903 hardcode_into_libs=yes
7908 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7909 shlibpath_var=LD_LIBRARY_PATH
7910 shlibpath_overrides_runpath=yes
7917 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7918 soname_spec='${libname}${release}${shared_ext}$major'
7919 shlibpath_var=LD_LIBRARY_PATH
7920 shlibpath_overrides_runpath=yes
7927 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7928 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7929 shlibpath_var=LD_LIBRARY_PATH
7930 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7932 openbsd2.[89] | openbsd2.[89].*)
7933 shlibpath_overrides_runpath=no
7936 shlibpath_overrides_runpath=yes
7940 shlibpath_overrides_runpath=yes
7945 libname_spec='$name'
7948 library_names_spec='$libname${shared_ext} $libname.a'
7949 dynamic_linker='OS/2 ld.exe'
7950 shlibpath_var=LIBPATH
7953 osf3* | osf4* | osf5*)
7957 soname_spec='${libname}${release}${shared_ext}$major'
7958 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7959 shlibpath_var=LD_LIBRARY_PATH
7960 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7961 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7966 soname_spec='${libname}${release}${shared_ext}$major'
7967 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7968 shlibpath_var=LD_LIBRARY_PATH
7975 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7976 soname_spec='${libname}${release}${shared_ext}$major'
7977 shlibpath_var=LD_LIBRARY_PATH
7978 shlibpath_overrides_runpath=yes
7979 hardcode_into_libs=yes
7980 # ldd complains unless libraries are executable
7981 postinstall_cmds='chmod +x $lib'
7986 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7987 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
7988 shlibpath_var=LD_LIBRARY_PATH
7989 shlibpath_overrides_runpath=yes
7990 if test "$with_gnu_ld" = yes; then
7996 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7998 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7999 soname_spec='${libname}${release}${shared_ext}$major'
8000 shlibpath_var=LD_LIBRARY_PATH
8001 case $host_vendor in
8003 shlibpath_overrides_runpath=no
8005 export_dynamic_flag_spec='${wl}-Blargedynsym'
8006 runpath_var=LD_RUN_PATH
8014 shlibpath_overrides_runpath=no
8015 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8021 if test -d /usr/nec ;then
8023 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8024 soname_spec='$libname${shared_ext}.$major'
8025 shlibpath_var=LD_LIBRARY_PATH
8031 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8032 soname_spec='${libname}${release}${shared_ext}$major'
8033 shlibpath_var=LD_LIBRARY_PATH
8040 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8041 echo "${ECHO_T}$dynamic_linker" >&6
8042 test "$dynamic_linker" = no && can_build_shared=no
8044 if test "x$enable_dlopen" != xyes; then
8045 enable_dlopen=unknown
8046 enable_dlopen_self=unknown
8047 enable_dlopen_self_static=unknown
8054 lt_cv_dlopen="load_add_on"
8056 lt_cv_dlopen_self=yes
8060 lt_cv_dlopen="LoadLibrary"
8065 lt_cv_dlopen="dlopen"
8070 # if libdl is installed we need to link against it
8071 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8072 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8073 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8074 echo $ECHO_N "(cached) $ECHO_C" >&6
8076 ac_check_lib_save_LIBS=$LIBS
8078 cat >conftest.$ac_ext <<_ACEOF
8079 #line $LINENO "configure"
8082 cat confdefs.h >>conftest.$ac_ext
8083 cat >>conftest.$ac_ext <<_ACEOF
8084 /* end confdefs.h. */
8086 /* Override any gcc2 internal prototype to avoid an error. */
8090 /* We use char because int might match the return type of a gcc2
8091 builtin and then its argument prototype would still apply. */
8101 rm -f conftest.$ac_objext conftest$ac_exeext
8102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8103 (eval $ac_link) 2>&5
8105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8106 (exit $ac_status); } &&
8107 { ac_try='test -s conftest$ac_exeext'
8108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8112 (exit $ac_status); }; }; then
8113 ac_cv_lib_dl_dlopen=yes
8115 echo "$as_me: failed program was:" >&5
8116 sed 's/^/| /' conftest.$ac_ext >&5
8118 ac_cv_lib_dl_dlopen=no
8120 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8121 LIBS=$ac_check_lib_save_LIBS
8123 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8124 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8125 if test $ac_cv_lib_dl_dlopen = yes; then
8126 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8131 lt_cv_dlopen_self=yes
8138 echo "$as_me:$LINENO: checking for shl_load" >&5
8139 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8140 if test "${ac_cv_func_shl_load+set}" = set; then
8141 echo $ECHO_N "(cached) $ECHO_C" >&6
8143 cat >conftest.$ac_ext <<_ACEOF
8144 #line $LINENO "configure"
8147 cat confdefs.h >>conftest.$ac_ext
8148 cat >>conftest.$ac_ext <<_ACEOF
8149 /* end confdefs.h. */
8150 /* System header to define __stub macros and hopefully few prototypes,
8151 which can conflict with char shl_load (); below.
8152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8153 <limits.h> exists even on freestanding compilers. */
8155 # include <limits.h>
8157 # include <assert.h>
8159 /* Override any gcc2 internal prototype to avoid an error. */
8164 /* We use char because int might match the return type of a gcc2
8165 builtin and then its argument prototype would still apply. */
8167 /* The GNU C library defines this for functions which it implements
8168 to always fail with ENOSYS. Some functions are actually named
8169 something starting with __ and the normal name is an alias. */
8170 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8173 char (*f) () = shl_load;
8182 return f != shl_load;
8187 rm -f conftest.$ac_objext conftest$ac_exeext
8188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8189 (eval $ac_link) 2>&5
8191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8192 (exit $ac_status); } &&
8193 { ac_try='test -s conftest$ac_exeext'
8194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8198 (exit $ac_status); }; }; then
8199 ac_cv_func_shl_load=yes
8201 echo "$as_me: failed program was:" >&5
8202 sed 's/^/| /' conftest.$ac_ext >&5
8204 ac_cv_func_shl_load=no
8206 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8208 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8209 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8210 if test $ac_cv_func_shl_load = yes; then
8211 lt_cv_dlopen="shl_load"
8213 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8214 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8215 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8216 echo $ECHO_N "(cached) $ECHO_C" >&6
8218 ac_check_lib_save_LIBS=$LIBS
8220 cat >conftest.$ac_ext <<_ACEOF
8221 #line $LINENO "configure"
8224 cat confdefs.h >>conftest.$ac_ext
8225 cat >>conftest.$ac_ext <<_ACEOF
8226 /* end confdefs.h. */
8228 /* Override any gcc2 internal prototype to avoid an error. */
8232 /* We use char because int might match the return type of a gcc2
8233 builtin and then its argument prototype would still apply. */
8243 rm -f conftest.$ac_objext conftest$ac_exeext
8244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8245 (eval $ac_link) 2>&5
8247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8248 (exit $ac_status); } &&
8249 { ac_try='test -s conftest$ac_exeext'
8250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8254 (exit $ac_status); }; }; then
8255 ac_cv_lib_dld_shl_load=yes
8257 echo "$as_me: failed program was:" >&5
8258 sed 's/^/| /' conftest.$ac_ext >&5
8260 ac_cv_lib_dld_shl_load=no
8262 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8263 LIBS=$ac_check_lib_save_LIBS
8265 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8266 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8267 if test $ac_cv_lib_dld_shl_load = yes; then
8268 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8270 echo "$as_me:$LINENO: checking for dlopen" >&5
8271 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8272 if test "${ac_cv_func_dlopen+set}" = set; then
8273 echo $ECHO_N "(cached) $ECHO_C" >&6
8275 cat >conftest.$ac_ext <<_ACEOF
8276 #line $LINENO "configure"
8279 cat confdefs.h >>conftest.$ac_ext
8280 cat >>conftest.$ac_ext <<_ACEOF
8281 /* end confdefs.h. */
8282 /* System header to define __stub macros and hopefully few prototypes,
8283 which can conflict with char dlopen (); below.
8284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8285 <limits.h> exists even on freestanding compilers. */
8287 # include <limits.h>
8289 # include <assert.h>
8291 /* Override any gcc2 internal prototype to avoid an error. */
8296 /* We use char because int might match the return type of a gcc2
8297 builtin and then its argument prototype would still apply. */
8299 /* The GNU C library defines this for functions which it implements
8300 to always fail with ENOSYS. Some functions are actually named
8301 something starting with __ and the normal name is an alias. */
8302 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8305 char (*f) () = dlopen;
8319 rm -f conftest.$ac_objext conftest$ac_exeext
8320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8321 (eval $ac_link) 2>&5
8323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8324 (exit $ac_status); } &&
8325 { ac_try='test -s conftest$ac_exeext'
8326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8330 (exit $ac_status); }; }; then
8331 ac_cv_func_dlopen=yes
8333 echo "$as_me: failed program was:" >&5
8334 sed 's/^/| /' conftest.$ac_ext >&5
8336 ac_cv_func_dlopen=no
8338 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8340 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8341 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8342 if test $ac_cv_func_dlopen = yes; then
8343 lt_cv_dlopen="dlopen"
8345 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8346 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8347 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8348 echo $ECHO_N "(cached) $ECHO_C" >&6
8350 ac_check_lib_save_LIBS=$LIBS
8352 cat >conftest.$ac_ext <<_ACEOF
8353 #line $LINENO "configure"
8356 cat confdefs.h >>conftest.$ac_ext
8357 cat >>conftest.$ac_ext <<_ACEOF
8358 /* end confdefs.h. */
8360 /* Override any gcc2 internal prototype to avoid an error. */
8364 /* We use char because int might match the return type of a gcc2
8365 builtin and then its argument prototype would still apply. */
8375 rm -f conftest.$ac_objext conftest$ac_exeext
8376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8377 (eval $ac_link) 2>&5
8379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8380 (exit $ac_status); } &&
8381 { ac_try='test -s conftest$ac_exeext'
8382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8386 (exit $ac_status); }; }; then
8387 ac_cv_lib_dl_dlopen=yes
8389 echo "$as_me: failed program was:" >&5
8390 sed 's/^/| /' conftest.$ac_ext >&5
8392 ac_cv_lib_dl_dlopen=no
8394 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8395 LIBS=$ac_check_lib_save_LIBS
8397 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8398 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8399 if test $ac_cv_lib_dl_dlopen = yes; then
8400 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8402 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8403 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8404 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8405 echo $ECHO_N "(cached) $ECHO_C" >&6
8407 ac_check_lib_save_LIBS=$LIBS
8409 cat >conftest.$ac_ext <<_ACEOF
8410 #line $LINENO "configure"
8413 cat confdefs.h >>conftest.$ac_ext
8414 cat >>conftest.$ac_ext <<_ACEOF
8415 /* end confdefs.h. */
8417 /* Override any gcc2 internal prototype to avoid an error. */
8421 /* We use char because int might match the return type of a gcc2
8422 builtin and then its argument prototype would still apply. */
8432 rm -f conftest.$ac_objext conftest$ac_exeext
8433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8434 (eval $ac_link) 2>&5
8436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8437 (exit $ac_status); } &&
8438 { ac_try='test -s conftest$ac_exeext'
8439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8443 (exit $ac_status); }; }; then
8444 ac_cv_lib_svld_dlopen=yes
8446 echo "$as_me: failed program was:" >&5
8447 sed 's/^/| /' conftest.$ac_ext >&5
8449 ac_cv_lib_svld_dlopen=no
8451 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8452 LIBS=$ac_check_lib_save_LIBS
8454 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8455 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8456 if test $ac_cv_lib_svld_dlopen = yes; then
8457 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8459 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8460 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8461 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8462 echo $ECHO_N "(cached) $ECHO_C" >&6
8464 ac_check_lib_save_LIBS=$LIBS
8466 cat >conftest.$ac_ext <<_ACEOF
8467 #line $LINENO "configure"
8470 cat confdefs.h >>conftest.$ac_ext
8471 cat >>conftest.$ac_ext <<_ACEOF
8472 /* end confdefs.h. */
8474 /* Override any gcc2 internal prototype to avoid an error. */
8478 /* We use char because int might match the return type of a gcc2
8479 builtin and then its argument prototype would still apply. */
8489 rm -f conftest.$ac_objext conftest$ac_exeext
8490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8491 (eval $ac_link) 2>&5
8493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8494 (exit $ac_status); } &&
8495 { ac_try='test -s conftest$ac_exeext'
8496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8500 (exit $ac_status); }; }; then
8501 ac_cv_lib_dld_dld_link=yes
8503 echo "$as_me: failed program was:" >&5
8504 sed 's/^/| /' conftest.$ac_ext >&5
8506 ac_cv_lib_dld_dld_link=no
8508 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8509 LIBS=$ac_check_lib_save_LIBS
8511 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8512 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8513 if test $ac_cv_lib_dld_dld_link = yes; then
8514 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8535 if test "x$lt_cv_dlopen" != xno; then
8541 case $lt_cv_dlopen in
8543 save_CPPFLAGS="$CPPFLAGS"
8544 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8546 save_LDFLAGS="$LDFLAGS"
8547 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8550 LIBS="$lt_cv_dlopen_libs $LIBS"
8552 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8553 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8554 if test "${lt_cv_dlopen_self+set}" = set; then
8555 echo $ECHO_N "(cached) $ECHO_C" >&6
8557 if test "$cross_compiling" = yes; then :
8558 lt_cv_dlopen_self=cross
8560 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8561 lt_status=$lt_dlunknown
8562 cat > conftest.$ac_ext <<EOF
8563 #line 8563 "configure"
8564 #include "confdefs.h"
8573 # define LT_DLGLOBAL RTLD_GLOBAL
8576 # define LT_DLGLOBAL DL_GLOBAL
8578 # define LT_DLGLOBAL 0
8582 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8583 find out it does not work in some platform. */
8584 #ifndef LT_DLLAZY_OR_NOW
8586 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8589 # define LT_DLLAZY_OR_NOW DL_LAZY
8592 # define LT_DLLAZY_OR_NOW RTLD_NOW
8595 # define LT_DLLAZY_OR_NOW DL_NOW
8597 # define LT_DLLAZY_OR_NOW 0
8605 extern "C" void exit (int);
8608 void fnord() { int i=42;}
8611 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8612 int status = $lt_dlunknown;
8616 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8617 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8618 /* dlclose (self); */
8624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8625 (eval $ac_link) 2>&5
8627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8628 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8629 (./conftest; exit; ) 2>/dev/null
8632 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8633 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8634 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
8637 # compilation failed
8638 lt_cv_dlopen_self=no
8645 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8646 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8648 if test "x$lt_cv_dlopen_self" = xyes; then
8649 LDFLAGS="$LDFLAGS $link_static_flag"
8650 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8651 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8652 if test "${lt_cv_dlopen_self_static+set}" = set; then
8653 echo $ECHO_N "(cached) $ECHO_C" >&6
8655 if test "$cross_compiling" = yes; then :
8656 lt_cv_dlopen_self_static=cross
8658 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8659 lt_status=$lt_dlunknown
8660 cat > conftest.$ac_ext <<EOF
8661 #line 8661 "configure"
8662 #include "confdefs.h"
8671 # define LT_DLGLOBAL RTLD_GLOBAL
8674 # define LT_DLGLOBAL DL_GLOBAL
8676 # define LT_DLGLOBAL 0
8680 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8681 find out it does not work in some platform. */
8682 #ifndef LT_DLLAZY_OR_NOW
8684 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8687 # define LT_DLLAZY_OR_NOW DL_LAZY
8690 # define LT_DLLAZY_OR_NOW RTLD_NOW
8693 # define LT_DLLAZY_OR_NOW DL_NOW
8695 # define LT_DLLAZY_OR_NOW 0
8703 extern "C" void exit (int);
8706 void fnord() { int i=42;}
8709 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8710 int status = $lt_dlunknown;
8714 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8715 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8716 /* dlclose (self); */
8722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8723 (eval $ac_link) 2>&5
8725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8727 (./conftest; exit; ) 2>/dev/null
8730 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8731 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8732 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
8735 # compilation failed
8736 lt_cv_dlopen_self_static=no
8743 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8744 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8747 CPPFLAGS="$save_CPPFLAGS"
8748 LDFLAGS="$save_LDFLAGS"
8753 case $lt_cv_dlopen_self in
8754 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
8755 *) enable_dlopen_self=unknown ;;
8758 case $lt_cv_dlopen_self_static in
8759 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
8760 *) enable_dlopen_self_static=unknown ;;
8765 # Report which librarie types wil actually be built
8766 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8767 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8768 echo "$as_me:$LINENO: result: $can_build_shared" >&5
8769 echo "${ECHO_T}$can_build_shared" >&6
8771 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8772 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8773 test "$can_build_shared" = "no" && enable_shared=no
8775 # On AIX, shared libraries and static libraries use the same namespace, and
8776 # are all built from PIC.
8779 test "$enable_shared" = yes && enable_static=no
8780 if test -n "$RANLIB"; then
8781 archive_cmds="$archive_cmds~\$RANLIB \$lib"
8782 postinstall_cmds='$RANLIB $lib'
8787 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8788 test "$enable_shared" = yes && enable_static=no
8791 darwin* | rhapsody*)
8792 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8793 archive_cmds_need_lc=no
8795 rhapsody* | darwin1.[012])
8796 allow_undefined_flag='-undefined suppress'
8799 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
8802 # FIXME: Relying on posixy $() will cause problems for
8803 # cross-compilation, but unfortunately the echo tests do not
8804 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
8805 # `"' quotes if we put them in here... so don't!
8806 output_verbose_link_cmd='echo'
8807 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8808 module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
8809 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8810 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}'
8811 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}'
8813 hardcode_automatic=yes
8814 hardcode_shlibpath_var=unsupported
8815 whole_archive_flag_spec='-all_load $convenience'
8816 link_all_deplibs=yes
8820 echo "$as_me:$LINENO: result: $enable_shared" >&5
8821 echo "${ECHO_T}$enable_shared" >&6
8823 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8824 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
8825 # Make sure either enable_shared or enable_static is yes.
8826 test "$enable_shared" = yes || enable_static=yes
8827 echo "$as_me:$LINENO: result: $enable_static" >&5
8828 echo "${ECHO_T}$enable_static" >&6
8830 # The else clause should only fire when bootstrapping the
8831 # libtool distribution, otherwise you forgot to ship ltmain.sh
8832 # with your package, and you will get complaints that there are
8833 # no rules to generate ltmain.sh.
8834 if test -f "$ltmain"; then
8835 # See if we are running on zsh, and set the options which allow our commands through
8836 # without removal of \ escapes.
8837 if test -n "${ZSH_VERSION+set}" ; then
8838 setopt NO_GLOB_SUBST
8840 # Now quote all the things that may contain metacharacters while being
8841 # careful not to overquote the AC_SUBSTed values. We take copies of the
8842 # variables and quote the copies for generation of the libtool script.
8843 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8844 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8845 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8846 deplibs_check_method reload_flag reload_cmds need_locks \
8847 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
8848 lt_cv_sys_global_symbol_to_c_name_address \
8849 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8850 old_postinstall_cmds old_postuninstall_cmds \
8854 lt_prog_compiler_wl \
8855 lt_prog_compiler_pic \
8856 lt_prog_compiler_static \
8857 lt_prog_compiler_no_builtin_flag \
8858 export_dynamic_flag_spec \
8859 thread_safe_flag_spec \
8860 whole_archive_flag_spec \
8861 enable_shared_with_static_runtimes \
8863 old_archive_from_new_cmds \
8868 compiler_lib_search_path \
8870 archive_expsym_cmds \
8872 postuninstall_cmds \
8873 old_archive_from_expsyms_cmds \
8874 allow_undefined_flag \
8876 export_symbols_cmds \
8877 hardcode_libdir_flag_spec \
8878 hardcode_libdir_flag_spec_ld \
8879 hardcode_libdir_separator \
8880 hardcode_automatic \
8882 module_expsym_cmds \
8883 lt_cv_prog_compiler_c_o \
8888 old_archive_cmds | \
8889 old_archive_from_new_cmds | \
8891 archive_expsym_cmds | \
8893 module_expsym_cmds | \
8894 old_archive_from_expsyms_cmds | \
8895 export_symbols_cmds | \
8896 extract_expsyms_cmds | reload_cmds | finish_cmds | \
8897 postinstall_cmds | postuninstall_cmds | \
8898 old_postinstall_cmds | old_postuninstall_cmds | \
8899 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
8900 # Double-quote double-evaled strings.
8901 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
8904 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
8910 *'\$0 --fallback-echo"')
8911 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
8916 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
8918 { echo "$as_me:$LINENO: creating $ofile" >&5
8919 echo "$as_me: creating $ofile" >&6;}
8921 cat <<__EOF__ >> "$cfgfile"
8924 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
8925 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
8926 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8928 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
8929 # Free Software Foundation, Inc.
8931 # This file is part of GNU Libtool:
8932 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8934 # This program is free software; you can redistribute it and/or modify
8935 # it under the terms of the GNU General Public License as published by
8936 # the Free Software Foundation; either version 2 of the License, or
8937 # (at your option) any later version.
8939 # This program is distributed in the hope that it will be useful, but
8940 # WITHOUT ANY WARRANTY; without even the implied warranty of
8941 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8942 # General Public License for more details.
8944 # You should have received a copy of the GNU General Public License
8945 # along with this program; if not, write to the Free Software
8946 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8948 # As a special exception to the GNU General Public License, if you
8949 # distribute this file as part of a program that contains a
8950 # configuration script generated by Autoconf, you may include it under
8951 # the same distribution terms that you use for the rest of that program.
8953 # A sed program that does not truncate output.
8956 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
8957 Xsed="$SED -e s/^X//"
8959 # The HP-UX ksh and POSIX shell print the target directory to stdout
8961 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
8963 # The names of the tagged configurations supported by this script.
8966 # ### BEGIN LIBTOOL CONFIG
8968 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
8970 # Shell to use when invoking shell scripts.
8973 # Whether or not to build shared libraries.
8974 build_libtool_libs=$enable_shared
8976 # Whether or not to build static libraries.
8977 build_old_libs=$enable_static
8979 # Whether or not to add -lc for building shared libraries.
8980 build_libtool_need_lc=$archive_cmds_need_lc
8982 # Whether or not to disallow shared libs when runtime libs are static
8983 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
8985 # Whether or not to optimize for fast installation.
8986 fast_install=$enable_fast_install
8989 host_alias=$host_alias
8992 # An echo program that does not interpret backslashes.
8997 AR_FLAGS=$lt_AR_FLAGS
9002 # A language-specific compiler.
9005 # Is the compiler the GNU C compiler?
9011 # The linker used to build libraries.
9014 # Whether we need hard or soft links.
9017 # A BSD-compatible nm program.
9020 # A symbol stripping program
9023 # Used to examine libraries when file_magic_cmd begins "file"
9024 MAGIC_CMD=$MAGIC_CMD
9026 # Used on cygwin: DLL creation program.
9029 # Used on cygwin: object dumper.
9032 # Used on cygwin: assembler.
9035 # The name of the directory that contains temporary libtool files.
9038 # How to create reloadable object files.
9039 reload_flag=$lt_reload_flag
9040 reload_cmds=$lt_reload_cmds
9042 # How to pass a linker flag through the compiler.
9043 wl=$lt_lt_prog_compiler_wl
9045 # Object file suffix (normally "o").
9048 # Old archive suffix (normally "a").
9051 # Shared library suffix (normally ".so").
9054 # Executable file suffix (normally "").
9057 # Additional compiler flags for building library objects.
9058 pic_flag=$lt_lt_prog_compiler_pic
9061 # What is the maximum length of a command?
9062 max_cmd_len=$lt_cv_sys_max_cmd_len
9064 # Does compiler simultaneously support -c and -o options?
9065 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9067 # Must we lock files when doing compilation ?
9068 need_locks=$lt_need_locks
9070 # Do we need the lib prefix for modules?
9071 need_lib_prefix=$need_lib_prefix
9073 # Do we need a version for libraries?
9074 need_version=$need_version
9076 # Whether dlopen is supported.
9077 dlopen_support=$enable_dlopen
9079 # Whether dlopen of programs is supported.
9080 dlopen_self=$enable_dlopen_self
9082 # Whether dlopen of statically linked programs is supported.
9083 dlopen_self_static=$enable_dlopen_self_static
9085 # Compiler flag to prevent dynamic linking.
9086 link_static_flag=$lt_lt_prog_compiler_static
9088 # Compiler flag to turn off builtin functions.
9089 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9091 # Compiler flag to allow reflexive dlopens.
9092 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9094 # Compiler flag to generate shared objects directly from archives.
9095 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9097 # Compiler flag to generate thread-safe objects.
9098 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9100 # Library versioning type.
9101 version_type=$version_type
9103 # Format of library name prefix.
9104 libname_spec=$lt_libname_spec
9106 # List of archive names. First name is the real one, the rest are links.
9107 # The last name is the one that the linker finds with -lNAME.
9108 library_names_spec=$lt_library_names_spec
9110 # The coded name of the library, if different from the real name.
9111 soname_spec=$lt_soname_spec
9113 # Commands used to build and install an old-style archive.
9115 old_archive_cmds=$lt_old_archive_cmds
9116 old_postinstall_cmds=$lt_old_postinstall_cmds
9117 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9119 # Create an old-style archive from a shared archive.
9120 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9122 # Create a temporary old-style archive to link instead of a shared archive.
9123 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9125 # Commands used to build and install a shared archive.
9126 archive_cmds=$lt_archive_cmds
9127 archive_expsym_cmds=$lt_archive_expsym_cmds
9128 postinstall_cmds=$lt_postinstall_cmds
9129 postuninstall_cmds=$lt_postuninstall_cmds
9131 # Commands used to build a loadable module (assumed same as above if empty)
9132 module_cmds=$lt_module_cmds
9133 module_expsym_cmds=$lt_module_expsym_cmds
9135 # Commands to strip libraries.
9136 old_striplib=$lt_old_striplib
9137 striplib=$lt_striplib
9139 # Dependencies to place before the objects being linked to create a
9141 predep_objects=$lt_predep_objects
9143 # Dependencies to place after the objects being linked to create a
9145 postdep_objects=$lt_postdep_objects
9147 # Dependencies to place before the objects being linked to create a
9151 # Dependencies to place after the objects being linked to create a
9153 postdeps=$lt_postdeps
9155 # The library search path used internally by the compiler when linking
9157 compiler_lib_search_path=$lt_compiler_lib_search_path
9159 # Method to check whether dependent libraries are shared objects.
9160 deplibs_check_method=$lt_deplibs_check_method
9162 # Command to use when deplibs_check_method == file_magic.
9163 file_magic_cmd=$lt_file_magic_cmd
9165 # Flag that allows shared libraries with undefined symbols to be built.
9166 allow_undefined_flag=$lt_allow_undefined_flag
9168 # Flag that forces no undefined symbols.
9169 no_undefined_flag=$lt_no_undefined_flag
9171 # Commands used to finish a libtool library installation in a directory.
9172 finish_cmds=$lt_finish_cmds
9174 # Same as above, but a single script fragment to be evaled but not shown.
9175 finish_eval=$lt_finish_eval
9177 # Take the output of nm and produce a listing of raw symbols and C names.
9178 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9180 # Transform the output of nm in a proper C declaration
9181 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9183 # Transform the output of nm in a C name address pair
9184 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9186 # This is the shared library runtime path variable.
9187 runpath_var=$runpath_var
9189 # This is the shared library path variable.
9190 shlibpath_var=$shlibpath_var
9192 # Is shlibpath searched before the hard-coded library search path?
9193 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9195 # How to hardcode a shared library path into an executable.
9196 hardcode_action=$hardcode_action
9198 # Whether we should hardcode library paths into libraries.
9199 hardcode_into_libs=$hardcode_into_libs
9201 # Flag to hardcode \$libdir into a binary during linking.
9202 # This must work even if \$libdir does not exist.
9203 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9205 # If ld is used when linking, flag to hardcode \$libdir into
9206 # a binary during linking. This must work even if \$libdir does
9208 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9210 # Whether we need a single -rpath flag with a separated argument.
9211 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9213 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9215 hardcode_direct=$hardcode_direct
9217 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9219 hardcode_minus_L=$hardcode_minus_L
9221 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9222 # the resulting binary.
9223 hardcode_shlibpath_var=$hardcode_shlibpath_var
9225 # Set to yes if building a shared library automatically hardcodes DIR into the library
9226 # and all subsequent libraries and executables linked against it.
9227 hardcode_automatic=$hardcode_automatic
9229 # Variables whose values should be saved in libtool wrapper scripts and
9230 # restored at relink time.
9231 variables_saved_for_relink="$variables_saved_for_relink"
9233 # Whether libtool must link a program against all its dependency libraries.
9234 link_all_deplibs=$link_all_deplibs
9236 # Compile-time system search path for libraries
9237 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9239 # Run-time system search path for libraries
9240 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9242 # Fix the shell variable \$srcfile for the compiler.
9243 fix_srcfile_path="$fix_srcfile_path"
9245 # Set to yes if exported symbols are required.
9246 always_export_symbols=$always_export_symbols
9248 # The commands to list exported symbols.
9249 export_symbols_cmds=$lt_export_symbols_cmds
9251 # The commands to extract the exported symbol list from a shared archive.
9252 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9254 # Symbols that should not be listed in the preloaded symbols.
9255 exclude_expsyms=$lt_exclude_expsyms
9257 # Symbols that must always be exported.
9258 include_expsyms=$lt_include_expsyms
9260 # ### END LIBTOOL CONFIG
9267 cat <<\EOF >> "$cfgfile"
9269 # AIX sometimes has problems with the GCC collect2 program. For some
9270 # reason, if we set the COLLECT_NAMES environment variable, the problems
9271 # vanish in a puff of smoke.
9272 if test "X${COLLECT_NAMES+set}" != Xset; then
9274 export COLLECT_NAMES
9280 # We use sed instead of cat because bash on DJGPP gets confused if
9281 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9282 # text mode, it properly converts lines to CR/LF. This bash problem
9283 # is reportedly fixed, but why not run on old versions too?
9284 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9286 mv -f "$cfgfile" "$ofile" || \
9287 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9291 # If there is no Makefile yet, we rely on a make rule to execute
9292 # `config.status --recheck' to rerun these tests and create the
9293 # libtool script then.
9294 test -f Makefile && make "$ltmain"
9299 ac_cpp='$CPP $CPPFLAGS'
9300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9307 # Check whether --with-tags or --without-tags was given.
9308 if test "${with_tags+set}" = set; then
9309 withval="$with_tags"
9313 if test -f "$ltmain" && test -n "$tagnames"; then
9314 if test ! -f "${ofile}"; then
9315 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9316 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9319 if test -z "$LTCC"; then
9320 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9321 if test -z "$LTCC"; then
9322 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9323 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9325 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9326 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9330 # Extract list of available tagged configurations in $ofile.
9331 # Note that this assumes the entire list is on one line.
9332 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9334 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9335 for tagname in $tagnames; do
9337 # Check whether tagname contains only valid characters
9338 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9340 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9341 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9342 { (exit 1); exit 1; }; }
9346 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9348 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9349 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9350 { (exit 1); exit 1; }; }
9353 # Update the list of available tags.
9354 if test -n "$tagname"; then
9355 echo appending configuration tag \"$tagname\" to $ofile
9359 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9361 ac_cpp='$CXXCPP $CPPFLAGS'
9362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9369 archive_cmds_need_lc_CXX=no
9370 allow_undefined_flag_CXX=
9371 always_export_symbols_CXX=no
9372 archive_expsym_cmds_CXX=
9373 export_dynamic_flag_spec_CXX=
9374 hardcode_direct_CXX=no
9375 hardcode_libdir_flag_spec_CXX=
9376 hardcode_libdir_flag_spec_ld_CXX=
9377 hardcode_libdir_separator_CXX=
9378 hardcode_minus_L_CXX=no
9379 hardcode_automatic_CXX=no
9381 module_expsym_cmds_CXX=
9382 link_all_deplibs_CXX=unknown
9383 old_archive_cmds_CXX=$old_archive_cmds
9384 no_undefined_flag_CXX=
9385 whole_archive_flag_spec_CXX=
9386 enable_shared_with_static_runtimes_CXX=no
9388 # Dependencies to place before and after the object being linked:
9390 postdep_objects_CXX=
9393 compiler_lib_search_path_CXX=
9395 # Source file extension for C++ test sources.
9398 # Object file extension for compiled C++ test sources.
9402 # Code to be used in simple compile tests
9403 lt_simple_compile_test_code="int some_variable = 0;\n"
9405 # Code to be used in simple link tests
9406 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
9408 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9410 # If no C compiler was specified, use CC.
9413 # Allow CC to be a program name with arguments.
9417 # Allow CC to be a program name with arguments.
9422 lt_save_with_gnu_ld=$with_gnu_ld
9423 lt_save_path_LD=$lt_cv_path_LD
9424 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9425 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9427 unset lt_cv_prog_gnu_ld
9429 if test -n "${lt_cv_path_LDCXX+set}"; then
9430 lt_cv_path_LD=$lt_cv_path_LDCXX
9434 test -z "${LDCXX+set}" || LD=$LDCXX
9438 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9440 # We don't want -fno-exception wen compiling C++ code, so set the
9441 # no_builtin_flag separately
9442 if test "$GXX" = yes; then
9443 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9445 lt_prog_compiler_no_builtin_flag_CXX=
9448 if test "$GXX" = yes; then
9449 # Set up default GNU C++ configuration
9452 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9453 if test "${with_gnu_ld+set}" = set; then
9454 withval="$with_gnu_ld"
9455 test "$withval" = no || with_gnu_ld=yes
9460 if test "$GCC" = yes; then
9461 # Check if gcc -print-prog-name=ld gives a path.
9462 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9463 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9466 # gcc leaves a trailing carriage return which upsets mingw
9467 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9469 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9472 # Accept absolute paths.
9474 re_direlt='/[^/][^/]*/\.\./'
9475 # Canonicalize the path of ld
9476 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9477 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9478 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9480 test -z "$LD" && LD="$ac_prog"
9483 # If it fails, then pretend we aren't using GCC.
9487 # If it is relative, then search for the first ld in PATH.
9491 elif test "$with_gnu_ld" = yes; then
9492 echo "$as_me:$LINENO: checking for GNU ld" >&5
9493 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9495 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9496 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9498 if test "${lt_cv_path_LD+set}" = set; then
9499 echo $ECHO_N "(cached) $ECHO_C" >&6
9501 if test -z "$LD"; then
9502 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9503 for ac_dir in $PATH; do
9505 test -z "$ac_dir" && ac_dir=.
9506 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9507 lt_cv_path_LD="$ac_dir/$ac_prog"
9508 # Check to see if the program is GNU ld. I'd rather use --version,
9509 # but apparently some GNU ld's only accept -v.
9510 # Break only if it was the GNU/non-GNU ld that we prefer.
9511 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9512 *GNU* | *'with BFD'*)
9513 test "$with_gnu_ld" != no && break
9516 test "$with_gnu_ld" != yes && break
9523 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9528 if test -n "$LD"; then
9529 echo "$as_me:$LINENO: result: $LD" >&5
9530 echo "${ECHO_T}$LD" >&6
9532 echo "$as_me:$LINENO: result: no" >&5
9533 echo "${ECHO_T}no" >&6
9535 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9536 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9537 { (exit 1); exit 1; }; }
9538 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9539 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9540 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9541 echo $ECHO_N "(cached) $ECHO_C" >&6
9543 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9544 case `"$LD" -v 2>&1 </dev/null` in
9545 *GNU* | *'with BFD'*)
9546 lt_cv_prog_gnu_ld=yes
9549 lt_cv_prog_gnu_ld=no
9553 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9554 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9555 with_gnu_ld=$lt_cv_prog_gnu_ld
9559 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9560 # archiving commands below assume that GNU ld is being used.
9561 if test "$with_gnu_ld" = yes; then
9562 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9563 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'
9565 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
9566 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9568 # If archive_cmds runs LD, not CC, wlarc should be empty
9569 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9570 # investigate it a little bit more. (MM)
9573 # ancient GNU ld didn't support --whole-archive et. al.
9574 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9575 grep 'no-whole-archive' > /dev/null; then
9576 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9578 whole_archive_flag_spec_CXX=
9584 # A generic and very simple default shared library creation
9585 # command for GNU C++ for the case where it uses the native
9586 # linker, instead of GNU ld. If possible, this setting should
9587 # overridden to take advantage of the native linker features on
9588 # the platform it is being used on.
9589 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9592 # Commands to make compiler produce verbose output that lists
9593 # what "hidden" libraries, object files and flags are used when
9594 # linking a shared library.
9595 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9603 # PORTME: fill in a description of your system's C++ link characteristics
9604 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9605 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9609 # FIXME: insert proper C++ library support
9613 if test "$host_cpu" = ia64; then
9614 # On IA64, the linker does run time linking by default, so we don't
9615 # have to do anything special.
9616 aix_use_runtimelinking=no
9617 exp_sym_flag='-Bexport'
9620 aix_use_runtimelinking=no
9622 # Test if we are trying to use run time linking or normal
9623 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9624 # need to do runtime linking.
9625 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9626 for ld_flag in $LDFLAGS; do
9629 aix_use_runtimelinking=yes
9636 exp_sym_flag='-bexport'
9637 no_entry_flag='-bnoentry'
9640 # When large executables or shared objects are built, AIX ld can
9641 # have problems creating the table of contents. If linking a library
9642 # or program results in "error TOC overflow" add -mminimal-toc to
9643 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9644 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9647 hardcode_direct_CXX=yes
9648 hardcode_libdir_separator_CXX=':'
9649 link_all_deplibs_CXX=yes
9651 if test "$GXX" = yes; then
9652 case $host_os in aix4.012|aix4.012.*)
9653 # We only want to do this on AIX 4.2 and lower, the check
9654 # below for broken collect2 doesn't work under 4.3+
9655 collect2name=`${CC} -print-prog-name=collect2`
9656 if test -f "$collect2name" && \
9657 strings "$collect2name" | grep resolve_lib_name >/dev/null
9659 # We have reworked collect2
9660 hardcode_direct_CXX=yes
9662 # We have old collect2
9663 hardcode_direct_CXX=unsupported
9664 # It fails to find uninstalled libraries when the uninstalled
9665 # path is not listed in the libpath. Setting hardcode_minus_L
9666 # to unsupported forces relinking
9667 hardcode_minus_L_CXX=yes
9668 hardcode_libdir_flag_spec_CXX='-L$libdir'
9669 hardcode_libdir_separator_CXX=
9672 shared_flag='-shared'
9675 if test "$host_cpu" = ia64; then
9676 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9677 # chokes on -Wl,-G. The following line is correct:
9680 if test "$aix_use_runtimelinking" = yes; then
9681 shared_flag='${wl}-G'
9683 shared_flag='${wl}-bM:SRE'
9688 # It seems that -bexpall does not export symbols beginning with
9689 # underscore (_), so it is better to generate a list of symbols to export.
9690 always_export_symbols_CXX=yes
9691 if test "$aix_use_runtimelinking" = yes; then
9692 # Warning - without using the other runtime loading flags (-brtl),
9693 # -berok will link without error, but may produce a broken library.
9694 allow_undefined_flag_CXX='-berok'
9695 # Determine the default libpath from the value encoded in an empty executable.
9696 cat >conftest.$ac_ext <<_ACEOF
9697 #line $LINENO "configure"
9700 cat confdefs.h >>conftest.$ac_ext
9701 cat >>conftest.$ac_ext <<_ACEOF
9702 /* end confdefs.h. */
9712 rm -f conftest.$ac_objext conftest$ac_exeext
9713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9714 (eval $ac_link) 2>&5
9716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9717 (exit $ac_status); } &&
9718 { ac_try='test -s conftest$ac_exeext'
9719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9723 (exit $ac_status); }; }; then
9725 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9727 # Check for a 64-bit object if we didn't find anything.
9728 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; }
9731 echo "$as_me: failed program was:" >&5
9732 sed 's/^/| /' conftest.$ac_ext >&5
9735 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9736 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9738 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9740 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"
9742 if test "$host_cpu" = ia64; then
9743 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
9744 allow_undefined_flag_CXX="-z nodefs"
9745 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"
9747 # Determine the default libpath from the value encoded in an empty executable.
9748 cat >conftest.$ac_ext <<_ACEOF
9749 #line $LINENO "configure"
9752 cat confdefs.h >>conftest.$ac_ext
9753 cat >>conftest.$ac_ext <<_ACEOF
9754 /* end confdefs.h. */
9764 rm -f conftest.$ac_objext conftest$ac_exeext
9765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9766 (eval $ac_link) 2>&5
9768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9769 (exit $ac_status); } &&
9770 { ac_try='test -s conftest$ac_exeext'
9771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9775 (exit $ac_status); }; }; then
9777 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9779 # Check for a 64-bit object if we didn't find anything.
9780 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; }
9783 echo "$as_me: failed program was:" >&5
9784 sed 's/^/| /' conftest.$ac_ext >&5
9787 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9788 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9790 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9791 # Warning - without using the other run time loading flags,
9792 # -berok will link without error, but may produce a broken library.
9793 no_undefined_flag_CXX=' ${wl}-bernotok'
9794 allow_undefined_flag_CXX=' ${wl}-berok'
9795 # -bexpall does not export symbols beginning with underscore (_)
9796 always_export_symbols_CXX=yes
9797 # Exported symbols can be pulled into shared objects from archives
9798 whole_archive_flag_spec_CXX=' '
9799 archive_cmds_need_lc_CXX=yes
9800 # This is similar to how AIX traditionally builds it's shared libraries.
9801 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'
9806 case $cc_basename in
9808 # FIXME: insert proper C++ library support
9814 cygwin* | mingw* | pw32*)
9815 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
9816 # as there is no search path for DLLs.
9817 hardcode_libdir_flag_spec_CXX='-L$libdir'
9818 allow_undefined_flag_CXX=unsupported
9819 always_export_symbols_CXX=no
9820 enable_shared_with_static_runtimes_CXX=yes
9822 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9823 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'
9824 # If the export-symbols file already is a .def file (1st line
9825 # is EXPORTS), use it as is; otherwise, prepend...
9826 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9827 cp $export_symbols $output_objdir/$soname.def;
9829 echo EXPORTS > $output_objdir/$soname.def;
9830 cat $export_symbols >> $output_objdir/$soname.def;
9832 $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'
9838 darwin* | rhapsody*)
9839 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9840 archive_cmds_need_lc_CXX=no
9842 rhapsody* | darwin1.[012])
9843 allow_undefined_flag_CXX='-undefined suppress'
9846 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9849 lt_int_apple_cc_single_mod=no
9850 output_verbose_link_cmd='echo'
9851 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9852 lt_int_apple_cc_single_mod=yes
9854 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9855 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9857 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'
9859 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9861 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9862 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9863 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}'
9865 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}'
9867 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}'
9868 hardcode_direct_CXX=no
9869 hardcode_automatic_CXX=yes
9870 hardcode_shlibpath_var_CXX=unsupported
9871 whole_archive_flag_spec_CXX='-all_load $convenience'
9872 link_all_deplibs_CXX=yes
9877 case $cc_basename in
9879 # FIXME: insert proper C++ library support
9883 # Green Hills C++ Compiler
9884 # FIXME: insert proper C++ library support
9888 # FIXME: insert proper C++ library support
9894 # C++ shared libraries reported to be fairly broken before switch to ELF
9898 archive_cmds_need_lc_CXX=no
9901 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
9908 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9909 hardcode_libdir_separator_CXX=:
9910 export_dynamic_flag_spec_CXX='${wl}-E'
9911 hardcode_direct_CXX=yes
9912 hardcode_minus_L_CXX=yes # Not in the search PATH,
9913 # but as the default
9914 # location of the library.
9916 case $cc_basename in
9918 # FIXME: insert proper C++ library support
9922 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'
9923 # Commands to make compiler produce verbose output that lists
9924 # what "hidden" libraries, object files and flags are used when
9925 # linking a shared library.
9927 # There doesn't appear to be a way to prevent this compiler from
9928 # explicitly linking system object files so we need to strip them
9929 # from the output so that they don't get included in the library
9931 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'
9934 if test "$GXX" = yes; then
9935 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'
9937 # FIXME: insert proper C++ library support
9944 if test $with_gnu_ld = no; then
9947 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9948 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
9949 hardcode_libdir_separator_CXX=:
9952 hardcode_libdir_flag_spec_CXX='-L$libdir'
9955 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9956 hardcode_libdir_separator_CXX=:
9957 export_dynamic_flag_spec_CXX='${wl}-E'
9963 hardcode_direct_CXX=no
9964 hardcode_shlibpath_var_CXX=no
9967 hardcode_direct_CXX=no
9968 hardcode_shlibpath_var_CXX=no
9969 hardcode_minus_L_CXX=yes # Not in the search PATH,
9970 # but as the default
9971 # location of the library.
9974 hardcode_direct_CXX=yes
9975 hardcode_minus_L_CXX=yes # Not in the search PATH,
9976 # but as the default
9977 # location of the library.
9981 case $cc_basename in
9983 # FIXME: insert proper C++ library support
9989 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
9992 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
9995 # Commands to make compiler produce verbose output that lists
9996 # what "hidden" libraries, object files and flags are used when
9997 # linking a shared library.
9999 # There doesn't appear to be a way to prevent this compiler from
10000 # explicitly linking system object files so we need to strip them
10001 # from the output so that they don't get included in the library
10003 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'
10006 if test "$GXX" = yes; then
10007 if test $with_gnu_ld = no; then
10008 case "$host_cpu" in
10010 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10013 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'
10018 # FIXME: insert proper C++ library support
10025 case $cc_basename in
10028 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'
10030 # Archives containing C++ object files must be created using
10031 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10032 # necessary to make sure instantiated templates are included
10034 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10037 if test "$GXX" = yes; then
10038 if test "$with_gnu_ld" = no; then
10039 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'
10041 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'
10044 link_all_deplibs_CXX=yes
10047 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10048 hardcode_libdir_separator_CXX=:
10051 case $cc_basename in
10053 # Kuck and Associates, Inc. (KAI) C++ Compiler
10055 # KCC will only create a shared library if the output file
10056 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10057 # to its proper name (with version) after linking.
10058 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'
10059 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'
10060 # Commands to make compiler produce verbose output that lists
10061 # what "hidden" libraries, object files and flags are used when
10062 # linking a shared library.
10064 # There doesn't appear to be a way to prevent this compiler from
10065 # explicitly linking system object files so we need to strip them
10066 # from the output so that they don't get included in the library
10068 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'
10070 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10071 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10073 # Archives containing C++ object files must be created using
10074 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10075 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10080 archive_cmds_need_lc_CXX=no
10081 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10082 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'
10083 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10084 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10085 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10089 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10090 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'
10092 runpath_var=LD_RUN_PATH
10093 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10094 hardcode_libdir_separator_CXX=:
10096 # Commands to make compiler produce verbose output that lists
10097 # what "hidden" libraries, object files and flags are used when
10098 # linking a shared library.
10100 # There doesn't appear to be a way to prevent this compiler from
10101 # explicitly linking system object files so we need to strip them
10102 # from the output so that they don't get included in the library
10104 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'
10109 # FIXME: insert proper C++ library support
10113 # FIXME: insert proper C++ library support
10117 case $cc_basename in
10119 # FIXME: insert proper C++ library support
10123 # FIXME: insert proper C++ library support
10129 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10130 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10132 hardcode_libdir_flag_spec_CXX='-R$libdir'
10133 hardcode_direct_CXX=yes
10134 hardcode_shlibpath_var_CXX=no
10136 # Workaround some broken pre-1.5 toolchains
10137 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10140 case $cc_basename in
10142 # Kuck and Associates, Inc. (KAI) C++ Compiler
10144 # KCC will only create a shared library if the output file
10145 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10146 # to its proper name (with version) after linking.
10147 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'
10149 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10150 hardcode_libdir_separator_CXX=:
10152 # Archives containing C++ object files must be created using
10153 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10154 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10158 # Rational C++ 2.4.1
10159 # FIXME: insert proper C++ library support
10163 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10164 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'
10166 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10167 hardcode_libdir_separator_CXX=:
10169 # Commands to make compiler produce verbose output that lists
10170 # what "hidden" libraries, object files and flags are used when
10171 # linking a shared library.
10173 # There doesn't appear to be a way to prevent this compiler from
10174 # explicitly linking system object files so we need to strip them
10175 # from the output so that they don't get included in the library
10177 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'
10180 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10181 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10182 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'
10184 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10185 hardcode_libdir_separator_CXX=:
10187 # Commands to make compiler produce verbose output that lists
10188 # what "hidden" libraries, object files and flags are used when
10189 # linking a shared library.
10190 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10193 # FIXME: insert proper C++ library support
10200 case $cc_basename in
10202 # Kuck and Associates, Inc. (KAI) C++ Compiler
10204 # KCC will only create a shared library if the output file
10205 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10206 # to its proper name (with version) after linking.
10207 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'
10209 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10210 hardcode_libdir_separator_CXX=:
10212 # Archives containing C++ object files must be created using
10213 # the KAI C++ compiler.
10214 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10217 # Rational C++ 2.4.1
10218 # FIXME: insert proper C++ library support
10222 allow_undefined_flag_CXX=' -expect_unresolved \*'
10223 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'
10224 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10225 echo "-hidden">> $lib.exp~
10226 $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~
10229 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10230 hardcode_libdir_separator_CXX=:
10232 # Commands to make compiler produce verbose output that lists
10233 # what "hidden" libraries, object files and flags are used when
10234 # linking a shared library.
10236 # There doesn't appear to be a way to prevent this compiler from
10237 # explicitly linking system object files so we need to strip them
10238 # from the output so that they don't get included in the library
10240 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'
10243 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10244 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10245 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'
10247 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10248 hardcode_libdir_separator_CXX=:
10250 # Commands to make compiler produce verbose output that lists
10251 # what "hidden" libraries, object files and flags are used when
10252 # linking a shared library.
10253 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10256 # FIXME: insert proper C++ library support
10263 # FIXME: insert proper C++ library support
10267 archive_cmds_need_lc_CXX=no
10268 case $cc_basename in
10270 # FIXME: insert proper C++ library support
10274 # FIXME: insert proper C++ library support
10280 case $cc_basename in
10283 # FIXME: insert proper C++ library support
10288 # FIXME: insert proper C++ library support
10292 # FIXME: insert proper C++ library support
10298 case $cc_basename in
10300 # Sun C++ 4.2, 5.x and Centerline C++
10301 no_undefined_flag_CXX=' -zdefs'
10302 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10303 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10304 $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'
10306 hardcode_libdir_flag_spec_CXX='-R$libdir'
10307 hardcode_shlibpath_var_CXX=no
10309 solaris2.0-5 | solaris2.0-5.*) ;;
10311 # The C++ compiler is used as linker so we must use $wl
10312 # flag to pass the commands to the underlying system
10314 # Supported since Solaris 2.6 (maybe 2.5.1?)
10315 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10318 link_all_deplibs_CXX=yes
10320 # Commands to make compiler produce verbose output that lists
10321 # what "hidden" libraries, object files and flags are used when
10322 # linking a shared library.
10324 # There doesn't appear to be a way to prevent this compiler from
10325 # explicitly linking system object files so we need to strip them
10326 # from the output so that they don't get included in the library
10328 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'
10330 # Archives containing C++ object files must be created using
10331 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10332 # necessary to make sure instantiated templates are included
10334 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10337 # Green Hills C++ Compiler
10338 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10340 # The C++ compiler must be used to create the archive.
10341 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10344 # GNU C++ compiler with Solaris linker
10345 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10346 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10347 if $CC --version | grep -v '^2\.7' > /dev/null; then
10348 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10349 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10350 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10352 # Commands to make compiler produce verbose output that lists
10353 # what "hidden" libraries, object files and flags are used when
10354 # linking a shared library.
10355 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10357 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10359 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10360 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10361 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10363 # Commands to make compiler produce verbose output that lists
10364 # what "hidden" libraries, object files and flags are used when
10365 # linking a shared library.
10366 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10369 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10374 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10375 archive_cmds_need_lc_CXX=no
10378 case $cc_basename in
10380 # NonStop-UX NCC 3.20
10381 # FIXME: insert proper C++ library support
10385 # FIXME: insert proper C++ library support
10391 # FIXME: insert proper C++ library support
10395 # FIXME: insert proper C++ library support
10399 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10400 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10401 test "$ld_shlibs_CXX" = no && can_build_shared=no
10407 ## There is no encapsulation within the following macros, do not change
10408 ## the running order or otherwise move them around unless you know exactly
10409 ## what you are doing...
10411 cat > conftest.$ac_ext <<EOF
10415 Foo (void) { a = 0; }
10421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10422 (eval $ac_compile) 2>&5
10424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10425 (exit $ac_status); }; then
10426 # Parse the compiler output and extract the necessary
10427 # objects, libraries and library flags.
10429 # Sentinel used to keep track of whether or not we are before
10430 # the conftest object file.
10431 pre_test_object_deps_done=no
10433 # The `*' in the case matches for architectures that use `case' in
10434 # $output_verbose_cmd can trigger glob expansion during the loop
10435 # eval without this substitution.
10436 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10438 for p in `eval $output_verbose_link_cmd`; do
10442 # Some compilers place space between "-{L,R}" and the path.
10443 # Remove the space.
10444 if test $p = "-L" \
10445 || test $p = "-R"; then
10452 if test "$pre_test_object_deps_done" = no; then
10455 # Internal compiler library paths should come after those
10456 # provided the user. The postdeps already come after the
10457 # user supplied libs so there is no need to process them.
10458 if test -z "$compiler_lib_search_path_CXX"; then
10459 compiler_lib_search_path_CXX="${prev}${p}"
10461 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10464 # The "-l" case would never come before the object being
10465 # linked, so don't bother handling this case.
10468 if test -z "$postdeps_CXX"; then
10469 postdeps_CXX="${prev}${p}"
10471 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10477 # This assumes that the test object file only shows up
10478 # once in the compiler output.
10479 if test "$p" = "conftest.$objext"; then
10480 pre_test_object_deps_done=yes
10484 if test "$pre_test_object_deps_done" = no; then
10485 if test -z "$predep_objects_CXX"; then
10486 predep_objects_CXX="$p"
10488 predep_objects_CXX="$predep_objects_CXX $p"
10491 if test -z "$postdep_objects_CXX"; then
10492 postdep_objects_CXX="$p"
10494 postdep_objects_CXX="$postdep_objects_CXX $p"
10499 *) ;; # Ignore the rest.
10507 echo "libtool.m4: error: problem compiling CXX test program"
10510 $rm -f confest.$objext
10512 case " $postdeps_CXX " in
10513 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
10516 lt_prog_compiler_wl_CXX=
10517 lt_prog_compiler_pic_CXX=
10518 lt_prog_compiler_static_CXX=
10520 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10521 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10523 # C++ specific cases for pic, static, wl, etc.
10524 if test "$GXX" = yes; then
10525 lt_prog_compiler_wl_CXX='-Wl,'
10526 lt_prog_compiler_static_CXX='-static'
10530 # All AIX code is PIC.
10531 if test "$host_cpu" = ia64; then
10532 # AIX 5 now supports IA64 processor
10533 lt_prog_compiler_static_CXX='-Bstatic'
10537 # FIXME: we need at least 68020 code to build shared libraries, but
10538 # adding the `-m68020' flag to GCC prevents building anything better,
10540 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10542 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10543 # PIC is the default for these OSes.
10545 mingw* | os2* | pw32*)
10546 # This hack is so that the source file can tell whether it is being
10547 # built for inclusion in a dll (and should export symbols for example).
10548 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10550 darwin* | rhapsody*)
10551 # PIC is the default on this platform
10552 # Common symbols not allowed in MH_DYLIB files
10553 lt_prog_compiler_pic_CXX='-fno-common'
10556 # DJGPP does not support shared libraries at all
10557 lt_prog_compiler_pic_CXX=
10560 if test -d /usr/nec; then
10561 lt_prog_compiler_pic_CXX=-Kconform_pic
10565 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10566 # not for PA HP-UX.
10567 case "$host_cpu" in
10571 lt_prog_compiler_pic_CXX='-fPIC'
10576 lt_prog_compiler_pic_CXX='-fPIC'
10582 # All AIX code is PIC.
10583 if test "$host_cpu" = ia64; then
10584 # AIX 5 now supports IA64 processor
10585 lt_prog_compiler_static_CXX='-Bstatic'
10587 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
10591 case $cc_basename in
10593 # Green Hills C++ Compiler
10594 # _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"
10599 case $cc_basename in
10601 lt_prog_compiler_pic_CXX='-KPIC'
10604 # Green Hills C++ Compiler
10605 lt_prog_compiler_pic_CXX='-pic'
10612 # FreeBSD uses GNU C++
10614 hpux9* | hpux10* | hpux11*)
10615 case $cc_basename in
10617 lt_prog_compiler_wl_CXX='-Wl,'
10618 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10619 if test "$host_cpu" != ia64; then
10620 lt_prog_compiler_pic_CXX='+Z'
10624 lt_prog_compiler_wl_CXX='-Wl,'
10625 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10626 case "$host_cpu" in
10631 lt_prog_compiler_pic_CXX='+Z'
10639 irix5* | irix6* | nonstopux*)
10640 case $cc_basename in
10642 lt_prog_compiler_wl_CXX='-Wl,'
10643 lt_prog_compiler_static_CXX='-non_shared'
10644 # CC pic flag -KPIC is the default.
10651 case $cc_basename in
10654 lt_prog_compiler_wl_CXX='--backend -Wl,'
10655 lt_prog_compiler_pic_CXX='-fPIC'
10659 lt_prog_compiler_wl_CXX='-Wl,'
10660 lt_prog_compiler_pic_CXX='-KPIC'
10661 lt_prog_compiler_static_CXX='-static'
10665 # Make sure the PIC flag is empty. It appears that all Alpha
10666 # Linux and Compaq Tru64 Unix objects are PIC.
10667 lt_prog_compiler_pic_CXX=
10668 lt_prog_compiler_static_CXX='-non_shared'
10679 case $cc_basename in
10681 lt_prog_compiler_pic_CXX='-W c,exportall'
10689 osf3* | osf4* | osf5*)
10690 case $cc_basename in
10692 lt_prog_compiler_wl_CXX='--backend -Wl,'
10695 # Rational C++ 2.4.1
10696 lt_prog_compiler_pic_CXX='-pic'
10699 # Digital/Compaq C++
10700 lt_prog_compiler_wl_CXX='-Wl,'
10701 # Make sure the PIC flag is empty. It appears that all Alpha
10702 # Linux and Compaq Tru64 Unix objects are PIC.
10703 lt_prog_compiler_pic_CXX=
10704 lt_prog_compiler_static_CXX='-non_shared'
10713 case $cc_basename in
10715 lt_prog_compiler_pic_CXX='-fPIC'
10722 case $cc_basename in
10724 # Sun C++ 4.2, 5.x and Centerline C++
10725 lt_prog_compiler_pic_CXX='-KPIC'
10726 lt_prog_compiler_static_CXX='-Bstatic'
10727 lt_prog_compiler_wl_CXX='-Qoption ld '
10730 # Green Hills C++ Compiler
10731 lt_prog_compiler_pic_CXX='-PIC'
10738 case $cc_basename in
10741 lt_prog_compiler_pic_CXX='-pic'
10742 lt_prog_compiler_static_CXX='-Bstatic'
10746 lt_prog_compiler_pic_CXX='-pic'
10753 case $cc_basename in
10755 # NonStop-UX NCC 3.20
10756 lt_prog_compiler_pic_CXX='-KPIC'
10767 lt_prog_compiler_can_build_shared_CXX=no
10772 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10773 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
10776 # Check to make sure the PIC flag actually works.
10778 if test -n "$lt_prog_compiler_pic_CXX"; then
10779 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10780 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
10781 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10782 echo $ECHO_N "(cached) $ECHO_C" >&6
10784 lt_prog_compiler_pic_works_CXX=no
10785 ac_outfile=conftest.$ac_objext
10786 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10787 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
10788 # Insert the option either (1) after the last *FLAGS variable, or
10789 # (2) before a word containing "conftest.", or (3) at the end.
10790 # Note that $ac_compile itself does not contain backslashes and begins
10791 # with a dollar sign (not a hyphen), so the echo should work correctly.
10792 # The option is referenced via a variable to avoid confusing sed.
10793 lt_compile=`echo "$ac_compile" | $SED \
10794 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10795 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10796 -e 's:$: $lt_compiler_flag:'`
10797 (eval echo "\"\$as_me:10797: $lt_compile\"" >&5)
10798 (eval "$lt_compile" 2>conftest.err)
10800 cat conftest.err >&5
10801 echo "$as_me:10801: \$? = $ac_status" >&5
10802 if (exit $ac_status) && test -s "$ac_outfile"; then
10803 # The compiler can only warn and ignore the option if not recognized
10804 # So say no if there are warnings
10805 if test ! -s conftest.err; then
10806 lt_prog_compiler_pic_works_CXX=yes
10812 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10813 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
10815 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
10816 case $lt_prog_compiler_pic_CXX in
10818 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
10821 lt_prog_compiler_pic_CXX=
10822 lt_prog_compiler_can_build_shared_CXX=no
10827 # For platforms which do not support PIC, -DPIC is meaningless:
10829 lt_prog_compiler_pic_CXX=
10832 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
10836 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10837 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10838 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
10839 echo $ECHO_N "(cached) $ECHO_C" >&6
10841 lt_cv_prog_compiler_c_o_CXX=no
10842 $rm -r conftest 2>/dev/null
10846 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10848 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10849 # that will create temporary files in the current directory regardless of
10850 # the output directory. Thus, making CWD read-only will cause this test
10851 # to fail, enabling locking or at least warning the user not to do parallel
10855 lt_compiler_flag="-o out/conftest2.$ac_objext"
10856 # Insert the option either (1) after the last *FLAGS variable, or
10857 # (2) before a word containing "conftest.", or (3) at the end.
10858 # Note that $ac_compile itself does not contain backslashes and begins
10859 # with a dollar sign (not a hyphen), so the echo should work correctly.
10860 lt_compile=`echo "$ac_compile" | $SED \
10861 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10862 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10863 -e 's:$: $lt_compiler_flag:'`
10864 (eval echo "\"\$as_me:10864: $lt_compile\"" >&5)
10865 (eval "$lt_compile" 2>out/conftest.err)
10867 cat out/conftest.err >&5
10868 echo "$as_me:10868: \$? = $ac_status" >&5
10869 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10871 # The compiler can only warn and ignore the option if not recognized
10872 # So say no if there are warnings
10873 if test ! -s out/conftest.err; then
10874 lt_cv_prog_compiler_c_o_CXX=yes
10878 $rm conftest* out/*
10885 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10886 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
10889 hard_links="nottested"
10890 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
10891 # do not overwrite the value of need_locks provided by the user
10892 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10893 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10896 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10898 ln conftest.a conftest.b 2>&5 || hard_links=no
10899 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10900 echo "$as_me:$LINENO: result: $hard_links" >&5
10901 echo "${ECHO_T}$hard_links" >&6
10902 if test "$hard_links" = no; then
10903 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10904 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10911 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10912 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10914 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10917 # If we're using GNU nm, then we don't want the "-C" option.
10918 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10919 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10920 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'
10922 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'
10926 export_symbols_cmds_CXX="$ltdll_cmds"
10929 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10932 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10936 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10937 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10938 test "$ld_shlibs_CXX" = no && can_build_shared=no
10940 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10941 if test "$GCC" = yes; then
10942 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10946 # Do we need to explicitly link libc?
10948 case "x$archive_cmds_need_lc_CXX" in
10950 # Assume -lc should be added
10951 archive_cmds_need_lc_CXX=yes
10953 if test "$enable_shared" = yes && test "$GCC" = yes; then
10954 case $archive_cmds_CXX in
10956 # FIXME: we may have to deal with multi-command sequences.
10959 # Test whether the compiler implicitly links with -lc since on some
10960 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10961 # to ld, don't add -lc before -lgcc.
10962 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10963 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10965 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10968 (eval $ac_compile) 2>&5
10970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10971 (exit $ac_status); } 2>conftest.err; then
10974 libobjs=conftest.$ac_objext
10976 wl=$lt_prog_compiler_wl_CXX
10982 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
10983 allow_undefined_flag_CXX=
10984 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10985 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10988 (exit $ac_status); }
10990 archive_cmds_need_lc_CXX=no
10992 archive_cmds_need_lc_CXX=yes
10994 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
10996 cat conftest.err 1>&5
10999 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11000 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11007 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11008 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11009 hardcode_action_CXX=
11010 if test -n "$hardcode_libdir_flag_spec_CXX" || \
11011 test -n "$runpath_var CXX" || \
11012 test "X$hardcode_automatic_CXX"="Xyes" ; then
11014 # We can hardcode non-existant directories.
11015 if test "$hardcode_direct_CXX" != no &&
11016 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11017 # have to relink, otherwise we might link with an installed library
11018 # when we should be linking with a yet-to-be-installed one
11019 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
11020 test "$hardcode_minus_L_CXX" != no; then
11021 # Linking always hardcodes the temporary library directory.
11022 hardcode_action_CXX=relink
11024 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11025 hardcode_action_CXX=immediate
11028 # We cannot hardcode anything, or else we can only hardcode existing
11030 hardcode_action_CXX=unsupported
11032 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11033 echo "${ECHO_T}$hardcode_action_CXX" >&6
11035 if test "$hardcode_action_CXX" = relink; then
11036 # Fast installation is not supported
11037 enable_fast_install=no
11038 elif test "$shlibpath_overrides_runpath" = yes ||
11039 test "$enable_shared" = no; then
11040 # Fast installation is not necessary
11041 enable_fast_install=needless
11046 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11047 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11048 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11049 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11050 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11051 echo "$as_me:$LINENO: result: yes" >&5
11052 echo "${ECHO_T}yes" >&6
11054 # FIXME - insert some real tests, host_os isn't really good enough
11057 if test -n "$STRIP" ; then
11058 striplib="$STRIP -x"
11059 echo "$as_me:$LINENO: result: yes" >&5
11060 echo "${ECHO_T}yes" >&6
11062 echo "$as_me:$LINENO: result: no" >&5
11063 echo "${ECHO_T}no" >&6
11067 echo "$as_me:$LINENO: result: no" >&5
11068 echo "${ECHO_T}no" >&6
11073 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11074 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11075 library_names_spec=
11076 libname_spec='lib$name'
11080 postuninstall_cmds=
11084 shlibpath_overrides_runpath=unknown
11086 dynamic_linker="$host_os ld.so"
11087 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11088 if test "$GCC" = yes; then
11089 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11090 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11091 # if the path contains ";" then we assume it to be the separator
11092 # otherwise default to the standard path separator (i.e. ":") - it is
11093 # assumed that no part of a normal pathname contains ";" but that should
11094 # okay in the real world where ";" in dirpaths is itself problematic.
11095 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11097 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11100 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11102 need_lib_prefix=unknown
11103 hardcode_into_libs=no
11105 # when you set need_version to no, make sure it does not cause -set_version
11106 # flags to be left without arguments
11107 need_version=unknown
11112 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11113 shlibpath_var=LIBPATH
11115 # AIX 3 has no versioning support, so we append a major version to the name.
11116 soname_spec='${libname}${release}${shared_ext}$major'
11123 hardcode_into_libs=yes
11124 if test "$host_cpu" = ia64; then
11125 # AIX 5 supports IA64
11126 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11127 shlibpath_var=LD_LIBRARY_PATH
11129 # With GCC up to 2.95.x, collect2 would create an import file
11130 # for dependence libraries. The import file would start with
11131 # the line `#! .'. This would cause the generated library to
11132 # depend on `.', always an invalid library. This was fixed in
11133 # development snapshots of GCC prior to 3.0.
11135 aix4 | aix4.[01] | aix4.[01].*)
11136 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11138 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11141 can_build_shared=no
11145 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11146 # soname into executable. Probably we can add versioning support to
11147 # collect2, so additional links can be useful in future.
11148 if test "$aix_use_runtimelinking" = yes; then
11149 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11150 # instead of lib<name>.a to let people know that these are not
11151 # typical AIX shared libraries.
11152 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11154 # We preserve .a as extension for shared libraries through AIX4.2
11155 # and later when we are not doing run time linking.
11156 library_names_spec='${libname}${release}.a $libname.a'
11157 soname_spec='${libname}${release}${shared_ext}$major'
11159 shlibpath_var=LIBPATH
11164 library_names_spec='$libname.ixlibrary $libname.a'
11165 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11166 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'
11170 library_names_spec='${libname}${shared_ext}'
11171 dynamic_linker="$host_os ld.so"
11172 shlibpath_var=LIBRARY_PATH
11178 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11179 soname_spec='${libname}${release}${shared_ext}$major'
11180 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11181 shlibpath_var=LD_LIBRARY_PATH
11182 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11183 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11184 # the default ld.so.conf also contains /usr/contrib/lib and
11185 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11186 # libtool to hard-code these into programs
11189 cygwin* | mingw* | pw32*)
11190 version_type=windows
11195 case $GCC,$host_os in
11196 yes,cygwin* | yes,mingw* | yes,pw32*)
11197 library_names_spec='$libname.dll.a'
11198 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11199 postinstall_cmds='base_file=`basename \${file}`~
11200 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11201 dldir=$destdir/`dirname \$dlpath`~
11202 test -d \$dldir || mkdir -p \$dldir~
11203 $install_prog $dir/$dlname \$dldir/$dlname'
11204 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11205 dlpath=$dir/\$dldll~
11207 shlibpath_overrides_runpath=yes
11211 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11212 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11213 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
11216 # MinGW DLLs use traditional 'lib' prefix
11217 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11218 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11219 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11220 # It is most probably a Windows format PATH printed by
11221 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11222 # path with ; separators, and with drive letters. We can handle the
11223 # drive letters (cygwin fileutils understands them), so leave them,
11224 # especially as we might pass files found there to a mingw objdump,
11225 # which wouldn't understand a cygwinified path. Ahh.
11226 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11228 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11232 # pw32 DLLs use 'pw' prefix rather than 'lib'
11233 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11239 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11242 dynamic_linker='Win32 ld.exe'
11243 # FIXME: first we should search . and the directory the executable is in
11247 darwin* | rhapsody*)
11248 dynamic_linker="$host_os dyld"
11249 version_type=darwin
11252 # FIXME: Relying on posixy $() will cause problems for
11253 # cross-compilation, but unfortunately the echo tests do not
11254 # yet detect zsh echo's removal of \ escapes.
11255 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11256 soname_spec='${libname}${release}${major}$shared_ext'
11257 shlibpath_overrides_runpath=yes
11258 shlibpath_var=DYLD_LIBRARY_PATH
11259 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11260 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11261 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
11262 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"`
11264 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11271 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11272 soname_spec='${libname}${release}${shared_ext}$major'
11273 shlibpath_var=LD_LIBRARY_PATH
11281 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11282 version_type=freebsd-$objformat
11283 case $version_type in
11285 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11290 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11294 shlibpath_var=LD_LIBRARY_PATH
11297 shlibpath_overrides_runpath=yes
11299 freebsd3.01* | freebsdelf3.01*)
11300 shlibpath_overrides_runpath=yes
11301 hardcode_into_libs=yes
11304 shlibpath_overrides_runpath=no
11305 hardcode_into_libs=yes
11314 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11315 soname_spec='${libname}${release}${shared_ext}$major'
11316 shlibpath_var=LD_LIBRARY_PATH
11317 hardcode_into_libs=yes
11320 hpux9* | hpux10* | hpux11*)
11321 # Give a soname corresponding to the major version so that dld.sl refuses to
11322 # link against other versions.
11326 case "$host_cpu" in
11329 hardcode_into_libs=yes
11330 dynamic_linker="$host_os dld.so"
11331 shlibpath_var=LD_LIBRARY_PATH
11332 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11333 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11334 soname_spec='${libname}${release}${shared_ext}$major'
11335 if test "X$HPUX_IA64_MODE" = X32; then
11336 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11338 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11340 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11344 hardcode_into_libs=yes
11345 dynamic_linker="$host_os dld.sl"
11346 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_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 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11351 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11355 dynamic_linker="$host_os dld.sl"
11356 shlibpath_var=SHLIB_PATH
11357 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11358 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11359 soname_spec='${libname}${release}${shared_ext}$major'
11362 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11363 postinstall_cmds='chmod 555 $lib'
11366 irix5* | irix6* | nonstopux*)
11368 nonstopux*) version_type=nonstopux ;;
11370 if test "$lt_cv_prog_gnu_ld" = yes; then
11378 soname_spec='${libname}${release}${shared_ext}$major'
11379 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11381 irix5* | nonstopux*)
11382 libsuff= shlibsuff=
11385 case $LD in # libtool.m4 will add one of these switches to LD
11386 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11387 libsuff= shlibsuff= libmagic=32-bit;;
11388 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11389 libsuff=32 shlibsuff=N32 libmagic=N32;;
11390 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11391 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11392 *) libsuff= shlibsuff= libmagic=never-match;;
11396 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11397 shlibpath_overrides_runpath=no
11398 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11399 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11400 hardcode_into_libs=yes
11403 # No shared lib support for Linux oldld, aout, or coff.
11404 linux*oldld* | linux*aout* | linux*coff*)
11408 # This must be Linux ELF.
11413 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11414 soname_spec='${libname}${release}${shared_ext}$major'
11415 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11416 shlibpath_var=LD_LIBRARY_PATH
11417 shlibpath_overrides_runpath=no
11418 # This implies no fast_install, which is unacceptable.
11419 # Some rework will be needed to allow for fast_install
11420 # before this can be enabled.
11421 hardcode_into_libs=yes
11423 # We used to test for /lib/ld.so.1 and disable shared libraries on
11424 # powerpc, because MkLinux only supported shared libraries with the
11425 # GNU dynamic linker. Since this was broken with cross compilers,
11426 # most powerpc-linux boxes support dynamic linking these days and
11427 # people can always --disable-shared, the test was removed, and we
11428 # assume the GNU/Linux dynamic linker is in use.
11429 dynamic_linker='GNU/Linux ld.so'
11436 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11437 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11438 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11439 dynamic_linker='NetBSD (a.out) ld.so'
11441 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11442 soname_spec='${libname}${release}${shared_ext}$major'
11443 dynamic_linker='NetBSD ld.elf_so'
11445 shlibpath_var=LD_LIBRARY_PATH
11446 shlibpath_overrides_runpath=yes
11447 hardcode_into_libs=yes
11452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11453 shlibpath_var=LD_LIBRARY_PATH
11454 shlibpath_overrides_runpath=yes
11461 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11462 soname_spec='${libname}${release}${shared_ext}$major'
11463 shlibpath_var=LD_LIBRARY_PATH
11464 shlibpath_overrides_runpath=yes
11471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11472 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11473 shlibpath_var=LD_LIBRARY_PATH
11474 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11476 openbsd2.[89] | openbsd2.[89].*)
11477 shlibpath_overrides_runpath=no
11480 shlibpath_overrides_runpath=yes
11484 shlibpath_overrides_runpath=yes
11489 libname_spec='$name'
11492 library_names_spec='$libname${shared_ext} $libname.a'
11493 dynamic_linker='OS/2 ld.exe'
11494 shlibpath_var=LIBPATH
11497 osf3* | osf4* | osf5*)
11501 soname_spec='${libname}${release}${shared_ext}$major'
11502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11503 shlibpath_var=LD_LIBRARY_PATH
11504 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11505 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11510 soname_spec='${libname}${release}${shared_ext}$major'
11511 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11512 shlibpath_var=LD_LIBRARY_PATH
11519 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11520 soname_spec='${libname}${release}${shared_ext}$major'
11521 shlibpath_var=LD_LIBRARY_PATH
11522 shlibpath_overrides_runpath=yes
11523 hardcode_into_libs=yes
11524 # ldd complains unless libraries are executable
11525 postinstall_cmds='chmod +x $lib'
11530 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11531 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11532 shlibpath_var=LD_LIBRARY_PATH
11533 shlibpath_overrides_runpath=yes
11534 if test "$with_gnu_ld" = yes; then
11540 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11543 soname_spec='${libname}${release}${shared_ext}$major'
11544 shlibpath_var=LD_LIBRARY_PATH
11545 case $host_vendor in
11547 shlibpath_overrides_runpath=no
11549 export_dynamic_flag_spec='${wl}-Blargedynsym'
11550 runpath_var=LD_RUN_PATH
11558 shlibpath_overrides_runpath=no
11559 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11565 if test -d /usr/nec ;then
11567 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11568 soname_spec='$libname${shared_ext}.$major'
11569 shlibpath_var=LD_LIBRARY_PATH
11575 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11576 soname_spec='${libname}${release}${shared_ext}$major'
11577 shlibpath_var=LD_LIBRARY_PATH
11584 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11585 echo "${ECHO_T}$dynamic_linker" >&6
11586 test "$dynamic_linker" = no && can_build_shared=no
11588 if test "x$enable_dlopen" != xyes; then
11589 enable_dlopen=unknown
11590 enable_dlopen_self=unknown
11591 enable_dlopen_self_static=unknown
11598 lt_cv_dlopen="load_add_on"
11600 lt_cv_dlopen_self=yes
11604 lt_cv_dlopen="LoadLibrary"
11609 lt_cv_dlopen="dlopen"
11614 # if libdl is installed we need to link against it
11615 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11616 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11617 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11618 echo $ECHO_N "(cached) $ECHO_C" >&6
11620 ac_check_lib_save_LIBS=$LIBS
11622 cat >conftest.$ac_ext <<_ACEOF
11623 #line $LINENO "configure"
11626 cat confdefs.h >>conftest.$ac_ext
11627 cat >>conftest.$ac_ext <<_ACEOF
11628 /* end confdefs.h. */
11630 /* Override any gcc2 internal prototype to avoid an error. */
11634 /* We use char because int might match the return type of a gcc2
11635 builtin and then its argument prototype would still apply. */
11645 rm -f conftest.$ac_objext conftest$ac_exeext
11646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11647 (eval $ac_link) 2>&5
11649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11650 (exit $ac_status); } &&
11651 { ac_try='test -s conftest$ac_exeext'
11652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11653 (eval $ac_try) 2>&5
11655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11656 (exit $ac_status); }; }; then
11657 ac_cv_lib_dl_dlopen=yes
11659 echo "$as_me: failed program was:" >&5
11660 sed 's/^/| /' conftest.$ac_ext >&5
11662 ac_cv_lib_dl_dlopen=no
11664 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11665 LIBS=$ac_check_lib_save_LIBS
11667 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11668 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11669 if test $ac_cv_lib_dl_dlopen = yes; then
11670 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11673 lt_cv_dlopen="dyld"
11675 lt_cv_dlopen_self=yes
11682 echo "$as_me:$LINENO: checking for shl_load" >&5
11683 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11684 if test "${ac_cv_func_shl_load+set}" = set; then
11685 echo $ECHO_N "(cached) $ECHO_C" >&6
11687 cat >conftest.$ac_ext <<_ACEOF
11688 #line $LINENO "configure"
11691 cat confdefs.h >>conftest.$ac_ext
11692 cat >>conftest.$ac_ext <<_ACEOF
11693 /* end confdefs.h. */
11694 /* System header to define __stub macros and hopefully few prototypes,
11695 which can conflict with char shl_load (); below.
11696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11697 <limits.h> exists even on freestanding compilers. */
11699 # include <limits.h>
11701 # include <assert.h>
11703 /* Override any gcc2 internal prototype to avoid an error. */
11708 /* We use char because int might match the return type of a gcc2
11709 builtin and then its argument prototype would still apply. */
11711 /* The GNU C library defines this for functions which it implements
11712 to always fail with ENOSYS. Some functions are actually named
11713 something starting with __ and the normal name is an alias. */
11714 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11717 char (*f) () = shl_load;
11726 return f != shl_load;
11731 rm -f conftest.$ac_objext conftest$ac_exeext
11732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11733 (eval $ac_link) 2>&5
11735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11736 (exit $ac_status); } &&
11737 { ac_try='test -s conftest$ac_exeext'
11738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11739 (eval $ac_try) 2>&5
11741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11742 (exit $ac_status); }; }; then
11743 ac_cv_func_shl_load=yes
11745 echo "$as_me: failed program was:" >&5
11746 sed 's/^/| /' conftest.$ac_ext >&5
11748 ac_cv_func_shl_load=no
11750 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11752 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11753 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11754 if test $ac_cv_func_shl_load = yes; then
11755 lt_cv_dlopen="shl_load"
11757 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11758 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11759 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11760 echo $ECHO_N "(cached) $ECHO_C" >&6
11762 ac_check_lib_save_LIBS=$LIBS
11764 cat >conftest.$ac_ext <<_ACEOF
11765 #line $LINENO "configure"
11768 cat confdefs.h >>conftest.$ac_ext
11769 cat >>conftest.$ac_ext <<_ACEOF
11770 /* end confdefs.h. */
11772 /* Override any gcc2 internal prototype to avoid an error. */
11776 /* We use char because int might match the return type of a gcc2
11777 builtin and then its argument prototype would still apply. */
11787 rm -f conftest.$ac_objext conftest$ac_exeext
11788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11789 (eval $ac_link) 2>&5
11791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11792 (exit $ac_status); } &&
11793 { ac_try='test -s conftest$ac_exeext'
11794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11795 (eval $ac_try) 2>&5
11797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11798 (exit $ac_status); }; }; then
11799 ac_cv_lib_dld_shl_load=yes
11801 echo "$as_me: failed program was:" >&5
11802 sed 's/^/| /' conftest.$ac_ext >&5
11804 ac_cv_lib_dld_shl_load=no
11806 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11807 LIBS=$ac_check_lib_save_LIBS
11809 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11810 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11811 if test $ac_cv_lib_dld_shl_load = yes; then
11812 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11814 echo "$as_me:$LINENO: checking for dlopen" >&5
11815 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11816 if test "${ac_cv_func_dlopen+set}" = set; then
11817 echo $ECHO_N "(cached) $ECHO_C" >&6
11819 cat >conftest.$ac_ext <<_ACEOF
11820 #line $LINENO "configure"
11823 cat confdefs.h >>conftest.$ac_ext
11824 cat >>conftest.$ac_ext <<_ACEOF
11825 /* end confdefs.h. */
11826 /* System header to define __stub macros and hopefully few prototypes,
11827 which can conflict with char dlopen (); below.
11828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11829 <limits.h> exists even on freestanding compilers. */
11831 # include <limits.h>
11833 # include <assert.h>
11835 /* Override any gcc2 internal prototype to avoid an error. */
11840 /* We use char because int might match the return type of a gcc2
11841 builtin and then its argument prototype would still apply. */
11843 /* The GNU C library defines this for functions which it implements
11844 to always fail with ENOSYS. Some functions are actually named
11845 something starting with __ and the normal name is an alias. */
11846 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11849 char (*f) () = dlopen;
11858 return f != dlopen;
11863 rm -f conftest.$ac_objext conftest$ac_exeext
11864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11865 (eval $ac_link) 2>&5
11867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11868 (exit $ac_status); } &&
11869 { ac_try='test -s conftest$ac_exeext'
11870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11871 (eval $ac_try) 2>&5
11873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11874 (exit $ac_status); }; }; then
11875 ac_cv_func_dlopen=yes
11877 echo "$as_me: failed program was:" >&5
11878 sed 's/^/| /' conftest.$ac_ext >&5
11880 ac_cv_func_dlopen=no
11882 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11884 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11885 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11886 if test $ac_cv_func_dlopen = yes; then
11887 lt_cv_dlopen="dlopen"
11889 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11890 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11891 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11892 echo $ECHO_N "(cached) $ECHO_C" >&6
11894 ac_check_lib_save_LIBS=$LIBS
11896 cat >conftest.$ac_ext <<_ACEOF
11897 #line $LINENO "configure"
11900 cat confdefs.h >>conftest.$ac_ext
11901 cat >>conftest.$ac_ext <<_ACEOF
11902 /* end confdefs.h. */
11904 /* Override any gcc2 internal prototype to avoid an error. */
11908 /* We use char because int might match the return type of a gcc2
11909 builtin and then its argument prototype would still apply. */
11919 rm -f conftest.$ac_objext conftest$ac_exeext
11920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11921 (eval $ac_link) 2>&5
11923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11924 (exit $ac_status); } &&
11925 { ac_try='test -s conftest$ac_exeext'
11926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11927 (eval $ac_try) 2>&5
11929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11930 (exit $ac_status); }; }; then
11931 ac_cv_lib_dl_dlopen=yes
11933 echo "$as_me: failed program was:" >&5
11934 sed 's/^/| /' conftest.$ac_ext >&5
11936 ac_cv_lib_dl_dlopen=no
11938 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11939 LIBS=$ac_check_lib_save_LIBS
11941 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11942 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11943 if test $ac_cv_lib_dl_dlopen = yes; then
11944 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11946 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11947 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11948 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11949 echo $ECHO_N "(cached) $ECHO_C" >&6
11951 ac_check_lib_save_LIBS=$LIBS
11952 LIBS="-lsvld $LIBS"
11953 cat >conftest.$ac_ext <<_ACEOF
11954 #line $LINENO "configure"
11957 cat confdefs.h >>conftest.$ac_ext
11958 cat >>conftest.$ac_ext <<_ACEOF
11959 /* end confdefs.h. */
11961 /* Override any gcc2 internal prototype to avoid an error. */
11965 /* We use char because int might match the return type of a gcc2
11966 builtin and then its argument prototype would still apply. */
11976 rm -f conftest.$ac_objext conftest$ac_exeext
11977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11978 (eval $ac_link) 2>&5
11980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11981 (exit $ac_status); } &&
11982 { ac_try='test -s conftest$ac_exeext'
11983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11984 (eval $ac_try) 2>&5
11986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11987 (exit $ac_status); }; }; then
11988 ac_cv_lib_svld_dlopen=yes
11990 echo "$as_me: failed program was:" >&5
11991 sed 's/^/| /' conftest.$ac_ext >&5
11993 ac_cv_lib_svld_dlopen=no
11995 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11996 LIBS=$ac_check_lib_save_LIBS
11998 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11999 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12000 if test $ac_cv_lib_svld_dlopen = yes; then
12001 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12003 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12004 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12005 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12006 echo $ECHO_N "(cached) $ECHO_C" >&6
12008 ac_check_lib_save_LIBS=$LIBS
12010 cat >conftest.$ac_ext <<_ACEOF
12011 #line $LINENO "configure"
12014 cat confdefs.h >>conftest.$ac_ext
12015 cat >>conftest.$ac_ext <<_ACEOF
12016 /* end confdefs.h. */
12018 /* Override any gcc2 internal prototype to avoid an error. */
12022 /* We use char because int might match the return type of a gcc2
12023 builtin and then its argument prototype would still apply. */
12033 rm -f conftest.$ac_objext conftest$ac_exeext
12034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12035 (eval $ac_link) 2>&5
12037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12038 (exit $ac_status); } &&
12039 { ac_try='test -s conftest$ac_exeext'
12040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12041 (eval $ac_try) 2>&5
12043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12044 (exit $ac_status); }; }; then
12045 ac_cv_lib_dld_dld_link=yes
12047 echo "$as_me: failed program was:" >&5
12048 sed 's/^/| /' conftest.$ac_ext >&5
12050 ac_cv_lib_dld_dld_link=no
12052 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12053 LIBS=$ac_check_lib_save_LIBS
12055 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12056 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12057 if test $ac_cv_lib_dld_dld_link = yes; then
12058 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12079 if test "x$lt_cv_dlopen" != xno; then
12085 case $lt_cv_dlopen in
12087 save_CPPFLAGS="$CPPFLAGS"
12088 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12090 save_LDFLAGS="$LDFLAGS"
12091 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12094 LIBS="$lt_cv_dlopen_libs $LIBS"
12096 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12097 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12098 if test "${lt_cv_dlopen_self+set}" = set; then
12099 echo $ECHO_N "(cached) $ECHO_C" >&6
12101 if test "$cross_compiling" = yes; then :
12102 lt_cv_dlopen_self=cross
12104 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12105 lt_status=$lt_dlunknown
12106 cat > conftest.$ac_ext <<EOF
12107 #line 12107 "configure"
12108 #include "confdefs.h"
12117 # define LT_DLGLOBAL RTLD_GLOBAL
12120 # define LT_DLGLOBAL DL_GLOBAL
12122 # define LT_DLGLOBAL 0
12126 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12127 find out it does not work in some platform. */
12128 #ifndef LT_DLLAZY_OR_NOW
12130 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12133 # define LT_DLLAZY_OR_NOW DL_LAZY
12136 # define LT_DLLAZY_OR_NOW RTLD_NOW
12139 # define LT_DLLAZY_OR_NOW DL_NOW
12141 # define LT_DLLAZY_OR_NOW 0
12149 extern "C" void exit (int);
12152 void fnord() { int i=42;}
12155 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12156 int status = $lt_dlunknown;
12160 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12161 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12162 /* dlclose (self); */
12168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12169 (eval $ac_link) 2>&5
12171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12172 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12173 (./conftest; exit; ) 2>/dev/null
12175 case x$lt_status in
12176 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12177 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12178 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12181 # compilation failed
12182 lt_cv_dlopen_self=no
12189 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12190 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12192 if test "x$lt_cv_dlopen_self" = xyes; then
12193 LDFLAGS="$LDFLAGS $link_static_flag"
12194 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12195 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12196 if test "${lt_cv_dlopen_self_static+set}" = set; then
12197 echo $ECHO_N "(cached) $ECHO_C" >&6
12199 if test "$cross_compiling" = yes; then :
12200 lt_cv_dlopen_self_static=cross
12202 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12203 lt_status=$lt_dlunknown
12204 cat > conftest.$ac_ext <<EOF
12205 #line 12205 "configure"
12206 #include "confdefs.h"
12215 # define LT_DLGLOBAL RTLD_GLOBAL
12218 # define LT_DLGLOBAL DL_GLOBAL
12220 # define LT_DLGLOBAL 0
12224 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12225 find out it does not work in some platform. */
12226 #ifndef LT_DLLAZY_OR_NOW
12228 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12231 # define LT_DLLAZY_OR_NOW DL_LAZY
12234 # define LT_DLLAZY_OR_NOW RTLD_NOW
12237 # define LT_DLLAZY_OR_NOW DL_NOW
12239 # define LT_DLLAZY_OR_NOW 0
12247 extern "C" void exit (int);
12250 void fnord() { int i=42;}
12253 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12254 int status = $lt_dlunknown;
12258 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12259 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12260 /* dlclose (self); */
12266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12267 (eval $ac_link) 2>&5
12269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12270 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12271 (./conftest; exit; ) 2>/dev/null
12273 case x$lt_status in
12274 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12275 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12276 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12279 # compilation failed
12280 lt_cv_dlopen_self_static=no
12287 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12288 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12291 CPPFLAGS="$save_CPPFLAGS"
12292 LDFLAGS="$save_LDFLAGS"
12297 case $lt_cv_dlopen_self in
12298 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12299 *) enable_dlopen_self=unknown ;;
12302 case $lt_cv_dlopen_self_static in
12303 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12304 *) enable_dlopen_self_static=unknown ;;
12309 # The else clause should only fire when bootstrapping the
12310 # libtool distribution, otherwise you forgot to ship ltmain.sh
12311 # with your package, and you will get complaints that there are
12312 # no rules to generate ltmain.sh.
12313 if test -f "$ltmain"; then
12314 # See if we are running on zsh, and set the options which allow our commands through
12315 # without removal of \ escapes.
12316 if test -n "${ZSH_VERSION+set}" ; then
12317 setopt NO_GLOB_SUBST
12319 # Now quote all the things that may contain metacharacters while being
12320 # careful not to overquote the AC_SUBSTed values. We take copies of the
12321 # variables and quote the copies for generation of the libtool script.
12322 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12323 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12324 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12325 deplibs_check_method reload_flag reload_cmds need_locks \
12326 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12327 lt_cv_sys_global_symbol_to_c_name_address \
12328 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12329 old_postinstall_cmds old_postuninstall_cmds \
12333 lt_prog_compiler_wl_CXX \
12334 lt_prog_compiler_pic_CXX \
12335 lt_prog_compiler_static_CXX \
12336 lt_prog_compiler_no_builtin_flag_CXX \
12337 export_dynamic_flag_spec_CXX \
12338 thread_safe_flag_spec_CXX \
12339 whole_archive_flag_spec_CXX \
12340 enable_shared_with_static_runtimes_CXX \
12341 old_archive_cmds_CXX \
12342 old_archive_from_new_cmds_CXX \
12343 predep_objects_CXX \
12344 postdep_objects_CXX \
12347 compiler_lib_search_path_CXX \
12349 archive_expsym_cmds_CXX \
12350 postinstall_cmds_CXX \
12351 postuninstall_cmds_CXX \
12352 old_archive_from_expsyms_cmds_CXX \
12353 allow_undefined_flag_CXX \
12354 no_undefined_flag_CXX \
12355 export_symbols_cmds_CXX \
12356 hardcode_libdir_flag_spec_CXX \
12357 hardcode_libdir_flag_spec_ld_CXX \
12358 hardcode_libdir_separator_CXX \
12359 hardcode_automatic_CXX \
12361 module_expsym_cmds_CXX \
12362 lt_cv_prog_compiler_c_o_CXX \
12363 exclude_expsyms_CXX \
12364 include_expsyms_CXX; do
12367 old_archive_cmds_CXX | \
12368 old_archive_from_new_cmds_CXX | \
12369 archive_cmds_CXX | \
12370 archive_expsym_cmds_CXX | \
12371 module_cmds_CXX | \
12372 module_expsym_cmds_CXX | \
12373 old_archive_from_expsyms_cmds_CXX | \
12374 export_symbols_cmds_CXX | \
12375 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12376 postinstall_cmds | postuninstall_cmds | \
12377 old_postinstall_cmds | old_postuninstall_cmds | \
12378 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12379 # Double-quote double-evaled strings.
12380 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12383 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12389 *'\$0 --fallback-echo"')
12390 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12396 cat <<__EOF__ >> "$cfgfile"
12397 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12399 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12401 # Shell to use when invoking shell scripts.
12404 # Whether or not to build shared libraries.
12405 build_libtool_libs=$enable_shared
12407 # Whether or not to build static libraries.
12408 build_old_libs=$enable_static
12410 # Whether or not to add -lc for building shared libraries.
12411 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12413 # Whether or not to disallow shared libs when runtime libs are static
12414 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12416 # Whether or not to optimize for fast installation.
12417 fast_install=$enable_fast_install
12420 host_alias=$host_alias
12423 # An echo program that does not interpret backslashes.
12428 AR_FLAGS=$lt_AR_FLAGS
12433 # A language-specific compiler.
12434 CC=$lt_compiler_CXX
12436 # Is the compiler the GNU C compiler?
12442 # The linker used to build libraries.
12445 # Whether we need hard or soft links.
12448 # A BSD-compatible nm program.
12451 # A symbol stripping program
12454 # Used to examine libraries when file_magic_cmd begins "file"
12455 MAGIC_CMD=$MAGIC_CMD
12457 # Used on cygwin: DLL creation program.
12460 # Used on cygwin: object dumper.
12463 # Used on cygwin: assembler.
12466 # The name of the directory that contains temporary libtool files.
12469 # How to create reloadable object files.
12470 reload_flag=$lt_reload_flag
12471 reload_cmds=$lt_reload_cmds
12473 # How to pass a linker flag through the compiler.
12474 wl=$lt_lt_prog_compiler_wl_CXX
12476 # Object file suffix (normally "o").
12477 objext="$ac_objext"
12479 # Old archive suffix (normally "a").
12482 # Shared library suffix (normally ".so").
12485 # Executable file suffix (normally "").
12488 # Additional compiler flags for building library objects.
12489 pic_flag=$lt_lt_prog_compiler_pic_CXX
12492 # What is the maximum length of a command?
12493 max_cmd_len=$lt_cv_sys_max_cmd_len
12495 # Does compiler simultaneously support -c and -o options?
12496 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12498 # Must we lock files when doing compilation ?
12499 need_locks=$lt_need_locks
12501 # Do we need the lib prefix for modules?
12502 need_lib_prefix=$need_lib_prefix
12504 # Do we need a version for libraries?
12505 need_version=$need_version
12507 # Whether dlopen is supported.
12508 dlopen_support=$enable_dlopen
12510 # Whether dlopen of programs is supported.
12511 dlopen_self=$enable_dlopen_self
12513 # Whether dlopen of statically linked programs is supported.
12514 dlopen_self_static=$enable_dlopen_self_static
12516 # Compiler flag to prevent dynamic linking.
12517 link_static_flag=$lt_lt_prog_compiler_static_CXX
12519 # Compiler flag to turn off builtin functions.
12520 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12522 # Compiler flag to allow reflexive dlopens.
12523 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12525 # Compiler flag to generate shared objects directly from archives.
12526 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12528 # Compiler flag to generate thread-safe objects.
12529 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12531 # Library versioning type.
12532 version_type=$version_type
12534 # Format of library name prefix.
12535 libname_spec=$lt_libname_spec
12537 # List of archive names. First name is the real one, the rest are links.
12538 # The last name is the one that the linker finds with -lNAME.
12539 library_names_spec=$lt_library_names_spec
12541 # The coded name of the library, if different from the real name.
12542 soname_spec=$lt_soname_spec
12544 # Commands used to build and install an old-style archive.
12546 old_archive_cmds=$lt_old_archive_cmds_CXX
12547 old_postinstall_cmds=$lt_old_postinstall_cmds
12548 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12550 # Create an old-style archive from a shared archive.
12551 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12553 # Create a temporary old-style archive to link instead of a shared archive.
12554 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12556 # Commands used to build and install a shared archive.
12557 archive_cmds=$lt_archive_cmds_CXX
12558 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12559 postinstall_cmds=$lt_postinstall_cmds
12560 postuninstall_cmds=$lt_postuninstall_cmds
12562 # Commands used to build a loadable module (assumed same as above if empty)
12563 module_cmds=$lt_module_cmds_CXX
12564 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12566 # Commands to strip libraries.
12567 old_striplib=$lt_old_striplib
12568 striplib=$lt_striplib
12570 # Dependencies to place before the objects being linked to create a
12572 predep_objects=$lt_predep_objects_CXX
12574 # Dependencies to place after the objects being linked to create a
12576 postdep_objects=$lt_postdep_objects_CXX
12578 # Dependencies to place before the objects being linked to create a
12580 predeps=$lt_predeps_CXX
12582 # Dependencies to place after the objects being linked to create a
12584 postdeps=$lt_postdeps_CXX
12586 # The library search path used internally by the compiler when linking
12587 # a shared library.
12588 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12590 # Method to check whether dependent libraries are shared objects.
12591 deplibs_check_method=$lt_deplibs_check_method
12593 # Command to use when deplibs_check_method == file_magic.
12594 file_magic_cmd=$lt_file_magic_cmd
12596 # Flag that allows shared libraries with undefined symbols to be built.
12597 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12599 # Flag that forces no undefined symbols.
12600 no_undefined_flag=$lt_no_undefined_flag_CXX
12602 # Commands used to finish a libtool library installation in a directory.
12603 finish_cmds=$lt_finish_cmds
12605 # Same as above, but a single script fragment to be evaled but not shown.
12606 finish_eval=$lt_finish_eval
12608 # Take the output of nm and produce a listing of raw symbols and C names.
12609 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12611 # Transform the output of nm in a proper C declaration
12612 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12614 # Transform the output of nm in a C name address pair
12615 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12617 # This is the shared library runtime path variable.
12618 runpath_var=$runpath_var
12620 # This is the shared library path variable.
12621 shlibpath_var=$shlibpath_var
12623 # Is shlibpath searched before the hard-coded library search path?
12624 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12626 # How to hardcode a shared library path into an executable.
12627 hardcode_action=$hardcode_action_CXX
12629 # Whether we should hardcode library paths into libraries.
12630 hardcode_into_libs=$hardcode_into_libs
12632 # Flag to hardcode \$libdir into a binary during linking.
12633 # This must work even if \$libdir does not exist.
12634 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12636 # If ld is used when linking, flag to hardcode \$libdir into
12637 # a binary during linking. This must work even if \$libdir does
12639 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12641 # Whether we need a single -rpath flag with a separated argument.
12642 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12644 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12645 # resulting binary.
12646 hardcode_direct=$hardcode_direct_CXX
12648 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12649 # resulting binary.
12650 hardcode_minus_L=$hardcode_minus_L_CXX
12652 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12653 # the resulting binary.
12654 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12656 # Set to yes if building a shared library automatically hardcodes DIR into the library
12657 # and all subsequent libraries and executables linked against it.
12658 hardcode_automatic=$hardcode_automatic_CXX
12660 # Variables whose values should be saved in libtool wrapper scripts and
12661 # restored at relink time.
12662 variables_saved_for_relink="$variables_saved_for_relink"
12664 # Whether libtool must link a program against all its dependency libraries.
12665 link_all_deplibs=$link_all_deplibs_CXX
12667 # Compile-time system search path for libraries
12668 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12670 # Run-time system search path for libraries
12671 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12673 # Fix the shell variable \$srcfile for the compiler.
12674 fix_srcfile_path="$fix_srcfile_path_CXX"
12676 # Set to yes if exported symbols are required.
12677 always_export_symbols=$always_export_symbols_CXX
12679 # The commands to list exported symbols.
12680 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12682 # The commands to extract the exported symbol list from a shared archive.
12683 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12685 # Symbols that should not be listed in the preloaded symbols.
12686 exclude_expsyms=$lt_exclude_expsyms_CXX
12688 # Symbols that must always be exported.
12689 include_expsyms=$lt_include_expsyms_CXX
12691 # ### END LIBTOOL TAG CONFIG: $tagname
12697 # If there is no Makefile yet, we rely on a make rule to execute
12698 # `config.status --recheck' to rerun these tests and create the
12699 # libtool script then.
12700 test -f Makefile && make "$ltmain"
12705 ac_cpp='$CPP $CPPFLAGS'
12706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12714 with_gnu_ldcxx=$with_gnu_ld
12715 with_gnu_ld=$lt_save_with_gnu_ld
12716 lt_cv_path_LDCXX=$lt_cv_path_LD
12717 lt_cv_path_LD=$lt_save_path_LD
12718 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12719 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12727 if test -n "$F77" && test "X$F77" != "Xno"; then
12730 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12731 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12732 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12735 archive_cmds_need_lc_F77=no
12736 allow_undefined_flag_F77=
12737 always_export_symbols_F77=no
12738 archive_expsym_cmds_F77=
12739 export_dynamic_flag_spec_F77=
12740 hardcode_direct_F77=no
12741 hardcode_libdir_flag_spec_F77=
12742 hardcode_libdir_flag_spec_ld_F77=
12743 hardcode_libdir_separator_F77=
12744 hardcode_minus_L_F77=no
12745 hardcode_automatic_F77=no
12747 module_expsym_cmds_F77=
12748 link_all_deplibs_F77=unknown
12749 old_archive_cmds_F77=$old_archive_cmds
12750 no_undefined_flag_F77=
12751 whole_archive_flag_spec_F77=
12752 enable_shared_with_static_runtimes_F77=no
12754 # Source file extension for f77 test sources.
12757 # Object file extension for compiled f77 test sources.
12761 # Code to be used in simple compile tests
12762 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12764 # Code to be used in simple link tests
12765 lt_simple_link_test_code=" program t\n end\n"
12767 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12769 # If no C compiler was specified, use CC.
12772 # Allow CC to be a program name with arguments.
12776 # Allow CC to be a program name with arguments.
12781 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12783 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12784 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12785 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12786 echo "${ECHO_T}$can_build_shared" >&6
12788 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12789 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12790 test "$can_build_shared" = "no" && enable_shared=no
12792 # On AIX, shared libraries and static libraries use the same namespace, and
12793 # are all built from PIC.
12796 test "$enable_shared" = yes && enable_static=no
12797 if test -n "$RANLIB"; then
12798 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12799 postinstall_cmds='$RANLIB $lib'
12803 test "$enable_shared" = yes && enable_static=no
12806 echo "$as_me:$LINENO: result: $enable_shared" >&5
12807 echo "${ECHO_T}$enable_shared" >&6
12809 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12810 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12811 # Make sure either enable_shared or enable_static is yes.
12812 test "$enable_shared" = yes || enable_static=yes
12813 echo "$as_me:$LINENO: result: $enable_static" >&5
12814 echo "${ECHO_T}$enable_static" >&6
12816 test "$ld_shlibs_F77" = no && can_build_shared=no
12821 lt_prog_compiler_wl_F77=
12822 lt_prog_compiler_pic_F77=
12823 lt_prog_compiler_static_F77=
12825 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12826 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12828 if test "$GCC" = yes; then
12829 lt_prog_compiler_wl_F77='-Wl,'
12830 lt_prog_compiler_static_F77='-static'
12834 # All AIX code is PIC.
12835 if test "$host_cpu" = ia64; then
12836 # AIX 5 now supports IA64 processor
12837 lt_prog_compiler_static_F77='-Bstatic'
12842 # FIXME: we need at least 68020 code to build shared libraries, but
12843 # adding the `-m68020' flag to GCC prevents building anything better,
12845 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12848 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12849 # PIC is the default for these OSes.
12852 mingw* | pw32* | os2*)
12853 # This hack is so that the source file can tell whether it is being
12854 # built for inclusion in a dll (and should export symbols for example).
12855 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12858 darwin* | rhapsody*)
12859 # PIC is the default on this platform
12860 # Common symbols not allowed in MH_DYLIB files
12861 lt_prog_compiler_pic_F77='-fno-common'
12865 # Just because we use GCC doesn't mean we suddenly get shared libraries
12866 # on systems that don't support them.
12867 lt_prog_compiler_can_build_shared_F77=no
12872 if test -d /usr/nec; then
12873 lt_prog_compiler_pic_F77=-Kconform_pic
12878 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12879 # not for PA HP-UX.
12880 case "$host_cpu" in
12885 lt_prog_compiler_pic_F77='-fPIC'
12891 lt_prog_compiler_pic_F77='-fPIC'
12895 # PORTME Check for flag to pass linker flags through the system compiler.
12898 lt_prog_compiler_wl_F77='-Wl,'
12899 if test "$host_cpu" = ia64; then
12900 # AIX 5 now supports IA64 processor
12901 lt_prog_compiler_static_F77='-Bstatic'
12903 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12907 mingw* | pw32* | os2*)
12908 # This hack is so that the source file can tell whether it is being
12909 # built for inclusion in a dll (and should export symbols for example).
12910 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12913 hpux9* | hpux10* | hpux11*)
12914 lt_prog_compiler_wl_F77='-Wl,'
12915 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12916 # not for PA HP-UX.
12917 case "$host_cpu" in
12922 lt_prog_compiler_pic_F77='+Z'
12925 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12926 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
12929 irix5* | irix6* | nonstopux*)
12930 lt_prog_compiler_wl_F77='-Wl,'
12931 # PIC (with -KPIC) is the default.
12932 lt_prog_compiler_static_F77='-non_shared'
12936 lt_prog_compiler_pic_F77='-KPIC'
12937 lt_prog_compiler_static_F77='-Bstatic'
12943 lt_prog_compiler_wl_F77='-Wl,'
12944 lt_prog_compiler_pic_F77='-KPIC'
12945 lt_prog_compiler_static_F77='-static'
12948 lt_prog_compiler_wl_F77='-Wl,'
12949 # All Alpha code is PIC.
12950 lt_prog_compiler_static_F77='-non_shared'
12955 osf3* | osf4* | osf5*)
12956 lt_prog_compiler_wl_F77='-Wl,'
12957 # All OSF/1 code is PIC.
12958 lt_prog_compiler_static_F77='-non_shared'
12962 lt_prog_compiler_pic_F77='-Kpic'
12963 lt_prog_compiler_static_F77='-dn'
12967 lt_prog_compiler_wl_F77='-Wl,'
12968 lt_prog_compiler_pic_F77='-KPIC'
12969 lt_prog_compiler_static_F77='-Bstatic'
12973 lt_prog_compiler_wl_F77='-Qoption ld '
12974 lt_prog_compiler_pic_F77='-PIC'
12975 lt_prog_compiler_static_F77='-Bstatic'
12978 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12979 lt_prog_compiler_wl_F77='-Wl,'
12980 lt_prog_compiler_pic_F77='-KPIC'
12981 lt_prog_compiler_static_F77='-Bstatic'
12985 if test -d /usr/nec ;then
12986 lt_prog_compiler_pic_F77='-Kconform_pic'
12987 lt_prog_compiler_static_F77='-Bstatic'
12992 lt_prog_compiler_pic_F77='-pic'
12993 lt_prog_compiler_static_F77='-Bstatic'
12997 lt_prog_compiler_can_build_shared_F77=no
13002 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13003 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13006 # Check to make sure the PIC flag actually works.
13008 if test -n "$lt_prog_compiler_pic_F77"; then
13009 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13010 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13011 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13012 echo $ECHO_N "(cached) $ECHO_C" >&6
13014 lt_prog_compiler_pic_works_F77=no
13015 ac_outfile=conftest.$ac_objext
13016 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13017 lt_compiler_flag="$lt_prog_compiler_pic_F77"
13018 # Insert the option either (1) after the last *FLAGS variable, or
13019 # (2) before a word containing "conftest.", or (3) at the end.
13020 # Note that $ac_compile itself does not contain backslashes and begins
13021 # with a dollar sign (not a hyphen), so the echo should work correctly.
13022 # The option is referenced via a variable to avoid confusing sed.
13023 lt_compile=`echo "$ac_compile" | $SED \
13024 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13025 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13026 -e 's:$: $lt_compiler_flag:'`
13027 (eval echo "\"\$as_me:13027: $lt_compile\"" >&5)
13028 (eval "$lt_compile" 2>conftest.err)
13030 cat conftest.err >&5
13031 echo "$as_me:13031: \$? = $ac_status" >&5
13032 if (exit $ac_status) && test -s "$ac_outfile"; then
13033 # The compiler can only warn and ignore the option if not recognized
13034 # So say no if there are warnings
13035 if test ! -s conftest.err; then
13036 lt_prog_compiler_pic_works_F77=yes
13042 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13043 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13045 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13046 case $lt_prog_compiler_pic_F77 in
13048 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13051 lt_prog_compiler_pic_F77=
13052 lt_prog_compiler_can_build_shared_F77=no
13057 # For platforms which do not support PIC, -DPIC is meaningless:
13059 lt_prog_compiler_pic_F77=
13062 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13066 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13067 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13068 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13069 echo $ECHO_N "(cached) $ECHO_C" >&6
13071 lt_cv_prog_compiler_c_o_F77=no
13072 $rm -r conftest 2>/dev/null
13076 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13078 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13079 # that will create temporary files in the current directory regardless of
13080 # the output directory. Thus, making CWD read-only will cause this test
13081 # to fail, enabling locking or at least warning the user not to do parallel
13085 lt_compiler_flag="-o out/conftest2.$ac_objext"
13086 # Insert the option either (1) after the last *FLAGS variable, or
13087 # (2) before a word containing "conftest.", or (3) at the end.
13088 # Note that $ac_compile itself does not contain backslashes and begins
13089 # with a dollar sign (not a hyphen), so the echo should work correctly.
13090 lt_compile=`echo "$ac_compile" | $SED \
13091 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13092 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13093 -e 's:$: $lt_compiler_flag:'`
13094 (eval echo "\"\$as_me:13094: $lt_compile\"" >&5)
13095 (eval "$lt_compile" 2>out/conftest.err)
13097 cat out/conftest.err >&5
13098 echo "$as_me:13098: \$? = $ac_status" >&5
13099 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13101 # The compiler can only warn and ignore the option if not recognized
13102 # So say no if there are warnings
13103 if test ! -s out/conftest.err; then
13104 lt_cv_prog_compiler_c_o_F77=yes
13108 $rm conftest* out/*
13115 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13116 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13119 hard_links="nottested"
13120 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13121 # do not overwrite the value of need_locks provided by the user
13122 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13123 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13126 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13128 ln conftest.a conftest.b 2>&5 || hard_links=no
13129 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13130 echo "$as_me:$LINENO: result: $hard_links" >&5
13131 echo "${ECHO_T}$hard_links" >&6
13132 if test "$hard_links" = no; then
13133 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13134 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13141 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13142 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13145 allow_undefined_flag_F77=
13146 enable_shared_with_static_runtimes_F77=no
13148 archive_expsym_cmds_F77=
13149 old_archive_From_new_cmds_F77=
13150 old_archive_from_expsyms_cmds_F77=
13151 export_dynamic_flag_spec_F77=
13152 whole_archive_flag_spec_F77=
13153 thread_safe_flag_spec_F77=
13154 hardcode_libdir_flag_spec_F77=
13155 hardcode_libdir_flag_spec_ld_F77=
13156 hardcode_libdir_separator_F77=
13157 hardcode_direct_F77=no
13158 hardcode_minus_L_F77=no
13159 hardcode_shlibpath_var_F77=unsupported
13160 link_all_deplibs_F77=unknown
13161 hardcode_automatic_F77=no
13163 module_expsym_cmds_F77=
13164 always_export_symbols_F77=no
13165 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13166 # include_expsyms should be a list of space-separated symbols to be *always*
13167 # included in the symbol list
13168 include_expsyms_F77=
13169 # exclude_expsyms can be an extended regexp of symbols to exclude
13170 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13171 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13172 # as well as any symbol that contains `d'.
13173 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13174 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13175 # platforms (ab)use it in PIC code, but their linkers get confused if
13176 # the symbol is explicitly referenced. Since portable code cannot
13177 # rely on this symbol name, it's probably fine to never include it in
13178 # preloaded symbol tables.
13179 extract_expsyms_cmds=
13182 cygwin* | mingw* | pw32*)
13183 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13184 # When not using gcc, we currently assume that we are using
13185 # Microsoft Visual C++.
13186 if test "$GCC" != yes; then
13196 if test "$with_gnu_ld" = yes; then
13197 # If archive_cmds runs LD, not CC, wlarc should be empty
13200 # See if GNU ld supports shared libraries.
13202 aix3* | aix4* | aix5*)
13203 # On AIX/PPC, the GNU linker is very broken
13204 if test "$host_cpu" != ia64; then
13208 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13209 *** to be unable to reliably create shared libraries on AIX.
13210 *** Therefore, libtool is disabling shared libraries support. If you
13211 *** really care for shared libraries, you may want to modify your PATH
13212 *** so that a non-GNU linker is found, and then restart.
13219 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)'
13220 hardcode_libdir_flag_spec_F77='-L$libdir'
13221 hardcode_minus_L_F77=yes
13223 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13224 # that the semantics of dynamic libraries on AmigaOS, at least up
13225 # to version 4, is to share data among multiple programs linked
13226 # with the same dynamic library. Since this doesn't match the
13227 # behavior of shared libraries on other platforms, we can't use
13233 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13234 allow_undefined_flag_F77=unsupported
13235 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13236 # support --undefined. This deserves some investigation. FIXME
13237 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13243 cygwin* | mingw* | pw32*)
13244 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13245 # as there is no search path for DLLs.
13246 hardcode_libdir_flag_spec_F77='-L$libdir'
13247 allow_undefined_flag_F77=unsupported
13248 always_export_symbols_F77=no
13249 enable_shared_with_static_runtimes_F77=yes
13250 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13252 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13253 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13254 # If the export-symbols file already is a .def file (1st line
13255 # is EXPORTS), use it as is; otherwise, prepend...
13256 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13257 cp $export_symbols $output_objdir/$soname.def;
13259 echo EXPORTS > $output_objdir/$soname.def;
13260 cat $export_symbols >> $output_objdir/$soname.def;
13262 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13269 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13270 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13273 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13274 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13279 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13283 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13284 *** create shared libraries on Solaris systems. Therefore, libtool
13285 *** is disabling shared libraries support. We urge you to upgrade GNU
13286 *** binutils to release 2.9.1 or newer. Another option is to modify
13287 *** your PATH or compiler configuration so that the native linker is
13288 *** used, and then restart.
13291 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13292 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13293 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13300 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13302 hardcode_direct_F77=yes
13303 hardcode_shlibpath_var_F77=no
13307 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13308 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13309 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13316 if test "$ld_shlibs_F77" = yes; then
13317 runpath_var=LD_RUN_PATH
13318 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13319 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13320 # ancient GNU ld didn't support --whole-archive et. al.
13321 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13322 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13324 whole_archive_flag_spec_F77=
13328 # PORTME fill in a description of your system's linker (not GNU ld)
13331 allow_undefined_flag_F77=unsupported
13332 always_export_symbols_F77=yes
13333 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'
13334 # Note: this linker hardcodes the directories in LIBPATH if there
13335 # are no directories specified by -L.
13336 hardcode_minus_L_F77=yes
13337 if test "$GCC" = yes && test -z "$link_static_flag"; then
13338 # Neither direct hardcoding nor static linking is supported with a
13340 hardcode_direct_F77=unsupported
13345 if test "$host_cpu" = ia64; then
13346 # On IA64, the linker does run time linking by default, so we don't
13347 # have to do anything special.
13348 aix_use_runtimelinking=no
13349 exp_sym_flag='-Bexport'
13352 # If we're using GNU nm, then we don't want the "-C" option.
13353 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13354 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13355 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'
13357 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'
13359 aix_use_runtimelinking=no
13361 # Test if we are trying to use run time linking or normal
13362 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13363 # need to do runtime linking.
13364 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13365 for ld_flag in $LDFLAGS; do
13366 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13367 aix_use_runtimelinking=yes
13373 exp_sym_flag='-bexport'
13374 no_entry_flag='-bnoentry'
13377 # When large executables or shared objects are built, AIX ld can
13378 # have problems creating the table of contents. If linking a library
13379 # or program results in "error TOC overflow" add -mminimal-toc to
13380 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13381 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13383 archive_cmds_F77=''
13384 hardcode_direct_F77=yes
13385 hardcode_libdir_separator_F77=':'
13386 link_all_deplibs_F77=yes
13388 if test "$GCC" = yes; then
13389 case $host_os in aix4.012|aix4.012.*)
13390 # We only want to do this on AIX 4.2 and lower, the check
13391 # below for broken collect2 doesn't work under 4.3+
13392 collect2name=`${CC} -print-prog-name=collect2`
13393 if test -f "$collect2name" && \
13394 strings "$collect2name" | grep resolve_lib_name >/dev/null
13396 # We have reworked collect2
13397 hardcode_direct_F77=yes
13399 # We have old collect2
13400 hardcode_direct_F77=unsupported
13401 # It fails to find uninstalled libraries when the uninstalled
13402 # path is not listed in the libpath. Setting hardcode_minus_L
13403 # to unsupported forces relinking
13404 hardcode_minus_L_F77=yes
13405 hardcode_libdir_flag_spec_F77='-L$libdir'
13406 hardcode_libdir_separator_F77=
13409 shared_flag='-shared'
13412 if test "$host_cpu" = ia64; then
13413 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13414 # chokes on -Wl,-G. The following line is correct:
13417 if test "$aix_use_runtimelinking" = yes; then
13418 shared_flag='${wl}-G'
13420 shared_flag='${wl}-bM:SRE'
13425 # It seems that -bexpall does not export symbols beginning with
13426 # underscore (_), so it is better to generate a list of symbols to export.
13427 always_export_symbols_F77=yes
13428 if test "$aix_use_runtimelinking" = yes; then
13429 # Warning - without using the other runtime loading flags (-brtl),
13430 # -berok will link without error, but may produce a broken library.
13431 allow_undefined_flag_F77='-berok'
13432 # Determine the default libpath from the value encoded in an empty executable.
13433 cat >conftest.$ac_ext <<_ACEOF
13438 rm -f conftest.$ac_objext conftest$ac_exeext
13439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13440 (eval $ac_link) 2>&5
13442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13443 (exit $ac_status); } &&
13444 { ac_try='test -s conftest$ac_exeext'
13445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13446 (eval $ac_try) 2>&5
13448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13449 (exit $ac_status); }; }; then
13451 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13453 # Check for a 64-bit object if we didn't find anything.
13454 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; }
13457 echo "$as_me: failed program was:" >&5
13458 sed 's/^/| /' conftest.$ac_ext >&5
13461 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13462 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13464 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13465 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"
13467 if test "$host_cpu" = ia64; then
13468 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13469 allow_undefined_flag_F77="-z nodefs"
13470 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"
13472 # Determine the default libpath from the value encoded in an empty executable.
13473 cat >conftest.$ac_ext <<_ACEOF
13478 rm -f conftest.$ac_objext conftest$ac_exeext
13479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13480 (eval $ac_link) 2>&5
13482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13483 (exit $ac_status); } &&
13484 { ac_try='test -s conftest$ac_exeext'
13485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13486 (eval $ac_try) 2>&5
13488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13489 (exit $ac_status); }; }; then
13491 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13493 # Check for a 64-bit object if we didn't find anything.
13494 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; }
13497 echo "$as_me: failed program was:" >&5
13498 sed 's/^/| /' conftest.$ac_ext >&5
13501 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13502 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13504 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13505 # Warning - without using the other run time loading flags,
13506 # -berok will link without error, but may produce a broken library.
13507 no_undefined_flag_F77=' ${wl}-bernotok'
13508 allow_undefined_flag_F77=' ${wl}-berok'
13509 # -bexpall does not export symbols beginning with underscore (_)
13510 always_export_symbols_F77=yes
13511 # Exported symbols can be pulled into shared objects from archives
13512 whole_archive_flag_spec_F77=' '
13513 archive_cmds_need_lc_F77=yes
13514 # This is similar to how AIX traditionally builds it's shared libraries.
13515 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'
13521 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)'
13522 hardcode_libdir_flag_spec_F77='-L$libdir'
13523 hardcode_minus_L_F77=yes
13524 # see comment about different semantics on the GNU ld section
13529 export_dynamic_flag_spec_F77=-rdynamic
13532 cygwin* | mingw* | pw32*)
13533 # When not using gcc, we currently assume that we are using
13534 # Microsoft Visual C++.
13535 # hardcode_libdir_flag_spec is actually meaningless, as there is
13536 # no search path for DLLs.
13537 hardcode_libdir_flag_spec_F77=' '
13538 allow_undefined_flag_F77=unsupported
13539 # Tell ltmain to make .lib files, not .a files.
13541 # Tell ltmain to make .dll files, not .so files.
13543 # FIXME: Setting linknames here is a bad hack.
13544 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13545 # The linker will automatically build a .lib file if we build a DLL.
13546 old_archive_From_new_cmds_F77='true'
13547 # FIXME: Should let the user specify the lib program.
13548 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13549 fix_srcfile_path='`cygpath -w "$srcfile"`'
13550 enable_shared_with_static_runtimes_F77=yes
13553 darwin* | rhapsody*)
13554 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
13555 archive_cmds_need_lc_F77=no
13557 rhapsody* | darwin1.[012])
13558 allow_undefined_flag_F77='-undefined suppress'
13561 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13564 # FIXME: Relying on posixy $() will cause problems for
13565 # cross-compilation, but unfortunately the echo tests do not
13566 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13567 # `"' quotes if we put them in here... so don't!
13568 lt_int_apple_cc_single_mod=no
13569 output_verbose_link_cmd='echo'
13570 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13571 lt_int_apple_cc_single_mod=yes
13573 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13574 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13576 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'
13578 module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
13579 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13580 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13581 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}'
13583 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}'
13585 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}'
13586 hardcode_direct_F77=no
13587 hardcode_automatic_F77=yes
13588 hardcode_shlibpath_var_F77=unsupported
13589 whole_archive_flag_spec_F77='-all_load $convenience'
13590 link_all_deplibs_F77=yes
13595 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13596 hardcode_libdir_flag_spec_F77='-L$libdir'
13597 hardcode_shlibpath_var_F77=no
13604 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13605 # support. Future versions do this automatically, but an explicit c++rt0.o
13606 # does not break anything, and helps significantly (at the cost of a little
13609 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13610 hardcode_libdir_flag_spec_F77='-R$libdir'
13611 hardcode_direct_F77=yes
13612 hardcode_shlibpath_var_F77=no
13615 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13617 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13618 hardcode_direct_F77=yes
13619 hardcode_minus_L_F77=yes
13620 hardcode_shlibpath_var_F77=no
13623 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13625 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13626 hardcode_libdir_flag_spec_F77='-R$libdir'
13627 hardcode_direct_F77=yes
13628 hardcode_shlibpath_var_F77=no
13632 if test "$GCC" = yes; then
13633 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'
13635 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'
13637 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13638 hardcode_libdir_separator_F77=:
13639 hardcode_direct_F77=yes
13641 # hardcode_minus_L: Not really in the search PATH,
13642 # but as the default location of the library.
13643 hardcode_minus_L_F77=yes
13644 export_dynamic_flag_spec_F77='${wl}-E'
13648 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13649 case "$host_cpu" in
13651 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13654 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13658 case "$host_cpu" in
13660 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13663 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13667 if test "$with_gnu_ld" = no; then
13668 case "$host_cpu" in
13670 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13671 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13672 hardcode_libdir_separator_F77=:
13673 hardcode_direct_F77=no
13674 hardcode_shlibpath_var_F77=no
13677 hardcode_libdir_flag_spec_F77='-L$libdir'
13678 hardcode_direct_F77=no
13679 hardcode_shlibpath_var_F77=no
13681 # hardcode_minus_L: Not really in the search PATH,
13682 # but as the default location of the library.
13683 hardcode_minus_L_F77=yes
13686 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13687 hardcode_libdir_separator_F77=:
13688 hardcode_direct_F77=yes
13689 export_dynamic_flag_spec_F77='${wl}-E'
13691 # hardcode_minus_L: Not really in the search PATH,
13692 # but as the default location of the library.
13693 hardcode_minus_L_F77=yes
13699 irix5* | irix6* | nonstopux*)
13700 if test "$GCC" = yes; then
13701 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'
13703 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'
13704 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13706 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13707 hardcode_libdir_separator_F77=:
13708 link_all_deplibs_F77=yes
13712 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13713 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13715 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13717 hardcode_libdir_flag_spec_F77='-R$libdir'
13718 hardcode_direct_F77=yes
13719 hardcode_shlibpath_var_F77=no
13723 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13724 hardcode_direct_F77=yes
13725 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13726 hardcode_libdir_separator_F77=:
13727 hardcode_shlibpath_var_F77=no
13731 hardcode_direct_F77=yes
13732 hardcode_shlibpath_var_F77=no
13733 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13734 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13735 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13736 export_dynamic_flag_spec_F77='${wl}-E'
13739 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13740 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13741 hardcode_libdir_flag_spec_F77='-R$libdir'
13744 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13745 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13752 hardcode_libdir_flag_spec_F77='-L$libdir'
13753 hardcode_minus_L_F77=yes
13754 allow_undefined_flag_F77=unsupported
13755 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'
13756 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13760 if test "$GCC" = yes; then
13761 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13762 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'
13764 allow_undefined_flag_F77=' -expect_unresolved \*'
13765 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'
13767 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13768 hardcode_libdir_separator_F77=:
13771 osf4* | osf5*) # as osf3* with the addition of -msym flag
13772 if test "$GCC" = yes; then
13773 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13774 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'
13775 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13777 allow_undefined_flag_F77=' -expect_unresolved \*'
13778 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'
13779 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~
13780 $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'
13782 # Both c and cxx compiler support -rpath directly
13783 hardcode_libdir_flag_spec_F77='-rpath $libdir'
13785 hardcode_libdir_separator_F77=:
13789 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13790 hardcode_shlibpath_var_F77=no
13791 export_dynamic_flag_spec_F77='${wl}-Bexport'
13792 runpath_var=LD_RUN_PATH
13793 hardcode_runpath_var=yes
13797 no_undefined_flag_F77=' -z text'
13798 if test "$GCC" = yes; then
13799 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13800 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13801 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13803 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13804 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13805 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13807 hardcode_libdir_flag_spec_F77='-R$libdir'
13808 hardcode_shlibpath_var_F77=no
13810 solaris2.[0-5] | solaris2.[0-5].*) ;;
13811 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13812 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13814 link_all_deplibs_F77=yes
13818 if test "x$host_vendor" = xsequent; then
13819 # Use $CC to link under sequent, because it throws in some extra .o
13820 # files that make .init and .fini sections work.
13821 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13823 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13825 hardcode_libdir_flag_spec_F77='-L$libdir'
13826 hardcode_direct_F77=yes
13827 hardcode_minus_L_F77=yes
13828 hardcode_shlibpath_var_F77=no
13832 case $host_vendor in
13834 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13835 hardcode_direct_F77=yes # is this really true???
13838 ## LD is ld it makes a PLAMLIB
13839 ## CC just makes a GrossModule.
13840 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13841 reload_cmds_F77='$CC -r -o $output$reload_objs'
13842 hardcode_direct_F77=no
13845 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13846 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13849 runpath_var='LD_RUN_PATH'
13850 hardcode_shlibpath_var_F77=no
13854 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13855 hardcode_shlibpath_var_F77=no
13856 export_dynamic_flag_spec_F77='-Bexport'
13860 if test -d /usr/nec; then
13861 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13862 hardcode_shlibpath_var_F77=no
13863 runpath_var=LD_RUN_PATH
13864 hardcode_runpath_var=yes
13870 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13871 hardcode_direct_F77=yes
13872 hardcode_minus_L_F77=no
13873 hardcode_shlibpath_var_F77=no
13874 hardcode_runpath_var=yes
13875 runpath_var=LD_RUN_PATH
13878 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13879 no_undefined_flag_F77='${wl}-z ${wl}text'
13880 if test "$GCC" = yes; then
13881 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13883 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13885 runpath_var='LD_RUN_PATH'
13886 hardcode_shlibpath_var_F77=no
13890 no_undefined_flag_F77=' -z text'
13891 # $CC -shared without GNU ld will not create a library from C++
13892 # object files and a static libstdc++, better avoid it by now
13893 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13894 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13895 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13896 hardcode_libdir_flag_spec_F77=
13897 hardcode_shlibpath_var_F77=no
13898 runpath_var='LD_RUN_PATH'
13902 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13903 hardcode_libdir_flag_spec_F77='-L$libdir'
13904 hardcode_shlibpath_var_F77=no
13913 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
13914 echo "${ECHO_T}$ld_shlibs_F77" >&6
13915 test "$ld_shlibs_F77" = no && can_build_shared=no
13917 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13918 if test "$GCC" = yes; then
13919 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13923 # Do we need to explicitly link libc?
13925 case "x$archive_cmds_need_lc_F77" in
13927 # Assume -lc should be added
13928 archive_cmds_need_lc_F77=yes
13930 if test "$enable_shared" = yes && test "$GCC" = yes; then
13931 case $archive_cmds_F77 in
13933 # FIXME: we may have to deal with multi-command sequences.
13936 # Test whether the compiler implicitly links with -lc since on some
13937 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13938 # to ld, don't add -lc before -lgcc.
13939 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13940 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13942 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13945 (eval $ac_compile) 2>&5
13947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13948 (exit $ac_status); } 2>conftest.err; then
13951 libobjs=conftest.$ac_objext
13953 wl=$lt_prog_compiler_wl_F77
13959 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
13960 allow_undefined_flag_F77=
13961 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13962 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13965 (exit $ac_status); }
13967 archive_cmds_need_lc_F77=no
13969 archive_cmds_need_lc_F77=yes
13971 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
13973 cat conftest.err 1>&5
13976 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
13977 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
13984 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13985 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13986 hardcode_action_F77=
13987 if test -n "$hardcode_libdir_flag_spec_F77" || \
13988 test -n "$runpath_var F77" || \
13989 test "X$hardcode_automatic_F77"="Xyes" ; then
13991 # We can hardcode non-existant directories.
13992 if test "$hardcode_direct_F77" != no &&
13993 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13994 # have to relink, otherwise we might link with an installed library
13995 # when we should be linking with a yet-to-be-installed one
13996 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
13997 test "$hardcode_minus_L_F77" != no; then
13998 # Linking always hardcodes the temporary library directory.
13999 hardcode_action_F77=relink
14001 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14002 hardcode_action_F77=immediate
14005 # We cannot hardcode anything, or else we can only hardcode existing
14007 hardcode_action_F77=unsupported
14009 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14010 echo "${ECHO_T}$hardcode_action_F77" >&6
14012 if test "$hardcode_action_F77" = relink; then
14013 # Fast installation is not supported
14014 enable_fast_install=no
14015 elif test "$shlibpath_overrides_runpath" = yes ||
14016 test "$enable_shared" = no; then
14017 # Fast installation is not necessary
14018 enable_fast_install=needless
14023 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14024 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14025 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14026 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14027 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14028 echo "$as_me:$LINENO: result: yes" >&5
14029 echo "${ECHO_T}yes" >&6
14031 # FIXME - insert some real tests, host_os isn't really good enough
14034 if test -n "$STRIP" ; then
14035 striplib="$STRIP -x"
14036 echo "$as_me:$LINENO: result: yes" >&5
14037 echo "${ECHO_T}yes" >&6
14039 echo "$as_me:$LINENO: result: no" >&5
14040 echo "${ECHO_T}no" >&6
14044 echo "$as_me:$LINENO: result: no" >&5
14045 echo "${ECHO_T}no" >&6
14050 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14051 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14052 library_names_spec=
14053 libname_spec='lib$name'
14057 postuninstall_cmds=
14061 shlibpath_overrides_runpath=unknown
14063 dynamic_linker="$host_os ld.so"
14064 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14065 if test "$GCC" = yes; then
14066 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14067 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14068 # if the path contains ";" then we assume it to be the separator
14069 # otherwise default to the standard path separator (i.e. ":") - it is
14070 # assumed that no part of a normal pathname contains ";" but that should
14071 # okay in the real world where ";" in dirpaths is itself problematic.
14072 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14074 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14077 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14079 need_lib_prefix=unknown
14080 hardcode_into_libs=no
14082 # when you set need_version to no, make sure it does not cause -set_version
14083 # flags to be left without arguments
14084 need_version=unknown
14089 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14090 shlibpath_var=LIBPATH
14092 # AIX 3 has no versioning support, so we append a major version to the name.
14093 soname_spec='${libname}${release}${shared_ext}$major'
14100 hardcode_into_libs=yes
14101 if test "$host_cpu" = ia64; then
14102 # AIX 5 supports IA64
14103 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14104 shlibpath_var=LD_LIBRARY_PATH
14106 # With GCC up to 2.95.x, collect2 would create an import file
14107 # for dependence libraries. The import file would start with
14108 # the line `#! .'. This would cause the generated library to
14109 # depend on `.', always an invalid library. This was fixed in
14110 # development snapshots of GCC prior to 3.0.
14112 aix4 | aix4.[01] | aix4.[01].*)
14113 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14115 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14118 can_build_shared=no
14122 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14123 # soname into executable. Probably we can add versioning support to
14124 # collect2, so additional links can be useful in future.
14125 if test "$aix_use_runtimelinking" = yes; then
14126 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14127 # instead of lib<name>.a to let people know that these are not
14128 # typical AIX shared libraries.
14129 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14131 # We preserve .a as extension for shared libraries through AIX4.2
14132 # and later when we are not doing run time linking.
14133 library_names_spec='${libname}${release}.a $libname.a'
14134 soname_spec='${libname}${release}${shared_ext}$major'
14136 shlibpath_var=LIBPATH
14141 library_names_spec='$libname.ixlibrary $libname.a'
14142 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14143 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'
14147 library_names_spec='${libname}${shared_ext}'
14148 dynamic_linker="$host_os ld.so"
14149 shlibpath_var=LIBRARY_PATH
14155 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14156 soname_spec='${libname}${release}${shared_ext}$major'
14157 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14158 shlibpath_var=LD_LIBRARY_PATH
14159 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14160 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14161 # the default ld.so.conf also contains /usr/contrib/lib and
14162 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14163 # libtool to hard-code these into programs
14166 cygwin* | mingw* | pw32*)
14167 version_type=windows
14172 case $GCC,$host_os in
14173 yes,cygwin* | yes,mingw* | yes,pw32*)
14174 library_names_spec='$libname.dll.a'
14175 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14176 postinstall_cmds='base_file=`basename \${file}`~
14177 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14178 dldir=$destdir/`dirname \$dlpath`~
14179 test -d \$dldir || mkdir -p \$dldir~
14180 $install_prog $dir/$dlname \$dldir/$dlname'
14181 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14182 dlpath=$dir/\$dldll~
14184 shlibpath_overrides_runpath=yes
14188 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14189 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14190 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
14193 # MinGW DLLs use traditional 'lib' prefix
14194 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14195 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14196 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14197 # It is most probably a Windows format PATH printed by
14198 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14199 # path with ; separators, and with drive letters. We can handle the
14200 # drive letters (cygwin fileutils understands them), so leave them,
14201 # especially as we might pass files found there to a mingw objdump,
14202 # which wouldn't understand a cygwinified path. Ahh.
14203 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14205 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14209 # pw32 DLLs use 'pw' prefix rather than 'lib'
14210 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14216 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14219 dynamic_linker='Win32 ld.exe'
14220 # FIXME: first we should search . and the directory the executable is in
14224 darwin* | rhapsody*)
14225 dynamic_linker="$host_os dyld"
14226 version_type=darwin
14229 # FIXME: Relying on posixy $() will cause problems for
14230 # cross-compilation, but unfortunately the echo tests do not
14231 # yet detect zsh echo's removal of \ escapes.
14232 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14233 soname_spec='${libname}${release}${major}$shared_ext'
14234 shlibpath_overrides_runpath=yes
14235 shlibpath_var=DYLD_LIBRARY_PATH
14236 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
14237 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14238 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
14239 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"`
14241 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14248 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14249 soname_spec='${libname}${release}${shared_ext}$major'
14250 shlibpath_var=LD_LIBRARY_PATH
14258 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14259 version_type=freebsd-$objformat
14260 case $version_type in
14262 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14267 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14271 shlibpath_var=LD_LIBRARY_PATH
14274 shlibpath_overrides_runpath=yes
14276 freebsd3.01* | freebsdelf3.01*)
14277 shlibpath_overrides_runpath=yes
14278 hardcode_into_libs=yes
14281 shlibpath_overrides_runpath=no
14282 hardcode_into_libs=yes
14291 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14292 soname_spec='${libname}${release}${shared_ext}$major'
14293 shlibpath_var=LD_LIBRARY_PATH
14294 hardcode_into_libs=yes
14297 hpux9* | hpux10* | hpux11*)
14298 # Give a soname corresponding to the major version so that dld.sl refuses to
14299 # link against other versions.
14303 case "$host_cpu" in
14306 hardcode_into_libs=yes
14307 dynamic_linker="$host_os dld.so"
14308 shlibpath_var=LD_LIBRARY_PATH
14309 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14310 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14311 soname_spec='${libname}${release}${shared_ext}$major'
14312 if test "X$HPUX_IA64_MODE" = X32; then
14313 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14315 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14317 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14321 hardcode_into_libs=yes
14322 dynamic_linker="$host_os dld.sl"
14323 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_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 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14328 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14332 dynamic_linker="$host_os dld.sl"
14333 shlibpath_var=SHLIB_PATH
14334 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14335 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14336 soname_spec='${libname}${release}${shared_ext}$major'
14339 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14340 postinstall_cmds='chmod 555 $lib'
14343 irix5* | irix6* | nonstopux*)
14345 nonstopux*) version_type=nonstopux ;;
14347 if test "$lt_cv_prog_gnu_ld" = yes; then
14355 soname_spec='${libname}${release}${shared_ext}$major'
14356 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14358 irix5* | nonstopux*)
14359 libsuff= shlibsuff=
14362 case $LD in # libtool.m4 will add one of these switches to LD
14363 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14364 libsuff= shlibsuff= libmagic=32-bit;;
14365 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14366 libsuff=32 shlibsuff=N32 libmagic=N32;;
14367 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14368 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14369 *) libsuff= shlibsuff= libmagic=never-match;;
14373 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14374 shlibpath_overrides_runpath=no
14375 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14376 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14377 hardcode_into_libs=yes
14380 # No shared lib support for Linux oldld, aout, or coff.
14381 linux*oldld* | linux*aout* | linux*coff*)
14385 # This must be Linux ELF.
14390 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14391 soname_spec='${libname}${release}${shared_ext}$major'
14392 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14393 shlibpath_var=LD_LIBRARY_PATH
14394 shlibpath_overrides_runpath=no
14395 # This implies no fast_install, which is unacceptable.
14396 # Some rework will be needed to allow for fast_install
14397 # before this can be enabled.
14398 hardcode_into_libs=yes
14400 # We used to test for /lib/ld.so.1 and disable shared libraries on
14401 # powerpc, because MkLinux only supported shared libraries with the
14402 # GNU dynamic linker. Since this was broken with cross compilers,
14403 # most powerpc-linux boxes support dynamic linking these days and
14404 # people can always --disable-shared, the test was removed, and we
14405 # assume the GNU/Linux dynamic linker is in use.
14406 dynamic_linker='GNU/Linux ld.so'
14413 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14414 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14415 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14416 dynamic_linker='NetBSD (a.out) ld.so'
14418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14419 soname_spec='${libname}${release}${shared_ext}$major'
14420 dynamic_linker='NetBSD ld.elf_so'
14422 shlibpath_var=LD_LIBRARY_PATH
14423 shlibpath_overrides_runpath=yes
14424 hardcode_into_libs=yes
14429 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14430 shlibpath_var=LD_LIBRARY_PATH
14431 shlibpath_overrides_runpath=yes
14438 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14439 soname_spec='${libname}${release}${shared_ext}$major'
14440 shlibpath_var=LD_LIBRARY_PATH
14441 shlibpath_overrides_runpath=yes
14448 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14449 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14450 shlibpath_var=LD_LIBRARY_PATH
14451 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14453 openbsd2.[89] | openbsd2.[89].*)
14454 shlibpath_overrides_runpath=no
14457 shlibpath_overrides_runpath=yes
14461 shlibpath_overrides_runpath=yes
14466 libname_spec='$name'
14469 library_names_spec='$libname${shared_ext} $libname.a'
14470 dynamic_linker='OS/2 ld.exe'
14471 shlibpath_var=LIBPATH
14474 osf3* | osf4* | osf5*)
14478 soname_spec='${libname}${release}${shared_ext}$major'
14479 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14480 shlibpath_var=LD_LIBRARY_PATH
14481 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14482 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14487 soname_spec='${libname}${release}${shared_ext}$major'
14488 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14489 shlibpath_var=LD_LIBRARY_PATH
14496 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14497 soname_spec='${libname}${release}${shared_ext}$major'
14498 shlibpath_var=LD_LIBRARY_PATH
14499 shlibpath_overrides_runpath=yes
14500 hardcode_into_libs=yes
14501 # ldd complains unless libraries are executable
14502 postinstall_cmds='chmod +x $lib'
14507 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14508 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14509 shlibpath_var=LD_LIBRARY_PATH
14510 shlibpath_overrides_runpath=yes
14511 if test "$with_gnu_ld" = yes; then
14517 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14519 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14520 soname_spec='${libname}${release}${shared_ext}$major'
14521 shlibpath_var=LD_LIBRARY_PATH
14522 case $host_vendor in
14524 shlibpath_overrides_runpath=no
14526 export_dynamic_flag_spec='${wl}-Blargedynsym'
14527 runpath_var=LD_RUN_PATH
14535 shlibpath_overrides_runpath=no
14536 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14542 if test -d /usr/nec ;then
14544 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14545 soname_spec='$libname${shared_ext}.$major'
14546 shlibpath_var=LD_LIBRARY_PATH
14552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14553 soname_spec='${libname}${release}${shared_ext}$major'
14554 shlibpath_var=LD_LIBRARY_PATH
14561 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14562 echo "${ECHO_T}$dynamic_linker" >&6
14563 test "$dynamic_linker" = no && can_build_shared=no
14566 # The else clause should only fire when bootstrapping the
14567 # libtool distribution, otherwise you forgot to ship ltmain.sh
14568 # with your package, and you will get complaints that there are
14569 # no rules to generate ltmain.sh.
14570 if test -f "$ltmain"; then
14571 # See if we are running on zsh, and set the options which allow our commands through
14572 # without removal of \ escapes.
14573 if test -n "${ZSH_VERSION+set}" ; then
14574 setopt NO_GLOB_SUBST
14576 # Now quote all the things that may contain metacharacters while being
14577 # careful not to overquote the AC_SUBSTed values. We take copies of the
14578 # variables and quote the copies for generation of the libtool script.
14579 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
14580 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14581 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14582 deplibs_check_method reload_flag reload_cmds need_locks \
14583 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14584 lt_cv_sys_global_symbol_to_c_name_address \
14585 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14586 old_postinstall_cmds old_postuninstall_cmds \
14590 lt_prog_compiler_wl_F77 \
14591 lt_prog_compiler_pic_F77 \
14592 lt_prog_compiler_static_F77 \
14593 lt_prog_compiler_no_builtin_flag_F77 \
14594 export_dynamic_flag_spec_F77 \
14595 thread_safe_flag_spec_F77 \
14596 whole_archive_flag_spec_F77 \
14597 enable_shared_with_static_runtimes_F77 \
14598 old_archive_cmds_F77 \
14599 old_archive_from_new_cmds_F77 \
14600 predep_objects_F77 \
14601 postdep_objects_F77 \
14604 compiler_lib_search_path_F77 \
14606 archive_expsym_cmds_F77 \
14607 postinstall_cmds_F77 \
14608 postuninstall_cmds_F77 \
14609 old_archive_from_expsyms_cmds_F77 \
14610 allow_undefined_flag_F77 \
14611 no_undefined_flag_F77 \
14612 export_symbols_cmds_F77 \
14613 hardcode_libdir_flag_spec_F77 \
14614 hardcode_libdir_flag_spec_ld_F77 \
14615 hardcode_libdir_separator_F77 \
14616 hardcode_automatic_F77 \
14618 module_expsym_cmds_F77 \
14619 lt_cv_prog_compiler_c_o_F77 \
14620 exclude_expsyms_F77 \
14621 include_expsyms_F77; do
14624 old_archive_cmds_F77 | \
14625 old_archive_from_new_cmds_F77 | \
14626 archive_cmds_F77 | \
14627 archive_expsym_cmds_F77 | \
14628 module_cmds_F77 | \
14629 module_expsym_cmds_F77 | \
14630 old_archive_from_expsyms_cmds_F77 | \
14631 export_symbols_cmds_F77 | \
14632 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14633 postinstall_cmds | postuninstall_cmds | \
14634 old_postinstall_cmds | old_postuninstall_cmds | \
14635 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14636 # Double-quote double-evaled strings.
14637 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14640 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14646 *'\$0 --fallback-echo"')
14647 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14653 cat <<__EOF__ >> "$cfgfile"
14654 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14656 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14658 # Shell to use when invoking shell scripts.
14661 # Whether or not to build shared libraries.
14662 build_libtool_libs=$enable_shared
14664 # Whether or not to build static libraries.
14665 build_old_libs=$enable_static
14667 # Whether or not to add -lc for building shared libraries.
14668 build_libtool_need_lc=$archive_cmds_need_lc_F77
14670 # Whether or not to disallow shared libs when runtime libs are static
14671 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14673 # Whether or not to optimize for fast installation.
14674 fast_install=$enable_fast_install
14677 host_alias=$host_alias
14680 # An echo program that does not interpret backslashes.
14685 AR_FLAGS=$lt_AR_FLAGS
14690 # A language-specific compiler.
14691 CC=$lt_compiler_F77
14693 # Is the compiler the GNU C compiler?
14699 # The linker used to build libraries.
14702 # Whether we need hard or soft links.
14705 # A BSD-compatible nm program.
14708 # A symbol stripping program
14711 # Used to examine libraries when file_magic_cmd begins "file"
14712 MAGIC_CMD=$MAGIC_CMD
14714 # Used on cygwin: DLL creation program.
14717 # Used on cygwin: object dumper.
14720 # Used on cygwin: assembler.
14723 # The name of the directory that contains temporary libtool files.
14726 # How to create reloadable object files.
14727 reload_flag=$lt_reload_flag
14728 reload_cmds=$lt_reload_cmds
14730 # How to pass a linker flag through the compiler.
14731 wl=$lt_lt_prog_compiler_wl_F77
14733 # Object file suffix (normally "o").
14734 objext="$ac_objext"
14736 # Old archive suffix (normally "a").
14739 # Shared library suffix (normally ".so").
14742 # Executable file suffix (normally "").
14745 # Additional compiler flags for building library objects.
14746 pic_flag=$lt_lt_prog_compiler_pic_F77
14749 # What is the maximum length of a command?
14750 max_cmd_len=$lt_cv_sys_max_cmd_len
14752 # Does compiler simultaneously support -c and -o options?
14753 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
14755 # Must we lock files when doing compilation ?
14756 need_locks=$lt_need_locks
14758 # Do we need the lib prefix for modules?
14759 need_lib_prefix=$need_lib_prefix
14761 # Do we need a version for libraries?
14762 need_version=$need_version
14764 # Whether dlopen is supported.
14765 dlopen_support=$enable_dlopen
14767 # Whether dlopen of programs is supported.
14768 dlopen_self=$enable_dlopen_self
14770 # Whether dlopen of statically linked programs is supported.
14771 dlopen_self_static=$enable_dlopen_self_static
14773 # Compiler flag to prevent dynamic linking.
14774 link_static_flag=$lt_lt_prog_compiler_static_F77
14776 # Compiler flag to turn off builtin functions.
14777 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
14779 # Compiler flag to allow reflexive dlopens.
14780 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
14782 # Compiler flag to generate shared objects directly from archives.
14783 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
14785 # Compiler flag to generate thread-safe objects.
14786 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
14788 # Library versioning type.
14789 version_type=$version_type
14791 # Format of library name prefix.
14792 libname_spec=$lt_libname_spec
14794 # List of archive names. First name is the real one, the rest are links.
14795 # The last name is the one that the linker finds with -lNAME.
14796 library_names_spec=$lt_library_names_spec
14798 # The coded name of the library, if different from the real name.
14799 soname_spec=$lt_soname_spec
14801 # Commands used to build and install an old-style archive.
14803 old_archive_cmds=$lt_old_archive_cmds_F77
14804 old_postinstall_cmds=$lt_old_postinstall_cmds
14805 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14807 # Create an old-style archive from a shared archive.
14808 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
14810 # Create a temporary old-style archive to link instead of a shared archive.
14811 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
14813 # Commands used to build and install a shared archive.
14814 archive_cmds=$lt_archive_cmds_F77
14815 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
14816 postinstall_cmds=$lt_postinstall_cmds
14817 postuninstall_cmds=$lt_postuninstall_cmds
14819 # Commands used to build a loadable module (assumed same as above if empty)
14820 module_cmds=$lt_module_cmds_F77
14821 module_expsym_cmds=$lt_module_expsym_cmds_F77
14823 # Commands to strip libraries.
14824 old_striplib=$lt_old_striplib
14825 striplib=$lt_striplib
14827 # Dependencies to place before the objects being linked to create a
14829 predep_objects=$lt_predep_objects_F77
14831 # Dependencies to place after the objects being linked to create a
14833 postdep_objects=$lt_postdep_objects_F77
14835 # Dependencies to place before the objects being linked to create a
14837 predeps=$lt_predeps_F77
14839 # Dependencies to place after the objects being linked to create a
14841 postdeps=$lt_postdeps_F77
14843 # The library search path used internally by the compiler when linking
14844 # a shared library.
14845 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
14847 # Method to check whether dependent libraries are shared objects.
14848 deplibs_check_method=$lt_deplibs_check_method
14850 # Command to use when deplibs_check_method == file_magic.
14851 file_magic_cmd=$lt_file_magic_cmd
14853 # Flag that allows shared libraries with undefined symbols to be built.
14854 allow_undefined_flag=$lt_allow_undefined_flag_F77
14856 # Flag that forces no undefined symbols.
14857 no_undefined_flag=$lt_no_undefined_flag_F77
14859 # Commands used to finish a libtool library installation in a directory.
14860 finish_cmds=$lt_finish_cmds
14862 # Same as above, but a single script fragment to be evaled but not shown.
14863 finish_eval=$lt_finish_eval
14865 # Take the output of nm and produce a listing of raw symbols and C names.
14866 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14868 # Transform the output of nm in a proper C declaration
14869 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14871 # Transform the output of nm in a C name address pair
14872 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14874 # This is the shared library runtime path variable.
14875 runpath_var=$runpath_var
14877 # This is the shared library path variable.
14878 shlibpath_var=$shlibpath_var
14880 # Is shlibpath searched before the hard-coded library search path?
14881 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14883 # How to hardcode a shared library path into an executable.
14884 hardcode_action=$hardcode_action_F77
14886 # Whether we should hardcode library paths into libraries.
14887 hardcode_into_libs=$hardcode_into_libs
14889 # Flag to hardcode \$libdir into a binary during linking.
14890 # This must work even if \$libdir does not exist.
14891 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
14893 # If ld is used when linking, flag to hardcode \$libdir into
14894 # a binary during linking. This must work even if \$libdir does
14896 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
14898 # Whether we need a single -rpath flag with a separated argument.
14899 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
14901 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14902 # resulting binary.
14903 hardcode_direct=$hardcode_direct_F77
14905 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14906 # resulting binary.
14907 hardcode_minus_L=$hardcode_minus_L_F77
14909 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14910 # the resulting binary.
14911 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
14913 # Set to yes if building a shared library automatically hardcodes DIR into the library
14914 # and all subsequent libraries and executables linked against it.
14915 hardcode_automatic=$hardcode_automatic_F77
14917 # Variables whose values should be saved in libtool wrapper scripts and
14918 # restored at relink time.
14919 variables_saved_for_relink="$variables_saved_for_relink"
14921 # Whether libtool must link a program against all its dependency libraries.
14922 link_all_deplibs=$link_all_deplibs_F77
14924 # Compile-time system search path for libraries
14925 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14927 # Run-time system search path for libraries
14928 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14930 # Fix the shell variable \$srcfile for the compiler.
14931 fix_srcfile_path="$fix_srcfile_path_F77"
14933 # Set to yes if exported symbols are required.
14934 always_export_symbols=$always_export_symbols_F77
14936 # The commands to list exported symbols.
14937 export_symbols_cmds=$lt_export_symbols_cmds_F77
14939 # The commands to extract the exported symbol list from a shared archive.
14940 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14942 # Symbols that should not be listed in the preloaded symbols.
14943 exclude_expsyms=$lt_exclude_expsyms_F77
14945 # Symbols that must always be exported.
14946 include_expsyms=$lt_include_expsyms_F77
14948 # ### END LIBTOOL TAG CONFIG: $tagname
14954 # If there is no Makefile yet, we rely on a make rule to execute
14955 # `config.status --recheck' to rerun these tests and create the
14956 # libtool script then.
14957 test -f Makefile && make "$ltmain"
14962 ac_cpp='$CPP $CPPFLAGS'
14963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14975 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
14979 # Source file extension for Java test sources.
14982 # Object file extension for compiled Java test sources.
14986 # Code to be used in simple compile tests
14987 lt_simple_compile_test_code="class foo {}\n"
14989 # Code to be used in simple link tests
14990 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
14992 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14994 # If no C compiler was specified, use CC.
14997 # Allow CC to be a program name with arguments.
15001 # Allow CC to be a program name with arguments.
15007 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15008 archive_cmds_need_lc_GCJ=no
15011 ## There is no encapsulation within the following macros, do not change
15012 ## the running order or otherwise move them around unless you know exactly
15013 ## what you are doing...
15015 lt_prog_compiler_no_builtin_flag_GCJ=
15017 if test "$GCC" = yes; then
15018 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15020 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15021 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15022 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15023 echo $ECHO_N "(cached) $ECHO_C" >&6
15025 lt_cv_prog_compiler_rtti_exceptions=no
15026 ac_outfile=conftest.$ac_objext
15027 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15028 lt_compiler_flag="-fno-rtti -fno-exceptions"
15029 # Insert the option either (1) after the last *FLAGS variable, or
15030 # (2) before a word containing "conftest.", or (3) at the end.
15031 # Note that $ac_compile itself does not contain backslashes and begins
15032 # with a dollar sign (not a hyphen), so the echo should work correctly.
15033 # The option is referenced via a variable to avoid confusing sed.
15034 lt_compile=`echo "$ac_compile" | $SED \
15035 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15036 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15037 -e 's:$: $lt_compiler_flag:'`
15038 (eval echo "\"\$as_me:15038: $lt_compile\"" >&5)
15039 (eval "$lt_compile" 2>conftest.err)
15041 cat conftest.err >&5
15042 echo "$as_me:15042: \$? = $ac_status" >&5
15043 if (exit $ac_status) && test -s "$ac_outfile"; then
15044 # The compiler can only warn and ignore the option if not recognized
15045 # So say no if there are warnings
15046 if test ! -s conftest.err; then
15047 lt_cv_prog_compiler_rtti_exceptions=yes
15053 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15054 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15056 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15057 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15064 lt_prog_compiler_wl_GCJ=
15065 lt_prog_compiler_pic_GCJ=
15066 lt_prog_compiler_static_GCJ=
15068 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15069 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15071 if test "$GCC" = yes; then
15072 lt_prog_compiler_wl_GCJ='-Wl,'
15073 lt_prog_compiler_static_GCJ='-static'
15077 # All AIX code is PIC.
15078 if test "$host_cpu" = ia64; then
15079 # AIX 5 now supports IA64 processor
15080 lt_prog_compiler_static_GCJ='-Bstatic'
15085 # FIXME: we need at least 68020 code to build shared libraries, but
15086 # adding the `-m68020' flag to GCC prevents building anything better,
15088 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15091 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15092 # PIC is the default for these OSes.
15095 mingw* | pw32* | os2*)
15096 # This hack is so that the source file can tell whether it is being
15097 # built for inclusion in a dll (and should export symbols for example).
15098 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15101 darwin* | rhapsody*)
15102 # PIC is the default on this platform
15103 # Common symbols not allowed in MH_DYLIB files
15104 lt_prog_compiler_pic_GCJ='-fno-common'
15108 # Just because we use GCC doesn't mean we suddenly get shared libraries
15109 # on systems that don't support them.
15110 lt_prog_compiler_can_build_shared_GCJ=no
15115 if test -d /usr/nec; then
15116 lt_prog_compiler_pic_GCJ=-Kconform_pic
15121 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15122 # not for PA HP-UX.
15123 case "$host_cpu" in
15128 lt_prog_compiler_pic_GCJ='-fPIC'
15134 lt_prog_compiler_pic_GCJ='-fPIC'
15138 # PORTME Check for flag to pass linker flags through the system compiler.
15141 lt_prog_compiler_wl_GCJ='-Wl,'
15142 if test "$host_cpu" = ia64; then
15143 # AIX 5 now supports IA64 processor
15144 lt_prog_compiler_static_GCJ='-Bstatic'
15146 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15150 mingw* | pw32* | os2*)
15151 # This hack is so that the source file can tell whether it is being
15152 # built for inclusion in a dll (and should export symbols for example).
15153 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15156 hpux9* | hpux10* | hpux11*)
15157 lt_prog_compiler_wl_GCJ='-Wl,'
15158 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15159 # not for PA HP-UX.
15160 case "$host_cpu" in
15165 lt_prog_compiler_pic_GCJ='+Z'
15168 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15169 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15172 irix5* | irix6* | nonstopux*)
15173 lt_prog_compiler_wl_GCJ='-Wl,'
15174 # PIC (with -KPIC) is the default.
15175 lt_prog_compiler_static_GCJ='-non_shared'
15179 lt_prog_compiler_pic_GCJ='-KPIC'
15180 lt_prog_compiler_static_GCJ='-Bstatic'
15186 lt_prog_compiler_wl_GCJ='-Wl,'
15187 lt_prog_compiler_pic_GCJ='-KPIC'
15188 lt_prog_compiler_static_GCJ='-static'
15191 lt_prog_compiler_wl_GCJ='-Wl,'
15192 # All Alpha code is PIC.
15193 lt_prog_compiler_static_GCJ='-non_shared'
15198 osf3* | osf4* | osf5*)
15199 lt_prog_compiler_wl_GCJ='-Wl,'
15200 # All OSF/1 code is PIC.
15201 lt_prog_compiler_static_GCJ='-non_shared'
15205 lt_prog_compiler_pic_GCJ='-Kpic'
15206 lt_prog_compiler_static_GCJ='-dn'
15210 lt_prog_compiler_wl_GCJ='-Wl,'
15211 lt_prog_compiler_pic_GCJ='-KPIC'
15212 lt_prog_compiler_static_GCJ='-Bstatic'
15216 lt_prog_compiler_wl_GCJ='-Qoption ld '
15217 lt_prog_compiler_pic_GCJ='-PIC'
15218 lt_prog_compiler_static_GCJ='-Bstatic'
15221 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15222 lt_prog_compiler_wl_GCJ='-Wl,'
15223 lt_prog_compiler_pic_GCJ='-KPIC'
15224 lt_prog_compiler_static_GCJ='-Bstatic'
15228 if test -d /usr/nec ;then
15229 lt_prog_compiler_pic_GCJ='-Kconform_pic'
15230 lt_prog_compiler_static_GCJ='-Bstatic'
15235 lt_prog_compiler_pic_GCJ='-pic'
15236 lt_prog_compiler_static_GCJ='-Bstatic'
15240 lt_prog_compiler_can_build_shared_GCJ=no
15245 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15246 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15249 # Check to make sure the PIC flag actually works.
15251 if test -n "$lt_prog_compiler_pic_GCJ"; then
15252 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15253 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15254 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15255 echo $ECHO_N "(cached) $ECHO_C" >&6
15257 lt_prog_compiler_pic_works_GCJ=no
15258 ac_outfile=conftest.$ac_objext
15259 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15260 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15261 # Insert the option either (1) after the last *FLAGS variable, or
15262 # (2) before a word containing "conftest.", or (3) at the end.
15263 # Note that $ac_compile itself does not contain backslashes and begins
15264 # with a dollar sign (not a hyphen), so the echo should work correctly.
15265 # The option is referenced via a variable to avoid confusing sed.
15266 lt_compile=`echo "$ac_compile" | $SED \
15267 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15268 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15269 -e 's:$: $lt_compiler_flag:'`
15270 (eval echo "\"\$as_me:15270: $lt_compile\"" >&5)
15271 (eval "$lt_compile" 2>conftest.err)
15273 cat conftest.err >&5
15274 echo "$as_me:15274: \$? = $ac_status" >&5
15275 if (exit $ac_status) && test -s "$ac_outfile"; then
15276 # The compiler can only warn and ignore the option if not recognized
15277 # So say no if there are warnings
15278 if test ! -s conftest.err; then
15279 lt_prog_compiler_pic_works_GCJ=yes
15285 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15286 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15288 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15289 case $lt_prog_compiler_pic_GCJ in
15291 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15294 lt_prog_compiler_pic_GCJ=
15295 lt_prog_compiler_can_build_shared_GCJ=no
15300 # For platforms which do not support PIC, -DPIC is meaningless:
15302 lt_prog_compiler_pic_GCJ=
15305 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15309 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15310 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15311 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15312 echo $ECHO_N "(cached) $ECHO_C" >&6
15314 lt_cv_prog_compiler_c_o_GCJ=no
15315 $rm -r conftest 2>/dev/null
15319 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15321 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15322 # that will create temporary files in the current directory regardless of
15323 # the output directory. Thus, making CWD read-only will cause this test
15324 # to fail, enabling locking or at least warning the user not to do parallel
15328 lt_compiler_flag="-o out/conftest2.$ac_objext"
15329 # Insert the option either (1) after the last *FLAGS variable, or
15330 # (2) before a word containing "conftest.", or (3) at the end.
15331 # Note that $ac_compile itself does not contain backslashes and begins
15332 # with a dollar sign (not a hyphen), so the echo should work correctly.
15333 lt_compile=`echo "$ac_compile" | $SED \
15334 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15335 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15336 -e 's:$: $lt_compiler_flag:'`
15337 (eval echo "\"\$as_me:15337: $lt_compile\"" >&5)
15338 (eval "$lt_compile" 2>out/conftest.err)
15340 cat out/conftest.err >&5
15341 echo "$as_me:15341: \$? = $ac_status" >&5
15342 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15344 # The compiler can only warn and ignore the option if not recognized
15345 # So say no if there are warnings
15346 if test ! -s out/conftest.err; then
15347 lt_cv_prog_compiler_c_o_GCJ=yes
15351 $rm conftest* out/*
15358 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15359 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15362 hard_links="nottested"
15363 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15364 # do not overwrite the value of need_locks provided by the user
15365 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15366 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15369 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15371 ln conftest.a conftest.b 2>&5 || hard_links=no
15372 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15373 echo "$as_me:$LINENO: result: $hard_links" >&5
15374 echo "${ECHO_T}$hard_links" >&6
15375 if test "$hard_links" = no; then
15376 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15377 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15384 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15385 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15388 allow_undefined_flag_GCJ=
15389 enable_shared_with_static_runtimes_GCJ=no
15391 archive_expsym_cmds_GCJ=
15392 old_archive_From_new_cmds_GCJ=
15393 old_archive_from_expsyms_cmds_GCJ=
15394 export_dynamic_flag_spec_GCJ=
15395 whole_archive_flag_spec_GCJ=
15396 thread_safe_flag_spec_GCJ=
15397 hardcode_libdir_flag_spec_GCJ=
15398 hardcode_libdir_flag_spec_ld_GCJ=
15399 hardcode_libdir_separator_GCJ=
15400 hardcode_direct_GCJ=no
15401 hardcode_minus_L_GCJ=no
15402 hardcode_shlibpath_var_GCJ=unsupported
15403 link_all_deplibs_GCJ=unknown
15404 hardcode_automatic_GCJ=no
15406 module_expsym_cmds_GCJ=
15407 always_export_symbols_GCJ=no
15408 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15409 # include_expsyms should be a list of space-separated symbols to be *always*
15410 # included in the symbol list
15411 include_expsyms_GCJ=
15412 # exclude_expsyms can be an extended regexp of symbols to exclude
15413 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15414 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15415 # as well as any symbol that contains `d'.
15416 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15417 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15418 # platforms (ab)use it in PIC code, but their linkers get confused if
15419 # the symbol is explicitly referenced. Since portable code cannot
15420 # rely on this symbol name, it's probably fine to never include it in
15421 # preloaded symbol tables.
15422 extract_expsyms_cmds=
15425 cygwin* | mingw* | pw32*)
15426 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15427 # When not using gcc, we currently assume that we are using
15428 # Microsoft Visual C++.
15429 if test "$GCC" != yes; then
15439 if test "$with_gnu_ld" = yes; then
15440 # If archive_cmds runs LD, not CC, wlarc should be empty
15443 # See if GNU ld supports shared libraries.
15445 aix3* | aix4* | aix5*)
15446 # On AIX/PPC, the GNU linker is very broken
15447 if test "$host_cpu" != ia64; then
15451 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15452 *** to be unable to reliably create shared libraries on AIX.
15453 *** Therefore, libtool is disabling shared libraries support. If you
15454 *** really care for shared libraries, you may want to modify your PATH
15455 *** so that a non-GNU linker is found, and then restart.
15462 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)'
15463 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15464 hardcode_minus_L_GCJ=yes
15466 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15467 # that the semantics of dynamic libraries on AmigaOS, at least up
15468 # to version 4, is to share data among multiple programs linked
15469 # with the same dynamic library. Since this doesn't match the
15470 # behavior of shared libraries on other platforms, we can't use
15476 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15477 allow_undefined_flag_GCJ=unsupported
15478 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15479 # support --undefined. This deserves some investigation. FIXME
15480 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15486 cygwin* | mingw* | pw32*)
15487 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15488 # as there is no search path for DLLs.
15489 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15490 allow_undefined_flag_GCJ=unsupported
15491 always_export_symbols_GCJ=no
15492 enable_shared_with_static_runtimes_GCJ=yes
15493 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15495 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15496 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15497 # If the export-symbols file already is a .def file (1st line
15498 # is EXPORTS), use it as is; otherwise, prepend...
15499 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15500 cp $export_symbols $output_objdir/$soname.def;
15502 echo EXPORTS > $output_objdir/$soname.def;
15503 cat $export_symbols >> $output_objdir/$soname.def;
15505 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15512 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15513 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15516 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15517 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15522 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15526 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15527 *** create shared libraries on Solaris systems. Therefore, libtool
15528 *** is disabling shared libraries support. We urge you to upgrade GNU
15529 *** binutils to release 2.9.1 or newer. Another option is to modify
15530 *** your PATH or compiler configuration so that the native linker is
15531 *** used, and then restart.
15534 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15535 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15536 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15543 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15545 hardcode_direct_GCJ=yes
15546 hardcode_shlibpath_var_GCJ=no
15550 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15551 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15552 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15559 if test "$ld_shlibs_GCJ" = yes; then
15560 runpath_var=LD_RUN_PATH
15561 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15562 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15563 # ancient GNU ld didn't support --whole-archive et. al.
15564 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15565 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15567 whole_archive_flag_spec_GCJ=
15571 # PORTME fill in a description of your system's linker (not GNU ld)
15574 allow_undefined_flag_GCJ=unsupported
15575 always_export_symbols_GCJ=yes
15576 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'
15577 # Note: this linker hardcodes the directories in LIBPATH if there
15578 # are no directories specified by -L.
15579 hardcode_minus_L_GCJ=yes
15580 if test "$GCC" = yes && test -z "$link_static_flag"; then
15581 # Neither direct hardcoding nor static linking is supported with a
15583 hardcode_direct_GCJ=unsupported
15588 if test "$host_cpu" = ia64; then
15589 # On IA64, the linker does run time linking by default, so we don't
15590 # have to do anything special.
15591 aix_use_runtimelinking=no
15592 exp_sym_flag='-Bexport'
15595 # If we're using GNU nm, then we don't want the "-C" option.
15596 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15597 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15598 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'
15600 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'
15602 aix_use_runtimelinking=no
15604 # Test if we are trying to use run time linking or normal
15605 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15606 # need to do runtime linking.
15607 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15608 for ld_flag in $LDFLAGS; do
15609 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15610 aix_use_runtimelinking=yes
15616 exp_sym_flag='-bexport'
15617 no_entry_flag='-bnoentry'
15620 # When large executables or shared objects are built, AIX ld can
15621 # have problems creating the table of contents. If linking a library
15622 # or program results in "error TOC overflow" add -mminimal-toc to
15623 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15624 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15626 archive_cmds_GCJ=''
15627 hardcode_direct_GCJ=yes
15628 hardcode_libdir_separator_GCJ=':'
15629 link_all_deplibs_GCJ=yes
15631 if test "$GCC" = yes; then
15632 case $host_os in aix4.012|aix4.012.*)
15633 # We only want to do this on AIX 4.2 and lower, the check
15634 # below for broken collect2 doesn't work under 4.3+
15635 collect2name=`${CC} -print-prog-name=collect2`
15636 if test -f "$collect2name" && \
15637 strings "$collect2name" | grep resolve_lib_name >/dev/null
15639 # We have reworked collect2
15640 hardcode_direct_GCJ=yes
15642 # We have old collect2
15643 hardcode_direct_GCJ=unsupported
15644 # It fails to find uninstalled libraries when the uninstalled
15645 # path is not listed in the libpath. Setting hardcode_minus_L
15646 # to unsupported forces relinking
15647 hardcode_minus_L_GCJ=yes
15648 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15649 hardcode_libdir_separator_GCJ=
15652 shared_flag='-shared'
15655 if test "$host_cpu" = ia64; then
15656 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15657 # chokes on -Wl,-G. The following line is correct:
15660 if test "$aix_use_runtimelinking" = yes; then
15661 shared_flag='${wl}-G'
15663 shared_flag='${wl}-bM:SRE'
15668 # It seems that -bexpall does not export symbols beginning with
15669 # underscore (_), so it is better to generate a list of symbols to export.
15670 always_export_symbols_GCJ=yes
15671 if test "$aix_use_runtimelinking" = yes; then
15672 # Warning - without using the other runtime loading flags (-brtl),
15673 # -berok will link without error, but may produce a broken library.
15674 allow_undefined_flag_GCJ='-berok'
15675 # Determine the default libpath from the value encoded in an empty executable.
15676 cat >conftest.$ac_ext <<_ACEOF
15677 #line $LINENO "configure"
15680 cat confdefs.h >>conftest.$ac_ext
15681 cat >>conftest.$ac_ext <<_ACEOF
15682 /* end confdefs.h. */
15692 rm -f conftest.$ac_objext conftest$ac_exeext
15693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15694 (eval $ac_link) 2>&5
15696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15697 (exit $ac_status); } &&
15698 { ac_try='test -s conftest$ac_exeext'
15699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15700 (eval $ac_try) 2>&5
15702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15703 (exit $ac_status); }; }; then
15705 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15707 # Check for a 64-bit object if we didn't find anything.
15708 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; }
15711 echo "$as_me: failed program was:" >&5
15712 sed 's/^/| /' conftest.$ac_ext >&5
15715 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15716 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15718 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15719 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"
15721 if test "$host_cpu" = ia64; then
15722 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
15723 allow_undefined_flag_GCJ="-z nodefs"
15724 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"
15726 # Determine the default libpath from the value encoded in an empty executable.
15727 cat >conftest.$ac_ext <<_ACEOF
15728 #line $LINENO "configure"
15731 cat confdefs.h >>conftest.$ac_ext
15732 cat >>conftest.$ac_ext <<_ACEOF
15733 /* end confdefs.h. */
15743 rm -f conftest.$ac_objext conftest$ac_exeext
15744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15745 (eval $ac_link) 2>&5
15747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15748 (exit $ac_status); } &&
15749 { ac_try='test -s conftest$ac_exeext'
15750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15751 (eval $ac_try) 2>&5
15753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15754 (exit $ac_status); }; }; then
15756 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15758 # Check for a 64-bit object if we didn't find anything.
15759 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; }
15762 echo "$as_me: failed program was:" >&5
15763 sed 's/^/| /' conftest.$ac_ext >&5
15766 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15767 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15769 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15770 # Warning - without using the other run time loading flags,
15771 # -berok will link without error, but may produce a broken library.
15772 no_undefined_flag_GCJ=' ${wl}-bernotok'
15773 allow_undefined_flag_GCJ=' ${wl}-berok'
15774 # -bexpall does not export symbols beginning with underscore (_)
15775 always_export_symbols_GCJ=yes
15776 # Exported symbols can be pulled into shared objects from archives
15777 whole_archive_flag_spec_GCJ=' '
15778 archive_cmds_need_lc_GCJ=yes
15779 # This is similar to how AIX traditionally builds it's shared libraries.
15780 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'
15786 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)'
15787 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15788 hardcode_minus_L_GCJ=yes
15789 # see comment about different semantics on the GNU ld section
15794 export_dynamic_flag_spec_GCJ=-rdynamic
15797 cygwin* | mingw* | pw32*)
15798 # When not using gcc, we currently assume that we are using
15799 # Microsoft Visual C++.
15800 # hardcode_libdir_flag_spec is actually meaningless, as there is
15801 # no search path for DLLs.
15802 hardcode_libdir_flag_spec_GCJ=' '
15803 allow_undefined_flag_GCJ=unsupported
15804 # Tell ltmain to make .lib files, not .a files.
15806 # Tell ltmain to make .dll files, not .so files.
15808 # FIXME: Setting linknames here is a bad hack.
15809 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15810 # The linker will automatically build a .lib file if we build a DLL.
15811 old_archive_From_new_cmds_GCJ='true'
15812 # FIXME: Should let the user specify the lib program.
15813 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
15814 fix_srcfile_path='`cygpath -w "$srcfile"`'
15815 enable_shared_with_static_runtimes_GCJ=yes
15818 darwin* | rhapsody*)
15819 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
15820 archive_cmds_need_lc_GCJ=no
15822 rhapsody* | darwin1.[012])
15823 allow_undefined_flag_GCJ='-undefined suppress'
15826 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
15829 # FIXME: Relying on posixy $() will cause problems for
15830 # cross-compilation, but unfortunately the echo tests do not
15831 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
15832 # `"' quotes if we put them in here... so don't!
15833 lt_int_apple_cc_single_mod=no
15834 output_verbose_link_cmd='echo'
15835 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
15836 lt_int_apple_cc_single_mod=yes
15838 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15839 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15841 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'
15843 module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
15844 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15845 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15846 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}'
15848 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}'
15850 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}'
15851 hardcode_direct_GCJ=no
15852 hardcode_automatic_GCJ=yes
15853 hardcode_shlibpath_var_GCJ=unsupported
15854 whole_archive_flag_spec_GCJ='-all_load $convenience'
15855 link_all_deplibs_GCJ=yes
15860 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15861 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15862 hardcode_shlibpath_var_GCJ=no
15869 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15870 # support. Future versions do this automatically, but an explicit c++rt0.o
15871 # does not break anything, and helps significantly (at the cost of a little
15874 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15875 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15876 hardcode_direct_GCJ=yes
15877 hardcode_shlibpath_var_GCJ=no
15880 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15882 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15883 hardcode_direct_GCJ=yes
15884 hardcode_minus_L_GCJ=yes
15885 hardcode_shlibpath_var_GCJ=no
15888 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15890 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15891 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15892 hardcode_direct_GCJ=yes
15893 hardcode_shlibpath_var_GCJ=no
15897 if test "$GCC" = yes; then
15898 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'
15900 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'
15902 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15903 hardcode_libdir_separator_GCJ=:
15904 hardcode_direct_GCJ=yes
15906 # hardcode_minus_L: Not really in the search PATH,
15907 # but as the default location of the library.
15908 hardcode_minus_L_GCJ=yes
15909 export_dynamic_flag_spec_GCJ='${wl}-E'
15913 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15914 case "$host_cpu" in
15916 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15919 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15923 case "$host_cpu" in
15925 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15928 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15932 if test "$with_gnu_ld" = no; then
15933 case "$host_cpu" in
15935 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15936 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
15937 hardcode_libdir_separator_GCJ=:
15938 hardcode_direct_GCJ=no
15939 hardcode_shlibpath_var_GCJ=no
15942 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15943 hardcode_direct_GCJ=no
15944 hardcode_shlibpath_var_GCJ=no
15946 # hardcode_minus_L: Not really in the search PATH,
15947 # but as the default location of the library.
15948 hardcode_minus_L_GCJ=yes
15951 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15952 hardcode_libdir_separator_GCJ=:
15953 hardcode_direct_GCJ=yes
15954 export_dynamic_flag_spec_GCJ='${wl}-E'
15956 # hardcode_minus_L: Not really in the search PATH,
15957 # but as the default location of the library.
15958 hardcode_minus_L_GCJ=yes
15964 irix5* | irix6* | nonstopux*)
15965 if test "$GCC" = yes; then
15966 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'
15968 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'
15969 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
15971 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15972 hardcode_libdir_separator_GCJ=:
15973 link_all_deplibs_GCJ=yes
15977 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15978 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15980 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15982 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15983 hardcode_direct_GCJ=yes
15984 hardcode_shlibpath_var_GCJ=no
15988 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15989 hardcode_direct_GCJ=yes
15990 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15991 hardcode_libdir_separator_GCJ=:
15992 hardcode_shlibpath_var_GCJ=no
15996 hardcode_direct_GCJ=yes
15997 hardcode_shlibpath_var_GCJ=no
15998 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15999 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16000 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16001 export_dynamic_flag_spec_GCJ='${wl}-E'
16004 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16005 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16006 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16009 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16010 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16017 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16018 hardcode_minus_L_GCJ=yes
16019 allow_undefined_flag_GCJ=unsupported
16020 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'
16021 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16025 if test "$GCC" = yes; then
16026 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16027 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'
16029 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16030 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'
16032 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16033 hardcode_libdir_separator_GCJ=:
16036 osf4* | osf5*) # as osf3* with the addition of -msym flag
16037 if test "$GCC" = yes; then
16038 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16039 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'
16040 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16042 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16043 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'
16044 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~
16045 $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'
16047 # Both c and cxx compiler support -rpath directly
16048 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16050 hardcode_libdir_separator_GCJ=:
16054 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16055 hardcode_shlibpath_var_GCJ=no
16056 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16057 runpath_var=LD_RUN_PATH
16058 hardcode_runpath_var=yes
16062 no_undefined_flag_GCJ=' -z text'
16063 if test "$GCC" = yes; then
16064 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16065 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16066 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16068 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16069 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16070 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16072 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16073 hardcode_shlibpath_var_GCJ=no
16075 solaris2.[0-5] | solaris2.[0-5].*) ;;
16076 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16077 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16079 link_all_deplibs_GCJ=yes
16083 if test "x$host_vendor" = xsequent; then
16084 # Use $CC to link under sequent, because it throws in some extra .o
16085 # files that make .init and .fini sections work.
16086 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16088 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16090 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16091 hardcode_direct_GCJ=yes
16092 hardcode_minus_L_GCJ=yes
16093 hardcode_shlibpath_var_GCJ=no
16097 case $host_vendor in
16099 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16100 hardcode_direct_GCJ=yes # is this really true???
16103 ## LD is ld it makes a PLAMLIB
16104 ## CC just makes a GrossModule.
16105 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16106 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16107 hardcode_direct_GCJ=no
16110 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16111 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16114 runpath_var='LD_RUN_PATH'
16115 hardcode_shlibpath_var_GCJ=no
16119 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16120 hardcode_shlibpath_var_GCJ=no
16121 export_dynamic_flag_spec_GCJ='-Bexport'
16125 if test -d /usr/nec; then
16126 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16127 hardcode_shlibpath_var_GCJ=no
16128 runpath_var=LD_RUN_PATH
16129 hardcode_runpath_var=yes
16135 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16136 hardcode_direct_GCJ=yes
16137 hardcode_minus_L_GCJ=no
16138 hardcode_shlibpath_var_GCJ=no
16139 hardcode_runpath_var=yes
16140 runpath_var=LD_RUN_PATH
16143 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16144 no_undefined_flag_GCJ='${wl}-z ${wl}text'
16145 if test "$GCC" = yes; then
16146 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16148 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16150 runpath_var='LD_RUN_PATH'
16151 hardcode_shlibpath_var_GCJ=no
16155 no_undefined_flag_GCJ=' -z text'
16156 # $CC -shared without GNU ld will not create a library from C++
16157 # object files and a static libstdc++, better avoid it by now
16158 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16159 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16160 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16161 hardcode_libdir_flag_spec_GCJ=
16162 hardcode_shlibpath_var_GCJ=no
16163 runpath_var='LD_RUN_PATH'
16167 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16168 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16169 hardcode_shlibpath_var_GCJ=no
16178 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16179 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16180 test "$ld_shlibs_GCJ" = no && can_build_shared=no
16182 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16183 if test "$GCC" = yes; then
16184 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16188 # Do we need to explicitly link libc?
16190 case "x$archive_cmds_need_lc_GCJ" in
16192 # Assume -lc should be added
16193 archive_cmds_need_lc_GCJ=yes
16195 if test "$enable_shared" = yes && test "$GCC" = yes; then
16196 case $archive_cmds_GCJ in
16198 # FIXME: we may have to deal with multi-command sequences.
16201 # Test whether the compiler implicitly links with -lc since on some
16202 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16203 # to ld, don't add -lc before -lgcc.
16204 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16205 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16207 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16210 (eval $ac_compile) 2>&5
16212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16213 (exit $ac_status); } 2>conftest.err; then
16216 libobjs=conftest.$ac_objext
16218 wl=$lt_prog_compiler_wl_GCJ
16224 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16225 allow_undefined_flag_GCJ=
16226 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16227 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16230 (exit $ac_status); }
16232 archive_cmds_need_lc_GCJ=no
16234 archive_cmds_need_lc_GCJ=yes
16236 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16238 cat conftest.err 1>&5
16241 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16242 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16249 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16250 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16251 hardcode_action_GCJ=
16252 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
16253 test -n "$runpath_var GCJ" || \
16254 test "X$hardcode_automatic_GCJ"="Xyes" ; then
16256 # We can hardcode non-existant directories.
16257 if test "$hardcode_direct_GCJ" != no &&
16258 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16259 # have to relink, otherwise we might link with an installed library
16260 # when we should be linking with a yet-to-be-installed one
16261 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
16262 test "$hardcode_minus_L_GCJ" != no; then
16263 # Linking always hardcodes the temporary library directory.
16264 hardcode_action_GCJ=relink
16266 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16267 hardcode_action_GCJ=immediate
16270 # We cannot hardcode anything, or else we can only hardcode existing
16272 hardcode_action_GCJ=unsupported
16274 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
16275 echo "${ECHO_T}$hardcode_action_GCJ" >&6
16277 if test "$hardcode_action_GCJ" = relink; then
16278 # Fast installation is not supported
16279 enable_fast_install=no
16280 elif test "$shlibpath_overrides_runpath" = yes ||
16281 test "$enable_shared" = no; then
16282 # Fast installation is not necessary
16283 enable_fast_install=needless
16288 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16289 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16290 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16291 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16292 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16293 echo "$as_me:$LINENO: result: yes" >&5
16294 echo "${ECHO_T}yes" >&6
16296 # FIXME - insert some real tests, host_os isn't really good enough
16299 if test -n "$STRIP" ; then
16300 striplib="$STRIP -x"
16301 echo "$as_me:$LINENO: result: yes" >&5
16302 echo "${ECHO_T}yes" >&6
16304 echo "$as_me:$LINENO: result: no" >&5
16305 echo "${ECHO_T}no" >&6
16309 echo "$as_me:$LINENO: result: no" >&5
16310 echo "${ECHO_T}no" >&6
16315 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16316 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16317 library_names_spec=
16318 libname_spec='lib$name'
16322 postuninstall_cmds=
16326 shlibpath_overrides_runpath=unknown
16328 dynamic_linker="$host_os ld.so"
16329 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16330 if test "$GCC" = yes; then
16331 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16332 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16333 # if the path contains ";" then we assume it to be the separator
16334 # otherwise default to the standard path separator (i.e. ":") - it is
16335 # assumed that no part of a normal pathname contains ";" but that should
16336 # okay in the real world where ";" in dirpaths is itself problematic.
16337 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16339 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16342 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16344 need_lib_prefix=unknown
16345 hardcode_into_libs=no
16347 # when you set need_version to no, make sure it does not cause -set_version
16348 # flags to be left without arguments
16349 need_version=unknown
16354 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16355 shlibpath_var=LIBPATH
16357 # AIX 3 has no versioning support, so we append a major version to the name.
16358 soname_spec='${libname}${release}${shared_ext}$major'
16365 hardcode_into_libs=yes
16366 if test "$host_cpu" = ia64; then
16367 # AIX 5 supports IA64
16368 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16369 shlibpath_var=LD_LIBRARY_PATH
16371 # With GCC up to 2.95.x, collect2 would create an import file
16372 # for dependence libraries. The import file would start with
16373 # the line `#! .'. This would cause the generated library to
16374 # depend on `.', always an invalid library. This was fixed in
16375 # development snapshots of GCC prior to 3.0.
16377 aix4 | aix4.[01] | aix4.[01].*)
16378 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16380 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16383 can_build_shared=no
16387 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16388 # soname into executable. Probably we can add versioning support to
16389 # collect2, so additional links can be useful in future.
16390 if test "$aix_use_runtimelinking" = yes; then
16391 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16392 # instead of lib<name>.a to let people know that these are not
16393 # typical AIX shared libraries.
16394 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16396 # We preserve .a as extension for shared libraries through AIX4.2
16397 # and later when we are not doing run time linking.
16398 library_names_spec='${libname}${release}.a $libname.a'
16399 soname_spec='${libname}${release}${shared_ext}$major'
16401 shlibpath_var=LIBPATH
16406 library_names_spec='$libname.ixlibrary $libname.a'
16407 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16408 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'
16412 library_names_spec='${libname}${shared_ext}'
16413 dynamic_linker="$host_os ld.so"
16414 shlibpath_var=LIBRARY_PATH
16420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16421 soname_spec='${libname}${release}${shared_ext}$major'
16422 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16423 shlibpath_var=LD_LIBRARY_PATH
16424 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16425 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16426 # the default ld.so.conf also contains /usr/contrib/lib and
16427 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16428 # libtool to hard-code these into programs
16431 cygwin* | mingw* | pw32*)
16432 version_type=windows
16437 case $GCC,$host_os in
16438 yes,cygwin* | yes,mingw* | yes,pw32*)
16439 library_names_spec='$libname.dll.a'
16440 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16441 postinstall_cmds='base_file=`basename \${file}`~
16442 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16443 dldir=$destdir/`dirname \$dlpath`~
16444 test -d \$dldir || mkdir -p \$dldir~
16445 $install_prog $dir/$dlname \$dldir/$dlname'
16446 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16447 dlpath=$dir/\$dldll~
16449 shlibpath_overrides_runpath=yes
16453 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16454 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16455 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
16458 # MinGW DLLs use traditional 'lib' prefix
16459 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16460 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16461 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16462 # It is most probably a Windows format PATH printed by
16463 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16464 # path with ; separators, and with drive letters. We can handle the
16465 # drive letters (cygwin fileutils understands them), so leave them,
16466 # especially as we might pass files found there to a mingw objdump,
16467 # which wouldn't understand a cygwinified path. Ahh.
16468 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16470 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16474 # pw32 DLLs use 'pw' prefix rather than 'lib'
16475 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16481 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16484 dynamic_linker='Win32 ld.exe'
16485 # FIXME: first we should search . and the directory the executable is in
16489 darwin* | rhapsody*)
16490 dynamic_linker="$host_os dyld"
16491 version_type=darwin
16494 # FIXME: Relying on posixy $() will cause problems for
16495 # cross-compilation, but unfortunately the echo tests do not
16496 # yet detect zsh echo's removal of \ escapes.
16497 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16498 soname_spec='${libname}${release}${major}$shared_ext'
16499 shlibpath_overrides_runpath=yes
16500 shlibpath_var=DYLD_LIBRARY_PATH
16501 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
16502 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16503 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
16504 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"`
16506 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16514 soname_spec='${libname}${release}${shared_ext}$major'
16515 shlibpath_var=LD_LIBRARY_PATH
16523 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16524 version_type=freebsd-$objformat
16525 case $version_type in
16527 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16532 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16536 shlibpath_var=LD_LIBRARY_PATH
16539 shlibpath_overrides_runpath=yes
16541 freebsd3.01* | freebsdelf3.01*)
16542 shlibpath_overrides_runpath=yes
16543 hardcode_into_libs=yes
16546 shlibpath_overrides_runpath=no
16547 hardcode_into_libs=yes
16556 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16557 soname_spec='${libname}${release}${shared_ext}$major'
16558 shlibpath_var=LD_LIBRARY_PATH
16559 hardcode_into_libs=yes
16562 hpux9* | hpux10* | hpux11*)
16563 # Give a soname corresponding to the major version so that dld.sl refuses to
16564 # link against other versions.
16568 case "$host_cpu" in
16571 hardcode_into_libs=yes
16572 dynamic_linker="$host_os dld.so"
16573 shlibpath_var=LD_LIBRARY_PATH
16574 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16575 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16576 soname_spec='${libname}${release}${shared_ext}$major'
16577 if test "X$HPUX_IA64_MODE" = X32; then
16578 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16580 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16582 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16586 hardcode_into_libs=yes
16587 dynamic_linker="$host_os dld.sl"
16588 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_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 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16593 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16597 dynamic_linker="$host_os dld.sl"
16598 shlibpath_var=SHLIB_PATH
16599 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16601 soname_spec='${libname}${release}${shared_ext}$major'
16604 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16605 postinstall_cmds='chmod 555 $lib'
16608 irix5* | irix6* | nonstopux*)
16610 nonstopux*) version_type=nonstopux ;;
16612 if test "$lt_cv_prog_gnu_ld" = yes; then
16620 soname_spec='${libname}${release}${shared_ext}$major'
16621 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16623 irix5* | nonstopux*)
16624 libsuff= shlibsuff=
16627 case $LD in # libtool.m4 will add one of these switches to LD
16628 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16629 libsuff= shlibsuff= libmagic=32-bit;;
16630 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16631 libsuff=32 shlibsuff=N32 libmagic=N32;;
16632 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16633 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16634 *) libsuff= shlibsuff= libmagic=never-match;;
16638 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16639 shlibpath_overrides_runpath=no
16640 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16641 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16642 hardcode_into_libs=yes
16645 # No shared lib support for Linux oldld, aout, or coff.
16646 linux*oldld* | linux*aout* | linux*coff*)
16650 # This must be Linux ELF.
16655 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16656 soname_spec='${libname}${release}${shared_ext}$major'
16657 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16658 shlibpath_var=LD_LIBRARY_PATH
16659 shlibpath_overrides_runpath=no
16660 # This implies no fast_install, which is unacceptable.
16661 # Some rework will be needed to allow for fast_install
16662 # before this can be enabled.
16663 hardcode_into_libs=yes
16665 # We used to test for /lib/ld.so.1 and disable shared libraries on
16666 # powerpc, because MkLinux only supported shared libraries with the
16667 # GNU dynamic linker. Since this was broken with cross compilers,
16668 # most powerpc-linux boxes support dynamic linking these days and
16669 # people can always --disable-shared, the test was removed, and we
16670 # assume the GNU/Linux dynamic linker is in use.
16671 dynamic_linker='GNU/Linux ld.so'
16678 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16679 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16680 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16681 dynamic_linker='NetBSD (a.out) ld.so'
16683 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16684 soname_spec='${libname}${release}${shared_ext}$major'
16685 dynamic_linker='NetBSD ld.elf_so'
16687 shlibpath_var=LD_LIBRARY_PATH
16688 shlibpath_overrides_runpath=yes
16689 hardcode_into_libs=yes
16694 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16695 shlibpath_var=LD_LIBRARY_PATH
16696 shlibpath_overrides_runpath=yes
16703 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16704 soname_spec='${libname}${release}${shared_ext}$major'
16705 shlibpath_var=LD_LIBRARY_PATH
16706 shlibpath_overrides_runpath=yes
16713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16714 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16715 shlibpath_var=LD_LIBRARY_PATH
16716 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16718 openbsd2.[89] | openbsd2.[89].*)
16719 shlibpath_overrides_runpath=no
16722 shlibpath_overrides_runpath=yes
16726 shlibpath_overrides_runpath=yes
16731 libname_spec='$name'
16734 library_names_spec='$libname${shared_ext} $libname.a'
16735 dynamic_linker='OS/2 ld.exe'
16736 shlibpath_var=LIBPATH
16739 osf3* | osf4* | osf5*)
16743 soname_spec='${libname}${release}${shared_ext}$major'
16744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16745 shlibpath_var=LD_LIBRARY_PATH
16746 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16747 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16752 soname_spec='${libname}${release}${shared_ext}$major'
16753 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16754 shlibpath_var=LD_LIBRARY_PATH
16761 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16762 soname_spec='${libname}${release}${shared_ext}$major'
16763 shlibpath_var=LD_LIBRARY_PATH
16764 shlibpath_overrides_runpath=yes
16765 hardcode_into_libs=yes
16766 # ldd complains unless libraries are executable
16767 postinstall_cmds='chmod +x $lib'
16772 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16773 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16774 shlibpath_var=LD_LIBRARY_PATH
16775 shlibpath_overrides_runpath=yes
16776 if test "$with_gnu_ld" = yes; then
16782 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16784 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16785 soname_spec='${libname}${release}${shared_ext}$major'
16786 shlibpath_var=LD_LIBRARY_PATH
16787 case $host_vendor in
16789 shlibpath_overrides_runpath=no
16791 export_dynamic_flag_spec='${wl}-Blargedynsym'
16792 runpath_var=LD_RUN_PATH
16800 shlibpath_overrides_runpath=no
16801 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16807 if test -d /usr/nec ;then
16809 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16810 soname_spec='$libname${shared_ext}.$major'
16811 shlibpath_var=LD_LIBRARY_PATH
16817 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16818 soname_spec='${libname}${release}${shared_ext}$major'
16819 shlibpath_var=LD_LIBRARY_PATH
16826 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16827 echo "${ECHO_T}$dynamic_linker" >&6
16828 test "$dynamic_linker" = no && can_build_shared=no
16830 if test "x$enable_dlopen" != xyes; then
16831 enable_dlopen=unknown
16832 enable_dlopen_self=unknown
16833 enable_dlopen_self_static=unknown
16840 lt_cv_dlopen="load_add_on"
16842 lt_cv_dlopen_self=yes
16846 lt_cv_dlopen="LoadLibrary"
16851 lt_cv_dlopen="dlopen"
16856 # if libdl is installed we need to link against it
16857 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16858 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16859 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16860 echo $ECHO_N "(cached) $ECHO_C" >&6
16862 ac_check_lib_save_LIBS=$LIBS
16864 cat >conftest.$ac_ext <<_ACEOF
16865 #line $LINENO "configure"
16868 cat confdefs.h >>conftest.$ac_ext
16869 cat >>conftest.$ac_ext <<_ACEOF
16870 /* end confdefs.h. */
16872 /* Override any gcc2 internal prototype to avoid an error. */
16876 /* We use char because int might match the return type of a gcc2
16877 builtin and then its argument prototype would still apply. */
16887 rm -f conftest.$ac_objext conftest$ac_exeext
16888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16889 (eval $ac_link) 2>&5
16891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16892 (exit $ac_status); } &&
16893 { ac_try='test -s conftest$ac_exeext'
16894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16895 (eval $ac_try) 2>&5
16897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16898 (exit $ac_status); }; }; then
16899 ac_cv_lib_dl_dlopen=yes
16901 echo "$as_me: failed program was:" >&5
16902 sed 's/^/| /' conftest.$ac_ext >&5
16904 ac_cv_lib_dl_dlopen=no
16906 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16907 LIBS=$ac_check_lib_save_LIBS
16909 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16910 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16911 if test $ac_cv_lib_dl_dlopen = yes; then
16912 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16915 lt_cv_dlopen="dyld"
16917 lt_cv_dlopen_self=yes
16924 echo "$as_me:$LINENO: checking for shl_load" >&5
16925 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
16926 if test "${ac_cv_func_shl_load+set}" = set; then
16927 echo $ECHO_N "(cached) $ECHO_C" >&6
16929 cat >conftest.$ac_ext <<_ACEOF
16930 #line $LINENO "configure"
16933 cat confdefs.h >>conftest.$ac_ext
16934 cat >>conftest.$ac_ext <<_ACEOF
16935 /* end confdefs.h. */
16936 /* System header to define __stub macros and hopefully few prototypes,
16937 which can conflict with char shl_load (); below.
16938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16939 <limits.h> exists even on freestanding compilers. */
16941 # include <limits.h>
16943 # include <assert.h>
16945 /* Override any gcc2 internal prototype to avoid an error. */
16950 /* We use char because int might match the return type of a gcc2
16951 builtin and then its argument prototype would still apply. */
16953 /* The GNU C library defines this for functions which it implements
16954 to always fail with ENOSYS. Some functions are actually named
16955 something starting with __ and the normal name is an alias. */
16956 #if defined (__stub_shl_load) || defined (__stub___shl_load)
16959 char (*f) () = shl_load;
16968 return f != shl_load;
16973 rm -f conftest.$ac_objext conftest$ac_exeext
16974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16975 (eval $ac_link) 2>&5
16977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16978 (exit $ac_status); } &&
16979 { ac_try='test -s conftest$ac_exeext'
16980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16981 (eval $ac_try) 2>&5
16983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16984 (exit $ac_status); }; }; then
16985 ac_cv_func_shl_load=yes
16987 echo "$as_me: failed program was:" >&5
16988 sed 's/^/| /' conftest.$ac_ext >&5
16990 ac_cv_func_shl_load=no
16992 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16994 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
16995 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
16996 if test $ac_cv_func_shl_load = yes; then
16997 lt_cv_dlopen="shl_load"
16999 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17000 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17001 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17002 echo $ECHO_N "(cached) $ECHO_C" >&6
17004 ac_check_lib_save_LIBS=$LIBS
17006 cat >conftest.$ac_ext <<_ACEOF
17007 #line $LINENO "configure"
17010 cat confdefs.h >>conftest.$ac_ext
17011 cat >>conftest.$ac_ext <<_ACEOF
17012 /* end confdefs.h. */
17014 /* Override any gcc2 internal prototype to avoid an error. */
17018 /* We use char because int might match the return type of a gcc2
17019 builtin and then its argument prototype would still apply. */
17029 rm -f conftest.$ac_objext conftest$ac_exeext
17030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17031 (eval $ac_link) 2>&5
17033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17034 (exit $ac_status); } &&
17035 { ac_try='test -s conftest$ac_exeext'
17036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17037 (eval $ac_try) 2>&5
17039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17040 (exit $ac_status); }; }; then
17041 ac_cv_lib_dld_shl_load=yes
17043 echo "$as_me: failed program was:" >&5
17044 sed 's/^/| /' conftest.$ac_ext >&5
17046 ac_cv_lib_dld_shl_load=no
17048 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17049 LIBS=$ac_check_lib_save_LIBS
17051 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17052 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17053 if test $ac_cv_lib_dld_shl_load = yes; then
17054 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17056 echo "$as_me:$LINENO: checking for dlopen" >&5
17057 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17058 if test "${ac_cv_func_dlopen+set}" = set; then
17059 echo $ECHO_N "(cached) $ECHO_C" >&6
17061 cat >conftest.$ac_ext <<_ACEOF
17062 #line $LINENO "configure"
17065 cat confdefs.h >>conftest.$ac_ext
17066 cat >>conftest.$ac_ext <<_ACEOF
17067 /* end confdefs.h. */
17068 /* System header to define __stub macros and hopefully few prototypes,
17069 which can conflict with char dlopen (); below.
17070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17071 <limits.h> exists even on freestanding compilers. */
17073 # include <limits.h>
17075 # include <assert.h>
17077 /* Override any gcc2 internal prototype to avoid an error. */
17082 /* We use char because int might match the return type of a gcc2
17083 builtin and then its argument prototype would still apply. */
17085 /* The GNU C library defines this for functions which it implements
17086 to always fail with ENOSYS. Some functions are actually named
17087 something starting with __ and the normal name is an alias. */
17088 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17091 char (*f) () = dlopen;
17100 return f != dlopen;
17105 rm -f conftest.$ac_objext conftest$ac_exeext
17106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17107 (eval $ac_link) 2>&5
17109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17110 (exit $ac_status); } &&
17111 { ac_try='test -s conftest$ac_exeext'
17112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17113 (eval $ac_try) 2>&5
17115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17116 (exit $ac_status); }; }; then
17117 ac_cv_func_dlopen=yes
17119 echo "$as_me: failed program was:" >&5
17120 sed 's/^/| /' conftest.$ac_ext >&5
17122 ac_cv_func_dlopen=no
17124 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17126 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17127 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17128 if test $ac_cv_func_dlopen = yes; then
17129 lt_cv_dlopen="dlopen"
17131 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17132 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17133 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17134 echo $ECHO_N "(cached) $ECHO_C" >&6
17136 ac_check_lib_save_LIBS=$LIBS
17138 cat >conftest.$ac_ext <<_ACEOF
17139 #line $LINENO "configure"
17142 cat confdefs.h >>conftest.$ac_ext
17143 cat >>conftest.$ac_ext <<_ACEOF
17144 /* end confdefs.h. */
17146 /* Override any gcc2 internal prototype to avoid an error. */
17150 /* We use char because int might match the return type of a gcc2
17151 builtin and then its argument prototype would still apply. */
17161 rm -f conftest.$ac_objext conftest$ac_exeext
17162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17163 (eval $ac_link) 2>&5
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); } &&
17167 { ac_try='test -s conftest$ac_exeext'
17168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17169 (eval $ac_try) 2>&5
17171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17172 (exit $ac_status); }; }; then
17173 ac_cv_lib_dl_dlopen=yes
17175 echo "$as_me: failed program was:" >&5
17176 sed 's/^/| /' conftest.$ac_ext >&5
17178 ac_cv_lib_dl_dlopen=no
17180 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17181 LIBS=$ac_check_lib_save_LIBS
17183 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17184 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17185 if test $ac_cv_lib_dl_dlopen = yes; then
17186 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17188 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17189 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17190 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17191 echo $ECHO_N "(cached) $ECHO_C" >&6
17193 ac_check_lib_save_LIBS=$LIBS
17194 LIBS="-lsvld $LIBS"
17195 cat >conftest.$ac_ext <<_ACEOF
17196 #line $LINENO "configure"
17199 cat confdefs.h >>conftest.$ac_ext
17200 cat >>conftest.$ac_ext <<_ACEOF
17201 /* end confdefs.h. */
17203 /* Override any gcc2 internal prototype to avoid an error. */
17207 /* We use char because int might match the return type of a gcc2
17208 builtin and then its argument prototype would still apply. */
17218 rm -f conftest.$ac_objext conftest$ac_exeext
17219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17220 (eval $ac_link) 2>&5
17222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17223 (exit $ac_status); } &&
17224 { ac_try='test -s conftest$ac_exeext'
17225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17226 (eval $ac_try) 2>&5
17228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17229 (exit $ac_status); }; }; then
17230 ac_cv_lib_svld_dlopen=yes
17232 echo "$as_me: failed program was:" >&5
17233 sed 's/^/| /' conftest.$ac_ext >&5
17235 ac_cv_lib_svld_dlopen=no
17237 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17238 LIBS=$ac_check_lib_save_LIBS
17240 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17241 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17242 if test $ac_cv_lib_svld_dlopen = yes; then
17243 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17245 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17246 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17247 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17248 echo $ECHO_N "(cached) $ECHO_C" >&6
17250 ac_check_lib_save_LIBS=$LIBS
17252 cat >conftest.$ac_ext <<_ACEOF
17253 #line $LINENO "configure"
17256 cat confdefs.h >>conftest.$ac_ext
17257 cat >>conftest.$ac_ext <<_ACEOF
17258 /* end confdefs.h. */
17260 /* Override any gcc2 internal prototype to avoid an error. */
17264 /* We use char because int might match the return type of a gcc2
17265 builtin and then its argument prototype would still apply. */
17275 rm -f conftest.$ac_objext conftest$ac_exeext
17276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17277 (eval $ac_link) 2>&5
17279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17280 (exit $ac_status); } &&
17281 { ac_try='test -s conftest$ac_exeext'
17282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17283 (eval $ac_try) 2>&5
17285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17286 (exit $ac_status); }; }; then
17287 ac_cv_lib_dld_dld_link=yes
17289 echo "$as_me: failed program was:" >&5
17290 sed 's/^/| /' conftest.$ac_ext >&5
17292 ac_cv_lib_dld_dld_link=no
17294 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17295 LIBS=$ac_check_lib_save_LIBS
17297 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17298 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17299 if test $ac_cv_lib_dld_dld_link = yes; then
17300 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17321 if test "x$lt_cv_dlopen" != xno; then
17327 case $lt_cv_dlopen in
17329 save_CPPFLAGS="$CPPFLAGS"
17330 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17332 save_LDFLAGS="$LDFLAGS"
17333 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17336 LIBS="$lt_cv_dlopen_libs $LIBS"
17338 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17339 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17340 if test "${lt_cv_dlopen_self+set}" = set; then
17341 echo $ECHO_N "(cached) $ECHO_C" >&6
17343 if test "$cross_compiling" = yes; then :
17344 lt_cv_dlopen_self=cross
17346 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17347 lt_status=$lt_dlunknown
17348 cat > conftest.$ac_ext <<EOF
17349 #line 17349 "configure"
17350 #include "confdefs.h"
17359 # define LT_DLGLOBAL RTLD_GLOBAL
17362 # define LT_DLGLOBAL DL_GLOBAL
17364 # define LT_DLGLOBAL 0
17368 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17369 find out it does not work in some platform. */
17370 #ifndef LT_DLLAZY_OR_NOW
17372 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17375 # define LT_DLLAZY_OR_NOW DL_LAZY
17378 # define LT_DLLAZY_OR_NOW RTLD_NOW
17381 # define LT_DLLAZY_OR_NOW DL_NOW
17383 # define LT_DLLAZY_OR_NOW 0
17391 extern "C" void exit (int);
17394 void fnord() { int i=42;}
17397 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17398 int status = $lt_dlunknown;
17402 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17403 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17404 /* dlclose (self); */
17410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17411 (eval $ac_link) 2>&5
17413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17414 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17415 (./conftest; exit; ) 2>/dev/null
17417 case x$lt_status in
17418 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17419 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17420 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
17423 # compilation failed
17424 lt_cv_dlopen_self=no
17431 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17432 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17434 if test "x$lt_cv_dlopen_self" = xyes; then
17435 LDFLAGS="$LDFLAGS $link_static_flag"
17436 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17437 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17438 if test "${lt_cv_dlopen_self_static+set}" = set; then
17439 echo $ECHO_N "(cached) $ECHO_C" >&6
17441 if test "$cross_compiling" = yes; then :
17442 lt_cv_dlopen_self_static=cross
17444 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17445 lt_status=$lt_dlunknown
17446 cat > conftest.$ac_ext <<EOF
17447 #line 17447 "configure"
17448 #include "confdefs.h"
17457 # define LT_DLGLOBAL RTLD_GLOBAL
17460 # define LT_DLGLOBAL DL_GLOBAL
17462 # define LT_DLGLOBAL 0
17466 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17467 find out it does not work in some platform. */
17468 #ifndef LT_DLLAZY_OR_NOW
17470 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17473 # define LT_DLLAZY_OR_NOW DL_LAZY
17476 # define LT_DLLAZY_OR_NOW RTLD_NOW
17479 # define LT_DLLAZY_OR_NOW DL_NOW
17481 # define LT_DLLAZY_OR_NOW 0
17489 extern "C" void exit (int);
17492 void fnord() { int i=42;}
17495 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17496 int status = $lt_dlunknown;
17500 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17501 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17502 /* dlclose (self); */
17508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17509 (eval $ac_link) 2>&5
17511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17512 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17513 (./conftest; exit; ) 2>/dev/null
17515 case x$lt_status in
17516 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17517 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17518 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
17521 # compilation failed
17522 lt_cv_dlopen_self_static=no
17529 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17530 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17533 CPPFLAGS="$save_CPPFLAGS"
17534 LDFLAGS="$save_LDFLAGS"
17539 case $lt_cv_dlopen_self in
17540 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17541 *) enable_dlopen_self=unknown ;;
17544 case $lt_cv_dlopen_self_static in
17545 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17546 *) enable_dlopen_self_static=unknown ;;
17551 # The else clause should only fire when bootstrapping the
17552 # libtool distribution, otherwise you forgot to ship ltmain.sh
17553 # with your package, and you will get complaints that there are
17554 # no rules to generate ltmain.sh.
17555 if test -f "$ltmain"; then
17556 # See if we are running on zsh, and set the options which allow our commands through
17557 # without removal of \ escapes.
17558 if test -n "${ZSH_VERSION+set}" ; then
17559 setopt NO_GLOB_SUBST
17561 # Now quote all the things that may contain metacharacters while being
17562 # careful not to overquote the AC_SUBSTed values. We take copies of the
17563 # variables and quote the copies for generation of the libtool script.
17564 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17565 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17566 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17567 deplibs_check_method reload_flag reload_cmds need_locks \
17568 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17569 lt_cv_sys_global_symbol_to_c_name_address \
17570 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17571 old_postinstall_cmds old_postuninstall_cmds \
17575 lt_prog_compiler_wl_GCJ \
17576 lt_prog_compiler_pic_GCJ \
17577 lt_prog_compiler_static_GCJ \
17578 lt_prog_compiler_no_builtin_flag_GCJ \
17579 export_dynamic_flag_spec_GCJ \
17580 thread_safe_flag_spec_GCJ \
17581 whole_archive_flag_spec_GCJ \
17582 enable_shared_with_static_runtimes_GCJ \
17583 old_archive_cmds_GCJ \
17584 old_archive_from_new_cmds_GCJ \
17585 predep_objects_GCJ \
17586 postdep_objects_GCJ \
17589 compiler_lib_search_path_GCJ \
17591 archive_expsym_cmds_GCJ \
17592 postinstall_cmds_GCJ \
17593 postuninstall_cmds_GCJ \
17594 old_archive_from_expsyms_cmds_GCJ \
17595 allow_undefined_flag_GCJ \
17596 no_undefined_flag_GCJ \
17597 export_symbols_cmds_GCJ \
17598 hardcode_libdir_flag_spec_GCJ \
17599 hardcode_libdir_flag_spec_ld_GCJ \
17600 hardcode_libdir_separator_GCJ \
17601 hardcode_automatic_GCJ \
17603 module_expsym_cmds_GCJ \
17604 lt_cv_prog_compiler_c_o_GCJ \
17605 exclude_expsyms_GCJ \
17606 include_expsyms_GCJ; do
17609 old_archive_cmds_GCJ | \
17610 old_archive_from_new_cmds_GCJ | \
17611 archive_cmds_GCJ | \
17612 archive_expsym_cmds_GCJ | \
17613 module_cmds_GCJ | \
17614 module_expsym_cmds_GCJ | \
17615 old_archive_from_expsyms_cmds_GCJ | \
17616 export_symbols_cmds_GCJ | \
17617 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17618 postinstall_cmds | postuninstall_cmds | \
17619 old_postinstall_cmds | old_postuninstall_cmds | \
17620 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17621 # Double-quote double-evaled strings.
17622 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17625 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17631 *'\$0 --fallback-echo"')
17632 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17638 cat <<__EOF__ >> "$cfgfile"
17639 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17641 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17643 # Shell to use when invoking shell scripts.
17646 # Whether or not to build shared libraries.
17647 build_libtool_libs=$enable_shared
17649 # Whether or not to build static libraries.
17650 build_old_libs=$enable_static
17652 # Whether or not to add -lc for building shared libraries.
17653 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17655 # Whether or not to disallow shared libs when runtime libs are static
17656 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17658 # Whether or not to optimize for fast installation.
17659 fast_install=$enable_fast_install
17662 host_alias=$host_alias
17665 # An echo program that does not interpret backslashes.
17670 AR_FLAGS=$lt_AR_FLAGS
17675 # A language-specific compiler.
17676 CC=$lt_compiler_GCJ
17678 # Is the compiler the GNU C compiler?
17684 # The linker used to build libraries.
17687 # Whether we need hard or soft links.
17690 # A BSD-compatible nm program.
17693 # A symbol stripping program
17696 # Used to examine libraries when file_magic_cmd begins "file"
17697 MAGIC_CMD=$MAGIC_CMD
17699 # Used on cygwin: DLL creation program.
17702 # Used on cygwin: object dumper.
17705 # Used on cygwin: assembler.
17708 # The name of the directory that contains temporary libtool files.
17711 # How to create reloadable object files.
17712 reload_flag=$lt_reload_flag
17713 reload_cmds=$lt_reload_cmds
17715 # How to pass a linker flag through the compiler.
17716 wl=$lt_lt_prog_compiler_wl_GCJ
17718 # Object file suffix (normally "o").
17719 objext="$ac_objext"
17721 # Old archive suffix (normally "a").
17724 # Shared library suffix (normally ".so").
17727 # Executable file suffix (normally "").
17730 # Additional compiler flags for building library objects.
17731 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17734 # What is the maximum length of a command?
17735 max_cmd_len=$lt_cv_sys_max_cmd_len
17737 # Does compiler simultaneously support -c and -o options?
17738 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17740 # Must we lock files when doing compilation ?
17741 need_locks=$lt_need_locks
17743 # Do we need the lib prefix for modules?
17744 need_lib_prefix=$need_lib_prefix
17746 # Do we need a version for libraries?
17747 need_version=$need_version
17749 # Whether dlopen is supported.
17750 dlopen_support=$enable_dlopen
17752 # Whether dlopen of programs is supported.
17753 dlopen_self=$enable_dlopen_self
17755 # Whether dlopen of statically linked programs is supported.
17756 dlopen_self_static=$enable_dlopen_self_static
17758 # Compiler flag to prevent dynamic linking.
17759 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17761 # Compiler flag to turn off builtin functions.
17762 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17764 # Compiler flag to allow reflexive dlopens.
17765 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17767 # Compiler flag to generate shared objects directly from archives.
17768 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17770 # Compiler flag to generate thread-safe objects.
17771 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17773 # Library versioning type.
17774 version_type=$version_type
17776 # Format of library name prefix.
17777 libname_spec=$lt_libname_spec
17779 # List of archive names. First name is the real one, the rest are links.
17780 # The last name is the one that the linker finds with -lNAME.
17781 library_names_spec=$lt_library_names_spec
17783 # The coded name of the library, if different from the real name.
17784 soname_spec=$lt_soname_spec
17786 # Commands used to build and install an old-style archive.
17788 old_archive_cmds=$lt_old_archive_cmds_GCJ
17789 old_postinstall_cmds=$lt_old_postinstall_cmds
17790 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17792 # Create an old-style archive from a shared archive.
17793 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17795 # Create a temporary old-style archive to link instead of a shared archive.
17796 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17798 # Commands used to build and install a shared archive.
17799 archive_cmds=$lt_archive_cmds_GCJ
17800 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17801 postinstall_cmds=$lt_postinstall_cmds
17802 postuninstall_cmds=$lt_postuninstall_cmds
17804 # Commands used to build a loadable module (assumed same as above if empty)
17805 module_cmds=$lt_module_cmds_GCJ
17806 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17808 # Commands to strip libraries.
17809 old_striplib=$lt_old_striplib
17810 striplib=$lt_striplib
17812 # Dependencies to place before the objects being linked to create a
17814 predep_objects=$lt_predep_objects_GCJ
17816 # Dependencies to place after the objects being linked to create a
17818 postdep_objects=$lt_postdep_objects_GCJ
17820 # Dependencies to place before the objects being linked to create a
17822 predeps=$lt_predeps_GCJ
17824 # Dependencies to place after the objects being linked to create a
17826 postdeps=$lt_postdeps_GCJ
17828 # The library search path used internally by the compiler when linking
17829 # a shared library.
17830 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17832 # Method to check whether dependent libraries are shared objects.
17833 deplibs_check_method=$lt_deplibs_check_method
17835 # Command to use when deplibs_check_method == file_magic.
17836 file_magic_cmd=$lt_file_magic_cmd
17838 # Flag that allows shared libraries with undefined symbols to be built.
17839 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17841 # Flag that forces no undefined symbols.
17842 no_undefined_flag=$lt_no_undefined_flag_GCJ
17844 # Commands used to finish a libtool library installation in a directory.
17845 finish_cmds=$lt_finish_cmds
17847 # Same as above, but a single script fragment to be evaled but not shown.
17848 finish_eval=$lt_finish_eval
17850 # Take the output of nm and produce a listing of raw symbols and C names.
17851 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17853 # Transform the output of nm in a proper C declaration
17854 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17856 # Transform the output of nm in a C name address pair
17857 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17859 # This is the shared library runtime path variable.
17860 runpath_var=$runpath_var
17862 # This is the shared library path variable.
17863 shlibpath_var=$shlibpath_var
17865 # Is shlibpath searched before the hard-coded library search path?
17866 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17868 # How to hardcode a shared library path into an executable.
17869 hardcode_action=$hardcode_action_GCJ
17871 # Whether we should hardcode library paths into libraries.
17872 hardcode_into_libs=$hardcode_into_libs
17874 # Flag to hardcode \$libdir into a binary during linking.
17875 # This must work even if \$libdir does not exist.
17876 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17878 # If ld is used when linking, flag to hardcode \$libdir into
17879 # a binary during linking. This must work even if \$libdir does
17881 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17883 # Whether we need a single -rpath flag with a separated argument.
17884 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17886 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17887 # resulting binary.
17888 hardcode_direct=$hardcode_direct_GCJ
17890 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17891 # resulting binary.
17892 hardcode_minus_L=$hardcode_minus_L_GCJ
17894 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17895 # the resulting binary.
17896 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17898 # Set to yes if building a shared library automatically hardcodes DIR into the library
17899 # and all subsequent libraries and executables linked against it.
17900 hardcode_automatic=$hardcode_automatic_GCJ
17902 # Variables whose values should be saved in libtool wrapper scripts and
17903 # restored at relink time.
17904 variables_saved_for_relink="$variables_saved_for_relink"
17906 # Whether libtool must link a program against all its dependency libraries.
17907 link_all_deplibs=$link_all_deplibs_GCJ
17909 # Compile-time system search path for libraries
17910 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17912 # Run-time system search path for libraries
17913 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17915 # Fix the shell variable \$srcfile for the compiler.
17916 fix_srcfile_path="$fix_srcfile_path_GCJ"
17918 # Set to yes if exported symbols are required.
17919 always_export_symbols=$always_export_symbols_GCJ
17921 # The commands to list exported symbols.
17922 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17924 # The commands to extract the exported symbol list from a shared archive.
17925 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17927 # Symbols that should not be listed in the preloaded symbols.
17928 exclude_expsyms=$lt_exclude_expsyms_GCJ
17930 # Symbols that must always be exported.
17931 include_expsyms=$lt_include_expsyms_GCJ
17933 # ### END LIBTOOL TAG CONFIG: $tagname
17939 # If there is no Makefile yet, we rely on a make rule to execute
17940 # `config.status --recheck' to rerun these tests and create the
17941 # libtool script then.
17942 test -f Makefile && make "$ltmain"
17947 ac_cpp='$CPP $CPPFLAGS'
17948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17963 # Source file extension for RC test sources.
17966 # Object file extension for compiled RC test sources.
17970 # Code to be used in simple compile tests
17971 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
17973 # Code to be used in simple link tests
17974 lt_simple_link_test_code="$lt_simple_compile_test_code"
17976 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17978 # If no C compiler was specified, use CC.
17981 # Allow CC to be a program name with arguments.
17985 # Allow CC to be a program name with arguments.
17990 lt_cv_prog_compiler_c_o_RC=yes
17992 # The else clause should only fire when bootstrapping the
17993 # libtool distribution, otherwise you forgot to ship ltmain.sh
17994 # with your package, and you will get complaints that there are
17995 # no rules to generate ltmain.sh.
17996 if test -f "$ltmain"; then
17997 # See if we are running on zsh, and set the options which allow our commands through
17998 # without removal of \ escapes.
17999 if test -n "${ZSH_VERSION+set}" ; then
18000 setopt NO_GLOB_SUBST
18002 # Now quote all the things that may contain metacharacters while being
18003 # careful not to overquote the AC_SUBSTed values. We take copies of the
18004 # variables and quote the copies for generation of the libtool script.
18005 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18006 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18007 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18008 deplibs_check_method reload_flag reload_cmds need_locks \
18009 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18010 lt_cv_sys_global_symbol_to_c_name_address \
18011 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18012 old_postinstall_cmds old_postuninstall_cmds \
18016 lt_prog_compiler_wl_RC \
18017 lt_prog_compiler_pic_RC \
18018 lt_prog_compiler_static_RC \
18019 lt_prog_compiler_no_builtin_flag_RC \
18020 export_dynamic_flag_spec_RC \
18021 thread_safe_flag_spec_RC \
18022 whole_archive_flag_spec_RC \
18023 enable_shared_with_static_runtimes_RC \
18024 old_archive_cmds_RC \
18025 old_archive_from_new_cmds_RC \
18026 predep_objects_RC \
18027 postdep_objects_RC \
18030 compiler_lib_search_path_RC \
18032 archive_expsym_cmds_RC \
18033 postinstall_cmds_RC \
18034 postuninstall_cmds_RC \
18035 old_archive_from_expsyms_cmds_RC \
18036 allow_undefined_flag_RC \
18037 no_undefined_flag_RC \
18038 export_symbols_cmds_RC \
18039 hardcode_libdir_flag_spec_RC \
18040 hardcode_libdir_flag_spec_ld_RC \
18041 hardcode_libdir_separator_RC \
18042 hardcode_automatic_RC \
18044 module_expsym_cmds_RC \
18045 lt_cv_prog_compiler_c_o_RC \
18046 exclude_expsyms_RC \
18047 include_expsyms_RC; do
18050 old_archive_cmds_RC | \
18051 old_archive_from_new_cmds_RC | \
18052 archive_cmds_RC | \
18053 archive_expsym_cmds_RC | \
18055 module_expsym_cmds_RC | \
18056 old_archive_from_expsyms_cmds_RC | \
18057 export_symbols_cmds_RC | \
18058 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18059 postinstall_cmds | postuninstall_cmds | \
18060 old_postinstall_cmds | old_postuninstall_cmds | \
18061 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18062 # Double-quote double-evaled strings.
18063 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18066 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18072 *'\$0 --fallback-echo"')
18073 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18079 cat <<__EOF__ >> "$cfgfile"
18080 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18082 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18084 # Shell to use when invoking shell scripts.
18087 # Whether or not to build shared libraries.
18088 build_libtool_libs=$enable_shared
18090 # Whether or not to build static libraries.
18091 build_old_libs=$enable_static
18093 # Whether or not to add -lc for building shared libraries.
18094 build_libtool_need_lc=$archive_cmds_need_lc_RC
18096 # Whether or not to disallow shared libs when runtime libs are static
18097 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18099 # Whether or not to optimize for fast installation.
18100 fast_install=$enable_fast_install
18103 host_alias=$host_alias
18106 # An echo program that does not interpret backslashes.
18111 AR_FLAGS=$lt_AR_FLAGS
18116 # A language-specific compiler.
18119 # Is the compiler the GNU C compiler?
18125 # The linker used to build libraries.
18128 # Whether we need hard or soft links.
18131 # A BSD-compatible nm program.
18134 # A symbol stripping program
18137 # Used to examine libraries when file_magic_cmd begins "file"
18138 MAGIC_CMD=$MAGIC_CMD
18140 # Used on cygwin: DLL creation program.
18143 # Used on cygwin: object dumper.
18146 # Used on cygwin: assembler.
18149 # The name of the directory that contains temporary libtool files.
18152 # How to create reloadable object files.
18153 reload_flag=$lt_reload_flag
18154 reload_cmds=$lt_reload_cmds
18156 # How to pass a linker flag through the compiler.
18157 wl=$lt_lt_prog_compiler_wl_RC
18159 # Object file suffix (normally "o").
18160 objext="$ac_objext"
18162 # Old archive suffix (normally "a").
18165 # Shared library suffix (normally ".so").
18168 # Executable file suffix (normally "").
18171 # Additional compiler flags for building library objects.
18172 pic_flag=$lt_lt_prog_compiler_pic_RC
18175 # What is the maximum length of a command?
18176 max_cmd_len=$lt_cv_sys_max_cmd_len
18178 # Does compiler simultaneously support -c and -o options?
18179 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18181 # Must we lock files when doing compilation ?
18182 need_locks=$lt_need_locks
18184 # Do we need the lib prefix for modules?
18185 need_lib_prefix=$need_lib_prefix
18187 # Do we need a version for libraries?
18188 need_version=$need_version
18190 # Whether dlopen is supported.
18191 dlopen_support=$enable_dlopen
18193 # Whether dlopen of programs is supported.
18194 dlopen_self=$enable_dlopen_self
18196 # Whether dlopen of statically linked programs is supported.
18197 dlopen_self_static=$enable_dlopen_self_static
18199 # Compiler flag to prevent dynamic linking.
18200 link_static_flag=$lt_lt_prog_compiler_static_RC
18202 # Compiler flag to turn off builtin functions.
18203 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18205 # Compiler flag to allow reflexive dlopens.
18206 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18208 # Compiler flag to generate shared objects directly from archives.
18209 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18211 # Compiler flag to generate thread-safe objects.
18212 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18214 # Library versioning type.
18215 version_type=$version_type
18217 # Format of library name prefix.
18218 libname_spec=$lt_libname_spec
18220 # List of archive names. First name is the real one, the rest are links.
18221 # The last name is the one that the linker finds with -lNAME.
18222 library_names_spec=$lt_library_names_spec
18224 # The coded name of the library, if different from the real name.
18225 soname_spec=$lt_soname_spec
18227 # Commands used to build and install an old-style archive.
18229 old_archive_cmds=$lt_old_archive_cmds_RC
18230 old_postinstall_cmds=$lt_old_postinstall_cmds
18231 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18233 # Create an old-style archive from a shared archive.
18234 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18236 # Create a temporary old-style archive to link instead of a shared archive.
18237 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18239 # Commands used to build and install a shared archive.
18240 archive_cmds=$lt_archive_cmds_RC
18241 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18242 postinstall_cmds=$lt_postinstall_cmds
18243 postuninstall_cmds=$lt_postuninstall_cmds
18245 # Commands used to build a loadable module (assumed same as above if empty)
18246 module_cmds=$lt_module_cmds_RC
18247 module_expsym_cmds=$lt_module_expsym_cmds_RC
18249 # Commands to strip libraries.
18250 old_striplib=$lt_old_striplib
18251 striplib=$lt_striplib
18253 # Dependencies to place before the objects being linked to create a
18255 predep_objects=$lt_predep_objects_RC
18257 # Dependencies to place after the objects being linked to create a
18259 postdep_objects=$lt_postdep_objects_RC
18261 # Dependencies to place before the objects being linked to create a
18263 predeps=$lt_predeps_RC
18265 # Dependencies to place after the objects being linked to create a
18267 postdeps=$lt_postdeps_RC
18269 # The library search path used internally by the compiler when linking
18270 # a shared library.
18271 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18273 # Method to check whether dependent libraries are shared objects.
18274 deplibs_check_method=$lt_deplibs_check_method
18276 # Command to use when deplibs_check_method == file_magic.
18277 file_magic_cmd=$lt_file_magic_cmd
18279 # Flag that allows shared libraries with undefined symbols to be built.
18280 allow_undefined_flag=$lt_allow_undefined_flag_RC
18282 # Flag that forces no undefined symbols.
18283 no_undefined_flag=$lt_no_undefined_flag_RC
18285 # Commands used to finish a libtool library installation in a directory.
18286 finish_cmds=$lt_finish_cmds
18288 # Same as above, but a single script fragment to be evaled but not shown.
18289 finish_eval=$lt_finish_eval
18291 # Take the output of nm and produce a listing of raw symbols and C names.
18292 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18294 # Transform the output of nm in a proper C declaration
18295 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18297 # Transform the output of nm in a C name address pair
18298 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18300 # This is the shared library runtime path variable.
18301 runpath_var=$runpath_var
18303 # This is the shared library path variable.
18304 shlibpath_var=$shlibpath_var
18306 # Is shlibpath searched before the hard-coded library search path?
18307 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18309 # How to hardcode a shared library path into an executable.
18310 hardcode_action=$hardcode_action_RC
18312 # Whether we should hardcode library paths into libraries.
18313 hardcode_into_libs=$hardcode_into_libs
18315 # Flag to hardcode \$libdir into a binary during linking.
18316 # This must work even if \$libdir does not exist.
18317 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18319 # If ld is used when linking, flag to hardcode \$libdir into
18320 # a binary during linking. This must work even if \$libdir does
18322 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18324 # Whether we need a single -rpath flag with a separated argument.
18325 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18327 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18328 # resulting binary.
18329 hardcode_direct=$hardcode_direct_RC
18331 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18332 # resulting binary.
18333 hardcode_minus_L=$hardcode_minus_L_RC
18335 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18336 # the resulting binary.
18337 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18339 # Set to yes if building a shared library automatically hardcodes DIR into the library
18340 # and all subsequent libraries and executables linked against it.
18341 hardcode_automatic=$hardcode_automatic_RC
18343 # Variables whose values should be saved in libtool wrapper scripts and
18344 # restored at relink time.
18345 variables_saved_for_relink="$variables_saved_for_relink"
18347 # Whether libtool must link a program against all its dependency libraries.
18348 link_all_deplibs=$link_all_deplibs_RC
18350 # Compile-time system search path for libraries
18351 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18353 # Run-time system search path for libraries
18354 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18356 # Fix the shell variable \$srcfile for the compiler.
18357 fix_srcfile_path="$fix_srcfile_path_RC"
18359 # Set to yes if exported symbols are required.
18360 always_export_symbols=$always_export_symbols_RC
18362 # The commands to list exported symbols.
18363 export_symbols_cmds=$lt_export_symbols_cmds_RC
18365 # The commands to extract the exported symbol list from a shared archive.
18366 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18368 # Symbols that should not be listed in the preloaded symbols.
18369 exclude_expsyms=$lt_exclude_expsyms_RC
18371 # Symbols that must always be exported.
18372 include_expsyms=$lt_include_expsyms_RC
18374 # ### END LIBTOOL TAG CONFIG: $tagname
18380 # If there is no Makefile yet, we rely on a make rule to execute
18381 # `config.status --recheck' to rerun these tests and create the
18382 # libtool script then.
18383 test -f Makefile && make "$ltmain"
18388 ac_cpp='$CPP $CPPFLAGS'
18389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18398 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18399 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18400 { (exit 1); exit 1; }; }
18404 # Append the new tag name to the list of available tags.
18405 if test -n "$tagname" ; then
18406 available_tags="$available_tags $tagname"
18412 # Now substitute the updated list of available tags.
18413 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18414 mv "${ofile}T" "$ofile"
18418 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18419 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18420 { (exit 1); exit 1; }; }
18426 # This can be used to rebuild libtool when needed
18427 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18429 # Always use our own libtool.
18430 LIBTOOL='$(SHELL) $(top_builddir)/mklib'
18432 # Prevent multiple expansion
18454 # Extract the first word of "pwd", so it can be a program name with args.
18455 set dummy pwd; ac_word=$2
18456 echo "$as_me:$LINENO: checking for $ac_word" >&5
18457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18458 if test "${ac_cv_path_RPWD+set}" = set; then
18459 echo $ECHO_N "(cached) $ECHO_C" >&6
18463 ac_cv_path_RPWD="$RPWD" # Let the user override the test with a path.
18466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18467 for as_dir in $PATH
18470 test -z "$as_dir" && as_dir=.
18471 for ac_exec_ext in '' $ac_executable_extensions; do
18472 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18473 ac_cv_path_RPWD="$as_dir/$ac_word$ac_exec_ext"
18474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18480 test -z "$ac_cv_path_RPWD" && ac_cv_path_RPWD="false"
18484 RPWD=$ac_cv_path_RPWD
18486 if test -n "$RPWD"; then
18487 echo "$as_me:$LINENO: result: $RPWD" >&5
18488 echo "${ECHO_T}$RPWD" >&6
18490 echo "$as_me:$LINENO: result: no" >&5
18491 echo "${ECHO_T}no" >&6
18494 if test ${RPWD} = "false"
18496 { { echo "$as_me:$LINENO: error: pwd required but not found" >&5
18497 echo "$as_me: error: pwd required but not found" >&2;}
18498 { (exit 1); exit 1; }; }
18501 # Extract the first word of "ar", so it can be a program name with args.
18502 set dummy ar; ac_word=$2
18503 echo "$as_me:$LINENO: checking for $ac_word" >&5
18504 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18505 if test "${ac_cv_path_AR+set}" = set; then
18506 echo $ECHO_N "(cached) $ECHO_C" >&6
18510 ac_cv_path_AR="$AR" # Let the user override the test with a path.
18513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18514 for as_dir in $PATH
18517 test -z "$as_dir" && as_dir=.
18518 for ac_exec_ext in '' $ac_executable_extensions; do
18519 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18520 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
18521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18527 test -z "$ac_cv_path_AR" && ac_cv_path_AR="false"
18533 if test -n "$AR"; then
18534 echo "$as_me:$LINENO: result: $AR" >&5
18535 echo "${ECHO_T}$AR" >&6
18537 echo "$as_me:$LINENO: result: no" >&5
18538 echo "${ECHO_T}no" >&6
18541 if test ${AR} = "false"
18543 { { echo "$as_me:$LINENO: error: ar required but not found" >&5
18544 echo "$as_me: error: ar required but not found" >&2;}
18545 { (exit 1); exit 1; }; }
18548 # Extract the first word of "sed", so it can be a program name with args.
18549 set dummy sed; ac_word=$2
18550 echo "$as_me:$LINENO: checking for $ac_word" >&5
18551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18552 if test "${ac_cv_path_SED+set}" = set; then
18553 echo $ECHO_N "(cached) $ECHO_C" >&6
18557 ac_cv_path_SED="$SED" # Let the user override the test with a path.
18560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18561 for as_dir in $PATH
18564 test -z "$as_dir" && as_dir=.
18565 for ac_exec_ext in '' $ac_executable_extensions; do
18566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18567 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
18568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18574 test -z "$ac_cv_path_SED" && ac_cv_path_SED="false"
18578 SED=$ac_cv_path_SED
18580 if test -n "$SED"; then
18581 echo "$as_me:$LINENO: result: $SED" >&5
18582 echo "${ECHO_T}$SED" >&6
18584 echo "$as_me:$LINENO: result: no" >&5
18585 echo "${ECHO_T}no" >&6
18588 if test ${SED} = "false"
18590 { { echo "$as_me:$LINENO: error: sed required but not found" >&5
18591 echo "$as_me: error: sed required but not found" >&2;}
18592 { (exit 1); exit 1; }; }
18595 # Extract the first word of "rm", so it can be a program name with args.
18596 set dummy rm; ac_word=$2
18597 echo "$as_me:$LINENO: checking for $ac_word" >&5
18598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18599 if test "${ac_cv_path_RM+set}" = set; then
18600 echo $ECHO_N "(cached) $ECHO_C" >&6
18604 ac_cv_path_RM="$RM" # Let the user override the test with a path.
18607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18608 for as_dir in $PATH
18611 test -z "$as_dir" && as_dir=.
18612 for ac_exec_ext in '' $ac_executable_extensions; do
18613 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18614 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
18615 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18621 test -z "$ac_cv_path_RM" && ac_cv_path_RM="false"
18627 if test -n "$RM"; then
18628 echo "$as_me:$LINENO: result: $RM" >&5
18629 echo "${ECHO_T}$RM" >&6
18631 echo "$as_me:$LINENO: result: no" >&5
18632 echo "${ECHO_T}no" >&6
18635 if test ${RM} = "false"
18637 { { echo "$as_me:$LINENO: error: rm required but not found" >&5
18638 echo "$as_me: error: rm required but not found" >&2;}
18639 { (exit 1); exit 1; }; }
18642 # Extract the first word of "echo", so it can be a program name with args.
18643 set dummy echo; ac_word=$2
18644 echo "$as_me:$LINENO: checking for $ac_word" >&5
18645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18646 if test "${ac_cv_path_ECHO+set}" = set; then
18647 echo $ECHO_N "(cached) $ECHO_C" >&6
18651 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
18654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18655 for as_dir in $PATH
18658 test -z "$as_dir" && as_dir=.
18659 for ac_exec_ext in '' $ac_executable_extensions; do
18660 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18661 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
18662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18668 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="false"
18672 ECHO=$ac_cv_path_ECHO
18674 if test -n "$ECHO"; then
18675 echo "$as_me:$LINENO: result: $ECHO" >&5
18676 echo "${ECHO_T}$ECHO" >&6
18678 echo "$as_me:$LINENO: result: no" >&5
18679 echo "${ECHO_T}no" >&6
18682 if test ${ECHO} = "false"
18684 { { echo "$as_me:$LINENO: error: echo required but not found" >&5
18685 echo "$as_me: error: echo required but not found" >&2;}
18686 { (exit 1); exit 1; }; }
18689 # Extract the first word of "mkdir", so it can be a program name with args.
18690 set dummy mkdir; ac_word=$2
18691 echo "$as_me:$LINENO: checking for $ac_word" >&5
18692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18693 if test "${ac_cv_path_MKDIR+set}" = set; then
18694 echo $ECHO_N "(cached) $ECHO_C" >&6
18698 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
18701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18702 for as_dir in $PATH
18705 test -z "$as_dir" && as_dir=.
18706 for ac_exec_ext in '' $ac_executable_extensions; do
18707 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18708 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
18709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18715 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR="false"
18719 MKDIR=$ac_cv_path_MKDIR
18721 if test -n "$MKDIR"; then
18722 echo "$as_me:$LINENO: result: $MKDIR" >&5
18723 echo "${ECHO_T}$MKDIR" >&6
18725 echo "$as_me:$LINENO: result: no" >&5
18726 echo "${ECHO_T}no" >&6
18729 if test ${MKDIR} = "false"
18731 { { echo "$as_me:$LINENO: error: mkdir required but not found" >&5
18732 echo "$as_me: error: mkdir required but not found" >&2;}
18733 { (exit 1); exit 1; }; }
18736 # Extract the first word of "date", so it can be a program name with args.
18737 set dummy date; ac_word=$2
18738 echo "$as_me:$LINENO: checking for $ac_word" >&5
18739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18740 if test "${ac_cv_path_DATE+set}" = set; then
18741 echo $ECHO_N "(cached) $ECHO_C" >&6
18745 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
18748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18749 for as_dir in $PATH
18752 test -z "$as_dir" && as_dir=.
18753 for ac_exec_ext in '' $ac_executable_extensions; do
18754 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18755 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
18756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18762 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE="false"
18766 DATE=$ac_cv_path_DATE
18768 if test -n "$DATE"; then
18769 echo "$as_me:$LINENO: result: $DATE" >&5
18770 echo "${ECHO_T}$DATE" >&6
18772 echo "$as_me:$LINENO: result: no" >&5
18773 echo "${ECHO_T}no" >&6
18776 if test ${DATE} = "false"
18778 { { echo "$as_me:$LINENO: error: date required but not found" >&5
18779 echo "$as_me: error: date required but not found" >&2;}
18780 { (exit 1); exit 1; }; }
18783 # Extract the first word of "mv", so it can be a program name with args.
18784 set dummy mv; ac_word=$2
18785 echo "$as_me:$LINENO: checking for $ac_word" >&5
18786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18787 if test "${ac_cv_path_MV+set}" = set; then
18788 echo $ECHO_N "(cached) $ECHO_C" >&6
18792 ac_cv_path_MV="$MV" # Let the user override the test with a path.
18795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18796 for as_dir in $PATH
18799 test -z "$as_dir" && as_dir=.
18800 for ac_exec_ext in '' $ac_executable_extensions; do
18801 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18802 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
18803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18809 test -z "$ac_cv_path_MV" && ac_cv_path_MV="false"
18815 if test -n "$MV"; then
18816 echo "$as_me:$LINENO: result: $MV" >&5
18817 echo "${ECHO_T}$MV" >&6
18819 echo "$as_me:$LINENO: result: no" >&5
18820 echo "${ECHO_T}no" >&6
18823 if test ${MV} = "false"
18825 { { echo "$as_me:$LINENO: error: mv required but not found" >&5
18826 echo "$as_me: error: mv required but not found" >&2;}
18827 { (exit 1); exit 1; }; }
18830 # Extract the first word of "dot", so it can be a program name with args.
18831 set dummy dot; ac_word=$2
18832 echo "$as_me:$LINENO: checking for $ac_word" >&5
18833 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18834 if test "${ac_cv_path_DOT+set}" = set; then
18835 echo $ECHO_N "(cached) $ECHO_C" >&6
18839 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18843 for as_dir in $PATH
18846 test -z "$as_dir" && as_dir=.
18847 for ac_exec_ext in '' $ac_executable_extensions; do
18848 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18849 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18850 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18856 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="false"
18860 DOT=$ac_cv_path_DOT
18862 if test -n "$DOT"; then
18863 echo "$as_me:$LINENO: result: $DOT" >&5
18864 echo "${ECHO_T}$DOT" >&6
18866 echo "$as_me:$LINENO: result: no" >&5
18867 echo "${ECHO_T}no" >&6
18871 # Extract the first word of "etags", so it can be a program name with args.
18872 set dummy etags; ac_word=$2
18873 echo "$as_me:$LINENO: checking for $ac_word" >&5
18874 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18875 if test "${ac_cv_path_ETAGS+set}" = set; then
18876 echo $ECHO_N "(cached) $ECHO_C" >&6
18880 ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
18883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18884 for as_dir in $PATH
18887 test -z "$as_dir" && as_dir=.
18888 for ac_exec_ext in '' $ac_executable_extensions; do
18889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18890 ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext"
18891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18897 test -z "$ac_cv_path_ETAGS" && ac_cv_path_ETAGS="false"
18901 ETAGS=$ac_cv_path_ETAGS
18903 if test -n "$ETAGS"; then
18904 echo "$as_me:$LINENO: result: $ETAGS" >&5
18905 echo "${ECHO_T}$ETAGS" >&6
18907 echo "$as_me:$LINENO: result: no" >&5
18908 echo "${ECHO_T}no" >&6
18912 # Extract the first word of "purify", so it can be a program name with args.
18913 set dummy purify; ac_word=$2
18914 echo "$as_me:$LINENO: checking for $ac_word" >&5
18915 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18916 if test "${ac_cv_path_PURIFY+set}" = set; then
18917 echo $ECHO_N "(cached) $ECHO_C" >&6
18921 ac_cv_path_PURIFY="$PURIFY" # Let the user override the test with a path.
18924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18925 for as_dir in $PATH
18928 test -z "$as_dir" && as_dir=.
18929 for ac_exec_ext in '' $ac_executable_extensions; do
18930 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18931 ac_cv_path_PURIFY="$as_dir/$ac_word$ac_exec_ext"
18932 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18938 test -z "$ac_cv_path_PURIFY" && ac_cv_path_PURIFY="false"
18942 PURIFY=$ac_cv_path_PURIFY
18944 if test -n "$PURIFY"; then
18945 echo "$as_me:$LINENO: result: $PURIFY" >&5
18946 echo "${ECHO_T}$PURIFY" >&6
18948 echo "$as_me:$LINENO: result: no" >&5
18949 echo "${ECHO_T}no" >&6
18953 # Extract the first word of "python", so it can be a program name with args.
18954 set dummy python; ac_word=$2
18955 echo "$as_me:$LINENO: checking for $ac_word" >&5
18956 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18957 if test "${ac_cv_path_PYTHON+set}" = set; then
18958 echo $ECHO_N "(cached) $ECHO_C" >&6
18962 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
18965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18966 for as_dir in $PATH
18969 test -z "$as_dir" && as_dir=.
18970 for ac_exec_ext in '' $ac_executable_extensions; do
18971 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18972 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
18973 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18979 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="false"
18983 PYTHON=$ac_cv_path_PYTHON
18985 if test -n "$PYTHON"; then
18986 echo "$as_me:$LINENO: result: $PYTHON" >&5
18987 echo "${ECHO_T}$PYTHON" >&6
18989 echo "$as_me:$LINENO: result: no" >&5
18990 echo "${ECHO_T}no" >&6
18993 if test ${PYTHON} = "false"
18995 { echo "$as_me:$LINENO: WARNING: python required but not found" >&5
18996 echo "$as_me: WARNING: python required but not found" >&2;}
18999 # Extract the first word of "qmtest", so it can be a program name with args.
19000 set dummy qmtest; ac_word=$2
19001 echo "$as_me:$LINENO: checking for $ac_word" >&5
19002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19003 if test "${ac_cv_path_QMTEST+set}" = set; then
19004 echo $ECHO_N "(cached) $ECHO_C" >&6
19008 ac_cv_path_QMTEST="$QMTEST" # Let the user override the test with a path.
19011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19012 for as_dir in $PATH
19015 test -z "$as_dir" && as_dir=.
19016 for ac_exec_ext in '' $ac_executable_extensions; do
19017 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19018 ac_cv_path_QMTEST="$as_dir/$ac_word$ac_exec_ext"
19019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19025 test -z "$ac_cv_path_QMTEST" && ac_cv_path_QMTEST="false"
19029 QMTEST=$ac_cv_path_QMTEST
19031 if test -n "$QMTEST"; then
19032 echo "$as_me:$LINENO: result: $QMTEST" >&5
19033 echo "${ECHO_T}$QMTEST" >&6
19035 echo "$as_me:$LINENO: result: no" >&5
19036 echo "${ECHO_T}no" >&6
19039 if test ${QMTEST} = "false"
19041 { echo "$as_me:$LINENO: WARNING: qmtest required but not found" >&5
19042 echo "$as_me: WARNING: qmtest required but not found" >&2;}
19045 pyversion=`$PYTHON -V 2>&1 | cut -d\ -f2`
19046 pymajor=`echo $pyversion | cut -d. -f1`
19047 pyminor=`echo $pyversion | cut -d. -f2`
19049 if test "$pymajor" -ge "2"
19051 if test "$pymajor" -eq "2"
19053 if test "$pyminor" -lt "2"
19055 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
19056 echo "$as_me: error: Python 2.2 or greater required" >&2;}
19057 { (exit 1); exit 1; }; }
19061 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
19062 echo "$as_me: error: Python 2.2 or greater required" >&2;}
19063 { (exit 1); exit 1; }; }
19070 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
19071 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
19072 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
19073 echo $ECHO_N "(cached) $ECHO_C" >&6
19075 ac_check_lib_save_LIBS=$LIBS
19077 cat >conftest.$ac_ext <<_ACEOF
19078 #line $LINENO "configure"
19081 cat confdefs.h >>conftest.$ac_ext
19082 cat >>conftest.$ac_ext <<_ACEOF
19083 /* end confdefs.h. */
19085 /* Override any gcc2 internal prototype to avoid an error. */
19089 /* We use char because int might match the return type of a gcc2
19090 builtin and then its argument prototype would still apply. */
19100 rm -f conftest.$ac_objext conftest$ac_exeext
19101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19102 (eval $ac_link) 2>&5
19104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19105 (exit $ac_status); } &&
19106 { ac_try='test -s conftest$ac_exeext'
19107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19108 (eval $ac_try) 2>&5
19110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19111 (exit $ac_status); }; }; then
19112 ac_cv_lib_elf_elf_begin=yes
19114 echo "$as_me: failed program was:" >&5
19115 sed 's/^/| /' conftest.$ac_ext >&5
19117 ac_cv_lib_elf_elf_begin=no
19119 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19120 LIBS=$ac_check_lib_save_LIBS
19122 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
19123 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
19124 if test $ac_cv_lib_elf_elf_begin = yes; then
19125 cat >>confdefs.h <<_ACEOF
19126 #define HAVE_LIBELF 1
19134 echo "$as_me:$LINENO: checking for library containing dlopen" >&5
19135 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
19136 if test "${ac_cv_search_dlopen+set}" = set; then
19137 echo $ECHO_N "(cached) $ECHO_C" >&6
19139 ac_func_search_save_LIBS=$LIBS
19140 ac_cv_search_dlopen=no
19141 cat >conftest.$ac_ext <<_ACEOF
19142 #line $LINENO "configure"
19145 cat confdefs.h >>conftest.$ac_ext
19146 cat >>conftest.$ac_ext <<_ACEOF
19147 /* end confdefs.h. */
19149 /* Override any gcc2 internal prototype to avoid an error. */
19153 /* We use char because int might match the return type of a gcc2
19154 builtin and then its argument prototype would still apply. */
19164 rm -f conftest.$ac_objext conftest$ac_exeext
19165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19166 (eval $ac_link) 2>&5
19168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); } &&
19170 { ac_try='test -s conftest$ac_exeext'
19171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19172 (eval $ac_try) 2>&5
19174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19175 (exit $ac_status); }; }; then
19176 ac_cv_search_dlopen="none required"
19178 echo "$as_me: failed program was:" >&5
19179 sed 's/^/| /' conftest.$ac_ext >&5
19182 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19183 if test "$ac_cv_search_dlopen" = no; then
19184 for ac_lib in dl; do
19185 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19186 cat >conftest.$ac_ext <<_ACEOF
19187 #line $LINENO "configure"
19190 cat confdefs.h >>conftest.$ac_ext
19191 cat >>conftest.$ac_ext <<_ACEOF
19192 /* end confdefs.h. */
19194 /* Override any gcc2 internal prototype to avoid an error. */
19198 /* We use char because int might match the return type of a gcc2
19199 builtin and then its argument prototype would still apply. */
19209 rm -f conftest.$ac_objext conftest$ac_exeext
19210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19211 (eval $ac_link) 2>&5
19213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19214 (exit $ac_status); } &&
19215 { ac_try='test -s conftest$ac_exeext'
19216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19217 (eval $ac_try) 2>&5
19219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19220 (exit $ac_status); }; }; then
19221 ac_cv_search_dlopen="-l$ac_lib"
19224 echo "$as_me: failed program was:" >&5
19225 sed 's/^/| /' conftest.$ac_ext >&5
19228 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19231 LIBS=$ac_func_search_save_LIBS
19233 echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
19234 echo "${ECHO_T}$ac_cv_search_dlopen" >&6
19235 if test "$ac_cv_search_dlopen" != no; then
19236 test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
19239 { { echo "$as_me:$LINENO: error: dlopen() required but not found" >&5
19240 echo "$as_me: error: dlopen() required but not found" >&2;}
19241 { (exit 1); exit 1; }; }
19245 echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
19246 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6
19247 if test "${ac_cv_search_mallinfo+set}" = set; then
19248 echo $ECHO_N "(cached) $ECHO_C" >&6
19250 ac_func_search_save_LIBS=$LIBS
19251 ac_cv_search_mallinfo=no
19252 cat >conftest.$ac_ext <<_ACEOF
19253 #line $LINENO "configure"
19256 cat confdefs.h >>conftest.$ac_ext
19257 cat >>conftest.$ac_ext <<_ACEOF
19258 /* end confdefs.h. */
19260 /* Override any gcc2 internal prototype to avoid an error. */
19264 /* We use char because int might match the return type of a gcc2
19265 builtin and then its argument prototype would still apply. */
19275 rm -f conftest.$ac_objext conftest$ac_exeext
19276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19277 (eval $ac_link) 2>&5
19279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19280 (exit $ac_status); } &&
19281 { ac_try='test -s conftest$ac_exeext'
19282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19283 (eval $ac_try) 2>&5
19285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19286 (exit $ac_status); }; }; then
19287 ac_cv_search_mallinfo="none required"
19289 echo "$as_me: failed program was:" >&5
19290 sed 's/^/| /' conftest.$ac_ext >&5
19293 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19294 if test "$ac_cv_search_mallinfo" = no; then
19295 for ac_lib in malloc; do
19296 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19297 cat >conftest.$ac_ext <<_ACEOF
19298 #line $LINENO "configure"
19301 cat confdefs.h >>conftest.$ac_ext
19302 cat >>conftest.$ac_ext <<_ACEOF
19303 /* end confdefs.h. */
19305 /* Override any gcc2 internal prototype to avoid an error. */
19309 /* We use char because int might match the return type of a gcc2
19310 builtin and then its argument prototype would still apply. */
19320 rm -f conftest.$ac_objext conftest$ac_exeext
19321 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19322 (eval $ac_link) 2>&5
19324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19325 (exit $ac_status); } &&
19326 { ac_try='test -s conftest$ac_exeext'
19327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19328 (eval $ac_try) 2>&5
19330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19331 (exit $ac_status); }; }; then
19332 ac_cv_search_mallinfo="-l$ac_lib"
19335 echo "$as_me: failed program was:" >&5
19336 sed 's/^/| /' conftest.$ac_ext >&5
19339 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19342 LIBS=$ac_func_search_save_LIBS
19344 echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
19345 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6
19346 if test "$ac_cv_search_mallinfo" != no; then
19347 test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS"
19348 cat >>confdefs.h <<\_ACEOF
19349 #define HAVE_MALLINFO 1
19356 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19357 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19358 if test "${ac_cv_header_stdc+set}" = set; then
19359 echo $ECHO_N "(cached) $ECHO_C" >&6
19361 cat >conftest.$ac_ext <<_ACEOF
19362 #line $LINENO "configure"
19365 cat confdefs.h >>conftest.$ac_ext
19366 cat >>conftest.$ac_ext <<_ACEOF
19367 /* end confdefs.h. */
19368 #include <stdlib.h>
19369 #include <stdarg.h>
19370 #include <string.h>
19381 rm -f conftest.$ac_objext
19382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19383 (eval $ac_compile) 2>&5
19385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19386 (exit $ac_status); } &&
19387 { ac_try='test -s conftest.$ac_objext'
19388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19389 (eval $ac_try) 2>&5
19391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19392 (exit $ac_status); }; }; then
19393 ac_cv_header_stdc=yes
19395 echo "$as_me: failed program was:" >&5
19396 sed 's/^/| /' conftest.$ac_ext >&5
19398 ac_cv_header_stdc=no
19400 rm -f conftest.$ac_objext conftest.$ac_ext
19402 if test $ac_cv_header_stdc = yes; then
19403 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19404 cat >conftest.$ac_ext <<_ACEOF
19405 #line $LINENO "configure"
19408 cat confdefs.h >>conftest.$ac_ext
19409 cat >>conftest.$ac_ext <<_ACEOF
19410 /* end confdefs.h. */
19411 #include <string.h>
19414 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19415 $EGREP "memchr" >/dev/null 2>&1; then
19418 ac_cv_header_stdc=no
19424 if test $ac_cv_header_stdc = yes; then
19425 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19426 cat >conftest.$ac_ext <<_ACEOF
19427 #line $LINENO "configure"
19430 cat confdefs.h >>conftest.$ac_ext
19431 cat >>conftest.$ac_ext <<_ACEOF
19432 /* end confdefs.h. */
19433 #include <stdlib.h>
19436 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19437 $EGREP "free" >/dev/null 2>&1; then
19440 ac_cv_header_stdc=no
19446 if test $ac_cv_header_stdc = yes; then
19447 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19448 if test "$cross_compiling" = yes; then
19451 cat >conftest.$ac_ext <<_ACEOF
19452 #line $LINENO "configure"
19455 cat confdefs.h >>conftest.$ac_ext
19456 cat >>conftest.$ac_ext <<_ACEOF
19457 /* end confdefs.h. */
19459 #if ((' ' & 0x0FF) == 0x020)
19460 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19461 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19463 # define ISLOWER(c) \
19464 (('a' <= (c) && (c) <= 'i') \
19465 || ('j' <= (c) && (c) <= 'r') \
19466 || ('s' <= (c) && (c) <= 'z'))
19467 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19470 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19475 for (i = 0; i < 256; i++)
19476 if (XOR (islower (i), ISLOWER (i))
19477 || toupper (i) != TOUPPER (i))
19482 rm -f conftest$ac_exeext
19483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19484 (eval $ac_link) 2>&5
19486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19487 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19489 (eval $ac_try) 2>&5
19491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19492 (exit $ac_status); }; }; then
19495 echo "$as_me: program exited with status $ac_status" >&5
19496 echo "$as_me: failed program was:" >&5
19497 sed 's/^/| /' conftest.$ac_ext >&5
19499 ( exit $ac_status )
19500 ac_cv_header_stdc=no
19502 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19506 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19507 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19508 if test $ac_cv_header_stdc = yes; then
19510 cat >>confdefs.h <<\_ACEOF
19511 #define STDC_HEADERS 1
19516 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19517 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
19518 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19519 echo $ECHO_N "(cached) $ECHO_C" >&6
19521 cat >conftest.$ac_ext <<_ACEOF
19522 #line $LINENO "configure"
19525 cat confdefs.h >>conftest.$ac_ext
19526 cat >>conftest.$ac_ext <<_ACEOF
19527 /* end confdefs.h. */
19528 #include <sys/types.h>
19529 #include <sys/wait.h>
19530 #ifndef WEXITSTATUS
19531 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
19534 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19542 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19547 rm -f conftest.$ac_objext
19548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19549 (eval $ac_compile) 2>&5
19551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19552 (exit $ac_status); } &&
19553 { ac_try='test -s conftest.$ac_objext'
19554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19555 (eval $ac_try) 2>&5
19557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19558 (exit $ac_status); }; }; then
19559 ac_cv_header_sys_wait_h=yes
19561 echo "$as_me: failed program was:" >&5
19562 sed 's/^/| /' conftest.$ac_ext >&5
19564 ac_cv_header_sys_wait_h=no
19566 rm -f conftest.$ac_objext conftest.$ac_ext
19568 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19569 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
19570 if test $ac_cv_header_sys_wait_h = yes; then
19572 cat >>confdefs.h <<\_ACEOF
19573 #define HAVE_SYS_WAIT_H 1
19587 for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h
19589 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19590 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19591 echo "$as_me:$LINENO: checking for $ac_header" >&5
19592 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19593 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19594 echo $ECHO_N "(cached) $ECHO_C" >&6
19596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19597 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19599 # Is the header compilable?
19600 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19601 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19602 cat >conftest.$ac_ext <<_ACEOF
19603 #line $LINENO "configure"
19606 cat confdefs.h >>conftest.$ac_ext
19607 cat >>conftest.$ac_ext <<_ACEOF
19608 /* end confdefs.h. */
19609 $ac_includes_default
19610 #include <$ac_header>
19612 rm -f conftest.$ac_objext
19613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19614 (eval $ac_compile) 2>&5
19616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19617 (exit $ac_status); } &&
19618 { ac_try='test -s conftest.$ac_objext'
19619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19620 (eval $ac_try) 2>&5
19622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19623 (exit $ac_status); }; }; then
19624 ac_header_compiler=yes
19626 echo "$as_me: failed program was:" >&5
19627 sed 's/^/| /' conftest.$ac_ext >&5
19629 ac_header_compiler=no
19631 rm -f conftest.$ac_objext conftest.$ac_ext
19632 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19633 echo "${ECHO_T}$ac_header_compiler" >&6
19635 # Is the header present?
19636 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19637 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19638 cat >conftest.$ac_ext <<_ACEOF
19639 #line $LINENO "configure"
19642 cat confdefs.h >>conftest.$ac_ext
19643 cat >>conftest.$ac_ext <<_ACEOF
19644 /* end confdefs.h. */
19645 #include <$ac_header>
19647 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19648 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19650 grep -v '^ *+' conftest.er1 >conftest.err
19652 cat conftest.err >&5
19653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19654 (exit $ac_status); } >/dev/null; then
19655 if test -s conftest.err; then
19656 ac_cpp_err=$ac_c_preproc_warn_flag
19663 if test -z "$ac_cpp_err"; then
19664 ac_header_preproc=yes
19666 echo "$as_me: failed program was:" >&5
19667 sed 's/^/| /' conftest.$ac_ext >&5
19669 ac_header_preproc=no
19671 rm -f conftest.err conftest.$ac_ext
19672 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19673 echo "${ECHO_T}$ac_header_preproc" >&6
19675 # So? What about this header?
19676 case $ac_header_compiler:$ac_header_preproc in
19678 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19679 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19680 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19681 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19684 ## ------------------------------------ ##
19685 ## Report this to bug-autoconf@gnu.org. ##
19686 ## ------------------------------------ ##
19689 sed "s/^/$as_me: WARNING: /" >&2
19692 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19693 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19694 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19695 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19696 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19697 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19700 ## ------------------------------------ ##
19701 ## Report this to bug-autoconf@gnu.org. ##
19702 ## ------------------------------------ ##
19705 sed "s/^/$as_me: WARNING: /" >&2
19708 echo "$as_me:$LINENO: checking for $ac_header" >&5
19709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19711 echo $ECHO_N "(cached) $ECHO_C" >&6
19713 eval "$as_ac_Header=$ac_header_preproc"
19715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19716 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19719 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19720 cat >>confdefs.h <<_ACEOF
19721 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19733 for ac_header in malloc.h strings.h sys/mman.h sys/resource.h
19735 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19737 echo "$as_me:$LINENO: checking for $ac_header" >&5
19738 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19740 echo $ECHO_N "(cached) $ECHO_C" >&6
19742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19743 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19745 # Is the header compilable?
19746 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19747 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19748 cat >conftest.$ac_ext <<_ACEOF
19749 #line $LINENO "configure"
19752 cat confdefs.h >>conftest.$ac_ext
19753 cat >>conftest.$ac_ext <<_ACEOF
19754 /* end confdefs.h. */
19755 $ac_includes_default
19756 #include <$ac_header>
19758 rm -f conftest.$ac_objext
19759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19760 (eval $ac_compile) 2>&5
19762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19763 (exit $ac_status); } &&
19764 { ac_try='test -s conftest.$ac_objext'
19765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19766 (eval $ac_try) 2>&5
19768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19769 (exit $ac_status); }; }; then
19770 ac_header_compiler=yes
19772 echo "$as_me: failed program was:" >&5
19773 sed 's/^/| /' conftest.$ac_ext >&5
19775 ac_header_compiler=no
19777 rm -f conftest.$ac_objext conftest.$ac_ext
19778 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19779 echo "${ECHO_T}$ac_header_compiler" >&6
19781 # Is the header present?
19782 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19783 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19784 cat >conftest.$ac_ext <<_ACEOF
19785 #line $LINENO "configure"
19788 cat confdefs.h >>conftest.$ac_ext
19789 cat >>conftest.$ac_ext <<_ACEOF
19790 /* end confdefs.h. */
19791 #include <$ac_header>
19793 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19794 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19796 grep -v '^ *+' conftest.er1 >conftest.err
19798 cat conftest.err >&5
19799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19800 (exit $ac_status); } >/dev/null; then
19801 if test -s conftest.err; then
19802 ac_cpp_err=$ac_c_preproc_warn_flag
19809 if test -z "$ac_cpp_err"; then
19810 ac_header_preproc=yes
19812 echo "$as_me: failed program was:" >&5
19813 sed 's/^/| /' conftest.$ac_ext >&5
19815 ac_header_preproc=no
19817 rm -f conftest.err conftest.$ac_ext
19818 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19819 echo "${ECHO_T}$ac_header_preproc" >&6
19821 # So? What about this header?
19822 case $ac_header_compiler:$ac_header_preproc in
19824 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19825 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19826 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19827 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19830 ## ------------------------------------ ##
19831 ## Report this to bug-autoconf@gnu.org. ##
19832 ## ------------------------------------ ##
19835 sed "s/^/$as_me: WARNING: /" >&2
19838 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19839 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19840 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19841 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19842 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19843 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19846 ## ------------------------------------ ##
19847 ## Report this to bug-autoconf@gnu.org. ##
19848 ## ------------------------------------ ##
19851 sed "s/^/$as_me: WARNING: /" >&2
19854 echo "$as_me:$LINENO: checking for $ac_header" >&5
19855 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19856 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19857 echo $ECHO_N "(cached) $ECHO_C" >&6
19859 eval "$as_ac_Header=$ac_header_preproc"
19861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19862 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19865 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19866 cat >>confdefs.h <<_ACEOF
19867 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19877 for ac_header in dlfcn.h link.h
19879 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19881 echo "$as_me:$LINENO: checking for $ac_header" >&5
19882 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19883 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19884 echo $ECHO_N "(cached) $ECHO_C" >&6
19886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19887 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19889 # Is the header compilable?
19890 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19891 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19892 cat >conftest.$ac_ext <<_ACEOF
19893 #line $LINENO "configure"
19896 cat confdefs.h >>conftest.$ac_ext
19897 cat >>conftest.$ac_ext <<_ACEOF
19898 /* end confdefs.h. */
19899 $ac_includes_default
19900 #include <$ac_header>
19902 rm -f conftest.$ac_objext
19903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19904 (eval $ac_compile) 2>&5
19906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19907 (exit $ac_status); } &&
19908 { ac_try='test -s conftest.$ac_objext'
19909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19910 (eval $ac_try) 2>&5
19912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19913 (exit $ac_status); }; }; then
19914 ac_header_compiler=yes
19916 echo "$as_me: failed program was:" >&5
19917 sed 's/^/| /' conftest.$ac_ext >&5
19919 ac_header_compiler=no
19921 rm -f conftest.$ac_objext conftest.$ac_ext
19922 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19923 echo "${ECHO_T}$ac_header_compiler" >&6
19925 # Is the header present?
19926 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19927 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19928 cat >conftest.$ac_ext <<_ACEOF
19929 #line $LINENO "configure"
19932 cat confdefs.h >>conftest.$ac_ext
19933 cat >>conftest.$ac_ext <<_ACEOF
19934 /* end confdefs.h. */
19935 #include <$ac_header>
19937 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19938 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19940 grep -v '^ *+' conftest.er1 >conftest.err
19942 cat conftest.err >&5
19943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19944 (exit $ac_status); } >/dev/null; then
19945 if test -s conftest.err; then
19946 ac_cpp_err=$ac_c_preproc_warn_flag
19953 if test -z "$ac_cpp_err"; then
19954 ac_header_preproc=yes
19956 echo "$as_me: failed program was:" >&5
19957 sed 's/^/| /' conftest.$ac_ext >&5
19959 ac_header_preproc=no
19961 rm -f conftest.err conftest.$ac_ext
19962 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19963 echo "${ECHO_T}$ac_header_preproc" >&6
19965 # So? What about this header?
19966 case $ac_header_compiler:$ac_header_preproc in
19968 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19969 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19970 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19971 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19974 ## ------------------------------------ ##
19975 ## Report this to bug-autoconf@gnu.org. ##
19976 ## ------------------------------------ ##
19979 sed "s/^/$as_me: WARNING: /" >&2
19982 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19983 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19984 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19985 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19986 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19987 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19990 ## ------------------------------------ ##
19991 ## Report this to bug-autoconf@gnu.org. ##
19992 ## ------------------------------------ ##
19995 sed "s/^/$as_me: WARNING: /" >&2
19998 echo "$as_me:$LINENO: checking for $ac_header" >&5
19999 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20000 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20001 echo $ECHO_N "(cached) $ECHO_C" >&6
20003 eval "$as_ac_Header=$ac_header_preproc"
20005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20006 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20009 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20010 cat >>confdefs.h <<_ACEOF
20011 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20020 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20021 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
20022 if test "${ac_cv_c_const+set}" = set; then
20023 echo $ECHO_N "(cached) $ECHO_C" >&6
20025 cat >conftest.$ac_ext <<_ACEOF
20026 #line $LINENO "configure"
20029 cat confdefs.h >>conftest.$ac_ext
20030 cat >>conftest.$ac_ext <<_ACEOF
20031 /* end confdefs.h. */
20036 /* FIXME: Include the comments suggested by Paul. */
20037 #ifndef __cplusplus
20038 /* Ultrix mips cc rejects this. */
20039 typedef int charset[2];
20041 /* SunOS 4.1.1 cc rejects this. */
20042 char const *const *ccp;
20044 /* NEC SVR4.0.2 mips cc rejects this. */
20045 struct point {int x, y;};
20046 static struct point const zero = {0,0};
20047 /* AIX XL C 1.02.0.0 rejects this.
20048 It does not let you subtract one const X* pointer from another in
20049 an arm of an if-expression whose if-part is not a constant
20051 const char *g = "string";
20052 ccp = &g + (g ? g-g : 0);
20053 /* HPUX 7.0 cc rejects these. */
20056 ccp = (char const *const *) p;
20057 { /* SCO 3.2v4 cc rejects this. */
20059 char const *s = 0 ? (char *) 0 : (char const *) 0;
20063 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20064 int x[] = {25, 17};
20065 const int *foo = &x[0];
20068 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20069 typedef const int *iptr;
20073 { /* AIX XL C 1.02.0.0 rejects this saying
20074 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20075 struct s { int j; const int *ap[3]; };
20076 struct s *b; b->j = 5;
20078 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20079 const int foo = 10;
20087 rm -f conftest.$ac_objext
20088 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20089 (eval $ac_compile) 2>&5
20091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20092 (exit $ac_status); } &&
20093 { ac_try='test -s conftest.$ac_objext'
20094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20095 (eval $ac_try) 2>&5
20097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20098 (exit $ac_status); }; }; then
20101 echo "$as_me: failed program was:" >&5
20102 sed 's/^/| /' conftest.$ac_ext >&5
20106 rm -f conftest.$ac_objext conftest.$ac_ext
20108 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20109 echo "${ECHO_T}$ac_cv_c_const" >&6
20110 if test $ac_cv_c_const = no; then
20112 cat >>confdefs.h <<\_ACEOF
20118 echo "$as_me:$LINENO: checking for inline" >&5
20119 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20120 if test "${ac_cv_c_inline+set}" = set; then
20121 echo $ECHO_N "(cached) $ECHO_C" >&6
20124 for ac_kw in inline __inline__ __inline; do
20125 cat >conftest.$ac_ext <<_ACEOF
20126 #line $LINENO "configure"
20129 cat confdefs.h >>conftest.$ac_ext
20130 cat >>conftest.$ac_ext <<_ACEOF
20131 /* end confdefs.h. */
20132 #ifndef __cplusplus
20134 static $ac_kw foo_t static_foo () {return 0; }
20135 $ac_kw foo_t foo () {return 0; }
20139 rm -f conftest.$ac_objext
20140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20141 (eval $ac_compile) 2>&5
20143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20144 (exit $ac_status); } &&
20145 { ac_try='test -s conftest.$ac_objext'
20146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20147 (eval $ac_try) 2>&5
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); }; }; then
20151 ac_cv_c_inline=$ac_kw; break
20153 echo "$as_me: failed program was:" >&5
20154 sed 's/^/| /' conftest.$ac_ext >&5
20157 rm -f conftest.$ac_objext conftest.$ac_ext
20161 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20162 echo "${ECHO_T}$ac_cv_c_inline" >&6
20163 case $ac_cv_c_inline in
20166 cat >>confdefs.h <<\_ACEOF
20170 *) cat >>confdefs.h <<_ACEOF
20171 #define inline $ac_cv_c_inline
20177 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20178 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20179 if test "${ac_cv_c_bigendian+set}" = set; then
20180 echo $ECHO_N "(cached) $ECHO_C" >&6
20182 # See if sys/param.h defines the BYTE_ORDER macro.
20183 cat >conftest.$ac_ext <<_ACEOF
20184 #line $LINENO "configure"
20187 cat confdefs.h >>conftest.$ac_ext
20188 cat >>conftest.$ac_ext <<_ACEOF
20189 /* end confdefs.h. */
20190 #include <sys/types.h>
20191 #include <sys/param.h>
20196 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20197 bogus endian macros
20204 rm -f conftest.$ac_objext
20205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20206 (eval $ac_compile) 2>&5
20208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20209 (exit $ac_status); } &&
20210 { ac_try='test -s conftest.$ac_objext'
20211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20212 (eval $ac_try) 2>&5
20214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20215 (exit $ac_status); }; }; then
20216 # It does; now see whether it defined to BIG_ENDIAN or not.
20217 cat >conftest.$ac_ext <<_ACEOF
20218 #line $LINENO "configure"
20221 cat confdefs.h >>conftest.$ac_ext
20222 cat >>conftest.$ac_ext <<_ACEOF
20223 /* end confdefs.h. */
20224 #include <sys/types.h>
20225 #include <sys/param.h>
20230 #if BYTE_ORDER != BIG_ENDIAN
20238 rm -f conftest.$ac_objext
20239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20240 (eval $ac_compile) 2>&5
20242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20243 (exit $ac_status); } &&
20244 { ac_try='test -s conftest.$ac_objext'
20245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20246 (eval $ac_try) 2>&5
20248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20249 (exit $ac_status); }; }; then
20250 ac_cv_c_bigendian=yes
20252 echo "$as_me: failed program was:" >&5
20253 sed 's/^/| /' conftest.$ac_ext >&5
20255 ac_cv_c_bigendian=no
20257 rm -f conftest.$ac_objext conftest.$ac_ext
20259 echo "$as_me: failed program was:" >&5
20260 sed 's/^/| /' conftest.$ac_ext >&5
20262 # It does not; compile a test program.
20263 if test "$cross_compiling" = yes; then
20264 # try to guess the endianness by grepping values into an object file
20265 ac_cv_c_bigendian=unknown
20266 cat >conftest.$ac_ext <<_ACEOF
20267 #line $LINENO "configure"
20270 cat confdefs.h >>conftest.$ac_ext
20271 cat >>conftest.$ac_ext <<_ACEOF
20272 /* end confdefs.h. */
20273 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20274 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20275 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20276 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20277 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20278 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20282 _ascii (); _ebcdic ();
20287 rm -f conftest.$ac_objext
20288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20289 (eval $ac_compile) 2>&5
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); } &&
20293 { ac_try='test -s conftest.$ac_objext'
20294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20295 (eval $ac_try) 2>&5
20297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20298 (exit $ac_status); }; }; then
20299 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
20300 ac_cv_c_bigendian=yes
20302 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
20303 if test "$ac_cv_c_bigendian" = unknown; then
20304 ac_cv_c_bigendian=no
20306 # finding both strings is unlikely to happen, but who knows?
20307 ac_cv_c_bigendian=unknown
20311 echo "$as_me: failed program was:" >&5
20312 sed 's/^/| /' conftest.$ac_ext >&5
20315 rm -f conftest.$ac_objext conftest.$ac_ext
20317 cat >conftest.$ac_ext <<_ACEOF
20318 #line $LINENO "configure"
20321 cat confdefs.h >>conftest.$ac_ext
20322 cat >>conftest.$ac_ext <<_ACEOF
20323 /* end confdefs.h. */
20327 /* Are we little or big endian? From Harbison&Steele. */
20331 char c[sizeof (long)];
20334 exit (u.c[sizeof (long) - 1] == 1);
20337 rm -f conftest$ac_exeext
20338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20339 (eval $ac_link) 2>&5
20341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20342 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20344 (eval $ac_try) 2>&5
20346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20347 (exit $ac_status); }; }; then
20348 ac_cv_c_bigendian=no
20350 echo "$as_me: program exited with status $ac_status" >&5
20351 echo "$as_me: failed program was:" >&5
20352 sed 's/^/| /' conftest.$ac_ext >&5
20354 ( exit $ac_status )
20355 ac_cv_c_bigendian=yes
20357 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20360 rm -f conftest.$ac_objext conftest.$ac_ext
20362 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20363 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20364 case $ac_cv_c_bigendian in
20366 cat >>confdefs.h <<\_ACEOF
20367 #define ENDIAN_BIG 1
20371 cat >>confdefs.h <<\_ACEOF
20372 #define ENDIAN_LITTLE 1
20376 { { echo "$as_me:$LINENO: error: unknown endianness
20377 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20378 echo "$as_me: error: unknown endianness
20379 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20380 { (exit 1); exit 1; }; } ;;
20384 echo "$as_me:$LINENO: checking for pid_t" >&5
20385 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20386 if test "${ac_cv_type_pid_t+set}" = set; then
20387 echo $ECHO_N "(cached) $ECHO_C" >&6
20389 cat >conftest.$ac_ext <<_ACEOF
20390 #line $LINENO "configure"
20393 cat confdefs.h >>conftest.$ac_ext
20394 cat >>conftest.$ac_ext <<_ACEOF
20395 /* end confdefs.h. */
20396 $ac_includes_default
20402 if (sizeof (pid_t))
20408 rm -f conftest.$ac_objext
20409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20410 (eval $ac_compile) 2>&5
20412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20413 (exit $ac_status); } &&
20414 { ac_try='test -s conftest.$ac_objext'
20415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20416 (eval $ac_try) 2>&5
20418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20419 (exit $ac_status); }; }; then
20420 ac_cv_type_pid_t=yes
20422 echo "$as_me: failed program was:" >&5
20423 sed 's/^/| /' conftest.$ac_ext >&5
20425 ac_cv_type_pid_t=no
20427 rm -f conftest.$ac_objext conftest.$ac_ext
20429 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20430 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20431 if test $ac_cv_type_pid_t = yes; then
20435 cat >>confdefs.h <<_ACEOF
20441 echo "$as_me:$LINENO: checking for size_t" >&5
20442 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20443 if test "${ac_cv_type_size_t+set}" = set; then
20444 echo $ECHO_N "(cached) $ECHO_C" >&6
20446 cat >conftest.$ac_ext <<_ACEOF
20447 #line $LINENO "configure"
20450 cat confdefs.h >>conftest.$ac_ext
20451 cat >>conftest.$ac_ext <<_ACEOF
20452 /* end confdefs.h. */
20453 $ac_includes_default
20459 if (sizeof (size_t))
20465 rm -f conftest.$ac_objext
20466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20467 (eval $ac_compile) 2>&5
20469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20470 (exit $ac_status); } &&
20471 { ac_try='test -s conftest.$ac_objext'
20472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20473 (eval $ac_try) 2>&5
20475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20476 (exit $ac_status); }; }; then
20477 ac_cv_type_size_t=yes
20479 echo "$as_me: failed program was:" >&5
20480 sed 's/^/| /' conftest.$ac_ext >&5
20482 ac_cv_type_size_t=no
20484 rm -f conftest.$ac_objext conftest.$ac_ext
20486 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20487 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20488 if test $ac_cv_type_size_t = yes; then
20492 cat >>confdefs.h <<_ACEOF
20493 #define size_t unsigned
20498 echo "$as_me:$LINENO: checking for int64_t" >&5
20499 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
20500 if test "${ac_cv_type_int64_t+set}" = set; then
20501 echo $ECHO_N "(cached) $ECHO_C" >&6
20503 cat >conftest.$ac_ext <<_ACEOF
20504 #line $LINENO "configure"
20507 cat confdefs.h >>conftest.$ac_ext
20508 cat >>conftest.$ac_ext <<_ACEOF
20509 /* end confdefs.h. */
20510 $ac_includes_default
20516 if (sizeof (int64_t))
20522 rm -f conftest.$ac_objext
20523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20524 (eval $ac_compile) 2>&5
20526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20527 (exit $ac_status); } &&
20528 { ac_try='test -s conftest.$ac_objext'
20529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20530 (eval $ac_try) 2>&5
20532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20533 (exit $ac_status); }; }; then
20534 ac_cv_type_int64_t=yes
20536 echo "$as_me: failed program was:" >&5
20537 sed 's/^/| /' conftest.$ac_ext >&5
20539 ac_cv_type_int64_t=no
20541 rm -f conftest.$ac_objext conftest.$ac_ext
20543 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
20544 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
20545 if test $ac_cv_type_int64_t = yes; then
20547 cat >>confdefs.h <<_ACEOF
20548 #define HAVE_INT64_T 1
20553 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
20554 echo "$as_me: error: Type int64_t required but not found" >&2;}
20555 { (exit 1); exit 1; }; }
20558 echo "$as_me:$LINENO: checking for uint64_t" >&5
20559 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
20560 if test "${ac_cv_type_uint64_t+set}" = set; then
20561 echo $ECHO_N "(cached) $ECHO_C" >&6
20563 cat >conftest.$ac_ext <<_ACEOF
20564 #line $LINENO "configure"
20567 cat confdefs.h >>conftest.$ac_ext
20568 cat >>conftest.$ac_ext <<_ACEOF
20569 /* end confdefs.h. */
20570 $ac_includes_default
20574 if ((uint64_t *) 0)
20576 if (sizeof (uint64_t))
20582 rm -f conftest.$ac_objext
20583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20584 (eval $ac_compile) 2>&5
20586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20587 (exit $ac_status); } &&
20588 { ac_try='test -s conftest.$ac_objext'
20589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20590 (eval $ac_try) 2>&5
20592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593 (exit $ac_status); }; }; then
20594 ac_cv_type_uint64_t=yes
20596 echo "$as_me: failed program was:" >&5
20597 sed 's/^/| /' conftest.$ac_ext >&5
20599 ac_cv_type_uint64_t=no
20601 rm -f conftest.$ac_objext conftest.$ac_ext
20603 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
20604 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
20605 if test $ac_cv_type_uint64_t = yes; then
20607 cat >>confdefs.h <<_ACEOF
20608 #define HAVE_UINT64_T 1
20613 { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5
20614 echo "$as_me: error: Type uint64_t required but not found" >&2;}
20615 { (exit 1); exit 1; }; }
20618 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20619 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20620 if test "${ac_cv_header_time+set}" = set; then
20621 echo $ECHO_N "(cached) $ECHO_C" >&6
20623 cat >conftest.$ac_ext <<_ACEOF
20624 #line $LINENO "configure"
20627 cat confdefs.h >>conftest.$ac_ext
20628 cat >>conftest.$ac_ext <<_ACEOF
20629 /* end confdefs.h. */
20630 #include <sys/types.h>
20631 #include <sys/time.h>
20637 if ((struct tm *) 0)
20643 rm -f conftest.$ac_objext
20644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20645 (eval $ac_compile) 2>&5
20647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20648 (exit $ac_status); } &&
20649 { ac_try='test -s conftest.$ac_objext'
20650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20651 (eval $ac_try) 2>&5
20653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20654 (exit $ac_status); }; }; then
20655 ac_cv_header_time=yes
20657 echo "$as_me: failed program was:" >&5
20658 sed 's/^/| /' conftest.$ac_ext >&5
20660 ac_cv_header_time=no
20662 rm -f conftest.$ac_objext conftest.$ac_ext
20664 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20665 echo "${ECHO_T}$ac_cv_header_time" >&6
20666 if test $ac_cv_header_time = yes; then
20668 cat >>confdefs.h <<\_ACEOF
20669 #define TIME_WITH_SYS_TIME 1
20674 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20675 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
20676 if test "${ac_cv_struct_tm+set}" = set; then
20677 echo $ECHO_N "(cached) $ECHO_C" >&6
20679 cat >conftest.$ac_ext <<_ACEOF
20680 #line $LINENO "configure"
20683 cat confdefs.h >>conftest.$ac_ext
20684 cat >>conftest.$ac_ext <<_ACEOF
20685 /* end confdefs.h. */
20686 #include <sys/types.h>
20692 struct tm *tp; tp->tm_sec;
20697 rm -f conftest.$ac_objext
20698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20699 (eval $ac_compile) 2>&5
20701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20702 (exit $ac_status); } &&
20703 { ac_try='test -s conftest.$ac_objext'
20704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20705 (eval $ac_try) 2>&5
20707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20708 (exit $ac_status); }; }; then
20709 ac_cv_struct_tm=time.h
20711 echo "$as_me: failed program was:" >&5
20712 sed 's/^/| /' conftest.$ac_ext >&5
20714 ac_cv_struct_tm=sys/time.h
20716 rm -f conftest.$ac_objext conftest.$ac_ext
20718 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20719 echo "${ECHO_T}$ac_cv_struct_tm" >&6
20720 if test $ac_cv_struct_tm = sys/time.h; then
20722 cat >>confdefs.h <<\_ACEOF
20723 #define TM_IN_SYS_TIME 1
20729 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
20730 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
20731 if test "${ac_cv_cxx_namespaces+set}" = set; then
20732 echo $ECHO_N "(cached) $ECHO_C" >&6
20737 ac_cpp='$CXXCPP $CPPFLAGS'
20738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20742 cat >conftest.$ac_ext <<_ACEOF
20743 #line $LINENO "configure"
20746 cat confdefs.h >>conftest.$ac_ext
20747 cat >>conftest.$ac_ext <<_ACEOF
20748 /* end confdefs.h. */
20749 namespace Outer { namespace Inner { int i = 0; }}
20753 using namespace Outer::Inner; return i;
20758 rm -f conftest.$ac_objext
20759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20760 (eval $ac_compile) 2>&5
20762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20763 (exit $ac_status); } &&
20764 { ac_try='test -s conftest.$ac_objext'
20765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20766 (eval $ac_try) 2>&5
20768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20769 (exit $ac_status); }; }; then
20770 ac_cv_cxx_namespaces=yes
20772 echo "$as_me: failed program was:" >&5
20773 sed 's/^/| /' conftest.$ac_ext >&5
20775 ac_cv_cxx_namespaces=no
20777 rm -f conftest.$ac_objext conftest.$ac_ext
20779 ac_cpp='$CPP $CPPFLAGS'
20780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20786 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
20787 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
20788 if test "$ac_cv_cxx_namespaces" = yes; then
20790 cat >>confdefs.h <<\_ACEOF
20791 #define HAVE_NAMESPACES
20796 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_map" >&5
20797 echo $ECHO_N "checking whether the compiler has ext/hash_map... $ECHO_C" >&6
20798 if test "${ac_cv_cxx_have_ext_hash_map+set}" = set; then
20799 echo $ECHO_N "(cached) $ECHO_C" >&6
20805 ac_cpp='$CXXCPP $CPPFLAGS'
20806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20810 cat >conftest.$ac_ext <<_ACEOF
20811 #line $LINENO "configure"
20814 cat confdefs.h >>conftest.$ac_ext
20815 cat >>conftest.$ac_ext <<_ACEOF
20816 /* end confdefs.h. */
20817 #include <ext/hash_map>
20818 #ifdef HAVE_NAMESPACES
20819 using namespace std;
20824 hash_map<int, int> t; return 0;
20829 rm -f conftest.$ac_objext
20830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20831 (eval $ac_compile) 2>&5
20833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20834 (exit $ac_status); } &&
20835 { ac_try='test -s conftest.$ac_objext'
20836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20837 (eval $ac_try) 2>&5
20839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20840 (exit $ac_status); }; }; then
20841 ac_cv_cxx_have_ext_hash_map=std
20843 echo "$as_me: failed program was:" >&5
20844 sed 's/^/| /' conftest.$ac_ext >&5
20846 ac_cv_cxx_have_ext_hash_map=no
20848 rm -f conftest.$ac_objext conftest.$ac_ext
20849 cat >conftest.$ac_ext <<_ACEOF
20850 #line $LINENO "configure"
20853 cat confdefs.h >>conftest.$ac_ext
20854 cat >>conftest.$ac_ext <<_ACEOF
20855 /* end confdefs.h. */
20856 #include <ext/hash_map>
20857 #ifdef HAVE_NAMESPACES
20858 using namespace __gnu_cxx;
20863 hash_map<int, int> t; return 0;
20868 rm -f conftest.$ac_objext
20869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20870 (eval $ac_compile) 2>&5
20872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20873 (exit $ac_status); } &&
20874 { ac_try='test -s conftest.$ac_objext'
20875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20876 (eval $ac_try) 2>&5
20878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20879 (exit $ac_status); }; }; then
20880 ac_cv_cxx_have_ext_hash_map=gnu
20882 echo "$as_me: failed program was:" >&5
20883 sed 's/^/| /' conftest.$ac_ext >&5
20885 ac_cv_cxx_have_ext_hash_map=no
20887 rm -f conftest.$ac_objext conftest.$ac_ext
20889 ac_cpp='$CPP $CPPFLAGS'
20890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20896 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_map" >&5
20897 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_map" >&6
20898 if test "$ac_cv_cxx_have_ext_hash_map" = std; then
20900 cat >>confdefs.h <<\_ACEOF
20901 #define HAVE_STD_EXT_HASH_MAP
20905 if test "$ac_cv_cxx_have_ext_hash_map" = gnu; then
20907 cat >>confdefs.h <<\_ACEOF
20908 #define HAVE_GNU_EXT_HASH_MAP
20913 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_set" >&5
20914 echo $ECHO_N "checking whether the compiler has ext/hash_set... $ECHO_C" >&6
20915 if test "${ac_cv_cxx_have_ext_hash_set+set}" = set; then
20916 echo $ECHO_N "(cached) $ECHO_C" >&6
20922 ac_cpp='$CXXCPP $CPPFLAGS'
20923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20927 cat >conftest.$ac_ext <<_ACEOF
20928 #line $LINENO "configure"
20931 cat confdefs.h >>conftest.$ac_ext
20932 cat >>conftest.$ac_ext <<_ACEOF
20933 /* end confdefs.h. */
20934 #include <ext/hash_set>
20935 #ifdef HAVE_NAMESPACES
20936 using namespace std;
20941 hash_set<int> t; return 0;
20946 rm -f conftest.$ac_objext
20947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20948 (eval $ac_compile) 2>&5
20950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20951 (exit $ac_status); } &&
20952 { ac_try='test -s conftest.$ac_objext'
20953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20954 (eval $ac_try) 2>&5
20956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20957 (exit $ac_status); }; }; then
20958 ac_cv_cxx_have_ext_hash_set=std
20960 echo "$as_me: failed program was:" >&5
20961 sed 's/^/| /' conftest.$ac_ext >&5
20963 ac_cv_cxx_have_ext_hash_set=no
20965 rm -f conftest.$ac_objext conftest.$ac_ext
20966 cat >conftest.$ac_ext <<_ACEOF
20967 #line $LINENO "configure"
20970 cat confdefs.h >>conftest.$ac_ext
20971 cat >>conftest.$ac_ext <<_ACEOF
20972 /* end confdefs.h. */
20973 #include <ext/hash_set>
20974 #ifdef HAVE_NAMESPACES
20975 using namespace __gnu_cxx;
20980 hash_set<int> t; return 0;
20985 rm -f conftest.$ac_objext
20986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20987 (eval $ac_compile) 2>&5
20989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20990 (exit $ac_status); } &&
20991 { ac_try='test -s conftest.$ac_objext'
20992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20993 (eval $ac_try) 2>&5
20995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20996 (exit $ac_status); }; }; then
20997 ac_cv_cxx_have_ext_hash_set=gnu
20999 echo "$as_me: failed program was:" >&5
21000 sed 's/^/| /' conftest.$ac_ext >&5
21002 ac_cv_cxx_have_ext_hash_set=no
21004 rm -f conftest.$ac_objext conftest.$ac_ext
21006 ac_cpp='$CPP $CPPFLAGS'
21007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21013 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_set" >&5
21014 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_set" >&6
21015 if test "$ac_cv_cxx_have_ext_hash_set" = std; then
21017 cat >>confdefs.h <<\_ACEOF
21018 #define HAVE_STD_EXT_HASH_SET
21022 if test "$ac_cv_cxx_have_ext_hash_set" = gnu; then
21024 cat >>confdefs.h <<\_ACEOF
21025 #define HAVE_GNU_EXT_HASH_SET
21030 echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5
21031 echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6
21032 if test "${ac_cv_cxx_have_ext_slist+set}" = set; then
21033 echo $ECHO_N "(cached) $ECHO_C" >&6
21039 ac_cpp='$CXXCPP $CPPFLAGS'
21040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21044 cat >conftest.$ac_ext <<_ACEOF
21045 #line $LINENO "configure"
21048 cat confdefs.h >>conftest.$ac_ext
21049 cat >>conftest.$ac_ext <<_ACEOF
21050 /* end confdefs.h. */
21051 #include <ext/slist>
21052 #ifdef HAVE_NAMESPACES
21053 using namespace std;
21058 slist<int> s; return 0;
21063 rm -f conftest.$ac_objext
21064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21065 (eval $ac_compile) 2>&5
21067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21068 (exit $ac_status); } &&
21069 { ac_try='test -s conftest.$ac_objext'
21070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21071 (eval $ac_try) 2>&5
21073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21074 (exit $ac_status); }; }; then
21075 ac_cv_cxx_have_ext_slist=std
21077 echo "$as_me: failed program was:" >&5
21078 sed 's/^/| /' conftest.$ac_ext >&5
21080 ac_cv_cxx_have_ext_slist=no
21082 rm -f conftest.$ac_objext conftest.$ac_ext
21083 cat >conftest.$ac_ext <<_ACEOF
21084 #line $LINENO "configure"
21087 cat confdefs.h >>conftest.$ac_ext
21088 cat >>conftest.$ac_ext <<_ACEOF
21089 /* end confdefs.h. */
21090 #include <ext/slist>
21091 #ifdef HAVE_NAMESPACES
21092 using namespace __gnu_cxx;
21097 slist<int> s; return 0;
21102 rm -f conftest.$ac_objext
21103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21104 (eval $ac_compile) 2>&5
21106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21107 (exit $ac_status); } &&
21108 { ac_try='test -s conftest.$ac_objext'
21109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21110 (eval $ac_try) 2>&5
21112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21113 (exit $ac_status); }; }; then
21114 ac_cv_cxx_have_ext_slist=gnu
21116 echo "$as_me: failed program was:" >&5
21117 sed 's/^/| /' conftest.$ac_ext >&5
21119 ac_cv_cxx_have_ext_slist=no
21121 rm -f conftest.$ac_objext conftest.$ac_ext
21124 ac_cpp='$CPP $CPPFLAGS'
21125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21131 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5
21132 echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6
21133 if test "$ac_cv_cxx_have_ext_slist" = std; then
21135 cat >>confdefs.h <<\_ACEOF
21136 #define HAVE_EXT_SLIST std
21140 if test "$ac_cv_cxx_have_ext_slist" = gnu; then
21142 cat >>confdefs.h <<\_ACEOF
21143 #define HAVE_EXT_SLIST gnu
21148 echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
21149 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6
21150 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
21151 echo $ECHO_N "(cached) $ECHO_C" >&6
21157 ac_cpp='$CXXCPP $CPPFLAGS'
21158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21162 cat >conftest.$ac_ext <<_ACEOF
21163 #line $LINENO "configure"
21166 cat confdefs.h >>conftest.$ac_ext
21167 cat >>conftest.$ac_ext <<_ACEOF
21168 /* end confdefs.h. */
21169 #include <iterator>
21170 #ifdef HAVE_NAMESPACES
21171 using namespace std;
21176 iterator<int,int,int> t; return 0;
21181 rm -f conftest.$ac_objext
21182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21183 (eval $ac_compile) 2>&5
21185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21186 (exit $ac_status); } &&
21187 { ac_try='test -s conftest.$ac_objext'
21188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21189 (eval $ac_try) 2>&5
21191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21192 (exit $ac_status); }; }; then
21193 ac_cv_cxx_have_std_iterator=yes
21195 echo "$as_me: failed program was:" >&5
21196 sed 's/^/| /' conftest.$ac_ext >&5
21198 ac_cv_cxx_have_std_iterator=no
21200 rm -f conftest.$ac_objext conftest.$ac_ext
21202 ac_cpp='$CPP $CPPFLAGS'
21203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21209 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
21210 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6
21211 if test "$ac_cv_cxx_have_std_iterator" = yes; then
21213 cat >>confdefs.h <<\_ACEOF
21214 #define HAVE_STD_ITERATOR
21219 echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
21220 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6
21221 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
21222 echo $ECHO_N "(cached) $ECHO_C" >&6
21228 ac_cpp='$CXXCPP $CPPFLAGS'
21229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21233 cat >conftest.$ac_ext <<_ACEOF
21234 #line $LINENO "configure"
21237 cat confdefs.h >>conftest.$ac_ext
21238 cat >>conftest.$ac_ext <<_ACEOF
21239 /* end confdefs.h. */
21240 #include <iterator>
21241 #ifdef HAVE_NAMESPACES
21242 using namespace std;
21247 bidirectional_iterator<int,int> t; return 0;
21252 rm -f conftest.$ac_objext
21253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21254 (eval $ac_compile) 2>&5
21256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21257 (exit $ac_status); } &&
21258 { ac_try='test -s conftest.$ac_objext'
21259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21260 (eval $ac_try) 2>&5
21262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21263 (exit $ac_status); }; }; then
21264 ac_cv_cxx_have_bi_iterator=yes
21266 echo "$as_me: failed program was:" >&5
21267 sed 's/^/| /' conftest.$ac_ext >&5
21269 ac_cv_cxx_have_bi_iterator=no
21271 rm -f conftest.$ac_objext conftest.$ac_ext
21273 ac_cpp='$CPP $CPPFLAGS'
21274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21280 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
21281 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6
21282 if test "$ac_cv_cxx_have_bi_iterator" = yes; then
21284 cat >>confdefs.h <<\_ACEOF
21285 #define HAVE_BI_ITERATOR
21290 echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
21291 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6
21292 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
21293 echo $ECHO_N "(cached) $ECHO_C" >&6
21299 ac_cpp='$CXXCPP $CPPFLAGS'
21300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21304 cat >conftest.$ac_ext <<_ACEOF
21305 #line $LINENO "configure"
21308 cat confdefs.h >>conftest.$ac_ext
21309 cat >>conftest.$ac_ext <<_ACEOF
21310 /* end confdefs.h. */
21311 #include <iterator>
21312 #ifdef HAVE_NAMESPACES
21313 using namespace std;
21318 forward_iterator<int,int> t; return 0;
21323 rm -f conftest.$ac_objext
21324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21325 (eval $ac_compile) 2>&5
21327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21328 (exit $ac_status); } &&
21329 { ac_try='test -s conftest.$ac_objext'
21330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21331 (eval $ac_try) 2>&5
21333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21334 (exit $ac_status); }; }; then
21335 ac_cv_cxx_have_fwd_iterator=yes
21337 echo "$as_me: failed program was:" >&5
21338 sed 's/^/| /' conftest.$ac_ext >&5
21340 ac_cv_cxx_have_fwd_iterator=no
21342 rm -f conftest.$ac_objext conftest.$ac_ext
21344 ac_cpp='$CPP $CPPFLAGS'
21345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21351 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
21352 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6
21353 if test "$ac_cv_cxx_have_fwd_iterator" = yes; then
21355 cat >>confdefs.h <<\_ACEOF
21356 #define HAVE_FWD_ITERATOR
21362 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21363 # for constant arguments. Useless!
21364 echo "$as_me:$LINENO: checking for working alloca.h" >&5
21365 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
21366 if test "${ac_cv_working_alloca_h+set}" = set; then
21367 echo $ECHO_N "(cached) $ECHO_C" >&6
21369 cat >conftest.$ac_ext <<_ACEOF
21370 #line $LINENO "configure"
21373 cat confdefs.h >>conftest.$ac_ext
21374 cat >>conftest.$ac_ext <<_ACEOF
21375 /* end confdefs.h. */
21376 #include <alloca.h>
21380 char *p = (char *) alloca (2 * sizeof (int));
21385 rm -f conftest.$ac_objext conftest$ac_exeext
21386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21387 (eval $ac_link) 2>&5
21389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21390 (exit $ac_status); } &&
21391 { ac_try='test -s conftest$ac_exeext'
21392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21393 (eval $ac_try) 2>&5
21395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21396 (exit $ac_status); }; }; then
21397 ac_cv_working_alloca_h=yes
21399 echo "$as_me: failed program was:" >&5
21400 sed 's/^/| /' conftest.$ac_ext >&5
21402 ac_cv_working_alloca_h=no
21404 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21406 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21407 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
21408 if test $ac_cv_working_alloca_h = yes; then
21410 cat >>confdefs.h <<\_ACEOF
21411 #define HAVE_ALLOCA_H 1
21416 echo "$as_me:$LINENO: checking for alloca" >&5
21417 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
21418 if test "${ac_cv_func_alloca_works+set}" = set; then
21419 echo $ECHO_N "(cached) $ECHO_C" >&6
21421 cat >conftest.$ac_ext <<_ACEOF
21422 #line $LINENO "configure"
21425 cat confdefs.h >>conftest.$ac_ext
21426 cat >>conftest.$ac_ext <<_ACEOF
21427 /* end confdefs.h. */
21429 # define alloca __builtin_alloca
21432 # include <malloc.h>
21433 # define alloca _alloca
21436 # include <alloca.h>
21441 # ifndef alloca /* predefined by HP cc +Olibcalls */
21452 char *p = (char *) alloca (1);
21457 rm -f conftest.$ac_objext conftest$ac_exeext
21458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21459 (eval $ac_link) 2>&5
21461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21462 (exit $ac_status); } &&
21463 { ac_try='test -s conftest$ac_exeext'
21464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21465 (eval $ac_try) 2>&5
21467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21468 (exit $ac_status); }; }; then
21469 ac_cv_func_alloca_works=yes
21471 echo "$as_me: failed program was:" >&5
21472 sed 's/^/| /' conftest.$ac_ext >&5
21474 ac_cv_func_alloca_works=no
21476 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21478 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21479 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
21481 if test $ac_cv_func_alloca_works = yes; then
21483 cat >>confdefs.h <<\_ACEOF
21484 #define HAVE_ALLOCA 1
21488 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21489 # that cause trouble. Some versions do not even contain alloca or
21490 # contain a buggy version. If you still want to use their alloca,
21491 # use ar to extract alloca.o from them instead of compiling alloca.c.
21493 ALLOCA=alloca.$ac_objext
21495 cat >>confdefs.h <<\_ACEOF
21500 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21501 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
21502 if test "${ac_cv_os_cray+set}" = set; then
21503 echo $ECHO_N "(cached) $ECHO_C" >&6
21505 cat >conftest.$ac_ext <<_ACEOF
21506 #line $LINENO "configure"
21509 cat confdefs.h >>conftest.$ac_ext
21510 cat >>conftest.$ac_ext <<_ACEOF
21511 /* end confdefs.h. */
21512 #if defined(CRAY) && ! defined(CRAY2)
21519 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21520 $EGREP "webecray" >/dev/null 2>&1; then
21528 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
21529 echo "${ECHO_T}$ac_cv_os_cray" >&6
21530 if test $ac_cv_os_cray = yes; then
21531 for ac_func in _getb67 GETB67 getb67; do
21532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21533 echo "$as_me:$LINENO: checking for $ac_func" >&5
21534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21535 if eval "test \"\${$as_ac_var+set}\" = set"; then
21536 echo $ECHO_N "(cached) $ECHO_C" >&6
21538 cat >conftest.$ac_ext <<_ACEOF
21539 #line $LINENO "configure"
21542 cat confdefs.h >>conftest.$ac_ext
21543 cat >>conftest.$ac_ext <<_ACEOF
21544 /* end confdefs.h. */
21545 /* System header to define __stub macros and hopefully few prototypes,
21546 which can conflict with char $ac_func (); below.
21547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21548 <limits.h> exists even on freestanding compilers. */
21550 # include <limits.h>
21552 # include <assert.h>
21554 /* Override any gcc2 internal prototype to avoid an error. */
21559 /* We use char because int might match the return type of a gcc2
21560 builtin and then its argument prototype would still apply. */
21562 /* The GNU C library defines this for functions which it implements
21563 to always fail with ENOSYS. Some functions are actually named
21564 something starting with __ and the normal name is an alias. */
21565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21568 char (*f) () = $ac_func;
21577 return f != $ac_func;
21582 rm -f conftest.$ac_objext conftest$ac_exeext
21583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21584 (eval $ac_link) 2>&5
21586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21587 (exit $ac_status); } &&
21588 { ac_try='test -s conftest$ac_exeext'
21589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21590 (eval $ac_try) 2>&5
21592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21593 (exit $ac_status); }; }; then
21594 eval "$as_ac_var=yes"
21596 echo "$as_me: failed program was:" >&5
21597 sed 's/^/| /' conftest.$ac_ext >&5
21599 eval "$as_ac_var=no"
21601 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21604 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21605 if test `eval echo '${'$as_ac_var'}'` = yes; then
21607 cat >>confdefs.h <<_ACEOF
21608 #define CRAY_STACKSEG_END $ac_func
21617 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21618 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
21619 if test "${ac_cv_c_stack_direction+set}" = set; then
21620 echo $ECHO_N "(cached) $ECHO_C" >&6
21622 if test "$cross_compiling" = yes; then
21623 ac_cv_c_stack_direction=0
21625 cat >conftest.$ac_ext <<_ACEOF
21626 #line $LINENO "configure"
21629 cat confdefs.h >>conftest.$ac_ext
21630 cat >>conftest.$ac_ext <<_ACEOF
21631 /* end confdefs.h. */
21633 find_stack_direction ()
21635 static char *addr = 0;
21640 return find_stack_direction ();
21643 return (&dummy > addr) ? 1 : -1;
21649 exit (find_stack_direction () < 0);
21652 rm -f conftest$ac_exeext
21653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21654 (eval $ac_link) 2>&5
21656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21657 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21659 (eval $ac_try) 2>&5
21661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21662 (exit $ac_status); }; }; then
21663 ac_cv_c_stack_direction=1
21665 echo "$as_me: program exited with status $ac_status" >&5
21666 echo "$as_me: failed program was:" >&5
21667 sed 's/^/| /' conftest.$ac_ext >&5
21669 ( exit $ac_status )
21670 ac_cv_c_stack_direction=-1
21672 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21675 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21676 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
21678 cat >>confdefs.h <<_ACEOF
21679 #define STACK_DIRECTION $ac_cv_c_stack_direction
21685 if test $ac_cv_c_compiler_gnu = yes; then
21686 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
21687 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
21688 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
21689 echo $ECHO_N "(cached) $ECHO_C" >&6
21691 ac_pattern="Autoconf.*'x'"
21692 cat >conftest.$ac_ext <<_ACEOF
21693 #line $LINENO "configure"
21696 cat confdefs.h >>conftest.$ac_ext
21697 cat >>conftest.$ac_ext <<_ACEOF
21698 /* end confdefs.h. */
21702 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21703 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21704 ac_cv_prog_gcc_traditional=yes
21706 ac_cv_prog_gcc_traditional=no
21711 if test $ac_cv_prog_gcc_traditional = no; then
21712 cat >conftest.$ac_ext <<_ACEOF
21713 #line $LINENO "configure"
21716 cat confdefs.h >>conftest.$ac_ext
21717 cat >>conftest.$ac_ext <<_ACEOF
21718 /* end confdefs.h. */
21719 #include <termio.h>
21722 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21723 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21724 ac_cv_prog_gcc_traditional=yes
21730 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
21731 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
21732 if test $ac_cv_prog_gcc_traditional = yes; then
21733 CC="$CC -traditional"
21737 echo "$as_me:$LINENO: checking for working memcmp" >&5
21738 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
21739 if test "${ac_cv_func_memcmp_working+set}" = set; then
21740 echo $ECHO_N "(cached) $ECHO_C" >&6
21742 if test "$cross_compiling" = yes; then
21743 ac_cv_func_memcmp_working=no
21745 cat >conftest.$ac_ext <<_ACEOF
21746 #line $LINENO "configure"
21749 cat confdefs.h >>conftest.$ac_ext
21750 cat >>conftest.$ac_ext <<_ACEOF
21751 /* end confdefs.h. */
21757 /* Some versions of memcmp are not 8-bit clean. */
21758 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
21759 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
21762 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
21763 or more and with at least one buffer not starting on a 4-byte boundary.
21764 William Lewis provided this test program. */
21769 for (i = 0; i < 4; i++)
21773 strcpy (a, "--------01111111");
21774 strcpy (b, "--------10000000");
21775 if (memcmp (a, b, 16) >= 0)
21785 rm -f conftest$ac_exeext
21786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21787 (eval $ac_link) 2>&5
21789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21790 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21792 (eval $ac_try) 2>&5
21794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21795 (exit $ac_status); }; }; then
21796 ac_cv_func_memcmp_working=yes
21798 echo "$as_me: program exited with status $ac_status" >&5
21799 echo "$as_me: failed program was:" >&5
21800 sed 's/^/| /' conftest.$ac_ext >&5
21802 ( exit $ac_status )
21803 ac_cv_func_memcmp_working=no
21805 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21808 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
21809 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
21810 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
21814 for ac_header in stdlib.h unistd.h
21816 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21818 echo "$as_me:$LINENO: checking for $ac_header" >&5
21819 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21820 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21821 echo $ECHO_N "(cached) $ECHO_C" >&6
21823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21824 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21826 # Is the header compilable?
21827 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21828 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21829 cat >conftest.$ac_ext <<_ACEOF
21830 #line $LINENO "configure"
21833 cat confdefs.h >>conftest.$ac_ext
21834 cat >>conftest.$ac_ext <<_ACEOF
21835 /* end confdefs.h. */
21836 $ac_includes_default
21837 #include <$ac_header>
21839 rm -f conftest.$ac_objext
21840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21841 (eval $ac_compile) 2>&5
21843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21844 (exit $ac_status); } &&
21845 { ac_try='test -s conftest.$ac_objext'
21846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21847 (eval $ac_try) 2>&5
21849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21850 (exit $ac_status); }; }; then
21851 ac_header_compiler=yes
21853 echo "$as_me: failed program was:" >&5
21854 sed 's/^/| /' conftest.$ac_ext >&5
21856 ac_header_compiler=no
21858 rm -f conftest.$ac_objext conftest.$ac_ext
21859 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21860 echo "${ECHO_T}$ac_header_compiler" >&6
21862 # Is the header present?
21863 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21864 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21865 cat >conftest.$ac_ext <<_ACEOF
21866 #line $LINENO "configure"
21869 cat confdefs.h >>conftest.$ac_ext
21870 cat >>conftest.$ac_ext <<_ACEOF
21871 /* end confdefs.h. */
21872 #include <$ac_header>
21874 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21875 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21877 grep -v '^ *+' conftest.er1 >conftest.err
21879 cat conftest.err >&5
21880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21881 (exit $ac_status); } >/dev/null; then
21882 if test -s conftest.err; then
21883 ac_cpp_err=$ac_c_preproc_warn_flag
21890 if test -z "$ac_cpp_err"; then
21891 ac_header_preproc=yes
21893 echo "$as_me: failed program was:" >&5
21894 sed 's/^/| /' conftest.$ac_ext >&5
21896 ac_header_preproc=no
21898 rm -f conftest.err conftest.$ac_ext
21899 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21900 echo "${ECHO_T}$ac_header_preproc" >&6
21902 # So? What about this header?
21903 case $ac_header_compiler:$ac_header_preproc in
21905 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21906 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21907 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21908 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21911 ## ------------------------------------ ##
21912 ## Report this to bug-autoconf@gnu.org. ##
21913 ## ------------------------------------ ##
21916 sed "s/^/$as_me: WARNING: /" >&2
21919 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21920 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21921 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21922 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21924 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21927 ## ------------------------------------ ##
21928 ## Report this to bug-autoconf@gnu.org. ##
21929 ## ------------------------------------ ##
21932 sed "s/^/$as_me: WARNING: /" >&2
21935 echo "$as_me:$LINENO: checking for $ac_header" >&5
21936 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21937 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21938 echo $ECHO_N "(cached) $ECHO_C" >&6
21940 eval "$as_ac_Header=$ac_header_preproc"
21942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21946 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21947 cat >>confdefs.h <<_ACEOF
21948 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21956 for ac_func in getpagesize
21958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21959 echo "$as_me:$LINENO: checking for $ac_func" >&5
21960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21961 if eval "test \"\${$as_ac_var+set}\" = set"; then
21962 echo $ECHO_N "(cached) $ECHO_C" >&6
21964 cat >conftest.$ac_ext <<_ACEOF
21965 #line $LINENO "configure"
21968 cat confdefs.h >>conftest.$ac_ext
21969 cat >>conftest.$ac_ext <<_ACEOF
21970 /* end confdefs.h. */
21971 /* System header to define __stub macros and hopefully few prototypes,
21972 which can conflict with char $ac_func (); below.
21973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21974 <limits.h> exists even on freestanding compilers. */
21976 # include <limits.h>
21978 # include <assert.h>
21980 /* Override any gcc2 internal prototype to avoid an error. */
21985 /* We use char because int might match the return type of a gcc2
21986 builtin and then its argument prototype would still apply. */
21988 /* The GNU C library defines this for functions which it implements
21989 to always fail with ENOSYS. Some functions are actually named
21990 something starting with __ and the normal name is an alias. */
21991 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21994 char (*f) () = $ac_func;
22003 return f != $ac_func;
22008 rm -f conftest.$ac_objext conftest$ac_exeext
22009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22010 (eval $ac_link) 2>&5
22012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22013 (exit $ac_status); } &&
22014 { ac_try='test -s conftest$ac_exeext'
22015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22016 (eval $ac_try) 2>&5
22018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22019 (exit $ac_status); }; }; then
22020 eval "$as_ac_var=yes"
22022 echo "$as_me: failed program was:" >&5
22023 sed 's/^/| /' conftest.$ac_ext >&5
22025 eval "$as_ac_var=no"
22027 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22031 if test `eval echo '${'$as_ac_var'}'` = yes; then
22032 cat >>confdefs.h <<_ACEOF
22033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22039 echo "$as_me:$LINENO: checking for working mmap" >&5
22040 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
22041 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
22042 echo $ECHO_N "(cached) $ECHO_C" >&6
22044 if test "$cross_compiling" = yes; then
22045 ac_cv_func_mmap_fixed_mapped=no
22047 cat >conftest.$ac_ext <<_ACEOF
22048 #line $LINENO "configure"
22051 cat confdefs.h >>conftest.$ac_ext
22052 cat >>conftest.$ac_ext <<_ACEOF
22053 /* end confdefs.h. */
22054 $ac_includes_default
22055 /* malloc might have been renamed as rpl_malloc. */
22058 /* Thanks to Mike Haertel and Jim Avera for this test.
22059 Here is a matrix of mmap possibilities:
22060 mmap private not fixed
22061 mmap private fixed at somewhere currently unmapped
22062 mmap private fixed at somewhere already mapped
22063 mmap shared not fixed
22064 mmap shared fixed at somewhere currently unmapped
22065 mmap shared fixed at somewhere already mapped
22066 For private mappings, we should verify that changes cannot be read()
22067 back from the file, nor mmap's back from the file at a different
22068 address. (There have been systems where private was not correctly
22069 implemented like the infamous i386 svr4.0, and systems where the
22070 VM page cache was not coherent with the file system buffer cache
22071 like early versions of FreeBSD and possibly contemporary NetBSD.)
22072 For shared mappings, we should conversely verify that changes get
22073 propagated back to all the places they're supposed to be.
22075 Grep wants private fixed already mapped.
22076 The main things grep needs to know about mmap are:
22077 * does it exist and is it safe to write into the mmap'd area
22078 * how to use it (BSD variants) */
22081 #include <sys/mman.h>
22083 #if !STDC_HEADERS && !HAVE_STDLIB_H
22087 /* This mess was copied from the GNU getpagesize.h. */
22088 #if !HAVE_GETPAGESIZE
22089 /* Assume that all systems that can run configure have sys/param.h. */
22090 # if !HAVE_SYS_PARAM_H
22091 # define HAVE_SYS_PARAM_H 1
22094 # ifdef _SC_PAGESIZE
22095 # define getpagesize() sysconf(_SC_PAGESIZE)
22096 # else /* no _SC_PAGESIZE */
22097 # if HAVE_SYS_PARAM_H
22098 # include <sys/param.h>
22099 # ifdef EXEC_PAGESIZE
22100 # define getpagesize() EXEC_PAGESIZE
22101 # else /* no EXEC_PAGESIZE */
22103 # define getpagesize() NBPG * CLSIZE
22106 # endif /* no CLSIZE */
22107 # else /* no NBPG */
22109 # define getpagesize() NBPC
22110 # else /* no NBPC */
22112 # define getpagesize() PAGESIZE
22113 # endif /* PAGESIZE */
22114 # endif /* no NBPC */
22115 # endif /* no NBPG */
22116 # endif /* no EXEC_PAGESIZE */
22117 # else /* no HAVE_SYS_PARAM_H */
22118 # define getpagesize() 8192 /* punt totally */
22119 # endif /* no HAVE_SYS_PARAM_H */
22120 # endif /* no _SC_PAGESIZE */
22122 #endif /* no HAVE_GETPAGESIZE */
22127 char *data, *data2, *data3;
22131 pagesize = getpagesize ();
22133 /* First, make a file with some known garbage in it. */
22134 data = (char *) malloc (pagesize);
22137 for (i = 0; i < pagesize; ++i)
22138 *(data + i) = rand ();
22140 fd = creat ("conftest.mmap", 0600);
22143 if (write (fd, data, pagesize) != pagesize)
22147 /* Next, try to mmap the file at a fixed address which already has
22148 something else allocated at it. If we can, also make sure that
22149 we see the same garbage. */
22150 fd = open ("conftest.mmap", O_RDWR);
22153 data2 = (char *) malloc (2 * pagesize);
22156 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
22157 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22158 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22160 for (i = 0; i < pagesize; ++i)
22161 if (*(data + i) != *(data2 + i))
22164 /* Finally, make sure that changes to the mapped area do not
22165 percolate back to the file as seen by read(). (This is a bug on
22166 some variants of i386 svr4.0.) */
22167 for (i = 0; i < pagesize; ++i)
22168 *(data2 + i) = *(data2 + i) + 1;
22169 data3 = (char *) malloc (pagesize);
22172 if (read (fd, data3, pagesize) != pagesize)
22174 for (i = 0; i < pagesize; ++i)
22175 if (*(data + i) != *(data3 + i))
22181 rm -f conftest$ac_exeext
22182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22183 (eval $ac_link) 2>&5
22185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22186 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22188 (eval $ac_try) 2>&5
22190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22191 (exit $ac_status); }; }; then
22192 ac_cv_func_mmap_fixed_mapped=yes
22194 echo "$as_me: program exited with status $ac_status" >&5
22195 echo "$as_me: failed program was:" >&5
22196 sed 's/^/| /' conftest.$ac_ext >&5
22198 ( exit $ac_status )
22199 ac_cv_func_mmap_fixed_mapped=no
22201 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22204 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22205 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22206 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22208 cat >>confdefs.h <<\_ACEOF
22209 #define HAVE_MMAP 1
22213 rm -f conftest.mmap
22215 echo "$as_me:$LINENO: checking for mmap of files" >&5
22216 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6
22217 if test "${ac_cv_func_mmap_file+set}" = set; then
22218 echo $ECHO_N "(cached) $ECHO_C" >&6
22223 ac_cpp='$CPP $CPPFLAGS'
22224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22228 if test "$cross_compiling" = yes; then
22229 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22230 See \`config.log' for more details." >&5
22231 echo "$as_me: error: cannot run test program while cross compiling
22232 See \`config.log' for more details." >&2;}
22233 { (exit 1); exit 1; }; }
22235 cat >conftest.$ac_ext <<_ACEOF
22236 #line $LINENO "configure"
22239 cat confdefs.h >>conftest.$ac_ext
22240 cat >>conftest.$ac_ext <<_ACEOF
22241 /* end confdefs.h. */
22243 #ifdef HAVE_SYS_MMAN_H
22244 #include <sys/mman.h>
22247 #ifdef HAVE_SYS_TYPES_H
22248 #include <sys/types.h>
22251 #ifdef HAVE_FCNTL_H
22257 fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != MAP_FAILED);}
22259 rm -f conftest$ac_exeext
22260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22261 (eval $ac_link) 2>&5
22263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22264 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22266 (eval $ac_try) 2>&5
22268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22269 (exit $ac_status); }; }; then
22270 ac_cv_func_mmap_file=yes
22272 echo "$as_me: program exited with status $ac_status" >&5
22273 echo "$as_me: failed program was:" >&5
22274 sed 's/^/| /' conftest.$ac_ext >&5
22276 ( exit $ac_status )
22277 ac_cv_func_mmap_file=no
22279 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22282 ac_cpp='$CPP $CPPFLAGS'
22283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22289 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
22290 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
22291 if test "$ac_cv_func_mmap_file" = yes; then
22292 cat >>confdefs.h <<\_ACEOF
22293 #define HAVE_MMAP_FILE 1
22300 if test ${ac_cv_func_mmap_file} = "no"
22302 { { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5
22303 echo "$as_me: error: mmap() of files required but not found" >&2;}
22304 { (exit 1); exit 1; }; }
22306 echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
22307 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6
22308 if test "${ac_cv_header_mmap_anon+set}" = set; then
22309 echo $ECHO_N "(cached) $ECHO_C" >&6
22314 ac_cpp='$CPP $CPPFLAGS'
22315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22319 cat >conftest.$ac_ext <<_ACEOF
22320 #line $LINENO "configure"
22323 cat confdefs.h >>conftest.$ac_ext
22324 cat >>conftest.$ac_ext <<_ACEOF
22325 /* end confdefs.h. */
22326 #include <sys/mman.h>
22327 #include <unistd.h>
22332 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
22337 rm -f conftest.$ac_objext
22338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22339 (eval $ac_compile) 2>&5
22341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22342 (exit $ac_status); } &&
22343 { ac_try='test -s conftest.$ac_objext'
22344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22345 (eval $ac_try) 2>&5
22347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22348 (exit $ac_status); }; }; then
22349 ac_cv_header_mmap_anon=yes
22351 echo "$as_me: failed program was:" >&5
22352 sed 's/^/| /' conftest.$ac_ext >&5
22354 ac_cv_header_mmap_anon=no
22356 rm -f conftest.$ac_objext conftest.$ac_ext
22358 ac_cpp='$CPP $CPPFLAGS'
22359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22365 echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
22366 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6
22367 if test "$ac_cv_header_mmap_anon" = yes; then
22368 cat >>confdefs.h <<\_ACEOF
22369 #define HAVE_MMAP_ANONYMOUS 1
22374 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
22375 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
22376 if test "${ac_cv_type_signal+set}" = set; then
22377 echo $ECHO_N "(cached) $ECHO_C" >&6
22379 cat >conftest.$ac_ext <<_ACEOF
22380 #line $LINENO "configure"
22383 cat confdefs.h >>conftest.$ac_ext
22384 cat >>conftest.$ac_ext <<_ACEOF
22385 /* end confdefs.h. */
22386 #include <sys/types.h>
22387 #include <signal.h>
22392 extern "C" void (*signal (int, void (*)(int)))(int);
22394 void (*signal ()) ();
22405 rm -f conftest.$ac_objext
22406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22407 (eval $ac_compile) 2>&5
22409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22410 (exit $ac_status); } &&
22411 { ac_try='test -s conftest.$ac_objext'
22412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22413 (eval $ac_try) 2>&5
22415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22416 (exit $ac_status); }; }; then
22417 ac_cv_type_signal=void
22419 echo "$as_me: failed program was:" >&5
22420 sed 's/^/| /' conftest.$ac_ext >&5
22422 ac_cv_type_signal=int
22424 rm -f conftest.$ac_objext conftest.$ac_ext
22426 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
22427 echo "${ECHO_T}$ac_cv_type_signal" >&6
22429 cat >>confdefs.h <<_ACEOF
22430 #define RETSIGTYPE $ac_cv_type_signal
22443 for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol
22445 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22446 echo "$as_me:$LINENO: checking for $ac_func" >&5
22447 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22448 if eval "test \"\${$as_ac_var+set}\" = set"; then
22449 echo $ECHO_N "(cached) $ECHO_C" >&6
22451 cat >conftest.$ac_ext <<_ACEOF
22452 #line $LINENO "configure"
22455 cat confdefs.h >>conftest.$ac_ext
22456 cat >>conftest.$ac_ext <<_ACEOF
22457 /* end confdefs.h. */
22458 /* System header to define __stub macros and hopefully few prototypes,
22459 which can conflict with char $ac_func (); below.
22460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22461 <limits.h> exists even on freestanding compilers. */
22463 # include <limits.h>
22465 # include <assert.h>
22467 /* Override any gcc2 internal prototype to avoid an error. */
22472 /* We use char because int might match the return type of a gcc2
22473 builtin and then its argument prototype would still apply. */
22475 /* The GNU C library defines this for functions which it implements
22476 to always fail with ENOSYS. Some functions are actually named
22477 something starting with __ and the normal name is an alias. */
22478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22481 char (*f) () = $ac_func;
22490 return f != $ac_func;
22495 rm -f conftest.$ac_objext conftest$ac_exeext
22496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22497 (eval $ac_link) 2>&5
22499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22500 (exit $ac_status); } &&
22501 { ac_try='test -s conftest$ac_exeext'
22502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22503 (eval $ac_try) 2>&5
22505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22506 (exit $ac_status); }; }; then
22507 eval "$as_ac_var=yes"
22509 echo "$as_me: failed program was:" >&5
22510 sed 's/^/| /' conftest.$ac_ext >&5
22512 eval "$as_ac_var=no"
22514 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22518 if test `eval echo '${'$as_ac_var'}'` = yes; then
22519 cat >>confdefs.h <<_ACEOF
22520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22528 echo "$as_me:$LINENO: checking for mmap" >&5
22529 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
22530 if test "${ac_cv_func_mmap+set}" = set; then
22531 echo $ECHO_N "(cached) $ECHO_C" >&6
22533 cat >conftest.$ac_ext <<_ACEOF
22534 #line $LINENO "configure"
22537 cat confdefs.h >>conftest.$ac_ext
22538 cat >>conftest.$ac_ext <<_ACEOF
22539 /* end confdefs.h. */
22540 /* System header to define __stub macros and hopefully few prototypes,
22541 which can conflict with char mmap (); below.
22542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22543 <limits.h> exists even on freestanding compilers. */
22545 # include <limits.h>
22547 # include <assert.h>
22549 /* Override any gcc2 internal prototype to avoid an error. */
22554 /* We use char because int might match the return type of a gcc2
22555 builtin and then its argument prototype would still apply. */
22557 /* The GNU C library defines this for functions which it implements
22558 to always fail with ENOSYS. Some functions are actually named
22559 something starting with __ and the normal name is an alias. */
22560 #if defined (__stub_mmap) || defined (__stub___mmap)
22563 char (*f) () = mmap;
22577 rm -f conftest.$ac_objext conftest$ac_exeext
22578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22579 (eval $ac_link) 2>&5
22581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22582 (exit $ac_status); } &&
22583 { ac_try='test -s conftest$ac_exeext'
22584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22585 (eval $ac_try) 2>&5
22587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22588 (exit $ac_status); }; }; then
22589 ac_cv_func_mmap=yes
22591 echo "$as_me: failed program was:" >&5
22592 sed 's/^/| /' conftest.$ac_ext >&5
22596 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22598 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
22599 echo "${ECHO_T}$ac_cv_func_mmap" >&6
22600 if test $ac_cv_func_mmap = yes; then
22603 { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5
22604 echo "$as_me: error: Function mmap() required but not found" >&2;}
22605 { (exit 1); exit 1; }; }
22608 echo "$as_me:$LINENO: checking for mprotect" >&5
22609 echo $ECHO_N "checking for mprotect... $ECHO_C" >&6
22610 if test "${ac_cv_func_mprotect+set}" = set; then
22611 echo $ECHO_N "(cached) $ECHO_C" >&6
22613 cat >conftest.$ac_ext <<_ACEOF
22614 #line $LINENO "configure"
22617 cat confdefs.h >>conftest.$ac_ext
22618 cat >>conftest.$ac_ext <<_ACEOF
22619 /* end confdefs.h. */
22620 /* System header to define __stub macros and hopefully few prototypes,
22621 which can conflict with char mprotect (); below.
22622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22623 <limits.h> exists even on freestanding compilers. */
22625 # include <limits.h>
22627 # include <assert.h>
22629 /* Override any gcc2 internal prototype to avoid an error. */
22634 /* We use char because int might match the return type of a gcc2
22635 builtin and then its argument prototype would still apply. */
22637 /* The GNU C library defines this for functions which it implements
22638 to always fail with ENOSYS. Some functions are actually named
22639 something starting with __ and the normal name is an alias. */
22640 #if defined (__stub_mprotect) || defined (__stub___mprotect)
22643 char (*f) () = mprotect;
22652 return f != mprotect;
22657 rm -f conftest.$ac_objext conftest$ac_exeext
22658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22659 (eval $ac_link) 2>&5
22661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22662 (exit $ac_status); } &&
22663 { ac_try='test -s conftest$ac_exeext'
22664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22665 (eval $ac_try) 2>&5
22667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22668 (exit $ac_status); }; }; then
22669 ac_cv_func_mprotect=yes
22671 echo "$as_me: failed program was:" >&5
22672 sed 's/^/| /' conftest.$ac_ext >&5
22674 ac_cv_func_mprotect=no
22676 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22678 echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
22679 echo "${ECHO_T}$ac_cv_func_mprotect" >&6
22680 if test $ac_cv_func_mprotect = yes; then
22683 { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5
22684 echo "$as_me: error: Function mprotect() required but not found" >&2;}
22685 { (exit 1); exit 1; }; }
22690 # Check whether --enable-purify or --disable-purify was given.
22691 if test "${enable_purify+set}" = set; then
22692 enableval="$enable_purify"
22697 if test ${enableval} = "no"
22702 ENABLE_PURIFY=ENABLE_PURIFY=1
22706 # Check whether --enable-optimized or --disable-optimized was given.
22707 if test "${enable_optimized+set}" = set; then
22708 enableval="$enable_optimized"
22713 if test ${enableval} = "no"
22718 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
22722 # Check whether --enable-spec or --disable-spec was given.
22723 if test "${enable_spec+set}" = set; then
22724 enableval="$enable_spec"
22729 if test ${enableval} = "no"
22734 USE_SPEC=USE_SPEC=1
22738 # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given.
22739 if test "${enable_precompiled_bytecode+set}" = set; then
22740 enableval="$enable_precompiled_bytecode"
22745 if test ${enableval} = "no"
22750 UPB=USE_PRECOMPILED_BYTECODE=1
22755 # Check whether --enable-llc_diffs or --disable-llc_diffs was given.
22756 if test "${enable_llc_diffs+set}" = set; then
22757 enableval="$enable_llc_diffs"
22762 if test ${enableval} = "no"
22764 DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1
22771 # Check whether --enable-jit or --disable-jit was given.
22772 if test "${enable_jit+set}" = set; then
22773 enableval="$enable_jit"
22779 if test ${enableval} = "no"
22786 JIT=TARGET_HAS_JIT=1
22790 JIT=TARGET_HAS_JIT=1
22802 # Check whether --with-spec or --without-spec was given.
22803 if test "${with_spec+set}" = set; then
22804 withval="$with_spec"
22808 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22813 # Check whether --with-llvmgccdir or --without-llvmgccdir was given.
22814 if test "${with_llvmgccdir+set}" = set; then
22815 withval="$with_llvmgccdir"
22816 LLVMGCCDIR=$withval
22821 # Check whether --with-bcrepos or --without-bcrepos was given.
22822 if test "${with_bcrepos+set}" = set; then
22823 withval="$with_bcrepos"
22827 BCR=/home/vadve/lattner/LLVMPrograms
22832 # Check whether --with-papi or --without-papi was given.
22833 if test "${with_papi+set}" = set; then
22834 withval="$with_papi"
22838 PAPIDIR=/home/vadve/shared/Sparc/papi-2.3.4.1
22843 # Check whether --with-purify or --without-purify was given.
22844 if test "${with_purify+set}" = set; then
22845 withval="$with_purify"
22851 ac_config_files="$ac_config_files Makefile.config"
22852 cat >confcache <<\_ACEOF
22853 # This file is a shell script that caches the results of configure
22854 # tests run on this system so they can be shared between configure
22855 # scripts and configure runs, see configure's option --config-cache.
22856 # It is not useful on other systems. If it contains results you don't
22857 # want to keep, you may remove or edit it.
22859 # config.status only pays attention to the cache file if you give it
22860 # the --recheck option to rerun configure.
22862 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22863 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22864 # following values.
22868 # The following way of writing the cache mishandles newlines in values,
22869 # but we know of no workaround that is simple, portable, and efficient.
22870 # So, don't put newlines in cache variables' values.
22871 # Ultrix sh set writes to stderr and can't be redirected directly,
22872 # and sets the high bit in the cache file unless we assign to the vars.
22875 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22877 # `set' does not quote correctly, so add quotes (double-quote
22878 # substitution turns \\\\ into \\, and sed turns \\ into \).
22881 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22884 # `set' quotes correctly as required by POSIX, so do not add quotes.
22886 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22893 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22895 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22897 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22898 if test -w $cache_file; then
22899 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22900 cat confcache >$cache_file
22902 echo "not updating unwritable cache $cache_file"
22907 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22908 # Let make expand exec_prefix.
22909 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22911 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22912 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22913 # trailing colons and then remove the whole line if VPATH becomes empty
22914 # (actually we leave an empty line to preserve line numbers).
22915 if test "x$srcdir" = x.; then
22916 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22917 s/:*\$(srcdir):*/:/;
22918 s/:*\${srcdir}:*/:/;
22920 s/^\([^=]*=[ ]*\):*/\1/;
22926 DEFS=-DHAVE_CONFIG_H
22930 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22931 # 1. Remove the extension, and $U if already installed.
22932 ac_i=`echo "$ac_i" |
22933 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22935 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
22936 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
22938 LIBOBJS=$ac_libobjs
22940 LTLIBOBJS=$ac_ltlibobjs
22944 : ${CONFIG_STATUS=./config.status}
22945 ac_clean_files_save=$ac_clean_files
22946 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22947 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22948 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22949 cat >$CONFIG_STATUS <<_ACEOF
22951 # Generated by $as_me.
22952 # Run this file to recreate the current configuration.
22953 # Compiler output produced by configure, useful for debugging
22954 # configure, is in config.log if it exists.
22957 ac_cs_recheck=false
22959 SHELL=\${CONFIG_SHELL-$SHELL}
22962 cat >>$CONFIG_STATUS <<\_ACEOF
22963 ## --------------------- ##
22964 ## M4sh Initialization. ##
22965 ## --------------------- ##
22967 # Be Bourne compatible
22968 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22971 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22972 # is contrary to our usage. Disable this feature.
22973 alias -g '${1+"$@"}'='"$@"'
22974 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22978 # Support unset when possible.
22979 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
22986 # Work around bugs in pre-3.0 UWIN ksh.
22987 $as_unset ENV MAIL MAILPATH
22994 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22995 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22996 LC_TELEPHONE LC_TIME
22998 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
22999 eval $as_var=C; export $as_var
23005 # Required to use basename.
23006 if expr a : '\(a\)' >/dev/null 2>&1; then
23012 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
23013 as_basename=basename
23019 # Name of the executable.
23020 as_me=`$as_basename "$0" ||
23021 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23022 X"$0" : 'X\(//\)$' \| \
23023 X"$0" : 'X\(/\)$' \| \
23024 . : '\(.\)' 2>/dev/null ||
23026 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23027 /^X\/\(\/\/\)$/{ s//\1/; q; }
23028 /^X\/\(\/\).*/{ s//\1/; q; }
23032 # PATH needs CR, and LINENO needs CR and PATH.
23033 # Avoid depending upon Character Ranges.
23034 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23035 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23036 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23037 as_cr_digits='0123456789'
23038 as_cr_alnum=$as_cr_Letters$as_cr_digits
23040 # The user is always right.
23041 if test "${PATH_SEPARATOR+set}" != set; then
23042 echo "#! /bin/sh" >conf$$.sh
23043 echo "exit 0" >>conf$$.sh
23045 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23054 as_lineno_1=$LINENO
23055 as_lineno_2=$LINENO
23056 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23057 test "x$as_lineno_1" != "x$as_lineno_2" &&
23058 test "x$as_lineno_3" = "x$as_lineno_2" || {
23059 # Find who we are. Look in the path if we contain no path at all
23062 *[\\/]* ) as_myself=$0 ;;
23063 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23064 for as_dir in $PATH
23067 test -z "$as_dir" && as_dir=.
23068 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23073 # We did not find ourselves, most probably we were run as `sh COMMAND'
23074 # in which case we are not to be found in the path.
23075 if test "x$as_myself" = x; then
23078 if test ! -f "$as_myself"; then
23079 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23080 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23081 { (exit 1); exit 1; }; }
23083 case $CONFIG_SHELL in
23085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23086 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
23089 test -z "$as_dir" && as_dir=.
23090 for as_base in sh bash ksh sh5; do
23093 if ("$as_dir/$as_base" -c '
23094 as_lineno_1=$LINENO
23095 as_lineno_2=$LINENO
23096 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23097 test "x$as_lineno_1" != "x$as_lineno_2" &&
23098 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
23099 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23100 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23101 CONFIG_SHELL=$as_dir/$as_base
23102 export CONFIG_SHELL
23103 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23111 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23112 # uniformly replaced by the line number. The first 'sed' inserts a
23113 # line-number line before each line; the second 'sed' does the real
23114 # work. The second script uses 'N' to pair each line-number line
23115 # with the numbered line, and appends trailing '-' during
23116 # substitution so that $LINENO is not a special case at line end.
23117 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23118 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23119 sed '=' <$as_myself |
23124 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23127 s,^['$as_cr_digits']*\n,,
23128 ' >$as_me.lineno &&
23129 chmod +x $as_me.lineno ||
23130 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23131 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23132 { (exit 1); exit 1; }; }
23134 # Don't try to exec as it changes $[0], causing all sort of problems
23135 # (the dirname of $[0] is not the place where we might find the
23136 # original and so on. Autoconf is especially sensible to this).
23138 # Exit status is that of the last command.
23143 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23144 *c*,-n*) ECHO_N= ECHO_C='
23146 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23147 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23150 if expr a : '\(a\)' >/dev/null 2>&1; then
23156 rm -f conf$$ conf$$.exe conf$$.file
23158 if ln -s conf$$.file conf$$ 2>/dev/null; then
23159 # We could just check for DJGPP; but this test a) works b) is more generic
23160 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23161 if test -f conf$$.exe; then
23162 # Don't use ln at all; we don't have any links
23167 elif ln conf$$.file conf$$ 2>/dev/null; then
23172 rm -f conf$$ conf$$.exe conf$$.file
23174 if mkdir -p . 2>/dev/null; then
23180 as_executable_p="test -f"
23182 # Sed expression to map a string onto a valid CPP name.
23183 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23185 # Sed expression to map a string onto a valid variable name.
23186 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
23190 # We need space, tab and new line, in precisely that order.
23200 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23201 # report actual input values of CONFIG_FILES etc. instead of their
23202 # values after options handling. Logging --version etc. is OK.
23206 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23207 ## Running $as_me. ##
23212 This file was extended by [LLVM] $as_me [1.0], which was
23213 generated by GNU Autoconf 2.57. Invocation command line was
23215 CONFIG_FILES = $CONFIG_FILES
23216 CONFIG_HEADERS = $CONFIG_HEADERS
23217 CONFIG_LINKS = $CONFIG_LINKS
23218 CONFIG_COMMANDS = $CONFIG_COMMANDS
23222 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23226 # Files that config.status was made for.
23227 if test -n "$ac_config_files"; then
23228 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23231 if test -n "$ac_config_headers"; then
23232 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23235 if test -n "$ac_config_links"; then
23236 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23239 if test -n "$ac_config_commands"; then
23240 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23243 cat >>$CONFIG_STATUS <<\_ACEOF
23246 \`$as_me' instantiates files from templates according to the
23247 current configuration.
23249 Usage: $0 [OPTIONS] [FILE]...
23251 -h, --help print this help, then exit
23252 -V, --version print version number, then exit
23253 -q, --quiet do not print progress messages
23254 -d, --debug don't remove temporary files
23255 --recheck update $as_me by reconfiguring in the same conditions
23256 --file=FILE[:TEMPLATE]
23257 instantiate the configuration file FILE
23258 --header=FILE[:TEMPLATE]
23259 instantiate the configuration header FILE
23261 Configuration files:
23264 Configuration headers:
23267 Configuration commands:
23270 Report bugs to <bug-autoconf@gnu.org>."
23273 cat >>$CONFIG_STATUS <<_ACEOF
23275 [LLVM] config.status [1.0]
23276 configured by $0, generated by GNU Autoconf 2.57,
23277 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23279 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
23280 Free Software Foundation, Inc.
23281 This config.status script is free software; the Free Software Foundation
23282 gives unlimited permission to copy, distribute and modify it."
23287 cat >>$CONFIG_STATUS <<\_ACEOF
23288 # If no file are specified by the user, then we need to provide default
23289 # value. By we need to know if files were specified by the user.
23295 ac_option=`expr "x$1" : 'x\([^=]*\)='`
23296 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23304 *) # This is not an option, so the user has probably given explicit
23307 ac_need_defaults=false;;
23311 # Handling of the options.
23313 cat >>$CONFIG_STATUS <<\_ACEOF
23314 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23316 --version | --vers* | -V )
23317 echo "$ac_cs_version"; exit 0 ;;
23319 # Conflict between --help and --header
23320 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23321 Try \`$0 --help' for more information." >&5
23322 echo "$as_me: error: ambiguous option: $1
23323 Try \`$0 --help' for more information." >&2;}
23324 { (exit 1); exit 1; }; };;
23325 --help | --hel | -h )
23326 echo "$ac_cs_usage"; exit 0 ;;
23327 --debug | --d* | -d )
23329 --file | --fil | --fi | --f )
23331 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23332 ac_need_defaults=false;;
23333 --header | --heade | --head | --hea )
23335 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23336 ac_need_defaults=false;;
23337 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23338 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23341 # This is an error.
23342 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23343 Try \`$0 --help' for more information." >&5
23344 echo "$as_me: error: unrecognized option: $1
23345 Try \`$0 --help' for more information." >&2;}
23346 { (exit 1); exit 1; }; } ;;
23348 *) ac_config_targets="$ac_config_targets $1" ;;
23354 ac_configure_extra_args=
23356 if $ac_cs_silent; then
23358 ac_configure_extra_args="$ac_configure_extra_args --silent"
23362 cat >>$CONFIG_STATUS <<_ACEOF
23363 if \$ac_cs_recheck; then
23364 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23365 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23370 cat >>$CONFIG_STATUS <<_ACEOF
23372 # INIT-COMMANDS section.
23375 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
23376 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common`
23377 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.rules`
23378 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
23379 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/Makefile`
23380 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/DataStructure/Makefile`
23381 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/IPA/Makefile`
23382 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/LiveVar/Makefile`
23383 ${srcdir}/autoconf/mkinstalldirs `dirname lib/AsmParser/Makefile`
23384 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Makefile`
23385 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Reader/Makefile`
23386 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Writer/Makefile`
23387 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CWriter/Makefile`
23388 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/Makefile`
23389 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSched/Makefile`
23390 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSelection/Makefile`
23391 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/ModuloScheduling/Makefile`
23392 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/RegAlloc/Makefile`
23393 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/SelectionDAG/Makefile`
23394 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Makefile`
23395 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Interpreter/Makefile`
23396 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/JIT/Makefile`
23397 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Support/Makefile`
23398 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Makefile`
23399 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Sparc/Makefile`
23400 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/X86/Makefile`
23401 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Makefile`
23402 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Hello/Makefile`
23403 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/IPO/Makefile`
23404 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/Makefile`
23405 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/ProfilePaths/Makefile`
23406 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Scalar/Makefile`
23407 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Utils/Makefile`
23408 ${srcdir}/autoconf/mkinstalldirs `dirname lib/VMCore/Makefile`
23409 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile`
23410 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/Makefile`
23411 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/crtend/Makefile`
23412 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libc/Makefile`
23413 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libcurses/Makefile`
23414 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libg/Makefile`
23415 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libgcc/Makefile`
23416 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libm/Makefile`
23417 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libmalloc/Makefile`
23418 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libtermcap/Makefile`
23419 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libucb/Makefile`
23420 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutempter/Makefile`
23421 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutil/Makefile`
23422 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libdummy/Makefile`
23423 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libtrace/Makefile`
23424 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile`
23425 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests`
23426 ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTestDB/QMTest/llvm.py`
23427 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile`
23428 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.programs`
23429 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.Makefile`
23430 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.report`
23431 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.report`
23432 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.report`
23433 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.example.Makefile`
23434 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.Makefile`
23435 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.buildrepo.Makefile`
23436 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.Makefile`
23437 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.report`
23438 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.Makefile`
23439 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.report`
23440 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.typesafe.Makefile`
23441 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.gnuplot`
23442 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.Makefile`
23443 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/Makefile`
23444 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile`
23445 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile.spec`
23446 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/Makefile`
23447 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/179.art/Makefile`
23448 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/183.equake/Makefile`
23449 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/188.ammp/Makefile`
23450 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/Makefile`
23451 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/164.gzip/Makefile`
23452 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/175.vpr/Makefile`
23453 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/176.gcc/Makefile`
23454 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/181.mcf/Makefile`
23455 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/186.crafty/Makefile`
23456 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/197.parser/Makefile`
23457 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/254.gap/Makefile`
23458 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/255.vortex/Makefile`
23459 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile`
23460 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/300.twolf/Makefile`
23461 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/LLVMSource/Makefile`
23462 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile`
23463 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile.multisrc`
23464 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Makefile`
23465 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Burg/Makefile`
23466 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/aha/Makefile`
23467 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/sgefa/Makefile`
23468 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Makefile`
23469 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile`
23470 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/Makefile`
23471 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile`
23472 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile`
23473 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile`
23474 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile`
23475 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile`
23476 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile`
23477 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile`
23478 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile`
23479 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile`
23480 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile`
23481 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/Makefile`
23482 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile`
23483 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile`
23484 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile`
23485 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/health/Makefile`
23486 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile`
23487 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile`
23488 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/power/Makefile`
23489 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile`
23490 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile`
23491 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile`
23492 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile`
23493 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile`
23494 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile`
23495 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile`
23496 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile`
23497 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile`
23498 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile`
23499 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile`
23500 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/sim/Makefile`
23501 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Makefile`
23502 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Flex/Makefile`
23503 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Larn/Makefile`
23504 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Moria-5.5.2/Makefile`
23505 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Povray31/Makefile`
23506 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/m4/Makefile`
23507 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile`
23508 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile.singlesrc`
23509 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Gizmos/Makefile`
23510 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Makefile`
23511 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile`
23512 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Shootout/Makefile`
23513 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Stanford/Makefile`
23514 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Misc/Makefile`
23515 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/CustomChecked/Makefile`
23516 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/Makefile`
23517 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile`
23518 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/Makefile`
23519 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C/Makefile`
23520 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/Makefile`
23521 ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
23522 ${srcdir}/autoconf/mkinstalldirs `dirname tools/analyze/Makefile`
23523 ${srcdir}/autoconf/mkinstalldirs `dirname tools/bugpoint/Makefile`
23524 ${srcdir}/autoconf/mkinstalldirs `dirname tools/extract/Makefile`
23525 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccas/Makefile`
23526 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccld/Makefile`
23527 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llc/Makefile`
23528 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llee/Makefile`
23529 ${srcdir}/autoconf/mkinstalldirs `dirname tools/lli/Makefile`
23530 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-ar/Makefile`
23531 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-as/Makefile`
23532 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-dis/Makefile`
23533 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-link/Makefile`
23534 ${srcdir}/autoconf/mkinstalldirs `dirname tools/opt/Makefile`
23535 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Makefile`
23536 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Makefile`
23537 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Doc/Makefile`
23538 ${srcdir}/autoconf/mkinstalldirs `dirname utils/TableGen/Makefile`
23539 ${srcdir}/autoconf/mkinstalldirs `dirname www/docs/Makefile`
23540 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile`
23541 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile`
23542 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.common`
23543 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.config`
23544 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/Makefile`
23545 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/sample/Makefile`
23546 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/Makefile`
23547 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/sample/Makefile`
23548 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile`
23549 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile.common`
23550 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/Makefile`
23551 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/ModuleMaker/Makefile`
23557 cat >>$CONFIG_STATUS <<\_ACEOF
23558 for ac_config_target in $ac_config_targets
23560 case "$ac_config_target" in
23561 # Handling of arguments.
23562 "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
23563 "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23564 "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;;
23565 "Makefile.rules" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.rules" ;;
23566 "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
23567 "lib/Analysis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/Makefile" ;;
23568 "lib/Analysis/DataStructure/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/DataStructure/Makefile" ;;
23569 "lib/Analysis/IPA/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/IPA/Makefile" ;;
23570 "lib/Analysis/LiveVar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/LiveVar/Makefile" ;;
23571 "lib/AsmParser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/AsmParser/Makefile" ;;
23572 "lib/Bytecode/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Makefile" ;;
23573 "lib/Bytecode/Reader/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Reader/Makefile" ;;
23574 "lib/Bytecode/Writer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Writer/Makefile" ;;
23575 "lib/CWriter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CWriter/Makefile" ;;
23576 "lib/CodeGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/Makefile" ;;
23577 "lib/CodeGen/InstrSched/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSched/Makefile" ;;
23578 "lib/CodeGen/InstrSelection/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSelection/Makefile" ;;
23579 "lib/CodeGen/ModuloScheduling/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/ModuloScheduling/Makefile" ;;
23580 "lib/CodeGen/RegAlloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/RegAlloc/Makefile" ;;
23581 "lib/CodeGen/SelectionDAG/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/SelectionDAG/Makefile" ;;
23582 "lib/ExecutionEngine/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Makefile" ;;
23583 "lib/ExecutionEngine/Interpreter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Interpreter/Makefile" ;;
23584 "lib/ExecutionEngine/JIT/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/JIT/Makefile" ;;
23585 "lib/Support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Support/Makefile" ;;
23586 "lib/Target/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Makefile" ;;
23587 "lib/Target/Sparc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Sparc/Makefile" ;;
23588 "lib/Target/X86/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/X86/Makefile" ;;
23589 "lib/Transforms/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Makefile" ;;
23590 "lib/Transforms/Hello/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Hello/Makefile" ;;
23591 "lib/Transforms/IPO/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/IPO/Makefile" ;;
23592 "lib/Transforms/Instrumentation/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/Makefile" ;;
23593 "lib/Transforms/Instrumentation/ProfilePaths/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/ProfilePaths/Makefile" ;;
23594 "lib/Transforms/Scalar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Scalar/Makefile" ;;
23595 "lib/Transforms/Utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Utils/Makefile" ;;
23596 "lib/VMCore/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/VMCore/Makefile" ;;
23597 "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;;
23598 "runtime/GCCLibraries/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/Makefile" ;;
23599 "runtime/GCCLibraries/crtend/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/crtend/Makefile" ;;
23600 "runtime/GCCLibraries/libc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libc/Makefile" ;;
23601 "runtime/GCCLibraries/libcurses/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libcurses/Makefile" ;;
23602 "runtime/GCCLibraries/libg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libg/Makefile" ;;
23603 "runtime/GCCLibraries/libgcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libgcc/Makefile" ;;
23604 "runtime/GCCLibraries/libm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libm/Makefile" ;;
23605 "runtime/GCCLibraries/libmalloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libmalloc/Makefile" ;;
23606 "runtime/GCCLibraries/libtermcap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libtermcap/Makefile" ;;
23607 "runtime/GCCLibraries/libucb/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libucb/Makefile" ;;
23608 "runtime/GCCLibraries/libutempter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutempter/Makefile" ;;
23609 "runtime/GCCLibraries/libutil/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutil/Makefile" ;;
23610 "runtime/libdummy/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libdummy/Makefile" ;;
23611 "runtime/libtrace/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libtrace/Makefile" ;;
23612 "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;;
23613 "test/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile.tests" ;;
23614 "test/QMTestDB/QMTest/llvm.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTestDB/QMTest/llvm.py" ;;
23615 "test/Programs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile" ;;
23616 "test/Programs/Makefile.programs" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.programs" ;;
23617 "test/Programs/TEST.aa.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.Makefile" ;;
23618 "test/Programs/TEST.dsgraph.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.report" ;;
23619 "test/Programs/TEST.micro.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.report" ;;
23620 "test/Programs/TEST.aa.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.report" ;;
23621 "test/Programs/TEST.example.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.example.Makefile" ;;
23622 "test/Programs/TEST.nightly.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.Makefile" ;;
23623 "test/Programs/TEST.buildrepo.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.buildrepo.Makefile" ;;
23624 "test/Programs/TEST.jit.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.Makefile" ;;
23625 "test/Programs/TEST.nightly.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.report" ;;
23626 "test/Programs/TEST.dsgraph.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.Makefile" ;;
23627 "test/Programs/TEST.jit.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.report" ;;
23628 "test/Programs/TEST.typesafe.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.typesafe.Makefile" ;;
23629 "test/Programs/TEST.dsgraph.gnuplot" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.gnuplot" ;;
23630 "test/Programs/TEST.micro.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.Makefile" ;;
23631 "test/Programs/External/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/Makefile" ;;
23632 "test/Programs/External/SPEC/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile" ;;
23633 "test/Programs/External/SPEC/Makefile.spec" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile.spec" ;;
23634 "test/Programs/External/SPEC/CFP2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/Makefile" ;;
23635 "test/Programs/External/SPEC/CFP2000/179.art/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/179.art/Makefile" ;;
23636 "test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ;;
23637 "test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ;;
23638 "test/Programs/External/SPEC/CINT2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/Makefile" ;;
23639 "test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ;;
23640 "test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ;;
23641 "test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ;;
23642 "test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ;;
23643 "test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ;;
23644 "test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ;;
23645 "test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ;;
23646 "test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ;;
23647 "test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ;;
23648 "test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ;;
23649 "test/Programs/LLVMSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/LLVMSource/Makefile" ;;
23650 "test/Programs/MultiSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile" ;;
23651 "test/Programs/MultiSource/Makefile.multisrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile.multisrc" ;;
23652 "test/Programs/MultiSource/Applications/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Makefile" ;;
23653 "test/Programs/MultiSource/Applications/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Burg/Makefile" ;;
23654 "test/Programs/MultiSource/Applications/aha/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/aha/Makefile" ;;
23655 "test/Programs/MultiSource/Applications/sgefa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/sgefa/Makefile" ;;
23656 "test/Programs/MultiSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Makefile" ;;
23657 "test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ;;
23658 "test/Programs/MultiSource/Benchmarks/McCat/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/Makefile" ;;
23659 "test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ;;
23660 "test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ;;
23661 "test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ;;
23662 "test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ;;
23663 "test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ;;
23664 "test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ;;
23665 "test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ;;
23666 "test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ;;
23667 "test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ;;
23668 "test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ;;
23669 "test/Programs/MultiSource/Benchmarks/Olden/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/Makefile" ;;
23670 "test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ;;
23671 "test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ;;
23672 "test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ;;
23673 "test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ;;
23674 "test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ;;
23675 "test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ;;
23676 "test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ;;
23677 "test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ;;
23678 "test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ;;
23679 "test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ;;
23680 "test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ;;
23681 "test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ;;
23682 "test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ;;
23683 "test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ;;
23684 "test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ;;
23685 "test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ;;
23686 "test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ;;
23687 "test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ;;
23688 "test/Programs/MultiSource/Benchmarks/sim/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/sim/Makefile" ;;
23689 "test/Programs/NoSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Makefile" ;;
23690 "test/Programs/NoSource/Flex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Flex/Makefile" ;;
23691 "test/Programs/NoSource/Larn/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Larn/Makefile" ;;
23692 "test/Programs/NoSource/Moria-5.5.2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Moria-5.5.2/Makefile" ;;
23693 "test/Programs/NoSource/Povray31/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Povray31/Makefile" ;;
23694 "test/Programs/NoSource/m4/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/m4/Makefile" ;;
23695 "test/Programs/SingleSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile" ;;
23696 "test/Programs/SingleSource/Makefile.singlesrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile.singlesrc" ;;
23697 "test/Programs/SingleSource/Gizmos/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Gizmos/Makefile" ;;
23698 "test/Programs/SingleSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Makefile" ;;
23699 "test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ;;
23700 "test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ;;
23701 "test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ;;
23702 "test/Programs/SingleSource/Benchmarks/Misc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Misc/Makefile" ;;
23703 "test/Programs/SingleSource/CustomChecked/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/CustomChecked/Makefile" ;;
23704 "test/Programs/SingleSource/UnitTests/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/Makefile" ;;
23705 "test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ;;
23706 "test/Programs/SingleSource/Regression/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/Makefile" ;;
23707 "test/Programs/SingleSource/Regression/C/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C/Makefile" ;;
23708 "test/Programs/SingleSource/Regression/C++/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/Makefile" ;;
23709 "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
23710 "tools/analyze/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/analyze/Makefile" ;;
23711 "tools/bugpoint/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/bugpoint/Makefile" ;;
23712 "tools/extract/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/extract/Makefile" ;;
23713 "tools/gccas/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccas/Makefile" ;;
23714 "tools/gccld/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccld/Makefile" ;;
23715 "tools/llc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llc/Makefile" ;;
23716 "tools/llee/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llee/Makefile" ;;
23717 "tools/lli/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/lli/Makefile" ;;
23718 "tools/llvm-ar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-ar/Makefile" ;;
23719 "tools/llvm-as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-as/Makefile" ;;
23720 "tools/llvm-dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-dis/Makefile" ;;
23721 "tools/llvm-link/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-link/Makefile" ;;
23722 "tools/opt/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/opt/Makefile" ;;
23723 "utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Makefile" ;;
23724 "utils/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Makefile" ;;
23725 "utils/Burg/Doc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Doc/Makefile" ;;
23726 "utils/TableGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/TableGen/Makefile" ;;
23727 "www/docs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS www/docs/Makefile" ;;
23728 "projects/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Makefile" ;;
23729 "projects/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile" ;;
23730 "projects/sample/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.common" ;;
23731 "projects/sample/Makefile.config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.config" ;;
23732 "projects/sample/lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/Makefile" ;;
23733 "projects/sample/lib/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/sample/Makefile" ;;
23734 "projects/sample/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/Makefile" ;;
23735 "projects/sample/tools/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/sample/Makefile" ;;
23736 "projects/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile" ;;
23737 "projects/ModuleMaker/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile.common" ;;
23738 "projects/ModuleMaker/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/Makefile" ;;
23739 "projects/ModuleMaker/tools/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/ModuleMaker/Makefile" ;;
23740 "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;;
23741 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23742 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23743 { (exit 1); exit 1; }; };;
23747 # If the user did not use the arguments to specify the items to instantiate,
23748 # then the envvar interface is used. Set only those that are not.
23749 # We use the long form for the default assignment because of an extremely
23750 # bizarre bug on SunOS 4.1.3.
23751 if $ac_need_defaults; then
23752 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23753 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23754 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23757 # Have a temporary directory for convenience. Make it in the build tree
23758 # simply because there is no reason to put it here, and in addition,
23759 # creating and moving files from /tmp can sometimes cause problems.
23760 # Create a temporary directory, and hook for its removal unless debugging.
23763 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23764 trap '{ (exit 1); exit 1; }' 1 2 13 15
23767 # Create a (secure) tmp directory for tmp files.
23770 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23771 test -n "$tmp" && test -d "$tmp"
23774 tmp=./confstat$$-$RANDOM
23775 (umask 077 && mkdir $tmp)
23778 echo "$me: cannot create a temporary directory in ." >&2
23779 { (exit 1); exit 1; }
23784 cat >>$CONFIG_STATUS <<_ACEOF
23787 # CONFIG_FILES section.
23790 # No need to generate the scripts if there are no CONFIG_FILES.
23791 # This happens for instance when ./config.status config.h
23792 if test -n "\$CONFIG_FILES"; then
23793 # Protect against being on the right side of a sed subst in config.status.
23794 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23795 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23796 s,@SHELL@,$SHELL,;t t
23797 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23798 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23799 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23800 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23801 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23802 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23803 s,@exec_prefix@,$exec_prefix,;t t
23804 s,@prefix@,$prefix,;t t
23805 s,@program_transform_name@,$program_transform_name,;t t
23806 s,@bindir@,$bindir,;t t
23807 s,@sbindir@,$sbindir,;t t
23808 s,@libexecdir@,$libexecdir,;t t
23809 s,@datadir@,$datadir,;t t
23810 s,@sysconfdir@,$sysconfdir,;t t
23811 s,@sharedstatedir@,$sharedstatedir,;t t
23812 s,@localstatedir@,$localstatedir,;t t
23813 s,@libdir@,$libdir,;t t
23814 s,@includedir@,$includedir,;t t
23815 s,@oldincludedir@,$oldincludedir,;t t
23816 s,@infodir@,$infodir,;t t
23817 s,@mandir@,$mandir,;t t
23818 s,@build_alias@,$build_alias,;t t
23819 s,@host_alias@,$host_alias,;t t
23820 s,@target_alias@,$target_alias,;t t
23821 s,@DEFS@,$DEFS,;t t
23822 s,@ECHO_C@,$ECHO_C,;t t
23823 s,@ECHO_N@,$ECHO_N,;t t
23824 s,@ECHO_T@,$ECHO_T,;t t
23825 s,@LIBS@,$LIBS,;t t
23826 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23827 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23828 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23829 s,@build@,$build,;t t
23830 s,@build_cpu@,$build_cpu,;t t
23831 s,@build_vendor@,$build_vendor,;t t
23832 s,@build_os@,$build_os,;t t
23833 s,@host@,$host,;t t
23834 s,@host_cpu@,$host_cpu,;t t
23835 s,@host_vendor@,$host_vendor,;t t
23836 s,@host_os@,$host_os,;t t
23837 s,@target@,$target,;t t
23838 s,@target_cpu@,$target_cpu,;t t
23839 s,@target_vendor@,$target_vendor,;t t
23840 s,@target_os@,$target_os,;t t
23842 s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t
23843 s,@ARCH@,$ARCH,;t t
23845 s,@CXXFLAGS@,$CXXFLAGS,;t t
23846 s,@LDFLAGS@,$LDFLAGS,;t t
23847 s,@CPPFLAGS@,$CPPFLAGS,;t t
23848 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
23849 s,@EXEEXT@,$EXEEXT,;t t
23850 s,@OBJEXT@,$OBJEXT,;t t
23852 s,@CFLAGS@,$CFLAGS,;t t
23853 s,@ac_ct_CC@,$ac_ct_CC,;t t
23855 s,@ifGNUmake@,$ifGNUmake,;t t
23857 s,@LEXLIB@,$LEXLIB,;t t
23858 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
23859 s,@YACC@,$YACC,;t t
23860 s,@EGREP@,$EGREP,;t t
23861 s,@LN_S@,$LN_S,;t t
23862 s,@ECHO@,$ECHO,;t t
23864 s,@ac_ct_AR@,$ac_ct_AR,;t t
23865 s,@RANLIB@,$RANLIB,;t t
23866 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23867 s,@STRIP@,$STRIP,;t t
23868 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23869 s,@CXXCPP@,$CXXCPP,;t t
23871 s,@FFLAGS@,$FFLAGS,;t t
23872 s,@ac_ct_F77@,$ac_ct_F77,;t t
23873 s,@LIBTOOL@,$LIBTOOL,;t t
23874 s,@RPWD@,$RPWD,;t t
23877 s,@MKDIR@,$MKDIR,;t t
23878 s,@DATE@,$DATE,;t t
23881 s,@ETAGS@,$ETAGS,;t t
23882 s,@PURIFY@,$PURIFY,;t t
23883 s,@PYTHON@,$PYTHON,;t t
23884 s,@QMTEST@,$QMTEST,;t t
23885 s,@ALLOCA@,$ALLOCA,;t t
23886 s,@LIBOBJS@,$LIBOBJS,;t t
23887 s,@MMAP_FILE@,$MMAP_FILE,;t t
23888 s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t
23889 s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t
23890 s,@USE_SPEC@,$USE_SPEC,;t t
23892 s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t
23894 s,@SPEC_ROOT@,$SPEC_ROOT,;t t
23896 s,@PAPIDIR@,$PAPIDIR,;t t
23897 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23902 cat >>$CONFIG_STATUS <<\_ACEOF
23903 # Split the substitutions into bite-sized pieces for seds with
23904 # small command number limits, like on Digital OSF/1 and HP-UX.
23905 ac_max_sed_lines=48
23906 ac_sed_frag=1 # Number of current file.
23907 ac_beg=1 # First line for current file.
23908 ac_end=$ac_max_sed_lines # Line after last line for current file.
23911 while $ac_more_lines; do
23912 if test $ac_beg -gt 1; then
23913 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23915 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23917 if test ! -s $tmp/subs.frag; then
23918 ac_more_lines=false
23920 # The purpose of the label and of the branching condition is to
23921 # speed up the sed processing (if there are no `@' at all, there
23922 # is no need to browse any of the substitutions).
23923 # These are the two extra sed commands mentioned above.
23925 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23926 if test -z "$ac_sed_cmds"; then
23927 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
23929 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23931 ac_sed_frag=`expr $ac_sed_frag + 1`
23933 ac_end=`expr $ac_end + $ac_max_sed_lines`
23936 if test -z "$ac_sed_cmds"; then
23939 fi # test -n "$CONFIG_FILES"
23942 cat >>$CONFIG_STATUS <<\_ACEOF
23943 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23944 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23946 - | *:- | *:-:* ) # input from stdin
23948 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23949 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23950 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23951 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23952 * ) ac_file_in=$ac_file.in ;;
23955 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23956 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23957 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23958 X"$ac_file" : 'X\(//\)[^/]' \| \
23959 X"$ac_file" : 'X\(//\)$' \| \
23960 X"$ac_file" : 'X\(/\)' \| \
23961 . : '\(.\)' 2>/dev/null ||
23963 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23964 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23965 /^X\(\/\/\)$/{ s//\1/; q; }
23966 /^X\(\/\).*/{ s//\1/; q; }
23968 { if $as_mkdir_p; then
23973 while test ! -d "$as_dir"; do
23974 as_dirs="$as_dir $as_dirs"
23975 as_dir=`(dirname "$as_dir") 2>/dev/null ||
23976 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23977 X"$as_dir" : 'X\(//\)[^/]' \| \
23978 X"$as_dir" : 'X\(//\)$' \| \
23979 X"$as_dir" : 'X\(/\)' \| \
23980 . : '\(.\)' 2>/dev/null ||
23982 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23983 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23984 /^X\(\/\/\)$/{ s//\1/; q; }
23985 /^X\(\/\).*/{ s//\1/; q; }
23988 test ! -n "$as_dirs" || mkdir $as_dirs
23989 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23990 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23991 { (exit 1); exit 1; }; }; }
23995 if test "$ac_dir" != .; then
23996 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23997 # A "../" for each directory in $ac_dir_suffix.
23998 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24000 ac_dir_suffix= ac_top_builddir=
24004 .) # No --srcdir option. We are building in place.
24006 if test -z "$ac_top_builddir"; then
24009 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24011 [\\/]* | ?:[\\/]* ) # Absolute path.
24012 ac_srcdir=$srcdir$ac_dir_suffix;
24013 ac_top_srcdir=$srcdir ;;
24014 *) # Relative path.
24015 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24016 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24018 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24020 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24021 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24022 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24023 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24027 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24028 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
24031 if test x"$ac_file" != x-; then
24032 { echo "$as_me:$LINENO: creating $ac_file" >&5
24033 echo "$as_me: creating $ac_file" >&6;}
24036 # Let's still pretend it is `configure' which instantiates (i.e., don't
24037 # use $as_me), people would be surprised to read:
24038 # /* config.h. Generated by config.status. */
24039 if test x"$ac_file" = x-; then
24042 configure_input="$ac_file. "
24044 configure_input=$configure_input"Generated from `echo $ac_file_in |
24045 sed 's,.*/,,'` by configure."
24047 # First look for the input files in the build tree, otherwise in the
24049 ac_file_inputs=`IFS=:
24050 for f in $ac_file_in; do
24052 -) echo $tmp/stdin ;;
24054 # Absolute (can't be DOS-style, as IFS=:)
24055 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24056 echo "$as_me: error: cannot find input file: $f" >&2;}
24057 { (exit 1); exit 1; }; }
24060 if test -f "$f"; then
24063 elif test -f "$srcdir/$f"; then
24068 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24069 echo "$as_me: error: cannot find input file: $f" >&2;}
24070 { (exit 1); exit 1; }; }
24073 done` || { (exit 1); exit 1; }
24075 cat >>$CONFIG_STATUS <<_ACEOF
24079 cat >>$CONFIG_STATUS <<\_ACEOF
24081 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24082 s,@configure_input@,$configure_input,;t t
24083 s,@srcdir@,$ac_srcdir,;t t
24084 s,@abs_srcdir@,$ac_abs_srcdir,;t t
24085 s,@top_srcdir@,$ac_top_srcdir,;t t
24086 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
24087 s,@builddir@,$ac_builddir,;t t
24088 s,@abs_builddir@,$ac_abs_builddir,;t t
24089 s,@top_builddir@,$ac_top_builddir,;t t
24090 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
24091 s,@INSTALL@,$ac_INSTALL,;t t
24092 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24094 if test x"$ac_file" != x-; then
24095 mv $tmp/out $ac_file
24103 cat >>$CONFIG_STATUS <<\_ACEOF
24106 # CONFIG_HEADER section.
24109 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24110 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24112 # ac_d sets the value in "#define NAME VALUE" lines.
24113 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24114 ac_dB='[ ].*$,\1#\2'
24117 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24118 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24119 ac_uB='$,\1#\2define\3'
24123 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24124 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24126 - | *:- | *:-:* ) # input from stdin
24128 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24129 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24130 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24131 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24132 * ) ac_file_in=$ac_file.in ;;
24135 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24136 echo "$as_me: creating $ac_file" >&6;}
24138 # First look for the input files in the build tree, otherwise in the
24140 ac_file_inputs=`IFS=:
24141 for f in $ac_file_in; do
24143 -) echo $tmp/stdin ;;
24145 # Absolute (can't be DOS-style, as IFS=:)
24146 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24147 echo "$as_me: error: cannot find input file: $f" >&2;}
24148 { (exit 1); exit 1; }; }
24151 if test -f "$f"; then
24154 elif test -f "$srcdir/$f"; then
24159 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24160 echo "$as_me: error: cannot find input file: $f" >&2;}
24161 { (exit 1); exit 1; }; }
24164 done` || { (exit 1); exit 1; }
24165 # Remove the trailing spaces.
24166 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24170 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24171 # `conftest.undefs', that substitutes the proper values into
24172 # config.h.in to produce config.h. The first handles `#define'
24173 # templates, and the second `#undef' templates.
24174 # And first: Protect against being on the right side of a sed subst in
24175 # config.status. Protect against being in an unquoted here document
24176 # in config.status.
24177 rm -f conftest.defines conftest.undefs
24178 # Using a here document instead of a string reduces the quoting nightmare.
24179 # Putting comments in sed scripts is not portable.
24181 # `end' is used to avoid that the second main sed command (meant for
24182 # 0-ary CPP macros) applies to n-ary macro definitions.
24183 # See the Autoconf documentation for `clear'.
24184 cat >confdef2sed.sed <<\_ACEOF
24189 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24191 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24194 # If some macros were called several times there might be several times
24195 # the same #defines, which is useless. Nevertheless, we may not want to
24196 # sort them, since we want the *last* AC-DEFINE to be honored.
24197 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24198 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24199 rm -f confdef2sed.sed
24201 # This sed command replaces #undef with comments. This is necessary, for
24202 # example, in the case of _POSIX_SOURCE, which is predefined and required
24203 # on some systems where configure will not decide to define it.
24204 cat >>conftest.undefs <<\_ACEOF
24205 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24208 # Break up conftest.defines because some shells have a limit on the size
24209 # of here documents, and old seds have small limits too (100 cmds).
24210 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24211 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24212 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24213 echo ' :' >>$CONFIG_STATUS
24214 rm -f conftest.tail
24215 while grep . conftest.defines >/dev/null
24217 # Write a limited-size here document to $tmp/defines.sed.
24218 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24219 # Speed up: don't consider the non `#define' lines.
24220 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24221 # Work around the forget-to-reset-the-flag bug.
24222 echo 't clr' >>$CONFIG_STATUS
24223 echo ': clr' >>$CONFIG_STATUS
24224 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24226 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24228 mv $tmp/out $tmp/in
24230 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24231 rm -f conftest.defines
24232 mv conftest.tail conftest.defines
24234 rm -f conftest.defines
24235 echo ' fi # grep' >>$CONFIG_STATUS
24236 echo >>$CONFIG_STATUS
24238 # Break up conftest.undefs because some shells have a limit on the size
24239 # of here documents, and old seds have small limits too (100 cmds).
24240 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24241 rm -f conftest.tail
24242 while grep . conftest.undefs >/dev/null
24244 # Write a limited-size here document to $tmp/undefs.sed.
24245 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24246 # Speed up: don't consider the non `#undef'
24247 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24248 # Work around the forget-to-reset-the-flag bug.
24249 echo 't clr' >>$CONFIG_STATUS
24250 echo ': clr' >>$CONFIG_STATUS
24251 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24253 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24255 mv $tmp/out $tmp/in
24257 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24258 rm -f conftest.undefs
24259 mv conftest.tail conftest.undefs
24261 rm -f conftest.undefs
24263 cat >>$CONFIG_STATUS <<\_ACEOF
24264 # Let's still pretend it is `configure' which instantiates (i.e., don't
24265 # use $as_me), people would be surprised to read:
24266 # /* config.h. Generated by config.status. */
24267 if test x"$ac_file" = x-; then
24268 echo "/* Generated by configure. */" >$tmp/config.h
24270 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24272 cat $tmp/in >>$tmp/config.h
24274 if test x"$ac_file" != x-; then
24275 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24276 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24277 echo "$as_me: $ac_file is unchanged" >&6;}
24279 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24280 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24281 X"$ac_file" : 'X\(//\)[^/]' \| \
24282 X"$ac_file" : 'X\(//\)$' \| \
24283 X"$ac_file" : 'X\(/\)' \| \
24284 . : '\(.\)' 2>/dev/null ||
24286 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24287 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24288 /^X\(\/\/\)$/{ s//\1/; q; }
24289 /^X\(\/\).*/{ s//\1/; q; }
24291 { if $as_mkdir_p; then
24296 while test ! -d "$as_dir"; do
24297 as_dirs="$as_dir $as_dirs"
24298 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24299 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24300 X"$as_dir" : 'X\(//\)[^/]' \| \
24301 X"$as_dir" : 'X\(//\)$' \| \
24302 X"$as_dir" : 'X\(/\)' \| \
24303 . : '\(.\)' 2>/dev/null ||
24305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24306 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24307 /^X\(\/\/\)$/{ s//\1/; q; }
24308 /^X\(\/\).*/{ s//\1/; q; }
24311 test ! -n "$as_dirs" || mkdir $as_dirs
24312 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24313 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24314 { (exit 1); exit 1; }; }; }
24317 mv $tmp/config.h $ac_file
24321 rm -f $tmp/config.h
24325 cat >>$CONFIG_STATUS <<\_ACEOF
24328 # CONFIG_COMMANDS section.
24330 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24331 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24332 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24333 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24334 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24335 X"$ac_dest" : 'X\(//\)[^/]' \| \
24336 X"$ac_dest" : 'X\(//\)$' \| \
24337 X"$ac_dest" : 'X\(/\)' \| \
24338 . : '\(.\)' 2>/dev/null ||
24340 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24341 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24342 /^X\(\/\/\)$/{ s//\1/; q; }
24343 /^X\(\/\).*/{ s//\1/; q; }
24347 if test "$ac_dir" != .; then
24348 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24349 # A "../" for each directory in $ac_dir_suffix.
24350 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24352 ac_dir_suffix= ac_top_builddir=
24356 .) # No --srcdir option. We are building in place.
24358 if test -z "$ac_top_builddir"; then
24361 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24363 [\\/]* | ?:[\\/]* ) # Absolute path.
24364 ac_srcdir=$srcdir$ac_dir_suffix;
24365 ac_top_srcdir=$srcdir ;;
24366 *) # Relative path.
24367 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24368 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24370 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24372 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24373 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24374 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24375 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24378 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24379 echo "$as_me: executing $ac_dest commands" >&6;}
24381 Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
24382 Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common ;;
24383 Makefile.rules ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.rules Makefile.rules ;;
24384 lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
24385 lib/Analysis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/Makefile lib/Analysis/Makefile ;;
24386 lib/Analysis/DataStructure/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/DataStructure/Makefile lib/Analysis/DataStructure/Makefile ;;
24387 lib/Analysis/IPA/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/IPA/Makefile lib/Analysis/IPA/Makefile ;;
24388 lib/Analysis/LiveVar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/LiveVar/Makefile lib/Analysis/LiveVar/Makefile ;;
24389 lib/AsmParser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/AsmParser/Makefile lib/AsmParser/Makefile ;;
24390 lib/Bytecode/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Makefile lib/Bytecode/Makefile ;;
24391 lib/Bytecode/Reader/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Reader/Makefile lib/Bytecode/Reader/Makefile ;;
24392 lib/Bytecode/Writer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Writer/Makefile lib/Bytecode/Writer/Makefile ;;
24393 lib/CWriter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CWriter/Makefile lib/CWriter/Makefile ;;
24394 lib/CodeGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/Makefile lib/CodeGen/Makefile ;;
24395 lib/CodeGen/InstrSched/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSched/Makefile lib/CodeGen/InstrSched/Makefile ;;
24396 lib/CodeGen/InstrSelection/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSelection/Makefile lib/CodeGen/InstrSelection/Makefile ;;
24397 lib/CodeGen/ModuloScheduling/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/ModuloScheduling/Makefile lib/CodeGen/ModuloScheduling/Makefile ;;
24398 lib/CodeGen/RegAlloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/RegAlloc/Makefile lib/CodeGen/RegAlloc/Makefile ;;
24399 lib/CodeGen/SelectionDAG/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/SelectionDAG/Makefile lib/CodeGen/SelectionDAG/Makefile ;;
24400 lib/ExecutionEngine/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Makefile lib/ExecutionEngine/Makefile ;;
24401 lib/ExecutionEngine/Interpreter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Interpreter/Makefile lib/ExecutionEngine/Interpreter/Makefile ;;
24402 lib/ExecutionEngine/JIT/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/JIT/Makefile lib/ExecutionEngine/JIT/Makefile ;;
24403 lib/Support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Support/Makefile lib/Support/Makefile ;;
24404 lib/Target/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Makefile lib/Target/Makefile ;;
24405 lib/Target/Sparc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Sparc/Makefile lib/Target/Sparc/Makefile ;;
24406 lib/Target/X86/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/X86/Makefile lib/Target/X86/Makefile ;;
24407 lib/Transforms/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Makefile lib/Transforms/Makefile ;;
24408 lib/Transforms/Hello/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Hello/Makefile lib/Transforms/Hello/Makefile ;;
24409 lib/Transforms/IPO/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/IPO/Makefile lib/Transforms/IPO/Makefile ;;
24410 lib/Transforms/Instrumentation/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/Makefile lib/Transforms/Instrumentation/Makefile ;;
24411 lib/Transforms/Instrumentation/ProfilePaths/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/ProfilePaths/Makefile lib/Transforms/Instrumentation/ProfilePaths/Makefile ;;
24412 lib/Transforms/Scalar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Scalar/Makefile lib/Transforms/Scalar/Makefile ;;
24413 lib/Transforms/Utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Utils/Makefile lib/Transforms/Utils/Makefile ;;
24414 lib/VMCore/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/VMCore/Makefile lib/VMCore/Makefile ;;
24415 runtime/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/Makefile runtime/Makefile ;;
24416 runtime/GCCLibraries/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/Makefile runtime/GCCLibraries/Makefile ;;
24417 runtime/GCCLibraries/crtend/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/crtend/Makefile runtime/GCCLibraries/crtend/Makefile ;;
24418 runtime/GCCLibraries/libc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libc/Makefile runtime/GCCLibraries/libc/Makefile ;;
24419 runtime/GCCLibraries/libcurses/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libcurses/Makefile runtime/GCCLibraries/libcurses/Makefile ;;
24420 runtime/GCCLibraries/libg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libg/Makefile runtime/GCCLibraries/libg/Makefile ;;
24421 runtime/GCCLibraries/libgcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libgcc/Makefile runtime/GCCLibraries/libgcc/Makefile ;;
24422 runtime/GCCLibraries/libm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libm/Makefile runtime/GCCLibraries/libm/Makefile ;;
24423 runtime/GCCLibraries/libmalloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libmalloc/Makefile runtime/GCCLibraries/libmalloc/Makefile ;;
24424 runtime/GCCLibraries/libtermcap/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libtermcap/Makefile runtime/GCCLibraries/libtermcap/Makefile ;;
24425 runtime/GCCLibraries/libucb/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libucb/Makefile runtime/GCCLibraries/libucb/Makefile ;;
24426 runtime/GCCLibraries/libutempter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutempter/Makefile runtime/GCCLibraries/libutempter/Makefile ;;
24427 runtime/GCCLibraries/libutil/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutil/Makefile runtime/GCCLibraries/libutil/Makefile ;;
24428 runtime/libdummy/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libdummy/Makefile runtime/libdummy/Makefile ;;
24429 runtime/libtrace/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libtrace/Makefile runtime/libtrace/Makefile ;;
24430 test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;;
24431 test/Makefile.tests ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile.tests test/Makefile.tests ;;
24432 test/QMTestDB/QMTest/llvm.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTestDB/QMTest/llvm.py test/QMTestDB/QMTest/llvm.py ;;
24433 test/Programs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile test/Programs/Makefile ;;
24434 test/Programs/Makefile.programs ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.programs test/Programs/Makefile.programs ;;
24435 test/Programs/TEST.aa.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.Makefile test/Programs/TEST.aa.Makefile ;;
24436 test/Programs/TEST.dsgraph.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.report test/Programs/TEST.dsgraph.report ;;
24437 test/Programs/TEST.micro.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.report test/Programs/TEST.micro.report ;;
24438 test/Programs/TEST.aa.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.report test/Programs/TEST.aa.report ;;
24439 test/Programs/TEST.example.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.example.Makefile test/Programs/TEST.example.Makefile ;;
24440 test/Programs/TEST.nightly.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.Makefile test/Programs/TEST.nightly.Makefile ;;
24441 test/Programs/TEST.buildrepo.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.buildrepo.Makefile test/Programs/TEST.buildrepo.Makefile ;;
24442 test/Programs/TEST.jit.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.Makefile test/Programs/TEST.jit.Makefile ;;
24443 test/Programs/TEST.nightly.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.report test/Programs/TEST.nightly.report ;;
24444 test/Programs/TEST.dsgraph.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.Makefile test/Programs/TEST.dsgraph.Makefile ;;
24445 test/Programs/TEST.jit.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.report test/Programs/TEST.jit.report ;;
24446 test/Programs/TEST.typesafe.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.typesafe.Makefile test/Programs/TEST.typesafe.Makefile ;;
24447 test/Programs/TEST.dsgraph.gnuplot ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.gnuplot test/Programs/TEST.dsgraph.gnuplot ;;
24448 test/Programs/TEST.micro.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.Makefile test/Programs/TEST.micro.Makefile ;;
24449 test/Programs/External/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/Makefile test/Programs/External/Makefile ;;
24450 test/Programs/External/SPEC/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile test/Programs/External/SPEC/Makefile ;;
24451 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 ;;
24452 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 ;;
24453 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 ;;
24454 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 ;;
24455 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 ;;
24456 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 ;;
24457 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 ;;
24458 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 ;;
24459 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 ;;
24460 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 ;;
24461 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 ;;
24462 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 ;;
24463 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 ;;
24464 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 ;;
24465 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 ;;
24466 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 ;;
24467 test/Programs/LLVMSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/LLVMSource/Makefile test/Programs/LLVMSource/Makefile ;;
24468 test/Programs/MultiSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile test/Programs/MultiSource/Makefile ;;
24469 test/Programs/MultiSource/Makefile.multisrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile.multisrc test/Programs/MultiSource/Makefile.multisrc ;;
24470 test/Programs/MultiSource/Applications/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/Makefile test/Programs/MultiSource/Applications/Makefile ;;
24471 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 ;;
24472 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 ;;
24473 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 ;;
24474 test/Programs/MultiSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Makefile test/Programs/MultiSource/Benchmarks/Makefile ;;
24475 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 ;;
24476 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 ;;
24477 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 ;;
24478 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 ;;
24479 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 ;;
24480 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 ;;
24481 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 ;;
24482 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 ;;
24483 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 ;;
24484 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 ;;
24485 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 ;;
24486 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 ;;
24487 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 ;;
24488 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 ;;
24489 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 ;;
24490 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 ;;
24491 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 ;;
24492 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 ;;
24493 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 ;;
24494 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 ;;
24495 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 ;;
24496 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 ;;
24497 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 ;;
24498 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 ;;
24499 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 ;;
24500 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 ;;
24501 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 ;;
24502 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 ;;
24503 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 ;;
24504 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 ;;
24505 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 ;;
24506 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 ;;
24507 test/Programs/NoSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Makefile test/Programs/NoSource/Makefile ;;
24508 test/Programs/NoSource/Flex/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Flex/Makefile test/Programs/NoSource/Flex/Makefile ;;
24509 test/Programs/NoSource/Larn/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Larn/Makefile test/Programs/NoSource/Larn/Makefile ;;
24510 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 ;;
24511 test/Programs/NoSource/Povray31/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Povray31/Makefile test/Programs/NoSource/Povray31/Makefile ;;
24512 test/Programs/NoSource/m4/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/m4/Makefile test/Programs/NoSource/m4/Makefile ;;
24513 test/Programs/SingleSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile test/Programs/SingleSource/Makefile ;;
24514 test/Programs/SingleSource/Makefile.singlesrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile.singlesrc test/Programs/SingleSource/Makefile.singlesrc ;;
24515 test/Programs/SingleSource/Gizmos/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Gizmos/Makefile test/Programs/SingleSource/Gizmos/Makefile ;;
24516 test/Programs/SingleSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Makefile test/Programs/SingleSource/Benchmarks/Makefile ;;
24517 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 ;;
24518 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 ;;
24519 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 ;;
24520 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 ;;
24521 test/Programs/SingleSource/CustomChecked/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/CustomChecked/Makefile test/Programs/SingleSource/CustomChecked/Makefile ;;
24522 test/Programs/SingleSource/UnitTests/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/Makefile test/Programs/SingleSource/UnitTests/Makefile ;;
24523 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 ;;
24524 test/Programs/SingleSource/Regression/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/Makefile test/Programs/SingleSource/Regression/Makefile ;;
24525 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 ;;
24526 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 ;;
24527 tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
24528 tools/analyze/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/analyze/Makefile tools/analyze/Makefile ;;
24529 tools/bugpoint/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/bugpoint/Makefile tools/bugpoint/Makefile ;;
24530 tools/extract/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/extract/Makefile tools/extract/Makefile ;;
24531 tools/gccas/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccas/Makefile tools/gccas/Makefile ;;
24532 tools/gccld/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccld/Makefile tools/gccld/Makefile ;;
24533 tools/llc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llc/Makefile tools/llc/Makefile ;;
24534 tools/llee/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llee/Makefile tools/llee/Makefile ;;
24535 tools/lli/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/lli/Makefile tools/lli/Makefile ;;
24536 tools/llvm-ar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-ar/Makefile tools/llvm-ar/Makefile ;;
24537 tools/llvm-as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-as/Makefile tools/llvm-as/Makefile ;;
24538 tools/llvm-dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-dis/Makefile tools/llvm-dis/Makefile ;;
24539 tools/llvm-link/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-link/Makefile tools/llvm-link/Makefile ;;
24540 tools/opt/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/opt/Makefile tools/opt/Makefile ;;
24541 utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Makefile utils/Makefile ;;
24542 utils/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Makefile utils/Burg/Makefile ;;
24543 utils/Burg/Doc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Doc/Makefile utils/Burg/Doc/Makefile ;;
24544 utils/TableGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/TableGen/Makefile utils/TableGen/Makefile ;;
24545 www/docs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/www/docs/Makefile www/docs/Makefile ;;
24546 projects/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Makefile projects/Makefile ;;
24547 projects/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile projects/sample/Makefile ;;
24548 projects/sample/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.common projects/sample/Makefile.common ;;
24549 projects/sample/Makefile.config ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.config projects/sample/Makefile.config ;;
24550 projects/sample/lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/Makefile projects/sample/lib/Makefile ;;
24551 projects/sample/lib/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/sample/Makefile projects/sample/lib/sample/Makefile ;;
24552 projects/sample/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/Makefile projects/sample/tools/Makefile ;;
24553 projects/sample/tools/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/sample/Makefile projects/sample/tools/sample/Makefile ;;
24554 projects/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile projects/ModuleMaker/Makefile ;;
24555 projects/ModuleMaker/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile.common projects/ModuleMaker/Makefile.common ;;
24556 projects/ModuleMaker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/Makefile projects/ModuleMaker/tools/Makefile ;;
24557 projects/ModuleMaker/tools/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/ModuleMaker/Makefile projects/ModuleMaker/tools/ModuleMaker/Makefile ;;
24562 cat >>$CONFIG_STATUS <<\_ACEOF
24564 { (exit 0); exit 0; }
24566 chmod +x $CONFIG_STATUS
24567 ac_clean_files=$ac_clean_files_save
24570 # configure is writing to config.log, and then calls config.status.
24571 # config.status does its own redirection, appending to config.log.
24572 # Unfortunately, on DOS this fails, as config.log is still kept open
24573 # by configure, so config.status won't be able to write to it; its
24574 # output is simply discarded. So we exec the FD to /dev/null,
24575 # effectively closing config.log, so it can be properly (re)opened and
24576 # appended to by config.status. When coming back to configure, we
24577 # need to make the FD available again.
24578 if test "$no_create" != yes; then
24580 ac_config_status_args=
24581 test "$silent" = yes &&
24582 ac_config_status_args="$ac_config_status_args --quiet"
24584 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24586 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24587 # would make configure fail if this is the last instruction.
24588 $ac_cs_success || { (exit 1); exit 1; }