2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for [LLVM] [1.0].
5 # Report bugs to <llvmbugs@cs.uiuc.edu>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26 # Support unset when possible.
27 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 if expr a : '\(a\)' >/dev/null 2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.file conf$$ 2>/dev/null; then
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
226 as_executable_p="test -f"
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
236 # We need space, tab and new line, in precisely that order.
246 # Check that we are running under the correct shell.
247 SHELL=${CONFIG_SHELL-/bin/sh}
251 # Remove one level of quotation (which was required for Make).
252 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
257 if test "X$1" = X--no-reexec; then
258 # Discard the --no-reexec flag, and continue.
260 elif test "X$1" = X--fallback-echo; then
261 # Avoid inline document here, it may be left over
263 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
264 # Yippee, $echo works!
267 # Restart under the correct shell.
268 exec $SHELL "$0" --no-reexec ${1+"$@"}
271 if test "X$1" = X--fallback-echo; then
272 # used as fallback echo
280 # The HP-UX ksh and POSIX shell print the target directory to stdout
282 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
284 if test -z "$ECHO"; then
285 if test "X${echo_test_string+set}" != Xset; then
286 # find a string as large as possible, as long as the shell can cope with it
287 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
288 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
289 if (echo_test_string="`eval $cmd`") 2>/dev/null &&
290 echo_test_string="`eval $cmd`" &&
291 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
298 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
299 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
300 test "X$echo_testing_string" = "X$echo_test_string"; then
303 # The Solaris, AIX, and Digital Unix default echo programs unquote
304 # backslashes. This makes it impossible to quote backslashes using
305 # echo "$something" | sed 's/\\/\\\\/g'
307 # So, first we look for a working echo in the user's PATH.
309 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
310 for dir in $PATH /usr/ucb; do
312 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
313 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
314 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
315 test "X$echo_testing_string" = "X$echo_test_string"; then
322 if test "X$echo" = Xecho; then
323 # We didn't find a better echo, so look for alternatives.
324 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
325 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
326 test "X$echo_testing_string" = "X$echo_test_string"; then
327 # This shell has a builtin print -r that does the trick.
329 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
330 test "X$CONFIG_SHELL" != X/bin/ksh; then
331 # If we have ksh, try running configure again with it.
332 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
333 export ORIGINAL_CONFIG_SHELL
334 CONFIG_SHELL=/bin/ksh
336 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
340 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
341 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
342 test "X$echo_testing_string" = "X$echo_test_string"; then
345 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
346 test "X$echo_testing_string" = 'X\t' &&
347 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
348 test "X$echo_testing_string" = "X$echo_test_string"; then
349 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
351 SHELL="$CONFIG_SHELL"
353 echo="$CONFIG_SHELL $0 --fallback-echo"
354 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
355 test "X$echo_testing_string" = 'X\t' &&
356 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
357 test "X$echo_testing_string" = "X$echo_test_string"; then
358 echo="$CONFIG_SHELL $0 --fallback-echo"
360 # maybe with a smaller string...
363 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
364 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
371 if test "$prev" != 'sed 50q "$0"'; then
372 echo_test_string=`eval $prev`
373 export echo_test_string
374 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
376 # Oops. We lost completely, so just stick with echo.
385 # Copy echo and quote the copy suitably for passing to libtool from
386 # the Makefile, instead of quoting the original, which is used later.
388 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
389 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
395 tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`
397 tagnames=`echo "$tagnames,F77" | sed 's/^,//'`
400 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
401 # so uname gets run too.
402 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
409 ac_default_prefix=/usr/local
410 ac_config_libobj_dir=.
415 SHELL=${CONFIG_SHELL-/bin/sh}
417 # Maximum number of lines to put in a shell here document.
418 # This variable seems obsolete. It should probably be removed, and
419 # only ac_max_sed_lines should be used.
420 : ${ac_max_here_lines=38}
422 # Identity of this package.
423 PACKAGE_NAME='[LLVM]'
424 PACKAGE_TARNAME='--llvm--'
425 PACKAGE_VERSION='[1.0]'
426 PACKAGE_STRING='[LLVM] [1.0]'
427 PACKAGE_BUGREPORT='llvmbugs@cs.uiuc.edu'
429 # Factoring default headers for most tests.
430 ac_includes_default="\
433 # include <sys/types.h>
436 # include <sys/stat.h>
447 # if !STDC_HEADERS && HAVE_MEMORY_H
453 # include <strings.h>
456 # include <inttypes.h>
466 ac_unique_file=""Makefile.config.in""
467 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os OS LLVMGCCDIR ARCH CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC CPP ifGNUmake LEX LEXLIB LEX_OUTPUT_ROOT YACC EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL RPWD SED RM MKDIR DATE MV DOT ETAGS PURIFY PYTHON QMTEST ALLOCA LIBOBJS MMAP_FILE ENABLE_PURIFY ENABLE_OPTIMIZED USE_SPEC UPB DISABLE_LLC_DIFFS JIT SPEC_ROOT BCR PAPIDIR LTLIBOBJS'
470 # Initialize some variables set by options.
472 ac_init_version=false
473 # The variables have the same names as the options, with
474 # dashes changed to underlines.
482 program_transform_name=s,x,x,
490 # Installation directory options.
491 # These are left unexpanded so users can "make install exec_prefix=/foo"
492 # and all the variables that are supposed to be based on exec_prefix
493 # by default will actually change.
494 # Use braces instead of parens because sh, perl, etc. also accept them.
495 bindir='${exec_prefix}/bin'
496 sbindir='${exec_prefix}/sbin'
497 libexecdir='${exec_prefix}/libexec'
498 datadir='${prefix}/share'
499 sysconfdir='${prefix}/etc'
500 sharedstatedir='${prefix}/com'
501 localstatedir='${prefix}/var'
502 libdir='${exec_prefix}/lib'
503 includedir='${prefix}/include'
504 oldincludedir='/usr/include'
505 infodir='${prefix}/info'
506 mandir='${prefix}/man'
511 # If the previous option needs an argument, assign it.
512 if test -n "$ac_prev"; then
513 eval "$ac_prev=\$ac_option"
518 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
520 # Accept the important Cygnus configure options, so we can diagnose typos.
524 -bindir | --bindir | --bindi | --bind | --bin | --bi)
526 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
529 -build | --build | --buil | --bui | --bu)
530 ac_prev=build_alias ;;
531 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
532 build_alias=$ac_optarg ;;
534 -cache-file | --cache-file | --cache-fil | --cache-fi \
535 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
536 ac_prev=cache_file ;;
537 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
538 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
539 cache_file=$ac_optarg ;;
542 cache_file=config.cache ;;
544 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
546 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
548 datadir=$ac_optarg ;;
550 -disable-* | --disable-*)
551 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
555 { (exit 1); exit 1; }; }
556 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
557 eval "enable_$ac_feature=no" ;;
559 -enable-* | --enable-*)
560 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
561 # Reject names that are not valid shell variable names.
562 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
563 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
564 { (exit 1); exit 1; }; }
565 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
567 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
570 eval "enable_$ac_feature='$ac_optarg'" ;;
572 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
573 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
574 | --exec | --exe | --ex)
575 ac_prev=exec_prefix ;;
576 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
577 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
578 | --exec=* | --exe=* | --ex=*)
579 exec_prefix=$ac_optarg ;;
581 -gas | --gas | --ga | --g)
582 # Obsolete; use --with-gas.
585 -help | --help | --hel | --he | -h)
587 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
588 ac_init_help=recursive ;;
589 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
590 ac_init_help=short ;;
592 -host | --host | --hos | --ho)
593 ac_prev=host_alias ;;
594 -host=* | --host=* | --hos=* | --ho=*)
595 host_alias=$ac_optarg ;;
597 -includedir | --includedir | --includedi | --included | --include \
598 | --includ | --inclu | --incl | --inc)
599 ac_prev=includedir ;;
600 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
601 | --includ=* | --inclu=* | --incl=* | --inc=*)
602 includedir=$ac_optarg ;;
604 -infodir | --infodir | --infodi | --infod | --info | --inf)
606 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
607 infodir=$ac_optarg ;;
609 -libdir | --libdir | --libdi | --libd)
611 -libdir=* | --libdir=* | --libdi=* | --libd=*)
614 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
615 | --libexe | --libex | --libe)
616 ac_prev=libexecdir ;;
617 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
618 | --libexe=* | --libex=* | --libe=*)
619 libexecdir=$ac_optarg ;;
621 -localstatedir | --localstatedir | --localstatedi | --localstated \
622 | --localstate | --localstat | --localsta | --localst \
623 | --locals | --local | --loca | --loc | --lo)
624 ac_prev=localstatedir ;;
625 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
626 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
627 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
628 localstatedir=$ac_optarg ;;
630 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
632 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
636 # Obsolete; use --without-fp.
639 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
640 | --no-cr | --no-c | -n)
643 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
644 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
647 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
648 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
649 | --oldin | --oldi | --old | --ol | --o)
650 ac_prev=oldincludedir ;;
651 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
652 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
653 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
654 oldincludedir=$ac_optarg ;;
656 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
658 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
661 -program-prefix | --program-prefix | --program-prefi | --program-pref \
662 | --program-pre | --program-pr | --program-p)
663 ac_prev=program_prefix ;;
664 -program-prefix=* | --program-prefix=* | --program-prefi=* \
665 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
666 program_prefix=$ac_optarg ;;
668 -program-suffix | --program-suffix | --program-suffi | --program-suff \
669 | --program-suf | --program-su | --program-s)
670 ac_prev=program_suffix ;;
671 -program-suffix=* | --program-suffix=* | --program-suffi=* \
672 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
673 program_suffix=$ac_optarg ;;
675 -program-transform-name | --program-transform-name \
676 | --program-transform-nam | --program-transform-na \
677 | --program-transform-n | --program-transform- \
678 | --program-transform | --program-transfor \
679 | --program-transfo | --program-transf \
680 | --program-trans | --program-tran \
681 | --progr-tra | --program-tr | --program-t)
682 ac_prev=program_transform_name ;;
683 -program-transform-name=* | --program-transform-name=* \
684 | --program-transform-nam=* | --program-transform-na=* \
685 | --program-transform-n=* | --program-transform-=* \
686 | --program-transform=* | --program-transfor=* \
687 | --program-transfo=* | --program-transf=* \
688 | --program-trans=* | --program-tran=* \
689 | --progr-tra=* | --program-tr=* | --program-t=*)
690 program_transform_name=$ac_optarg ;;
692 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
693 | -silent | --silent | --silen | --sile | --sil)
696 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
698 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
700 sbindir=$ac_optarg ;;
702 -sharedstatedir | --sharedstatedir | --sharedstatedi \
703 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
704 | --sharedst | --shareds | --shared | --share | --shar \
706 ac_prev=sharedstatedir ;;
707 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
708 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
709 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
711 sharedstatedir=$ac_optarg ;;
713 -site | --site | --sit)
715 -site=* | --site=* | --sit=*)
718 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
720 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
723 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
724 | --syscon | --sysco | --sysc | --sys | --sy)
725 ac_prev=sysconfdir ;;
726 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
727 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
728 sysconfdir=$ac_optarg ;;
730 -target | --target | --targe | --targ | --tar | --ta | --t)
731 ac_prev=target_alias ;;
732 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
733 target_alias=$ac_optarg ;;
735 -v | -verbose | --verbose | --verbos | --verbo | --verb)
738 -version | --version | --versio | --versi | --vers | -V)
742 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
743 # Reject names that are not valid shell variable names.
744 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
745 { echo "$as_me: error: invalid package name: $ac_package" >&2
746 { (exit 1); exit 1; }; }
747 ac_package=`echo $ac_package| sed 's/-/_/g'`
749 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
752 eval "with_$ac_package='$ac_optarg'" ;;
754 -without-* | --without-*)
755 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
756 # Reject names that are not valid shell variable names.
757 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
758 { echo "$as_me: error: invalid package name: $ac_package" >&2
759 { (exit 1); exit 1; }; }
760 ac_package=`echo $ac_package | sed 's/-/_/g'`
761 eval "with_$ac_package=no" ;;
764 # Obsolete; use --with-x.
767 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
768 | --x-incl | --x-inc | --x-in | --x-i)
769 ac_prev=x_includes ;;
770 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
771 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
772 x_includes=$ac_optarg ;;
774 -x-libraries | --x-libraries | --x-librarie | --x-librari \
775 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
776 ac_prev=x_libraries ;;
777 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
778 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
779 x_libraries=$ac_optarg ;;
781 -*) { echo "$as_me: error: unrecognized option: $ac_option
782 Try \`$0 --help' for more information." >&2
783 { (exit 1); exit 1; }; }
787 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
788 # Reject names that are not valid shell variable names.
789 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
790 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
791 { (exit 1); exit 1; }; }
792 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
793 eval "$ac_envvar='$ac_optarg'"
797 # FIXME: should be removed in autoconf 3.0.
798 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
799 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
800 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
801 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
807 if test -n "$ac_prev"; then
808 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
809 { echo "$as_me: error: missing argument to $ac_option" >&2
810 { (exit 1); exit 1; }; }
813 # Be sure to have absolute paths.
814 for ac_var in exec_prefix prefix
816 eval ac_val=$`echo $ac_var`
818 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
819 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
820 { (exit 1); exit 1; }; };;
824 # Be sure to have absolute paths.
825 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
826 localstatedir libdir includedir oldincludedir infodir mandir
828 eval ac_val=$`echo $ac_var`
830 [\\/$]* | ?:[\\/]* ) ;;
831 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
832 { (exit 1); exit 1; }; };;
836 # There might be people who depend on the old broken behavior: `$host'
837 # used to hold the argument of --host etc.
838 # FIXME: To remove some day.
843 # FIXME: To remove some day.
844 if test "x$host_alias" != x; then
845 if test "x$build_alias" = x; then
846 cross_compiling=maybe
847 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
848 If a cross compiler is detected then cross compile mode will be used." >&2
849 elif test "x$build_alias" != "x$host_alias"; then
855 test -n "$host_alias" && ac_tool_prefix=$host_alias-
857 test "$silent" = yes && exec 6>/dev/null
860 # Find the source files, if location was not specified.
861 if test -z "$srcdir"; then
862 ac_srcdir_defaulted=yes
863 # Try the directory containing this script, then its parent.
864 ac_confdir=`(dirname "$0") 2>/dev/null ||
865 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
866 X"$0" : 'X\(//\)[^/]' \| \
867 X"$0" : 'X\(//\)$' \| \
868 X"$0" : 'X\(/\)' \| \
869 . : '\(.\)' 2>/dev/null ||
871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
872 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
873 /^X\(\/\/\)$/{ s//\1/; q; }
874 /^X\(\/\).*/{ s//\1/; q; }
877 if test ! -r $srcdir/$ac_unique_file; then
881 ac_srcdir_defaulted=no
883 if test ! -r $srcdir/$ac_unique_file; then
884 if test "$ac_srcdir_defaulted" = yes; then
885 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
886 { (exit 1); exit 1; }; }
888 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
889 { (exit 1); exit 1; }; }
892 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
893 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
894 { (exit 1); exit 1; }; }
895 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
896 ac_env_build_alias_set=${build_alias+set}
897 ac_env_build_alias_value=$build_alias
898 ac_cv_env_build_alias_set=${build_alias+set}
899 ac_cv_env_build_alias_value=$build_alias
900 ac_env_host_alias_set=${host_alias+set}
901 ac_env_host_alias_value=$host_alias
902 ac_cv_env_host_alias_set=${host_alias+set}
903 ac_cv_env_host_alias_value=$host_alias
904 ac_env_target_alias_set=${target_alias+set}
905 ac_env_target_alias_value=$target_alias
906 ac_cv_env_target_alias_set=${target_alias+set}
907 ac_cv_env_target_alias_value=$target_alias
908 ac_env_CXX_set=${CXX+set}
909 ac_env_CXX_value=$CXX
910 ac_cv_env_CXX_set=${CXX+set}
911 ac_cv_env_CXX_value=$CXX
912 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
913 ac_env_CXXFLAGS_value=$CXXFLAGS
914 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
915 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
916 ac_env_LDFLAGS_set=${LDFLAGS+set}
917 ac_env_LDFLAGS_value=$LDFLAGS
918 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
919 ac_cv_env_LDFLAGS_value=$LDFLAGS
920 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
921 ac_env_CPPFLAGS_value=$CPPFLAGS
922 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
923 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
924 ac_env_CC_set=${CC+set}
926 ac_cv_env_CC_set=${CC+set}
927 ac_cv_env_CC_value=$CC
928 ac_env_CFLAGS_set=${CFLAGS+set}
929 ac_env_CFLAGS_value=$CFLAGS
930 ac_cv_env_CFLAGS_set=${CFLAGS+set}
931 ac_cv_env_CFLAGS_value=$CFLAGS
932 ac_env_CPP_set=${CPP+set}
933 ac_env_CPP_value=$CPP
934 ac_cv_env_CPP_set=${CPP+set}
935 ac_cv_env_CPP_value=$CPP
936 ac_env_CXXCPP_set=${CXXCPP+set}
937 ac_env_CXXCPP_value=$CXXCPP
938 ac_cv_env_CXXCPP_set=${CXXCPP+set}
939 ac_cv_env_CXXCPP_value=$CXXCPP
940 ac_env_F77_set=${F77+set}
941 ac_env_F77_value=$F77
942 ac_cv_env_F77_set=${F77+set}
943 ac_cv_env_F77_value=$F77
944 ac_env_FFLAGS_set=${FFLAGS+set}
945 ac_env_FFLAGS_value=$FFLAGS
946 ac_cv_env_FFLAGS_set=${FFLAGS+set}
947 ac_cv_env_FFLAGS_value=$FFLAGS
950 # Report the --help message.
952 if test "$ac_init_help" = "long"; then
953 # Omit some internal or obsolete options to make the list less imposing.
954 # This message is too long to be a string in the A/UX 3.1 sh.
956 \`configure' configures [LLVM] [1.0] to adapt to many kinds of systems.
958 Usage: $0 [OPTION]... [VAR=VALUE]...
960 To assign environment variables (e.g., CC, CFLAGS...), specify them as
961 VAR=VALUE. See below for descriptions of some of the useful variables.
963 Defaults for the options are specified in brackets.
966 -h, --help display this help and exit
967 --help=short display options specific to this package
968 --help=recursive display the short help of all the included packages
969 -V, --version display version information and exit
970 -q, --quiet, --silent do not print \`checking...' messages
971 --cache-file=FILE cache test results in FILE [disabled]
972 -C, --config-cache alias for \`--cache-file=config.cache'
973 -n, --no-create do not create output files
974 --srcdir=DIR find the sources in DIR [configure dir or \`..']
979 Installation directories:
980 --prefix=PREFIX install architecture-independent files in PREFIX
982 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
985 By default, \`make install' will install all the files in
986 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
987 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
988 for instance \`--prefix=\$HOME'.
990 For better control, use the options below.
992 Fine tuning of the installation directories:
993 --bindir=DIR user executables [EPREFIX/bin]
994 --sbindir=DIR system admin executables [EPREFIX/sbin]
995 --libexecdir=DIR program executables [EPREFIX/libexec]
996 --datadir=DIR read-only architecture-independent data [PREFIX/share]
997 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
998 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
999 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1000 --libdir=DIR object code libraries [EPREFIX/lib]
1001 --includedir=DIR C header files [PREFIX/include]
1002 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1003 --infodir=DIR info documentation [PREFIX/info]
1004 --mandir=DIR man documentation [PREFIX/man]
1010 --build=BUILD configure for building on BUILD [guessed]
1011 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1012 --target=TARGET configure for building compilers for TARGET [HOST]
1016 if test -n "$ac_init_help"; then
1017 case $ac_init_help in
1018 short | recursive ) echo "Configuration of [LLVM] [1.0]:";;
1023 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1024 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1025 --enable-shared[=PKGS]
1026 build shared libraries [default=yes]
1027 --enable-static[=PKGS]
1028 build static libraries [default=yes]
1029 --enable-fast-install[=PKGS]
1030 optimize for fast installation [default=yes]
1031 --disable-libtool-lock avoid locking (might break parallel builds)
1032 --enable-purify Compile with purify (default is NO)
1033 --enable-optimized Compile with optimizations enabled (default is NO)
1034 --enable-spec Compile SPEC benchmarks (default is NO)
1035 --enable-precompiled_bytecode
1036 Use pre-compiled bytecode (default is NO)
1037 --enable-llc_diffs Enable LLC Diffs when testing (default is YES)
1038 --enable-jit Enable Just In Time Compiling (default is YES)
1041 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1042 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1043 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1044 --with-pic try to use only PIC/non-PIC objects [default=use
1047 include additional configurations [automatic]
1048 --with-spec Location of SPEC benchmarks
1049 --with-llvmgccdir Location of LLVM GCC front-end
1050 --with-bcrepos Location of Bytecode Repository
1051 --with-papi Location of PAPI
1052 --with-purify Location of purify program
1054 Some influential environment variables:
1055 CXX C++ compiler command
1056 CXXFLAGS C++ compiler flags
1057 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1058 nonstandard directory <lib dir>
1059 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1060 headers in a nonstandard directory <include dir>
1061 CC C compiler command
1062 CFLAGS C compiler flags
1064 CXXCPP C++ preprocessor
1065 F77 Fortran 77 compiler command
1066 FFLAGS Fortran 77 compiler flags
1068 Use these variables to override the choices made by `configure' or to help
1069 it to find libraries and programs with nonstandard names/locations.
1071 Report bugs to <llvmbugs@cs.uiuc.edu>.
1075 if test "$ac_init_help" = "recursive"; then
1076 # If there are subdirs, report their specific --help.
1078 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1079 test -d $ac_dir || continue
1082 if test "$ac_dir" != .; then
1083 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1084 # A "../" for each directory in $ac_dir_suffix.
1085 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1087 ac_dir_suffix= ac_top_builddir=
1091 .) # No --srcdir option. We are building in place.
1093 if test -z "$ac_top_builddir"; then
1096 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1098 [\\/]* | ?:[\\/]* ) # Absolute path.
1099 ac_srcdir=$srcdir$ac_dir_suffix;
1100 ac_top_srcdir=$srcdir ;;
1102 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1103 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1105 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1107 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1108 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1109 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1110 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1113 # Check for guested configure; otherwise get Cygnus style configure.
1114 if test -f $ac_srcdir/configure.gnu; then
1116 $SHELL $ac_srcdir/configure.gnu --help=recursive
1117 elif test -f $ac_srcdir/configure; then
1119 $SHELL $ac_srcdir/configure --help=recursive
1120 elif test -f $ac_srcdir/configure.ac ||
1121 test -f $ac_srcdir/configure.in; then
1123 $ac_configure --help
1125 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1131 test -n "$ac_init_help" && exit 0
1132 if $ac_init_version; then
1134 [LLVM] configure [1.0]
1135 generated by GNU Autoconf 2.57
1137 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1138 Free Software Foundation, Inc.
1139 This configure script is free software; the Free Software Foundation
1140 gives unlimited permission to copy, distribute and modify it.
1146 This file contains any messages produced by compilers while
1147 running configure, to aid debugging if configure makes a mistake.
1149 It was created by [LLVM] $as_me [1.0], which was
1150 generated by GNU Autoconf 2.57. Invocation command line was
1161 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1162 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1163 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1164 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1165 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1167 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1168 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1170 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1171 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1172 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1173 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1174 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1175 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1176 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1184 test -z "$as_dir" && as_dir=.
1185 echo "PATH: $as_dir"
1200 # Keep a trace of the command line.
1201 # Strip out --no-create and --no-recursion so they do not pile up.
1202 # Strip out --silent because we don't want to record it for future runs.
1203 # Also quote any args containing shell meta-characters.
1204 # Make two passes to allow for proper duplicate-argument suppression.
1209 ac_must_keep_next=false
1215 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1216 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1217 | -silent | --silent | --silen | --sile | --sil)
1219 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1220 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1223 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1225 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1226 if test $ac_must_keep_next = true; then
1227 ac_must_keep_next=false # Got value, back to normal.
1230 *=* | --config-cache | -C | -disable-* | --disable-* \
1231 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1232 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1233 | -with-* | --with-* | -without-* | --without-* | --x)
1234 case "$ac_configure_args0 " in
1235 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1238 -* ) ac_must_keep_next=true ;;
1241 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1242 # Get rid of the leading space.
1248 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1249 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1251 # When interrupted or exit'd, cleanup temporary files, and complete
1252 # config.log. We remove comments because anyway the quotes in there
1253 # would cause problems or look ugly.
1254 # WARNING: Be sure not to use single quotes in there, as some shells,
1255 # such as our DU 5.0 friend, will then `close' the trap.
1256 trap 'exit_status=$?
1257 # Save into config.log some information that might help in debugging.
1262 ## ---------------- ##
1263 ## Cache variables. ##
1264 ## ---------------- ##
1267 # The following way of writing the cache mishandles newlines in values,
1270 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1273 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1274 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1278 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1285 ## ----------------- ##
1286 ## Output variables. ##
1287 ## ----------------- ##
1290 for ac_var in $ac_subst_vars
1292 eval ac_val=$`echo $ac_var`
1293 echo "$ac_var='"'"'$ac_val'"'"'"
1297 if test -n "$ac_subst_files"; then
1304 for ac_var in $ac_subst_files
1306 eval ac_val=$`echo $ac_var`
1307 echo "$ac_var='"'"'$ac_val'"'"'"
1312 if test -s confdefs.h; then
1319 sed "/^$/d" confdefs.h | sort
1322 test "$ac_signal" != 0 &&
1323 echo "$as_me: caught signal $ac_signal"
1324 echo "$as_me: exit $exit_status"
1326 rm -f core core.* *.core &&
1327 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1330 for ac_signal in 1 2 13 15; do
1331 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1335 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1336 rm -rf conftest* confdefs.h
1337 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1340 # Predefined preprocessor variables.
1342 cat >>confdefs.h <<_ACEOF
1343 #define PACKAGE_NAME "$PACKAGE_NAME"
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1352 cat >>confdefs.h <<_ACEOF
1353 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1357 cat >>confdefs.h <<_ACEOF
1358 #define PACKAGE_STRING "$PACKAGE_STRING"
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1367 # Let the site file select an alternate cache file if it wants to.
1368 # Prefer explicitly selected file to automatically selected ones.
1369 if test -z "$CONFIG_SITE"; then
1370 if test "x$prefix" != xNONE; then
1371 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1373 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1376 for ac_site_file in $CONFIG_SITE; do
1377 if test -r "$ac_site_file"; then
1378 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1379 echo "$as_me: loading site script $ac_site_file" >&6;}
1380 sed 's/^/| /' "$ac_site_file" >&5
1385 if test -r "$cache_file"; then
1386 # Some versions of bash will fail to source /dev/null (special
1387 # files actually), so we avoid doing that.
1388 if test -f "$cache_file"; then
1389 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1390 echo "$as_me: loading cache $cache_file" >&6;}
1392 [\\/]* | ?:[\\/]* ) . $cache_file;;
1393 *) . ./$cache_file;;
1397 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1398 echo "$as_me: creating cache $cache_file" >&6;}
1402 # Check that the precious variables saved in the cache have kept the same
1404 ac_cache_corrupted=false
1405 for ac_var in `(set) 2>&1 |
1406 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1407 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1408 eval ac_new_set=\$ac_env_${ac_var}_set
1409 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1410 eval ac_new_val="\$ac_env_${ac_var}_value"
1411 case $ac_old_set,$ac_new_set in
1413 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1414 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1415 ac_cache_corrupted=: ;;
1417 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1418 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1419 ac_cache_corrupted=: ;;
1422 if test "x$ac_old_val" != "x$ac_new_val"; then
1423 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1424 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1425 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1426 echo "$as_me: former value: $ac_old_val" >&2;}
1427 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1428 echo "$as_me: current value: $ac_new_val" >&2;}
1429 ac_cache_corrupted=:
1432 # Pass precious variables to config.status.
1433 if test "$ac_new_set" = set; then
1435 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1436 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1437 *) ac_arg=$ac_var=$ac_new_val ;;
1439 case " $ac_configure_args " in
1440 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1441 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1445 if $ac_cache_corrupted; then
1446 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1447 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1448 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1449 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1450 { (exit 1); exit 1; }; }
1454 ac_cpp='$CPP $CPPFLAGS'
1455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1487 for ac_dir in autoconf $srcdir/autoconf; do
1488 if test -f $ac_dir/install-sh; then
1490 ac_install_sh="$ac_aux_dir/install-sh -c"
1492 elif test -f $ac_dir/install.sh; then
1494 ac_install_sh="$ac_aux_dir/install.sh -c"
1496 elif test -f $ac_dir/shtool; then
1498 ac_install_sh="$ac_aux_dir/shtool install -c"
1502 if test -z "$ac_aux_dir"; then
1503 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&5
1504 echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;}
1505 { (exit 1); exit 1; }; }
1507 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1508 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1509 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1512 if test ${srcdir} != "."
1514 if test -f ${srcdir}/include/Config/config.h
1516 { { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5
1517 echo "$as_me: error: Already configured in ${srcdir}" >&2;}
1518 { (exit 1); exit 1; }; }
1522 ac_config_headers="$ac_config_headers include/Config/config.h"
1524 ac_config_commands="$ac_config_commands Makefile"
1527 ac_config_commands="$ac_config_commands Makefile.common"
1530 ac_config_commands="$ac_config_commands Makefile.rules"
1533 ac_config_commands="$ac_config_commands lib/Makefile"
1536 ac_config_commands="$ac_config_commands lib/Analysis/Makefile"
1539 ac_config_commands="$ac_config_commands lib/Analysis/DataStructure/Makefile"
1542 ac_config_commands="$ac_config_commands lib/Analysis/IPA/Makefile"
1545 ac_config_commands="$ac_config_commands lib/Analysis/LiveVar/Makefile"
1548 ac_config_commands="$ac_config_commands lib/AsmParser/Makefile"
1551 ac_config_commands="$ac_config_commands lib/Bytecode/Makefile"
1554 ac_config_commands="$ac_config_commands lib/Bytecode/Reader/Makefile"
1557 ac_config_commands="$ac_config_commands lib/Bytecode/Writer/Makefile"
1560 ac_config_commands="$ac_config_commands lib/CWriter/Makefile"
1563 ac_config_commands="$ac_config_commands lib/CodeGen/Makefile"
1566 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSched/Makefile"
1569 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSelection/Makefile"
1572 ac_config_commands="$ac_config_commands lib/CodeGen/ModuloScheduling/Makefile"
1575 ac_config_commands="$ac_config_commands lib/CodeGen/RegAlloc/Makefile"
1578 ac_config_commands="$ac_config_commands lib/CodeGen/SelectionDAG/Makefile"
1581 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Makefile"
1584 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Interpreter/Makefile"
1587 ac_config_commands="$ac_config_commands lib/ExecutionEngine/JIT/Makefile"
1590 ac_config_commands="$ac_config_commands lib/Target/Makefile"
1593 ac_config_commands="$ac_config_commands lib/Target/Sparc/Makefile"
1596 ac_config_commands="$ac_config_commands lib/Target/X86/Makefile"
1599 ac_config_commands="$ac_config_commands lib/Transforms/Makefile"
1602 ac_config_commands="$ac_config_commands lib/Transforms/Hello/Makefile"
1605 ac_config_commands="$ac_config_commands lib/Transforms/IPO/Makefile"
1608 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/Makefile"
1611 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/ProfilePaths/Makefile"
1614 ac_config_commands="$ac_config_commands lib/Transforms/Scalar/Makefile"
1617 ac_config_commands="$ac_config_commands lib/Transforms/Utils/Makefile"
1620 ac_config_commands="$ac_config_commands lib/VMCore/Makefile"
1623 ac_config_commands="$ac_config_commands runtime/Makefile"
1626 ac_config_commands="$ac_config_commands runtime/GCCLibraries/Makefile"
1629 ac_config_commands="$ac_config_commands runtime/GCCLibraries/crtend/Makefile"
1632 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libc/Makefile"
1635 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libcurses/Makefile"
1638 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libg/Makefile"
1641 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libgcc/Makefile"
1644 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libm/Makefile"
1647 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libmalloc/Makefile"
1650 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libtermcap/Makefile"
1653 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libucb/Makefile"
1656 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutempter/Makefile"
1659 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutil/Makefile"
1662 ac_config_commands="$ac_config_commands runtime/libdummy/Makefile"
1665 ac_config_commands="$ac_config_commands runtime/libtrace/Makefile"
1668 ac_config_commands="$ac_config_commands test/Makefile"
1671 ac_config_commands="$ac_config_commands test/Makefile.tests"
1674 ac_config_commands="$ac_config_commands test/QMTestDB/QMTest/llvm.py"
1677 ac_config_commands="$ac_config_commands test/Programs/Makefile"
1680 ac_config_commands="$ac_config_commands test/Programs/Makefile.programs"
1683 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.Makefile"
1686 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.report"
1689 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.report"
1692 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.report"
1695 ac_config_commands="$ac_config_commands test/Programs/TEST.example.Makefile"
1698 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.Makefile"
1701 ac_config_commands="$ac_config_commands test/Programs/TEST.buildrepo.Makefile"
1704 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.Makefile"
1707 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.report"
1710 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.Makefile"
1713 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.report"
1716 ac_config_commands="$ac_config_commands test/Programs/TEST.typesafe.Makefile"
1719 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.gnuplot"
1722 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.Makefile"
1725 ac_config_commands="$ac_config_commands test/Programs/External/Makefile"
1728 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile"
1731 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile.spec"
1734 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/Makefile"
1737 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/179.art/Makefile"
1740 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/183.equake/Makefile"
1743 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/188.ammp/Makefile"
1746 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/Makefile"
1749 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/164.gzip/Makefile"
1752 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/175.vpr/Makefile"
1755 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/176.gcc/Makefile"
1758 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/181.mcf/Makefile"
1761 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/186.crafty/Makefile"
1764 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/197.parser/Makefile"
1767 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/254.gap/Makefile"
1770 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/255.vortex/Makefile"
1773 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile"
1776 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/300.twolf/Makefile"
1779 ac_config_commands="$ac_config_commands test/Programs/LLVMSource/Makefile"
1782 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile"
1785 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile.multisrc"
1788 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Makefile"
1791 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Burg/Makefile"
1794 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/aha/Makefile"
1797 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/sgefa/Makefile"
1800 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Makefile"
1803 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile"
1806 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/Makefile"
1809 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile"
1812 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile"
1815 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile"
1818 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile"
1821 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile"
1824 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile"
1827 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile"
1830 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile"
1833 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile"
1836 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile"
1839 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/Makefile"
1842 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile"
1845 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile"
1848 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile"
1851 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/health/Makefile"
1854 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile"
1857 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile"
1860 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/power/Makefile"
1863 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile"
1866 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile"
1869 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile"
1872 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile"
1875 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile"
1878 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile"
1881 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile"
1884 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile"
1887 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile"
1890 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile"
1893 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile"
1896 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/sim/Makefile"
1899 ac_config_commands="$ac_config_commands test/Programs/NoSource/Makefile"
1902 ac_config_commands="$ac_config_commands test/Programs/NoSource/Flex/Makefile"
1905 ac_config_commands="$ac_config_commands test/Programs/NoSource/Larn/Makefile"
1908 ac_config_commands="$ac_config_commands test/Programs/NoSource/Moria-5.5.2/Makefile"
1911 ac_config_commands="$ac_config_commands test/Programs/NoSource/Povray31/Makefile"
1914 ac_config_commands="$ac_config_commands test/Programs/NoSource/m4/Makefile"
1917 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile"
1920 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile.singlesrc"
1923 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Gizmos/Makefile"
1926 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Makefile"
1929 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile"
1932 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Shootout/Makefile"
1935 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Stanford/Makefile"
1938 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Misc/Makefile"
1941 ac_config_commands="$ac_config_commands test/Programs/SingleSource/CustomChecked/Makefile"
1944 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/Makefile"
1947 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile"
1950 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/Makefile"
1953 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C/Makefile"
1956 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C++/Makefile"
1959 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C++/EH/Makefile"
1962 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C++/CompileFail/Makefile"
1965 ac_config_commands="$ac_config_commands tools/Makefile"
1968 ac_config_commands="$ac_config_commands tools/analyze/Makefile"
1971 ac_config_commands="$ac_config_commands tools/bugpoint/Makefile"
1974 ac_config_commands="$ac_config_commands tools/extract/Makefile"
1977 ac_config_commands="$ac_config_commands tools/gccas/Makefile"
1980 ac_config_commands="$ac_config_commands tools/gccld/Makefile"
1983 ac_config_commands="$ac_config_commands tools/llc/Makefile"
1986 ac_config_commands="$ac_config_commands tools/llee/Makefile"
1989 ac_config_commands="$ac_config_commands tools/lli/Makefile"
1992 ac_config_commands="$ac_config_commands tools/llvm-ar/Makefile"
1995 ac_config_commands="$ac_config_commands tools/llvm-as/Makefile"
1998 ac_config_commands="$ac_config_commands tools/llvm-dis/Makefile"
2001 ac_config_commands="$ac_config_commands tools/llvm-link/Makefile"
2004 ac_config_commands="$ac_config_commands tools/opt/Makefile"
2007 ac_config_commands="$ac_config_commands www/docs/Makefile"
2010 ac_config_commands="$ac_config_commands projects/Makefile"
2013 ac_config_commands="$ac_config_commands projects/sample/Makefile"
2016 ac_config_commands="$ac_config_commands projects/sample/Makefile.common"
2019 ac_config_commands="$ac_config_commands projects/sample/Makefile.config"
2022 ac_config_commands="$ac_config_commands projects/sample/lib/Makefile"
2025 ac_config_commands="$ac_config_commands projects/sample/lib/sample/Makefile"
2028 ac_config_commands="$ac_config_commands projects/sample/tools/Makefile"
2031 ac_config_commands="$ac_config_commands projects/sample/tools/sample/Makefile"
2034 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile"
2037 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile.common"
2040 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/Makefile"
2043 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/ModuleMaker/Makefile"
2046 ac_config_commands="$ac_config_commands support/Makefile"
2049 ac_config_commands="$ac_config_commands support/lib/Makefile"
2052 ac_config_commands="$ac_config_commands support/lib/Support/Makefile"
2055 ac_config_commands="$ac_config_commands support/tools/Makefile"
2058 ac_config_commands="$ac_config_commands support/tools/Burg/Makefile"
2061 ac_config_commands="$ac_config_commands support/tools/Burg/Doc/Makefile"
2064 ac_config_commands="$ac_config_commands support/tools/TableGen/Makefile"
2069 # Find a good install program. We prefer a C program (faster),
2070 # so one script is as good as another. But avoid the broken or
2071 # incompatible versions:
2072 # SysV /etc/install, /usr/sbin/install
2073 # SunOS /usr/etc/install
2074 # IRIX /sbin/install
2076 # AmigaOS /C/install, which installs bootblocks on floppy discs
2077 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2078 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2079 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2080 # ./install, which can be erroneously created by make from ./install.sh.
2081 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2082 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2083 if test -z "$INSTALL"; then
2084 if test "${ac_cv_path_install+set}" = set; then
2085 echo $ECHO_N "(cached) $ECHO_C" >&6
2087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2091 test -z "$as_dir" && as_dir=.
2092 # Account for people who put trailing slashes in PATH elements.
2094 ./ | .// | /cC/* | \
2095 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2098 # OSF1 and SCO ODT 3.0 have their own names for install.
2099 # Don't use installbsd from OSF since it installs stuff as root
2101 for ac_prog in ginstall scoinst install; do
2102 for ac_exec_ext in '' $ac_executable_extensions; do
2103 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2104 if test $ac_prog = install &&
2105 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2106 # AIX install. It has an incompatible calling convention.
2108 elif test $ac_prog = install &&
2109 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2110 # program-specific install script used by HP pwplus--don't use.
2113 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2125 if test "${ac_cv_path_install+set}" = set; then
2126 INSTALL=$ac_cv_path_install
2128 # As a last resort, use the slow shell script. We don't cache a
2129 # path for INSTALL within a source directory, because that will
2130 # break other packages using the cache if that directory is
2131 # removed, or if the path is relative.
2132 INSTALL=$ac_install_sh
2135 echo "$as_me:$LINENO: result: $INSTALL" >&5
2136 echo "${ECHO_T}$INSTALL" >&6
2138 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2139 # It thinks the first close brace ends the variable substitution.
2140 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2142 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2144 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2147 # Make sure we can run config.sub.
2148 $ac_config_sub sun4 >/dev/null 2>&1 ||
2149 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2150 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2151 { (exit 1); exit 1; }; }
2153 echo "$as_me:$LINENO: checking build system type" >&5
2154 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2155 if test "${ac_cv_build+set}" = set; then
2156 echo $ECHO_N "(cached) $ECHO_C" >&6
2158 ac_cv_build_alias=$build_alias
2159 test -z "$ac_cv_build_alias" &&
2160 ac_cv_build_alias=`$ac_config_guess`
2161 test -z "$ac_cv_build_alias" &&
2162 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2163 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2164 { (exit 1); exit 1; }; }
2165 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2166 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2167 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2168 { (exit 1); exit 1; }; }
2171 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2172 echo "${ECHO_T}$ac_cv_build" >&6
2174 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2175 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2176 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2179 echo "$as_me:$LINENO: checking host system type" >&5
2180 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2181 if test "${ac_cv_host+set}" = set; then
2182 echo $ECHO_N "(cached) $ECHO_C" >&6
2184 ac_cv_host_alias=$host_alias
2185 test -z "$ac_cv_host_alias" &&
2186 ac_cv_host_alias=$ac_cv_build_alias
2187 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2188 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2189 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2190 { (exit 1); exit 1; }; }
2193 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2194 echo "${ECHO_T}$ac_cv_host" >&6
2196 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2197 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2198 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2201 echo "$as_me:$LINENO: checking target system type" >&5
2202 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2203 if test "${ac_cv_target+set}" = set; then
2204 echo $ECHO_N "(cached) $ECHO_C" >&6
2206 ac_cv_target_alias=$target_alias
2207 test "x$ac_cv_target_alias" = "x" &&
2208 ac_cv_target_alias=$ac_cv_host_alias
2209 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2210 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2211 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2212 { (exit 1); exit 1; }; }
2215 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2216 echo "${ECHO_T}$ac_cv_target" >&6
2217 target=$ac_cv_target
2218 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2219 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2220 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2223 # The aliases save the names the user supplied, while $host etc.
2224 # will get canonicalized.
2225 test -n "$target_alias" &&
2226 test "$program_prefix$program_suffix$program_transform_name" = \
2228 program_prefix=${target_alias}-
2233 LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/
2239 LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/
2249 *sparc*solaris*) target=sparcv9-sun-solaris2.8
2258 *sparc*solaris*) ARCH=Sparc
2265 ac_cpp='$CXXCPP $CPPFLAGS'
2266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2269 if test -n "$ac_tool_prefix"; then
2270 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2272 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2273 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2274 echo "$as_me:$LINENO: checking for $ac_word" >&5
2275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2276 if test "${ac_cv_prog_CXX+set}" = set; then
2277 echo $ECHO_N "(cached) $ECHO_C" >&6
2279 if test -n "$CXX"; then
2280 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2286 test -z "$as_dir" && as_dir=.
2287 for ac_exec_ext in '' $ac_executable_extensions; do
2288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2289 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2299 if test -n "$CXX"; then
2300 echo "$as_me:$LINENO: result: $CXX" >&5
2301 echo "${ECHO_T}$CXX" >&6
2303 echo "$as_me:$LINENO: result: no" >&5
2304 echo "${ECHO_T}no" >&6
2307 test -n "$CXX" && break
2310 if test -z "$CXX"; then
2312 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2314 # Extract the first word of "$ac_prog", so it can be a program name with args.
2315 set dummy $ac_prog; ac_word=$2
2316 echo "$as_me:$LINENO: checking for $ac_word" >&5
2317 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2318 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2319 echo $ECHO_N "(cached) $ECHO_C" >&6
2321 if test -n "$ac_ct_CXX"; then
2322 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2328 test -z "$as_dir" && as_dir=.
2329 for ac_exec_ext in '' $ac_executable_extensions; do
2330 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2331 ac_cv_prog_ac_ct_CXX="$ac_prog"
2332 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2340 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2341 if test -n "$ac_ct_CXX"; then
2342 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2343 echo "${ECHO_T}$ac_ct_CXX" >&6
2345 echo "$as_me:$LINENO: result: no" >&5
2346 echo "${ECHO_T}no" >&6
2349 test -n "$ac_ct_CXX" && break
2351 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2357 # Provide some information about the compiler.
2358 echo "$as_me:$LINENO:" \
2359 "checking for C++ compiler version" >&5
2360 ac_compiler=`set X $ac_compile; echo $2`
2361 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2362 (eval $ac_compiler --version </dev/null >&5) 2>&5
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }
2366 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2367 (eval $ac_compiler -v </dev/null >&5) 2>&5
2369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2370 (exit $ac_status); }
2371 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2372 (eval $ac_compiler -V </dev/null >&5) 2>&5
2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375 (exit $ac_status); }
2377 cat >conftest.$ac_ext <<_ACEOF
2378 #line $LINENO "configure"
2381 cat confdefs.h >>conftest.$ac_ext
2382 cat >>conftest.$ac_ext <<_ACEOF
2383 /* end confdefs.h. */
2393 ac_clean_files_save=$ac_clean_files
2394 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2395 # Try to create an executable without -o first, disregard a.out.
2396 # It will help us diagnose broken compilers, and finding out an intuition
2398 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
2399 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
2400 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2401 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2402 (eval $ac_link_default) 2>&5
2404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2405 (exit $ac_status); }; then
2406 # Find the output, starting from the most likely. This scheme is
2407 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2410 # Be careful to initialize this variable, since it used to be cached.
2411 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2413 # b.out is created by i960 compilers.
2414 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2416 test -f "$ac_file" || continue
2418 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2421 # This is the source file.
2424 # We found the default executable, but exeext='' is most
2428 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2429 # FIXME: I believe we export ac_cv_exeext for Libtool,
2430 # but it would be cool to find out if it's true. Does anybody
2431 # maintain Libtool? --akim.
2439 echo "$as_me: failed program was:" >&5
2440 sed 's/^/| /' conftest.$ac_ext >&5
2442 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2443 See \`config.log' for more details." >&5
2444 echo "$as_me: error: C++ compiler cannot create executables
2445 See \`config.log' for more details." >&2;}
2446 { (exit 77); exit 77; }; }
2449 ac_exeext=$ac_cv_exeext
2450 echo "$as_me:$LINENO: result: $ac_file" >&5
2451 echo "${ECHO_T}$ac_file" >&6
2453 # Check the compiler produces executables we can run. If not, either
2454 # the compiler is broken, or we cross compile.
2455 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2456 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2457 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2458 # If not cross compiling, check that we can run a simple program.
2459 if test "$cross_compiling" != yes; then
2460 if { ac_try='./$ac_file'
2461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2465 (exit $ac_status); }; }; then
2468 if test "$cross_compiling" = maybe; then
2471 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2472 If you meant to cross compile, use \`--host'.
2473 See \`config.log' for more details." >&5
2474 echo "$as_me: error: cannot run C++ compiled programs.
2475 If you meant to cross compile, use \`--host'.
2476 See \`config.log' for more details." >&2;}
2477 { (exit 1); exit 1; }; }
2481 echo "$as_me:$LINENO: result: yes" >&5
2482 echo "${ECHO_T}yes" >&6
2484 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2485 ac_clean_files=$ac_clean_files_save
2486 # Check the compiler produces executables we can run. If not, either
2487 # the compiler is broken, or we cross compile.
2488 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2489 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2490 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2491 echo "${ECHO_T}$cross_compiling" >&6
2493 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2494 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2496 (eval $ac_link) 2>&5
2498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2499 (exit $ac_status); }; then
2500 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2501 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2502 # work properly (i.e., refer to `conftest.exe'), while it won't with
2504 for ac_file in conftest.exe conftest conftest.*; do
2505 test -f "$ac_file" || continue
2507 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2508 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2515 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2516 See \`config.log' for more details." >&5
2517 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2518 See \`config.log' for more details." >&2;}
2519 { (exit 1); exit 1; }; }
2522 rm -f conftest$ac_cv_exeext
2523 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2524 echo "${ECHO_T}$ac_cv_exeext" >&6
2526 rm -f conftest.$ac_ext
2527 EXEEXT=$ac_cv_exeext
2529 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2530 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2531 if test "${ac_cv_objext+set}" = set; then
2532 echo $ECHO_N "(cached) $ECHO_C" >&6
2534 cat >conftest.$ac_ext <<_ACEOF
2535 #line $LINENO "configure"
2538 cat confdefs.h >>conftest.$ac_ext
2539 cat >>conftest.$ac_ext <<_ACEOF
2540 /* end confdefs.h. */
2550 rm -f conftest.o conftest.obj
2551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2552 (eval $ac_compile) 2>&5
2554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2555 (exit $ac_status); }; then
2556 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2558 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2559 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2564 echo "$as_me: failed program was:" >&5
2565 sed 's/^/| /' conftest.$ac_ext >&5
2567 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2568 See \`config.log' for more details." >&5
2569 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2570 See \`config.log' for more details." >&2;}
2571 { (exit 1); exit 1; }; }
2574 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2576 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2577 echo "${ECHO_T}$ac_cv_objext" >&6
2578 OBJEXT=$ac_cv_objext
2580 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2581 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2582 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2583 echo $ECHO_N "(cached) $ECHO_C" >&6
2585 cat >conftest.$ac_ext <<_ACEOF
2586 #line $LINENO "configure"
2589 cat confdefs.h >>conftest.$ac_ext
2590 cat >>conftest.$ac_ext <<_ACEOF
2591 /* end confdefs.h. */
2604 rm -f conftest.$ac_objext
2605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2606 (eval $ac_compile) 2>&5
2608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2609 (exit $ac_status); } &&
2610 { ac_try='test -s conftest.$ac_objext'
2611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615 (exit $ac_status); }; }; then
2618 echo "$as_me: failed program was:" >&5
2619 sed 's/^/| /' conftest.$ac_ext >&5
2623 rm -f conftest.$ac_objext conftest.$ac_ext
2624 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2627 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2628 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2629 GXX=`test $ac_compiler_gnu = yes && echo yes`
2630 ac_test_CXXFLAGS=${CXXFLAGS+set}
2631 ac_save_CXXFLAGS=$CXXFLAGS
2633 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2634 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2635 if test "${ac_cv_prog_cxx_g+set}" = set; then
2636 echo $ECHO_N "(cached) $ECHO_C" >&6
2638 cat >conftest.$ac_ext <<_ACEOF
2639 #line $LINENO "configure"
2642 cat confdefs.h >>conftest.$ac_ext
2643 cat >>conftest.$ac_ext <<_ACEOF
2644 /* end confdefs.h. */
2654 rm -f conftest.$ac_objext
2655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2656 (eval $ac_compile) 2>&5
2658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659 (exit $ac_status); } &&
2660 { ac_try='test -s conftest.$ac_objext'
2661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2665 (exit $ac_status); }; }; then
2666 ac_cv_prog_cxx_g=yes
2668 echo "$as_me: failed program was:" >&5
2669 sed 's/^/| /' conftest.$ac_ext >&5
2673 rm -f conftest.$ac_objext conftest.$ac_ext
2675 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2676 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2677 if test "$ac_test_CXXFLAGS" = set; then
2678 CXXFLAGS=$ac_save_CXXFLAGS
2679 elif test $ac_cv_prog_cxx_g = yes; then
2680 if test "$GXX" = yes; then
2686 if test "$GXX" = yes; then
2692 for ac_declaration in \
2694 '#include <stdlib.h>' \
2695 'extern "C" void std::exit (int) throw (); using std::exit;' \
2696 'extern "C" void std::exit (int); using std::exit;' \
2697 'extern "C" void exit (int) throw ();' \
2698 'extern "C" void exit (int);' \
2701 cat >conftest.$ac_ext <<_ACEOF
2702 #line $LINENO "configure"
2705 cat confdefs.h >>conftest.$ac_ext
2706 cat >>conftest.$ac_ext <<_ACEOF
2707 /* end confdefs.h. */
2718 rm -f conftest.$ac_objext
2719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2720 (eval $ac_compile) 2>&5
2722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2723 (exit $ac_status); } &&
2724 { ac_try='test -s conftest.$ac_objext'
2725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2729 (exit $ac_status); }; }; then
2732 echo "$as_me: failed program was:" >&5
2733 sed 's/^/| /' conftest.$ac_ext >&5
2737 rm -f conftest.$ac_objext conftest.$ac_ext
2738 cat >conftest.$ac_ext <<_ACEOF
2739 #line $LINENO "configure"
2742 cat confdefs.h >>conftest.$ac_ext
2743 cat >>conftest.$ac_ext <<_ACEOF
2744 /* end confdefs.h. */
2754 rm -f conftest.$ac_objext
2755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2756 (eval $ac_compile) 2>&5
2758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2759 (exit $ac_status); } &&
2760 { ac_try='test -s conftest.$ac_objext'
2761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2765 (exit $ac_status); }; }; then
2768 echo "$as_me: failed program was:" >&5
2769 sed 's/^/| /' conftest.$ac_ext >&5
2772 rm -f conftest.$ac_objext conftest.$ac_ext
2775 if test -n "$ac_declaration"; then
2776 echo '#ifdef __cplusplus' >>confdefs.h
2777 echo $ac_declaration >>confdefs.h
2778 echo '#endif' >>confdefs.h
2782 ac_cpp='$CPP $CPPFLAGS'
2783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2788 ac_cpp='$CPP $CPPFLAGS'
2789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2792 if test -n "$ac_tool_prefix"; then
2795 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2796 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2797 echo "$as_me:$LINENO: checking for $ac_word" >&5
2798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2799 if test "${ac_cv_prog_CC+set}" = set; then
2800 echo $ECHO_N "(cached) $ECHO_C" >&6
2802 if test -n "$CC"; then
2803 ac_cv_prog_CC="$CC" # Let the user override the test.
2805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2809 test -z "$as_dir" && as_dir=.
2810 for ac_exec_ext in '' $ac_executable_extensions; do
2811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2812 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2822 if test -n "$CC"; then
2823 echo "$as_me:$LINENO: result: $CC" >&5
2824 echo "${ECHO_T}$CC" >&6
2826 echo "$as_me:$LINENO: result: no" >&5
2827 echo "${ECHO_T}no" >&6
2830 test -n "$CC" && break
2833 if test -z "$CC"; then
2837 # Extract the first word of "$ac_prog", so it can be a program name with args.
2838 set dummy $ac_prog; ac_word=$2
2839 echo "$as_me:$LINENO: checking for $ac_word" >&5
2840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2841 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2842 echo $ECHO_N "(cached) $ECHO_C" >&6
2844 if test -n "$ac_ct_CC"; then
2845 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2851 test -z "$as_dir" && as_dir=.
2852 for ac_exec_ext in '' $ac_executable_extensions; do
2853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2854 ac_cv_prog_ac_ct_CC="$ac_prog"
2855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2863 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2864 if test -n "$ac_ct_CC"; then
2865 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2866 echo "${ECHO_T}$ac_ct_CC" >&6
2868 echo "$as_me:$LINENO: result: no" >&5
2869 echo "${ECHO_T}no" >&6
2872 test -n "$ac_ct_CC" && break
2879 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2880 See \`config.log' for more details." >&5
2881 echo "$as_me: error: no acceptable C compiler found in \$PATH
2882 See \`config.log' for more details." >&2;}
2883 { (exit 1); exit 1; }; }
2885 # Provide some information about the compiler.
2886 echo "$as_me:$LINENO:" \
2887 "checking for C compiler version" >&5
2888 ac_compiler=`set X $ac_compile; echo $2`
2889 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2890 (eval $ac_compiler --version </dev/null >&5) 2>&5
2892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2893 (exit $ac_status); }
2894 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2895 (eval $ac_compiler -v </dev/null >&5) 2>&5
2897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2898 (exit $ac_status); }
2899 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2900 (eval $ac_compiler -V </dev/null >&5) 2>&5
2902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903 (exit $ac_status); }
2905 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2906 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2907 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2908 echo $ECHO_N "(cached) $ECHO_C" >&6
2910 cat >conftest.$ac_ext <<_ACEOF
2911 #line $LINENO "configure"
2914 cat confdefs.h >>conftest.$ac_ext
2915 cat >>conftest.$ac_ext <<_ACEOF
2916 /* end confdefs.h. */
2929 rm -f conftest.$ac_objext
2930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2931 (eval $ac_compile) 2>&5
2933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934 (exit $ac_status); } &&
2935 { ac_try='test -s conftest.$ac_objext'
2936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940 (exit $ac_status); }; }; then
2943 echo "$as_me: failed program was:" >&5
2944 sed 's/^/| /' conftest.$ac_ext >&5
2948 rm -f conftest.$ac_objext conftest.$ac_ext
2949 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2952 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2953 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2954 GCC=`test $ac_compiler_gnu = yes && echo yes`
2955 ac_test_CFLAGS=${CFLAGS+set}
2956 ac_save_CFLAGS=$CFLAGS
2958 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2959 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2960 if test "${ac_cv_prog_cc_g+set}" = set; then
2961 echo $ECHO_N "(cached) $ECHO_C" >&6
2963 cat >conftest.$ac_ext <<_ACEOF
2964 #line $LINENO "configure"
2967 cat confdefs.h >>conftest.$ac_ext
2968 cat >>conftest.$ac_ext <<_ACEOF
2969 /* end confdefs.h. */
2979 rm -f conftest.$ac_objext
2980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2981 (eval $ac_compile) 2>&5
2983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2984 (exit $ac_status); } &&
2985 { ac_try='test -s conftest.$ac_objext'
2986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2990 (exit $ac_status); }; }; then
2993 echo "$as_me: failed program was:" >&5
2994 sed 's/^/| /' conftest.$ac_ext >&5
2998 rm -f conftest.$ac_objext conftest.$ac_ext
3000 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3001 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3002 if test "$ac_test_CFLAGS" = set; then
3003 CFLAGS=$ac_save_CFLAGS
3004 elif test $ac_cv_prog_cc_g = yes; then
3005 if test "$GCC" = yes; then
3011 if test "$GCC" = yes; then
3017 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3018 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3019 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3020 echo $ECHO_N "(cached) $ECHO_C" >&6
3022 ac_cv_prog_cc_stdc=no
3024 cat >conftest.$ac_ext <<_ACEOF
3025 #line $LINENO "configure"
3028 cat confdefs.h >>conftest.$ac_ext
3029 cat >>conftest.$ac_ext <<_ACEOF
3030 /* end confdefs.h. */
3033 #include <sys/types.h>
3034 #include <sys/stat.h>
3035 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3036 struct buf { int x; };
3037 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3038 static char *e (p, i)
3044 static char *f (char * (*g) (char **, int), char **p, ...)
3049 s = g (p, va_arg (v,int));
3053 int test (int i, double x);
3054 struct s1 {int (*f) (int a);};
3055 struct s2 {int (*f) (double a);};
3056 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3062 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3067 # Don't try gcc -ansi; that turns off useful extensions and
3068 # breaks some systems' header files.
3069 # AIX -qlanglvl=ansi
3070 # Ultrix and OSF/1 -std1
3071 # HP-UX 10.20 and later -Ae
3072 # HP-UX older versions -Aa -D_HPUX_SOURCE
3073 # SVR4 -Xc -D__EXTENSIONS__
3074 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3076 CC="$ac_save_CC $ac_arg"
3077 rm -f conftest.$ac_objext
3078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3079 (eval $ac_compile) 2>&5
3081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3082 (exit $ac_status); } &&
3083 { ac_try='test -s conftest.$ac_objext'
3084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088 (exit $ac_status); }; }; then
3089 ac_cv_prog_cc_stdc=$ac_arg
3092 echo "$as_me: failed program was:" >&5
3093 sed 's/^/| /' conftest.$ac_ext >&5
3096 rm -f conftest.$ac_objext
3098 rm -f conftest.$ac_ext conftest.$ac_objext
3103 case "x$ac_cv_prog_cc_stdc" in
3105 echo "$as_me:$LINENO: result: none needed" >&5
3106 echo "${ECHO_T}none needed" >&6 ;;
3108 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3109 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3110 CC="$CC $ac_cv_prog_cc_stdc" ;;
3113 # Some people use a C++ compiler to compile C. Since we use `exit',
3114 # in C++ we need to declare it. In case someone uses the same compiler
3115 # for both compiling C and C++ we need to have the C++ compiler decide
3116 # the declaration of exit, since it's the most demanding environment.
3117 cat >conftest.$ac_ext <<_ACEOF
3122 rm -f conftest.$ac_objext
3123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3124 (eval $ac_compile) 2>&5
3126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127 (exit $ac_status); } &&
3128 { ac_try='test -s conftest.$ac_objext'
3129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3133 (exit $ac_status); }; }; then
3134 for ac_declaration in \
3136 '#include <stdlib.h>' \
3137 'extern "C" void std::exit (int) throw (); using std::exit;' \
3138 'extern "C" void std::exit (int); using std::exit;' \
3139 'extern "C" void exit (int) throw ();' \
3140 'extern "C" void exit (int);' \
3143 cat >conftest.$ac_ext <<_ACEOF
3144 #line $LINENO "configure"
3147 cat confdefs.h >>conftest.$ac_ext
3148 cat >>conftest.$ac_ext <<_ACEOF
3149 /* end confdefs.h. */
3160 rm -f conftest.$ac_objext
3161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3162 (eval $ac_compile) 2>&5
3164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3165 (exit $ac_status); } &&
3166 { ac_try='test -s conftest.$ac_objext'
3167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3171 (exit $ac_status); }; }; then
3174 echo "$as_me: failed program was:" >&5
3175 sed 's/^/| /' conftest.$ac_ext >&5
3179 rm -f conftest.$ac_objext conftest.$ac_ext
3180 cat >conftest.$ac_ext <<_ACEOF
3181 #line $LINENO "configure"
3184 cat confdefs.h >>conftest.$ac_ext
3185 cat >>conftest.$ac_ext <<_ACEOF
3186 /* end confdefs.h. */
3196 rm -f conftest.$ac_objext
3197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3198 (eval $ac_compile) 2>&5
3200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201 (exit $ac_status); } &&
3202 { ac_try='test -s conftest.$ac_objext'
3203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3207 (exit $ac_status); }; }; then
3210 echo "$as_me: failed program was:" >&5
3211 sed 's/^/| /' conftest.$ac_ext >&5
3214 rm -f conftest.$ac_objext conftest.$ac_ext
3217 if test -n "$ac_declaration"; then
3218 echo '#ifdef __cplusplus' >>confdefs.h
3219 echo $ac_declaration >>confdefs.h
3220 echo '#endif' >>confdefs.h
3224 echo "$as_me: failed program was:" >&5
3225 sed 's/^/| /' conftest.$ac_ext >&5
3228 rm -f conftest.$ac_objext conftest.$ac_ext
3230 ac_cpp='$CPP $CPPFLAGS'
3231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3236 ac_cpp='$CPP $CPPFLAGS'
3237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3240 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3241 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3242 # On Suns, sometimes $CPP names a directory.
3243 if test -n "$CPP" && test -d "$CPP"; then
3246 if test -z "$CPP"; then
3247 if test "${ac_cv_prog_CPP+set}" = set; then
3248 echo $ECHO_N "(cached) $ECHO_C" >&6
3250 # Double quotes because CPP needs to be expanded
3251 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3254 for ac_c_preproc_warn_flag in '' yes
3256 # Use a header file that comes with gcc, so configuring glibc
3257 # with a fresh cross-compiler works.
3258 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3259 # <limits.h> exists even on freestanding compilers.
3260 # On the NeXT, cc -E runs the code through the compiler's parser,
3261 # not just through cpp. "Syntax error" is here to catch this case.
3262 cat >conftest.$ac_ext <<_ACEOF
3263 #line $LINENO "configure"
3266 cat confdefs.h >>conftest.$ac_ext
3267 cat >>conftest.$ac_ext <<_ACEOF
3268 /* end confdefs.h. */
3270 # include <limits.h>
3272 # include <assert.h>
3276 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3277 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3279 grep -v '^ *+' conftest.er1 >conftest.err
3281 cat conftest.err >&5
3282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3283 (exit $ac_status); } >/dev/null; then
3284 if test -s conftest.err; then
3285 ac_cpp_err=$ac_c_preproc_warn_flag
3292 if test -z "$ac_cpp_err"; then
3295 echo "$as_me: failed program was:" >&5
3296 sed 's/^/| /' conftest.$ac_ext >&5
3298 # Broken: fails on valid input.
3301 rm -f conftest.err conftest.$ac_ext
3303 # OK, works on sane cases. Now check whether non-existent headers
3304 # can be detected and how.
3305 cat >conftest.$ac_ext <<_ACEOF
3306 #line $LINENO "configure"
3309 cat confdefs.h >>conftest.$ac_ext
3310 cat >>conftest.$ac_ext <<_ACEOF
3311 /* end confdefs.h. */
3312 #include <ac_nonexistent.h>
3314 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3315 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3317 grep -v '^ *+' conftest.er1 >conftest.err
3319 cat conftest.err >&5
3320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321 (exit $ac_status); } >/dev/null; then
3322 if test -s conftest.err; then
3323 ac_cpp_err=$ac_c_preproc_warn_flag
3330 if test -z "$ac_cpp_err"; then
3331 # Broken: success on invalid input.
3334 echo "$as_me: failed program was:" >&5
3335 sed 's/^/| /' conftest.$ac_ext >&5
3337 # Passes both tests.
3341 rm -f conftest.err conftest.$ac_ext
3344 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3345 rm -f conftest.err conftest.$ac_ext
3346 if $ac_preproc_ok; then
3358 echo "$as_me:$LINENO: result: $CPP" >&5
3359 echo "${ECHO_T}$CPP" >&6
3361 for ac_c_preproc_warn_flag in '' yes
3363 # Use a header file that comes with gcc, so configuring glibc
3364 # with a fresh cross-compiler works.
3365 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3366 # <limits.h> exists even on freestanding compilers.
3367 # On the NeXT, cc -E runs the code through the compiler's parser,
3368 # not just through cpp. "Syntax error" is here to catch this case.
3369 cat >conftest.$ac_ext <<_ACEOF
3370 #line $LINENO "configure"
3373 cat confdefs.h >>conftest.$ac_ext
3374 cat >>conftest.$ac_ext <<_ACEOF
3375 /* end confdefs.h. */
3377 # include <limits.h>
3379 # include <assert.h>
3383 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3384 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3386 grep -v '^ *+' conftest.er1 >conftest.err
3388 cat conftest.err >&5
3389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3390 (exit $ac_status); } >/dev/null; then
3391 if test -s conftest.err; then
3392 ac_cpp_err=$ac_c_preproc_warn_flag
3399 if test -z "$ac_cpp_err"; then
3402 echo "$as_me: failed program was:" >&5
3403 sed 's/^/| /' conftest.$ac_ext >&5
3405 # Broken: fails on valid input.
3408 rm -f conftest.err conftest.$ac_ext
3410 # OK, works on sane cases. Now check whether non-existent headers
3411 # can be detected and how.
3412 cat >conftest.$ac_ext <<_ACEOF
3413 #line $LINENO "configure"
3416 cat confdefs.h >>conftest.$ac_ext
3417 cat >>conftest.$ac_ext <<_ACEOF
3418 /* end confdefs.h. */
3419 #include <ac_nonexistent.h>
3421 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3422 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3424 grep -v '^ *+' conftest.er1 >conftest.err
3426 cat conftest.err >&5
3427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3428 (exit $ac_status); } >/dev/null; then
3429 if test -s conftest.err; then
3430 ac_cpp_err=$ac_c_preproc_warn_flag
3437 if test -z "$ac_cpp_err"; then
3438 # Broken: success on invalid input.
3441 echo "$as_me: failed program was:" >&5
3442 sed 's/^/| /' conftest.$ac_ext >&5
3444 # Passes both tests.
3448 rm -f conftest.err conftest.$ac_ext
3451 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3452 rm -f conftest.err conftest.$ac_ext
3453 if $ac_preproc_ok; then
3456 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3457 See \`config.log' for more details." >&5
3458 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3459 See \`config.log' for more details." >&2;}
3460 { (exit 1); exit 1; }; }
3464 ac_cpp='$CPP $CPPFLAGS'
3465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3470 if test "$GCC" != "yes"
3472 { { echo "$as_me:$LINENO: error: gcc required but not found" >&5
3473 echo "$as_me: error: gcc required but not found" >&2;}
3474 { (exit 1); exit 1; }; }
3477 if test "$GXX" != "yes"
3479 { { echo "$as_me:$LINENO: error: g++ required but not found" >&5
3480 echo "$as_me: error: g++ required but not found" >&2;}
3481 { (exit 1); exit 1; }; }
3484 gccmajor=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1`
3485 if test "$gccmajor" -lt "3"
3487 { { echo "$as_me:$LINENO: error: gcc 3.x required" >&5
3488 echo "$as_me: error: gcc 3.x required" >&2;}
3489 { (exit 1); exit 1; }; }
3492 echo "$as_me:$LINENO: checking for GNU make" >&5
3493 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
3494 if test "${_cv_gnu_make_command+set}" = set; then
3495 echo $ECHO_N "(cached) $ECHO_C" >&6
3497 _cv_gnu_make_command='' ;
3498 for a in "$MAKE" make gmake gnumake ; do
3499 if test -z "$a" ; then continue ; fi ;
3500 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
3501 _cv_gnu_make_command=$a ;
3507 echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5
3508 echo "${ECHO_T}$_cv_gnu_make_command" >&6 ;
3509 if test "x$_cv_gnu_make_command" != "x" ; then
3513 echo "$as_me:$LINENO: result: \"Not found\"" >&5
3514 echo "${ECHO_T}\"Not found\"" >&6;
3518 if test -z "$_cv_gnu_make_command"
3520 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
3521 echo "$as_me: error: GNU Make required but not found" >&2;}
3522 { (exit 1); exit 1; }; }
3526 echo "$as_me:$LINENO: checking " >&5
3527 echo $ECHO_N "checking ... $ECHO_C" >&6
3528 if test "${ac_cv_has_flex+set}" = set; then
3529 echo $ECHO_N "(cached) $ECHO_C" >&6
3531 for ac_prog in flex lex
3533 # Extract the first word of "$ac_prog", so it can be a program name with args.
3534 set dummy $ac_prog; ac_word=$2
3535 echo "$as_me:$LINENO: checking for $ac_word" >&5
3536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3537 if test "${ac_cv_prog_LEX+set}" = set; then
3538 echo $ECHO_N "(cached) $ECHO_C" >&6
3540 if test -n "$LEX"; then
3541 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3547 test -z "$as_dir" && as_dir=.
3548 for ac_exec_ext in '' $ac_executable_extensions; do
3549 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3550 ac_cv_prog_LEX="$ac_prog"
3551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3560 if test -n "$LEX"; then
3561 echo "$as_me:$LINENO: result: $LEX" >&5
3562 echo "${ECHO_T}$LEX" >&6
3564 echo "$as_me:$LINENO: result: no" >&5
3565 echo "${ECHO_T}no" >&6
3568 test -n "$LEX" && break
3570 test -n "$LEX" || LEX=":"
3572 if test -z "$LEXLIB"
3574 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3575 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3576 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3577 echo $ECHO_N "(cached) $ECHO_C" >&6
3579 ac_check_lib_save_LIBS=$LIBS
3581 cat >conftest.$ac_ext <<_ACEOF
3582 #line $LINENO "configure"
3585 cat confdefs.h >>conftest.$ac_ext
3586 cat >>conftest.$ac_ext <<_ACEOF
3587 /* end confdefs.h. */
3589 /* Override any gcc2 internal prototype to avoid an error. */
3593 /* We use char because int might match the return type of a gcc2
3594 builtin and then its argument prototype would still apply. */
3604 rm -f conftest.$ac_objext conftest$ac_exeext
3605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3606 (eval $ac_link) 2>&5
3608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3609 (exit $ac_status); } &&
3610 { ac_try='test -s conftest$ac_exeext'
3611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3615 (exit $ac_status); }; }; then
3616 ac_cv_lib_fl_yywrap=yes
3618 echo "$as_me: failed program was:" >&5
3619 sed 's/^/| /' conftest.$ac_ext >&5
3621 ac_cv_lib_fl_yywrap=no
3623 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3624 LIBS=$ac_check_lib_save_LIBS
3626 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3627 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3628 if test $ac_cv_lib_fl_yywrap = yes; then
3631 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3632 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3633 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3634 echo $ECHO_N "(cached) $ECHO_C" >&6
3636 ac_check_lib_save_LIBS=$LIBS
3638 cat >conftest.$ac_ext <<_ACEOF
3639 #line $LINENO "configure"
3642 cat confdefs.h >>conftest.$ac_ext
3643 cat >>conftest.$ac_ext <<_ACEOF
3644 /* end confdefs.h. */
3646 /* Override any gcc2 internal prototype to avoid an error. */
3650 /* We use char because int might match the return type of a gcc2
3651 builtin and then its argument prototype would still apply. */
3661 rm -f conftest.$ac_objext conftest$ac_exeext
3662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3663 (eval $ac_link) 2>&5
3665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3666 (exit $ac_status); } &&
3667 { ac_try='test -s conftest$ac_exeext'
3668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672 (exit $ac_status); }; }; then
3673 ac_cv_lib_l_yywrap=yes
3675 echo "$as_me: failed program was:" >&5
3676 sed 's/^/| /' conftest.$ac_ext >&5
3678 ac_cv_lib_l_yywrap=no
3680 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3681 LIBS=$ac_check_lib_save_LIBS
3683 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3684 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3685 if test $ac_cv_lib_l_yywrap = yes; then
3693 if test "x$LEX" != "x:"; then
3694 echo "$as_me:$LINENO: checking lex output file root" >&5
3695 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3696 if test "${ac_cv_prog_lex_root+set}" = set; then
3697 echo $ECHO_N "(cached) $ECHO_C" >&6
3699 # The minimal lex program is just a single line: %%. But some broken lexes
3700 # (Solaris, I think it was) want two %% lines, so accommodate them.
3701 cat >conftest.l <<_ACEOF
3705 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3706 (eval $LEX conftest.l) 2>&5
3708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3709 (exit $ac_status); }
3710 if test -f lex.yy.c; then
3711 ac_cv_prog_lex_root=lex.yy
3712 elif test -f lexyy.c; then
3713 ac_cv_prog_lex_root=lexyy
3715 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3716 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3717 { (exit 1); exit 1; }; }
3720 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3721 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3723 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3725 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3726 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3727 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3728 echo $ECHO_N "(cached) $ECHO_C" >&6
3730 # POSIX says lex can declare yytext either as a pointer or an array; the
3731 # default is implementation-dependent. Figure out which it is, since
3732 # not all implementations provide the %pointer and %array declarations.
3733 ac_cv_prog_lex_yytext_pointer=no
3734 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3736 LIBS="$LIBS $LEXLIB"
3737 cat >conftest.$ac_ext <<_ACEOF
3738 `cat $LEX_OUTPUT_ROOT.c`
3740 rm -f conftest.$ac_objext conftest$ac_exeext
3741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3742 (eval $ac_link) 2>&5
3744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3745 (exit $ac_status); } &&
3746 { ac_try='test -s conftest$ac_exeext'
3747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3751 (exit $ac_status); }; }; then
3752 ac_cv_prog_lex_yytext_pointer=yes
3754 echo "$as_me: failed program was:" >&5
3755 sed 's/^/| /' conftest.$ac_ext >&5
3758 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3760 rm -f "${LEX_OUTPUT_ROOT}.c"
3763 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3764 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3765 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3767 cat >>confdefs.h <<\_ACEOF
3768 #define YYTEXT_POINTER 1
3776 echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
3777 echo "${ECHO_T}$ac_cv_has_flex" >&6
3778 if test "$LEX" != "flex"; then
3779 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
3780 echo "$as_me: error: flex not found but required" >&2;}
3781 { (exit 1); exit 1; }; }
3784 echo "$as_me:$LINENO: checking " >&5
3785 echo $ECHO_N "checking ... $ECHO_C" >&6
3786 if test "${ac_cv_has_bison+set}" = set; then
3787 echo $ECHO_N "(cached) $ECHO_C" >&6
3789 for ac_prog in 'bison -y' byacc
3791 # Extract the first word of "$ac_prog", so it can be a program name with args.
3792 set dummy $ac_prog; ac_word=$2
3793 echo "$as_me:$LINENO: checking for $ac_word" >&5
3794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3795 if test "${ac_cv_prog_YACC+set}" = set; then
3796 echo $ECHO_N "(cached) $ECHO_C" >&6
3798 if test -n "$YACC"; then
3799 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3805 test -z "$as_dir" && as_dir=.
3806 for ac_exec_ext in '' $ac_executable_extensions; do
3807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3808 ac_cv_prog_YACC="$ac_prog"
3809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3817 YACC=$ac_cv_prog_YACC
3818 if test -n "$YACC"; then
3819 echo "$as_me:$LINENO: result: $YACC" >&5
3820 echo "${ECHO_T}$YACC" >&6
3822 echo "$as_me:$LINENO: result: no" >&5
3823 echo "${ECHO_T}no" >&6
3826 test -n "$YACC" && break
3828 test -n "$YACC" || YACC="yacc"
3832 echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5
3833 echo "${ECHO_T}$ac_cv_has_bison" >&6
3834 if test "$YACC" != "bison -y"; then
3835 { { echo "$as_me:$LINENO: error: bison not found but required" >&5
3836 echo "$as_me: error: bison not found but required" >&2;}
3837 { (exit 1); exit 1; }; }
3844 # Check whether --enable-shared or --disable-shared was given.
3845 if test "${enable_shared+set}" = set; then
3846 enableval="$enable_shared"
3847 p=${PACKAGE-default}
3849 yes) enable_shared=yes ;;
3850 no) enable_shared=no ;;
3853 # Look at the argument we got. We use all the common list separators.
3854 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3855 for pkg in $enableval; do
3857 if test "X$pkg" = "X$p"; then
3868 # Check whether --enable-static or --disable-static was given.
3869 if test "${enable_static+set}" = set; then
3870 enableval="$enable_static"
3871 p=${PACKAGE-default}
3873 yes) enable_static=yes ;;
3874 no) enable_static=no ;;
3877 # Look at the argument we got. We use all the common list separators.
3878 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3879 for pkg in $enableval; do
3881 if test "X$pkg" = "X$p"; then
3892 # Check whether --enable-fast-install or --disable-fast-install was given.
3893 if test "${enable_fast_install+set}" = set; then
3894 enableval="$enable_fast_install"
3895 p=${PACKAGE-default}
3897 yes) enable_fast_install=yes ;;
3898 no) enable_fast_install=no ;;
3900 enable_fast_install=no
3901 # Look at the argument we got. We use all the common list separators.
3902 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3903 for pkg in $enableval; do
3905 if test "X$pkg" = "X$p"; then
3906 enable_fast_install=yes
3913 enable_fast_install=yes
3916 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3917 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3918 if test "${lt_cv_path_SED+set}" = set; then
3919 echo $ECHO_N "(cached) $ECHO_C" >&6
3921 # Loop through the user's path and test for sed and gsed.
3922 # Then use that list of sed's as ones to test for truncation.
3923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3927 test -z "$as_dir" && as_dir=.
3928 for lt_ac_prog in sed gsed; do
3929 for ac_exec_ext in '' $ac_executable_extensions; do
3930 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3931 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3938 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3939 # along with /bin/sed that truncates output.
3940 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3941 test ! -f $lt_ac_sed && break
3942 cat /dev/null > conftest.in
3944 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3945 # Check for GNU sed and select it if it is found.
3946 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3947 lt_cv_path_SED=$lt_ac_sed
3951 cat conftest.in conftest.in >conftest.tmp
3952 mv conftest.tmp conftest.in
3953 cp conftest.in conftest.nl
3955 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3956 cmp -s conftest.out conftest.nl || break
3957 # 10000 chars as input seems more than enough
3958 test $lt_ac_count -gt 10 && break
3959 lt_ac_count=`expr $lt_ac_count + 1`
3960 if test $lt_ac_count -gt $lt_ac_max; then
3961 lt_ac_max=$lt_ac_count
3962 lt_cv_path_SED=$lt_ac_sed
3970 echo "$as_me:$LINENO: result: $SED" >&5
3971 echo "${ECHO_T}$SED" >&6
3973 echo "$as_me:$LINENO: checking for egrep" >&5
3974 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3975 if test "${ac_cv_prog_egrep+set}" = set; then
3976 echo $ECHO_N "(cached) $ECHO_C" >&6
3978 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3979 then ac_cv_prog_egrep='grep -E'
3980 else ac_cv_prog_egrep='egrep'
3983 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3984 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3985 EGREP=$ac_cv_prog_egrep
3989 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3990 if test "${with_gnu_ld+set}" = set; then
3991 withval="$with_gnu_ld"
3992 test "$withval" = no || with_gnu_ld=yes
3997 if test "$GCC" = yes; then
3998 # Check if gcc -print-prog-name=ld gives a path.
3999 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4000 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4003 # gcc leaves a trailing carriage return which upsets mingw
4004 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4006 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4009 # Accept absolute paths.
4011 re_direlt='/[^/][^/]*/\.\./'
4012 # Canonicalize the path of ld
4013 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4014 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4015 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4017 test -z "$LD" && LD="$ac_prog"
4020 # If it fails, then pretend we aren't using GCC.
4024 # If it is relative, then search for the first ld in PATH.
4028 elif test "$with_gnu_ld" = yes; then
4029 echo "$as_me:$LINENO: checking for GNU ld" >&5
4030 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4032 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4033 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4035 if test "${lt_cv_path_LD+set}" = set; then
4036 echo $ECHO_N "(cached) $ECHO_C" >&6
4038 if test -z "$LD"; then
4039 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4040 for ac_dir in $PATH; do
4042 test -z "$ac_dir" && ac_dir=.
4043 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4044 lt_cv_path_LD="$ac_dir/$ac_prog"
4045 # Check to see if the program is GNU ld. I'd rather use --version,
4046 # but apparently some GNU ld's only accept -v.
4047 # Break only if it was the GNU/non-GNU ld that we prefer.
4048 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4049 *GNU* | *'with BFD'*)
4050 test "$with_gnu_ld" != no && break
4053 test "$with_gnu_ld" != yes && break
4060 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4065 if test -n "$LD"; then
4066 echo "$as_me:$LINENO: result: $LD" >&5
4067 echo "${ECHO_T}$LD" >&6
4069 echo "$as_me:$LINENO: result: no" >&5
4070 echo "${ECHO_T}no" >&6
4072 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4073 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4074 { (exit 1); exit 1; }; }
4075 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4076 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4077 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4078 echo $ECHO_N "(cached) $ECHO_C" >&6
4080 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4081 case `"$LD" -v 2>&1 </dev/null` in
4082 *GNU* | *'with BFD'*)
4083 lt_cv_prog_gnu_ld=yes
4086 lt_cv_prog_gnu_ld=no
4090 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4091 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4092 with_gnu_ld=$lt_cv_prog_gnu_ld
4095 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4096 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4097 if test "${lt_cv_ld_reload_flag+set}" = set; then
4098 echo $ECHO_N "(cached) $ECHO_C" >&6
4100 lt_cv_ld_reload_flag='-r'
4102 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4103 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4104 reload_flag=$lt_cv_ld_reload_flag
4105 case $reload_flag in
4107 *) reload_flag=" $reload_flag" ;;
4109 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4111 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4112 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4113 if test "${lt_cv_path_NM+set}" = set; then
4114 echo $ECHO_N "(cached) $ECHO_C" >&6
4116 if test -n "$NM"; then
4117 # Let the user override the test.
4120 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4121 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4123 test -z "$ac_dir" && ac_dir=.
4124 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4125 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4126 # Check to see if the nm accepts a BSD-compat flag.
4127 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4128 # nm: unknown option "B" ignored
4129 # Tru64's nm complains that /dev/null is an invalid object file
4130 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4131 */dev/null* | *'Invalid file or object type'*)
4132 lt_cv_path_NM="$tmp_nm -B"
4136 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4138 lt_cv_path_NM="$tmp_nm -p"
4142 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4143 continue # so that we can try to find one that supports BSD flags
4150 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4153 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4154 echo "${ECHO_T}$lt_cv_path_NM" >&6
4157 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4158 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4160 if test "$LN_S" = "ln -s"; then
4161 echo "$as_me:$LINENO: result: yes" >&5
4162 echo "${ECHO_T}yes" >&6
4164 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4165 echo "${ECHO_T}no, using $LN_S" >&6
4168 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4169 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4170 if test "${lt_cv_deplibs_check_method+set}" = set; then
4171 echo $ECHO_N "(cached) $ECHO_C" >&6
4173 lt_cv_file_magic_cmd='$MAGIC_CMD'
4174 lt_cv_file_magic_test_file=
4175 lt_cv_deplibs_check_method='unknown'
4176 # Need to set the preceding variable on all platforms that support
4177 # interlibrary dependencies.
4178 # 'none' -- dependencies not supported.
4179 # `unknown' -- same as none, but documents that we really don't know.
4180 # 'pass_all' -- all dependencies passed with no checks.
4181 # 'test_compile' -- check by making test program.
4182 # 'file_magic [[regex]]' -- check by looking for files in library path
4183 # which responds to the $file_magic_cmd with a given extended regex.
4184 # If you have `file' or equivalent on your system and you're not sure
4185 # whether `pass_all' will *always* work, you probably want this one.
4189 lt_cv_deplibs_check_method=pass_all
4193 lt_cv_deplibs_check_method=pass_all
4197 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4198 lt_cv_file_magic_cmd='/usr/bin/file -L'
4199 lt_cv_file_magic_test_file=/shlib/libc.so
4202 cygwin* | mingw* | pw32*)
4203 # win32_libid is a shell function defined in ltmain.sh
4204 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4205 lt_cv_file_magic_cmd='win32_libid'
4208 darwin* | rhapsody*)
4209 # this will be overwritten by pass_all, but leave it in just in case
4210 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4211 lt_cv_file_magic_cmd='/usr/bin/file -L'
4213 rhapsody* | darwin1.[012])
4214 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4217 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4220 lt_cv_deplibs_check_method=pass_all
4224 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4227 # Not sure whether the presence of OpenBSD here was a mistake.
4228 # Let's accept both of them until this is cleared up.
4229 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4230 lt_cv_file_magic_cmd=/usr/bin/file
4231 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4235 lt_cv_deplibs_check_method=pass_all
4240 lt_cv_deplibs_check_method=pass_all
4243 hpux10.20* | hpux11*)
4244 lt_cv_file_magic_cmd=/usr/bin/file
4247 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4248 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4251 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]'
4252 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4255 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4256 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4261 irix5* | irix6* | nonstopux*)
4263 irix5* | nonstopux*)
4264 # this will be overridden with pass_all, but let us keep it just in case
4265 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4269 *-32|*"-32 ") libmagic=32-bit;;
4270 *-n32|*"-n32 ") libmagic=N32;;
4271 *-64|*"-64 ") libmagic=64-bit;;
4272 *) libmagic=never-match;;
4274 # this will be overridden with pass_all, but let us keep it just in case
4275 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4278 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4279 lt_cv_deplibs_check_method=pass_all
4282 # This must be Linux ELF.
4285 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
4286 lt_cv_deplibs_check_method=pass_all ;;
4288 # glibc up to 2.1.1 does not perform some relocations on ARM
4289 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4291 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4295 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4296 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4298 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4303 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4304 lt_cv_file_magic_cmd=/usr/bin/file
4305 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4309 lt_cv_deplibs_check_method=unknown
4313 lt_cv_file_magic_cmd=/usr/bin/file
4314 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4315 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4316 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4318 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4322 osf3* | osf4* | osf5*)
4323 # this will be overridden with pass_all, but let us keep it just in case
4324 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4325 lt_cv_file_magic_test_file=/shlib/libc.so
4326 lt_cv_deplibs_check_method=pass_all
4330 lt_cv_deplibs_check_method=pass_all
4334 lt_cv_deplibs_check_method=pass_all
4335 lt_cv_file_magic_test_file=/lib/libc.so
4338 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4339 case $host_vendor in
4341 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]'
4342 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4345 lt_cv_deplibs_check_method=pass_all
4348 lt_cv_file_magic_cmd='/bin/file'
4349 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4352 lt_cv_file_magic_cmd='/bin/file'
4353 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4354 lt_cv_file_magic_test_file=/lib/libc.so
4357 lt_cv_deplibs_check_method=pass_all
4362 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4363 lt_cv_deplibs_check_method=pass_all
4368 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4369 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4370 file_magic_cmd=$lt_cv_file_magic_cmd
4371 deplibs_check_method=$lt_cv_deplibs_check_method
4372 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4377 # If no C compiler was specified, use CC.
4380 # Allow CC to be a program name with arguments.
4383 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4384 if test "${enable_libtool_lock+set}" = set; then
4385 enableval="$enable_libtool_lock"
4388 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4390 # Some flags need to be propagated to the compiler or linker for good
4394 # Find out which ABI we are using.
4395 echo 'int i;' > conftest.$ac_ext
4396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4397 (eval $ac_compile) 2>&5
4399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4400 (exit $ac_status); }; then
4401 case `/usr/bin/file conftest.$ac_objext` in
4413 # Find out which ABI we are using.
4414 echo '#line 4414 "configure"' > conftest.$ac_ext
4415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4416 (eval $ac_compile) 2>&5
4418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4419 (exit $ac_status); }; then
4420 if test "$lt_cv_prog_gnu_ld" = yes; then
4421 case `/usr/bin/file conftest.$ac_objext` in
4423 LD="${LD-ld} -melf32bsmip"
4426 LD="${LD-ld} -melf32bmipn32"
4429 LD="${LD-ld} -melf64bmip"
4433 case `/usr/bin/file conftest.$ac_objext` in
4449 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4450 # Find out which ABI we are using.
4451 echo 'int i;' > conftest.$ac_ext
4452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4453 (eval $ac_compile) 2>&5
4455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4456 (exit $ac_status); }; then
4457 case "`/usr/bin/file conftest.o`" in
4461 LD="${LD-ld} -m elf_i386"
4464 LD="${LD-ld} -m elf32ppclinux"
4467 LD="${LD-ld} -m elf_s390"
4470 LD="${LD-ld} -m elf32_sparc"
4477 LD="${LD-ld} -m elf_x86_64"
4479 ppc*-*linux*|powerpc*-*linux*)
4480 LD="${LD-ld} -m elf64ppc"
4483 LD="${LD-ld} -m elf64_s390"
4486 LD="${LD-ld} -m elf64_sparc"
4496 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4497 SAVE_CFLAGS="$CFLAGS"
4498 CFLAGS="$CFLAGS -belf"
4499 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4500 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4501 if test "${lt_cv_cc_needs_belf+set}" = set; then
4502 echo $ECHO_N "(cached) $ECHO_C" >&6
4505 ac_cpp='$CPP $CPPFLAGS'
4506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4510 cat >conftest.$ac_ext <<_ACEOF
4511 #line $LINENO "configure"
4514 cat confdefs.h >>conftest.$ac_ext
4515 cat >>conftest.$ac_ext <<_ACEOF
4516 /* end confdefs.h. */
4526 rm -f conftest.$ac_objext conftest$ac_exeext
4527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4528 (eval $ac_link) 2>&5
4530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4531 (exit $ac_status); } &&
4532 { ac_try='test -s conftest$ac_exeext'
4533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4537 (exit $ac_status); }; }; then
4538 lt_cv_cc_needs_belf=yes
4540 echo "$as_me: failed program was:" >&5
4541 sed 's/^/| /' conftest.$ac_ext >&5
4543 lt_cv_cc_needs_belf=no
4545 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4547 ac_cpp='$CPP $CPPFLAGS'
4548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4553 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4554 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4555 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4556 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4557 CFLAGS="$SAVE_CFLAGS"
4563 need_locks="$enable_libtool_lock"
4567 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4568 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4569 if test "${ac_cv_header_stdc+set}" = set; then
4570 echo $ECHO_N "(cached) $ECHO_C" >&6
4572 cat >conftest.$ac_ext <<_ACEOF
4573 #line $LINENO "configure"
4576 cat confdefs.h >>conftest.$ac_ext
4577 cat >>conftest.$ac_ext <<_ACEOF
4578 /* end confdefs.h. */
4592 rm -f conftest.$ac_objext
4593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4594 (eval $ac_compile) 2>&5
4596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4597 (exit $ac_status); } &&
4598 { ac_try='test -s conftest.$ac_objext'
4599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4603 (exit $ac_status); }; }; then
4604 ac_cv_header_stdc=yes
4606 echo "$as_me: failed program was:" >&5
4607 sed 's/^/| /' conftest.$ac_ext >&5
4609 ac_cv_header_stdc=no
4611 rm -f conftest.$ac_objext conftest.$ac_ext
4613 if test $ac_cv_header_stdc = yes; then
4614 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4615 cat >conftest.$ac_ext <<_ACEOF
4616 #line $LINENO "configure"
4619 cat confdefs.h >>conftest.$ac_ext
4620 cat >>conftest.$ac_ext <<_ACEOF
4621 /* end confdefs.h. */
4625 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4626 $EGREP "memchr" >/dev/null 2>&1; then
4629 ac_cv_header_stdc=no
4635 if test $ac_cv_header_stdc = yes; then
4636 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4637 cat >conftest.$ac_ext <<_ACEOF
4638 #line $LINENO "configure"
4641 cat confdefs.h >>conftest.$ac_ext
4642 cat >>conftest.$ac_ext <<_ACEOF
4643 /* end confdefs.h. */
4647 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4648 $EGREP "free" >/dev/null 2>&1; then
4651 ac_cv_header_stdc=no
4657 if test $ac_cv_header_stdc = yes; then
4658 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4659 if test "$cross_compiling" = yes; then
4662 cat >conftest.$ac_ext <<_ACEOF
4663 #line $LINENO "configure"
4666 cat confdefs.h >>conftest.$ac_ext
4667 cat >>conftest.$ac_ext <<_ACEOF
4668 /* end confdefs.h. */
4670 #if ((' ' & 0x0FF) == 0x020)
4671 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4672 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4674 # define ISLOWER(c) \
4675 (('a' <= (c) && (c) <= 'i') \
4676 || ('j' <= (c) && (c) <= 'r') \
4677 || ('s' <= (c) && (c) <= 'z'))
4678 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4681 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4686 for (i = 0; i < 256; i++)
4687 if (XOR (islower (i), ISLOWER (i))
4688 || toupper (i) != TOUPPER (i))
4693 rm -f conftest$ac_exeext
4694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4695 (eval $ac_link) 2>&5
4697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4698 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4703 (exit $ac_status); }; }; then
4706 echo "$as_me: program exited with status $ac_status" >&5
4707 echo "$as_me: failed program was:" >&5
4708 sed 's/^/| /' conftest.$ac_ext >&5
4711 ac_cv_header_stdc=no
4713 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4717 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4718 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4719 if test $ac_cv_header_stdc = yes; then
4721 cat >>confdefs.h <<\_ACEOF
4722 #define STDC_HEADERS 1
4727 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4737 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4738 inttypes.h stdint.h unistd.h
4740 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4741 echo "$as_me:$LINENO: checking for $ac_header" >&5
4742 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4743 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4744 echo $ECHO_N "(cached) $ECHO_C" >&6
4746 cat >conftest.$ac_ext <<_ACEOF
4747 #line $LINENO "configure"
4750 cat confdefs.h >>conftest.$ac_ext
4751 cat >>conftest.$ac_ext <<_ACEOF
4752 /* end confdefs.h. */
4753 $ac_includes_default
4755 #include <$ac_header>
4757 rm -f conftest.$ac_objext
4758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4759 (eval $ac_compile) 2>&5
4761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762 (exit $ac_status); } &&
4763 { ac_try='test -s conftest.$ac_objext'
4764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768 (exit $ac_status); }; }; then
4769 eval "$as_ac_Header=yes"
4771 echo "$as_me: failed program was:" >&5
4772 sed 's/^/| /' conftest.$ac_ext >&5
4774 eval "$as_ac_Header=no"
4776 rm -f conftest.$ac_objext conftest.$ac_ext
4778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4779 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4780 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4781 cat >>confdefs.h <<_ACEOF
4782 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4791 for ac_header in dlfcn.h
4793 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4795 echo "$as_me:$LINENO: checking for $ac_header" >&5
4796 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4797 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4798 echo $ECHO_N "(cached) $ECHO_C" >&6
4800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4801 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4803 # Is the header compilable?
4804 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4805 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4806 cat >conftest.$ac_ext <<_ACEOF
4807 #line $LINENO "configure"
4810 cat confdefs.h >>conftest.$ac_ext
4811 cat >>conftest.$ac_ext <<_ACEOF
4812 /* end confdefs.h. */
4813 $ac_includes_default
4814 #include <$ac_header>
4816 rm -f conftest.$ac_objext
4817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4818 (eval $ac_compile) 2>&5
4820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4821 (exit $ac_status); } &&
4822 { ac_try='test -s conftest.$ac_objext'
4823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4827 (exit $ac_status); }; }; then
4828 ac_header_compiler=yes
4830 echo "$as_me: failed program was:" >&5
4831 sed 's/^/| /' conftest.$ac_ext >&5
4833 ac_header_compiler=no
4835 rm -f conftest.$ac_objext conftest.$ac_ext
4836 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4837 echo "${ECHO_T}$ac_header_compiler" >&6
4839 # Is the header present?
4840 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4841 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4842 cat >conftest.$ac_ext <<_ACEOF
4843 #line $LINENO "configure"
4846 cat confdefs.h >>conftest.$ac_ext
4847 cat >>conftest.$ac_ext <<_ACEOF
4848 /* end confdefs.h. */
4849 #include <$ac_header>
4851 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4852 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4854 grep -v '^ *+' conftest.er1 >conftest.err
4856 cat conftest.err >&5
4857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4858 (exit $ac_status); } >/dev/null; then
4859 if test -s conftest.err; then
4860 ac_cpp_err=$ac_c_preproc_warn_flag
4867 if test -z "$ac_cpp_err"; then
4868 ac_header_preproc=yes
4870 echo "$as_me: failed program was:" >&5
4871 sed 's/^/| /' conftest.$ac_ext >&5
4873 ac_header_preproc=no
4875 rm -f conftest.err conftest.$ac_ext
4876 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4877 echo "${ECHO_T}$ac_header_preproc" >&6
4879 # So? What about this header?
4880 case $ac_header_compiler:$ac_header_preproc in
4882 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4883 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4884 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4885 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4888 ## ------------------------------------ ##
4889 ## Report this to bug-autoconf@gnu.org. ##
4890 ## ------------------------------------ ##
4893 sed "s/^/$as_me: WARNING: /" >&2
4896 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4897 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4898 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4899 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4900 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4901 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4904 ## ------------------------------------ ##
4905 ## Report this to bug-autoconf@gnu.org. ##
4906 ## ------------------------------------ ##
4909 sed "s/^/$as_me: WARNING: /" >&2
4912 echo "$as_me:$LINENO: checking for $ac_header" >&5
4913 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4914 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4915 echo $ECHO_N "(cached) $ECHO_C" >&6
4917 eval "$as_ac_Header=$ac_header_preproc"
4919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4920 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4923 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4924 cat >>confdefs.h <<_ACEOF
4925 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4933 ac_cpp='$CXXCPP $CPPFLAGS'
4934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4937 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4938 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4939 if test -z "$CXXCPP"; then
4940 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4941 echo $ECHO_N "(cached) $ECHO_C" >&6
4943 # Double quotes because CXXCPP needs to be expanded
4944 for CXXCPP in "$CXX -E" "/lib/cpp"
4947 for ac_cxx_preproc_warn_flag in '' yes
4949 # Use a header file that comes with gcc, so configuring glibc
4950 # with a fresh cross-compiler works.
4951 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4952 # <limits.h> exists even on freestanding compilers.
4953 # On the NeXT, cc -E runs the code through the compiler's parser,
4954 # not just through cpp. "Syntax error" is here to catch this case.
4955 cat >conftest.$ac_ext <<_ACEOF
4956 #line $LINENO "configure"
4959 cat confdefs.h >>conftest.$ac_ext
4960 cat >>conftest.$ac_ext <<_ACEOF
4961 /* end confdefs.h. */
4963 # include <limits.h>
4965 # include <assert.h>
4969 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4970 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4972 grep -v '^ *+' conftest.er1 >conftest.err
4974 cat conftest.err >&5
4975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4976 (exit $ac_status); } >/dev/null; then
4977 if test -s conftest.err; then
4978 ac_cpp_err=$ac_cxx_preproc_warn_flag
4985 if test -z "$ac_cpp_err"; then
4988 echo "$as_me: failed program was:" >&5
4989 sed 's/^/| /' conftest.$ac_ext >&5
4991 # Broken: fails on valid input.
4994 rm -f conftest.err conftest.$ac_ext
4996 # OK, works on sane cases. Now check whether non-existent headers
4997 # can be detected and how.
4998 cat >conftest.$ac_ext <<_ACEOF
4999 #line $LINENO "configure"
5002 cat confdefs.h >>conftest.$ac_ext
5003 cat >>conftest.$ac_ext <<_ACEOF
5004 /* end confdefs.h. */
5005 #include <ac_nonexistent.h>
5007 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5008 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5010 grep -v '^ *+' conftest.er1 >conftest.err
5012 cat conftest.err >&5
5013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5014 (exit $ac_status); } >/dev/null; then
5015 if test -s conftest.err; then
5016 ac_cpp_err=$ac_cxx_preproc_warn_flag
5023 if test -z "$ac_cpp_err"; then
5024 # Broken: success on invalid input.
5027 echo "$as_me: failed program was:" >&5
5028 sed 's/^/| /' conftest.$ac_ext >&5
5030 # Passes both tests.
5034 rm -f conftest.err conftest.$ac_ext
5037 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5038 rm -f conftest.err conftest.$ac_ext
5039 if $ac_preproc_ok; then
5044 ac_cv_prog_CXXCPP=$CXXCPP
5047 CXXCPP=$ac_cv_prog_CXXCPP
5049 ac_cv_prog_CXXCPP=$CXXCPP
5051 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5052 echo "${ECHO_T}$CXXCPP" >&6
5054 for ac_cxx_preproc_warn_flag in '' yes
5056 # Use a header file that comes with gcc, so configuring glibc
5057 # with a fresh cross-compiler works.
5058 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5059 # <limits.h> exists even on freestanding compilers.
5060 # On the NeXT, cc -E runs the code through the compiler's parser,
5061 # not just through cpp. "Syntax error" is here to catch this case.
5062 cat >conftest.$ac_ext <<_ACEOF
5063 #line $LINENO "configure"
5066 cat confdefs.h >>conftest.$ac_ext
5067 cat >>conftest.$ac_ext <<_ACEOF
5068 /* end confdefs.h. */
5070 # include <limits.h>
5072 # include <assert.h>
5076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5077 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5079 grep -v '^ *+' conftest.er1 >conftest.err
5081 cat conftest.err >&5
5082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5083 (exit $ac_status); } >/dev/null; then
5084 if test -s conftest.err; then
5085 ac_cpp_err=$ac_cxx_preproc_warn_flag
5092 if test -z "$ac_cpp_err"; then
5095 echo "$as_me: failed program was:" >&5
5096 sed 's/^/| /' conftest.$ac_ext >&5
5098 # Broken: fails on valid input.
5101 rm -f conftest.err conftest.$ac_ext
5103 # OK, works on sane cases. Now check whether non-existent headers
5104 # can be detected and how.
5105 cat >conftest.$ac_ext <<_ACEOF
5106 #line $LINENO "configure"
5109 cat confdefs.h >>conftest.$ac_ext
5110 cat >>conftest.$ac_ext <<_ACEOF
5111 /* end confdefs.h. */
5112 #include <ac_nonexistent.h>
5114 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5115 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5117 grep -v '^ *+' conftest.er1 >conftest.err
5119 cat conftest.err >&5
5120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5121 (exit $ac_status); } >/dev/null; then
5122 if test -s conftest.err; then
5123 ac_cpp_err=$ac_cxx_preproc_warn_flag
5130 if test -z "$ac_cpp_err"; then
5131 # Broken: success on invalid input.
5134 echo "$as_me: failed program was:" >&5
5135 sed 's/^/| /' conftest.$ac_ext >&5
5137 # Passes both tests.
5141 rm -f conftest.err conftest.$ac_ext
5144 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5145 rm -f conftest.err conftest.$ac_ext
5146 if $ac_preproc_ok; then
5149 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5150 See \`config.log' for more details." >&5
5151 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5152 See \`config.log' for more details." >&2;}
5153 { (exit 1); exit 1; }; }
5157 ac_cpp='$CXXCPP $CPPFLAGS'
5158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5164 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5165 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5166 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5167 if test -n "$ac_tool_prefix"; then
5168 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5170 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5171 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5172 echo "$as_me:$LINENO: checking for $ac_word" >&5
5173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5174 if test "${ac_cv_prog_F77+set}" = set; then
5175 echo $ECHO_N "(cached) $ECHO_C" >&6
5177 if test -n "$F77"; then
5178 ac_cv_prog_F77="$F77" # Let the user override the test.
5180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5184 test -z "$as_dir" && as_dir=.
5185 for ac_exec_ext in '' $ac_executable_extensions; do
5186 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5187 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5197 if test -n "$F77"; then
5198 echo "$as_me:$LINENO: result: $F77" >&5
5199 echo "${ECHO_T}$F77" >&6
5201 echo "$as_me:$LINENO: result: no" >&5
5202 echo "${ECHO_T}no" >&6
5205 test -n "$F77" && break
5208 if test -z "$F77"; then
5210 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5212 # Extract the first word of "$ac_prog", so it can be a program name with args.
5213 set dummy $ac_prog; ac_word=$2
5214 echo "$as_me:$LINENO: checking for $ac_word" >&5
5215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5216 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5217 echo $ECHO_N "(cached) $ECHO_C" >&6
5219 if test -n "$ac_ct_F77"; then
5220 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5226 test -z "$as_dir" && as_dir=.
5227 for ac_exec_ext in '' $ac_executable_extensions; do
5228 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5229 ac_cv_prog_ac_ct_F77="$ac_prog"
5230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5238 ac_ct_F77=$ac_cv_prog_ac_ct_F77
5239 if test -n "$ac_ct_F77"; then
5240 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5241 echo "${ECHO_T}$ac_ct_F77" >&6
5243 echo "$as_me:$LINENO: result: no" >&5
5244 echo "${ECHO_T}no" >&6
5247 test -n "$ac_ct_F77" && break
5254 # Provide some information about the compiler.
5255 echo "$as_me:5255:" \
5256 "checking for Fortran 77 compiler version" >&5
5257 ac_compiler=`set X $ac_compile; echo $2`
5258 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5259 (eval $ac_compiler --version </dev/null >&5) 2>&5
5261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5262 (exit $ac_status); }
5263 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5264 (eval $ac_compiler -v </dev/null >&5) 2>&5
5266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5267 (exit $ac_status); }
5268 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5269 (eval $ac_compiler -V </dev/null >&5) 2>&5
5271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5272 (exit $ac_status); }
5274 # If we don't use `.F' as extension, the preprocessor is not run on the
5278 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5279 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5280 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5281 echo $ECHO_N "(cached) $ECHO_C" >&6
5283 cat >conftest.$ac_ext <<_ACEOF
5291 rm -f conftest.$ac_objext
5292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5293 (eval $ac_compile) 2>&5
5295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5296 (exit $ac_status); } &&
5297 { ac_try='test -s conftest.$ac_objext'
5298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5302 (exit $ac_status); }; }; then
5305 echo "$as_me: failed program was:" >&5
5306 sed 's/^/| /' conftest.$ac_ext >&5
5310 rm -f conftest.$ac_objext conftest.$ac_ext
5311 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5314 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5315 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5317 G77=`test $ac_compiler_gnu = yes && echo yes`
5318 ac_test_FFLAGS=${FFLAGS+set}
5319 ac_save_FFLAGS=$FFLAGS
5321 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5322 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5323 if test "${ac_cv_prog_f77_g+set}" = set; then
5324 echo $ECHO_N "(cached) $ECHO_C" >&6
5327 cat >conftest.$ac_ext <<_ACEOF
5332 rm -f conftest.$ac_objext
5333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5334 (eval $ac_compile) 2>&5
5336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5337 (exit $ac_status); } &&
5338 { ac_try='test -s conftest.$ac_objext'
5339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5343 (exit $ac_status); }; }; then
5344 ac_cv_prog_f77_g=yes
5346 echo "$as_me: failed program was:" >&5
5347 sed 's/^/| /' conftest.$ac_ext >&5
5351 rm -f conftest.$ac_objext conftest.$ac_ext
5354 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5355 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5356 if test "$ac_test_FFLAGS" = set; then
5357 FFLAGS=$ac_save_FFLAGS
5358 elif test $ac_cv_prog_f77_g = yes; then
5359 if test "$G77" = yes; then
5365 if test "$G77" = yes; then
5372 ac_cpp='$CPP $CPPFLAGS'
5373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5379 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5381 # find the maximum length of command line arguments
5382 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5383 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5384 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5385 echo $ECHO_N "(cached) $ECHO_C" >&6
5392 # On DJGPP, this test can blow up pretty badly due to problems in libc
5393 # (any single argument exceeding 2000 bytes causes a buffer overrun
5394 # during glob expansion). Even if it were fixed, the result of this
5395 # check would be larger than it should be.
5396 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5400 # Under GNU Hurd, this test is not required because there is
5401 # no limit to the length of command line arguments.
5402 # Libtool will interpret -1 as no limit whatsoever
5403 lt_cv_sys_max_cmd_len=-1;
5407 # On Win9x/ME, this test blows up -- it succeeds, but takes
5408 # about 5 minutes as the teststring grows exponentially.
5409 # Worse, since 9x/ME are not pre-emptively multitasking,
5410 # you end up with a "frozen" computer, even though with patience
5411 # the test eventually succeeds (with a max line length of 256k).
5412 # Instead, let's just punt: use the minimum linelength reported by
5413 # all of the supported platforms: 8192 (on NT/2K/XP).
5414 lt_cv_sys_max_cmd_len=8192;
5418 # If test is not a shell built-in, we'll probably end up computing a
5419 # maximum length that is only half of the actual maximum length, but
5421 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5422 = "XX$testring") >/dev/null 2>&1 &&
5423 new_result=`expr "X$testring" : ".*" 2>&1` &&
5424 lt_cv_sys_max_cmd_len=$new_result &&
5425 test $i != 17 # 1/2 MB should be enough
5428 testring=$testring$testring
5431 # Add a significant safety factor because C++ compilers can tack on massive
5432 # amounts of additional arguments before passing them to the linker.
5433 # It appears as though 1/2 is a usable value.
5434 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5440 if test -n $lt_cv_sys_max_cmd_len ; then
5441 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5442 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5444 echo "$as_me:$LINENO: result: none" >&5
5445 echo "${ECHO_T}none" >&6
5451 # Check for command to grab the raw symbol name followed by C symbol from nm.
5452 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5453 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5454 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5455 echo $ECHO_N "(cached) $ECHO_C" >&6
5458 # These are sane defaults that work on at least a few old systems.
5459 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5461 # Character class describing NM global symbol codes.
5462 symcode='[BCDEGRST]'
5464 # Regexp to match symbols that can be accessed directly from C.
5465 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5467 # Transform the above into a raw symbol and a C symbol.
5468 symxfrm='\1 \2\3 \3'
5470 # Transform an extracted symbol line into a proper C declaration
5471 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5473 # Transform an extracted symbol line into symbol name and symbol address
5474 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'"
5476 # Define system-specific variables.
5481 cygwin* | mingw* | pw32*)
5482 symcode='[ABCDGISTW]'
5484 hpux*) # Its linker distinguishes data from code symbols
5485 if test "$host_cpu" = ia64; then
5486 symcode='[ABCDEGRST]'
5488 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5489 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'"
5492 symcode='[BCDEGRST]'
5495 symcode='[BCDEGQRST]'
5505 # Handle CRLF in mingw tool chain
5509 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5513 # If we're using GNU nm, then use its standard symbol codes.
5514 case `$NM -V 2>&1` in
5515 *GNU* | *'with BFD'*)
5516 symcode='[ABCDGISTW]' ;;
5519 # Try without a prefix undercore, then with it.
5520 for ac_symprfx in "" "_"; do
5522 # Write the raw and C identifiers.
5523 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5525 # Check to see that the pipe works correctly.
5529 cat > conftest.$ac_ext <<EOF
5534 void nm_test_func(){}
5538 int main(){nm_test_var='a';nm_test_func();return(0);}
5541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5542 (eval $ac_compile) 2>&5
5544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5545 (exit $ac_status); }; then
5546 # Now try to grab the symbols.
5548 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5549 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5552 (exit $ac_status); } && test -s "$nlist"; then
5553 # Try sorting and uniquifying the output.
5554 if sort "$nlist" | uniq > "$nlist"T; then
5555 mv -f "$nlist"T "$nlist"
5560 # Make sure that we snagged all the symbols we need.
5561 if grep ' nm_test_var$' "$nlist" >/dev/null; then
5562 if grep ' nm_test_func$' "$nlist" >/dev/null; then
5563 cat <<EOF > conftest.$ac_ext
5569 # Now generate the symbol file.
5570 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5572 cat <<EOF >> conftest.$ac_ext
5573 #if defined (__STDC__) && __STDC__
5574 # define lt_ptr_t void *
5576 # define lt_ptr_t char *
5580 /* The mapping between symbol names and symbols. */
5585 lt_preloaded_symbols[] =
5588 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5589 cat <<\EOF >> conftest.$ac_ext
5597 # Now try linking the two files.
5598 mv conftest.$ac_objext conftstm.$ac_objext
5599 lt_save_LIBS="$LIBS"
5600 lt_save_CFLAGS="$CFLAGS"
5601 LIBS="conftstm.$ac_objext"
5602 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5604 (eval $ac_link) 2>&5
5606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5607 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5610 LIBS="$lt_save_LIBS"
5611 CFLAGS="$lt_save_CFLAGS"
5613 echo "cannot find nm_test_func in $nlist" >&5
5616 echo "cannot find nm_test_var in $nlist" >&5
5619 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5622 echo "$progname: failed program was:" >&5
5623 cat conftest.$ac_ext >&5
5625 rm -f conftest* conftst*
5627 # Do not use the global_symbol_pipe unless it works.
5628 if test "$pipe_works" = yes; then
5631 lt_cv_sys_global_symbol_pipe=
5637 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5638 lt_cv_sys_global_symbol_to_cdecl=
5640 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5641 echo "$as_me:$LINENO: result: failed" >&5
5642 echo "${ECHO_T}failed" >&6
5644 echo "$as_me:$LINENO: result: ok" >&5
5645 echo "${ECHO_T}ok" >&6
5648 echo "$as_me:$LINENO: checking for objdir" >&5
5649 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5650 if test "${lt_cv_objdir+set}" = set; then
5651 echo $ECHO_N "(cached) $ECHO_C" >&6
5653 rm -f .libs 2>/dev/null
5654 mkdir .libs 2>/dev/null
5655 if test -d .libs; then
5658 # MS-DOS does not allow filenames that begin with a dot.
5661 rmdir .libs 2>/dev/null
5663 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5664 echo "${ECHO_T}$lt_cv_objdir" >&6
5665 objdir=$lt_cv_objdir
5673 # AIX sometimes has problems with the GCC collect2 program. For some
5674 # reason, if we set the COLLECT_NAMES environment variable, the problems
5675 # vanish in a puff of smoke.
5676 if test "X${COLLECT_NAMES+set}" != Xset; then
5678 export COLLECT_NAMES
5683 # Sed substitution that helps us do robust quoting. It backslashifies
5684 # metacharacters that are still active within double-quoted strings.
5685 Xsed='sed -e s/^X//'
5686 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5688 # Same as above, but do not quote variable references.
5689 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5691 # Sed substitution to delay expansion of an escaped shell variable in a
5692 # double_quote_subst'ed string.
5693 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5695 # Sed substitution to avoid accidental globbing in evaled expressions
5696 no_glob_subst='s/\*/\\\*/g'
5703 can_build_shared=yes
5705 # All known linkers require a `.a' archive for static linking (except M$VC,
5706 # which needs '.lib').
5708 ltmain="$ac_aux_dir/ltmain.sh"
5709 ofile="$default_ofile"
5710 with_gnu_ld="$lt_cv_prog_gnu_ld"
5712 if test -n "$ac_tool_prefix"; then
5713 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5714 set dummy ${ac_tool_prefix}ar; ac_word=$2
5715 echo "$as_me:$LINENO: checking for $ac_word" >&5
5716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5717 if test "${ac_cv_prog_AR+set}" = set; then
5718 echo $ECHO_N "(cached) $ECHO_C" >&6
5720 if test -n "$AR"; then
5721 ac_cv_prog_AR="$AR" # Let the user override the test.
5723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5727 test -z "$as_dir" && as_dir=.
5728 for ac_exec_ext in '' $ac_executable_extensions; do
5729 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5730 ac_cv_prog_AR="${ac_tool_prefix}ar"
5731 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5740 if test -n "$AR"; then
5741 echo "$as_me:$LINENO: result: $AR" >&5
5742 echo "${ECHO_T}$AR" >&6
5744 echo "$as_me:$LINENO: result: no" >&5
5745 echo "${ECHO_T}no" >&6
5749 if test -z "$ac_cv_prog_AR"; then
5751 # Extract the first word of "ar", so it can be a program name with args.
5752 set dummy ar; ac_word=$2
5753 echo "$as_me:$LINENO: checking for $ac_word" >&5
5754 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5755 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5756 echo $ECHO_N "(cached) $ECHO_C" >&6
5758 if test -n "$ac_ct_AR"; then
5759 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5765 test -z "$as_dir" && as_dir=.
5766 for ac_exec_ext in '' $ac_executable_extensions; do
5767 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5768 ac_cv_prog_ac_ct_AR="ar"
5769 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5775 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5778 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5779 if test -n "$ac_ct_AR"; then
5780 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5781 echo "${ECHO_T}$ac_ct_AR" >&6
5783 echo "$as_me:$LINENO: result: no" >&5
5784 echo "${ECHO_T}no" >&6
5792 if test -n "$ac_tool_prefix"; then
5793 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5794 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5795 echo "$as_me:$LINENO: checking for $ac_word" >&5
5796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5797 if test "${ac_cv_prog_RANLIB+set}" = set; then
5798 echo $ECHO_N "(cached) $ECHO_C" >&6
5800 if test -n "$RANLIB"; then
5801 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5807 test -z "$as_dir" && as_dir=.
5808 for ac_exec_ext in '' $ac_executable_extensions; do
5809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5810 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5819 RANLIB=$ac_cv_prog_RANLIB
5820 if test -n "$RANLIB"; then
5821 echo "$as_me:$LINENO: result: $RANLIB" >&5
5822 echo "${ECHO_T}$RANLIB" >&6
5824 echo "$as_me:$LINENO: result: no" >&5
5825 echo "${ECHO_T}no" >&6
5829 if test -z "$ac_cv_prog_RANLIB"; then
5830 ac_ct_RANLIB=$RANLIB
5831 # Extract the first word of "ranlib", so it can be a program name with args.
5832 set dummy ranlib; ac_word=$2
5833 echo "$as_me:$LINENO: checking for $ac_word" >&5
5834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5835 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5836 echo $ECHO_N "(cached) $ECHO_C" >&6
5838 if test -n "$ac_ct_RANLIB"; then
5839 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5845 test -z "$as_dir" && as_dir=.
5846 for ac_exec_ext in '' $ac_executable_extensions; do
5847 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5848 ac_cv_prog_ac_ct_RANLIB="ranlib"
5849 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5855 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5858 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5859 if test -n "$ac_ct_RANLIB"; then
5860 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5861 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5863 echo "$as_me:$LINENO: result: no" >&5
5864 echo "${ECHO_T}no" >&6
5867 RANLIB=$ac_ct_RANLIB
5869 RANLIB="$ac_cv_prog_RANLIB"
5872 if test -n "$ac_tool_prefix"; then
5873 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5874 set dummy ${ac_tool_prefix}strip; ac_word=$2
5875 echo "$as_me:$LINENO: checking for $ac_word" >&5
5876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5877 if test "${ac_cv_prog_STRIP+set}" = set; then
5878 echo $ECHO_N "(cached) $ECHO_C" >&6
5880 if test -n "$STRIP"; then
5881 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5887 test -z "$as_dir" && as_dir=.
5888 for ac_exec_ext in '' $ac_executable_extensions; do
5889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5890 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5899 STRIP=$ac_cv_prog_STRIP
5900 if test -n "$STRIP"; then
5901 echo "$as_me:$LINENO: result: $STRIP" >&5
5902 echo "${ECHO_T}$STRIP" >&6
5904 echo "$as_me:$LINENO: result: no" >&5
5905 echo "${ECHO_T}no" >&6
5909 if test -z "$ac_cv_prog_STRIP"; then
5911 # Extract the first word of "strip", so it can be a program name with args.
5912 set dummy strip; ac_word=$2
5913 echo "$as_me:$LINENO: checking for $ac_word" >&5
5914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5915 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5916 echo $ECHO_N "(cached) $ECHO_C" >&6
5918 if test -n "$ac_ct_STRIP"; then
5919 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5925 test -z "$as_dir" && as_dir=.
5926 for ac_exec_ext in '' $ac_executable_extensions; do
5927 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5928 ac_cv_prog_ac_ct_STRIP="strip"
5929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5935 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5938 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5939 if test -n "$ac_ct_STRIP"; then
5940 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5941 echo "${ECHO_T}$ac_ct_STRIP" >&6
5943 echo "$as_me:$LINENO: result: no" >&5
5944 echo "${ECHO_T}no" >&6
5949 STRIP="$ac_cv_prog_STRIP"
5954 old_CFLAGS="$CFLAGS"
5956 # Set sane defaults for various variables
5957 test -z "$AR" && AR=ar
5958 test -z "$AR_FLAGS" && AR_FLAGS=cru
5959 test -z "$AS" && AS=as
5960 test -z "$CC" && CC=cc
5961 test -z "$LTCC" && LTCC=$CC
5962 test -z "$DLLTOOL" && DLLTOOL=dlltool
5963 test -z "$LD" && LD=ld
5964 test -z "$LN_S" && LN_S="ln -s"
5965 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5966 test -z "$NM" && NM=nm
5967 test -z "$SED" && SED=sed
5968 test -z "$OBJDUMP" && OBJDUMP=objdump
5969 test -z "$RANLIB" && RANLIB=:
5970 test -z "$STRIP" && STRIP=:
5971 test -z "$ac_objext" && ac_objext=o
5973 # Determine commands to create old-style static archives.
5974 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5975 old_postinstall_cmds='chmod 644 $oldlib'
5976 old_postuninstall_cmds=
5978 if test -n "$RANLIB"; then
5981 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5984 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
5987 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5990 # Only perform the check for file, if the check method requires it
5991 case $deplibs_check_method in
5993 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5994 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5995 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5996 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5997 echo $ECHO_N "(cached) $ECHO_C" >&6
6001 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6004 lt_save_MAGIC_CMD="$MAGIC_CMD"
6005 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6006 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6007 for ac_dir in $ac_dummy; do
6009 test -z "$ac_dir" && ac_dir=.
6010 if test -f $ac_dir/${ac_tool_prefix}file; then
6011 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6012 if test -n "$file_magic_test_file"; then
6013 case $deplibs_check_method in
6015 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6016 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6017 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6018 $EGREP "$file_magic_regex" > /dev/null; then
6023 *** Warning: the command libtool uses to detect shared libraries,
6024 *** $file_magic_cmd, produces output that libtool cannot recognize.
6025 *** The result is that libtool may fail to recognize shared libraries
6026 *** as such. This will affect the creation of libtool libraries that
6027 *** depend on shared libraries, but programs linked with such libtool
6028 *** libraries will work regardless of this problem. Nevertheless, you
6029 *** may want to report the problem to your system manager and/or to
6030 *** bug-libtool@gnu.org
6040 MAGIC_CMD="$lt_save_MAGIC_CMD"
6045 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6046 if test -n "$MAGIC_CMD"; then
6047 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6048 echo "${ECHO_T}$MAGIC_CMD" >&6
6050 echo "$as_me:$LINENO: result: no" >&5
6051 echo "${ECHO_T}no" >&6
6054 if test -z "$lt_cv_path_MAGIC_CMD"; then
6055 if test -n "$ac_tool_prefix"; then
6056 echo "$as_me:$LINENO: checking for file" >&5
6057 echo $ECHO_N "checking for file... $ECHO_C" >&6
6058 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6059 echo $ECHO_N "(cached) $ECHO_C" >&6
6063 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6066 lt_save_MAGIC_CMD="$MAGIC_CMD"
6067 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6068 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6069 for ac_dir in $ac_dummy; do
6071 test -z "$ac_dir" && ac_dir=.
6072 if test -f $ac_dir/file; then
6073 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6074 if test -n "$file_magic_test_file"; then
6075 case $deplibs_check_method in
6077 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6078 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6079 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6080 $EGREP "$file_magic_regex" > /dev/null; then
6085 *** Warning: the command libtool uses to detect shared libraries,
6086 *** $file_magic_cmd, produces output that libtool cannot recognize.
6087 *** The result is that libtool may fail to recognize shared libraries
6088 *** as such. This will affect the creation of libtool libraries that
6089 *** depend on shared libraries, but programs linked with such libtool
6090 *** libraries will work regardless of this problem. Nevertheless, you
6091 *** may want to report the problem to your system manager and/or to
6092 *** bug-libtool@gnu.org
6102 MAGIC_CMD="$lt_save_MAGIC_CMD"
6107 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6108 if test -n "$MAGIC_CMD"; then
6109 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6110 echo "${ECHO_T}$MAGIC_CMD" >&6
6112 echo "$as_me:$LINENO: result: no" >&5
6113 echo "${ECHO_T}no" >&6
6128 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6129 if test "${enable_libtool_lock+set}" = set; then
6130 enableval="$enable_libtool_lock"
6133 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6136 # Check whether --with-pic or --without-pic was given.
6137 if test "${with_pic+set}" = set; then
6143 test -z "$pic_mode" && pic_mode=default
6145 # Use C for the default configuration in the libtool script
6149 ac_cpp='$CPP $CPPFLAGS'
6150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6155 # Source file extension for C test sources.
6158 # Object file extension for compiled C test sources.
6162 # Code to be used in simple compile tests
6163 lt_simple_compile_test_code="int some_variable = 0;\n"
6165 # Code to be used in simple link tests
6166 lt_simple_link_test_code='int main(){return(0);}\n'
6169 # If no C compiler was specified, use CC.
6172 # Allow CC to be a program name with arguments.
6177 # Check for any special shared library compilation flags.
6180 if test "$GCC" = no; then
6183 lt_prog_cc_shlib='-belf'
6187 if test -n "$lt_prog_cc_shlib"; then
6188 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6189 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6190 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
6192 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6193 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6194 lt_cv_prog_cc_can_build_shared=no
6200 # Check to make sure the static flag actually works.
6202 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6203 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6204 if test "${lt_prog_compiler_static_works+set}" = set; then
6205 echo $ECHO_N "(cached) $ECHO_C" >&6
6207 lt_prog_compiler_static_works=no
6208 save_LDFLAGS="$LDFLAGS"
6209 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6210 printf "$lt_simple_link_test_code" > conftest.$ac_ext
6211 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6212 # The compiler can only warn and ignore the option if not recognized
6213 # So say no if there are warnings
6214 if test -s conftest.err; then
6215 # Append any errors to the config.log.
6216 cat conftest.err 1>&5
6218 lt_prog_compiler_static_works=yes
6222 LDFLAGS="$save_LDFLAGS"
6225 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6226 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6228 if test x"$lt_prog_compiler_static_works" = xyes; then
6231 lt_prog_compiler_static=
6237 ## There is no encapsulation within the following macros, do not change
6238 ## the running order or otherwise move them around unless you know exactly
6239 ## what you are doing...
6241 lt_prog_compiler_no_builtin_flag=
6243 if test "$GCC" = yes; then
6244 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6246 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6247 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6248 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6249 echo $ECHO_N "(cached) $ECHO_C" >&6
6251 lt_cv_prog_compiler_rtti_exceptions=no
6252 ac_outfile=conftest.$ac_objext
6253 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6254 lt_compiler_flag="-fno-rtti -fno-exceptions"
6255 # Insert the option either (1) after the last *FLAGS variable, or
6256 # (2) before a word containing "conftest.", or (3) at the end.
6257 # Note that $ac_compile itself does not contain backslashes and begins
6258 # with a dollar sign (not a hyphen), so the echo should work correctly.
6259 # The option is referenced via a variable to avoid confusing sed.
6260 lt_compile=`echo "$ac_compile" | $SED \
6261 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6262 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6263 -e 's:$: $lt_compiler_flag:'`
6264 (eval echo "\"\$as_me:6264: $lt_compile\"" >&5)
6265 (eval "$lt_compile" 2>conftest.err)
6267 cat conftest.err >&5
6268 echo "$as_me:6268: \$? = $ac_status" >&5
6269 if (exit $ac_status) && test -s "$ac_outfile"; then
6270 # The compiler can only warn and ignore the option if not recognized
6271 # So say no if there are warnings
6272 if test ! -s conftest.err; then
6273 lt_cv_prog_compiler_rtti_exceptions=yes
6279 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6280 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6282 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6283 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6290 lt_prog_compiler_wl=
6291 lt_prog_compiler_pic=
6292 lt_prog_compiler_static=
6294 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6295 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6297 if test "$GCC" = yes; then
6298 lt_prog_compiler_wl='-Wl,'
6299 lt_prog_compiler_static='-static'
6303 # All AIX code is PIC.
6304 if test "$host_cpu" = ia64; then
6305 # AIX 5 now supports IA64 processor
6306 lt_prog_compiler_static='-Bstatic'
6311 # FIXME: we need at least 68020 code to build shared libraries, but
6312 # adding the `-m68020' flag to GCC prevents building anything better,
6314 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6317 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6318 # PIC is the default for these OSes.
6321 mingw* | pw32* | os2*)
6322 # This hack is so that the source file can tell whether it is being
6323 # built for inclusion in a dll (and should export symbols for example).
6324 lt_prog_compiler_pic='-DDLL_EXPORT'
6327 darwin* | rhapsody*)
6328 # PIC is the default on this platform
6329 # Common symbols not allowed in MH_DYLIB files
6330 lt_prog_compiler_pic='-fno-common'
6334 # Just because we use GCC doesn't mean we suddenly get shared libraries
6335 # on systems that don't support them.
6336 lt_prog_compiler_can_build_shared=no
6341 if test -d /usr/nec; then
6342 lt_prog_compiler_pic=-Kconform_pic
6347 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6354 lt_prog_compiler_pic='-fPIC'
6360 lt_prog_compiler_pic='-fPIC'
6364 # PORTME Check for flag to pass linker flags through the system compiler.
6367 lt_prog_compiler_wl='-Wl,'
6368 if test "$host_cpu" = ia64; then
6369 # AIX 5 now supports IA64 processor
6370 lt_prog_compiler_static='-Bstatic'
6372 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6376 mingw* | pw32* | os2*)
6377 # This hack is so that the source file can tell whether it is being
6378 # built for inclusion in a dll (and should export symbols for example).
6379 lt_prog_compiler_pic='-DDLL_EXPORT'
6382 hpux9* | hpux10* | hpux11*)
6383 lt_prog_compiler_wl='-Wl,'
6384 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6391 lt_prog_compiler_pic='+Z'
6394 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6395 lt_prog_compiler_static='${wl}-a ${wl}archive'
6398 irix5* | irix6* | nonstopux*)
6399 lt_prog_compiler_wl='-Wl,'
6400 # PIC (with -KPIC) is the default.
6401 lt_prog_compiler_static='-non_shared'
6405 lt_prog_compiler_pic='-KPIC'
6406 lt_prog_compiler_static='-Bstatic'
6412 lt_prog_compiler_wl='-Wl,'
6413 lt_prog_compiler_pic='-KPIC'
6414 lt_prog_compiler_static='-static'
6417 lt_prog_compiler_wl='-Wl,'
6418 # All Alpha code is PIC.
6419 lt_prog_compiler_static='-non_shared'
6424 osf3* | osf4* | osf5*)
6425 lt_prog_compiler_wl='-Wl,'
6426 # All OSF/1 code is PIC.
6427 lt_prog_compiler_static='-non_shared'
6431 lt_prog_compiler_pic='-Kpic'
6432 lt_prog_compiler_static='-dn'
6436 lt_prog_compiler_wl='-Wl,'
6437 lt_prog_compiler_pic='-KPIC'
6438 lt_prog_compiler_static='-Bstatic'
6442 lt_prog_compiler_wl='-Qoption ld '
6443 lt_prog_compiler_pic='-PIC'
6444 lt_prog_compiler_static='-Bstatic'
6447 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6448 lt_prog_compiler_wl='-Wl,'
6449 lt_prog_compiler_pic='-KPIC'
6450 lt_prog_compiler_static='-Bstatic'
6454 if test -d /usr/nec ;then
6455 lt_prog_compiler_pic='-Kconform_pic'
6456 lt_prog_compiler_static='-Bstatic'
6461 lt_prog_compiler_pic='-pic'
6462 lt_prog_compiler_static='-Bstatic'
6466 lt_prog_compiler_can_build_shared=no
6471 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6472 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6475 # Check to make sure the PIC flag actually works.
6477 if test -n "$lt_prog_compiler_pic"; then
6478 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6479 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6480 if test "${lt_prog_compiler_pic_works+set}" = set; then
6481 echo $ECHO_N "(cached) $ECHO_C" >&6
6483 lt_prog_compiler_pic_works=no
6484 ac_outfile=conftest.$ac_objext
6485 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6486 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6487 # Insert the option either (1) after the last *FLAGS variable, or
6488 # (2) before a word containing "conftest.", or (3) at the end.
6489 # Note that $ac_compile itself does not contain backslashes and begins
6490 # with a dollar sign (not a hyphen), so the echo should work correctly.
6491 # The option is referenced via a variable to avoid confusing sed.
6492 lt_compile=`echo "$ac_compile" | $SED \
6493 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6494 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6495 -e 's:$: $lt_compiler_flag:'`
6496 (eval echo "\"\$as_me:6496: $lt_compile\"" >&5)
6497 (eval "$lt_compile" 2>conftest.err)
6499 cat conftest.err >&5
6500 echo "$as_me:6500: \$? = $ac_status" >&5
6501 if (exit $ac_status) && test -s "$ac_outfile"; then
6502 # The compiler can only warn and ignore the option if not recognized
6503 # So say no if there are warnings
6504 if test ! -s conftest.err; then
6505 lt_prog_compiler_pic_works=yes
6511 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6512 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6514 if test x"$lt_prog_compiler_pic_works" = xyes; then
6515 case $lt_prog_compiler_pic in
6517 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6520 lt_prog_compiler_pic=
6521 lt_prog_compiler_can_build_shared=no
6526 # For platforms which do not support PIC, -DPIC is meaningless:
6528 lt_prog_compiler_pic=
6531 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6535 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6536 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6537 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6538 echo $ECHO_N "(cached) $ECHO_C" >&6
6540 lt_cv_prog_compiler_c_o=no
6541 $rm -r conftest 2>/dev/null
6545 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6547 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6548 # that will create temporary files in the current directory regardless of
6549 # the output directory. Thus, making CWD read-only will cause this test
6550 # to fail, enabling locking or at least warning the user not to do parallel
6554 lt_compiler_flag="-o out/conftest2.$ac_objext"
6555 # Insert the option either (1) after the last *FLAGS variable, or
6556 # (2) before a word containing "conftest.", or (3) at the end.
6557 # Note that $ac_compile itself does not contain backslashes and begins
6558 # with a dollar sign (not a hyphen), so the echo should work correctly.
6559 lt_compile=`echo "$ac_compile" | $SED \
6560 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6561 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6562 -e 's:$: $lt_compiler_flag:'`
6563 (eval echo "\"\$as_me:6563: $lt_compile\"" >&5)
6564 (eval "$lt_compile" 2>out/conftest.err)
6566 cat out/conftest.err >&5
6567 echo "$as_me:6567: \$? = $ac_status" >&5
6568 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6570 # The compiler can only warn and ignore the option if not recognized
6571 # So say no if there are warnings
6572 if test ! -s out/conftest.err; then
6573 lt_cv_prog_compiler_c_o=yes
6584 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6585 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6588 hard_links="nottested"
6589 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6590 # do not overwrite the value of need_locks provided by the user
6591 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6592 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6595 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6597 ln conftest.a conftest.b 2>&5 || hard_links=no
6598 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6599 echo "$as_me:$LINENO: result: $hard_links" >&5
6600 echo "${ECHO_T}$hard_links" >&6
6601 if test "$hard_links" = no; then
6602 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6603 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6610 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6611 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6614 allow_undefined_flag=
6615 enable_shared_with_static_runtimes=no
6617 archive_expsym_cmds=
6618 old_archive_From_new_cmds=
6619 old_archive_from_expsyms_cmds=
6620 export_dynamic_flag_spec=
6621 whole_archive_flag_spec=
6622 thread_safe_flag_spec=
6623 hardcode_libdir_flag_spec=
6624 hardcode_libdir_flag_spec_ld=
6625 hardcode_libdir_separator=
6628 hardcode_shlibpath_var=unsupported
6629 link_all_deplibs=unknown
6630 hardcode_automatic=no
6633 always_export_symbols=no
6634 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6635 # include_expsyms should be a list of space-separated symbols to be *always*
6636 # included in the symbol list
6638 # exclude_expsyms can be an extended regexp of symbols to exclude
6639 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6640 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6641 # as well as any symbol that contains `d'.
6642 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6643 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6644 # platforms (ab)use it in PIC code, but their linkers get confused if
6645 # the symbol is explicitly referenced. Since portable code cannot
6646 # rely on this symbol name, it's probably fine to never include it in
6647 # preloaded symbol tables.
6648 extract_expsyms_cmds=
6651 cygwin* | mingw* | pw32*)
6652 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6653 # When not using gcc, we currently assume that we are using
6654 # Microsoft Visual C++.
6655 if test "$GCC" != yes; then
6665 if test "$with_gnu_ld" = yes; then
6666 # If archive_cmds runs LD, not CC, wlarc should be empty
6669 # See if GNU ld supports shared libraries.
6671 aix3* | aix4* | aix5*)
6672 # On AIX/PPC, the GNU linker is very broken
6673 if test "$host_cpu" != ia64; then
6677 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6678 *** to be unable to reliably create shared libraries on AIX.
6679 *** Therefore, libtool is disabling shared libraries support. If you
6680 *** really care for shared libraries, you may want to modify your PATH
6681 *** so that a non-GNU linker is found, and then restart.
6688 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)'
6689 hardcode_libdir_flag_spec='-L$libdir'
6690 hardcode_minus_L=yes
6692 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6693 # that the semantics of dynamic libraries on AmigaOS, at least up
6694 # to version 4, is to share data among multiple programs linked
6695 # with the same dynamic library. Since this doesn't match the
6696 # behavior of shared libraries on other platforms, we can't use
6702 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6703 allow_undefined_flag=unsupported
6704 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6705 # support --undefined. This deserves some investigation. FIXME
6706 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6712 cygwin* | mingw* | pw32*)
6713 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6714 # as there is no search path for DLLs.
6715 hardcode_libdir_flag_spec='-L$libdir'
6716 allow_undefined_flag=unsupported
6717 always_export_symbols=no
6718 enable_shared_with_static_runtimes=yes
6719 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6721 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6722 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6723 # If the export-symbols file already is a .def file (1st line
6724 # is EXPORTS), use it as is; otherwise, prepend...
6725 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6726 cp $export_symbols $output_objdir/$soname.def;
6728 echo EXPORTS > $output_objdir/$soname.def;
6729 cat $export_symbols >> $output_objdir/$soname.def;
6731 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6738 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6739 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6742 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6743 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6748 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6752 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6753 *** create shared libraries on Solaris systems. Therefore, libtool
6754 *** is disabling shared libraries support. We urge you to upgrade GNU
6755 *** binutils to release 2.9.1 or newer. Another option is to modify
6756 *** your PATH or compiler configuration so that the native linker is
6757 *** used, and then restart.
6760 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6761 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6762 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6769 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6772 hardcode_shlibpath_var=no
6776 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6777 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6778 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6785 if test "$ld_shlibs" = yes; then
6786 runpath_var=LD_RUN_PATH
6787 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6788 export_dynamic_flag_spec='${wl}--export-dynamic'
6789 # ancient GNU ld didn't support --whole-archive et. al.
6790 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6791 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6793 whole_archive_flag_spec=
6797 # PORTME fill in a description of your system's linker (not GNU ld)
6800 allow_undefined_flag=unsupported
6801 always_export_symbols=yes
6802 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'
6803 # Note: this linker hardcodes the directories in LIBPATH if there
6804 # are no directories specified by -L.
6805 hardcode_minus_L=yes
6806 if test "$GCC" = yes && test -z "$link_static_flag"; then
6807 # Neither direct hardcoding nor static linking is supported with a
6809 hardcode_direct=unsupported
6814 if test "$host_cpu" = ia64; then
6815 # On IA64, the linker does run time linking by default, so we don't
6816 # have to do anything special.
6817 aix_use_runtimelinking=no
6818 exp_sym_flag='-Bexport'
6821 # If we're using GNU nm, then we don't want the "-C" option.
6822 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6823 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6824 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'
6826 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'
6828 aix_use_runtimelinking=no
6830 # Test if we are trying to use run time linking or normal
6831 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6832 # need to do runtime linking.
6833 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6834 for ld_flag in $LDFLAGS; do
6835 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6836 aix_use_runtimelinking=yes
6842 exp_sym_flag='-bexport'
6843 no_entry_flag='-bnoentry'
6846 # When large executables or shared objects are built, AIX ld can
6847 # have problems creating the table of contents. If linking a library
6848 # or program results in "error TOC overflow" add -mminimal-toc to
6849 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6850 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6854 hardcode_libdir_separator=':'
6855 link_all_deplibs=yes
6857 if test "$GCC" = yes; then
6858 case $host_os in aix4.012|aix4.012.*)
6859 # We only want to do this on AIX 4.2 and lower, the check
6860 # below for broken collect2 doesn't work under 4.3+
6861 collect2name=`${CC} -print-prog-name=collect2`
6862 if test -f "$collect2name" && \
6863 strings "$collect2name" | grep resolve_lib_name >/dev/null
6865 # We have reworked collect2
6868 # We have old collect2
6869 hardcode_direct=unsupported
6870 # It fails to find uninstalled libraries when the uninstalled
6871 # path is not listed in the libpath. Setting hardcode_minus_L
6872 # to unsupported forces relinking
6873 hardcode_minus_L=yes
6874 hardcode_libdir_flag_spec='-L$libdir'
6875 hardcode_libdir_separator=
6878 shared_flag='-shared'
6881 if test "$host_cpu" = ia64; then
6882 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6883 # chokes on -Wl,-G. The following line is correct:
6886 if test "$aix_use_runtimelinking" = yes; then
6887 shared_flag='${wl}-G'
6889 shared_flag='${wl}-bM:SRE'
6894 # It seems that -bexpall does not export symbols beginning with
6895 # underscore (_), so it is better to generate a list of symbols to export.
6896 always_export_symbols=yes
6897 if test "$aix_use_runtimelinking" = yes; then
6898 # Warning - without using the other runtime loading flags (-brtl),
6899 # -berok will link without error, but may produce a broken library.
6900 allow_undefined_flag='-berok'
6901 # Determine the default libpath from the value encoded in an empty executable.
6902 cat >conftest.$ac_ext <<_ACEOF
6903 #line $LINENO "configure"
6906 cat confdefs.h >>conftest.$ac_ext
6907 cat >>conftest.$ac_ext <<_ACEOF
6908 /* end confdefs.h. */
6918 rm -f conftest.$ac_objext conftest$ac_exeext
6919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6920 (eval $ac_link) 2>&5
6922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6923 (exit $ac_status); } &&
6924 { ac_try='test -s conftest$ac_exeext'
6925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6929 (exit $ac_status); }; }; then
6931 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6933 # Check for a 64-bit object if we didn't find anything.
6934 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; }
6937 echo "$as_me: failed program was:" >&5
6938 sed 's/^/| /' conftest.$ac_ext >&5
6941 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6942 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6944 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6945 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"
6947 if test "$host_cpu" = ia64; then
6948 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6949 allow_undefined_flag="-z nodefs"
6950 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"
6952 # Determine the default libpath from the value encoded in an empty executable.
6953 cat >conftest.$ac_ext <<_ACEOF
6954 #line $LINENO "configure"
6957 cat confdefs.h >>conftest.$ac_ext
6958 cat >>conftest.$ac_ext <<_ACEOF
6959 /* end confdefs.h. */
6969 rm -f conftest.$ac_objext conftest$ac_exeext
6970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6971 (eval $ac_link) 2>&5
6973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974 (exit $ac_status); } &&
6975 { ac_try='test -s conftest$ac_exeext'
6976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6980 (exit $ac_status); }; }; then
6982 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6984 # Check for a 64-bit object if we didn't find anything.
6985 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; }
6988 echo "$as_me: failed program was:" >&5
6989 sed 's/^/| /' conftest.$ac_ext >&5
6992 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6993 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6995 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6996 # Warning - without using the other run time loading flags,
6997 # -berok will link without error, but may produce a broken library.
6998 no_undefined_flag=' ${wl}-bernotok'
6999 allow_undefined_flag=' ${wl}-berok'
7000 # -bexpall does not export symbols beginning with underscore (_)
7001 always_export_symbols=yes
7002 # Exported symbols can be pulled into shared objects from archives
7003 whole_archive_flag_spec=' '
7004 archive_cmds_need_lc=yes
7005 # This is similar to how AIX traditionally builds it's shared libraries.
7006 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'
7012 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)'
7013 hardcode_libdir_flag_spec='-L$libdir'
7014 hardcode_minus_L=yes
7015 # see comment about different semantics on the GNU ld section
7020 export_dynamic_flag_spec=-rdynamic
7023 cygwin* | mingw* | pw32*)
7024 # When not using gcc, we currently assume that we are using
7025 # Microsoft Visual C++.
7026 # hardcode_libdir_flag_spec is actually meaningless, as there is
7027 # no search path for DLLs.
7028 hardcode_libdir_flag_spec=' '
7029 allow_undefined_flag=unsupported
7030 # Tell ltmain to make .lib files, not .a files.
7032 # Tell ltmain to make .dll files, not .so files.
7034 # FIXME: Setting linknames here is a bad hack.
7035 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7036 # The linker will automatically build a .lib file if we build a DLL.
7037 old_archive_From_new_cmds='true'
7038 # FIXME: Should let the user specify the lib program.
7039 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
7040 fix_srcfile_path='`cygpath -w "$srcfile"`'
7041 enable_shared_with_static_runtimes=yes
7044 darwin* | rhapsody*)
7045 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7046 archive_cmds_need_lc=no
7048 rhapsody* | darwin1.[012])
7049 allow_undefined_flag='-undefined suppress'
7052 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
7055 # FIXME: Relying on posixy $() will cause problems for
7056 # cross-compilation, but unfortunately the echo tests do not
7057 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
7058 # `"' quotes if we put them in here... so don't!
7059 lt_int_apple_cc_single_mod=no
7060 output_verbose_link_cmd='echo'
7061 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7062 lt_int_apple_cc_single_mod=yes
7064 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7065 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7067 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'
7069 module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7070 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7071 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7072 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}'
7074 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}'
7076 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}'
7078 hardcode_automatic=yes
7079 hardcode_shlibpath_var=unsupported
7080 whole_archive_flag_spec='-all_load $convenience'
7081 link_all_deplibs=yes
7086 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7087 hardcode_libdir_flag_spec='-L$libdir'
7088 hardcode_shlibpath_var=no
7095 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7096 # support. Future versions do this automatically, but an explicit c++rt0.o
7097 # does not break anything, and helps significantly (at the cost of a little
7100 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7101 hardcode_libdir_flag_spec='-R$libdir'
7103 hardcode_shlibpath_var=no
7106 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7108 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7110 hardcode_minus_L=yes
7111 hardcode_shlibpath_var=no
7114 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7116 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7117 hardcode_libdir_flag_spec='-R$libdir'
7119 hardcode_shlibpath_var=no
7123 if test "$GCC" = yes; then
7124 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'
7126 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'
7128 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7129 hardcode_libdir_separator=:
7132 # hardcode_minus_L: Not really in the search PATH,
7133 # but as the default location of the library.
7134 hardcode_minus_L=yes
7135 export_dynamic_flag_spec='${wl}-E'
7139 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7142 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7145 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7151 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7154 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7158 if test "$with_gnu_ld" = no; then
7161 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7162 hardcode_libdir_flag_spec_ld='+b $libdir'
7163 hardcode_libdir_separator=:
7165 hardcode_shlibpath_var=no
7168 hardcode_libdir_flag_spec='-L$libdir'
7170 hardcode_shlibpath_var=no
7172 # hardcode_minus_L: Not really in the search PATH,
7173 # but as the default location of the library.
7174 hardcode_minus_L=yes
7177 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7178 hardcode_libdir_separator=:
7180 export_dynamic_flag_spec='${wl}-E'
7182 # hardcode_minus_L: Not really in the search PATH,
7183 # but as the default location of the library.
7184 hardcode_minus_L=yes
7190 irix5* | irix6* | nonstopux*)
7191 if test "$GCC" = yes; then
7192 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'
7194 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'
7195 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7197 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7198 hardcode_libdir_separator=:
7199 link_all_deplibs=yes
7203 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7204 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7206 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7208 hardcode_libdir_flag_spec='-R$libdir'
7210 hardcode_shlibpath_var=no
7214 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7216 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7217 hardcode_libdir_separator=:
7218 hardcode_shlibpath_var=no
7223 hardcode_shlibpath_var=no
7224 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7225 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7226 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7227 export_dynamic_flag_spec='${wl}-E'
7230 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7231 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7232 hardcode_libdir_flag_spec='-R$libdir'
7235 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7236 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7243 hardcode_libdir_flag_spec='-L$libdir'
7244 hardcode_minus_L=yes
7245 allow_undefined_flag=unsupported
7246 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'
7247 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
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}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
7255 allow_undefined_flag=' -expect_unresolved \*'
7256 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'
7258 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7259 hardcode_libdir_separator=:
7262 osf4* | osf5*) # as osf3* with the addition of -msym flag
7263 if test "$GCC" = yes; then
7264 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7265 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'
7266 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7268 allow_undefined_flag=' -expect_unresolved \*'
7269 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'
7270 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7271 $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'
7273 # Both c and cxx compiler support -rpath directly
7274 hardcode_libdir_flag_spec='-rpath $libdir'
7276 hardcode_libdir_separator=:
7280 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7281 hardcode_shlibpath_var=no
7282 export_dynamic_flag_spec='${wl}-Bexport'
7283 runpath_var=LD_RUN_PATH
7284 hardcode_runpath_var=yes
7288 no_undefined_flag=' -z text'
7289 if test "$GCC" = yes; then
7290 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7291 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7292 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7294 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7295 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7296 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7298 hardcode_libdir_flag_spec='-R$libdir'
7299 hardcode_shlibpath_var=no
7301 solaris2.[0-5] | solaris2.[0-5].*) ;;
7302 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7303 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7305 link_all_deplibs=yes
7309 if test "x$host_vendor" = xsequent; then
7310 # Use $CC to link under sequent, because it throws in some extra .o
7311 # files that make .init and .fini sections work.
7312 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7314 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7316 hardcode_libdir_flag_spec='-L$libdir'
7318 hardcode_minus_L=yes
7319 hardcode_shlibpath_var=no
7323 case $host_vendor in
7325 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7326 hardcode_direct=yes # is this really true???
7329 ## LD is ld it makes a PLAMLIB
7330 ## CC just makes a GrossModule.
7331 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7332 reload_cmds='$CC -r -o $output$reload_objs'
7336 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7337 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7340 runpath_var='LD_RUN_PATH'
7341 hardcode_shlibpath_var=no
7345 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7346 hardcode_shlibpath_var=no
7347 export_dynamic_flag_spec='-Bexport'
7351 if test -d /usr/nec; then
7352 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7353 hardcode_shlibpath_var=no
7354 runpath_var=LD_RUN_PATH
7355 hardcode_runpath_var=yes
7361 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7364 hardcode_shlibpath_var=no
7365 hardcode_runpath_var=yes
7366 runpath_var=LD_RUN_PATH
7369 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7370 no_undefined_flag='${wl}-z ${wl}text'
7371 if test "$GCC" = yes; then
7372 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7374 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7376 runpath_var='LD_RUN_PATH'
7377 hardcode_shlibpath_var=no
7381 no_undefined_flag=' -z text'
7382 # $CC -shared without GNU ld will not create a library from C++
7383 # object files and a static libstdc++, better avoid it by now
7384 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7385 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7386 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7387 hardcode_libdir_flag_spec=
7388 hardcode_shlibpath_var=no
7389 runpath_var='LD_RUN_PATH'
7393 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7394 hardcode_libdir_flag_spec='-L$libdir'
7395 hardcode_shlibpath_var=no
7404 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7405 echo "${ECHO_T}$ld_shlibs" >&6
7406 test "$ld_shlibs" = no && can_build_shared=no
7408 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7409 if test "$GCC" = yes; then
7410 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7414 # Do we need to explicitly link libc?
7416 case "x$archive_cmds_need_lc" in
7418 # Assume -lc should be added
7419 archive_cmds_need_lc=yes
7421 if test "$enable_shared" = yes && test "$GCC" = yes; then
7422 case $archive_cmds in
7424 # FIXME: we may have to deal with multi-command sequences.
7427 # Test whether the compiler implicitly links with -lc since on some
7428 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7429 # to ld, don't add -lc before -lgcc.
7430 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7431 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7433 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7436 (eval $ac_compile) 2>&5
7438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7439 (exit $ac_status); } 2>conftest.err; then
7442 libobjs=conftest.$ac_objext
7444 wl=$lt_prog_compiler_wl
7450 lt_save_allow_undefined_flag=$allow_undefined_flag
7451 allow_undefined_flag=
7452 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7453 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7456 (exit $ac_status); }
7458 archive_cmds_need_lc=no
7460 archive_cmds_need_lc=yes
7462 allow_undefined_flag=$lt_save_allow_undefined_flag
7464 cat conftest.err 1>&5
7467 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7468 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7475 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7476 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7478 if test -n "$hardcode_libdir_flag_spec" || \
7479 test -n "$runpath_var " || \
7480 test "X$hardcode_automatic"="Xyes" ; then
7482 # We can hardcode non-existant directories.
7483 if test "$hardcode_direct" != no &&
7484 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7485 # have to relink, otherwise we might link with an installed library
7486 # when we should be linking with a yet-to-be-installed one
7487 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7488 test "$hardcode_minus_L" != no; then
7489 # Linking always hardcodes the temporary library directory.
7490 hardcode_action=relink
7492 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7493 hardcode_action=immediate
7496 # We cannot hardcode anything, or else we can only hardcode existing
7498 hardcode_action=unsupported
7500 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7501 echo "${ECHO_T}$hardcode_action" >&6
7503 if test "$hardcode_action" = relink; then
7504 # Fast installation is not supported
7505 enable_fast_install=no
7506 elif test "$shlibpath_overrides_runpath" = yes ||
7507 test "$enable_shared" = no; then
7508 # Fast installation is not necessary
7509 enable_fast_install=needless
7514 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7515 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7516 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7517 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7518 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7519 echo "$as_me:$LINENO: result: yes" >&5
7520 echo "${ECHO_T}yes" >&6
7522 # FIXME - insert some real tests, host_os isn't really good enough
7525 if test -n "$STRIP" ; then
7526 striplib="$STRIP -x"
7527 echo "$as_me:$LINENO: result: yes" >&5
7528 echo "${ECHO_T}yes" >&6
7530 echo "$as_me:$LINENO: result: no" >&5
7531 echo "${ECHO_T}no" >&6
7535 echo "$as_me:$LINENO: result: no" >&5
7536 echo "${ECHO_T}no" >&6
7541 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7542 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7544 libname_spec='lib$name'
7552 shlibpath_overrides_runpath=unknown
7554 dynamic_linker="$host_os ld.so"
7555 sys_lib_dlsearch_path_spec="/lib /usr/lib"
7556 if test "$GCC" = yes; then
7557 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7558 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7559 # if the path contains ";" then we assume it to be the separator
7560 # otherwise default to the standard path separator (i.e. ":") - it is
7561 # assumed that no part of a normal pathname contains ";" but that should
7562 # okay in the real world where ";" in dirpaths is itself problematic.
7563 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7565 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7568 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7570 need_lib_prefix=unknown
7571 hardcode_into_libs=no
7573 # when you set need_version to no, make sure it does not cause -set_version
7574 # flags to be left without arguments
7575 need_version=unknown
7580 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7581 shlibpath_var=LIBPATH
7583 # AIX 3 has no versioning support, so we append a major version to the name.
7584 soname_spec='${libname}${release}${shared_ext}$major'
7591 hardcode_into_libs=yes
7592 if test "$host_cpu" = ia64; then
7593 # AIX 5 supports IA64
7594 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7595 shlibpath_var=LD_LIBRARY_PATH
7597 # With GCC up to 2.95.x, collect2 would create an import file
7598 # for dependence libraries. The import file would start with
7599 # the line `#! .'. This would cause the generated library to
7600 # depend on `.', always an invalid library. This was fixed in
7601 # development snapshots of GCC prior to 3.0.
7603 aix4 | aix4.[01] | aix4.[01].*)
7604 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7606 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7613 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7614 # soname into executable. Probably we can add versioning support to
7615 # collect2, so additional links can be useful in future.
7616 if test "$aix_use_runtimelinking" = yes; then
7617 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7618 # instead of lib<name>.a to let people know that these are not
7619 # typical AIX shared libraries.
7620 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7622 # We preserve .a as extension for shared libraries through AIX4.2
7623 # and later when we are not doing run time linking.
7624 library_names_spec='${libname}${release}.a $libname.a'
7625 soname_spec='${libname}${release}${shared_ext}$major'
7627 shlibpath_var=LIBPATH
7632 library_names_spec='$libname.ixlibrary $libname.a'
7633 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7634 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'
7638 library_names_spec='${libname}${shared_ext}'
7639 dynamic_linker="$host_os ld.so"
7640 shlibpath_var=LIBRARY_PATH
7646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7647 soname_spec='${libname}${release}${shared_ext}$major'
7648 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7649 shlibpath_var=LD_LIBRARY_PATH
7650 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7651 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7652 # the default ld.so.conf also contains /usr/contrib/lib and
7653 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7654 # libtool to hard-code these into programs
7657 cygwin* | mingw* | pw32*)
7658 version_type=windows
7663 case $GCC,$host_os in
7664 yes,cygwin* | yes,mingw* | yes,pw32*)
7665 library_names_spec='$libname.dll.a'
7666 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7667 postinstall_cmds='base_file=`basename \${file}`~
7668 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7669 dldir=$destdir/`dirname \$dlpath`~
7670 test -d \$dldir || mkdir -p \$dldir~
7671 $install_prog $dir/$dlname \$dldir/$dlname'
7672 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7673 dlpath=$dir/\$dldll~
7675 shlibpath_overrides_runpath=yes
7679 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7680 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7681 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
7684 # MinGW DLLs use traditional 'lib' prefix
7685 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7686 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7687 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7688 # It is most probably a Windows format PATH printed by
7689 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7690 # path with ; separators, and with drive letters. We can handle the
7691 # drive letters (cygwin fileutils understands them), so leave them,
7692 # especially as we might pass files found there to a mingw objdump,
7693 # which wouldn't understand a cygwinified path. Ahh.
7694 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7696 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7700 # pw32 DLLs use 'pw' prefix rather than 'lib'
7701 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7707 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7710 dynamic_linker='Win32 ld.exe'
7711 # FIXME: first we should search . and the directory the executable is in
7715 darwin* | rhapsody*)
7716 dynamic_linker="$host_os dyld"
7720 # FIXME: Relying on posixy $() will cause problems for
7721 # cross-compilation, but unfortunately the echo tests do not
7722 # yet detect zsh echo's removal of \ escapes.
7723 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7724 soname_spec='${libname}${release}${major}$shared_ext'
7725 shlibpath_overrides_runpath=yes
7726 shlibpath_var=DYLD_LIBRARY_PATH
7727 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
7728 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7729 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7730 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"`
7732 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7739 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7740 soname_spec='${libname}${release}${shared_ext}$major'
7741 shlibpath_var=LD_LIBRARY_PATH
7749 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7750 version_type=freebsd-$objformat
7751 case $version_type in
7753 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7758 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7762 shlibpath_var=LD_LIBRARY_PATH
7765 shlibpath_overrides_runpath=yes
7767 freebsd3.01* | freebsdelf3.01*)
7768 shlibpath_overrides_runpath=yes
7769 hardcode_into_libs=yes
7772 shlibpath_overrides_runpath=no
7773 hardcode_into_libs=yes
7782 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7783 soname_spec='${libname}${release}${shared_ext}$major'
7784 shlibpath_var=LD_LIBRARY_PATH
7785 hardcode_into_libs=yes
7788 hpux9* | hpux10* | hpux11*)
7789 # Give a soname corresponding to the major version so that dld.sl refuses to
7790 # link against other versions.
7797 hardcode_into_libs=yes
7798 dynamic_linker="$host_os dld.so"
7799 shlibpath_var=LD_LIBRARY_PATH
7800 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7801 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7802 soname_spec='${libname}${release}${shared_ext}$major'
7803 if test "X$HPUX_IA64_MODE" = X32; then
7804 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7806 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7808 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7812 hardcode_into_libs=yes
7813 dynamic_linker="$host_os dld.sl"
7814 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7815 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7817 soname_spec='${libname}${release}${shared_ext}$major'
7818 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7819 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7823 dynamic_linker="$host_os dld.sl"
7824 shlibpath_var=SHLIB_PATH
7825 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7827 soname_spec='${libname}${release}${shared_ext}$major'
7830 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7831 postinstall_cmds='chmod 555 $lib'
7834 irix5* | irix6* | nonstopux*)
7836 nonstopux*) version_type=nonstopux ;;
7838 if test "$lt_cv_prog_gnu_ld" = yes; then
7846 soname_spec='${libname}${release}${shared_ext}$major'
7847 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7849 irix5* | nonstopux*)
7853 case $LD in # libtool.m4 will add one of these switches to LD
7854 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7855 libsuff= shlibsuff= libmagic=32-bit;;
7856 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7857 libsuff=32 shlibsuff=N32 libmagic=N32;;
7858 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7859 libsuff=64 shlibsuff=64 libmagic=64-bit;;
7860 *) libsuff= shlibsuff= libmagic=never-match;;
7864 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7865 shlibpath_overrides_runpath=no
7866 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7867 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7868 hardcode_into_libs=yes
7871 # No shared lib support for Linux oldld, aout, or coff.
7872 linux*oldld* | linux*aout* | linux*coff*)
7876 # This must be Linux ELF.
7881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7882 soname_spec='${libname}${release}${shared_ext}$major'
7883 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7884 shlibpath_var=LD_LIBRARY_PATH
7885 shlibpath_overrides_runpath=no
7886 # This implies no fast_install, which is unacceptable.
7887 # Some rework will be needed to allow for fast_install
7888 # before this can be enabled.
7889 hardcode_into_libs=yes
7891 # We used to test for /lib/ld.so.1 and disable shared libraries on
7892 # powerpc, because MkLinux only supported shared libraries with the
7893 # GNU dynamic linker. Since this was broken with cross compilers,
7894 # most powerpc-linux boxes support dynamic linking these days and
7895 # people can always --disable-shared, the test was removed, and we
7896 # assume the GNU/Linux dynamic linker is in use.
7897 dynamic_linker='GNU/Linux ld.so'
7904 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7905 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7906 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7907 dynamic_linker='NetBSD (a.out) ld.so'
7909 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
7910 soname_spec='${libname}${release}${shared_ext}$major'
7911 dynamic_linker='NetBSD ld.elf_so'
7913 shlibpath_var=LD_LIBRARY_PATH
7914 shlibpath_overrides_runpath=yes
7915 hardcode_into_libs=yes
7920 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7921 shlibpath_var=LD_LIBRARY_PATH
7922 shlibpath_overrides_runpath=yes
7929 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7930 soname_spec='${libname}${release}${shared_ext}$major'
7931 shlibpath_var=LD_LIBRARY_PATH
7932 shlibpath_overrides_runpath=yes
7939 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7940 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7941 shlibpath_var=LD_LIBRARY_PATH
7942 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7944 openbsd2.[89] | openbsd2.[89].*)
7945 shlibpath_overrides_runpath=no
7948 shlibpath_overrides_runpath=yes
7952 shlibpath_overrides_runpath=yes
7957 libname_spec='$name'
7960 library_names_spec='$libname${shared_ext} $libname.a'
7961 dynamic_linker='OS/2 ld.exe'
7962 shlibpath_var=LIBPATH
7965 osf3* | osf4* | osf5*)
7969 soname_spec='${libname}${release}${shared_ext}$major'
7970 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7971 shlibpath_var=LD_LIBRARY_PATH
7972 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7973 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7978 soname_spec='${libname}${release}${shared_ext}$major'
7979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7980 shlibpath_var=LD_LIBRARY_PATH
7987 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7988 soname_spec='${libname}${release}${shared_ext}$major'
7989 shlibpath_var=LD_LIBRARY_PATH
7990 shlibpath_overrides_runpath=yes
7991 hardcode_into_libs=yes
7992 # ldd complains unless libraries are executable
7993 postinstall_cmds='chmod +x $lib'
7998 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7999 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8000 shlibpath_var=LD_LIBRARY_PATH
8001 shlibpath_overrides_runpath=yes
8002 if test "$with_gnu_ld" = yes; then
8008 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8010 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8011 soname_spec='${libname}${release}${shared_ext}$major'
8012 shlibpath_var=LD_LIBRARY_PATH
8013 case $host_vendor in
8015 shlibpath_overrides_runpath=no
8017 export_dynamic_flag_spec='${wl}-Blargedynsym'
8018 runpath_var=LD_RUN_PATH
8026 shlibpath_overrides_runpath=no
8027 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8033 if test -d /usr/nec ;then
8035 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8036 soname_spec='$libname${shared_ext}.$major'
8037 shlibpath_var=LD_LIBRARY_PATH
8043 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8044 soname_spec='${libname}${release}${shared_ext}$major'
8045 shlibpath_var=LD_LIBRARY_PATH
8052 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8053 echo "${ECHO_T}$dynamic_linker" >&6
8054 test "$dynamic_linker" = no && can_build_shared=no
8056 if test "x$enable_dlopen" != xyes; then
8057 enable_dlopen=unknown
8058 enable_dlopen_self=unknown
8059 enable_dlopen_self_static=unknown
8066 lt_cv_dlopen="load_add_on"
8068 lt_cv_dlopen_self=yes
8072 lt_cv_dlopen="LoadLibrary"
8077 lt_cv_dlopen="dlopen"
8082 # if libdl is installed we need to link against it
8083 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8084 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8085 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8086 echo $ECHO_N "(cached) $ECHO_C" >&6
8088 ac_check_lib_save_LIBS=$LIBS
8090 cat >conftest.$ac_ext <<_ACEOF
8091 #line $LINENO "configure"
8094 cat confdefs.h >>conftest.$ac_ext
8095 cat >>conftest.$ac_ext <<_ACEOF
8096 /* end confdefs.h. */
8098 /* Override any gcc2 internal prototype to avoid an error. */
8102 /* We use char because int might match the return type of a gcc2
8103 builtin and then its argument prototype would still apply. */
8113 rm -f conftest.$ac_objext conftest$ac_exeext
8114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8115 (eval $ac_link) 2>&5
8117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8118 (exit $ac_status); } &&
8119 { ac_try='test -s conftest$ac_exeext'
8120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8124 (exit $ac_status); }; }; then
8125 ac_cv_lib_dl_dlopen=yes
8127 echo "$as_me: failed program was:" >&5
8128 sed 's/^/| /' conftest.$ac_ext >&5
8130 ac_cv_lib_dl_dlopen=no
8132 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8133 LIBS=$ac_check_lib_save_LIBS
8135 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8136 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8137 if test $ac_cv_lib_dl_dlopen = yes; then
8138 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8143 lt_cv_dlopen_self=yes
8150 echo "$as_me:$LINENO: checking for shl_load" >&5
8151 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8152 if test "${ac_cv_func_shl_load+set}" = set; then
8153 echo $ECHO_N "(cached) $ECHO_C" >&6
8155 cat >conftest.$ac_ext <<_ACEOF
8156 #line $LINENO "configure"
8159 cat confdefs.h >>conftest.$ac_ext
8160 cat >>conftest.$ac_ext <<_ACEOF
8161 /* end confdefs.h. */
8162 /* System header to define __stub macros and hopefully few prototypes,
8163 which can conflict with char shl_load (); below.
8164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8165 <limits.h> exists even on freestanding compilers. */
8167 # include <limits.h>
8169 # include <assert.h>
8171 /* Override any gcc2 internal prototype to avoid an error. */
8176 /* We use char because int might match the return type of a gcc2
8177 builtin and then its argument prototype would still apply. */
8179 /* The GNU C library defines this for functions which it implements
8180 to always fail with ENOSYS. Some functions are actually named
8181 something starting with __ and the normal name is an alias. */
8182 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8185 char (*f) () = shl_load;
8194 return f != shl_load;
8199 rm -f conftest.$ac_objext conftest$ac_exeext
8200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8201 (eval $ac_link) 2>&5
8203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8204 (exit $ac_status); } &&
8205 { ac_try='test -s conftest$ac_exeext'
8206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8210 (exit $ac_status); }; }; then
8211 ac_cv_func_shl_load=yes
8213 echo "$as_me: failed program was:" >&5
8214 sed 's/^/| /' conftest.$ac_ext >&5
8216 ac_cv_func_shl_load=no
8218 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8220 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8221 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8222 if test $ac_cv_func_shl_load = yes; then
8223 lt_cv_dlopen="shl_load"
8225 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8226 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8227 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8228 echo $ECHO_N "(cached) $ECHO_C" >&6
8230 ac_check_lib_save_LIBS=$LIBS
8232 cat >conftest.$ac_ext <<_ACEOF
8233 #line $LINENO "configure"
8236 cat confdefs.h >>conftest.$ac_ext
8237 cat >>conftest.$ac_ext <<_ACEOF
8238 /* end confdefs.h. */
8240 /* Override any gcc2 internal prototype to avoid an error. */
8244 /* We use char because int might match the return type of a gcc2
8245 builtin and then its argument prototype would still apply. */
8255 rm -f conftest.$ac_objext conftest$ac_exeext
8256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8257 (eval $ac_link) 2>&5
8259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8260 (exit $ac_status); } &&
8261 { ac_try='test -s conftest$ac_exeext'
8262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8266 (exit $ac_status); }; }; then
8267 ac_cv_lib_dld_shl_load=yes
8269 echo "$as_me: failed program was:" >&5
8270 sed 's/^/| /' conftest.$ac_ext >&5
8272 ac_cv_lib_dld_shl_load=no
8274 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8275 LIBS=$ac_check_lib_save_LIBS
8277 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8278 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8279 if test $ac_cv_lib_dld_shl_load = yes; then
8280 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8282 echo "$as_me:$LINENO: checking for dlopen" >&5
8283 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8284 if test "${ac_cv_func_dlopen+set}" = set; then
8285 echo $ECHO_N "(cached) $ECHO_C" >&6
8287 cat >conftest.$ac_ext <<_ACEOF
8288 #line $LINENO "configure"
8291 cat confdefs.h >>conftest.$ac_ext
8292 cat >>conftest.$ac_ext <<_ACEOF
8293 /* end confdefs.h. */
8294 /* System header to define __stub macros and hopefully few prototypes,
8295 which can conflict with char dlopen (); below.
8296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8297 <limits.h> exists even on freestanding compilers. */
8299 # include <limits.h>
8301 # include <assert.h>
8303 /* Override any gcc2 internal prototype to avoid an error. */
8308 /* We use char because int might match the return type of a gcc2
8309 builtin and then its argument prototype would still apply. */
8311 /* The GNU C library defines this for functions which it implements
8312 to always fail with ENOSYS. Some functions are actually named
8313 something starting with __ and the normal name is an alias. */
8314 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8317 char (*f) () = dlopen;
8331 rm -f conftest.$ac_objext conftest$ac_exeext
8332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8333 (eval $ac_link) 2>&5
8335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8336 (exit $ac_status); } &&
8337 { ac_try='test -s conftest$ac_exeext'
8338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8342 (exit $ac_status); }; }; then
8343 ac_cv_func_dlopen=yes
8345 echo "$as_me: failed program was:" >&5
8346 sed 's/^/| /' conftest.$ac_ext >&5
8348 ac_cv_func_dlopen=no
8350 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8352 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8353 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8354 if test $ac_cv_func_dlopen = yes; then
8355 lt_cv_dlopen="dlopen"
8357 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8358 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8359 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8360 echo $ECHO_N "(cached) $ECHO_C" >&6
8362 ac_check_lib_save_LIBS=$LIBS
8364 cat >conftest.$ac_ext <<_ACEOF
8365 #line $LINENO "configure"
8368 cat confdefs.h >>conftest.$ac_ext
8369 cat >>conftest.$ac_ext <<_ACEOF
8370 /* end confdefs.h. */
8372 /* Override any gcc2 internal prototype to avoid an error. */
8376 /* We use char because int might match the return type of a gcc2
8377 builtin and then its argument prototype would still apply. */
8387 rm -f conftest.$ac_objext conftest$ac_exeext
8388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8389 (eval $ac_link) 2>&5
8391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8392 (exit $ac_status); } &&
8393 { ac_try='test -s conftest$ac_exeext'
8394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8398 (exit $ac_status); }; }; then
8399 ac_cv_lib_dl_dlopen=yes
8401 echo "$as_me: failed program was:" >&5
8402 sed 's/^/| /' conftest.$ac_ext >&5
8404 ac_cv_lib_dl_dlopen=no
8406 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8407 LIBS=$ac_check_lib_save_LIBS
8409 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8410 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8411 if test $ac_cv_lib_dl_dlopen = yes; then
8412 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8414 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8415 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8416 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8417 echo $ECHO_N "(cached) $ECHO_C" >&6
8419 ac_check_lib_save_LIBS=$LIBS
8421 cat >conftest.$ac_ext <<_ACEOF
8422 #line $LINENO "configure"
8425 cat confdefs.h >>conftest.$ac_ext
8426 cat >>conftest.$ac_ext <<_ACEOF
8427 /* end confdefs.h. */
8429 /* Override any gcc2 internal prototype to avoid an error. */
8433 /* We use char because int might match the return type of a gcc2
8434 builtin and then its argument prototype would still apply. */
8444 rm -f conftest.$ac_objext conftest$ac_exeext
8445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8446 (eval $ac_link) 2>&5
8448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8449 (exit $ac_status); } &&
8450 { ac_try='test -s conftest$ac_exeext'
8451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8455 (exit $ac_status); }; }; then
8456 ac_cv_lib_svld_dlopen=yes
8458 echo "$as_me: failed program was:" >&5
8459 sed 's/^/| /' conftest.$ac_ext >&5
8461 ac_cv_lib_svld_dlopen=no
8463 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8464 LIBS=$ac_check_lib_save_LIBS
8466 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8467 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8468 if test $ac_cv_lib_svld_dlopen = yes; then
8469 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8471 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8472 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8473 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8474 echo $ECHO_N "(cached) $ECHO_C" >&6
8476 ac_check_lib_save_LIBS=$LIBS
8478 cat >conftest.$ac_ext <<_ACEOF
8479 #line $LINENO "configure"
8482 cat confdefs.h >>conftest.$ac_ext
8483 cat >>conftest.$ac_ext <<_ACEOF
8484 /* end confdefs.h. */
8486 /* Override any gcc2 internal prototype to avoid an error. */
8490 /* We use char because int might match the return type of a gcc2
8491 builtin and then its argument prototype would still apply. */
8501 rm -f conftest.$ac_objext conftest$ac_exeext
8502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8503 (eval $ac_link) 2>&5
8505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8506 (exit $ac_status); } &&
8507 { ac_try='test -s conftest$ac_exeext'
8508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8512 (exit $ac_status); }; }; then
8513 ac_cv_lib_dld_dld_link=yes
8515 echo "$as_me: failed program was:" >&5
8516 sed 's/^/| /' conftest.$ac_ext >&5
8518 ac_cv_lib_dld_dld_link=no
8520 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8521 LIBS=$ac_check_lib_save_LIBS
8523 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8524 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8525 if test $ac_cv_lib_dld_dld_link = yes; then
8526 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8547 if test "x$lt_cv_dlopen" != xno; then
8553 case $lt_cv_dlopen in
8555 save_CPPFLAGS="$CPPFLAGS"
8556 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8558 save_LDFLAGS="$LDFLAGS"
8559 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8562 LIBS="$lt_cv_dlopen_libs $LIBS"
8564 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8565 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8566 if test "${lt_cv_dlopen_self+set}" = set; then
8567 echo $ECHO_N "(cached) $ECHO_C" >&6
8569 if test "$cross_compiling" = yes; then :
8570 lt_cv_dlopen_self=cross
8572 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8573 lt_status=$lt_dlunknown
8574 cat > conftest.$ac_ext <<EOF
8575 #line 8575 "configure"
8576 #include "confdefs.h"
8585 # define LT_DLGLOBAL RTLD_GLOBAL
8588 # define LT_DLGLOBAL DL_GLOBAL
8590 # define LT_DLGLOBAL 0
8594 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8595 find out it does not work in some platform. */
8596 #ifndef LT_DLLAZY_OR_NOW
8598 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8601 # define LT_DLLAZY_OR_NOW DL_LAZY
8604 # define LT_DLLAZY_OR_NOW RTLD_NOW
8607 # define LT_DLLAZY_OR_NOW DL_NOW
8609 # define LT_DLLAZY_OR_NOW 0
8617 extern "C" void exit (int);
8620 void fnord() { int i=42;}
8623 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8624 int status = $lt_dlunknown;
8628 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8629 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8630 /* dlclose (self); */
8636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8637 (eval $ac_link) 2>&5
8639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8640 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8641 (./conftest; exit; ) 2>/dev/null
8644 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8645 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8646 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
8649 # compilation failed
8650 lt_cv_dlopen_self=no
8657 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8658 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8660 if test "x$lt_cv_dlopen_self" = xyes; then
8661 LDFLAGS="$LDFLAGS $link_static_flag"
8662 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8663 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8664 if test "${lt_cv_dlopen_self_static+set}" = set; then
8665 echo $ECHO_N "(cached) $ECHO_C" >&6
8667 if test "$cross_compiling" = yes; then :
8668 lt_cv_dlopen_self_static=cross
8670 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8671 lt_status=$lt_dlunknown
8672 cat > conftest.$ac_ext <<EOF
8673 #line 8673 "configure"
8674 #include "confdefs.h"
8683 # define LT_DLGLOBAL RTLD_GLOBAL
8686 # define LT_DLGLOBAL DL_GLOBAL
8688 # define LT_DLGLOBAL 0
8692 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8693 find out it does not work in some platform. */
8694 #ifndef LT_DLLAZY_OR_NOW
8696 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8699 # define LT_DLLAZY_OR_NOW DL_LAZY
8702 # define LT_DLLAZY_OR_NOW RTLD_NOW
8705 # define LT_DLLAZY_OR_NOW DL_NOW
8707 # define LT_DLLAZY_OR_NOW 0
8715 extern "C" void exit (int);
8718 void fnord() { int i=42;}
8721 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8722 int status = $lt_dlunknown;
8726 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8727 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8728 /* dlclose (self); */
8734 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8735 (eval $ac_link) 2>&5
8737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8738 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8739 (./conftest; exit; ) 2>/dev/null
8742 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8743 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8744 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
8747 # compilation failed
8748 lt_cv_dlopen_self_static=no
8755 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8756 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8759 CPPFLAGS="$save_CPPFLAGS"
8760 LDFLAGS="$save_LDFLAGS"
8765 case $lt_cv_dlopen_self in
8766 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
8767 *) enable_dlopen_self=unknown ;;
8770 case $lt_cv_dlopen_self_static in
8771 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
8772 *) enable_dlopen_self_static=unknown ;;
8777 # Report which librarie types wil actually be built
8778 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8779 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8780 echo "$as_me:$LINENO: result: $can_build_shared" >&5
8781 echo "${ECHO_T}$can_build_shared" >&6
8783 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8784 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8785 test "$can_build_shared" = "no" && enable_shared=no
8787 # On AIX, shared libraries and static libraries use the same namespace, and
8788 # are all built from PIC.
8791 test "$enable_shared" = yes && enable_static=no
8792 if test -n "$RANLIB"; then
8793 archive_cmds="$archive_cmds~\$RANLIB \$lib"
8794 postinstall_cmds='$RANLIB $lib'
8799 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8800 test "$enable_shared" = yes && enable_static=no
8803 darwin* | rhapsody*)
8804 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8805 archive_cmds_need_lc=no
8807 rhapsody* | darwin1.[012])
8808 allow_undefined_flag='-undefined suppress'
8811 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
8814 # FIXME: Relying on posixy $() will cause problems for
8815 # cross-compilation, but unfortunately the echo tests do not
8816 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
8817 # `"' quotes if we put them in here... so don't!
8818 output_verbose_link_cmd='echo'
8819 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8820 module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
8821 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8822 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}'
8823 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}'
8825 hardcode_automatic=yes
8826 hardcode_shlibpath_var=unsupported
8827 whole_archive_flag_spec='-all_load $convenience'
8828 link_all_deplibs=yes
8832 echo "$as_me:$LINENO: result: $enable_shared" >&5
8833 echo "${ECHO_T}$enable_shared" >&6
8835 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8836 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
8837 # Make sure either enable_shared or enable_static is yes.
8838 test "$enable_shared" = yes || enable_static=yes
8839 echo "$as_me:$LINENO: result: $enable_static" >&5
8840 echo "${ECHO_T}$enable_static" >&6
8842 # The else clause should only fire when bootstrapping the
8843 # libtool distribution, otherwise you forgot to ship ltmain.sh
8844 # with your package, and you will get complaints that there are
8845 # no rules to generate ltmain.sh.
8846 if test -f "$ltmain"; then
8847 # See if we are running on zsh, and set the options which allow our commands through
8848 # without removal of \ escapes.
8849 if test -n "${ZSH_VERSION+set}" ; then
8850 setopt NO_GLOB_SUBST
8852 # Now quote all the things that may contain metacharacters while being
8853 # careful not to overquote the AC_SUBSTed values. We take copies of the
8854 # variables and quote the copies for generation of the libtool script.
8855 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8856 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8857 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8858 deplibs_check_method reload_flag reload_cmds need_locks \
8859 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
8860 lt_cv_sys_global_symbol_to_c_name_address \
8861 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8862 old_postinstall_cmds old_postuninstall_cmds \
8866 lt_prog_compiler_wl \
8867 lt_prog_compiler_pic \
8868 lt_prog_compiler_static \
8869 lt_prog_compiler_no_builtin_flag \
8870 export_dynamic_flag_spec \
8871 thread_safe_flag_spec \
8872 whole_archive_flag_spec \
8873 enable_shared_with_static_runtimes \
8875 old_archive_from_new_cmds \
8880 compiler_lib_search_path \
8882 archive_expsym_cmds \
8884 postuninstall_cmds \
8885 old_archive_from_expsyms_cmds \
8886 allow_undefined_flag \
8888 export_symbols_cmds \
8889 hardcode_libdir_flag_spec \
8890 hardcode_libdir_flag_spec_ld \
8891 hardcode_libdir_separator \
8892 hardcode_automatic \
8894 module_expsym_cmds \
8895 lt_cv_prog_compiler_c_o \
8900 old_archive_cmds | \
8901 old_archive_from_new_cmds | \
8903 archive_expsym_cmds | \
8905 module_expsym_cmds | \
8906 old_archive_from_expsyms_cmds | \
8907 export_symbols_cmds | \
8908 extract_expsyms_cmds | reload_cmds | finish_cmds | \
8909 postinstall_cmds | postuninstall_cmds | \
8910 old_postinstall_cmds | old_postuninstall_cmds | \
8911 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
8912 # Double-quote double-evaled strings.
8913 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
8916 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
8922 *'\$0 --fallback-echo"')
8923 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
8928 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
8930 { echo "$as_me:$LINENO: creating $ofile" >&5
8931 echo "$as_me: creating $ofile" >&6;}
8933 cat <<__EOF__ >> "$cfgfile"
8936 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
8937 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
8938 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8940 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
8941 # Free Software Foundation, Inc.
8943 # This file is part of GNU Libtool:
8944 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8946 # This program is free software; you can redistribute it and/or modify
8947 # it under the terms of the GNU General Public License as published by
8948 # the Free Software Foundation; either version 2 of the License, or
8949 # (at your option) any later version.
8951 # This program is distributed in the hope that it will be useful, but
8952 # WITHOUT ANY WARRANTY; without even the implied warranty of
8953 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8954 # General Public License for more details.
8956 # You should have received a copy of the GNU General Public License
8957 # along with this program; if not, write to the Free Software
8958 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8960 # As a special exception to the GNU General Public License, if you
8961 # distribute this file as part of a program that contains a
8962 # configuration script generated by Autoconf, you may include it under
8963 # the same distribution terms that you use for the rest of that program.
8965 # A sed program that does not truncate output.
8968 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
8969 Xsed="$SED -e s/^X//"
8971 # The HP-UX ksh and POSIX shell print the target directory to stdout
8973 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
8975 # The names of the tagged configurations supported by this script.
8978 # ### BEGIN LIBTOOL CONFIG
8980 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
8982 # Shell to use when invoking shell scripts.
8985 # Whether or not to build shared libraries.
8986 build_libtool_libs=$enable_shared
8988 # Whether or not to build static libraries.
8989 build_old_libs=$enable_static
8991 # Whether or not to add -lc for building shared libraries.
8992 build_libtool_need_lc=$archive_cmds_need_lc
8994 # Whether or not to disallow shared libs when runtime libs are static
8995 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
8997 # Whether or not to optimize for fast installation.
8998 fast_install=$enable_fast_install
9001 host_alias=$host_alias
9004 # An echo program that does not interpret backslashes.
9009 AR_FLAGS=$lt_AR_FLAGS
9014 # A language-specific compiler.
9017 # Is the compiler the GNU C compiler?
9023 # The linker used to build libraries.
9026 # Whether we need hard or soft links.
9029 # A BSD-compatible nm program.
9032 # A symbol stripping program
9035 # Used to examine libraries when file_magic_cmd begins "file"
9036 MAGIC_CMD=$MAGIC_CMD
9038 # Used on cygwin: DLL creation program.
9041 # Used on cygwin: object dumper.
9044 # Used on cygwin: assembler.
9047 # The name of the directory that contains temporary libtool files.
9050 # How to create reloadable object files.
9051 reload_flag=$lt_reload_flag
9052 reload_cmds=$lt_reload_cmds
9054 # How to pass a linker flag through the compiler.
9055 wl=$lt_lt_prog_compiler_wl
9057 # Object file suffix (normally "o").
9060 # Old archive suffix (normally "a").
9063 # Shared library suffix (normally ".so").
9066 # Executable file suffix (normally "").
9069 # Additional compiler flags for building library objects.
9070 pic_flag=$lt_lt_prog_compiler_pic
9073 # What is the maximum length of a command?
9074 max_cmd_len=$lt_cv_sys_max_cmd_len
9076 # Does compiler simultaneously support -c and -o options?
9077 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9079 # Must we lock files when doing compilation ?
9080 need_locks=$lt_need_locks
9082 # Do we need the lib prefix for modules?
9083 need_lib_prefix=$need_lib_prefix
9085 # Do we need a version for libraries?
9086 need_version=$need_version
9088 # Whether dlopen is supported.
9089 dlopen_support=$enable_dlopen
9091 # Whether dlopen of programs is supported.
9092 dlopen_self=$enable_dlopen_self
9094 # Whether dlopen of statically linked programs is supported.
9095 dlopen_self_static=$enable_dlopen_self_static
9097 # Compiler flag to prevent dynamic linking.
9098 link_static_flag=$lt_lt_prog_compiler_static
9100 # Compiler flag to turn off builtin functions.
9101 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9103 # Compiler flag to allow reflexive dlopens.
9104 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9106 # Compiler flag to generate shared objects directly from archives.
9107 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9109 # Compiler flag to generate thread-safe objects.
9110 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9112 # Library versioning type.
9113 version_type=$version_type
9115 # Format of library name prefix.
9116 libname_spec=$lt_libname_spec
9118 # List of archive names. First name is the real one, the rest are links.
9119 # The last name is the one that the linker finds with -lNAME.
9120 library_names_spec=$lt_library_names_spec
9122 # The coded name of the library, if different from the real name.
9123 soname_spec=$lt_soname_spec
9125 # Commands used to build and install an old-style archive.
9127 old_archive_cmds=$lt_old_archive_cmds
9128 old_postinstall_cmds=$lt_old_postinstall_cmds
9129 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9131 # Create an old-style archive from a shared archive.
9132 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9134 # Create a temporary old-style archive to link instead of a shared archive.
9135 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9137 # Commands used to build and install a shared archive.
9138 archive_cmds=$lt_archive_cmds
9139 archive_expsym_cmds=$lt_archive_expsym_cmds
9140 postinstall_cmds=$lt_postinstall_cmds
9141 postuninstall_cmds=$lt_postuninstall_cmds
9143 # Commands used to build a loadable module (assumed same as above if empty)
9144 module_cmds=$lt_module_cmds
9145 module_expsym_cmds=$lt_module_expsym_cmds
9147 # Commands to strip libraries.
9148 old_striplib=$lt_old_striplib
9149 striplib=$lt_striplib
9151 # Dependencies to place before the objects being linked to create a
9153 predep_objects=$lt_predep_objects
9155 # Dependencies to place after the objects being linked to create a
9157 postdep_objects=$lt_postdep_objects
9159 # Dependencies to place before the objects being linked to create a
9163 # Dependencies to place after the objects being linked to create a
9165 postdeps=$lt_postdeps
9167 # The library search path used internally by the compiler when linking
9169 compiler_lib_search_path=$lt_compiler_lib_search_path
9171 # Method to check whether dependent libraries are shared objects.
9172 deplibs_check_method=$lt_deplibs_check_method
9174 # Command to use when deplibs_check_method == file_magic.
9175 file_magic_cmd=$lt_file_magic_cmd
9177 # Flag that allows shared libraries with undefined symbols to be built.
9178 allow_undefined_flag=$lt_allow_undefined_flag
9180 # Flag that forces no undefined symbols.
9181 no_undefined_flag=$lt_no_undefined_flag
9183 # Commands used to finish a libtool library installation in a directory.
9184 finish_cmds=$lt_finish_cmds
9186 # Same as above, but a single script fragment to be evaled but not shown.
9187 finish_eval=$lt_finish_eval
9189 # Take the output of nm and produce a listing of raw symbols and C names.
9190 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9192 # Transform the output of nm in a proper C declaration
9193 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9195 # Transform the output of nm in a C name address pair
9196 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9198 # This is the shared library runtime path variable.
9199 runpath_var=$runpath_var
9201 # This is the shared library path variable.
9202 shlibpath_var=$shlibpath_var
9204 # Is shlibpath searched before the hard-coded library search path?
9205 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9207 # How to hardcode a shared library path into an executable.
9208 hardcode_action=$hardcode_action
9210 # Whether we should hardcode library paths into libraries.
9211 hardcode_into_libs=$hardcode_into_libs
9213 # Flag to hardcode \$libdir into a binary during linking.
9214 # This must work even if \$libdir does not exist.
9215 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9217 # If ld is used when linking, flag to hardcode \$libdir into
9218 # a binary during linking. This must work even if \$libdir does
9220 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9222 # Whether we need a single -rpath flag with a separated argument.
9223 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9225 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9227 hardcode_direct=$hardcode_direct
9229 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9231 hardcode_minus_L=$hardcode_minus_L
9233 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9234 # the resulting binary.
9235 hardcode_shlibpath_var=$hardcode_shlibpath_var
9237 # Set to yes if building a shared library automatically hardcodes DIR into the library
9238 # and all subsequent libraries and executables linked against it.
9239 hardcode_automatic=$hardcode_automatic
9241 # Variables whose values should be saved in libtool wrapper scripts and
9242 # restored at relink time.
9243 variables_saved_for_relink="$variables_saved_for_relink"
9245 # Whether libtool must link a program against all its dependency libraries.
9246 link_all_deplibs=$link_all_deplibs
9248 # Compile-time system search path for libraries
9249 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9251 # Run-time system search path for libraries
9252 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9254 # Fix the shell variable \$srcfile for the compiler.
9255 fix_srcfile_path="$fix_srcfile_path"
9257 # Set to yes if exported symbols are required.
9258 always_export_symbols=$always_export_symbols
9260 # The commands to list exported symbols.
9261 export_symbols_cmds=$lt_export_symbols_cmds
9263 # The commands to extract the exported symbol list from a shared archive.
9264 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9266 # Symbols that should not be listed in the preloaded symbols.
9267 exclude_expsyms=$lt_exclude_expsyms
9269 # Symbols that must always be exported.
9270 include_expsyms=$lt_include_expsyms
9272 # ### END LIBTOOL CONFIG
9279 cat <<\EOF >> "$cfgfile"
9281 # AIX sometimes has problems with the GCC collect2 program. For some
9282 # reason, if we set the COLLECT_NAMES environment variable, the problems
9283 # vanish in a puff of smoke.
9284 if test "X${COLLECT_NAMES+set}" != Xset; then
9286 export COLLECT_NAMES
9292 # We use sed instead of cat because bash on DJGPP gets confused if
9293 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9294 # text mode, it properly converts lines to CR/LF. This bash problem
9295 # is reportedly fixed, but why not run on old versions too?
9296 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9298 mv -f "$cfgfile" "$ofile" || \
9299 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9303 # If there is no Makefile yet, we rely on a make rule to execute
9304 # `config.status --recheck' to rerun these tests and create the
9305 # libtool script then.
9306 test -f Makefile && make "$ltmain"
9311 ac_cpp='$CPP $CPPFLAGS'
9312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9319 # Check whether --with-tags or --without-tags was given.
9320 if test "${with_tags+set}" = set; then
9321 withval="$with_tags"
9325 if test -f "$ltmain" && test -n "$tagnames"; then
9326 if test ! -f "${ofile}"; then
9327 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9328 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9331 if test -z "$LTCC"; then
9332 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9333 if test -z "$LTCC"; then
9334 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9335 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9337 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9338 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9342 # Extract list of available tagged configurations in $ofile.
9343 # Note that this assumes the entire list is on one line.
9344 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9346 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9347 for tagname in $tagnames; do
9349 # Check whether tagname contains only valid characters
9350 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9352 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9353 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9354 { (exit 1); exit 1; }; }
9358 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9360 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9361 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9362 { (exit 1); exit 1; }; }
9365 # Update the list of available tags.
9366 if test -n "$tagname"; then
9367 echo appending configuration tag \"$tagname\" to $ofile
9371 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9373 ac_cpp='$CXXCPP $CPPFLAGS'
9374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9381 archive_cmds_need_lc_CXX=no
9382 allow_undefined_flag_CXX=
9383 always_export_symbols_CXX=no
9384 archive_expsym_cmds_CXX=
9385 export_dynamic_flag_spec_CXX=
9386 hardcode_direct_CXX=no
9387 hardcode_libdir_flag_spec_CXX=
9388 hardcode_libdir_flag_spec_ld_CXX=
9389 hardcode_libdir_separator_CXX=
9390 hardcode_minus_L_CXX=no
9391 hardcode_automatic_CXX=no
9393 module_expsym_cmds_CXX=
9394 link_all_deplibs_CXX=unknown
9395 old_archive_cmds_CXX=$old_archive_cmds
9396 no_undefined_flag_CXX=
9397 whole_archive_flag_spec_CXX=
9398 enable_shared_with_static_runtimes_CXX=no
9400 # Dependencies to place before and after the object being linked:
9402 postdep_objects_CXX=
9405 compiler_lib_search_path_CXX=
9407 # Source file extension for C++ test sources.
9410 # Object file extension for compiled C++ test sources.
9414 # Code to be used in simple compile tests
9415 lt_simple_compile_test_code="int some_variable = 0;\n"
9417 # Code to be used in simple link tests
9418 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
9420 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9422 # If no C compiler was specified, use CC.
9425 # Allow CC to be a program name with arguments.
9429 # Allow CC to be a program name with arguments.
9434 lt_save_with_gnu_ld=$with_gnu_ld
9435 lt_save_path_LD=$lt_cv_path_LD
9436 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9437 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9439 unset lt_cv_prog_gnu_ld
9441 if test -n "${lt_cv_path_LDCXX+set}"; then
9442 lt_cv_path_LD=$lt_cv_path_LDCXX
9446 test -z "${LDCXX+set}" || LD=$LDCXX
9450 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9452 # We don't want -fno-exception wen compiling C++ code, so set the
9453 # no_builtin_flag separately
9454 if test "$GXX" = yes; then
9455 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9457 lt_prog_compiler_no_builtin_flag_CXX=
9460 if test "$GXX" = yes; then
9461 # Set up default GNU C++ configuration
9464 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9465 if test "${with_gnu_ld+set}" = set; then
9466 withval="$with_gnu_ld"
9467 test "$withval" = no || with_gnu_ld=yes
9472 if test "$GCC" = yes; then
9473 # Check if gcc -print-prog-name=ld gives a path.
9474 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9475 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9478 # gcc leaves a trailing carriage return which upsets mingw
9479 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9481 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9484 # Accept absolute paths.
9486 re_direlt='/[^/][^/]*/\.\./'
9487 # Canonicalize the path of ld
9488 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9489 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9490 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9492 test -z "$LD" && LD="$ac_prog"
9495 # If it fails, then pretend we aren't using GCC.
9499 # If it is relative, then search for the first ld in PATH.
9503 elif test "$with_gnu_ld" = yes; then
9504 echo "$as_me:$LINENO: checking for GNU ld" >&5
9505 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9507 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9508 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9510 if test "${lt_cv_path_LD+set}" = set; then
9511 echo $ECHO_N "(cached) $ECHO_C" >&6
9513 if test -z "$LD"; then
9514 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9515 for ac_dir in $PATH; do
9517 test -z "$ac_dir" && ac_dir=.
9518 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9519 lt_cv_path_LD="$ac_dir/$ac_prog"
9520 # Check to see if the program is GNU ld. I'd rather use --version,
9521 # but apparently some GNU ld's only accept -v.
9522 # Break only if it was the GNU/non-GNU ld that we prefer.
9523 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9524 *GNU* | *'with BFD'*)
9525 test "$with_gnu_ld" != no && break
9528 test "$with_gnu_ld" != yes && break
9535 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9540 if test -n "$LD"; then
9541 echo "$as_me:$LINENO: result: $LD" >&5
9542 echo "${ECHO_T}$LD" >&6
9544 echo "$as_me:$LINENO: result: no" >&5
9545 echo "${ECHO_T}no" >&6
9547 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9548 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9549 { (exit 1); exit 1; }; }
9550 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9551 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9552 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9553 echo $ECHO_N "(cached) $ECHO_C" >&6
9555 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9556 case `"$LD" -v 2>&1 </dev/null` in
9557 *GNU* | *'with BFD'*)
9558 lt_cv_prog_gnu_ld=yes
9561 lt_cv_prog_gnu_ld=no
9565 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9566 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9567 with_gnu_ld=$lt_cv_prog_gnu_ld
9571 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9572 # archiving commands below assume that GNU ld is being used.
9573 if test "$with_gnu_ld" = yes; then
9574 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9575 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'
9577 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
9578 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9580 # If archive_cmds runs LD, not CC, wlarc should be empty
9581 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9582 # investigate it a little bit more. (MM)
9585 # ancient GNU ld didn't support --whole-archive et. al.
9586 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9587 grep 'no-whole-archive' > /dev/null; then
9588 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9590 whole_archive_flag_spec_CXX=
9596 # A generic and very simple default shared library creation
9597 # command for GNU C++ for the case where it uses the native
9598 # linker, instead of GNU ld. If possible, this setting should
9599 # overridden to take advantage of the native linker features on
9600 # the platform it is being used on.
9601 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9604 # Commands to make compiler produce verbose output that lists
9605 # what "hidden" libraries, object files and flags are used when
9606 # linking a shared library.
9607 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9615 # PORTME: fill in a description of your system's C++ link characteristics
9616 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9617 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9621 # FIXME: insert proper C++ library support
9625 if test "$host_cpu" = ia64; then
9626 # On IA64, the linker does run time linking by default, so we don't
9627 # have to do anything special.
9628 aix_use_runtimelinking=no
9629 exp_sym_flag='-Bexport'
9632 aix_use_runtimelinking=no
9634 # Test if we are trying to use run time linking or normal
9635 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9636 # need to do runtime linking.
9637 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9638 for ld_flag in $LDFLAGS; do
9641 aix_use_runtimelinking=yes
9648 exp_sym_flag='-bexport'
9649 no_entry_flag='-bnoentry'
9652 # When large executables or shared objects are built, AIX ld can
9653 # have problems creating the table of contents. If linking a library
9654 # or program results in "error TOC overflow" add -mminimal-toc to
9655 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9656 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9659 hardcode_direct_CXX=yes
9660 hardcode_libdir_separator_CXX=':'
9661 link_all_deplibs_CXX=yes
9663 if test "$GXX" = yes; then
9664 case $host_os in aix4.012|aix4.012.*)
9665 # We only want to do this on AIX 4.2 and lower, the check
9666 # below for broken collect2 doesn't work under 4.3+
9667 collect2name=`${CC} -print-prog-name=collect2`
9668 if test -f "$collect2name" && \
9669 strings "$collect2name" | grep resolve_lib_name >/dev/null
9671 # We have reworked collect2
9672 hardcode_direct_CXX=yes
9674 # We have old collect2
9675 hardcode_direct_CXX=unsupported
9676 # It fails to find uninstalled libraries when the uninstalled
9677 # path is not listed in the libpath. Setting hardcode_minus_L
9678 # to unsupported forces relinking
9679 hardcode_minus_L_CXX=yes
9680 hardcode_libdir_flag_spec_CXX='-L$libdir'
9681 hardcode_libdir_separator_CXX=
9684 shared_flag='-shared'
9687 if test "$host_cpu" = ia64; then
9688 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9689 # chokes on -Wl,-G. The following line is correct:
9692 if test "$aix_use_runtimelinking" = yes; then
9693 shared_flag='${wl}-G'
9695 shared_flag='${wl}-bM:SRE'
9700 # It seems that -bexpall does not export symbols beginning with
9701 # underscore (_), so it is better to generate a list of symbols to export.
9702 always_export_symbols_CXX=yes
9703 if test "$aix_use_runtimelinking" = yes; then
9704 # Warning - without using the other runtime loading flags (-brtl),
9705 # -berok will link without error, but may produce a broken library.
9706 allow_undefined_flag_CXX='-berok'
9707 # Determine the default libpath from the value encoded in an empty executable.
9708 cat >conftest.$ac_ext <<_ACEOF
9709 #line $LINENO "configure"
9712 cat confdefs.h >>conftest.$ac_ext
9713 cat >>conftest.$ac_ext <<_ACEOF
9714 /* end confdefs.h. */
9724 rm -f conftest.$ac_objext conftest$ac_exeext
9725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9726 (eval $ac_link) 2>&5
9728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9729 (exit $ac_status); } &&
9730 { ac_try='test -s conftest$ac_exeext'
9731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9735 (exit $ac_status); }; }; then
9737 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9739 # Check for a 64-bit object if we didn't find anything.
9740 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; }
9743 echo "$as_me: failed program was:" >&5
9744 sed 's/^/| /' conftest.$ac_ext >&5
9747 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9748 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9750 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9752 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"
9754 if test "$host_cpu" = ia64; then
9755 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
9756 allow_undefined_flag_CXX="-z nodefs"
9757 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"
9759 # Determine the default libpath from the value encoded in an empty executable.
9760 cat >conftest.$ac_ext <<_ACEOF
9761 #line $LINENO "configure"
9764 cat confdefs.h >>conftest.$ac_ext
9765 cat >>conftest.$ac_ext <<_ACEOF
9766 /* end confdefs.h. */
9776 rm -f conftest.$ac_objext conftest$ac_exeext
9777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9778 (eval $ac_link) 2>&5
9780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9781 (exit $ac_status); } &&
9782 { ac_try='test -s conftest$ac_exeext'
9783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9787 (exit $ac_status); }; }; then
9789 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9791 # Check for a 64-bit object if we didn't find anything.
9792 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; }
9795 echo "$as_me: failed program was:" >&5
9796 sed 's/^/| /' conftest.$ac_ext >&5
9799 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9800 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9802 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9803 # Warning - without using the other run time loading flags,
9804 # -berok will link without error, but may produce a broken library.
9805 no_undefined_flag_CXX=' ${wl}-bernotok'
9806 allow_undefined_flag_CXX=' ${wl}-berok'
9807 # -bexpall does not export symbols beginning with underscore (_)
9808 always_export_symbols_CXX=yes
9809 # Exported symbols can be pulled into shared objects from archives
9810 whole_archive_flag_spec_CXX=' '
9811 archive_cmds_need_lc_CXX=yes
9812 # This is similar to how AIX traditionally builds it's shared libraries.
9813 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'
9818 case $cc_basename in
9820 # FIXME: insert proper C++ library support
9826 cygwin* | mingw* | pw32*)
9827 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
9828 # as there is no search path for DLLs.
9829 hardcode_libdir_flag_spec_CXX='-L$libdir'
9830 allow_undefined_flag_CXX=unsupported
9831 always_export_symbols_CXX=no
9832 enable_shared_with_static_runtimes_CXX=yes
9834 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9835 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'
9836 # If the export-symbols file already is a .def file (1st line
9837 # is EXPORTS), use it as is; otherwise, prepend...
9838 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9839 cp $export_symbols $output_objdir/$soname.def;
9841 echo EXPORTS > $output_objdir/$soname.def;
9842 cat $export_symbols >> $output_objdir/$soname.def;
9844 $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'
9850 darwin* | rhapsody*)
9851 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9852 archive_cmds_need_lc_CXX=no
9854 rhapsody* | darwin1.[012])
9855 allow_undefined_flag_CXX='-undefined suppress'
9858 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9861 lt_int_apple_cc_single_mod=no
9862 output_verbose_link_cmd='echo'
9863 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9864 lt_int_apple_cc_single_mod=yes
9866 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9867 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9869 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'
9871 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9873 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9874 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9875 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}'
9877 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}'
9879 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}'
9880 hardcode_direct_CXX=no
9881 hardcode_automatic_CXX=yes
9882 hardcode_shlibpath_var_CXX=unsupported
9883 whole_archive_flag_spec_CXX='-all_load $convenience'
9884 link_all_deplibs_CXX=yes
9889 case $cc_basename in
9891 # FIXME: insert proper C++ library support
9895 # Green Hills C++ Compiler
9896 # FIXME: insert proper C++ library support
9900 # FIXME: insert proper C++ library support
9906 # C++ shared libraries reported to be fairly broken before switch to ELF
9910 archive_cmds_need_lc_CXX=no
9913 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
9920 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9921 hardcode_libdir_separator_CXX=:
9922 export_dynamic_flag_spec_CXX='${wl}-E'
9923 hardcode_direct_CXX=yes
9924 hardcode_minus_L_CXX=yes # Not in the search PATH,
9925 # but as the default
9926 # location of the library.
9928 case $cc_basename in
9930 # FIXME: insert proper C++ library support
9934 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'
9935 # Commands to make compiler produce verbose output that lists
9936 # what "hidden" libraries, object files and flags are used when
9937 # linking a shared library.
9939 # There doesn't appear to be a way to prevent this compiler from
9940 # explicitly linking system object files so we need to strip them
9941 # from the output so that they don't get included in the library
9943 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'
9946 if test "$GXX" = yes; then
9947 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'
9949 # FIXME: insert proper C++ library support
9956 if test $with_gnu_ld = no; then
9959 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9960 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
9961 hardcode_libdir_separator_CXX=:
9964 hardcode_libdir_flag_spec_CXX='-L$libdir'
9967 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9968 hardcode_libdir_separator_CXX=:
9969 export_dynamic_flag_spec_CXX='${wl}-E'
9975 hardcode_direct_CXX=no
9976 hardcode_shlibpath_var_CXX=no
9979 hardcode_direct_CXX=no
9980 hardcode_shlibpath_var_CXX=no
9981 hardcode_minus_L_CXX=yes # Not in the search PATH,
9982 # but as the default
9983 # location of the library.
9986 hardcode_direct_CXX=yes
9987 hardcode_minus_L_CXX=yes # Not in the search PATH,
9988 # but as the default
9989 # location of the library.
9993 case $cc_basename in
9995 # FIXME: insert proper C++ library support
10001 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10004 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10007 # Commands to make compiler produce verbose output that lists
10008 # what "hidden" libraries, object files and flags are used when
10009 # linking a shared library.
10011 # There doesn't appear to be a way to prevent this compiler from
10012 # explicitly linking system object files so we need to strip them
10013 # from the output so that they don't get included in the library
10015 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'
10018 if test "$GXX" = yes; then
10019 if test $with_gnu_ld = no; then
10020 case "$host_cpu" in
10022 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10025 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'
10030 # FIXME: insert proper C++ library support
10037 case $cc_basename in
10040 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'
10042 # Archives containing C++ object files must be created using
10043 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10044 # necessary to make sure instantiated templates are included
10046 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10049 if test "$GXX" = yes; then
10050 if test "$with_gnu_ld" = no; then
10051 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'
10053 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'
10056 link_all_deplibs_CXX=yes
10059 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10060 hardcode_libdir_separator_CXX=:
10063 case $cc_basename in
10065 # Kuck and Associates, Inc. (KAI) C++ Compiler
10067 # KCC will only create a shared library if the output file
10068 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10069 # to its proper name (with version) after linking.
10070 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'
10071 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'
10072 # Commands to make compiler produce verbose output that lists
10073 # what "hidden" libraries, object files and flags are used when
10074 # linking a shared library.
10076 # There doesn't appear to be a way to prevent this compiler from
10077 # explicitly linking system object files so we need to strip them
10078 # from the output so that they don't get included in the library
10080 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'
10082 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10083 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10085 # Archives containing C++ object files must be created using
10086 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10087 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10092 archive_cmds_need_lc_CXX=no
10093 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10094 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'
10095 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10096 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10097 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10101 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10102 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'
10104 runpath_var=LD_RUN_PATH
10105 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10106 hardcode_libdir_separator_CXX=:
10108 # Commands to make compiler produce verbose output that lists
10109 # what "hidden" libraries, object files and flags are used when
10110 # linking a shared library.
10112 # There doesn't appear to be a way to prevent this compiler from
10113 # explicitly linking system object files so we need to strip them
10114 # from the output so that they don't get included in the library
10116 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'
10121 # FIXME: insert proper C++ library support
10125 # FIXME: insert proper C++ library support
10129 case $cc_basename in
10131 # FIXME: insert proper C++ library support
10135 # FIXME: insert proper C++ library support
10141 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10142 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10144 hardcode_libdir_flag_spec_CXX='-R$libdir'
10145 hardcode_direct_CXX=yes
10146 hardcode_shlibpath_var_CXX=no
10148 # Workaround some broken pre-1.5 toolchains
10149 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10152 case $cc_basename in
10154 # Kuck and Associates, Inc. (KAI) C++ Compiler
10156 # KCC will only create a shared library if the output file
10157 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10158 # to its proper name (with version) after linking.
10159 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'
10161 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10162 hardcode_libdir_separator_CXX=:
10164 # Archives containing C++ object files must be created using
10165 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10166 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10170 # Rational C++ 2.4.1
10171 # FIXME: insert proper C++ library support
10175 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10176 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'
10178 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10179 hardcode_libdir_separator_CXX=:
10181 # Commands to make compiler produce verbose output that lists
10182 # what "hidden" libraries, object files and flags are used when
10183 # linking a shared library.
10185 # There doesn't appear to be a way to prevent this compiler from
10186 # explicitly linking system object files so we need to strip them
10187 # from the output so that they don't get included in the library
10189 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'
10192 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10193 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10194 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'
10196 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10197 hardcode_libdir_separator_CXX=:
10199 # Commands to make compiler produce verbose output that lists
10200 # what "hidden" libraries, object files and flags are used when
10201 # linking a shared library.
10202 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10205 # FIXME: insert proper C++ library support
10212 case $cc_basename in
10214 # Kuck and Associates, Inc. (KAI) C++ Compiler
10216 # KCC will only create a shared library if the output file
10217 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10218 # to its proper name (with version) after linking.
10219 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'
10221 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10222 hardcode_libdir_separator_CXX=:
10224 # Archives containing C++ object files must be created using
10225 # the KAI C++ compiler.
10226 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10229 # Rational C++ 2.4.1
10230 # FIXME: insert proper C++ library support
10234 allow_undefined_flag_CXX=' -expect_unresolved \*'
10235 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'
10236 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10237 echo "-hidden">> $lib.exp~
10238 $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~
10241 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10242 hardcode_libdir_separator_CXX=:
10244 # Commands to make compiler produce verbose output that lists
10245 # what "hidden" libraries, object files and flags are used when
10246 # linking a shared library.
10248 # There doesn't appear to be a way to prevent this compiler from
10249 # explicitly linking system object files so we need to strip them
10250 # from the output so that they don't get included in the library
10252 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'
10255 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10256 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10257 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'
10259 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10260 hardcode_libdir_separator_CXX=:
10262 # Commands to make compiler produce verbose output that lists
10263 # what "hidden" libraries, object files and flags are used when
10264 # linking a shared library.
10265 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10268 # FIXME: insert proper C++ library support
10275 # FIXME: insert proper C++ library support
10279 archive_cmds_need_lc_CXX=no
10280 case $cc_basename in
10282 # FIXME: insert proper C++ library support
10286 # FIXME: insert proper C++ library support
10292 case $cc_basename in
10295 # FIXME: insert proper C++ library support
10300 # FIXME: insert proper C++ library support
10304 # FIXME: insert proper C++ library support
10310 case $cc_basename in
10312 # Sun C++ 4.2, 5.x and Centerline C++
10313 no_undefined_flag_CXX=' -zdefs'
10314 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10315 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10316 $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'
10318 hardcode_libdir_flag_spec_CXX='-R$libdir'
10319 hardcode_shlibpath_var_CXX=no
10321 solaris2.0-5 | solaris2.0-5.*) ;;
10323 # The C++ compiler is used as linker so we must use $wl
10324 # flag to pass the commands to the underlying system
10326 # Supported since Solaris 2.6 (maybe 2.5.1?)
10327 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10330 link_all_deplibs_CXX=yes
10332 # Commands to make compiler produce verbose output that lists
10333 # what "hidden" libraries, object files and flags are used when
10334 # linking a shared library.
10336 # There doesn't appear to be a way to prevent this compiler from
10337 # explicitly linking system object files so we need to strip them
10338 # from the output so that they don't get included in the library
10340 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'
10342 # Archives containing C++ object files must be created using
10343 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10344 # necessary to make sure instantiated templates are included
10346 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10349 # Green Hills C++ Compiler
10350 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10352 # The C++ compiler must be used to create the archive.
10353 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10356 # GNU C++ compiler with Solaris linker
10357 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10358 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10359 if $CC --version | grep -v '^2\.7' > /dev/null; then
10360 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10361 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10362 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10364 # Commands to make compiler produce verbose output that lists
10365 # what "hidden" libraries, object files and flags are used when
10366 # linking a shared library.
10367 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10369 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10371 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10372 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10373 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10375 # Commands to make compiler produce verbose output that lists
10376 # what "hidden" libraries, object files and flags are used when
10377 # linking a shared library.
10378 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10381 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10386 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10387 archive_cmds_need_lc_CXX=no
10390 case $cc_basename in
10392 # NonStop-UX NCC 3.20
10393 # FIXME: insert proper C++ library support
10397 # FIXME: insert proper C++ library support
10403 # FIXME: insert proper C++ library support
10407 # FIXME: insert proper C++ library support
10411 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10412 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10413 test "$ld_shlibs_CXX" = no && can_build_shared=no
10419 ## There is no encapsulation within the following macros, do not change
10420 ## the running order or otherwise move them around unless you know exactly
10421 ## what you are doing...
10423 cat > conftest.$ac_ext <<EOF
10427 Foo (void) { a = 0; }
10433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10434 (eval $ac_compile) 2>&5
10436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10437 (exit $ac_status); }; then
10438 # Parse the compiler output and extract the necessary
10439 # objects, libraries and library flags.
10441 # Sentinel used to keep track of whether or not we are before
10442 # the conftest object file.
10443 pre_test_object_deps_done=no
10445 # The `*' in the case matches for architectures that use `case' in
10446 # $output_verbose_cmd can trigger glob expansion during the loop
10447 # eval without this substitution.
10448 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10450 for p in `eval $output_verbose_link_cmd`; do
10454 # Some compilers place space between "-{L,R}" and the path.
10455 # Remove the space.
10456 if test $p = "-L" \
10457 || test $p = "-R"; then
10464 if test "$pre_test_object_deps_done" = no; then
10467 # Internal compiler library paths should come after those
10468 # provided the user. The postdeps already come after the
10469 # user supplied libs so there is no need to process them.
10470 if test -z "$compiler_lib_search_path_CXX"; then
10471 compiler_lib_search_path_CXX="${prev}${p}"
10473 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10476 # The "-l" case would never come before the object being
10477 # linked, so don't bother handling this case.
10480 if test -z "$postdeps_CXX"; then
10481 postdeps_CXX="${prev}${p}"
10483 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10489 # This assumes that the test object file only shows up
10490 # once in the compiler output.
10491 if test "$p" = "conftest.$objext"; then
10492 pre_test_object_deps_done=yes
10496 if test "$pre_test_object_deps_done" = no; then
10497 if test -z "$predep_objects_CXX"; then
10498 predep_objects_CXX="$p"
10500 predep_objects_CXX="$predep_objects_CXX $p"
10503 if test -z "$postdep_objects_CXX"; then
10504 postdep_objects_CXX="$p"
10506 postdep_objects_CXX="$postdep_objects_CXX $p"
10511 *) ;; # Ignore the rest.
10519 echo "libtool.m4: error: problem compiling CXX test program"
10522 $rm -f confest.$objext
10524 case " $postdeps_CXX " in
10525 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
10528 lt_prog_compiler_wl_CXX=
10529 lt_prog_compiler_pic_CXX=
10530 lt_prog_compiler_static_CXX=
10532 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10533 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10535 # C++ specific cases for pic, static, wl, etc.
10536 if test "$GXX" = yes; then
10537 lt_prog_compiler_wl_CXX='-Wl,'
10538 lt_prog_compiler_static_CXX='-static'
10542 # All AIX code is PIC.
10543 if test "$host_cpu" = ia64; then
10544 # AIX 5 now supports IA64 processor
10545 lt_prog_compiler_static_CXX='-Bstatic'
10549 # FIXME: we need at least 68020 code to build shared libraries, but
10550 # adding the `-m68020' flag to GCC prevents building anything better,
10552 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10554 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10555 # PIC is the default for these OSes.
10557 mingw* | os2* | pw32*)
10558 # This hack is so that the source file can tell whether it is being
10559 # built for inclusion in a dll (and should export symbols for example).
10560 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10562 darwin* | rhapsody*)
10563 # PIC is the default on this platform
10564 # Common symbols not allowed in MH_DYLIB files
10565 lt_prog_compiler_pic_CXX='-fno-common'
10568 # DJGPP does not support shared libraries at all
10569 lt_prog_compiler_pic_CXX=
10572 if test -d /usr/nec; then
10573 lt_prog_compiler_pic_CXX=-Kconform_pic
10577 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10578 # not for PA HP-UX.
10579 case "$host_cpu" in
10583 lt_prog_compiler_pic_CXX='-fPIC'
10588 lt_prog_compiler_pic_CXX='-fPIC'
10594 # All AIX code is PIC.
10595 if test "$host_cpu" = ia64; then
10596 # AIX 5 now supports IA64 processor
10597 lt_prog_compiler_static_CXX='-Bstatic'
10599 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
10603 case $cc_basename in
10605 # Green Hills C++ Compiler
10606 # _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"
10611 case $cc_basename in
10613 lt_prog_compiler_pic_CXX='-KPIC'
10616 # Green Hills C++ Compiler
10617 lt_prog_compiler_pic_CXX='-pic'
10624 # FreeBSD uses GNU C++
10626 hpux9* | hpux10* | hpux11*)
10627 case $cc_basename in
10629 lt_prog_compiler_wl_CXX='-Wl,'
10630 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10631 if test "$host_cpu" != ia64; then
10632 lt_prog_compiler_pic_CXX='+Z'
10636 lt_prog_compiler_wl_CXX='-Wl,'
10637 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10638 case "$host_cpu" in
10643 lt_prog_compiler_pic_CXX='+Z'
10651 irix5* | irix6* | nonstopux*)
10652 case $cc_basename in
10654 lt_prog_compiler_wl_CXX='-Wl,'
10655 lt_prog_compiler_static_CXX='-non_shared'
10656 # CC pic flag -KPIC is the default.
10663 case $cc_basename in
10666 lt_prog_compiler_wl_CXX='--backend -Wl,'
10667 lt_prog_compiler_pic_CXX='-fPIC'
10671 lt_prog_compiler_wl_CXX='-Wl,'
10672 lt_prog_compiler_pic_CXX='-KPIC'
10673 lt_prog_compiler_static_CXX='-static'
10677 # Make sure the PIC flag is empty. It appears that all Alpha
10678 # Linux and Compaq Tru64 Unix objects are PIC.
10679 lt_prog_compiler_pic_CXX=
10680 lt_prog_compiler_static_CXX='-non_shared'
10691 case $cc_basename in
10693 lt_prog_compiler_pic_CXX='-W c,exportall'
10701 osf3* | osf4* | osf5*)
10702 case $cc_basename in
10704 lt_prog_compiler_wl_CXX='--backend -Wl,'
10707 # Rational C++ 2.4.1
10708 lt_prog_compiler_pic_CXX='-pic'
10711 # Digital/Compaq C++
10712 lt_prog_compiler_wl_CXX='-Wl,'
10713 # Make sure the PIC flag is empty. It appears that all Alpha
10714 # Linux and Compaq Tru64 Unix objects are PIC.
10715 lt_prog_compiler_pic_CXX=
10716 lt_prog_compiler_static_CXX='-non_shared'
10725 case $cc_basename in
10727 lt_prog_compiler_pic_CXX='-fPIC'
10734 case $cc_basename in
10736 # Sun C++ 4.2, 5.x and Centerline C++
10737 lt_prog_compiler_pic_CXX='-KPIC'
10738 lt_prog_compiler_static_CXX='-Bstatic'
10739 lt_prog_compiler_wl_CXX='-Qoption ld '
10742 # Green Hills C++ Compiler
10743 lt_prog_compiler_pic_CXX='-PIC'
10750 case $cc_basename in
10753 lt_prog_compiler_pic_CXX='-pic'
10754 lt_prog_compiler_static_CXX='-Bstatic'
10758 lt_prog_compiler_pic_CXX='-pic'
10765 case $cc_basename in
10767 # NonStop-UX NCC 3.20
10768 lt_prog_compiler_pic_CXX='-KPIC'
10779 lt_prog_compiler_can_build_shared_CXX=no
10784 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10785 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
10788 # Check to make sure the PIC flag actually works.
10790 if test -n "$lt_prog_compiler_pic_CXX"; then
10791 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10792 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
10793 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10794 echo $ECHO_N "(cached) $ECHO_C" >&6
10796 lt_prog_compiler_pic_works_CXX=no
10797 ac_outfile=conftest.$ac_objext
10798 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10799 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
10800 # Insert the option either (1) after the last *FLAGS variable, or
10801 # (2) before a word containing "conftest.", or (3) at the end.
10802 # Note that $ac_compile itself does not contain backslashes and begins
10803 # with a dollar sign (not a hyphen), so the echo should work correctly.
10804 # The option is referenced via a variable to avoid confusing sed.
10805 lt_compile=`echo "$ac_compile" | $SED \
10806 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10807 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10808 -e 's:$: $lt_compiler_flag:'`
10809 (eval echo "\"\$as_me:10809: $lt_compile\"" >&5)
10810 (eval "$lt_compile" 2>conftest.err)
10812 cat conftest.err >&5
10813 echo "$as_me:10813: \$? = $ac_status" >&5
10814 if (exit $ac_status) && test -s "$ac_outfile"; then
10815 # The compiler can only warn and ignore the option if not recognized
10816 # So say no if there are warnings
10817 if test ! -s conftest.err; then
10818 lt_prog_compiler_pic_works_CXX=yes
10824 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10825 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
10827 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
10828 case $lt_prog_compiler_pic_CXX in
10830 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
10833 lt_prog_compiler_pic_CXX=
10834 lt_prog_compiler_can_build_shared_CXX=no
10839 # For platforms which do not support PIC, -DPIC is meaningless:
10841 lt_prog_compiler_pic_CXX=
10844 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
10848 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10849 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10850 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
10851 echo $ECHO_N "(cached) $ECHO_C" >&6
10853 lt_cv_prog_compiler_c_o_CXX=no
10854 $rm -r conftest 2>/dev/null
10858 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10860 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10861 # that will create temporary files in the current directory regardless of
10862 # the output directory. Thus, making CWD read-only will cause this test
10863 # to fail, enabling locking or at least warning the user not to do parallel
10867 lt_compiler_flag="-o out/conftest2.$ac_objext"
10868 # Insert the option either (1) after the last *FLAGS variable, or
10869 # (2) before a word containing "conftest.", or (3) at the end.
10870 # Note that $ac_compile itself does not contain backslashes and begins
10871 # with a dollar sign (not a hyphen), so the echo should work correctly.
10872 lt_compile=`echo "$ac_compile" | $SED \
10873 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10874 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10875 -e 's:$: $lt_compiler_flag:'`
10876 (eval echo "\"\$as_me:10876: $lt_compile\"" >&5)
10877 (eval "$lt_compile" 2>out/conftest.err)
10879 cat out/conftest.err >&5
10880 echo "$as_me:10880: \$? = $ac_status" >&5
10881 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10883 # The compiler can only warn and ignore the option if not recognized
10884 # So say no if there are warnings
10885 if test ! -s out/conftest.err; then
10886 lt_cv_prog_compiler_c_o_CXX=yes
10890 $rm conftest* out/*
10897 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10898 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
10901 hard_links="nottested"
10902 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
10903 # do not overwrite the value of need_locks provided by the user
10904 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10905 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10908 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10910 ln conftest.a conftest.b 2>&5 || hard_links=no
10911 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10912 echo "$as_me:$LINENO: result: $hard_links" >&5
10913 echo "${ECHO_T}$hard_links" >&6
10914 if test "$hard_links" = no; then
10915 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10916 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10923 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10924 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10926 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10929 # If we're using GNU nm, then we don't want the "-C" option.
10930 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10931 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10932 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'
10934 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'
10938 export_symbols_cmds_CXX="$ltdll_cmds"
10941 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10944 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10948 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10949 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10950 test "$ld_shlibs_CXX" = no && can_build_shared=no
10952 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10953 if test "$GCC" = yes; then
10954 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10958 # Do we need to explicitly link libc?
10960 case "x$archive_cmds_need_lc_CXX" in
10962 # Assume -lc should be added
10963 archive_cmds_need_lc_CXX=yes
10965 if test "$enable_shared" = yes && test "$GCC" = yes; then
10966 case $archive_cmds_CXX in
10968 # FIXME: we may have to deal with multi-command sequences.
10971 # Test whether the compiler implicitly links with -lc since on some
10972 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10973 # to ld, don't add -lc before -lgcc.
10974 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10975 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10977 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10980 (eval $ac_compile) 2>&5
10982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10983 (exit $ac_status); } 2>conftest.err; then
10986 libobjs=conftest.$ac_objext
10988 wl=$lt_prog_compiler_wl_CXX
10994 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
10995 allow_undefined_flag_CXX=
10996 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10997 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11000 (exit $ac_status); }
11002 archive_cmds_need_lc_CXX=no
11004 archive_cmds_need_lc_CXX=yes
11006 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
11008 cat conftest.err 1>&5
11011 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11012 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11019 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11020 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11021 hardcode_action_CXX=
11022 if test -n "$hardcode_libdir_flag_spec_CXX" || \
11023 test -n "$runpath_var CXX" || \
11024 test "X$hardcode_automatic_CXX"="Xyes" ; then
11026 # We can hardcode non-existant directories.
11027 if test "$hardcode_direct_CXX" != no &&
11028 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11029 # have to relink, otherwise we might link with an installed library
11030 # when we should be linking with a yet-to-be-installed one
11031 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
11032 test "$hardcode_minus_L_CXX" != no; then
11033 # Linking always hardcodes the temporary library directory.
11034 hardcode_action_CXX=relink
11036 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11037 hardcode_action_CXX=immediate
11040 # We cannot hardcode anything, or else we can only hardcode existing
11042 hardcode_action_CXX=unsupported
11044 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11045 echo "${ECHO_T}$hardcode_action_CXX" >&6
11047 if test "$hardcode_action_CXX" = relink; then
11048 # Fast installation is not supported
11049 enable_fast_install=no
11050 elif test "$shlibpath_overrides_runpath" = yes ||
11051 test "$enable_shared" = no; then
11052 # Fast installation is not necessary
11053 enable_fast_install=needless
11058 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11059 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11060 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11061 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11062 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11063 echo "$as_me:$LINENO: result: yes" >&5
11064 echo "${ECHO_T}yes" >&6
11066 # FIXME - insert some real tests, host_os isn't really good enough
11069 if test -n "$STRIP" ; then
11070 striplib="$STRIP -x"
11071 echo "$as_me:$LINENO: result: yes" >&5
11072 echo "${ECHO_T}yes" >&6
11074 echo "$as_me:$LINENO: result: no" >&5
11075 echo "${ECHO_T}no" >&6
11079 echo "$as_me:$LINENO: result: no" >&5
11080 echo "${ECHO_T}no" >&6
11085 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11086 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11087 library_names_spec=
11088 libname_spec='lib$name'
11092 postuninstall_cmds=
11096 shlibpath_overrides_runpath=unknown
11098 dynamic_linker="$host_os ld.so"
11099 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11100 if test "$GCC" = yes; then
11101 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11102 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11103 # if the path contains ";" then we assume it to be the separator
11104 # otherwise default to the standard path separator (i.e. ":") - it is
11105 # assumed that no part of a normal pathname contains ";" but that should
11106 # okay in the real world where ";" in dirpaths is itself problematic.
11107 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11109 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11112 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11114 need_lib_prefix=unknown
11115 hardcode_into_libs=no
11117 # when you set need_version to no, make sure it does not cause -set_version
11118 # flags to be left without arguments
11119 need_version=unknown
11124 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11125 shlibpath_var=LIBPATH
11127 # AIX 3 has no versioning support, so we append a major version to the name.
11128 soname_spec='${libname}${release}${shared_ext}$major'
11135 hardcode_into_libs=yes
11136 if test "$host_cpu" = ia64; then
11137 # AIX 5 supports IA64
11138 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11139 shlibpath_var=LD_LIBRARY_PATH
11141 # With GCC up to 2.95.x, collect2 would create an import file
11142 # for dependence libraries. The import file would start with
11143 # the line `#! .'. This would cause the generated library to
11144 # depend on `.', always an invalid library. This was fixed in
11145 # development snapshots of GCC prior to 3.0.
11147 aix4 | aix4.[01] | aix4.[01].*)
11148 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11150 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11153 can_build_shared=no
11157 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11158 # soname into executable. Probably we can add versioning support to
11159 # collect2, so additional links can be useful in future.
11160 if test "$aix_use_runtimelinking" = yes; then
11161 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11162 # instead of lib<name>.a to let people know that these are not
11163 # typical AIX shared libraries.
11164 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11166 # We preserve .a as extension for shared libraries through AIX4.2
11167 # and later when we are not doing run time linking.
11168 library_names_spec='${libname}${release}.a $libname.a'
11169 soname_spec='${libname}${release}${shared_ext}$major'
11171 shlibpath_var=LIBPATH
11176 library_names_spec='$libname.ixlibrary $libname.a'
11177 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11178 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'
11182 library_names_spec='${libname}${shared_ext}'
11183 dynamic_linker="$host_os ld.so"
11184 shlibpath_var=LIBRARY_PATH
11190 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11191 soname_spec='${libname}${release}${shared_ext}$major'
11192 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11193 shlibpath_var=LD_LIBRARY_PATH
11194 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11195 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11196 # the default ld.so.conf also contains /usr/contrib/lib and
11197 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11198 # libtool to hard-code these into programs
11201 cygwin* | mingw* | pw32*)
11202 version_type=windows
11207 case $GCC,$host_os in
11208 yes,cygwin* | yes,mingw* | yes,pw32*)
11209 library_names_spec='$libname.dll.a'
11210 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11211 postinstall_cmds='base_file=`basename \${file}`~
11212 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11213 dldir=$destdir/`dirname \$dlpath`~
11214 test -d \$dldir || mkdir -p \$dldir~
11215 $install_prog $dir/$dlname \$dldir/$dlname'
11216 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11217 dlpath=$dir/\$dldll~
11219 shlibpath_overrides_runpath=yes
11223 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11224 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11225 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
11228 # MinGW DLLs use traditional 'lib' prefix
11229 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11230 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11231 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11232 # It is most probably a Windows format PATH printed by
11233 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11234 # path with ; separators, and with drive letters. We can handle the
11235 # drive letters (cygwin fileutils understands them), so leave them,
11236 # especially as we might pass files found there to a mingw objdump,
11237 # which wouldn't understand a cygwinified path. Ahh.
11238 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11240 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11244 # pw32 DLLs use 'pw' prefix rather than 'lib'
11245 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11251 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11254 dynamic_linker='Win32 ld.exe'
11255 # FIXME: first we should search . and the directory the executable is in
11259 darwin* | rhapsody*)
11260 dynamic_linker="$host_os dyld"
11261 version_type=darwin
11264 # FIXME: Relying on posixy $() will cause problems for
11265 # cross-compilation, but unfortunately the echo tests do not
11266 # yet detect zsh echo's removal of \ escapes.
11267 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11268 soname_spec='${libname}${release}${major}$shared_ext'
11269 shlibpath_overrides_runpath=yes
11270 shlibpath_var=DYLD_LIBRARY_PATH
11271 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11272 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11273 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
11274 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"`
11276 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11283 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11284 soname_spec='${libname}${release}${shared_ext}$major'
11285 shlibpath_var=LD_LIBRARY_PATH
11293 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11294 version_type=freebsd-$objformat
11295 case $version_type in
11297 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11302 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11306 shlibpath_var=LD_LIBRARY_PATH
11309 shlibpath_overrides_runpath=yes
11311 freebsd3.01* | freebsdelf3.01*)
11312 shlibpath_overrides_runpath=yes
11313 hardcode_into_libs=yes
11316 shlibpath_overrides_runpath=no
11317 hardcode_into_libs=yes
11326 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11327 soname_spec='${libname}${release}${shared_ext}$major'
11328 shlibpath_var=LD_LIBRARY_PATH
11329 hardcode_into_libs=yes
11332 hpux9* | hpux10* | hpux11*)
11333 # Give a soname corresponding to the major version so that dld.sl refuses to
11334 # link against other versions.
11338 case "$host_cpu" in
11341 hardcode_into_libs=yes
11342 dynamic_linker="$host_os dld.so"
11343 shlibpath_var=LD_LIBRARY_PATH
11344 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11345 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11346 soname_spec='${libname}${release}${shared_ext}$major'
11347 if test "X$HPUX_IA64_MODE" = X32; then
11348 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11350 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11352 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11356 hardcode_into_libs=yes
11357 dynamic_linker="$host_os dld.sl"
11358 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11359 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11360 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11361 soname_spec='${libname}${release}${shared_ext}$major'
11362 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11363 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11367 dynamic_linker="$host_os dld.sl"
11368 shlibpath_var=SHLIB_PATH
11369 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11370 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11371 soname_spec='${libname}${release}${shared_ext}$major'
11374 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11375 postinstall_cmds='chmod 555 $lib'
11378 irix5* | irix6* | nonstopux*)
11380 nonstopux*) version_type=nonstopux ;;
11382 if test "$lt_cv_prog_gnu_ld" = yes; then
11390 soname_spec='${libname}${release}${shared_ext}$major'
11391 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11393 irix5* | nonstopux*)
11394 libsuff= shlibsuff=
11397 case $LD in # libtool.m4 will add one of these switches to LD
11398 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11399 libsuff= shlibsuff= libmagic=32-bit;;
11400 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11401 libsuff=32 shlibsuff=N32 libmagic=N32;;
11402 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11403 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11404 *) libsuff= shlibsuff= libmagic=never-match;;
11408 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11409 shlibpath_overrides_runpath=no
11410 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11411 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11412 hardcode_into_libs=yes
11415 # No shared lib support for Linux oldld, aout, or coff.
11416 linux*oldld* | linux*aout* | linux*coff*)
11420 # This must be Linux ELF.
11425 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11426 soname_spec='${libname}${release}${shared_ext}$major'
11427 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11428 shlibpath_var=LD_LIBRARY_PATH
11429 shlibpath_overrides_runpath=no
11430 # This implies no fast_install, which is unacceptable.
11431 # Some rework will be needed to allow for fast_install
11432 # before this can be enabled.
11433 hardcode_into_libs=yes
11435 # We used to test for /lib/ld.so.1 and disable shared libraries on
11436 # powerpc, because MkLinux only supported shared libraries with the
11437 # GNU dynamic linker. Since this was broken with cross compilers,
11438 # most powerpc-linux boxes support dynamic linking these days and
11439 # people can always --disable-shared, the test was removed, and we
11440 # assume the GNU/Linux dynamic linker is in use.
11441 dynamic_linker='GNU/Linux ld.so'
11448 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11449 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11450 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11451 dynamic_linker='NetBSD (a.out) ld.so'
11453 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11454 soname_spec='${libname}${release}${shared_ext}$major'
11455 dynamic_linker='NetBSD ld.elf_so'
11457 shlibpath_var=LD_LIBRARY_PATH
11458 shlibpath_overrides_runpath=yes
11459 hardcode_into_libs=yes
11464 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11465 shlibpath_var=LD_LIBRARY_PATH
11466 shlibpath_overrides_runpath=yes
11473 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11474 soname_spec='${libname}${release}${shared_ext}$major'
11475 shlibpath_var=LD_LIBRARY_PATH
11476 shlibpath_overrides_runpath=yes
11483 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11484 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11485 shlibpath_var=LD_LIBRARY_PATH
11486 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11488 openbsd2.[89] | openbsd2.[89].*)
11489 shlibpath_overrides_runpath=no
11492 shlibpath_overrides_runpath=yes
11496 shlibpath_overrides_runpath=yes
11501 libname_spec='$name'
11504 library_names_spec='$libname${shared_ext} $libname.a'
11505 dynamic_linker='OS/2 ld.exe'
11506 shlibpath_var=LIBPATH
11509 osf3* | osf4* | osf5*)
11513 soname_spec='${libname}${release}${shared_ext}$major'
11514 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11515 shlibpath_var=LD_LIBRARY_PATH
11516 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11517 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11522 soname_spec='${libname}${release}${shared_ext}$major'
11523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11524 shlibpath_var=LD_LIBRARY_PATH
11531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11532 soname_spec='${libname}${release}${shared_ext}$major'
11533 shlibpath_var=LD_LIBRARY_PATH
11534 shlibpath_overrides_runpath=yes
11535 hardcode_into_libs=yes
11536 # ldd complains unless libraries are executable
11537 postinstall_cmds='chmod +x $lib'
11542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11543 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11544 shlibpath_var=LD_LIBRARY_PATH
11545 shlibpath_overrides_runpath=yes
11546 if test "$with_gnu_ld" = yes; then
11552 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11555 soname_spec='${libname}${release}${shared_ext}$major'
11556 shlibpath_var=LD_LIBRARY_PATH
11557 case $host_vendor in
11559 shlibpath_overrides_runpath=no
11561 export_dynamic_flag_spec='${wl}-Blargedynsym'
11562 runpath_var=LD_RUN_PATH
11570 shlibpath_overrides_runpath=no
11571 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11577 if test -d /usr/nec ;then
11579 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11580 soname_spec='$libname${shared_ext}.$major'
11581 shlibpath_var=LD_LIBRARY_PATH
11587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11588 soname_spec='${libname}${release}${shared_ext}$major'
11589 shlibpath_var=LD_LIBRARY_PATH
11596 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11597 echo "${ECHO_T}$dynamic_linker" >&6
11598 test "$dynamic_linker" = no && can_build_shared=no
11600 if test "x$enable_dlopen" != xyes; then
11601 enable_dlopen=unknown
11602 enable_dlopen_self=unknown
11603 enable_dlopen_self_static=unknown
11610 lt_cv_dlopen="load_add_on"
11612 lt_cv_dlopen_self=yes
11616 lt_cv_dlopen="LoadLibrary"
11621 lt_cv_dlopen="dlopen"
11626 # if libdl is installed we need to link against it
11627 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11628 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11629 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11630 echo $ECHO_N "(cached) $ECHO_C" >&6
11632 ac_check_lib_save_LIBS=$LIBS
11634 cat >conftest.$ac_ext <<_ACEOF
11635 #line $LINENO "configure"
11638 cat confdefs.h >>conftest.$ac_ext
11639 cat >>conftest.$ac_ext <<_ACEOF
11640 /* end confdefs.h. */
11642 /* Override any gcc2 internal prototype to avoid an error. */
11646 /* We use char because int might match the return type of a gcc2
11647 builtin and then its argument prototype would still apply. */
11657 rm -f conftest.$ac_objext conftest$ac_exeext
11658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11659 (eval $ac_link) 2>&5
11661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11662 (exit $ac_status); } &&
11663 { ac_try='test -s conftest$ac_exeext'
11664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11665 (eval $ac_try) 2>&5
11667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11668 (exit $ac_status); }; }; then
11669 ac_cv_lib_dl_dlopen=yes
11671 echo "$as_me: failed program was:" >&5
11672 sed 's/^/| /' conftest.$ac_ext >&5
11674 ac_cv_lib_dl_dlopen=no
11676 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11677 LIBS=$ac_check_lib_save_LIBS
11679 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11680 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11681 if test $ac_cv_lib_dl_dlopen = yes; then
11682 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11685 lt_cv_dlopen="dyld"
11687 lt_cv_dlopen_self=yes
11694 echo "$as_me:$LINENO: checking for shl_load" >&5
11695 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11696 if test "${ac_cv_func_shl_load+set}" = set; then
11697 echo $ECHO_N "(cached) $ECHO_C" >&6
11699 cat >conftest.$ac_ext <<_ACEOF
11700 #line $LINENO "configure"
11703 cat confdefs.h >>conftest.$ac_ext
11704 cat >>conftest.$ac_ext <<_ACEOF
11705 /* end confdefs.h. */
11706 /* System header to define __stub macros and hopefully few prototypes,
11707 which can conflict with char shl_load (); below.
11708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11709 <limits.h> exists even on freestanding compilers. */
11711 # include <limits.h>
11713 # include <assert.h>
11715 /* Override any gcc2 internal prototype to avoid an error. */
11720 /* We use char because int might match the return type of a gcc2
11721 builtin and then its argument prototype would still apply. */
11723 /* The GNU C library defines this for functions which it implements
11724 to always fail with ENOSYS. Some functions are actually named
11725 something starting with __ and the normal name is an alias. */
11726 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11729 char (*f) () = shl_load;
11738 return f != shl_load;
11743 rm -f conftest.$ac_objext conftest$ac_exeext
11744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11745 (eval $ac_link) 2>&5
11747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11748 (exit $ac_status); } &&
11749 { ac_try='test -s conftest$ac_exeext'
11750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11751 (eval $ac_try) 2>&5
11753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11754 (exit $ac_status); }; }; then
11755 ac_cv_func_shl_load=yes
11757 echo "$as_me: failed program was:" >&5
11758 sed 's/^/| /' conftest.$ac_ext >&5
11760 ac_cv_func_shl_load=no
11762 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11764 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11765 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11766 if test $ac_cv_func_shl_load = yes; then
11767 lt_cv_dlopen="shl_load"
11769 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11770 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11771 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11772 echo $ECHO_N "(cached) $ECHO_C" >&6
11774 ac_check_lib_save_LIBS=$LIBS
11776 cat >conftest.$ac_ext <<_ACEOF
11777 #line $LINENO "configure"
11780 cat confdefs.h >>conftest.$ac_ext
11781 cat >>conftest.$ac_ext <<_ACEOF
11782 /* end confdefs.h. */
11784 /* Override any gcc2 internal prototype to avoid an error. */
11788 /* We use char because int might match the return type of a gcc2
11789 builtin and then its argument prototype would still apply. */
11799 rm -f conftest.$ac_objext conftest$ac_exeext
11800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11801 (eval $ac_link) 2>&5
11803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11804 (exit $ac_status); } &&
11805 { ac_try='test -s conftest$ac_exeext'
11806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11807 (eval $ac_try) 2>&5
11809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11810 (exit $ac_status); }; }; then
11811 ac_cv_lib_dld_shl_load=yes
11813 echo "$as_me: failed program was:" >&5
11814 sed 's/^/| /' conftest.$ac_ext >&5
11816 ac_cv_lib_dld_shl_load=no
11818 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11819 LIBS=$ac_check_lib_save_LIBS
11821 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11822 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11823 if test $ac_cv_lib_dld_shl_load = yes; then
11824 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11826 echo "$as_me:$LINENO: checking for dlopen" >&5
11827 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11828 if test "${ac_cv_func_dlopen+set}" = set; then
11829 echo $ECHO_N "(cached) $ECHO_C" >&6
11831 cat >conftest.$ac_ext <<_ACEOF
11832 #line $LINENO "configure"
11835 cat confdefs.h >>conftest.$ac_ext
11836 cat >>conftest.$ac_ext <<_ACEOF
11837 /* end confdefs.h. */
11838 /* System header to define __stub macros and hopefully few prototypes,
11839 which can conflict with char dlopen (); below.
11840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11841 <limits.h> exists even on freestanding compilers. */
11843 # include <limits.h>
11845 # include <assert.h>
11847 /* Override any gcc2 internal prototype to avoid an error. */
11852 /* We use char because int might match the return type of a gcc2
11853 builtin and then its argument prototype would still apply. */
11855 /* The GNU C library defines this for functions which it implements
11856 to always fail with ENOSYS. Some functions are actually named
11857 something starting with __ and the normal name is an alias. */
11858 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11861 char (*f) () = dlopen;
11870 return f != dlopen;
11875 rm -f conftest.$ac_objext conftest$ac_exeext
11876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11877 (eval $ac_link) 2>&5
11879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11880 (exit $ac_status); } &&
11881 { ac_try='test -s conftest$ac_exeext'
11882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11883 (eval $ac_try) 2>&5
11885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11886 (exit $ac_status); }; }; then
11887 ac_cv_func_dlopen=yes
11889 echo "$as_me: failed program was:" >&5
11890 sed 's/^/| /' conftest.$ac_ext >&5
11892 ac_cv_func_dlopen=no
11894 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11896 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11897 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11898 if test $ac_cv_func_dlopen = yes; then
11899 lt_cv_dlopen="dlopen"
11901 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11902 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11903 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11904 echo $ECHO_N "(cached) $ECHO_C" >&6
11906 ac_check_lib_save_LIBS=$LIBS
11908 cat >conftest.$ac_ext <<_ACEOF
11909 #line $LINENO "configure"
11912 cat confdefs.h >>conftest.$ac_ext
11913 cat >>conftest.$ac_ext <<_ACEOF
11914 /* end confdefs.h. */
11916 /* Override any gcc2 internal prototype to avoid an error. */
11920 /* We use char because int might match the return type of a gcc2
11921 builtin and then its argument prototype would still apply. */
11931 rm -f conftest.$ac_objext conftest$ac_exeext
11932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11933 (eval $ac_link) 2>&5
11935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11936 (exit $ac_status); } &&
11937 { ac_try='test -s conftest$ac_exeext'
11938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11939 (eval $ac_try) 2>&5
11941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11942 (exit $ac_status); }; }; then
11943 ac_cv_lib_dl_dlopen=yes
11945 echo "$as_me: failed program was:" >&5
11946 sed 's/^/| /' conftest.$ac_ext >&5
11948 ac_cv_lib_dl_dlopen=no
11950 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11951 LIBS=$ac_check_lib_save_LIBS
11953 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11954 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11955 if test $ac_cv_lib_dl_dlopen = yes; then
11956 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11958 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11959 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11960 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11961 echo $ECHO_N "(cached) $ECHO_C" >&6
11963 ac_check_lib_save_LIBS=$LIBS
11964 LIBS="-lsvld $LIBS"
11965 cat >conftest.$ac_ext <<_ACEOF
11966 #line $LINENO "configure"
11969 cat confdefs.h >>conftest.$ac_ext
11970 cat >>conftest.$ac_ext <<_ACEOF
11971 /* end confdefs.h. */
11973 /* Override any gcc2 internal prototype to avoid an error. */
11977 /* We use char because int might match the return type of a gcc2
11978 builtin and then its argument prototype would still apply. */
11988 rm -f conftest.$ac_objext conftest$ac_exeext
11989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11990 (eval $ac_link) 2>&5
11992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11993 (exit $ac_status); } &&
11994 { ac_try='test -s conftest$ac_exeext'
11995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11996 (eval $ac_try) 2>&5
11998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11999 (exit $ac_status); }; }; then
12000 ac_cv_lib_svld_dlopen=yes
12002 echo "$as_me: failed program was:" >&5
12003 sed 's/^/| /' conftest.$ac_ext >&5
12005 ac_cv_lib_svld_dlopen=no
12007 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12008 LIBS=$ac_check_lib_save_LIBS
12010 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12011 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12012 if test $ac_cv_lib_svld_dlopen = yes; then
12013 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12015 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12016 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12017 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12018 echo $ECHO_N "(cached) $ECHO_C" >&6
12020 ac_check_lib_save_LIBS=$LIBS
12022 cat >conftest.$ac_ext <<_ACEOF
12023 #line $LINENO "configure"
12026 cat confdefs.h >>conftest.$ac_ext
12027 cat >>conftest.$ac_ext <<_ACEOF
12028 /* end confdefs.h. */
12030 /* Override any gcc2 internal prototype to avoid an error. */
12034 /* We use char because int might match the return type of a gcc2
12035 builtin and then its argument prototype would still apply. */
12045 rm -f conftest.$ac_objext conftest$ac_exeext
12046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12047 (eval $ac_link) 2>&5
12049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12050 (exit $ac_status); } &&
12051 { ac_try='test -s conftest$ac_exeext'
12052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12053 (eval $ac_try) 2>&5
12055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12056 (exit $ac_status); }; }; then
12057 ac_cv_lib_dld_dld_link=yes
12059 echo "$as_me: failed program was:" >&5
12060 sed 's/^/| /' conftest.$ac_ext >&5
12062 ac_cv_lib_dld_dld_link=no
12064 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12065 LIBS=$ac_check_lib_save_LIBS
12067 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12068 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12069 if test $ac_cv_lib_dld_dld_link = yes; then
12070 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12091 if test "x$lt_cv_dlopen" != xno; then
12097 case $lt_cv_dlopen in
12099 save_CPPFLAGS="$CPPFLAGS"
12100 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12102 save_LDFLAGS="$LDFLAGS"
12103 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12106 LIBS="$lt_cv_dlopen_libs $LIBS"
12108 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12109 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12110 if test "${lt_cv_dlopen_self+set}" = set; then
12111 echo $ECHO_N "(cached) $ECHO_C" >&6
12113 if test "$cross_compiling" = yes; then :
12114 lt_cv_dlopen_self=cross
12116 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12117 lt_status=$lt_dlunknown
12118 cat > conftest.$ac_ext <<EOF
12119 #line 12119 "configure"
12120 #include "confdefs.h"
12129 # define LT_DLGLOBAL RTLD_GLOBAL
12132 # define LT_DLGLOBAL DL_GLOBAL
12134 # define LT_DLGLOBAL 0
12138 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12139 find out it does not work in some platform. */
12140 #ifndef LT_DLLAZY_OR_NOW
12142 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12145 # define LT_DLLAZY_OR_NOW DL_LAZY
12148 # define LT_DLLAZY_OR_NOW RTLD_NOW
12151 # define LT_DLLAZY_OR_NOW DL_NOW
12153 # define LT_DLLAZY_OR_NOW 0
12161 extern "C" void exit (int);
12164 void fnord() { int i=42;}
12167 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12168 int status = $lt_dlunknown;
12172 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12173 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12174 /* dlclose (self); */
12180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12181 (eval $ac_link) 2>&5
12183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12184 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12185 (./conftest; exit; ) 2>/dev/null
12187 case x$lt_status in
12188 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12189 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12190 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12193 # compilation failed
12194 lt_cv_dlopen_self=no
12201 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12202 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12204 if test "x$lt_cv_dlopen_self" = xyes; then
12205 LDFLAGS="$LDFLAGS $link_static_flag"
12206 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12207 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12208 if test "${lt_cv_dlopen_self_static+set}" = set; then
12209 echo $ECHO_N "(cached) $ECHO_C" >&6
12211 if test "$cross_compiling" = yes; then :
12212 lt_cv_dlopen_self_static=cross
12214 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12215 lt_status=$lt_dlunknown
12216 cat > conftest.$ac_ext <<EOF
12217 #line 12217 "configure"
12218 #include "confdefs.h"
12227 # define LT_DLGLOBAL RTLD_GLOBAL
12230 # define LT_DLGLOBAL DL_GLOBAL
12232 # define LT_DLGLOBAL 0
12236 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12237 find out it does not work in some platform. */
12238 #ifndef LT_DLLAZY_OR_NOW
12240 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12243 # define LT_DLLAZY_OR_NOW DL_LAZY
12246 # define LT_DLLAZY_OR_NOW RTLD_NOW
12249 # define LT_DLLAZY_OR_NOW DL_NOW
12251 # define LT_DLLAZY_OR_NOW 0
12259 extern "C" void exit (int);
12262 void fnord() { int i=42;}
12265 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12266 int status = $lt_dlunknown;
12270 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12271 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12272 /* dlclose (self); */
12278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12279 (eval $ac_link) 2>&5
12281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12282 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12283 (./conftest; exit; ) 2>/dev/null
12285 case x$lt_status in
12286 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12287 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12288 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12291 # compilation failed
12292 lt_cv_dlopen_self_static=no
12299 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12300 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12303 CPPFLAGS="$save_CPPFLAGS"
12304 LDFLAGS="$save_LDFLAGS"
12309 case $lt_cv_dlopen_self in
12310 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12311 *) enable_dlopen_self=unknown ;;
12314 case $lt_cv_dlopen_self_static in
12315 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12316 *) enable_dlopen_self_static=unknown ;;
12321 # The else clause should only fire when bootstrapping the
12322 # libtool distribution, otherwise you forgot to ship ltmain.sh
12323 # with your package, and you will get complaints that there are
12324 # no rules to generate ltmain.sh.
12325 if test -f "$ltmain"; then
12326 # See if we are running on zsh, and set the options which allow our commands through
12327 # without removal of \ escapes.
12328 if test -n "${ZSH_VERSION+set}" ; then
12329 setopt NO_GLOB_SUBST
12331 # Now quote all the things that may contain metacharacters while being
12332 # careful not to overquote the AC_SUBSTed values. We take copies of the
12333 # variables and quote the copies for generation of the libtool script.
12334 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12335 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12336 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12337 deplibs_check_method reload_flag reload_cmds need_locks \
12338 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12339 lt_cv_sys_global_symbol_to_c_name_address \
12340 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12341 old_postinstall_cmds old_postuninstall_cmds \
12345 lt_prog_compiler_wl_CXX \
12346 lt_prog_compiler_pic_CXX \
12347 lt_prog_compiler_static_CXX \
12348 lt_prog_compiler_no_builtin_flag_CXX \
12349 export_dynamic_flag_spec_CXX \
12350 thread_safe_flag_spec_CXX \
12351 whole_archive_flag_spec_CXX \
12352 enable_shared_with_static_runtimes_CXX \
12353 old_archive_cmds_CXX \
12354 old_archive_from_new_cmds_CXX \
12355 predep_objects_CXX \
12356 postdep_objects_CXX \
12359 compiler_lib_search_path_CXX \
12361 archive_expsym_cmds_CXX \
12362 postinstall_cmds_CXX \
12363 postuninstall_cmds_CXX \
12364 old_archive_from_expsyms_cmds_CXX \
12365 allow_undefined_flag_CXX \
12366 no_undefined_flag_CXX \
12367 export_symbols_cmds_CXX \
12368 hardcode_libdir_flag_spec_CXX \
12369 hardcode_libdir_flag_spec_ld_CXX \
12370 hardcode_libdir_separator_CXX \
12371 hardcode_automatic_CXX \
12373 module_expsym_cmds_CXX \
12374 lt_cv_prog_compiler_c_o_CXX \
12375 exclude_expsyms_CXX \
12376 include_expsyms_CXX; do
12379 old_archive_cmds_CXX | \
12380 old_archive_from_new_cmds_CXX | \
12381 archive_cmds_CXX | \
12382 archive_expsym_cmds_CXX | \
12383 module_cmds_CXX | \
12384 module_expsym_cmds_CXX | \
12385 old_archive_from_expsyms_cmds_CXX | \
12386 export_symbols_cmds_CXX | \
12387 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12388 postinstall_cmds | postuninstall_cmds | \
12389 old_postinstall_cmds | old_postuninstall_cmds | \
12390 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12391 # Double-quote double-evaled strings.
12392 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12395 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12401 *'\$0 --fallback-echo"')
12402 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12408 cat <<__EOF__ >> "$cfgfile"
12409 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12411 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12413 # Shell to use when invoking shell scripts.
12416 # Whether or not to build shared libraries.
12417 build_libtool_libs=$enable_shared
12419 # Whether or not to build static libraries.
12420 build_old_libs=$enable_static
12422 # Whether or not to add -lc for building shared libraries.
12423 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12425 # Whether or not to disallow shared libs when runtime libs are static
12426 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12428 # Whether or not to optimize for fast installation.
12429 fast_install=$enable_fast_install
12432 host_alias=$host_alias
12435 # An echo program that does not interpret backslashes.
12440 AR_FLAGS=$lt_AR_FLAGS
12445 # A language-specific compiler.
12446 CC=$lt_compiler_CXX
12448 # Is the compiler the GNU C compiler?
12454 # The linker used to build libraries.
12457 # Whether we need hard or soft links.
12460 # A BSD-compatible nm program.
12463 # A symbol stripping program
12466 # Used to examine libraries when file_magic_cmd begins "file"
12467 MAGIC_CMD=$MAGIC_CMD
12469 # Used on cygwin: DLL creation program.
12472 # Used on cygwin: object dumper.
12475 # Used on cygwin: assembler.
12478 # The name of the directory that contains temporary libtool files.
12481 # How to create reloadable object files.
12482 reload_flag=$lt_reload_flag
12483 reload_cmds=$lt_reload_cmds
12485 # How to pass a linker flag through the compiler.
12486 wl=$lt_lt_prog_compiler_wl_CXX
12488 # Object file suffix (normally "o").
12489 objext="$ac_objext"
12491 # Old archive suffix (normally "a").
12494 # Shared library suffix (normally ".so").
12497 # Executable file suffix (normally "").
12500 # Additional compiler flags for building library objects.
12501 pic_flag=$lt_lt_prog_compiler_pic_CXX
12504 # What is the maximum length of a command?
12505 max_cmd_len=$lt_cv_sys_max_cmd_len
12507 # Does compiler simultaneously support -c and -o options?
12508 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12510 # Must we lock files when doing compilation ?
12511 need_locks=$lt_need_locks
12513 # Do we need the lib prefix for modules?
12514 need_lib_prefix=$need_lib_prefix
12516 # Do we need a version for libraries?
12517 need_version=$need_version
12519 # Whether dlopen is supported.
12520 dlopen_support=$enable_dlopen
12522 # Whether dlopen of programs is supported.
12523 dlopen_self=$enable_dlopen_self
12525 # Whether dlopen of statically linked programs is supported.
12526 dlopen_self_static=$enable_dlopen_self_static
12528 # Compiler flag to prevent dynamic linking.
12529 link_static_flag=$lt_lt_prog_compiler_static_CXX
12531 # Compiler flag to turn off builtin functions.
12532 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12534 # Compiler flag to allow reflexive dlopens.
12535 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12537 # Compiler flag to generate shared objects directly from archives.
12538 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12540 # Compiler flag to generate thread-safe objects.
12541 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12543 # Library versioning type.
12544 version_type=$version_type
12546 # Format of library name prefix.
12547 libname_spec=$lt_libname_spec
12549 # List of archive names. First name is the real one, the rest are links.
12550 # The last name is the one that the linker finds with -lNAME.
12551 library_names_spec=$lt_library_names_spec
12553 # The coded name of the library, if different from the real name.
12554 soname_spec=$lt_soname_spec
12556 # Commands used to build and install an old-style archive.
12558 old_archive_cmds=$lt_old_archive_cmds_CXX
12559 old_postinstall_cmds=$lt_old_postinstall_cmds
12560 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12562 # Create an old-style archive from a shared archive.
12563 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12565 # Create a temporary old-style archive to link instead of a shared archive.
12566 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12568 # Commands used to build and install a shared archive.
12569 archive_cmds=$lt_archive_cmds_CXX
12570 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12571 postinstall_cmds=$lt_postinstall_cmds
12572 postuninstall_cmds=$lt_postuninstall_cmds
12574 # Commands used to build a loadable module (assumed same as above if empty)
12575 module_cmds=$lt_module_cmds_CXX
12576 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12578 # Commands to strip libraries.
12579 old_striplib=$lt_old_striplib
12580 striplib=$lt_striplib
12582 # Dependencies to place before the objects being linked to create a
12584 predep_objects=$lt_predep_objects_CXX
12586 # Dependencies to place after the objects being linked to create a
12588 postdep_objects=$lt_postdep_objects_CXX
12590 # Dependencies to place before the objects being linked to create a
12592 predeps=$lt_predeps_CXX
12594 # Dependencies to place after the objects being linked to create a
12596 postdeps=$lt_postdeps_CXX
12598 # The library search path used internally by the compiler when linking
12599 # a shared library.
12600 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12602 # Method to check whether dependent libraries are shared objects.
12603 deplibs_check_method=$lt_deplibs_check_method
12605 # Command to use when deplibs_check_method == file_magic.
12606 file_magic_cmd=$lt_file_magic_cmd
12608 # Flag that allows shared libraries with undefined symbols to be built.
12609 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12611 # Flag that forces no undefined symbols.
12612 no_undefined_flag=$lt_no_undefined_flag_CXX
12614 # Commands used to finish a libtool library installation in a directory.
12615 finish_cmds=$lt_finish_cmds
12617 # Same as above, but a single script fragment to be evaled but not shown.
12618 finish_eval=$lt_finish_eval
12620 # Take the output of nm and produce a listing of raw symbols and C names.
12621 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12623 # Transform the output of nm in a proper C declaration
12624 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12626 # Transform the output of nm in a C name address pair
12627 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12629 # This is the shared library runtime path variable.
12630 runpath_var=$runpath_var
12632 # This is the shared library path variable.
12633 shlibpath_var=$shlibpath_var
12635 # Is shlibpath searched before the hard-coded library search path?
12636 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12638 # How to hardcode a shared library path into an executable.
12639 hardcode_action=$hardcode_action_CXX
12641 # Whether we should hardcode library paths into libraries.
12642 hardcode_into_libs=$hardcode_into_libs
12644 # Flag to hardcode \$libdir into a binary during linking.
12645 # This must work even if \$libdir does not exist.
12646 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12648 # If ld is used when linking, flag to hardcode \$libdir into
12649 # a binary during linking. This must work even if \$libdir does
12651 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12653 # Whether we need a single -rpath flag with a separated argument.
12654 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12656 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12657 # resulting binary.
12658 hardcode_direct=$hardcode_direct_CXX
12660 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12661 # resulting binary.
12662 hardcode_minus_L=$hardcode_minus_L_CXX
12664 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12665 # the resulting binary.
12666 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12668 # Set to yes if building a shared library automatically hardcodes DIR into the library
12669 # and all subsequent libraries and executables linked against it.
12670 hardcode_automatic=$hardcode_automatic_CXX
12672 # Variables whose values should be saved in libtool wrapper scripts and
12673 # restored at relink time.
12674 variables_saved_for_relink="$variables_saved_for_relink"
12676 # Whether libtool must link a program against all its dependency libraries.
12677 link_all_deplibs=$link_all_deplibs_CXX
12679 # Compile-time system search path for libraries
12680 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12682 # Run-time system search path for libraries
12683 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12685 # Fix the shell variable \$srcfile for the compiler.
12686 fix_srcfile_path="$fix_srcfile_path_CXX"
12688 # Set to yes if exported symbols are required.
12689 always_export_symbols=$always_export_symbols_CXX
12691 # The commands to list exported symbols.
12692 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12694 # The commands to extract the exported symbol list from a shared archive.
12695 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12697 # Symbols that should not be listed in the preloaded symbols.
12698 exclude_expsyms=$lt_exclude_expsyms_CXX
12700 # Symbols that must always be exported.
12701 include_expsyms=$lt_include_expsyms_CXX
12703 # ### END LIBTOOL TAG CONFIG: $tagname
12709 # If there is no Makefile yet, we rely on a make rule to execute
12710 # `config.status --recheck' to rerun these tests and create the
12711 # libtool script then.
12712 test -f Makefile && make "$ltmain"
12717 ac_cpp='$CPP $CPPFLAGS'
12718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12726 with_gnu_ldcxx=$with_gnu_ld
12727 with_gnu_ld=$lt_save_with_gnu_ld
12728 lt_cv_path_LDCXX=$lt_cv_path_LD
12729 lt_cv_path_LD=$lt_save_path_LD
12730 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12731 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12739 if test -n "$F77" && test "X$F77" != "Xno"; then
12742 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12743 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12744 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12747 archive_cmds_need_lc_F77=no
12748 allow_undefined_flag_F77=
12749 always_export_symbols_F77=no
12750 archive_expsym_cmds_F77=
12751 export_dynamic_flag_spec_F77=
12752 hardcode_direct_F77=no
12753 hardcode_libdir_flag_spec_F77=
12754 hardcode_libdir_flag_spec_ld_F77=
12755 hardcode_libdir_separator_F77=
12756 hardcode_minus_L_F77=no
12757 hardcode_automatic_F77=no
12759 module_expsym_cmds_F77=
12760 link_all_deplibs_F77=unknown
12761 old_archive_cmds_F77=$old_archive_cmds
12762 no_undefined_flag_F77=
12763 whole_archive_flag_spec_F77=
12764 enable_shared_with_static_runtimes_F77=no
12766 # Source file extension for f77 test sources.
12769 # Object file extension for compiled f77 test sources.
12773 # Code to be used in simple compile tests
12774 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12776 # Code to be used in simple link tests
12777 lt_simple_link_test_code=" program t\n end\n"
12779 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12781 # If no C compiler was specified, use CC.
12784 # Allow CC to be a program name with arguments.
12788 # Allow CC to be a program name with arguments.
12793 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12795 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12796 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12797 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12798 echo "${ECHO_T}$can_build_shared" >&6
12800 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12801 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12802 test "$can_build_shared" = "no" && enable_shared=no
12804 # On AIX, shared libraries and static libraries use the same namespace, and
12805 # are all built from PIC.
12808 test "$enable_shared" = yes && enable_static=no
12809 if test -n "$RANLIB"; then
12810 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12811 postinstall_cmds='$RANLIB $lib'
12815 test "$enable_shared" = yes && enable_static=no
12818 echo "$as_me:$LINENO: result: $enable_shared" >&5
12819 echo "${ECHO_T}$enable_shared" >&6
12821 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12822 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12823 # Make sure either enable_shared or enable_static is yes.
12824 test "$enable_shared" = yes || enable_static=yes
12825 echo "$as_me:$LINENO: result: $enable_static" >&5
12826 echo "${ECHO_T}$enable_static" >&6
12828 test "$ld_shlibs_F77" = no && can_build_shared=no
12833 lt_prog_compiler_wl_F77=
12834 lt_prog_compiler_pic_F77=
12835 lt_prog_compiler_static_F77=
12837 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12838 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12840 if test "$GCC" = yes; then
12841 lt_prog_compiler_wl_F77='-Wl,'
12842 lt_prog_compiler_static_F77='-static'
12846 # All AIX code is PIC.
12847 if test "$host_cpu" = ia64; then
12848 # AIX 5 now supports IA64 processor
12849 lt_prog_compiler_static_F77='-Bstatic'
12854 # FIXME: we need at least 68020 code to build shared libraries, but
12855 # adding the `-m68020' flag to GCC prevents building anything better,
12857 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12860 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12861 # PIC is the default for these OSes.
12864 mingw* | pw32* | os2*)
12865 # This hack is so that the source file can tell whether it is being
12866 # built for inclusion in a dll (and should export symbols for example).
12867 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12870 darwin* | rhapsody*)
12871 # PIC is the default on this platform
12872 # Common symbols not allowed in MH_DYLIB files
12873 lt_prog_compiler_pic_F77='-fno-common'
12877 # Just because we use GCC doesn't mean we suddenly get shared libraries
12878 # on systems that don't support them.
12879 lt_prog_compiler_can_build_shared_F77=no
12884 if test -d /usr/nec; then
12885 lt_prog_compiler_pic_F77=-Kconform_pic
12890 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12891 # not for PA HP-UX.
12892 case "$host_cpu" in
12897 lt_prog_compiler_pic_F77='-fPIC'
12903 lt_prog_compiler_pic_F77='-fPIC'
12907 # PORTME Check for flag to pass linker flags through the system compiler.
12910 lt_prog_compiler_wl_F77='-Wl,'
12911 if test "$host_cpu" = ia64; then
12912 # AIX 5 now supports IA64 processor
12913 lt_prog_compiler_static_F77='-Bstatic'
12915 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12919 mingw* | pw32* | os2*)
12920 # This hack is so that the source file can tell whether it is being
12921 # built for inclusion in a dll (and should export symbols for example).
12922 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12925 hpux9* | hpux10* | hpux11*)
12926 lt_prog_compiler_wl_F77='-Wl,'
12927 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12928 # not for PA HP-UX.
12929 case "$host_cpu" in
12934 lt_prog_compiler_pic_F77='+Z'
12937 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12938 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
12941 irix5* | irix6* | nonstopux*)
12942 lt_prog_compiler_wl_F77='-Wl,'
12943 # PIC (with -KPIC) is the default.
12944 lt_prog_compiler_static_F77='-non_shared'
12948 lt_prog_compiler_pic_F77='-KPIC'
12949 lt_prog_compiler_static_F77='-Bstatic'
12955 lt_prog_compiler_wl_F77='-Wl,'
12956 lt_prog_compiler_pic_F77='-KPIC'
12957 lt_prog_compiler_static_F77='-static'
12960 lt_prog_compiler_wl_F77='-Wl,'
12961 # All Alpha code is PIC.
12962 lt_prog_compiler_static_F77='-non_shared'
12967 osf3* | osf4* | osf5*)
12968 lt_prog_compiler_wl_F77='-Wl,'
12969 # All OSF/1 code is PIC.
12970 lt_prog_compiler_static_F77='-non_shared'
12974 lt_prog_compiler_pic_F77='-Kpic'
12975 lt_prog_compiler_static_F77='-dn'
12979 lt_prog_compiler_wl_F77='-Wl,'
12980 lt_prog_compiler_pic_F77='-KPIC'
12981 lt_prog_compiler_static_F77='-Bstatic'
12985 lt_prog_compiler_wl_F77='-Qoption ld '
12986 lt_prog_compiler_pic_F77='-PIC'
12987 lt_prog_compiler_static_F77='-Bstatic'
12990 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12991 lt_prog_compiler_wl_F77='-Wl,'
12992 lt_prog_compiler_pic_F77='-KPIC'
12993 lt_prog_compiler_static_F77='-Bstatic'
12997 if test -d /usr/nec ;then
12998 lt_prog_compiler_pic_F77='-Kconform_pic'
12999 lt_prog_compiler_static_F77='-Bstatic'
13004 lt_prog_compiler_pic_F77='-pic'
13005 lt_prog_compiler_static_F77='-Bstatic'
13009 lt_prog_compiler_can_build_shared_F77=no
13014 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13015 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13018 # Check to make sure the PIC flag actually works.
13020 if test -n "$lt_prog_compiler_pic_F77"; then
13021 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13022 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13023 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13024 echo $ECHO_N "(cached) $ECHO_C" >&6
13026 lt_prog_compiler_pic_works_F77=no
13027 ac_outfile=conftest.$ac_objext
13028 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13029 lt_compiler_flag="$lt_prog_compiler_pic_F77"
13030 # Insert the option either (1) after the last *FLAGS variable, or
13031 # (2) before a word containing "conftest.", or (3) at the end.
13032 # Note that $ac_compile itself does not contain backslashes and begins
13033 # with a dollar sign (not a hyphen), so the echo should work correctly.
13034 # The option is referenced via a variable to avoid confusing sed.
13035 lt_compile=`echo "$ac_compile" | $SED \
13036 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13037 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13038 -e 's:$: $lt_compiler_flag:'`
13039 (eval echo "\"\$as_me:13039: $lt_compile\"" >&5)
13040 (eval "$lt_compile" 2>conftest.err)
13042 cat conftest.err >&5
13043 echo "$as_me:13043: \$? = $ac_status" >&5
13044 if (exit $ac_status) && test -s "$ac_outfile"; then
13045 # The compiler can only warn and ignore the option if not recognized
13046 # So say no if there are warnings
13047 if test ! -s conftest.err; then
13048 lt_prog_compiler_pic_works_F77=yes
13054 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13055 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13057 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13058 case $lt_prog_compiler_pic_F77 in
13060 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13063 lt_prog_compiler_pic_F77=
13064 lt_prog_compiler_can_build_shared_F77=no
13069 # For platforms which do not support PIC, -DPIC is meaningless:
13071 lt_prog_compiler_pic_F77=
13074 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13078 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13079 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13080 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13081 echo $ECHO_N "(cached) $ECHO_C" >&6
13083 lt_cv_prog_compiler_c_o_F77=no
13084 $rm -r conftest 2>/dev/null
13088 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13090 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13091 # that will create temporary files in the current directory regardless of
13092 # the output directory. Thus, making CWD read-only will cause this test
13093 # to fail, enabling locking or at least warning the user not to do parallel
13097 lt_compiler_flag="-o out/conftest2.$ac_objext"
13098 # Insert the option either (1) after the last *FLAGS variable, or
13099 # (2) before a word containing "conftest.", or (3) at the end.
13100 # Note that $ac_compile itself does not contain backslashes and begins
13101 # with a dollar sign (not a hyphen), so the echo should work correctly.
13102 lt_compile=`echo "$ac_compile" | $SED \
13103 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13104 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13105 -e 's:$: $lt_compiler_flag:'`
13106 (eval echo "\"\$as_me:13106: $lt_compile\"" >&5)
13107 (eval "$lt_compile" 2>out/conftest.err)
13109 cat out/conftest.err >&5
13110 echo "$as_me:13110: \$? = $ac_status" >&5
13111 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13113 # The compiler can only warn and ignore the option if not recognized
13114 # So say no if there are warnings
13115 if test ! -s out/conftest.err; then
13116 lt_cv_prog_compiler_c_o_F77=yes
13120 $rm conftest* out/*
13127 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13128 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13131 hard_links="nottested"
13132 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13133 # do not overwrite the value of need_locks provided by the user
13134 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13135 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13138 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13140 ln conftest.a conftest.b 2>&5 || hard_links=no
13141 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13142 echo "$as_me:$LINENO: result: $hard_links" >&5
13143 echo "${ECHO_T}$hard_links" >&6
13144 if test "$hard_links" = no; then
13145 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13146 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13153 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13154 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13157 allow_undefined_flag_F77=
13158 enable_shared_with_static_runtimes_F77=no
13160 archive_expsym_cmds_F77=
13161 old_archive_From_new_cmds_F77=
13162 old_archive_from_expsyms_cmds_F77=
13163 export_dynamic_flag_spec_F77=
13164 whole_archive_flag_spec_F77=
13165 thread_safe_flag_spec_F77=
13166 hardcode_libdir_flag_spec_F77=
13167 hardcode_libdir_flag_spec_ld_F77=
13168 hardcode_libdir_separator_F77=
13169 hardcode_direct_F77=no
13170 hardcode_minus_L_F77=no
13171 hardcode_shlibpath_var_F77=unsupported
13172 link_all_deplibs_F77=unknown
13173 hardcode_automatic_F77=no
13175 module_expsym_cmds_F77=
13176 always_export_symbols_F77=no
13177 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13178 # include_expsyms should be a list of space-separated symbols to be *always*
13179 # included in the symbol list
13180 include_expsyms_F77=
13181 # exclude_expsyms can be an extended regexp of symbols to exclude
13182 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13183 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13184 # as well as any symbol that contains `d'.
13185 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13186 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13187 # platforms (ab)use it in PIC code, but their linkers get confused if
13188 # the symbol is explicitly referenced. Since portable code cannot
13189 # rely on this symbol name, it's probably fine to never include it in
13190 # preloaded symbol tables.
13191 extract_expsyms_cmds=
13194 cygwin* | mingw* | pw32*)
13195 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13196 # When not using gcc, we currently assume that we are using
13197 # Microsoft Visual C++.
13198 if test "$GCC" != yes; then
13208 if test "$with_gnu_ld" = yes; then
13209 # If archive_cmds runs LD, not CC, wlarc should be empty
13212 # See if GNU ld supports shared libraries.
13214 aix3* | aix4* | aix5*)
13215 # On AIX/PPC, the GNU linker is very broken
13216 if test "$host_cpu" != ia64; then
13220 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13221 *** to be unable to reliably create shared libraries on AIX.
13222 *** Therefore, libtool is disabling shared libraries support. If you
13223 *** really care for shared libraries, you may want to modify your PATH
13224 *** so that a non-GNU linker is found, and then restart.
13231 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)'
13232 hardcode_libdir_flag_spec_F77='-L$libdir'
13233 hardcode_minus_L_F77=yes
13235 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13236 # that the semantics of dynamic libraries on AmigaOS, at least up
13237 # to version 4, is to share data among multiple programs linked
13238 # with the same dynamic library. Since this doesn't match the
13239 # behavior of shared libraries on other platforms, we can't use
13245 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13246 allow_undefined_flag_F77=unsupported
13247 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13248 # support --undefined. This deserves some investigation. FIXME
13249 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13255 cygwin* | mingw* | pw32*)
13256 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13257 # as there is no search path for DLLs.
13258 hardcode_libdir_flag_spec_F77='-L$libdir'
13259 allow_undefined_flag_F77=unsupported
13260 always_export_symbols_F77=no
13261 enable_shared_with_static_runtimes_F77=yes
13262 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13264 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13265 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13266 # If the export-symbols file already is a .def file (1st line
13267 # is EXPORTS), use it as is; otherwise, prepend...
13268 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13269 cp $export_symbols $output_objdir/$soname.def;
13271 echo EXPORTS > $output_objdir/$soname.def;
13272 cat $export_symbols >> $output_objdir/$soname.def;
13274 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13281 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13282 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13285 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13286 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13291 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13295 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13296 *** create shared libraries on Solaris systems. Therefore, libtool
13297 *** is disabling shared libraries support. We urge you to upgrade GNU
13298 *** binutils to release 2.9.1 or newer. Another option is to modify
13299 *** your PATH or compiler configuration so that the native linker is
13300 *** used, and then restart.
13303 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13304 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13305 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13312 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13314 hardcode_direct_F77=yes
13315 hardcode_shlibpath_var_F77=no
13319 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13320 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13321 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13328 if test "$ld_shlibs_F77" = yes; then
13329 runpath_var=LD_RUN_PATH
13330 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13331 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13332 # ancient GNU ld didn't support --whole-archive et. al.
13333 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13334 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13336 whole_archive_flag_spec_F77=
13340 # PORTME fill in a description of your system's linker (not GNU ld)
13343 allow_undefined_flag_F77=unsupported
13344 always_export_symbols_F77=yes
13345 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'
13346 # Note: this linker hardcodes the directories in LIBPATH if there
13347 # are no directories specified by -L.
13348 hardcode_minus_L_F77=yes
13349 if test "$GCC" = yes && test -z "$link_static_flag"; then
13350 # Neither direct hardcoding nor static linking is supported with a
13352 hardcode_direct_F77=unsupported
13357 if test "$host_cpu" = ia64; then
13358 # On IA64, the linker does run time linking by default, so we don't
13359 # have to do anything special.
13360 aix_use_runtimelinking=no
13361 exp_sym_flag='-Bexport'
13364 # If we're using GNU nm, then we don't want the "-C" option.
13365 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13366 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13367 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'
13369 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'
13371 aix_use_runtimelinking=no
13373 # Test if we are trying to use run time linking or normal
13374 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13375 # need to do runtime linking.
13376 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13377 for ld_flag in $LDFLAGS; do
13378 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13379 aix_use_runtimelinking=yes
13385 exp_sym_flag='-bexport'
13386 no_entry_flag='-bnoentry'
13389 # When large executables or shared objects are built, AIX ld can
13390 # have problems creating the table of contents. If linking a library
13391 # or program results in "error TOC overflow" add -mminimal-toc to
13392 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13393 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13395 archive_cmds_F77=''
13396 hardcode_direct_F77=yes
13397 hardcode_libdir_separator_F77=':'
13398 link_all_deplibs_F77=yes
13400 if test "$GCC" = yes; then
13401 case $host_os in aix4.012|aix4.012.*)
13402 # We only want to do this on AIX 4.2 and lower, the check
13403 # below for broken collect2 doesn't work under 4.3+
13404 collect2name=`${CC} -print-prog-name=collect2`
13405 if test -f "$collect2name" && \
13406 strings "$collect2name" | grep resolve_lib_name >/dev/null
13408 # We have reworked collect2
13409 hardcode_direct_F77=yes
13411 # We have old collect2
13412 hardcode_direct_F77=unsupported
13413 # It fails to find uninstalled libraries when the uninstalled
13414 # path is not listed in the libpath. Setting hardcode_minus_L
13415 # to unsupported forces relinking
13416 hardcode_minus_L_F77=yes
13417 hardcode_libdir_flag_spec_F77='-L$libdir'
13418 hardcode_libdir_separator_F77=
13421 shared_flag='-shared'
13424 if test "$host_cpu" = ia64; then
13425 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13426 # chokes on -Wl,-G. The following line is correct:
13429 if test "$aix_use_runtimelinking" = yes; then
13430 shared_flag='${wl}-G'
13432 shared_flag='${wl}-bM:SRE'
13437 # It seems that -bexpall does not export symbols beginning with
13438 # underscore (_), so it is better to generate a list of symbols to export.
13439 always_export_symbols_F77=yes
13440 if test "$aix_use_runtimelinking" = yes; then
13441 # Warning - without using the other runtime loading flags (-brtl),
13442 # -berok will link without error, but may produce a broken library.
13443 allow_undefined_flag_F77='-berok'
13444 # Determine the default libpath from the value encoded in an empty executable.
13445 cat >conftest.$ac_ext <<_ACEOF
13450 rm -f conftest.$ac_objext conftest$ac_exeext
13451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13452 (eval $ac_link) 2>&5
13454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13455 (exit $ac_status); } &&
13456 { ac_try='test -s conftest$ac_exeext'
13457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13458 (eval $ac_try) 2>&5
13460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13461 (exit $ac_status); }; }; then
13463 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13465 # Check for a 64-bit object if we didn't find anything.
13466 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; }
13469 echo "$as_me: failed program was:" >&5
13470 sed 's/^/| /' conftest.$ac_ext >&5
13473 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13474 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13476 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13477 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"
13479 if test "$host_cpu" = ia64; then
13480 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13481 allow_undefined_flag_F77="-z nodefs"
13482 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"
13484 # Determine the default libpath from the value encoded in an empty executable.
13485 cat >conftest.$ac_ext <<_ACEOF
13490 rm -f conftest.$ac_objext conftest$ac_exeext
13491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13492 (eval $ac_link) 2>&5
13494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13495 (exit $ac_status); } &&
13496 { ac_try='test -s conftest$ac_exeext'
13497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13498 (eval $ac_try) 2>&5
13500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13501 (exit $ac_status); }; }; then
13503 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13505 # Check for a 64-bit object if we didn't find anything.
13506 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; }
13509 echo "$as_me: failed program was:" >&5
13510 sed 's/^/| /' conftest.$ac_ext >&5
13513 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13514 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13516 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13517 # Warning - without using the other run time loading flags,
13518 # -berok will link without error, but may produce a broken library.
13519 no_undefined_flag_F77=' ${wl}-bernotok'
13520 allow_undefined_flag_F77=' ${wl}-berok'
13521 # -bexpall does not export symbols beginning with underscore (_)
13522 always_export_symbols_F77=yes
13523 # Exported symbols can be pulled into shared objects from archives
13524 whole_archive_flag_spec_F77=' '
13525 archive_cmds_need_lc_F77=yes
13526 # This is similar to how AIX traditionally builds it's shared libraries.
13527 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'
13533 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)'
13534 hardcode_libdir_flag_spec_F77='-L$libdir'
13535 hardcode_minus_L_F77=yes
13536 # see comment about different semantics on the GNU ld section
13541 export_dynamic_flag_spec_F77=-rdynamic
13544 cygwin* | mingw* | pw32*)
13545 # When not using gcc, we currently assume that we are using
13546 # Microsoft Visual C++.
13547 # hardcode_libdir_flag_spec is actually meaningless, as there is
13548 # no search path for DLLs.
13549 hardcode_libdir_flag_spec_F77=' '
13550 allow_undefined_flag_F77=unsupported
13551 # Tell ltmain to make .lib files, not .a files.
13553 # Tell ltmain to make .dll files, not .so files.
13555 # FIXME: Setting linknames here is a bad hack.
13556 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13557 # The linker will automatically build a .lib file if we build a DLL.
13558 old_archive_From_new_cmds_F77='true'
13559 # FIXME: Should let the user specify the lib program.
13560 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13561 fix_srcfile_path='`cygpath -w "$srcfile"`'
13562 enable_shared_with_static_runtimes_F77=yes
13565 darwin* | rhapsody*)
13566 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
13567 archive_cmds_need_lc_F77=no
13569 rhapsody* | darwin1.[012])
13570 allow_undefined_flag_F77='-undefined suppress'
13573 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13576 # FIXME: Relying on posixy $() will cause problems for
13577 # cross-compilation, but unfortunately the echo tests do not
13578 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13579 # `"' quotes if we put them in here... so don't!
13580 lt_int_apple_cc_single_mod=no
13581 output_verbose_link_cmd='echo'
13582 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13583 lt_int_apple_cc_single_mod=yes
13585 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13586 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13588 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'
13590 module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
13591 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13592 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13593 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}'
13595 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}'
13597 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}'
13598 hardcode_direct_F77=no
13599 hardcode_automatic_F77=yes
13600 hardcode_shlibpath_var_F77=unsupported
13601 whole_archive_flag_spec_F77='-all_load $convenience'
13602 link_all_deplibs_F77=yes
13607 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13608 hardcode_libdir_flag_spec_F77='-L$libdir'
13609 hardcode_shlibpath_var_F77=no
13616 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13617 # support. Future versions do this automatically, but an explicit c++rt0.o
13618 # does not break anything, and helps significantly (at the cost of a little
13621 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13622 hardcode_libdir_flag_spec_F77='-R$libdir'
13623 hardcode_direct_F77=yes
13624 hardcode_shlibpath_var_F77=no
13627 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13629 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13630 hardcode_direct_F77=yes
13631 hardcode_minus_L_F77=yes
13632 hardcode_shlibpath_var_F77=no
13635 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13637 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13638 hardcode_libdir_flag_spec_F77='-R$libdir'
13639 hardcode_direct_F77=yes
13640 hardcode_shlibpath_var_F77=no
13644 if test "$GCC" = yes; then
13645 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'
13647 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'
13649 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13650 hardcode_libdir_separator_F77=:
13651 hardcode_direct_F77=yes
13653 # hardcode_minus_L: Not really in the search PATH,
13654 # but as the default location of the library.
13655 hardcode_minus_L_F77=yes
13656 export_dynamic_flag_spec_F77='${wl}-E'
13660 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13661 case "$host_cpu" in
13663 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13666 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13670 case "$host_cpu" in
13672 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13675 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13679 if test "$with_gnu_ld" = no; then
13680 case "$host_cpu" in
13682 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13683 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13684 hardcode_libdir_separator_F77=:
13685 hardcode_direct_F77=no
13686 hardcode_shlibpath_var_F77=no
13689 hardcode_libdir_flag_spec_F77='-L$libdir'
13690 hardcode_direct_F77=no
13691 hardcode_shlibpath_var_F77=no
13693 # hardcode_minus_L: Not really in the search PATH,
13694 # but as the default location of the library.
13695 hardcode_minus_L_F77=yes
13698 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13699 hardcode_libdir_separator_F77=:
13700 hardcode_direct_F77=yes
13701 export_dynamic_flag_spec_F77='${wl}-E'
13703 # hardcode_minus_L: Not really in the search PATH,
13704 # but as the default location of the library.
13705 hardcode_minus_L_F77=yes
13711 irix5* | irix6* | nonstopux*)
13712 if test "$GCC" = yes; then
13713 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'
13715 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'
13716 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13718 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13719 hardcode_libdir_separator_F77=:
13720 link_all_deplibs_F77=yes
13724 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13725 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13727 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13729 hardcode_libdir_flag_spec_F77='-R$libdir'
13730 hardcode_direct_F77=yes
13731 hardcode_shlibpath_var_F77=no
13735 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13736 hardcode_direct_F77=yes
13737 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13738 hardcode_libdir_separator_F77=:
13739 hardcode_shlibpath_var_F77=no
13743 hardcode_direct_F77=yes
13744 hardcode_shlibpath_var_F77=no
13745 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13746 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13747 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13748 export_dynamic_flag_spec_F77='${wl}-E'
13751 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13752 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13753 hardcode_libdir_flag_spec_F77='-R$libdir'
13756 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13757 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13764 hardcode_libdir_flag_spec_F77='-L$libdir'
13765 hardcode_minus_L_F77=yes
13766 allow_undefined_flag_F77=unsupported
13767 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'
13768 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
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}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13776 allow_undefined_flag_F77=' -expect_unresolved \*'
13777 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'
13779 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13780 hardcode_libdir_separator_F77=:
13783 osf4* | osf5*) # as osf3* with the addition of -msym flag
13784 if test "$GCC" = yes; then
13785 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13786 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'
13787 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13789 allow_undefined_flag_F77=' -expect_unresolved \*'
13790 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'
13791 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~
13792 $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'
13794 # Both c and cxx compiler support -rpath directly
13795 hardcode_libdir_flag_spec_F77='-rpath $libdir'
13797 hardcode_libdir_separator_F77=:
13801 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13802 hardcode_shlibpath_var_F77=no
13803 export_dynamic_flag_spec_F77='${wl}-Bexport'
13804 runpath_var=LD_RUN_PATH
13805 hardcode_runpath_var=yes
13809 no_undefined_flag_F77=' -z text'
13810 if test "$GCC" = yes; then
13811 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13812 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13813 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13815 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13816 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13817 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13819 hardcode_libdir_flag_spec_F77='-R$libdir'
13820 hardcode_shlibpath_var_F77=no
13822 solaris2.[0-5] | solaris2.[0-5].*) ;;
13823 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13824 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13826 link_all_deplibs_F77=yes
13830 if test "x$host_vendor" = xsequent; then
13831 # Use $CC to link under sequent, because it throws in some extra .o
13832 # files that make .init and .fini sections work.
13833 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13835 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13837 hardcode_libdir_flag_spec_F77='-L$libdir'
13838 hardcode_direct_F77=yes
13839 hardcode_minus_L_F77=yes
13840 hardcode_shlibpath_var_F77=no
13844 case $host_vendor in
13846 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13847 hardcode_direct_F77=yes # is this really true???
13850 ## LD is ld it makes a PLAMLIB
13851 ## CC just makes a GrossModule.
13852 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13853 reload_cmds_F77='$CC -r -o $output$reload_objs'
13854 hardcode_direct_F77=no
13857 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13858 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13861 runpath_var='LD_RUN_PATH'
13862 hardcode_shlibpath_var_F77=no
13866 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13867 hardcode_shlibpath_var_F77=no
13868 export_dynamic_flag_spec_F77='-Bexport'
13872 if test -d /usr/nec; then
13873 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13874 hardcode_shlibpath_var_F77=no
13875 runpath_var=LD_RUN_PATH
13876 hardcode_runpath_var=yes
13882 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13883 hardcode_direct_F77=yes
13884 hardcode_minus_L_F77=no
13885 hardcode_shlibpath_var_F77=no
13886 hardcode_runpath_var=yes
13887 runpath_var=LD_RUN_PATH
13890 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13891 no_undefined_flag_F77='${wl}-z ${wl}text'
13892 if test "$GCC" = yes; then
13893 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13895 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13897 runpath_var='LD_RUN_PATH'
13898 hardcode_shlibpath_var_F77=no
13902 no_undefined_flag_F77=' -z text'
13903 # $CC -shared without GNU ld will not create a library from C++
13904 # object files and a static libstdc++, better avoid it by now
13905 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13906 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13907 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13908 hardcode_libdir_flag_spec_F77=
13909 hardcode_shlibpath_var_F77=no
13910 runpath_var='LD_RUN_PATH'
13914 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13915 hardcode_libdir_flag_spec_F77='-L$libdir'
13916 hardcode_shlibpath_var_F77=no
13925 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
13926 echo "${ECHO_T}$ld_shlibs_F77" >&6
13927 test "$ld_shlibs_F77" = no && can_build_shared=no
13929 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13930 if test "$GCC" = yes; then
13931 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13935 # Do we need to explicitly link libc?
13937 case "x$archive_cmds_need_lc_F77" in
13939 # Assume -lc should be added
13940 archive_cmds_need_lc_F77=yes
13942 if test "$enable_shared" = yes && test "$GCC" = yes; then
13943 case $archive_cmds_F77 in
13945 # FIXME: we may have to deal with multi-command sequences.
13948 # Test whether the compiler implicitly links with -lc since on some
13949 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13950 # to ld, don't add -lc before -lgcc.
13951 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13952 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13954 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13957 (eval $ac_compile) 2>&5
13959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13960 (exit $ac_status); } 2>conftest.err; then
13963 libobjs=conftest.$ac_objext
13965 wl=$lt_prog_compiler_wl_F77
13971 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
13972 allow_undefined_flag_F77=
13973 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13974 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13977 (exit $ac_status); }
13979 archive_cmds_need_lc_F77=no
13981 archive_cmds_need_lc_F77=yes
13983 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
13985 cat conftest.err 1>&5
13988 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
13989 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
13996 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13997 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13998 hardcode_action_F77=
13999 if test -n "$hardcode_libdir_flag_spec_F77" || \
14000 test -n "$runpath_var F77" || \
14001 test "X$hardcode_automatic_F77"="Xyes" ; then
14003 # We can hardcode non-existant directories.
14004 if test "$hardcode_direct_F77" != no &&
14005 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14006 # have to relink, otherwise we might link with an installed library
14007 # when we should be linking with a yet-to-be-installed one
14008 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
14009 test "$hardcode_minus_L_F77" != no; then
14010 # Linking always hardcodes the temporary library directory.
14011 hardcode_action_F77=relink
14013 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14014 hardcode_action_F77=immediate
14017 # We cannot hardcode anything, or else we can only hardcode existing
14019 hardcode_action_F77=unsupported
14021 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14022 echo "${ECHO_T}$hardcode_action_F77" >&6
14024 if test "$hardcode_action_F77" = relink; then
14025 # Fast installation is not supported
14026 enable_fast_install=no
14027 elif test "$shlibpath_overrides_runpath" = yes ||
14028 test "$enable_shared" = no; then
14029 # Fast installation is not necessary
14030 enable_fast_install=needless
14035 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14036 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14037 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14038 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14039 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14040 echo "$as_me:$LINENO: result: yes" >&5
14041 echo "${ECHO_T}yes" >&6
14043 # FIXME - insert some real tests, host_os isn't really good enough
14046 if test -n "$STRIP" ; then
14047 striplib="$STRIP -x"
14048 echo "$as_me:$LINENO: result: yes" >&5
14049 echo "${ECHO_T}yes" >&6
14051 echo "$as_me:$LINENO: result: no" >&5
14052 echo "${ECHO_T}no" >&6
14056 echo "$as_me:$LINENO: result: no" >&5
14057 echo "${ECHO_T}no" >&6
14062 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14063 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14064 library_names_spec=
14065 libname_spec='lib$name'
14069 postuninstall_cmds=
14073 shlibpath_overrides_runpath=unknown
14075 dynamic_linker="$host_os ld.so"
14076 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14077 if test "$GCC" = yes; then
14078 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14079 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14080 # if the path contains ";" then we assume it to be the separator
14081 # otherwise default to the standard path separator (i.e. ":") - it is
14082 # assumed that no part of a normal pathname contains ";" but that should
14083 # okay in the real world where ";" in dirpaths is itself problematic.
14084 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14086 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14089 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14091 need_lib_prefix=unknown
14092 hardcode_into_libs=no
14094 # when you set need_version to no, make sure it does not cause -set_version
14095 # flags to be left without arguments
14096 need_version=unknown
14101 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14102 shlibpath_var=LIBPATH
14104 # AIX 3 has no versioning support, so we append a major version to the name.
14105 soname_spec='${libname}${release}${shared_ext}$major'
14112 hardcode_into_libs=yes
14113 if test "$host_cpu" = ia64; then
14114 # AIX 5 supports IA64
14115 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14116 shlibpath_var=LD_LIBRARY_PATH
14118 # With GCC up to 2.95.x, collect2 would create an import file
14119 # for dependence libraries. The import file would start with
14120 # the line `#! .'. This would cause the generated library to
14121 # depend on `.', always an invalid library. This was fixed in
14122 # development snapshots of GCC prior to 3.0.
14124 aix4 | aix4.[01] | aix4.[01].*)
14125 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14127 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14130 can_build_shared=no
14134 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14135 # soname into executable. Probably we can add versioning support to
14136 # collect2, so additional links can be useful in future.
14137 if test "$aix_use_runtimelinking" = yes; then
14138 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14139 # instead of lib<name>.a to let people know that these are not
14140 # typical AIX shared libraries.
14141 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14143 # We preserve .a as extension for shared libraries through AIX4.2
14144 # and later when we are not doing run time linking.
14145 library_names_spec='${libname}${release}.a $libname.a'
14146 soname_spec='${libname}${release}${shared_ext}$major'
14148 shlibpath_var=LIBPATH
14153 library_names_spec='$libname.ixlibrary $libname.a'
14154 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14155 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'
14159 library_names_spec='${libname}${shared_ext}'
14160 dynamic_linker="$host_os ld.so"
14161 shlibpath_var=LIBRARY_PATH
14167 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14168 soname_spec='${libname}${release}${shared_ext}$major'
14169 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14170 shlibpath_var=LD_LIBRARY_PATH
14171 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14172 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14173 # the default ld.so.conf also contains /usr/contrib/lib and
14174 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14175 # libtool to hard-code these into programs
14178 cygwin* | mingw* | pw32*)
14179 version_type=windows
14184 case $GCC,$host_os in
14185 yes,cygwin* | yes,mingw* | yes,pw32*)
14186 library_names_spec='$libname.dll.a'
14187 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14188 postinstall_cmds='base_file=`basename \${file}`~
14189 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14190 dldir=$destdir/`dirname \$dlpath`~
14191 test -d \$dldir || mkdir -p \$dldir~
14192 $install_prog $dir/$dlname \$dldir/$dlname'
14193 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14194 dlpath=$dir/\$dldll~
14196 shlibpath_overrides_runpath=yes
14200 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14201 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14202 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
14205 # MinGW DLLs use traditional 'lib' prefix
14206 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14207 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14208 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14209 # It is most probably a Windows format PATH printed by
14210 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14211 # path with ; separators, and with drive letters. We can handle the
14212 # drive letters (cygwin fileutils understands them), so leave them,
14213 # especially as we might pass files found there to a mingw objdump,
14214 # which wouldn't understand a cygwinified path. Ahh.
14215 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14217 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14221 # pw32 DLLs use 'pw' prefix rather than 'lib'
14222 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14228 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14231 dynamic_linker='Win32 ld.exe'
14232 # FIXME: first we should search . and the directory the executable is in
14236 darwin* | rhapsody*)
14237 dynamic_linker="$host_os dyld"
14238 version_type=darwin
14241 # FIXME: Relying on posixy $() will cause problems for
14242 # cross-compilation, but unfortunately the echo tests do not
14243 # yet detect zsh echo's removal of \ escapes.
14244 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14245 soname_spec='${libname}${release}${major}$shared_ext'
14246 shlibpath_overrides_runpath=yes
14247 shlibpath_var=DYLD_LIBRARY_PATH
14248 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
14249 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14250 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
14251 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"`
14253 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14260 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14261 soname_spec='${libname}${release}${shared_ext}$major'
14262 shlibpath_var=LD_LIBRARY_PATH
14270 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14271 version_type=freebsd-$objformat
14272 case $version_type in
14274 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14279 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14283 shlibpath_var=LD_LIBRARY_PATH
14286 shlibpath_overrides_runpath=yes
14288 freebsd3.01* | freebsdelf3.01*)
14289 shlibpath_overrides_runpath=yes
14290 hardcode_into_libs=yes
14293 shlibpath_overrides_runpath=no
14294 hardcode_into_libs=yes
14303 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14304 soname_spec='${libname}${release}${shared_ext}$major'
14305 shlibpath_var=LD_LIBRARY_PATH
14306 hardcode_into_libs=yes
14309 hpux9* | hpux10* | hpux11*)
14310 # Give a soname corresponding to the major version so that dld.sl refuses to
14311 # link against other versions.
14315 case "$host_cpu" in
14318 hardcode_into_libs=yes
14319 dynamic_linker="$host_os dld.so"
14320 shlibpath_var=LD_LIBRARY_PATH
14321 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14323 soname_spec='${libname}${release}${shared_ext}$major'
14324 if test "X$HPUX_IA64_MODE" = X32; then
14325 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14327 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14329 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14333 hardcode_into_libs=yes
14334 dynamic_linker="$host_os dld.sl"
14335 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14336 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14337 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14338 soname_spec='${libname}${release}${shared_ext}$major'
14339 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14340 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14344 dynamic_linker="$host_os dld.sl"
14345 shlibpath_var=SHLIB_PATH
14346 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14348 soname_spec='${libname}${release}${shared_ext}$major'
14351 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14352 postinstall_cmds='chmod 555 $lib'
14355 irix5* | irix6* | nonstopux*)
14357 nonstopux*) version_type=nonstopux ;;
14359 if test "$lt_cv_prog_gnu_ld" = yes; then
14367 soname_spec='${libname}${release}${shared_ext}$major'
14368 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14370 irix5* | nonstopux*)
14371 libsuff= shlibsuff=
14374 case $LD in # libtool.m4 will add one of these switches to LD
14375 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14376 libsuff= shlibsuff= libmagic=32-bit;;
14377 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14378 libsuff=32 shlibsuff=N32 libmagic=N32;;
14379 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14380 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14381 *) libsuff= shlibsuff= libmagic=never-match;;
14385 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14386 shlibpath_overrides_runpath=no
14387 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14388 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14389 hardcode_into_libs=yes
14392 # No shared lib support for Linux oldld, aout, or coff.
14393 linux*oldld* | linux*aout* | linux*coff*)
14397 # This must be Linux ELF.
14402 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14403 soname_spec='${libname}${release}${shared_ext}$major'
14404 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14405 shlibpath_var=LD_LIBRARY_PATH
14406 shlibpath_overrides_runpath=no
14407 # This implies no fast_install, which is unacceptable.
14408 # Some rework will be needed to allow for fast_install
14409 # before this can be enabled.
14410 hardcode_into_libs=yes
14412 # We used to test for /lib/ld.so.1 and disable shared libraries on
14413 # powerpc, because MkLinux only supported shared libraries with the
14414 # GNU dynamic linker. Since this was broken with cross compilers,
14415 # most powerpc-linux boxes support dynamic linking these days and
14416 # people can always --disable-shared, the test was removed, and we
14417 # assume the GNU/Linux dynamic linker is in use.
14418 dynamic_linker='GNU/Linux ld.so'
14425 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14426 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14427 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14428 dynamic_linker='NetBSD (a.out) ld.so'
14430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14431 soname_spec='${libname}${release}${shared_ext}$major'
14432 dynamic_linker='NetBSD ld.elf_so'
14434 shlibpath_var=LD_LIBRARY_PATH
14435 shlibpath_overrides_runpath=yes
14436 hardcode_into_libs=yes
14441 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14442 shlibpath_var=LD_LIBRARY_PATH
14443 shlibpath_overrides_runpath=yes
14450 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14451 soname_spec='${libname}${release}${shared_ext}$major'
14452 shlibpath_var=LD_LIBRARY_PATH
14453 shlibpath_overrides_runpath=yes
14460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14461 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14462 shlibpath_var=LD_LIBRARY_PATH
14463 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14465 openbsd2.[89] | openbsd2.[89].*)
14466 shlibpath_overrides_runpath=no
14469 shlibpath_overrides_runpath=yes
14473 shlibpath_overrides_runpath=yes
14478 libname_spec='$name'
14481 library_names_spec='$libname${shared_ext} $libname.a'
14482 dynamic_linker='OS/2 ld.exe'
14483 shlibpath_var=LIBPATH
14486 osf3* | osf4* | osf5*)
14490 soname_spec='${libname}${release}${shared_ext}$major'
14491 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14492 shlibpath_var=LD_LIBRARY_PATH
14493 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14494 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14499 soname_spec='${libname}${release}${shared_ext}$major'
14500 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14501 shlibpath_var=LD_LIBRARY_PATH
14508 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14509 soname_spec='${libname}${release}${shared_ext}$major'
14510 shlibpath_var=LD_LIBRARY_PATH
14511 shlibpath_overrides_runpath=yes
14512 hardcode_into_libs=yes
14513 # ldd complains unless libraries are executable
14514 postinstall_cmds='chmod +x $lib'
14519 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14520 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14521 shlibpath_var=LD_LIBRARY_PATH
14522 shlibpath_overrides_runpath=yes
14523 if test "$with_gnu_ld" = yes; then
14529 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14532 soname_spec='${libname}${release}${shared_ext}$major'
14533 shlibpath_var=LD_LIBRARY_PATH
14534 case $host_vendor in
14536 shlibpath_overrides_runpath=no
14538 export_dynamic_flag_spec='${wl}-Blargedynsym'
14539 runpath_var=LD_RUN_PATH
14547 shlibpath_overrides_runpath=no
14548 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14554 if test -d /usr/nec ;then
14556 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14557 soname_spec='$libname${shared_ext}.$major'
14558 shlibpath_var=LD_LIBRARY_PATH
14564 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14565 soname_spec='${libname}${release}${shared_ext}$major'
14566 shlibpath_var=LD_LIBRARY_PATH
14573 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14574 echo "${ECHO_T}$dynamic_linker" >&6
14575 test "$dynamic_linker" = no && can_build_shared=no
14578 # The else clause should only fire when bootstrapping the
14579 # libtool distribution, otherwise you forgot to ship ltmain.sh
14580 # with your package, and you will get complaints that there are
14581 # no rules to generate ltmain.sh.
14582 if test -f "$ltmain"; then
14583 # See if we are running on zsh, and set the options which allow our commands through
14584 # without removal of \ escapes.
14585 if test -n "${ZSH_VERSION+set}" ; then
14586 setopt NO_GLOB_SUBST
14588 # Now quote all the things that may contain metacharacters while being
14589 # careful not to overquote the AC_SUBSTed values. We take copies of the
14590 # variables and quote the copies for generation of the libtool script.
14591 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
14592 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14593 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14594 deplibs_check_method reload_flag reload_cmds need_locks \
14595 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14596 lt_cv_sys_global_symbol_to_c_name_address \
14597 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14598 old_postinstall_cmds old_postuninstall_cmds \
14602 lt_prog_compiler_wl_F77 \
14603 lt_prog_compiler_pic_F77 \
14604 lt_prog_compiler_static_F77 \
14605 lt_prog_compiler_no_builtin_flag_F77 \
14606 export_dynamic_flag_spec_F77 \
14607 thread_safe_flag_spec_F77 \
14608 whole_archive_flag_spec_F77 \
14609 enable_shared_with_static_runtimes_F77 \
14610 old_archive_cmds_F77 \
14611 old_archive_from_new_cmds_F77 \
14612 predep_objects_F77 \
14613 postdep_objects_F77 \
14616 compiler_lib_search_path_F77 \
14618 archive_expsym_cmds_F77 \
14619 postinstall_cmds_F77 \
14620 postuninstall_cmds_F77 \
14621 old_archive_from_expsyms_cmds_F77 \
14622 allow_undefined_flag_F77 \
14623 no_undefined_flag_F77 \
14624 export_symbols_cmds_F77 \
14625 hardcode_libdir_flag_spec_F77 \
14626 hardcode_libdir_flag_spec_ld_F77 \
14627 hardcode_libdir_separator_F77 \
14628 hardcode_automatic_F77 \
14630 module_expsym_cmds_F77 \
14631 lt_cv_prog_compiler_c_o_F77 \
14632 exclude_expsyms_F77 \
14633 include_expsyms_F77; do
14636 old_archive_cmds_F77 | \
14637 old_archive_from_new_cmds_F77 | \
14638 archive_cmds_F77 | \
14639 archive_expsym_cmds_F77 | \
14640 module_cmds_F77 | \
14641 module_expsym_cmds_F77 | \
14642 old_archive_from_expsyms_cmds_F77 | \
14643 export_symbols_cmds_F77 | \
14644 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14645 postinstall_cmds | postuninstall_cmds | \
14646 old_postinstall_cmds | old_postuninstall_cmds | \
14647 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14648 # Double-quote double-evaled strings.
14649 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14652 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14658 *'\$0 --fallback-echo"')
14659 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14665 cat <<__EOF__ >> "$cfgfile"
14666 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14668 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14670 # Shell to use when invoking shell scripts.
14673 # Whether or not to build shared libraries.
14674 build_libtool_libs=$enable_shared
14676 # Whether or not to build static libraries.
14677 build_old_libs=$enable_static
14679 # Whether or not to add -lc for building shared libraries.
14680 build_libtool_need_lc=$archive_cmds_need_lc_F77
14682 # Whether or not to disallow shared libs when runtime libs are static
14683 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14685 # Whether or not to optimize for fast installation.
14686 fast_install=$enable_fast_install
14689 host_alias=$host_alias
14692 # An echo program that does not interpret backslashes.
14697 AR_FLAGS=$lt_AR_FLAGS
14702 # A language-specific compiler.
14703 CC=$lt_compiler_F77
14705 # Is the compiler the GNU C compiler?
14711 # The linker used to build libraries.
14714 # Whether we need hard or soft links.
14717 # A BSD-compatible nm program.
14720 # A symbol stripping program
14723 # Used to examine libraries when file_magic_cmd begins "file"
14724 MAGIC_CMD=$MAGIC_CMD
14726 # Used on cygwin: DLL creation program.
14729 # Used on cygwin: object dumper.
14732 # Used on cygwin: assembler.
14735 # The name of the directory that contains temporary libtool files.
14738 # How to create reloadable object files.
14739 reload_flag=$lt_reload_flag
14740 reload_cmds=$lt_reload_cmds
14742 # How to pass a linker flag through the compiler.
14743 wl=$lt_lt_prog_compiler_wl_F77
14745 # Object file suffix (normally "o").
14746 objext="$ac_objext"
14748 # Old archive suffix (normally "a").
14751 # Shared library suffix (normally ".so").
14754 # Executable file suffix (normally "").
14757 # Additional compiler flags for building library objects.
14758 pic_flag=$lt_lt_prog_compiler_pic_F77
14761 # What is the maximum length of a command?
14762 max_cmd_len=$lt_cv_sys_max_cmd_len
14764 # Does compiler simultaneously support -c and -o options?
14765 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
14767 # Must we lock files when doing compilation ?
14768 need_locks=$lt_need_locks
14770 # Do we need the lib prefix for modules?
14771 need_lib_prefix=$need_lib_prefix
14773 # Do we need a version for libraries?
14774 need_version=$need_version
14776 # Whether dlopen is supported.
14777 dlopen_support=$enable_dlopen
14779 # Whether dlopen of programs is supported.
14780 dlopen_self=$enable_dlopen_self
14782 # Whether dlopen of statically linked programs is supported.
14783 dlopen_self_static=$enable_dlopen_self_static
14785 # Compiler flag to prevent dynamic linking.
14786 link_static_flag=$lt_lt_prog_compiler_static_F77
14788 # Compiler flag to turn off builtin functions.
14789 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
14791 # Compiler flag to allow reflexive dlopens.
14792 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
14794 # Compiler flag to generate shared objects directly from archives.
14795 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
14797 # Compiler flag to generate thread-safe objects.
14798 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
14800 # Library versioning type.
14801 version_type=$version_type
14803 # Format of library name prefix.
14804 libname_spec=$lt_libname_spec
14806 # List of archive names. First name is the real one, the rest are links.
14807 # The last name is the one that the linker finds with -lNAME.
14808 library_names_spec=$lt_library_names_spec
14810 # The coded name of the library, if different from the real name.
14811 soname_spec=$lt_soname_spec
14813 # Commands used to build and install an old-style archive.
14815 old_archive_cmds=$lt_old_archive_cmds_F77
14816 old_postinstall_cmds=$lt_old_postinstall_cmds
14817 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14819 # Create an old-style archive from a shared archive.
14820 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
14822 # Create a temporary old-style archive to link instead of a shared archive.
14823 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
14825 # Commands used to build and install a shared archive.
14826 archive_cmds=$lt_archive_cmds_F77
14827 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
14828 postinstall_cmds=$lt_postinstall_cmds
14829 postuninstall_cmds=$lt_postuninstall_cmds
14831 # Commands used to build a loadable module (assumed same as above if empty)
14832 module_cmds=$lt_module_cmds_F77
14833 module_expsym_cmds=$lt_module_expsym_cmds_F77
14835 # Commands to strip libraries.
14836 old_striplib=$lt_old_striplib
14837 striplib=$lt_striplib
14839 # Dependencies to place before the objects being linked to create a
14841 predep_objects=$lt_predep_objects_F77
14843 # Dependencies to place after the objects being linked to create a
14845 postdep_objects=$lt_postdep_objects_F77
14847 # Dependencies to place before the objects being linked to create a
14849 predeps=$lt_predeps_F77
14851 # Dependencies to place after the objects being linked to create a
14853 postdeps=$lt_postdeps_F77
14855 # The library search path used internally by the compiler when linking
14856 # a shared library.
14857 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
14859 # Method to check whether dependent libraries are shared objects.
14860 deplibs_check_method=$lt_deplibs_check_method
14862 # Command to use when deplibs_check_method == file_magic.
14863 file_magic_cmd=$lt_file_magic_cmd
14865 # Flag that allows shared libraries with undefined symbols to be built.
14866 allow_undefined_flag=$lt_allow_undefined_flag_F77
14868 # Flag that forces no undefined symbols.
14869 no_undefined_flag=$lt_no_undefined_flag_F77
14871 # Commands used to finish a libtool library installation in a directory.
14872 finish_cmds=$lt_finish_cmds
14874 # Same as above, but a single script fragment to be evaled but not shown.
14875 finish_eval=$lt_finish_eval
14877 # Take the output of nm and produce a listing of raw symbols and C names.
14878 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14880 # Transform the output of nm in a proper C declaration
14881 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14883 # Transform the output of nm in a C name address pair
14884 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14886 # This is the shared library runtime path variable.
14887 runpath_var=$runpath_var
14889 # This is the shared library path variable.
14890 shlibpath_var=$shlibpath_var
14892 # Is shlibpath searched before the hard-coded library search path?
14893 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14895 # How to hardcode a shared library path into an executable.
14896 hardcode_action=$hardcode_action_F77
14898 # Whether we should hardcode library paths into libraries.
14899 hardcode_into_libs=$hardcode_into_libs
14901 # Flag to hardcode \$libdir into a binary during linking.
14902 # This must work even if \$libdir does not exist.
14903 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
14905 # If ld is used when linking, flag to hardcode \$libdir into
14906 # a binary during linking. This must work even if \$libdir does
14908 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
14910 # Whether we need a single -rpath flag with a separated argument.
14911 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
14913 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14914 # resulting binary.
14915 hardcode_direct=$hardcode_direct_F77
14917 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14918 # resulting binary.
14919 hardcode_minus_L=$hardcode_minus_L_F77
14921 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14922 # the resulting binary.
14923 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
14925 # Set to yes if building a shared library automatically hardcodes DIR into the library
14926 # and all subsequent libraries and executables linked against it.
14927 hardcode_automatic=$hardcode_automatic_F77
14929 # Variables whose values should be saved in libtool wrapper scripts and
14930 # restored at relink time.
14931 variables_saved_for_relink="$variables_saved_for_relink"
14933 # Whether libtool must link a program against all its dependency libraries.
14934 link_all_deplibs=$link_all_deplibs_F77
14936 # Compile-time system search path for libraries
14937 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14939 # Run-time system search path for libraries
14940 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14942 # Fix the shell variable \$srcfile for the compiler.
14943 fix_srcfile_path="$fix_srcfile_path_F77"
14945 # Set to yes if exported symbols are required.
14946 always_export_symbols=$always_export_symbols_F77
14948 # The commands to list exported symbols.
14949 export_symbols_cmds=$lt_export_symbols_cmds_F77
14951 # The commands to extract the exported symbol list from a shared archive.
14952 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14954 # Symbols that should not be listed in the preloaded symbols.
14955 exclude_expsyms=$lt_exclude_expsyms_F77
14957 # Symbols that must always be exported.
14958 include_expsyms=$lt_include_expsyms_F77
14960 # ### END LIBTOOL TAG CONFIG: $tagname
14966 # If there is no Makefile yet, we rely on a make rule to execute
14967 # `config.status --recheck' to rerun these tests and create the
14968 # libtool script then.
14969 test -f Makefile && make "$ltmain"
14974 ac_cpp='$CPP $CPPFLAGS'
14975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14987 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
14991 # Source file extension for Java test sources.
14994 # Object file extension for compiled Java test sources.
14998 # Code to be used in simple compile tests
14999 lt_simple_compile_test_code="class foo {}\n"
15001 # Code to be used in simple link tests
15002 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
15004 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15006 # If no C compiler was specified, use CC.
15009 # Allow CC to be a program name with arguments.
15013 # Allow CC to be a program name with arguments.
15019 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15020 archive_cmds_need_lc_GCJ=no
15023 ## There is no encapsulation within the following macros, do not change
15024 ## the running order or otherwise move them around unless you know exactly
15025 ## what you are doing...
15027 lt_prog_compiler_no_builtin_flag_GCJ=
15029 if test "$GCC" = yes; then
15030 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15032 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15033 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15034 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15035 echo $ECHO_N "(cached) $ECHO_C" >&6
15037 lt_cv_prog_compiler_rtti_exceptions=no
15038 ac_outfile=conftest.$ac_objext
15039 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15040 lt_compiler_flag="-fno-rtti -fno-exceptions"
15041 # Insert the option either (1) after the last *FLAGS variable, or
15042 # (2) before a word containing "conftest.", or (3) at the end.
15043 # Note that $ac_compile itself does not contain backslashes and begins
15044 # with a dollar sign (not a hyphen), so the echo should work correctly.
15045 # The option is referenced via a variable to avoid confusing sed.
15046 lt_compile=`echo "$ac_compile" | $SED \
15047 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15048 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15049 -e 's:$: $lt_compiler_flag:'`
15050 (eval echo "\"\$as_me:15050: $lt_compile\"" >&5)
15051 (eval "$lt_compile" 2>conftest.err)
15053 cat conftest.err >&5
15054 echo "$as_me:15054: \$? = $ac_status" >&5
15055 if (exit $ac_status) && test -s "$ac_outfile"; then
15056 # The compiler can only warn and ignore the option if not recognized
15057 # So say no if there are warnings
15058 if test ! -s conftest.err; then
15059 lt_cv_prog_compiler_rtti_exceptions=yes
15065 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15066 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15068 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15069 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15076 lt_prog_compiler_wl_GCJ=
15077 lt_prog_compiler_pic_GCJ=
15078 lt_prog_compiler_static_GCJ=
15080 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15081 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15083 if test "$GCC" = yes; then
15084 lt_prog_compiler_wl_GCJ='-Wl,'
15085 lt_prog_compiler_static_GCJ='-static'
15089 # All AIX code is PIC.
15090 if test "$host_cpu" = ia64; then
15091 # AIX 5 now supports IA64 processor
15092 lt_prog_compiler_static_GCJ='-Bstatic'
15097 # FIXME: we need at least 68020 code to build shared libraries, but
15098 # adding the `-m68020' flag to GCC prevents building anything better,
15100 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15103 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15104 # PIC is the default for these OSes.
15107 mingw* | pw32* | os2*)
15108 # This hack is so that the source file can tell whether it is being
15109 # built for inclusion in a dll (and should export symbols for example).
15110 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15113 darwin* | rhapsody*)
15114 # PIC is the default on this platform
15115 # Common symbols not allowed in MH_DYLIB files
15116 lt_prog_compiler_pic_GCJ='-fno-common'
15120 # Just because we use GCC doesn't mean we suddenly get shared libraries
15121 # on systems that don't support them.
15122 lt_prog_compiler_can_build_shared_GCJ=no
15127 if test -d /usr/nec; then
15128 lt_prog_compiler_pic_GCJ=-Kconform_pic
15133 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15134 # not for PA HP-UX.
15135 case "$host_cpu" in
15140 lt_prog_compiler_pic_GCJ='-fPIC'
15146 lt_prog_compiler_pic_GCJ='-fPIC'
15150 # PORTME Check for flag to pass linker flags through the system compiler.
15153 lt_prog_compiler_wl_GCJ='-Wl,'
15154 if test "$host_cpu" = ia64; then
15155 # AIX 5 now supports IA64 processor
15156 lt_prog_compiler_static_GCJ='-Bstatic'
15158 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15162 mingw* | pw32* | os2*)
15163 # This hack is so that the source file can tell whether it is being
15164 # built for inclusion in a dll (and should export symbols for example).
15165 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15168 hpux9* | hpux10* | hpux11*)
15169 lt_prog_compiler_wl_GCJ='-Wl,'
15170 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15171 # not for PA HP-UX.
15172 case "$host_cpu" in
15177 lt_prog_compiler_pic_GCJ='+Z'
15180 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15181 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15184 irix5* | irix6* | nonstopux*)
15185 lt_prog_compiler_wl_GCJ='-Wl,'
15186 # PIC (with -KPIC) is the default.
15187 lt_prog_compiler_static_GCJ='-non_shared'
15191 lt_prog_compiler_pic_GCJ='-KPIC'
15192 lt_prog_compiler_static_GCJ='-Bstatic'
15198 lt_prog_compiler_wl_GCJ='-Wl,'
15199 lt_prog_compiler_pic_GCJ='-KPIC'
15200 lt_prog_compiler_static_GCJ='-static'
15203 lt_prog_compiler_wl_GCJ='-Wl,'
15204 # All Alpha code is PIC.
15205 lt_prog_compiler_static_GCJ='-non_shared'
15210 osf3* | osf4* | osf5*)
15211 lt_prog_compiler_wl_GCJ='-Wl,'
15212 # All OSF/1 code is PIC.
15213 lt_prog_compiler_static_GCJ='-non_shared'
15217 lt_prog_compiler_pic_GCJ='-Kpic'
15218 lt_prog_compiler_static_GCJ='-dn'
15222 lt_prog_compiler_wl_GCJ='-Wl,'
15223 lt_prog_compiler_pic_GCJ='-KPIC'
15224 lt_prog_compiler_static_GCJ='-Bstatic'
15228 lt_prog_compiler_wl_GCJ='-Qoption ld '
15229 lt_prog_compiler_pic_GCJ='-PIC'
15230 lt_prog_compiler_static_GCJ='-Bstatic'
15233 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15234 lt_prog_compiler_wl_GCJ='-Wl,'
15235 lt_prog_compiler_pic_GCJ='-KPIC'
15236 lt_prog_compiler_static_GCJ='-Bstatic'
15240 if test -d /usr/nec ;then
15241 lt_prog_compiler_pic_GCJ='-Kconform_pic'
15242 lt_prog_compiler_static_GCJ='-Bstatic'
15247 lt_prog_compiler_pic_GCJ='-pic'
15248 lt_prog_compiler_static_GCJ='-Bstatic'
15252 lt_prog_compiler_can_build_shared_GCJ=no
15257 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15258 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15261 # Check to make sure the PIC flag actually works.
15263 if test -n "$lt_prog_compiler_pic_GCJ"; then
15264 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15265 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15266 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15267 echo $ECHO_N "(cached) $ECHO_C" >&6
15269 lt_prog_compiler_pic_works_GCJ=no
15270 ac_outfile=conftest.$ac_objext
15271 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15272 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15273 # Insert the option either (1) after the last *FLAGS variable, or
15274 # (2) before a word containing "conftest.", or (3) at the end.
15275 # Note that $ac_compile itself does not contain backslashes and begins
15276 # with a dollar sign (not a hyphen), so the echo should work correctly.
15277 # The option is referenced via a variable to avoid confusing sed.
15278 lt_compile=`echo "$ac_compile" | $SED \
15279 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15280 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15281 -e 's:$: $lt_compiler_flag:'`
15282 (eval echo "\"\$as_me:15282: $lt_compile\"" >&5)
15283 (eval "$lt_compile" 2>conftest.err)
15285 cat conftest.err >&5
15286 echo "$as_me:15286: \$? = $ac_status" >&5
15287 if (exit $ac_status) && test -s "$ac_outfile"; then
15288 # The compiler can only warn and ignore the option if not recognized
15289 # So say no if there are warnings
15290 if test ! -s conftest.err; then
15291 lt_prog_compiler_pic_works_GCJ=yes
15297 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15298 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15300 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15301 case $lt_prog_compiler_pic_GCJ in
15303 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15306 lt_prog_compiler_pic_GCJ=
15307 lt_prog_compiler_can_build_shared_GCJ=no
15312 # For platforms which do not support PIC, -DPIC is meaningless:
15314 lt_prog_compiler_pic_GCJ=
15317 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15321 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15322 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15323 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15324 echo $ECHO_N "(cached) $ECHO_C" >&6
15326 lt_cv_prog_compiler_c_o_GCJ=no
15327 $rm -r conftest 2>/dev/null
15331 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15333 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15334 # that will create temporary files in the current directory regardless of
15335 # the output directory. Thus, making CWD read-only will cause this test
15336 # to fail, enabling locking or at least warning the user not to do parallel
15340 lt_compiler_flag="-o out/conftest2.$ac_objext"
15341 # Insert the option either (1) after the last *FLAGS variable, or
15342 # (2) before a word containing "conftest.", or (3) at the end.
15343 # Note that $ac_compile itself does not contain backslashes and begins
15344 # with a dollar sign (not a hyphen), so the echo should work correctly.
15345 lt_compile=`echo "$ac_compile" | $SED \
15346 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15347 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15348 -e 's:$: $lt_compiler_flag:'`
15349 (eval echo "\"\$as_me:15349: $lt_compile\"" >&5)
15350 (eval "$lt_compile" 2>out/conftest.err)
15352 cat out/conftest.err >&5
15353 echo "$as_me:15353: \$? = $ac_status" >&5
15354 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15356 # The compiler can only warn and ignore the option if not recognized
15357 # So say no if there are warnings
15358 if test ! -s out/conftest.err; then
15359 lt_cv_prog_compiler_c_o_GCJ=yes
15363 $rm conftest* out/*
15370 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15371 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15374 hard_links="nottested"
15375 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15376 # do not overwrite the value of need_locks provided by the user
15377 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15378 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15381 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15383 ln conftest.a conftest.b 2>&5 || hard_links=no
15384 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15385 echo "$as_me:$LINENO: result: $hard_links" >&5
15386 echo "${ECHO_T}$hard_links" >&6
15387 if test "$hard_links" = no; then
15388 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15389 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15396 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15397 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15400 allow_undefined_flag_GCJ=
15401 enable_shared_with_static_runtimes_GCJ=no
15403 archive_expsym_cmds_GCJ=
15404 old_archive_From_new_cmds_GCJ=
15405 old_archive_from_expsyms_cmds_GCJ=
15406 export_dynamic_flag_spec_GCJ=
15407 whole_archive_flag_spec_GCJ=
15408 thread_safe_flag_spec_GCJ=
15409 hardcode_libdir_flag_spec_GCJ=
15410 hardcode_libdir_flag_spec_ld_GCJ=
15411 hardcode_libdir_separator_GCJ=
15412 hardcode_direct_GCJ=no
15413 hardcode_minus_L_GCJ=no
15414 hardcode_shlibpath_var_GCJ=unsupported
15415 link_all_deplibs_GCJ=unknown
15416 hardcode_automatic_GCJ=no
15418 module_expsym_cmds_GCJ=
15419 always_export_symbols_GCJ=no
15420 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15421 # include_expsyms should be a list of space-separated symbols to be *always*
15422 # included in the symbol list
15423 include_expsyms_GCJ=
15424 # exclude_expsyms can be an extended regexp of symbols to exclude
15425 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15426 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15427 # as well as any symbol that contains `d'.
15428 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15429 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15430 # platforms (ab)use it in PIC code, but their linkers get confused if
15431 # the symbol is explicitly referenced. Since portable code cannot
15432 # rely on this symbol name, it's probably fine to never include it in
15433 # preloaded symbol tables.
15434 extract_expsyms_cmds=
15437 cygwin* | mingw* | pw32*)
15438 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15439 # When not using gcc, we currently assume that we are using
15440 # Microsoft Visual C++.
15441 if test "$GCC" != yes; then
15451 if test "$with_gnu_ld" = yes; then
15452 # If archive_cmds runs LD, not CC, wlarc should be empty
15455 # See if GNU ld supports shared libraries.
15457 aix3* | aix4* | aix5*)
15458 # On AIX/PPC, the GNU linker is very broken
15459 if test "$host_cpu" != ia64; then
15463 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15464 *** to be unable to reliably create shared libraries on AIX.
15465 *** Therefore, libtool is disabling shared libraries support. If you
15466 *** really care for shared libraries, you may want to modify your PATH
15467 *** so that a non-GNU linker is found, and then restart.
15474 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)'
15475 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15476 hardcode_minus_L_GCJ=yes
15478 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15479 # that the semantics of dynamic libraries on AmigaOS, at least up
15480 # to version 4, is to share data among multiple programs linked
15481 # with the same dynamic library. Since this doesn't match the
15482 # behavior of shared libraries on other platforms, we can't use
15488 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15489 allow_undefined_flag_GCJ=unsupported
15490 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15491 # support --undefined. This deserves some investigation. FIXME
15492 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15498 cygwin* | mingw* | pw32*)
15499 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15500 # as there is no search path for DLLs.
15501 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15502 allow_undefined_flag_GCJ=unsupported
15503 always_export_symbols_GCJ=no
15504 enable_shared_with_static_runtimes_GCJ=yes
15505 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15507 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15508 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15509 # If the export-symbols file already is a .def file (1st line
15510 # is EXPORTS), use it as is; otherwise, prepend...
15511 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15512 cp $export_symbols $output_objdir/$soname.def;
15514 echo EXPORTS > $output_objdir/$soname.def;
15515 cat $export_symbols >> $output_objdir/$soname.def;
15517 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15524 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15525 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15528 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15529 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15534 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15538 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15539 *** create shared libraries on Solaris systems. Therefore, libtool
15540 *** is disabling shared libraries support. We urge you to upgrade GNU
15541 *** binutils to release 2.9.1 or newer. Another option is to modify
15542 *** your PATH or compiler configuration so that the native linker is
15543 *** used, and then restart.
15546 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15547 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15548 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15555 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15557 hardcode_direct_GCJ=yes
15558 hardcode_shlibpath_var_GCJ=no
15562 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15563 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15564 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15571 if test "$ld_shlibs_GCJ" = yes; then
15572 runpath_var=LD_RUN_PATH
15573 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15574 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15575 # ancient GNU ld didn't support --whole-archive et. al.
15576 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15577 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15579 whole_archive_flag_spec_GCJ=
15583 # PORTME fill in a description of your system's linker (not GNU ld)
15586 allow_undefined_flag_GCJ=unsupported
15587 always_export_symbols_GCJ=yes
15588 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'
15589 # Note: this linker hardcodes the directories in LIBPATH if there
15590 # are no directories specified by -L.
15591 hardcode_minus_L_GCJ=yes
15592 if test "$GCC" = yes && test -z "$link_static_flag"; then
15593 # Neither direct hardcoding nor static linking is supported with a
15595 hardcode_direct_GCJ=unsupported
15600 if test "$host_cpu" = ia64; then
15601 # On IA64, the linker does run time linking by default, so we don't
15602 # have to do anything special.
15603 aix_use_runtimelinking=no
15604 exp_sym_flag='-Bexport'
15607 # If we're using GNU nm, then we don't want the "-C" option.
15608 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15609 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15610 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'
15612 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'
15614 aix_use_runtimelinking=no
15616 # Test if we are trying to use run time linking or normal
15617 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15618 # need to do runtime linking.
15619 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15620 for ld_flag in $LDFLAGS; do
15621 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15622 aix_use_runtimelinking=yes
15628 exp_sym_flag='-bexport'
15629 no_entry_flag='-bnoentry'
15632 # When large executables or shared objects are built, AIX ld can
15633 # have problems creating the table of contents. If linking a library
15634 # or program results in "error TOC overflow" add -mminimal-toc to
15635 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15636 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15638 archive_cmds_GCJ=''
15639 hardcode_direct_GCJ=yes
15640 hardcode_libdir_separator_GCJ=':'
15641 link_all_deplibs_GCJ=yes
15643 if test "$GCC" = yes; then
15644 case $host_os in aix4.012|aix4.012.*)
15645 # We only want to do this on AIX 4.2 and lower, the check
15646 # below for broken collect2 doesn't work under 4.3+
15647 collect2name=`${CC} -print-prog-name=collect2`
15648 if test -f "$collect2name" && \
15649 strings "$collect2name" | grep resolve_lib_name >/dev/null
15651 # We have reworked collect2
15652 hardcode_direct_GCJ=yes
15654 # We have old collect2
15655 hardcode_direct_GCJ=unsupported
15656 # It fails to find uninstalled libraries when the uninstalled
15657 # path is not listed in the libpath. Setting hardcode_minus_L
15658 # to unsupported forces relinking
15659 hardcode_minus_L_GCJ=yes
15660 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15661 hardcode_libdir_separator_GCJ=
15664 shared_flag='-shared'
15667 if test "$host_cpu" = ia64; then
15668 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15669 # chokes on -Wl,-G. The following line is correct:
15672 if test "$aix_use_runtimelinking" = yes; then
15673 shared_flag='${wl}-G'
15675 shared_flag='${wl}-bM:SRE'
15680 # It seems that -bexpall does not export symbols beginning with
15681 # underscore (_), so it is better to generate a list of symbols to export.
15682 always_export_symbols_GCJ=yes
15683 if test "$aix_use_runtimelinking" = yes; then
15684 # Warning - without using the other runtime loading flags (-brtl),
15685 # -berok will link without error, but may produce a broken library.
15686 allow_undefined_flag_GCJ='-berok'
15687 # Determine the default libpath from the value encoded in an empty executable.
15688 cat >conftest.$ac_ext <<_ACEOF
15689 #line $LINENO "configure"
15692 cat confdefs.h >>conftest.$ac_ext
15693 cat >>conftest.$ac_ext <<_ACEOF
15694 /* end confdefs.h. */
15704 rm -f conftest.$ac_objext conftest$ac_exeext
15705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15706 (eval $ac_link) 2>&5
15708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15709 (exit $ac_status); } &&
15710 { ac_try='test -s conftest$ac_exeext'
15711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15712 (eval $ac_try) 2>&5
15714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15715 (exit $ac_status); }; }; then
15717 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15719 # Check for a 64-bit object if we didn't find anything.
15720 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; }
15723 echo "$as_me: failed program was:" >&5
15724 sed 's/^/| /' conftest.$ac_ext >&5
15727 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15728 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15730 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15731 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"
15733 if test "$host_cpu" = ia64; then
15734 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
15735 allow_undefined_flag_GCJ="-z nodefs"
15736 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"
15738 # Determine the default libpath from the value encoded in an empty executable.
15739 cat >conftest.$ac_ext <<_ACEOF
15740 #line $LINENO "configure"
15743 cat confdefs.h >>conftest.$ac_ext
15744 cat >>conftest.$ac_ext <<_ACEOF
15745 /* end confdefs.h. */
15755 rm -f conftest.$ac_objext conftest$ac_exeext
15756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15757 (eval $ac_link) 2>&5
15759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15760 (exit $ac_status); } &&
15761 { ac_try='test -s conftest$ac_exeext'
15762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15763 (eval $ac_try) 2>&5
15765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15766 (exit $ac_status); }; }; then
15768 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15770 # Check for a 64-bit object if we didn't find anything.
15771 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; }
15774 echo "$as_me: failed program was:" >&5
15775 sed 's/^/| /' conftest.$ac_ext >&5
15778 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15779 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15781 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15782 # Warning - without using the other run time loading flags,
15783 # -berok will link without error, but may produce a broken library.
15784 no_undefined_flag_GCJ=' ${wl}-bernotok'
15785 allow_undefined_flag_GCJ=' ${wl}-berok'
15786 # -bexpall does not export symbols beginning with underscore (_)
15787 always_export_symbols_GCJ=yes
15788 # Exported symbols can be pulled into shared objects from archives
15789 whole_archive_flag_spec_GCJ=' '
15790 archive_cmds_need_lc_GCJ=yes
15791 # This is similar to how AIX traditionally builds it's shared libraries.
15792 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'
15798 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)'
15799 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15800 hardcode_minus_L_GCJ=yes
15801 # see comment about different semantics on the GNU ld section
15806 export_dynamic_flag_spec_GCJ=-rdynamic
15809 cygwin* | mingw* | pw32*)
15810 # When not using gcc, we currently assume that we are using
15811 # Microsoft Visual C++.
15812 # hardcode_libdir_flag_spec is actually meaningless, as there is
15813 # no search path for DLLs.
15814 hardcode_libdir_flag_spec_GCJ=' '
15815 allow_undefined_flag_GCJ=unsupported
15816 # Tell ltmain to make .lib files, not .a files.
15818 # Tell ltmain to make .dll files, not .so files.
15820 # FIXME: Setting linknames here is a bad hack.
15821 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15822 # The linker will automatically build a .lib file if we build a DLL.
15823 old_archive_From_new_cmds_GCJ='true'
15824 # FIXME: Should let the user specify the lib program.
15825 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
15826 fix_srcfile_path='`cygpath -w "$srcfile"`'
15827 enable_shared_with_static_runtimes_GCJ=yes
15830 darwin* | rhapsody*)
15831 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
15832 archive_cmds_need_lc_GCJ=no
15834 rhapsody* | darwin1.[012])
15835 allow_undefined_flag_GCJ='-undefined suppress'
15838 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
15841 # FIXME: Relying on posixy $() will cause problems for
15842 # cross-compilation, but unfortunately the echo tests do not
15843 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
15844 # `"' quotes if we put them in here... so don't!
15845 lt_int_apple_cc_single_mod=no
15846 output_verbose_link_cmd='echo'
15847 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
15848 lt_int_apple_cc_single_mod=yes
15850 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15851 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15853 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'
15855 module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
15856 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15857 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15858 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}'
15860 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}'
15862 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}'
15863 hardcode_direct_GCJ=no
15864 hardcode_automatic_GCJ=yes
15865 hardcode_shlibpath_var_GCJ=unsupported
15866 whole_archive_flag_spec_GCJ='-all_load $convenience'
15867 link_all_deplibs_GCJ=yes
15872 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15873 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15874 hardcode_shlibpath_var_GCJ=no
15881 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15882 # support. Future versions do this automatically, but an explicit c++rt0.o
15883 # does not break anything, and helps significantly (at the cost of a little
15886 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15887 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15888 hardcode_direct_GCJ=yes
15889 hardcode_shlibpath_var_GCJ=no
15892 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15894 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15895 hardcode_direct_GCJ=yes
15896 hardcode_minus_L_GCJ=yes
15897 hardcode_shlibpath_var_GCJ=no
15900 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15902 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15903 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15904 hardcode_direct_GCJ=yes
15905 hardcode_shlibpath_var_GCJ=no
15909 if test "$GCC" = yes; then
15910 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'
15912 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'
15914 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15915 hardcode_libdir_separator_GCJ=:
15916 hardcode_direct_GCJ=yes
15918 # hardcode_minus_L: Not really in the search PATH,
15919 # but as the default location of the library.
15920 hardcode_minus_L_GCJ=yes
15921 export_dynamic_flag_spec_GCJ='${wl}-E'
15925 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15926 case "$host_cpu" in
15928 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15931 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15935 case "$host_cpu" in
15937 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15940 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15944 if test "$with_gnu_ld" = no; then
15945 case "$host_cpu" in
15947 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15948 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
15949 hardcode_libdir_separator_GCJ=:
15950 hardcode_direct_GCJ=no
15951 hardcode_shlibpath_var_GCJ=no
15954 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15955 hardcode_direct_GCJ=no
15956 hardcode_shlibpath_var_GCJ=no
15958 # hardcode_minus_L: Not really in the search PATH,
15959 # but as the default location of the library.
15960 hardcode_minus_L_GCJ=yes
15963 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15964 hardcode_libdir_separator_GCJ=:
15965 hardcode_direct_GCJ=yes
15966 export_dynamic_flag_spec_GCJ='${wl}-E'
15968 # hardcode_minus_L: Not really in the search PATH,
15969 # but as the default location of the library.
15970 hardcode_minus_L_GCJ=yes
15976 irix5* | irix6* | nonstopux*)
15977 if test "$GCC" = yes; then
15978 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'
15980 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'
15981 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
15983 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15984 hardcode_libdir_separator_GCJ=:
15985 link_all_deplibs_GCJ=yes
15989 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15990 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15992 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15994 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15995 hardcode_direct_GCJ=yes
15996 hardcode_shlibpath_var_GCJ=no
16000 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16001 hardcode_direct_GCJ=yes
16002 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16003 hardcode_libdir_separator_GCJ=:
16004 hardcode_shlibpath_var_GCJ=no
16008 hardcode_direct_GCJ=yes
16009 hardcode_shlibpath_var_GCJ=no
16010 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16011 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16012 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16013 export_dynamic_flag_spec_GCJ='${wl}-E'
16016 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16017 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16018 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16021 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16022 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16029 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16030 hardcode_minus_L_GCJ=yes
16031 allow_undefined_flag_GCJ=unsupported
16032 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'
16033 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
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}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
16041 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16042 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'
16044 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16045 hardcode_libdir_separator_GCJ=:
16048 osf4* | osf5*) # as osf3* with the addition of -msym flag
16049 if test "$GCC" = yes; then
16050 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16051 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'
16052 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16054 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16055 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'
16056 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~
16057 $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'
16059 # Both c and cxx compiler support -rpath directly
16060 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16062 hardcode_libdir_separator_GCJ=:
16066 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16067 hardcode_shlibpath_var_GCJ=no
16068 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16069 runpath_var=LD_RUN_PATH
16070 hardcode_runpath_var=yes
16074 no_undefined_flag_GCJ=' -z text'
16075 if test "$GCC" = yes; then
16076 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16077 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16078 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16080 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16081 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16082 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16084 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16085 hardcode_shlibpath_var_GCJ=no
16087 solaris2.[0-5] | solaris2.[0-5].*) ;;
16088 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16089 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16091 link_all_deplibs_GCJ=yes
16095 if test "x$host_vendor" = xsequent; then
16096 # Use $CC to link under sequent, because it throws in some extra .o
16097 # files that make .init and .fini sections work.
16098 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16100 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16102 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16103 hardcode_direct_GCJ=yes
16104 hardcode_minus_L_GCJ=yes
16105 hardcode_shlibpath_var_GCJ=no
16109 case $host_vendor in
16111 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16112 hardcode_direct_GCJ=yes # is this really true???
16115 ## LD is ld it makes a PLAMLIB
16116 ## CC just makes a GrossModule.
16117 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16118 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16119 hardcode_direct_GCJ=no
16122 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16123 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16126 runpath_var='LD_RUN_PATH'
16127 hardcode_shlibpath_var_GCJ=no
16131 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16132 hardcode_shlibpath_var_GCJ=no
16133 export_dynamic_flag_spec_GCJ='-Bexport'
16137 if test -d /usr/nec; then
16138 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16139 hardcode_shlibpath_var_GCJ=no
16140 runpath_var=LD_RUN_PATH
16141 hardcode_runpath_var=yes
16147 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16148 hardcode_direct_GCJ=yes
16149 hardcode_minus_L_GCJ=no
16150 hardcode_shlibpath_var_GCJ=no
16151 hardcode_runpath_var=yes
16152 runpath_var=LD_RUN_PATH
16155 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16156 no_undefined_flag_GCJ='${wl}-z ${wl}text'
16157 if test "$GCC" = yes; then
16158 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16160 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16162 runpath_var='LD_RUN_PATH'
16163 hardcode_shlibpath_var_GCJ=no
16167 no_undefined_flag_GCJ=' -z text'
16168 # $CC -shared without GNU ld will not create a library from C++
16169 # object files and a static libstdc++, better avoid it by now
16170 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16171 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16172 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16173 hardcode_libdir_flag_spec_GCJ=
16174 hardcode_shlibpath_var_GCJ=no
16175 runpath_var='LD_RUN_PATH'
16179 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16180 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16181 hardcode_shlibpath_var_GCJ=no
16190 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16191 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16192 test "$ld_shlibs_GCJ" = no && can_build_shared=no
16194 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16195 if test "$GCC" = yes; then
16196 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16200 # Do we need to explicitly link libc?
16202 case "x$archive_cmds_need_lc_GCJ" in
16204 # Assume -lc should be added
16205 archive_cmds_need_lc_GCJ=yes
16207 if test "$enable_shared" = yes && test "$GCC" = yes; then
16208 case $archive_cmds_GCJ in
16210 # FIXME: we may have to deal with multi-command sequences.
16213 # Test whether the compiler implicitly links with -lc since on some
16214 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16215 # to ld, don't add -lc before -lgcc.
16216 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16217 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16219 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16222 (eval $ac_compile) 2>&5
16224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16225 (exit $ac_status); } 2>conftest.err; then
16228 libobjs=conftest.$ac_objext
16230 wl=$lt_prog_compiler_wl_GCJ
16236 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16237 allow_undefined_flag_GCJ=
16238 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16239 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16242 (exit $ac_status); }
16244 archive_cmds_need_lc_GCJ=no
16246 archive_cmds_need_lc_GCJ=yes
16248 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16250 cat conftest.err 1>&5
16253 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16254 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16261 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16262 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16263 hardcode_action_GCJ=
16264 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
16265 test -n "$runpath_var GCJ" || \
16266 test "X$hardcode_automatic_GCJ"="Xyes" ; then
16268 # We can hardcode non-existant directories.
16269 if test "$hardcode_direct_GCJ" != no &&
16270 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16271 # have to relink, otherwise we might link with an installed library
16272 # when we should be linking with a yet-to-be-installed one
16273 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
16274 test "$hardcode_minus_L_GCJ" != no; then
16275 # Linking always hardcodes the temporary library directory.
16276 hardcode_action_GCJ=relink
16278 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16279 hardcode_action_GCJ=immediate
16282 # We cannot hardcode anything, or else we can only hardcode existing
16284 hardcode_action_GCJ=unsupported
16286 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
16287 echo "${ECHO_T}$hardcode_action_GCJ" >&6
16289 if test "$hardcode_action_GCJ" = relink; then
16290 # Fast installation is not supported
16291 enable_fast_install=no
16292 elif test "$shlibpath_overrides_runpath" = yes ||
16293 test "$enable_shared" = no; then
16294 # Fast installation is not necessary
16295 enable_fast_install=needless
16300 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16301 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16302 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16303 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16304 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16305 echo "$as_me:$LINENO: result: yes" >&5
16306 echo "${ECHO_T}yes" >&6
16308 # FIXME - insert some real tests, host_os isn't really good enough
16311 if test -n "$STRIP" ; then
16312 striplib="$STRIP -x"
16313 echo "$as_me:$LINENO: result: yes" >&5
16314 echo "${ECHO_T}yes" >&6
16316 echo "$as_me:$LINENO: result: no" >&5
16317 echo "${ECHO_T}no" >&6
16321 echo "$as_me:$LINENO: result: no" >&5
16322 echo "${ECHO_T}no" >&6
16327 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16328 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16329 library_names_spec=
16330 libname_spec='lib$name'
16334 postuninstall_cmds=
16338 shlibpath_overrides_runpath=unknown
16340 dynamic_linker="$host_os ld.so"
16341 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16342 if test "$GCC" = yes; then
16343 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16344 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16345 # if the path contains ";" then we assume it to be the separator
16346 # otherwise default to the standard path separator (i.e. ":") - it is
16347 # assumed that no part of a normal pathname contains ";" but that should
16348 # okay in the real world where ";" in dirpaths is itself problematic.
16349 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16351 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16354 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16356 need_lib_prefix=unknown
16357 hardcode_into_libs=no
16359 # when you set need_version to no, make sure it does not cause -set_version
16360 # flags to be left without arguments
16361 need_version=unknown
16366 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16367 shlibpath_var=LIBPATH
16369 # AIX 3 has no versioning support, so we append a major version to the name.
16370 soname_spec='${libname}${release}${shared_ext}$major'
16377 hardcode_into_libs=yes
16378 if test "$host_cpu" = ia64; then
16379 # AIX 5 supports IA64
16380 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16381 shlibpath_var=LD_LIBRARY_PATH
16383 # With GCC up to 2.95.x, collect2 would create an import file
16384 # for dependence libraries. The import file would start with
16385 # the line `#! .'. This would cause the generated library to
16386 # depend on `.', always an invalid library. This was fixed in
16387 # development snapshots of GCC prior to 3.0.
16389 aix4 | aix4.[01] | aix4.[01].*)
16390 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16392 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16395 can_build_shared=no
16399 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16400 # soname into executable. Probably we can add versioning support to
16401 # collect2, so additional links can be useful in future.
16402 if test "$aix_use_runtimelinking" = yes; then
16403 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16404 # instead of lib<name>.a to let people know that these are not
16405 # typical AIX shared libraries.
16406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16408 # We preserve .a as extension for shared libraries through AIX4.2
16409 # and later when we are not doing run time linking.
16410 library_names_spec='${libname}${release}.a $libname.a'
16411 soname_spec='${libname}${release}${shared_ext}$major'
16413 shlibpath_var=LIBPATH
16418 library_names_spec='$libname.ixlibrary $libname.a'
16419 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16420 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'
16424 library_names_spec='${libname}${shared_ext}'
16425 dynamic_linker="$host_os ld.so"
16426 shlibpath_var=LIBRARY_PATH
16432 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16433 soname_spec='${libname}${release}${shared_ext}$major'
16434 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16435 shlibpath_var=LD_LIBRARY_PATH
16436 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16437 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16438 # the default ld.so.conf also contains /usr/contrib/lib and
16439 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16440 # libtool to hard-code these into programs
16443 cygwin* | mingw* | pw32*)
16444 version_type=windows
16449 case $GCC,$host_os in
16450 yes,cygwin* | yes,mingw* | yes,pw32*)
16451 library_names_spec='$libname.dll.a'
16452 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16453 postinstall_cmds='base_file=`basename \${file}`~
16454 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16455 dldir=$destdir/`dirname \$dlpath`~
16456 test -d \$dldir || mkdir -p \$dldir~
16457 $install_prog $dir/$dlname \$dldir/$dlname'
16458 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16459 dlpath=$dir/\$dldll~
16461 shlibpath_overrides_runpath=yes
16465 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16466 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16467 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
16470 # MinGW DLLs use traditional 'lib' prefix
16471 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16472 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16473 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16474 # It is most probably a Windows format PATH printed by
16475 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16476 # path with ; separators, and with drive letters. We can handle the
16477 # drive letters (cygwin fileutils understands them), so leave them,
16478 # especially as we might pass files found there to a mingw objdump,
16479 # which wouldn't understand a cygwinified path. Ahh.
16480 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16482 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16486 # pw32 DLLs use 'pw' prefix rather than 'lib'
16487 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16493 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16496 dynamic_linker='Win32 ld.exe'
16497 # FIXME: first we should search . and the directory the executable is in
16501 darwin* | rhapsody*)
16502 dynamic_linker="$host_os dyld"
16503 version_type=darwin
16506 # FIXME: Relying on posixy $() will cause problems for
16507 # cross-compilation, but unfortunately the echo tests do not
16508 # yet detect zsh echo's removal of \ escapes.
16509 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16510 soname_spec='${libname}${release}${major}$shared_ext'
16511 shlibpath_overrides_runpath=yes
16512 shlibpath_var=DYLD_LIBRARY_PATH
16513 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
16514 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16515 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
16516 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"`
16518 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16526 soname_spec='${libname}${release}${shared_ext}$major'
16527 shlibpath_var=LD_LIBRARY_PATH
16535 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16536 version_type=freebsd-$objformat
16537 case $version_type in
16539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16544 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16548 shlibpath_var=LD_LIBRARY_PATH
16551 shlibpath_overrides_runpath=yes
16553 freebsd3.01* | freebsdelf3.01*)
16554 shlibpath_overrides_runpath=yes
16555 hardcode_into_libs=yes
16558 shlibpath_overrides_runpath=no
16559 hardcode_into_libs=yes
16568 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16569 soname_spec='${libname}${release}${shared_ext}$major'
16570 shlibpath_var=LD_LIBRARY_PATH
16571 hardcode_into_libs=yes
16574 hpux9* | hpux10* | hpux11*)
16575 # Give a soname corresponding to the major version so that dld.sl refuses to
16576 # link against other versions.
16580 case "$host_cpu" in
16583 hardcode_into_libs=yes
16584 dynamic_linker="$host_os dld.so"
16585 shlibpath_var=LD_LIBRARY_PATH
16586 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16588 soname_spec='${libname}${release}${shared_ext}$major'
16589 if test "X$HPUX_IA64_MODE" = X32; then
16590 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16592 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16594 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16598 hardcode_into_libs=yes
16599 dynamic_linker="$host_os dld.sl"
16600 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16601 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16602 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16603 soname_spec='${libname}${release}${shared_ext}$major'
16604 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16605 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16609 dynamic_linker="$host_os dld.sl"
16610 shlibpath_var=SHLIB_PATH
16611 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16612 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16613 soname_spec='${libname}${release}${shared_ext}$major'
16616 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16617 postinstall_cmds='chmod 555 $lib'
16620 irix5* | irix6* | nonstopux*)
16622 nonstopux*) version_type=nonstopux ;;
16624 if test "$lt_cv_prog_gnu_ld" = yes; then
16632 soname_spec='${libname}${release}${shared_ext}$major'
16633 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16635 irix5* | nonstopux*)
16636 libsuff= shlibsuff=
16639 case $LD in # libtool.m4 will add one of these switches to LD
16640 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16641 libsuff= shlibsuff= libmagic=32-bit;;
16642 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16643 libsuff=32 shlibsuff=N32 libmagic=N32;;
16644 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16645 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16646 *) libsuff= shlibsuff= libmagic=never-match;;
16650 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16651 shlibpath_overrides_runpath=no
16652 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16653 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16654 hardcode_into_libs=yes
16657 # No shared lib support for Linux oldld, aout, or coff.
16658 linux*oldld* | linux*aout* | linux*coff*)
16662 # This must be Linux ELF.
16667 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16668 soname_spec='${libname}${release}${shared_ext}$major'
16669 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16670 shlibpath_var=LD_LIBRARY_PATH
16671 shlibpath_overrides_runpath=no
16672 # This implies no fast_install, which is unacceptable.
16673 # Some rework will be needed to allow for fast_install
16674 # before this can be enabled.
16675 hardcode_into_libs=yes
16677 # We used to test for /lib/ld.so.1 and disable shared libraries on
16678 # powerpc, because MkLinux only supported shared libraries with the
16679 # GNU dynamic linker. Since this was broken with cross compilers,
16680 # most powerpc-linux boxes support dynamic linking these days and
16681 # people can always --disable-shared, the test was removed, and we
16682 # assume the GNU/Linux dynamic linker is in use.
16683 dynamic_linker='GNU/Linux ld.so'
16690 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16691 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16692 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16693 dynamic_linker='NetBSD (a.out) ld.so'
16695 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16696 soname_spec='${libname}${release}${shared_ext}$major'
16697 dynamic_linker='NetBSD ld.elf_so'
16699 shlibpath_var=LD_LIBRARY_PATH
16700 shlibpath_overrides_runpath=yes
16701 hardcode_into_libs=yes
16706 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16707 shlibpath_var=LD_LIBRARY_PATH
16708 shlibpath_overrides_runpath=yes
16715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16716 soname_spec='${libname}${release}${shared_ext}$major'
16717 shlibpath_var=LD_LIBRARY_PATH
16718 shlibpath_overrides_runpath=yes
16725 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16726 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16727 shlibpath_var=LD_LIBRARY_PATH
16728 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16730 openbsd2.[89] | openbsd2.[89].*)
16731 shlibpath_overrides_runpath=no
16734 shlibpath_overrides_runpath=yes
16738 shlibpath_overrides_runpath=yes
16743 libname_spec='$name'
16746 library_names_spec='$libname${shared_ext} $libname.a'
16747 dynamic_linker='OS/2 ld.exe'
16748 shlibpath_var=LIBPATH
16751 osf3* | osf4* | osf5*)
16755 soname_spec='${libname}${release}${shared_ext}$major'
16756 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16757 shlibpath_var=LD_LIBRARY_PATH
16758 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16759 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16764 soname_spec='${libname}${release}${shared_ext}$major'
16765 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16766 shlibpath_var=LD_LIBRARY_PATH
16773 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16774 soname_spec='${libname}${release}${shared_ext}$major'
16775 shlibpath_var=LD_LIBRARY_PATH
16776 shlibpath_overrides_runpath=yes
16777 hardcode_into_libs=yes
16778 # ldd complains unless libraries are executable
16779 postinstall_cmds='chmod +x $lib'
16784 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16785 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16786 shlibpath_var=LD_LIBRARY_PATH
16787 shlibpath_overrides_runpath=yes
16788 if test "$with_gnu_ld" = yes; then
16794 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16796 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16797 soname_spec='${libname}${release}${shared_ext}$major'
16798 shlibpath_var=LD_LIBRARY_PATH
16799 case $host_vendor in
16801 shlibpath_overrides_runpath=no
16803 export_dynamic_flag_spec='${wl}-Blargedynsym'
16804 runpath_var=LD_RUN_PATH
16812 shlibpath_overrides_runpath=no
16813 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16819 if test -d /usr/nec ;then
16821 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16822 soname_spec='$libname${shared_ext}.$major'
16823 shlibpath_var=LD_LIBRARY_PATH
16829 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16830 soname_spec='${libname}${release}${shared_ext}$major'
16831 shlibpath_var=LD_LIBRARY_PATH
16838 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16839 echo "${ECHO_T}$dynamic_linker" >&6
16840 test "$dynamic_linker" = no && can_build_shared=no
16842 if test "x$enable_dlopen" != xyes; then
16843 enable_dlopen=unknown
16844 enable_dlopen_self=unknown
16845 enable_dlopen_self_static=unknown
16852 lt_cv_dlopen="load_add_on"
16854 lt_cv_dlopen_self=yes
16858 lt_cv_dlopen="LoadLibrary"
16863 lt_cv_dlopen="dlopen"
16868 # if libdl is installed we need to link against it
16869 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16870 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16871 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16872 echo $ECHO_N "(cached) $ECHO_C" >&6
16874 ac_check_lib_save_LIBS=$LIBS
16876 cat >conftest.$ac_ext <<_ACEOF
16877 #line $LINENO "configure"
16880 cat confdefs.h >>conftest.$ac_ext
16881 cat >>conftest.$ac_ext <<_ACEOF
16882 /* end confdefs.h. */
16884 /* Override any gcc2 internal prototype to avoid an error. */
16888 /* We use char because int might match the return type of a gcc2
16889 builtin and then its argument prototype would still apply. */
16899 rm -f conftest.$ac_objext conftest$ac_exeext
16900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16901 (eval $ac_link) 2>&5
16903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16904 (exit $ac_status); } &&
16905 { ac_try='test -s conftest$ac_exeext'
16906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16907 (eval $ac_try) 2>&5
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); }; }; then
16911 ac_cv_lib_dl_dlopen=yes
16913 echo "$as_me: failed program was:" >&5
16914 sed 's/^/| /' conftest.$ac_ext >&5
16916 ac_cv_lib_dl_dlopen=no
16918 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16919 LIBS=$ac_check_lib_save_LIBS
16921 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16922 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16923 if test $ac_cv_lib_dl_dlopen = yes; then
16924 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16927 lt_cv_dlopen="dyld"
16929 lt_cv_dlopen_self=yes
16936 echo "$as_me:$LINENO: checking for shl_load" >&5
16937 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
16938 if test "${ac_cv_func_shl_load+set}" = set; then
16939 echo $ECHO_N "(cached) $ECHO_C" >&6
16941 cat >conftest.$ac_ext <<_ACEOF
16942 #line $LINENO "configure"
16945 cat confdefs.h >>conftest.$ac_ext
16946 cat >>conftest.$ac_ext <<_ACEOF
16947 /* end confdefs.h. */
16948 /* System header to define __stub macros and hopefully few prototypes,
16949 which can conflict with char shl_load (); below.
16950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16951 <limits.h> exists even on freestanding compilers. */
16953 # include <limits.h>
16955 # include <assert.h>
16957 /* Override any gcc2 internal prototype to avoid an error. */
16962 /* We use char because int might match the return type of a gcc2
16963 builtin and then its argument prototype would still apply. */
16965 /* The GNU C library defines this for functions which it implements
16966 to always fail with ENOSYS. Some functions are actually named
16967 something starting with __ and the normal name is an alias. */
16968 #if defined (__stub_shl_load) || defined (__stub___shl_load)
16971 char (*f) () = shl_load;
16980 return f != shl_load;
16985 rm -f conftest.$ac_objext conftest$ac_exeext
16986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16987 (eval $ac_link) 2>&5
16989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16990 (exit $ac_status); } &&
16991 { ac_try='test -s conftest$ac_exeext'
16992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16993 (eval $ac_try) 2>&5
16995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16996 (exit $ac_status); }; }; then
16997 ac_cv_func_shl_load=yes
16999 echo "$as_me: failed program was:" >&5
17000 sed 's/^/| /' conftest.$ac_ext >&5
17002 ac_cv_func_shl_load=no
17004 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17006 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17007 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17008 if test $ac_cv_func_shl_load = yes; then
17009 lt_cv_dlopen="shl_load"
17011 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17012 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17013 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17014 echo $ECHO_N "(cached) $ECHO_C" >&6
17016 ac_check_lib_save_LIBS=$LIBS
17018 cat >conftest.$ac_ext <<_ACEOF
17019 #line $LINENO "configure"
17022 cat confdefs.h >>conftest.$ac_ext
17023 cat >>conftest.$ac_ext <<_ACEOF
17024 /* end confdefs.h. */
17026 /* Override any gcc2 internal prototype to avoid an error. */
17030 /* We use char because int might match the return type of a gcc2
17031 builtin and then its argument prototype would still apply. */
17041 rm -f conftest.$ac_objext conftest$ac_exeext
17042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17043 (eval $ac_link) 2>&5
17045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17046 (exit $ac_status); } &&
17047 { ac_try='test -s conftest$ac_exeext'
17048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17049 (eval $ac_try) 2>&5
17051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17052 (exit $ac_status); }; }; then
17053 ac_cv_lib_dld_shl_load=yes
17055 echo "$as_me: failed program was:" >&5
17056 sed 's/^/| /' conftest.$ac_ext >&5
17058 ac_cv_lib_dld_shl_load=no
17060 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17061 LIBS=$ac_check_lib_save_LIBS
17063 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17064 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17065 if test $ac_cv_lib_dld_shl_load = yes; then
17066 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17068 echo "$as_me:$LINENO: checking for dlopen" >&5
17069 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17070 if test "${ac_cv_func_dlopen+set}" = set; then
17071 echo $ECHO_N "(cached) $ECHO_C" >&6
17073 cat >conftest.$ac_ext <<_ACEOF
17074 #line $LINENO "configure"
17077 cat confdefs.h >>conftest.$ac_ext
17078 cat >>conftest.$ac_ext <<_ACEOF
17079 /* end confdefs.h. */
17080 /* System header to define __stub macros and hopefully few prototypes,
17081 which can conflict with char dlopen (); below.
17082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17083 <limits.h> exists even on freestanding compilers. */
17085 # include <limits.h>
17087 # include <assert.h>
17089 /* Override any gcc2 internal prototype to avoid an error. */
17094 /* We use char because int might match the return type of a gcc2
17095 builtin and then its argument prototype would still apply. */
17097 /* The GNU C library defines this for functions which it implements
17098 to always fail with ENOSYS. Some functions are actually named
17099 something starting with __ and the normal name is an alias. */
17100 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17103 char (*f) () = dlopen;
17112 return f != dlopen;
17117 rm -f conftest.$ac_objext conftest$ac_exeext
17118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17119 (eval $ac_link) 2>&5
17121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17122 (exit $ac_status); } &&
17123 { ac_try='test -s conftest$ac_exeext'
17124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17125 (eval $ac_try) 2>&5
17127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17128 (exit $ac_status); }; }; then
17129 ac_cv_func_dlopen=yes
17131 echo "$as_me: failed program was:" >&5
17132 sed 's/^/| /' conftest.$ac_ext >&5
17134 ac_cv_func_dlopen=no
17136 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17138 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17139 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17140 if test $ac_cv_func_dlopen = yes; then
17141 lt_cv_dlopen="dlopen"
17143 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17144 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17145 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17146 echo $ECHO_N "(cached) $ECHO_C" >&6
17148 ac_check_lib_save_LIBS=$LIBS
17150 cat >conftest.$ac_ext <<_ACEOF
17151 #line $LINENO "configure"
17154 cat confdefs.h >>conftest.$ac_ext
17155 cat >>conftest.$ac_ext <<_ACEOF
17156 /* end confdefs.h. */
17158 /* Override any gcc2 internal prototype to avoid an error. */
17162 /* We use char because int might match the return type of a gcc2
17163 builtin and then its argument prototype would still apply. */
17173 rm -f conftest.$ac_objext conftest$ac_exeext
17174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17175 (eval $ac_link) 2>&5
17177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17178 (exit $ac_status); } &&
17179 { ac_try='test -s conftest$ac_exeext'
17180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17181 (eval $ac_try) 2>&5
17183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17184 (exit $ac_status); }; }; then
17185 ac_cv_lib_dl_dlopen=yes
17187 echo "$as_me: failed program was:" >&5
17188 sed 's/^/| /' conftest.$ac_ext >&5
17190 ac_cv_lib_dl_dlopen=no
17192 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17193 LIBS=$ac_check_lib_save_LIBS
17195 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17196 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17197 if test $ac_cv_lib_dl_dlopen = yes; then
17198 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17200 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17201 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17202 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17203 echo $ECHO_N "(cached) $ECHO_C" >&6
17205 ac_check_lib_save_LIBS=$LIBS
17206 LIBS="-lsvld $LIBS"
17207 cat >conftest.$ac_ext <<_ACEOF
17208 #line $LINENO "configure"
17211 cat confdefs.h >>conftest.$ac_ext
17212 cat >>conftest.$ac_ext <<_ACEOF
17213 /* end confdefs.h. */
17215 /* Override any gcc2 internal prototype to avoid an error. */
17219 /* We use char because int might match the return type of a gcc2
17220 builtin and then its argument prototype would still apply. */
17230 rm -f conftest.$ac_objext conftest$ac_exeext
17231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17232 (eval $ac_link) 2>&5
17234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17235 (exit $ac_status); } &&
17236 { ac_try='test -s conftest$ac_exeext'
17237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17238 (eval $ac_try) 2>&5
17240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17241 (exit $ac_status); }; }; then
17242 ac_cv_lib_svld_dlopen=yes
17244 echo "$as_me: failed program was:" >&5
17245 sed 's/^/| /' conftest.$ac_ext >&5
17247 ac_cv_lib_svld_dlopen=no
17249 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17250 LIBS=$ac_check_lib_save_LIBS
17252 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17253 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17254 if test $ac_cv_lib_svld_dlopen = yes; then
17255 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17257 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17258 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17259 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17260 echo $ECHO_N "(cached) $ECHO_C" >&6
17262 ac_check_lib_save_LIBS=$LIBS
17264 cat >conftest.$ac_ext <<_ACEOF
17265 #line $LINENO "configure"
17268 cat confdefs.h >>conftest.$ac_ext
17269 cat >>conftest.$ac_ext <<_ACEOF
17270 /* end confdefs.h. */
17272 /* Override any gcc2 internal prototype to avoid an error. */
17276 /* We use char because int might match the return type of a gcc2
17277 builtin and then its argument prototype would still apply. */
17287 rm -f conftest.$ac_objext conftest$ac_exeext
17288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17289 (eval $ac_link) 2>&5
17291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17292 (exit $ac_status); } &&
17293 { ac_try='test -s conftest$ac_exeext'
17294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17295 (eval $ac_try) 2>&5
17297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17298 (exit $ac_status); }; }; then
17299 ac_cv_lib_dld_dld_link=yes
17301 echo "$as_me: failed program was:" >&5
17302 sed 's/^/| /' conftest.$ac_ext >&5
17304 ac_cv_lib_dld_dld_link=no
17306 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17307 LIBS=$ac_check_lib_save_LIBS
17309 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17310 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17311 if test $ac_cv_lib_dld_dld_link = yes; then
17312 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17333 if test "x$lt_cv_dlopen" != xno; then
17339 case $lt_cv_dlopen in
17341 save_CPPFLAGS="$CPPFLAGS"
17342 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17344 save_LDFLAGS="$LDFLAGS"
17345 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17348 LIBS="$lt_cv_dlopen_libs $LIBS"
17350 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17351 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17352 if test "${lt_cv_dlopen_self+set}" = set; then
17353 echo $ECHO_N "(cached) $ECHO_C" >&6
17355 if test "$cross_compiling" = yes; then :
17356 lt_cv_dlopen_self=cross
17358 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17359 lt_status=$lt_dlunknown
17360 cat > conftest.$ac_ext <<EOF
17361 #line 17361 "configure"
17362 #include "confdefs.h"
17371 # define LT_DLGLOBAL RTLD_GLOBAL
17374 # define LT_DLGLOBAL DL_GLOBAL
17376 # define LT_DLGLOBAL 0
17380 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17381 find out it does not work in some platform. */
17382 #ifndef LT_DLLAZY_OR_NOW
17384 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17387 # define LT_DLLAZY_OR_NOW DL_LAZY
17390 # define LT_DLLAZY_OR_NOW RTLD_NOW
17393 # define LT_DLLAZY_OR_NOW DL_NOW
17395 # define LT_DLLAZY_OR_NOW 0
17403 extern "C" void exit (int);
17406 void fnord() { int i=42;}
17409 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17410 int status = $lt_dlunknown;
17414 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17415 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17416 /* dlclose (self); */
17422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17423 (eval $ac_link) 2>&5
17425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17426 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17427 (./conftest; exit; ) 2>/dev/null
17429 case x$lt_status in
17430 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17431 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17432 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
17435 # compilation failed
17436 lt_cv_dlopen_self=no
17443 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17444 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17446 if test "x$lt_cv_dlopen_self" = xyes; then
17447 LDFLAGS="$LDFLAGS $link_static_flag"
17448 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17449 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17450 if test "${lt_cv_dlopen_self_static+set}" = set; then
17451 echo $ECHO_N "(cached) $ECHO_C" >&6
17453 if test "$cross_compiling" = yes; then :
17454 lt_cv_dlopen_self_static=cross
17456 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17457 lt_status=$lt_dlunknown
17458 cat > conftest.$ac_ext <<EOF
17459 #line 17459 "configure"
17460 #include "confdefs.h"
17469 # define LT_DLGLOBAL RTLD_GLOBAL
17472 # define LT_DLGLOBAL DL_GLOBAL
17474 # define LT_DLGLOBAL 0
17478 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17479 find out it does not work in some platform. */
17480 #ifndef LT_DLLAZY_OR_NOW
17482 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17485 # define LT_DLLAZY_OR_NOW DL_LAZY
17488 # define LT_DLLAZY_OR_NOW RTLD_NOW
17491 # define LT_DLLAZY_OR_NOW DL_NOW
17493 # define LT_DLLAZY_OR_NOW 0
17501 extern "C" void exit (int);
17504 void fnord() { int i=42;}
17507 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17508 int status = $lt_dlunknown;
17512 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17513 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17514 /* dlclose (self); */
17520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17521 (eval $ac_link) 2>&5
17523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17524 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17525 (./conftest; exit; ) 2>/dev/null
17527 case x$lt_status in
17528 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17529 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17530 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
17533 # compilation failed
17534 lt_cv_dlopen_self_static=no
17541 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17542 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17545 CPPFLAGS="$save_CPPFLAGS"
17546 LDFLAGS="$save_LDFLAGS"
17551 case $lt_cv_dlopen_self in
17552 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17553 *) enable_dlopen_self=unknown ;;
17556 case $lt_cv_dlopen_self_static in
17557 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17558 *) enable_dlopen_self_static=unknown ;;
17563 # The else clause should only fire when bootstrapping the
17564 # libtool distribution, otherwise you forgot to ship ltmain.sh
17565 # with your package, and you will get complaints that there are
17566 # no rules to generate ltmain.sh.
17567 if test -f "$ltmain"; then
17568 # See if we are running on zsh, and set the options which allow our commands through
17569 # without removal of \ escapes.
17570 if test -n "${ZSH_VERSION+set}" ; then
17571 setopt NO_GLOB_SUBST
17573 # Now quote all the things that may contain metacharacters while being
17574 # careful not to overquote the AC_SUBSTed values. We take copies of the
17575 # variables and quote the copies for generation of the libtool script.
17576 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17577 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17578 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17579 deplibs_check_method reload_flag reload_cmds need_locks \
17580 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17581 lt_cv_sys_global_symbol_to_c_name_address \
17582 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17583 old_postinstall_cmds old_postuninstall_cmds \
17587 lt_prog_compiler_wl_GCJ \
17588 lt_prog_compiler_pic_GCJ \
17589 lt_prog_compiler_static_GCJ \
17590 lt_prog_compiler_no_builtin_flag_GCJ \
17591 export_dynamic_flag_spec_GCJ \
17592 thread_safe_flag_spec_GCJ \
17593 whole_archive_flag_spec_GCJ \
17594 enable_shared_with_static_runtimes_GCJ \
17595 old_archive_cmds_GCJ \
17596 old_archive_from_new_cmds_GCJ \
17597 predep_objects_GCJ \
17598 postdep_objects_GCJ \
17601 compiler_lib_search_path_GCJ \
17603 archive_expsym_cmds_GCJ \
17604 postinstall_cmds_GCJ \
17605 postuninstall_cmds_GCJ \
17606 old_archive_from_expsyms_cmds_GCJ \
17607 allow_undefined_flag_GCJ \
17608 no_undefined_flag_GCJ \
17609 export_symbols_cmds_GCJ \
17610 hardcode_libdir_flag_spec_GCJ \
17611 hardcode_libdir_flag_spec_ld_GCJ \
17612 hardcode_libdir_separator_GCJ \
17613 hardcode_automatic_GCJ \
17615 module_expsym_cmds_GCJ \
17616 lt_cv_prog_compiler_c_o_GCJ \
17617 exclude_expsyms_GCJ \
17618 include_expsyms_GCJ; do
17621 old_archive_cmds_GCJ | \
17622 old_archive_from_new_cmds_GCJ | \
17623 archive_cmds_GCJ | \
17624 archive_expsym_cmds_GCJ | \
17625 module_cmds_GCJ | \
17626 module_expsym_cmds_GCJ | \
17627 old_archive_from_expsyms_cmds_GCJ | \
17628 export_symbols_cmds_GCJ | \
17629 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17630 postinstall_cmds | postuninstall_cmds | \
17631 old_postinstall_cmds | old_postuninstall_cmds | \
17632 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17633 # Double-quote double-evaled strings.
17634 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17637 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17643 *'\$0 --fallback-echo"')
17644 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17650 cat <<__EOF__ >> "$cfgfile"
17651 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17653 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17655 # Shell to use when invoking shell scripts.
17658 # Whether or not to build shared libraries.
17659 build_libtool_libs=$enable_shared
17661 # Whether or not to build static libraries.
17662 build_old_libs=$enable_static
17664 # Whether or not to add -lc for building shared libraries.
17665 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17667 # Whether or not to disallow shared libs when runtime libs are static
17668 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17670 # Whether or not to optimize for fast installation.
17671 fast_install=$enable_fast_install
17674 host_alias=$host_alias
17677 # An echo program that does not interpret backslashes.
17682 AR_FLAGS=$lt_AR_FLAGS
17687 # A language-specific compiler.
17688 CC=$lt_compiler_GCJ
17690 # Is the compiler the GNU C compiler?
17696 # The linker used to build libraries.
17699 # Whether we need hard or soft links.
17702 # A BSD-compatible nm program.
17705 # A symbol stripping program
17708 # Used to examine libraries when file_magic_cmd begins "file"
17709 MAGIC_CMD=$MAGIC_CMD
17711 # Used on cygwin: DLL creation program.
17714 # Used on cygwin: object dumper.
17717 # Used on cygwin: assembler.
17720 # The name of the directory that contains temporary libtool files.
17723 # How to create reloadable object files.
17724 reload_flag=$lt_reload_flag
17725 reload_cmds=$lt_reload_cmds
17727 # How to pass a linker flag through the compiler.
17728 wl=$lt_lt_prog_compiler_wl_GCJ
17730 # Object file suffix (normally "o").
17731 objext="$ac_objext"
17733 # Old archive suffix (normally "a").
17736 # Shared library suffix (normally ".so").
17739 # Executable file suffix (normally "").
17742 # Additional compiler flags for building library objects.
17743 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17746 # What is the maximum length of a command?
17747 max_cmd_len=$lt_cv_sys_max_cmd_len
17749 # Does compiler simultaneously support -c and -o options?
17750 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17752 # Must we lock files when doing compilation ?
17753 need_locks=$lt_need_locks
17755 # Do we need the lib prefix for modules?
17756 need_lib_prefix=$need_lib_prefix
17758 # Do we need a version for libraries?
17759 need_version=$need_version
17761 # Whether dlopen is supported.
17762 dlopen_support=$enable_dlopen
17764 # Whether dlopen of programs is supported.
17765 dlopen_self=$enable_dlopen_self
17767 # Whether dlopen of statically linked programs is supported.
17768 dlopen_self_static=$enable_dlopen_self_static
17770 # Compiler flag to prevent dynamic linking.
17771 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17773 # Compiler flag to turn off builtin functions.
17774 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17776 # Compiler flag to allow reflexive dlopens.
17777 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17779 # Compiler flag to generate shared objects directly from archives.
17780 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17782 # Compiler flag to generate thread-safe objects.
17783 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17785 # Library versioning type.
17786 version_type=$version_type
17788 # Format of library name prefix.
17789 libname_spec=$lt_libname_spec
17791 # List of archive names. First name is the real one, the rest are links.
17792 # The last name is the one that the linker finds with -lNAME.
17793 library_names_spec=$lt_library_names_spec
17795 # The coded name of the library, if different from the real name.
17796 soname_spec=$lt_soname_spec
17798 # Commands used to build and install an old-style archive.
17800 old_archive_cmds=$lt_old_archive_cmds_GCJ
17801 old_postinstall_cmds=$lt_old_postinstall_cmds
17802 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17804 # Create an old-style archive from a shared archive.
17805 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17807 # Create a temporary old-style archive to link instead of a shared archive.
17808 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17810 # Commands used to build and install a shared archive.
17811 archive_cmds=$lt_archive_cmds_GCJ
17812 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17813 postinstall_cmds=$lt_postinstall_cmds
17814 postuninstall_cmds=$lt_postuninstall_cmds
17816 # Commands used to build a loadable module (assumed same as above if empty)
17817 module_cmds=$lt_module_cmds_GCJ
17818 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17820 # Commands to strip libraries.
17821 old_striplib=$lt_old_striplib
17822 striplib=$lt_striplib
17824 # Dependencies to place before the objects being linked to create a
17826 predep_objects=$lt_predep_objects_GCJ
17828 # Dependencies to place after the objects being linked to create a
17830 postdep_objects=$lt_postdep_objects_GCJ
17832 # Dependencies to place before the objects being linked to create a
17834 predeps=$lt_predeps_GCJ
17836 # Dependencies to place after the objects being linked to create a
17838 postdeps=$lt_postdeps_GCJ
17840 # The library search path used internally by the compiler when linking
17841 # a shared library.
17842 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17844 # Method to check whether dependent libraries are shared objects.
17845 deplibs_check_method=$lt_deplibs_check_method
17847 # Command to use when deplibs_check_method == file_magic.
17848 file_magic_cmd=$lt_file_magic_cmd
17850 # Flag that allows shared libraries with undefined symbols to be built.
17851 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17853 # Flag that forces no undefined symbols.
17854 no_undefined_flag=$lt_no_undefined_flag_GCJ
17856 # Commands used to finish a libtool library installation in a directory.
17857 finish_cmds=$lt_finish_cmds
17859 # Same as above, but a single script fragment to be evaled but not shown.
17860 finish_eval=$lt_finish_eval
17862 # Take the output of nm and produce a listing of raw symbols and C names.
17863 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17865 # Transform the output of nm in a proper C declaration
17866 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17868 # Transform the output of nm in a C name address pair
17869 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17871 # This is the shared library runtime path variable.
17872 runpath_var=$runpath_var
17874 # This is the shared library path variable.
17875 shlibpath_var=$shlibpath_var
17877 # Is shlibpath searched before the hard-coded library search path?
17878 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17880 # How to hardcode a shared library path into an executable.
17881 hardcode_action=$hardcode_action_GCJ
17883 # Whether we should hardcode library paths into libraries.
17884 hardcode_into_libs=$hardcode_into_libs
17886 # Flag to hardcode \$libdir into a binary during linking.
17887 # This must work even if \$libdir does not exist.
17888 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17890 # If ld is used when linking, flag to hardcode \$libdir into
17891 # a binary during linking. This must work even if \$libdir does
17893 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17895 # Whether we need a single -rpath flag with a separated argument.
17896 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17898 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17899 # resulting binary.
17900 hardcode_direct=$hardcode_direct_GCJ
17902 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17903 # resulting binary.
17904 hardcode_minus_L=$hardcode_minus_L_GCJ
17906 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17907 # the resulting binary.
17908 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17910 # Set to yes if building a shared library automatically hardcodes DIR into the library
17911 # and all subsequent libraries and executables linked against it.
17912 hardcode_automatic=$hardcode_automatic_GCJ
17914 # Variables whose values should be saved in libtool wrapper scripts and
17915 # restored at relink time.
17916 variables_saved_for_relink="$variables_saved_for_relink"
17918 # Whether libtool must link a program against all its dependency libraries.
17919 link_all_deplibs=$link_all_deplibs_GCJ
17921 # Compile-time system search path for libraries
17922 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17924 # Run-time system search path for libraries
17925 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17927 # Fix the shell variable \$srcfile for the compiler.
17928 fix_srcfile_path="$fix_srcfile_path_GCJ"
17930 # Set to yes if exported symbols are required.
17931 always_export_symbols=$always_export_symbols_GCJ
17933 # The commands to list exported symbols.
17934 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17936 # The commands to extract the exported symbol list from a shared archive.
17937 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17939 # Symbols that should not be listed in the preloaded symbols.
17940 exclude_expsyms=$lt_exclude_expsyms_GCJ
17942 # Symbols that must always be exported.
17943 include_expsyms=$lt_include_expsyms_GCJ
17945 # ### END LIBTOOL TAG CONFIG: $tagname
17951 # If there is no Makefile yet, we rely on a make rule to execute
17952 # `config.status --recheck' to rerun these tests and create the
17953 # libtool script then.
17954 test -f Makefile && make "$ltmain"
17959 ac_cpp='$CPP $CPPFLAGS'
17960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17975 # Source file extension for RC test sources.
17978 # Object file extension for compiled RC test sources.
17982 # Code to be used in simple compile tests
17983 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
17985 # Code to be used in simple link tests
17986 lt_simple_link_test_code="$lt_simple_compile_test_code"
17988 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17990 # If no C compiler was specified, use CC.
17993 # Allow CC to be a program name with arguments.
17997 # Allow CC to be a program name with arguments.
18002 lt_cv_prog_compiler_c_o_RC=yes
18004 # The else clause should only fire when bootstrapping the
18005 # libtool distribution, otherwise you forgot to ship ltmain.sh
18006 # with your package, and you will get complaints that there are
18007 # no rules to generate ltmain.sh.
18008 if test -f "$ltmain"; then
18009 # See if we are running on zsh, and set the options which allow our commands through
18010 # without removal of \ escapes.
18011 if test -n "${ZSH_VERSION+set}" ; then
18012 setopt NO_GLOB_SUBST
18014 # Now quote all the things that may contain metacharacters while being
18015 # careful not to overquote the AC_SUBSTed values. We take copies of the
18016 # variables and quote the copies for generation of the libtool script.
18017 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18018 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18019 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18020 deplibs_check_method reload_flag reload_cmds need_locks \
18021 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18022 lt_cv_sys_global_symbol_to_c_name_address \
18023 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18024 old_postinstall_cmds old_postuninstall_cmds \
18028 lt_prog_compiler_wl_RC \
18029 lt_prog_compiler_pic_RC \
18030 lt_prog_compiler_static_RC \
18031 lt_prog_compiler_no_builtin_flag_RC \
18032 export_dynamic_flag_spec_RC \
18033 thread_safe_flag_spec_RC \
18034 whole_archive_flag_spec_RC \
18035 enable_shared_with_static_runtimes_RC \
18036 old_archive_cmds_RC \
18037 old_archive_from_new_cmds_RC \
18038 predep_objects_RC \
18039 postdep_objects_RC \
18042 compiler_lib_search_path_RC \
18044 archive_expsym_cmds_RC \
18045 postinstall_cmds_RC \
18046 postuninstall_cmds_RC \
18047 old_archive_from_expsyms_cmds_RC \
18048 allow_undefined_flag_RC \
18049 no_undefined_flag_RC \
18050 export_symbols_cmds_RC \
18051 hardcode_libdir_flag_spec_RC \
18052 hardcode_libdir_flag_spec_ld_RC \
18053 hardcode_libdir_separator_RC \
18054 hardcode_automatic_RC \
18056 module_expsym_cmds_RC \
18057 lt_cv_prog_compiler_c_o_RC \
18058 exclude_expsyms_RC \
18059 include_expsyms_RC; do
18062 old_archive_cmds_RC | \
18063 old_archive_from_new_cmds_RC | \
18064 archive_cmds_RC | \
18065 archive_expsym_cmds_RC | \
18067 module_expsym_cmds_RC | \
18068 old_archive_from_expsyms_cmds_RC | \
18069 export_symbols_cmds_RC | \
18070 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18071 postinstall_cmds | postuninstall_cmds | \
18072 old_postinstall_cmds | old_postuninstall_cmds | \
18073 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18074 # Double-quote double-evaled strings.
18075 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18078 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18084 *'\$0 --fallback-echo"')
18085 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18091 cat <<__EOF__ >> "$cfgfile"
18092 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18094 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18096 # Shell to use when invoking shell scripts.
18099 # Whether or not to build shared libraries.
18100 build_libtool_libs=$enable_shared
18102 # Whether or not to build static libraries.
18103 build_old_libs=$enable_static
18105 # Whether or not to add -lc for building shared libraries.
18106 build_libtool_need_lc=$archive_cmds_need_lc_RC
18108 # Whether or not to disallow shared libs when runtime libs are static
18109 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18111 # Whether or not to optimize for fast installation.
18112 fast_install=$enable_fast_install
18115 host_alias=$host_alias
18118 # An echo program that does not interpret backslashes.
18123 AR_FLAGS=$lt_AR_FLAGS
18128 # A language-specific compiler.
18131 # Is the compiler the GNU C compiler?
18137 # The linker used to build libraries.
18140 # Whether we need hard or soft links.
18143 # A BSD-compatible nm program.
18146 # A symbol stripping program
18149 # Used to examine libraries when file_magic_cmd begins "file"
18150 MAGIC_CMD=$MAGIC_CMD
18152 # Used on cygwin: DLL creation program.
18155 # Used on cygwin: object dumper.
18158 # Used on cygwin: assembler.
18161 # The name of the directory that contains temporary libtool files.
18164 # How to create reloadable object files.
18165 reload_flag=$lt_reload_flag
18166 reload_cmds=$lt_reload_cmds
18168 # How to pass a linker flag through the compiler.
18169 wl=$lt_lt_prog_compiler_wl_RC
18171 # Object file suffix (normally "o").
18172 objext="$ac_objext"
18174 # Old archive suffix (normally "a").
18177 # Shared library suffix (normally ".so").
18180 # Executable file suffix (normally "").
18183 # Additional compiler flags for building library objects.
18184 pic_flag=$lt_lt_prog_compiler_pic_RC
18187 # What is the maximum length of a command?
18188 max_cmd_len=$lt_cv_sys_max_cmd_len
18190 # Does compiler simultaneously support -c and -o options?
18191 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18193 # Must we lock files when doing compilation ?
18194 need_locks=$lt_need_locks
18196 # Do we need the lib prefix for modules?
18197 need_lib_prefix=$need_lib_prefix
18199 # Do we need a version for libraries?
18200 need_version=$need_version
18202 # Whether dlopen is supported.
18203 dlopen_support=$enable_dlopen
18205 # Whether dlopen of programs is supported.
18206 dlopen_self=$enable_dlopen_self
18208 # Whether dlopen of statically linked programs is supported.
18209 dlopen_self_static=$enable_dlopen_self_static
18211 # Compiler flag to prevent dynamic linking.
18212 link_static_flag=$lt_lt_prog_compiler_static_RC
18214 # Compiler flag to turn off builtin functions.
18215 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18217 # Compiler flag to allow reflexive dlopens.
18218 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18220 # Compiler flag to generate shared objects directly from archives.
18221 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18223 # Compiler flag to generate thread-safe objects.
18224 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18226 # Library versioning type.
18227 version_type=$version_type
18229 # Format of library name prefix.
18230 libname_spec=$lt_libname_spec
18232 # List of archive names. First name is the real one, the rest are links.
18233 # The last name is the one that the linker finds with -lNAME.
18234 library_names_spec=$lt_library_names_spec
18236 # The coded name of the library, if different from the real name.
18237 soname_spec=$lt_soname_spec
18239 # Commands used to build and install an old-style archive.
18241 old_archive_cmds=$lt_old_archive_cmds_RC
18242 old_postinstall_cmds=$lt_old_postinstall_cmds
18243 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18245 # Create an old-style archive from a shared archive.
18246 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18248 # Create a temporary old-style archive to link instead of a shared archive.
18249 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18251 # Commands used to build and install a shared archive.
18252 archive_cmds=$lt_archive_cmds_RC
18253 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18254 postinstall_cmds=$lt_postinstall_cmds
18255 postuninstall_cmds=$lt_postuninstall_cmds
18257 # Commands used to build a loadable module (assumed same as above if empty)
18258 module_cmds=$lt_module_cmds_RC
18259 module_expsym_cmds=$lt_module_expsym_cmds_RC
18261 # Commands to strip libraries.
18262 old_striplib=$lt_old_striplib
18263 striplib=$lt_striplib
18265 # Dependencies to place before the objects being linked to create a
18267 predep_objects=$lt_predep_objects_RC
18269 # Dependencies to place after the objects being linked to create a
18271 postdep_objects=$lt_postdep_objects_RC
18273 # Dependencies to place before the objects being linked to create a
18275 predeps=$lt_predeps_RC
18277 # Dependencies to place after the objects being linked to create a
18279 postdeps=$lt_postdeps_RC
18281 # The library search path used internally by the compiler when linking
18282 # a shared library.
18283 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18285 # Method to check whether dependent libraries are shared objects.
18286 deplibs_check_method=$lt_deplibs_check_method
18288 # Command to use when deplibs_check_method == file_magic.
18289 file_magic_cmd=$lt_file_magic_cmd
18291 # Flag that allows shared libraries with undefined symbols to be built.
18292 allow_undefined_flag=$lt_allow_undefined_flag_RC
18294 # Flag that forces no undefined symbols.
18295 no_undefined_flag=$lt_no_undefined_flag_RC
18297 # Commands used to finish a libtool library installation in a directory.
18298 finish_cmds=$lt_finish_cmds
18300 # Same as above, but a single script fragment to be evaled but not shown.
18301 finish_eval=$lt_finish_eval
18303 # Take the output of nm and produce a listing of raw symbols and C names.
18304 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18306 # Transform the output of nm in a proper C declaration
18307 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18309 # Transform the output of nm in a C name address pair
18310 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18312 # This is the shared library runtime path variable.
18313 runpath_var=$runpath_var
18315 # This is the shared library path variable.
18316 shlibpath_var=$shlibpath_var
18318 # Is shlibpath searched before the hard-coded library search path?
18319 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18321 # How to hardcode a shared library path into an executable.
18322 hardcode_action=$hardcode_action_RC
18324 # Whether we should hardcode library paths into libraries.
18325 hardcode_into_libs=$hardcode_into_libs
18327 # Flag to hardcode \$libdir into a binary during linking.
18328 # This must work even if \$libdir does not exist.
18329 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18331 # If ld is used when linking, flag to hardcode \$libdir into
18332 # a binary during linking. This must work even if \$libdir does
18334 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18336 # Whether we need a single -rpath flag with a separated argument.
18337 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18339 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18340 # resulting binary.
18341 hardcode_direct=$hardcode_direct_RC
18343 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18344 # resulting binary.
18345 hardcode_minus_L=$hardcode_minus_L_RC
18347 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18348 # the resulting binary.
18349 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18351 # Set to yes if building a shared library automatically hardcodes DIR into the library
18352 # and all subsequent libraries and executables linked against it.
18353 hardcode_automatic=$hardcode_automatic_RC
18355 # Variables whose values should be saved in libtool wrapper scripts and
18356 # restored at relink time.
18357 variables_saved_for_relink="$variables_saved_for_relink"
18359 # Whether libtool must link a program against all its dependency libraries.
18360 link_all_deplibs=$link_all_deplibs_RC
18362 # Compile-time system search path for libraries
18363 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18365 # Run-time system search path for libraries
18366 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18368 # Fix the shell variable \$srcfile for the compiler.
18369 fix_srcfile_path="$fix_srcfile_path_RC"
18371 # Set to yes if exported symbols are required.
18372 always_export_symbols=$always_export_symbols_RC
18374 # The commands to list exported symbols.
18375 export_symbols_cmds=$lt_export_symbols_cmds_RC
18377 # The commands to extract the exported symbol list from a shared archive.
18378 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18380 # Symbols that should not be listed in the preloaded symbols.
18381 exclude_expsyms=$lt_exclude_expsyms_RC
18383 # Symbols that must always be exported.
18384 include_expsyms=$lt_include_expsyms_RC
18386 # ### END LIBTOOL TAG CONFIG: $tagname
18392 # If there is no Makefile yet, we rely on a make rule to execute
18393 # `config.status --recheck' to rerun these tests and create the
18394 # libtool script then.
18395 test -f Makefile && make "$ltmain"
18400 ac_cpp='$CPP $CPPFLAGS'
18401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18410 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18411 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18412 { (exit 1); exit 1; }; }
18416 # Append the new tag name to the list of available tags.
18417 if test -n "$tagname" ; then
18418 available_tags="$available_tags $tagname"
18424 # Now substitute the updated list of available tags.
18425 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18426 mv "${ofile}T" "$ofile"
18430 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18431 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18432 { (exit 1); exit 1; }; }
18438 # This can be used to rebuild libtool when needed
18439 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18441 # Always use our own libtool.
18442 LIBTOOL='$(SHELL) $(top_builddir)/mklib'
18444 # Prevent multiple expansion
18466 # Extract the first word of "pwd", so it can be a program name with args.
18467 set dummy pwd; ac_word=$2
18468 echo "$as_me:$LINENO: checking for $ac_word" >&5
18469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18470 if test "${ac_cv_path_RPWD+set}" = set; then
18471 echo $ECHO_N "(cached) $ECHO_C" >&6
18475 ac_cv_path_RPWD="$RPWD" # Let the user override the test with a path.
18478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18479 for as_dir in $PATH
18482 test -z "$as_dir" && as_dir=.
18483 for ac_exec_ext in '' $ac_executable_extensions; do
18484 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18485 ac_cv_path_RPWD="$as_dir/$ac_word$ac_exec_ext"
18486 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18492 test -z "$ac_cv_path_RPWD" && ac_cv_path_RPWD="false"
18496 RPWD=$ac_cv_path_RPWD
18498 if test -n "$RPWD"; then
18499 echo "$as_me:$LINENO: result: $RPWD" >&5
18500 echo "${ECHO_T}$RPWD" >&6
18502 echo "$as_me:$LINENO: result: no" >&5
18503 echo "${ECHO_T}no" >&6
18506 if test ${RPWD} = "false"
18508 { { echo "$as_me:$LINENO: error: pwd required but not found" >&5
18509 echo "$as_me: error: pwd required but not found" >&2;}
18510 { (exit 1); exit 1; }; }
18513 # Extract the first word of "ar", so it can be a program name with args.
18514 set dummy ar; ac_word=$2
18515 echo "$as_me:$LINENO: checking for $ac_word" >&5
18516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18517 if test "${ac_cv_path_AR+set}" = set; then
18518 echo $ECHO_N "(cached) $ECHO_C" >&6
18522 ac_cv_path_AR="$AR" # Let the user override the test with a path.
18525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18526 for as_dir in $PATH
18529 test -z "$as_dir" && as_dir=.
18530 for ac_exec_ext in '' $ac_executable_extensions; do
18531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18532 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
18533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18539 test -z "$ac_cv_path_AR" && ac_cv_path_AR="false"
18545 if test -n "$AR"; then
18546 echo "$as_me:$LINENO: result: $AR" >&5
18547 echo "${ECHO_T}$AR" >&6
18549 echo "$as_me:$LINENO: result: no" >&5
18550 echo "${ECHO_T}no" >&6
18553 if test ${AR} = "false"
18555 { { echo "$as_me:$LINENO: error: ar required but not found" >&5
18556 echo "$as_me: error: ar required but not found" >&2;}
18557 { (exit 1); exit 1; }; }
18560 # Extract the first word of "sed", so it can be a program name with args.
18561 set dummy sed; ac_word=$2
18562 echo "$as_me:$LINENO: checking for $ac_word" >&5
18563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18564 if test "${ac_cv_path_SED+set}" = set; then
18565 echo $ECHO_N "(cached) $ECHO_C" >&6
18569 ac_cv_path_SED="$SED" # Let the user override the test with a path.
18572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18573 for as_dir in $PATH
18576 test -z "$as_dir" && as_dir=.
18577 for ac_exec_ext in '' $ac_executable_extensions; do
18578 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18579 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
18580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18586 test -z "$ac_cv_path_SED" && ac_cv_path_SED="false"
18590 SED=$ac_cv_path_SED
18592 if test -n "$SED"; then
18593 echo "$as_me:$LINENO: result: $SED" >&5
18594 echo "${ECHO_T}$SED" >&6
18596 echo "$as_me:$LINENO: result: no" >&5
18597 echo "${ECHO_T}no" >&6
18600 if test ${SED} = "false"
18602 { { echo "$as_me:$LINENO: error: sed required but not found" >&5
18603 echo "$as_me: error: sed required but not found" >&2;}
18604 { (exit 1); exit 1; }; }
18607 # Extract the first word of "rm", so it can be a program name with args.
18608 set dummy rm; ac_word=$2
18609 echo "$as_me:$LINENO: checking for $ac_word" >&5
18610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18611 if test "${ac_cv_path_RM+set}" = set; then
18612 echo $ECHO_N "(cached) $ECHO_C" >&6
18616 ac_cv_path_RM="$RM" # Let the user override the test with a path.
18619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18620 for as_dir in $PATH
18623 test -z "$as_dir" && as_dir=.
18624 for ac_exec_ext in '' $ac_executable_extensions; do
18625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18626 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
18627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18633 test -z "$ac_cv_path_RM" && ac_cv_path_RM="false"
18639 if test -n "$RM"; then
18640 echo "$as_me:$LINENO: result: $RM" >&5
18641 echo "${ECHO_T}$RM" >&6
18643 echo "$as_me:$LINENO: result: no" >&5
18644 echo "${ECHO_T}no" >&6
18647 if test ${RM} = "false"
18649 { { echo "$as_me:$LINENO: error: rm required but not found" >&5
18650 echo "$as_me: error: rm required but not found" >&2;}
18651 { (exit 1); exit 1; }; }
18654 # Extract the first word of "echo", so it can be a program name with args.
18655 set dummy echo; ac_word=$2
18656 echo "$as_me:$LINENO: checking for $ac_word" >&5
18657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18658 if test "${ac_cv_path_ECHO+set}" = set; then
18659 echo $ECHO_N "(cached) $ECHO_C" >&6
18663 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
18666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18667 for as_dir in $PATH
18670 test -z "$as_dir" && as_dir=.
18671 for ac_exec_ext in '' $ac_executable_extensions; do
18672 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18673 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
18674 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18680 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="false"
18684 ECHO=$ac_cv_path_ECHO
18686 if test -n "$ECHO"; then
18687 echo "$as_me:$LINENO: result: $ECHO" >&5
18688 echo "${ECHO_T}$ECHO" >&6
18690 echo "$as_me:$LINENO: result: no" >&5
18691 echo "${ECHO_T}no" >&6
18694 if test ${ECHO} = "false"
18696 { { echo "$as_me:$LINENO: error: echo required but not found" >&5
18697 echo "$as_me: error: echo required but not found" >&2;}
18698 { (exit 1); exit 1; }; }
18701 # Extract the first word of "mkdir", so it can be a program name with args.
18702 set dummy mkdir; ac_word=$2
18703 echo "$as_me:$LINENO: checking for $ac_word" >&5
18704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18705 if test "${ac_cv_path_MKDIR+set}" = set; then
18706 echo $ECHO_N "(cached) $ECHO_C" >&6
18710 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
18713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18714 for as_dir in $PATH
18717 test -z "$as_dir" && as_dir=.
18718 for ac_exec_ext in '' $ac_executable_extensions; do
18719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18720 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
18721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18727 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR="false"
18731 MKDIR=$ac_cv_path_MKDIR
18733 if test -n "$MKDIR"; then
18734 echo "$as_me:$LINENO: result: $MKDIR" >&5
18735 echo "${ECHO_T}$MKDIR" >&6
18737 echo "$as_me:$LINENO: result: no" >&5
18738 echo "${ECHO_T}no" >&6
18741 if test ${MKDIR} = "false"
18743 { { echo "$as_me:$LINENO: error: mkdir required but not found" >&5
18744 echo "$as_me: error: mkdir required but not found" >&2;}
18745 { (exit 1); exit 1; }; }
18748 # Extract the first word of "date", so it can be a program name with args.
18749 set dummy date; ac_word=$2
18750 echo "$as_me:$LINENO: checking for $ac_word" >&5
18751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18752 if test "${ac_cv_path_DATE+set}" = set; then
18753 echo $ECHO_N "(cached) $ECHO_C" >&6
18757 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
18760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18761 for as_dir in $PATH
18764 test -z "$as_dir" && as_dir=.
18765 for ac_exec_ext in '' $ac_executable_extensions; do
18766 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18767 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
18768 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18774 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE="false"
18778 DATE=$ac_cv_path_DATE
18780 if test -n "$DATE"; then
18781 echo "$as_me:$LINENO: result: $DATE" >&5
18782 echo "${ECHO_T}$DATE" >&6
18784 echo "$as_me:$LINENO: result: no" >&5
18785 echo "${ECHO_T}no" >&6
18788 if test ${DATE} = "false"
18790 { { echo "$as_me:$LINENO: error: date required but not found" >&5
18791 echo "$as_me: error: date required but not found" >&2;}
18792 { (exit 1); exit 1; }; }
18795 # Extract the first word of "mv", so it can be a program name with args.
18796 set dummy mv; ac_word=$2
18797 echo "$as_me:$LINENO: checking for $ac_word" >&5
18798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18799 if test "${ac_cv_path_MV+set}" = set; then
18800 echo $ECHO_N "(cached) $ECHO_C" >&6
18804 ac_cv_path_MV="$MV" # Let the user override the test with a path.
18807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18808 for as_dir in $PATH
18811 test -z "$as_dir" && as_dir=.
18812 for ac_exec_ext in '' $ac_executable_extensions; do
18813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18814 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
18815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18821 test -z "$ac_cv_path_MV" && ac_cv_path_MV="false"
18827 if test -n "$MV"; then
18828 echo "$as_me:$LINENO: result: $MV" >&5
18829 echo "${ECHO_T}$MV" >&6
18831 echo "$as_me:$LINENO: result: no" >&5
18832 echo "${ECHO_T}no" >&6
18835 if test ${MV} = "false"
18837 { { echo "$as_me:$LINENO: error: mv required but not found" >&5
18838 echo "$as_me: error: mv required but not found" >&2;}
18839 { (exit 1); exit 1; }; }
18842 # Extract the first word of "dot", so it can be a program name with args.
18843 set dummy dot; ac_word=$2
18844 echo "$as_me:$LINENO: checking for $ac_word" >&5
18845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18846 if test "${ac_cv_path_DOT+set}" = set; then
18847 echo $ECHO_N "(cached) $ECHO_C" >&6
18851 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18854 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18855 for as_dir in $PATH
18858 test -z "$as_dir" && as_dir=.
18859 for ac_exec_ext in '' $ac_executable_extensions; do
18860 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18861 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18862 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18868 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="false"
18872 DOT=$ac_cv_path_DOT
18874 if test -n "$DOT"; then
18875 echo "$as_me:$LINENO: result: $DOT" >&5
18876 echo "${ECHO_T}$DOT" >&6
18878 echo "$as_me:$LINENO: result: no" >&5
18879 echo "${ECHO_T}no" >&6
18883 # Extract the first word of "etags", so it can be a program name with args.
18884 set dummy etags; ac_word=$2
18885 echo "$as_me:$LINENO: checking for $ac_word" >&5
18886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18887 if test "${ac_cv_path_ETAGS+set}" = set; then
18888 echo $ECHO_N "(cached) $ECHO_C" >&6
18892 ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
18895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18896 for as_dir in $PATH
18899 test -z "$as_dir" && as_dir=.
18900 for ac_exec_ext in '' $ac_executable_extensions; do
18901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18902 ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext"
18903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18909 test -z "$ac_cv_path_ETAGS" && ac_cv_path_ETAGS="false"
18913 ETAGS=$ac_cv_path_ETAGS
18915 if test -n "$ETAGS"; then
18916 echo "$as_me:$LINENO: result: $ETAGS" >&5
18917 echo "${ECHO_T}$ETAGS" >&6
18919 echo "$as_me:$LINENO: result: no" >&5
18920 echo "${ECHO_T}no" >&6
18924 # Extract the first word of "purify", so it can be a program name with args.
18925 set dummy purify; ac_word=$2
18926 echo "$as_me:$LINENO: checking for $ac_word" >&5
18927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18928 if test "${ac_cv_path_PURIFY+set}" = set; then
18929 echo $ECHO_N "(cached) $ECHO_C" >&6
18933 ac_cv_path_PURIFY="$PURIFY" # Let the user override the test with a path.
18936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18937 for as_dir in $PATH
18940 test -z "$as_dir" && as_dir=.
18941 for ac_exec_ext in '' $ac_executable_extensions; do
18942 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18943 ac_cv_path_PURIFY="$as_dir/$ac_word$ac_exec_ext"
18944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18950 test -z "$ac_cv_path_PURIFY" && ac_cv_path_PURIFY="false"
18954 PURIFY=$ac_cv_path_PURIFY
18956 if test -n "$PURIFY"; then
18957 echo "$as_me:$LINENO: result: $PURIFY" >&5
18958 echo "${ECHO_T}$PURIFY" >&6
18960 echo "$as_me:$LINENO: result: no" >&5
18961 echo "${ECHO_T}no" >&6
18965 # Extract the first word of "python", so it can be a program name with args.
18966 set dummy python; ac_word=$2
18967 echo "$as_me:$LINENO: checking for $ac_word" >&5
18968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18969 if test "${ac_cv_path_PYTHON+set}" = set; then
18970 echo $ECHO_N "(cached) $ECHO_C" >&6
18974 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
18977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18978 for as_dir in $PATH
18981 test -z "$as_dir" && as_dir=.
18982 for ac_exec_ext in '' $ac_executable_extensions; do
18983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18984 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
18985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18991 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="false"
18995 PYTHON=$ac_cv_path_PYTHON
18997 if test -n "$PYTHON"; then
18998 echo "$as_me:$LINENO: result: $PYTHON" >&5
18999 echo "${ECHO_T}$PYTHON" >&6
19001 echo "$as_me:$LINENO: result: no" >&5
19002 echo "${ECHO_T}no" >&6
19005 if test ${PYTHON} = "false"
19007 { echo "$as_me:$LINENO: WARNING: python required but not found" >&5
19008 echo "$as_me: WARNING: python required but not found" >&2;}
19011 # Extract the first word of "qmtest", so it can be a program name with args.
19012 set dummy qmtest; ac_word=$2
19013 echo "$as_me:$LINENO: checking for $ac_word" >&5
19014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19015 if test "${ac_cv_path_QMTEST+set}" = set; then
19016 echo $ECHO_N "(cached) $ECHO_C" >&6
19020 ac_cv_path_QMTEST="$QMTEST" # Let the user override the test with a path.
19023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19024 for as_dir in $PATH
19027 test -z "$as_dir" && as_dir=.
19028 for ac_exec_ext in '' $ac_executable_extensions; do
19029 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19030 ac_cv_path_QMTEST="$as_dir/$ac_word$ac_exec_ext"
19031 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19037 test -z "$ac_cv_path_QMTEST" && ac_cv_path_QMTEST="false"
19041 QMTEST=$ac_cv_path_QMTEST
19043 if test -n "$QMTEST"; then
19044 echo "$as_me:$LINENO: result: $QMTEST" >&5
19045 echo "${ECHO_T}$QMTEST" >&6
19047 echo "$as_me:$LINENO: result: no" >&5
19048 echo "${ECHO_T}no" >&6
19051 if test ${QMTEST} = "false"
19053 { echo "$as_me:$LINENO: WARNING: qmtest required but not found" >&5
19054 echo "$as_me: WARNING: qmtest required but not found" >&2;}
19057 pyversion=`$PYTHON -V 2>&1 | cut -d\ -f2`
19058 pymajor=`echo $pyversion | cut -d. -f1`
19059 pyminor=`echo $pyversion | cut -d. -f2`
19061 if test "$pymajor" -ge "2"
19063 if test "$pymajor" -eq "2"
19065 if test "$pyminor" -lt "2"
19067 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
19068 echo "$as_me: error: Python 2.2 or greater required" >&2;}
19069 { (exit 1); exit 1; }; }
19073 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
19074 echo "$as_me: error: Python 2.2 or greater required" >&2;}
19075 { (exit 1); exit 1; }; }
19082 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
19083 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
19084 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
19085 echo $ECHO_N "(cached) $ECHO_C" >&6
19087 ac_check_lib_save_LIBS=$LIBS
19089 cat >conftest.$ac_ext <<_ACEOF
19090 #line $LINENO "configure"
19093 cat confdefs.h >>conftest.$ac_ext
19094 cat >>conftest.$ac_ext <<_ACEOF
19095 /* end confdefs.h. */
19097 /* Override any gcc2 internal prototype to avoid an error. */
19101 /* We use char because int might match the return type of a gcc2
19102 builtin and then its argument prototype would still apply. */
19112 rm -f conftest.$ac_objext conftest$ac_exeext
19113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19114 (eval $ac_link) 2>&5
19116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19117 (exit $ac_status); } &&
19118 { ac_try='test -s conftest$ac_exeext'
19119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19120 (eval $ac_try) 2>&5
19122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19123 (exit $ac_status); }; }; then
19124 ac_cv_lib_elf_elf_begin=yes
19126 echo "$as_me: failed program was:" >&5
19127 sed 's/^/| /' conftest.$ac_ext >&5
19129 ac_cv_lib_elf_elf_begin=no
19131 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19132 LIBS=$ac_check_lib_save_LIBS
19134 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
19135 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
19136 if test $ac_cv_lib_elf_elf_begin = yes; then
19137 cat >>confdefs.h <<_ACEOF
19138 #define HAVE_LIBELF 1
19146 echo "$as_me:$LINENO: checking for library containing dlopen" >&5
19147 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
19148 if test "${ac_cv_search_dlopen+set}" = set; then
19149 echo $ECHO_N "(cached) $ECHO_C" >&6
19151 ac_func_search_save_LIBS=$LIBS
19152 ac_cv_search_dlopen=no
19153 cat >conftest.$ac_ext <<_ACEOF
19154 #line $LINENO "configure"
19157 cat confdefs.h >>conftest.$ac_ext
19158 cat >>conftest.$ac_ext <<_ACEOF
19159 /* end confdefs.h. */
19161 /* Override any gcc2 internal prototype to avoid an error. */
19165 /* We use char because int might match the return type of a gcc2
19166 builtin and then its argument prototype would still apply. */
19176 rm -f conftest.$ac_objext conftest$ac_exeext
19177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19178 (eval $ac_link) 2>&5
19180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19181 (exit $ac_status); } &&
19182 { ac_try='test -s conftest$ac_exeext'
19183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19184 (eval $ac_try) 2>&5
19186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19187 (exit $ac_status); }; }; then
19188 ac_cv_search_dlopen="none required"
19190 echo "$as_me: failed program was:" >&5
19191 sed 's/^/| /' conftest.$ac_ext >&5
19194 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19195 if test "$ac_cv_search_dlopen" = no; then
19196 for ac_lib in dl; do
19197 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19198 cat >conftest.$ac_ext <<_ACEOF
19199 #line $LINENO "configure"
19202 cat confdefs.h >>conftest.$ac_ext
19203 cat >>conftest.$ac_ext <<_ACEOF
19204 /* end confdefs.h. */
19206 /* Override any gcc2 internal prototype to avoid an error. */
19210 /* We use char because int might match the return type of a gcc2
19211 builtin and then its argument prototype would still apply. */
19221 rm -f conftest.$ac_objext conftest$ac_exeext
19222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19223 (eval $ac_link) 2>&5
19225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19226 (exit $ac_status); } &&
19227 { ac_try='test -s conftest$ac_exeext'
19228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19229 (eval $ac_try) 2>&5
19231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19232 (exit $ac_status); }; }; then
19233 ac_cv_search_dlopen="-l$ac_lib"
19236 echo "$as_me: failed program was:" >&5
19237 sed 's/^/| /' conftest.$ac_ext >&5
19240 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19243 LIBS=$ac_func_search_save_LIBS
19245 echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
19246 echo "${ECHO_T}$ac_cv_search_dlopen" >&6
19247 if test "$ac_cv_search_dlopen" != no; then
19248 test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
19251 { { echo "$as_me:$LINENO: error: dlopen() required but not found" >&5
19252 echo "$as_me: error: dlopen() required but not found" >&2;}
19253 { (exit 1); exit 1; }; }
19257 echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
19258 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6
19259 if test "${ac_cv_search_mallinfo+set}" = set; then
19260 echo $ECHO_N "(cached) $ECHO_C" >&6
19262 ac_func_search_save_LIBS=$LIBS
19263 ac_cv_search_mallinfo=no
19264 cat >conftest.$ac_ext <<_ACEOF
19265 #line $LINENO "configure"
19268 cat confdefs.h >>conftest.$ac_ext
19269 cat >>conftest.$ac_ext <<_ACEOF
19270 /* end confdefs.h. */
19272 /* Override any gcc2 internal prototype to avoid an error. */
19276 /* We use char because int might match the return type of a gcc2
19277 builtin and then its argument prototype would still apply. */
19287 rm -f conftest.$ac_objext conftest$ac_exeext
19288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19289 (eval $ac_link) 2>&5
19291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19292 (exit $ac_status); } &&
19293 { ac_try='test -s conftest$ac_exeext'
19294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19295 (eval $ac_try) 2>&5
19297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19298 (exit $ac_status); }; }; then
19299 ac_cv_search_mallinfo="none required"
19301 echo "$as_me: failed program was:" >&5
19302 sed 's/^/| /' conftest.$ac_ext >&5
19305 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19306 if test "$ac_cv_search_mallinfo" = no; then
19307 for ac_lib in malloc; do
19308 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19309 cat >conftest.$ac_ext <<_ACEOF
19310 #line $LINENO "configure"
19313 cat confdefs.h >>conftest.$ac_ext
19314 cat >>conftest.$ac_ext <<_ACEOF
19315 /* end confdefs.h. */
19317 /* Override any gcc2 internal prototype to avoid an error. */
19321 /* We use char because int might match the return type of a gcc2
19322 builtin and then its argument prototype would still apply. */
19332 rm -f conftest.$ac_objext conftest$ac_exeext
19333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19334 (eval $ac_link) 2>&5
19336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19337 (exit $ac_status); } &&
19338 { ac_try='test -s conftest$ac_exeext'
19339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19340 (eval $ac_try) 2>&5
19342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19343 (exit $ac_status); }; }; then
19344 ac_cv_search_mallinfo="-l$ac_lib"
19347 echo "$as_me: failed program was:" >&5
19348 sed 's/^/| /' conftest.$ac_ext >&5
19351 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19354 LIBS=$ac_func_search_save_LIBS
19356 echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
19357 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6
19358 if test "$ac_cv_search_mallinfo" != no; then
19359 test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS"
19360 cat >>confdefs.h <<\_ACEOF
19361 #define HAVE_MALLINFO 1
19368 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19369 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19370 if test "${ac_cv_header_stdc+set}" = set; then
19371 echo $ECHO_N "(cached) $ECHO_C" >&6
19373 cat >conftest.$ac_ext <<_ACEOF
19374 #line $LINENO "configure"
19377 cat confdefs.h >>conftest.$ac_ext
19378 cat >>conftest.$ac_ext <<_ACEOF
19379 /* end confdefs.h. */
19380 #include <stdlib.h>
19381 #include <stdarg.h>
19382 #include <string.h>
19393 rm -f conftest.$ac_objext
19394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19395 (eval $ac_compile) 2>&5
19397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19398 (exit $ac_status); } &&
19399 { ac_try='test -s conftest.$ac_objext'
19400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19401 (eval $ac_try) 2>&5
19403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19404 (exit $ac_status); }; }; then
19405 ac_cv_header_stdc=yes
19407 echo "$as_me: failed program was:" >&5
19408 sed 's/^/| /' conftest.$ac_ext >&5
19410 ac_cv_header_stdc=no
19412 rm -f conftest.$ac_objext conftest.$ac_ext
19414 if test $ac_cv_header_stdc = yes; then
19415 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19416 cat >conftest.$ac_ext <<_ACEOF
19417 #line $LINENO "configure"
19420 cat confdefs.h >>conftest.$ac_ext
19421 cat >>conftest.$ac_ext <<_ACEOF
19422 /* end confdefs.h. */
19423 #include <string.h>
19426 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19427 $EGREP "memchr" >/dev/null 2>&1; then
19430 ac_cv_header_stdc=no
19436 if test $ac_cv_header_stdc = yes; then
19437 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19438 cat >conftest.$ac_ext <<_ACEOF
19439 #line $LINENO "configure"
19442 cat confdefs.h >>conftest.$ac_ext
19443 cat >>conftest.$ac_ext <<_ACEOF
19444 /* end confdefs.h. */
19445 #include <stdlib.h>
19448 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19449 $EGREP "free" >/dev/null 2>&1; then
19452 ac_cv_header_stdc=no
19458 if test $ac_cv_header_stdc = yes; then
19459 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19460 if test "$cross_compiling" = yes; then
19463 cat >conftest.$ac_ext <<_ACEOF
19464 #line $LINENO "configure"
19467 cat confdefs.h >>conftest.$ac_ext
19468 cat >>conftest.$ac_ext <<_ACEOF
19469 /* end confdefs.h. */
19471 #if ((' ' & 0x0FF) == 0x020)
19472 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19473 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19475 # define ISLOWER(c) \
19476 (('a' <= (c) && (c) <= 'i') \
19477 || ('j' <= (c) && (c) <= 'r') \
19478 || ('s' <= (c) && (c) <= 'z'))
19479 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19482 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19487 for (i = 0; i < 256; i++)
19488 if (XOR (islower (i), ISLOWER (i))
19489 || toupper (i) != TOUPPER (i))
19494 rm -f conftest$ac_exeext
19495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19496 (eval $ac_link) 2>&5
19498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19499 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19501 (eval $ac_try) 2>&5
19503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19504 (exit $ac_status); }; }; then
19507 echo "$as_me: program exited with status $ac_status" >&5
19508 echo "$as_me: failed program was:" >&5
19509 sed 's/^/| /' conftest.$ac_ext >&5
19511 ( exit $ac_status )
19512 ac_cv_header_stdc=no
19514 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19518 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19519 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19520 if test $ac_cv_header_stdc = yes; then
19522 cat >>confdefs.h <<\_ACEOF
19523 #define STDC_HEADERS 1
19528 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19529 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
19530 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19531 echo $ECHO_N "(cached) $ECHO_C" >&6
19533 cat >conftest.$ac_ext <<_ACEOF
19534 #line $LINENO "configure"
19537 cat confdefs.h >>conftest.$ac_ext
19538 cat >>conftest.$ac_ext <<_ACEOF
19539 /* end confdefs.h. */
19540 #include <sys/types.h>
19541 #include <sys/wait.h>
19542 #ifndef WEXITSTATUS
19543 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
19546 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19554 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19559 rm -f conftest.$ac_objext
19560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19561 (eval $ac_compile) 2>&5
19563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19564 (exit $ac_status); } &&
19565 { ac_try='test -s conftest.$ac_objext'
19566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19567 (eval $ac_try) 2>&5
19569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570 (exit $ac_status); }; }; then
19571 ac_cv_header_sys_wait_h=yes
19573 echo "$as_me: failed program was:" >&5
19574 sed 's/^/| /' conftest.$ac_ext >&5
19576 ac_cv_header_sys_wait_h=no
19578 rm -f conftest.$ac_objext conftest.$ac_ext
19580 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19581 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
19582 if test $ac_cv_header_sys_wait_h = yes; then
19584 cat >>confdefs.h <<\_ACEOF
19585 #define HAVE_SYS_WAIT_H 1
19599 for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h
19601 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19603 echo "$as_me:$LINENO: checking for $ac_header" >&5
19604 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19605 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19606 echo $ECHO_N "(cached) $ECHO_C" >&6
19608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19609 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19611 # Is the header compilable?
19612 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19613 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19614 cat >conftest.$ac_ext <<_ACEOF
19615 #line $LINENO "configure"
19618 cat confdefs.h >>conftest.$ac_ext
19619 cat >>conftest.$ac_ext <<_ACEOF
19620 /* end confdefs.h. */
19621 $ac_includes_default
19622 #include <$ac_header>
19624 rm -f conftest.$ac_objext
19625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19626 (eval $ac_compile) 2>&5
19628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19629 (exit $ac_status); } &&
19630 { ac_try='test -s conftest.$ac_objext'
19631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19632 (eval $ac_try) 2>&5
19634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19635 (exit $ac_status); }; }; then
19636 ac_header_compiler=yes
19638 echo "$as_me: failed program was:" >&5
19639 sed 's/^/| /' conftest.$ac_ext >&5
19641 ac_header_compiler=no
19643 rm -f conftest.$ac_objext conftest.$ac_ext
19644 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19645 echo "${ECHO_T}$ac_header_compiler" >&6
19647 # Is the header present?
19648 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19649 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19650 cat >conftest.$ac_ext <<_ACEOF
19651 #line $LINENO "configure"
19654 cat confdefs.h >>conftest.$ac_ext
19655 cat >>conftest.$ac_ext <<_ACEOF
19656 /* end confdefs.h. */
19657 #include <$ac_header>
19659 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19660 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19662 grep -v '^ *+' conftest.er1 >conftest.err
19664 cat conftest.err >&5
19665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19666 (exit $ac_status); } >/dev/null; then
19667 if test -s conftest.err; then
19668 ac_cpp_err=$ac_c_preproc_warn_flag
19675 if test -z "$ac_cpp_err"; then
19676 ac_header_preproc=yes
19678 echo "$as_me: failed program was:" >&5
19679 sed 's/^/| /' conftest.$ac_ext >&5
19681 ac_header_preproc=no
19683 rm -f conftest.err conftest.$ac_ext
19684 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19685 echo "${ECHO_T}$ac_header_preproc" >&6
19687 # So? What about this header?
19688 case $ac_header_compiler:$ac_header_preproc in
19690 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19691 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19692 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19693 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19696 ## ------------------------------------ ##
19697 ## Report this to bug-autoconf@gnu.org. ##
19698 ## ------------------------------------ ##
19701 sed "s/^/$as_me: WARNING: /" >&2
19704 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19705 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19706 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19707 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19708 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19709 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19712 ## ------------------------------------ ##
19713 ## Report this to bug-autoconf@gnu.org. ##
19714 ## ------------------------------------ ##
19717 sed "s/^/$as_me: WARNING: /" >&2
19720 echo "$as_me:$LINENO: checking for $ac_header" >&5
19721 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19722 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19723 echo $ECHO_N "(cached) $ECHO_C" >&6
19725 eval "$as_ac_Header=$ac_header_preproc"
19727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19728 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19731 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19732 cat >>confdefs.h <<_ACEOF
19733 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19745 for ac_header in malloc.h strings.h sys/mman.h sys/resource.h
19747 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19749 echo "$as_me:$LINENO: checking for $ac_header" >&5
19750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19752 echo $ECHO_N "(cached) $ECHO_C" >&6
19754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19755 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19757 # Is the header compilable?
19758 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19759 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19760 cat >conftest.$ac_ext <<_ACEOF
19761 #line $LINENO "configure"
19764 cat confdefs.h >>conftest.$ac_ext
19765 cat >>conftest.$ac_ext <<_ACEOF
19766 /* end confdefs.h. */
19767 $ac_includes_default
19768 #include <$ac_header>
19770 rm -f conftest.$ac_objext
19771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19772 (eval $ac_compile) 2>&5
19774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19775 (exit $ac_status); } &&
19776 { ac_try='test -s conftest.$ac_objext'
19777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19778 (eval $ac_try) 2>&5
19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781 (exit $ac_status); }; }; then
19782 ac_header_compiler=yes
19784 echo "$as_me: failed program was:" >&5
19785 sed 's/^/| /' conftest.$ac_ext >&5
19787 ac_header_compiler=no
19789 rm -f conftest.$ac_objext conftest.$ac_ext
19790 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19791 echo "${ECHO_T}$ac_header_compiler" >&6
19793 # Is the header present?
19794 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19795 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19796 cat >conftest.$ac_ext <<_ACEOF
19797 #line $LINENO "configure"
19800 cat confdefs.h >>conftest.$ac_ext
19801 cat >>conftest.$ac_ext <<_ACEOF
19802 /* end confdefs.h. */
19803 #include <$ac_header>
19805 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19806 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19808 grep -v '^ *+' conftest.er1 >conftest.err
19810 cat conftest.err >&5
19811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19812 (exit $ac_status); } >/dev/null; then
19813 if test -s conftest.err; then
19814 ac_cpp_err=$ac_c_preproc_warn_flag
19821 if test -z "$ac_cpp_err"; then
19822 ac_header_preproc=yes
19824 echo "$as_me: failed program was:" >&5
19825 sed 's/^/| /' conftest.$ac_ext >&5
19827 ac_header_preproc=no
19829 rm -f conftest.err conftest.$ac_ext
19830 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19831 echo "${ECHO_T}$ac_header_preproc" >&6
19833 # So? What about this header?
19834 case $ac_header_compiler:$ac_header_preproc in
19836 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19837 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19839 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19842 ## ------------------------------------ ##
19843 ## Report this to bug-autoconf@gnu.org. ##
19844 ## ------------------------------------ ##
19847 sed "s/^/$as_me: WARNING: /" >&2
19850 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19851 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19852 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19853 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19854 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19855 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19858 ## ------------------------------------ ##
19859 ## Report this to bug-autoconf@gnu.org. ##
19860 ## ------------------------------------ ##
19863 sed "s/^/$as_me: WARNING: /" >&2
19866 echo "$as_me:$LINENO: checking for $ac_header" >&5
19867 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19868 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19869 echo $ECHO_N "(cached) $ECHO_C" >&6
19871 eval "$as_ac_Header=$ac_header_preproc"
19873 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19874 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19877 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19878 cat >>confdefs.h <<_ACEOF
19879 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19889 for ac_header in dlfcn.h link.h
19891 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19893 echo "$as_me:$LINENO: checking for $ac_header" >&5
19894 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19895 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19896 echo $ECHO_N "(cached) $ECHO_C" >&6
19898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19899 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19901 # Is the header compilable?
19902 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19903 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19904 cat >conftest.$ac_ext <<_ACEOF
19905 #line $LINENO "configure"
19908 cat confdefs.h >>conftest.$ac_ext
19909 cat >>conftest.$ac_ext <<_ACEOF
19910 /* end confdefs.h. */
19911 $ac_includes_default
19912 #include <$ac_header>
19914 rm -f conftest.$ac_objext
19915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19916 (eval $ac_compile) 2>&5
19918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19919 (exit $ac_status); } &&
19920 { ac_try='test -s conftest.$ac_objext'
19921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19922 (eval $ac_try) 2>&5
19924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19925 (exit $ac_status); }; }; then
19926 ac_header_compiler=yes
19928 echo "$as_me: failed program was:" >&5
19929 sed 's/^/| /' conftest.$ac_ext >&5
19931 ac_header_compiler=no
19933 rm -f conftest.$ac_objext conftest.$ac_ext
19934 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19935 echo "${ECHO_T}$ac_header_compiler" >&6
19937 # Is the header present?
19938 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19939 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19940 cat >conftest.$ac_ext <<_ACEOF
19941 #line $LINENO "configure"
19944 cat confdefs.h >>conftest.$ac_ext
19945 cat >>conftest.$ac_ext <<_ACEOF
19946 /* end confdefs.h. */
19947 #include <$ac_header>
19949 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19950 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19952 grep -v '^ *+' conftest.er1 >conftest.err
19954 cat conftest.err >&5
19955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19956 (exit $ac_status); } >/dev/null; then
19957 if test -s conftest.err; then
19958 ac_cpp_err=$ac_c_preproc_warn_flag
19965 if test -z "$ac_cpp_err"; then
19966 ac_header_preproc=yes
19968 echo "$as_me: failed program was:" >&5
19969 sed 's/^/| /' conftest.$ac_ext >&5
19971 ac_header_preproc=no
19973 rm -f conftest.err conftest.$ac_ext
19974 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19975 echo "${ECHO_T}$ac_header_preproc" >&6
19977 # So? What about this header?
19978 case $ac_header_compiler:$ac_header_preproc in
19980 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19981 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19982 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19983 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19986 ## ------------------------------------ ##
19987 ## Report this to bug-autoconf@gnu.org. ##
19988 ## ------------------------------------ ##
19991 sed "s/^/$as_me: WARNING: /" >&2
19994 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19995 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19996 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19997 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19998 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19999 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20002 ## ------------------------------------ ##
20003 ## Report this to bug-autoconf@gnu.org. ##
20004 ## ------------------------------------ ##
20007 sed "s/^/$as_me: WARNING: /" >&2
20010 echo "$as_me:$LINENO: checking for $ac_header" >&5
20011 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20012 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20013 echo $ECHO_N "(cached) $ECHO_C" >&6
20015 eval "$as_ac_Header=$ac_header_preproc"
20017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20018 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20021 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20022 cat >>confdefs.h <<_ACEOF
20023 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20032 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20033 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
20034 if test "${ac_cv_c_const+set}" = set; then
20035 echo $ECHO_N "(cached) $ECHO_C" >&6
20037 cat >conftest.$ac_ext <<_ACEOF
20038 #line $LINENO "configure"
20041 cat confdefs.h >>conftest.$ac_ext
20042 cat >>conftest.$ac_ext <<_ACEOF
20043 /* end confdefs.h. */
20048 /* FIXME: Include the comments suggested by Paul. */
20049 #ifndef __cplusplus
20050 /* Ultrix mips cc rejects this. */
20051 typedef int charset[2];
20053 /* SunOS 4.1.1 cc rejects this. */
20054 char const *const *ccp;
20056 /* NEC SVR4.0.2 mips cc rejects this. */
20057 struct point {int x, y;};
20058 static struct point const zero = {0,0};
20059 /* AIX XL C 1.02.0.0 rejects this.
20060 It does not let you subtract one const X* pointer from another in
20061 an arm of an if-expression whose if-part is not a constant
20063 const char *g = "string";
20064 ccp = &g + (g ? g-g : 0);
20065 /* HPUX 7.0 cc rejects these. */
20068 ccp = (char const *const *) p;
20069 { /* SCO 3.2v4 cc rejects this. */
20071 char const *s = 0 ? (char *) 0 : (char const *) 0;
20075 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20076 int x[] = {25, 17};
20077 const int *foo = &x[0];
20080 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20081 typedef const int *iptr;
20085 { /* AIX XL C 1.02.0.0 rejects this saying
20086 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20087 struct s { int j; const int *ap[3]; };
20088 struct s *b; b->j = 5;
20090 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20091 const int foo = 10;
20099 rm -f conftest.$ac_objext
20100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20101 (eval $ac_compile) 2>&5
20103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20104 (exit $ac_status); } &&
20105 { ac_try='test -s conftest.$ac_objext'
20106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20107 (eval $ac_try) 2>&5
20109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20110 (exit $ac_status); }; }; then
20113 echo "$as_me: failed program was:" >&5
20114 sed 's/^/| /' conftest.$ac_ext >&5
20118 rm -f conftest.$ac_objext conftest.$ac_ext
20120 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20121 echo "${ECHO_T}$ac_cv_c_const" >&6
20122 if test $ac_cv_c_const = no; then
20124 cat >>confdefs.h <<\_ACEOF
20130 echo "$as_me:$LINENO: checking for inline" >&5
20131 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20132 if test "${ac_cv_c_inline+set}" = set; then
20133 echo $ECHO_N "(cached) $ECHO_C" >&6
20136 for ac_kw in inline __inline__ __inline; do
20137 cat >conftest.$ac_ext <<_ACEOF
20138 #line $LINENO "configure"
20141 cat confdefs.h >>conftest.$ac_ext
20142 cat >>conftest.$ac_ext <<_ACEOF
20143 /* end confdefs.h. */
20144 #ifndef __cplusplus
20146 static $ac_kw foo_t static_foo () {return 0; }
20147 $ac_kw foo_t foo () {return 0; }
20151 rm -f conftest.$ac_objext
20152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20153 (eval $ac_compile) 2>&5
20155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20156 (exit $ac_status); } &&
20157 { ac_try='test -s conftest.$ac_objext'
20158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20159 (eval $ac_try) 2>&5
20161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20162 (exit $ac_status); }; }; then
20163 ac_cv_c_inline=$ac_kw; break
20165 echo "$as_me: failed program was:" >&5
20166 sed 's/^/| /' conftest.$ac_ext >&5
20169 rm -f conftest.$ac_objext conftest.$ac_ext
20173 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20174 echo "${ECHO_T}$ac_cv_c_inline" >&6
20175 case $ac_cv_c_inline in
20178 cat >>confdefs.h <<\_ACEOF
20182 *) cat >>confdefs.h <<_ACEOF
20183 #define inline $ac_cv_c_inline
20189 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20190 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20191 if test "${ac_cv_c_bigendian+set}" = set; then
20192 echo $ECHO_N "(cached) $ECHO_C" >&6
20194 # See if sys/param.h defines the BYTE_ORDER macro.
20195 cat >conftest.$ac_ext <<_ACEOF
20196 #line $LINENO "configure"
20199 cat confdefs.h >>conftest.$ac_ext
20200 cat >>conftest.$ac_ext <<_ACEOF
20201 /* end confdefs.h. */
20202 #include <sys/types.h>
20203 #include <sys/param.h>
20208 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20209 bogus endian macros
20216 rm -f conftest.$ac_objext
20217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20218 (eval $ac_compile) 2>&5
20220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20221 (exit $ac_status); } &&
20222 { ac_try='test -s conftest.$ac_objext'
20223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20224 (eval $ac_try) 2>&5
20226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20227 (exit $ac_status); }; }; then
20228 # It does; now see whether it defined to BIG_ENDIAN or not.
20229 cat >conftest.$ac_ext <<_ACEOF
20230 #line $LINENO "configure"
20233 cat confdefs.h >>conftest.$ac_ext
20234 cat >>conftest.$ac_ext <<_ACEOF
20235 /* end confdefs.h. */
20236 #include <sys/types.h>
20237 #include <sys/param.h>
20242 #if BYTE_ORDER != BIG_ENDIAN
20250 rm -f conftest.$ac_objext
20251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20252 (eval $ac_compile) 2>&5
20254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20255 (exit $ac_status); } &&
20256 { ac_try='test -s conftest.$ac_objext'
20257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20258 (eval $ac_try) 2>&5
20260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20261 (exit $ac_status); }; }; then
20262 ac_cv_c_bigendian=yes
20264 echo "$as_me: failed program was:" >&5
20265 sed 's/^/| /' conftest.$ac_ext >&5
20267 ac_cv_c_bigendian=no
20269 rm -f conftest.$ac_objext conftest.$ac_ext
20271 echo "$as_me: failed program was:" >&5
20272 sed 's/^/| /' conftest.$ac_ext >&5
20274 # It does not; compile a test program.
20275 if test "$cross_compiling" = yes; then
20276 # try to guess the endianness by grepping values into an object file
20277 ac_cv_c_bigendian=unknown
20278 cat >conftest.$ac_ext <<_ACEOF
20279 #line $LINENO "configure"
20282 cat confdefs.h >>conftest.$ac_ext
20283 cat >>conftest.$ac_ext <<_ACEOF
20284 /* end confdefs.h. */
20285 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20286 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20287 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20288 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20289 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20290 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20294 _ascii (); _ebcdic ();
20299 rm -f conftest.$ac_objext
20300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20301 (eval $ac_compile) 2>&5
20303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20304 (exit $ac_status); } &&
20305 { ac_try='test -s conftest.$ac_objext'
20306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20307 (eval $ac_try) 2>&5
20309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310 (exit $ac_status); }; }; then
20311 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
20312 ac_cv_c_bigendian=yes
20314 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
20315 if test "$ac_cv_c_bigendian" = unknown; then
20316 ac_cv_c_bigendian=no
20318 # finding both strings is unlikely to happen, but who knows?
20319 ac_cv_c_bigendian=unknown
20323 echo "$as_me: failed program was:" >&5
20324 sed 's/^/| /' conftest.$ac_ext >&5
20327 rm -f conftest.$ac_objext conftest.$ac_ext
20329 cat >conftest.$ac_ext <<_ACEOF
20330 #line $LINENO "configure"
20333 cat confdefs.h >>conftest.$ac_ext
20334 cat >>conftest.$ac_ext <<_ACEOF
20335 /* end confdefs.h. */
20339 /* Are we little or big endian? From Harbison&Steele. */
20343 char c[sizeof (long)];
20346 exit (u.c[sizeof (long) - 1] == 1);
20349 rm -f conftest$ac_exeext
20350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20351 (eval $ac_link) 2>&5
20353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20356 (eval $ac_try) 2>&5
20358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20359 (exit $ac_status); }; }; then
20360 ac_cv_c_bigendian=no
20362 echo "$as_me: program exited with status $ac_status" >&5
20363 echo "$as_me: failed program was:" >&5
20364 sed 's/^/| /' conftest.$ac_ext >&5
20366 ( exit $ac_status )
20367 ac_cv_c_bigendian=yes
20369 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20372 rm -f conftest.$ac_objext conftest.$ac_ext
20374 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20375 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20376 case $ac_cv_c_bigendian in
20378 cat >>confdefs.h <<\_ACEOF
20379 #define ENDIAN_BIG 1
20383 cat >>confdefs.h <<\_ACEOF
20384 #define ENDIAN_LITTLE 1
20388 { { echo "$as_me:$LINENO: error: unknown endianness
20389 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20390 echo "$as_me: error: unknown endianness
20391 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20392 { (exit 1); exit 1; }; } ;;
20396 echo "$as_me:$LINENO: checking for pid_t" >&5
20397 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20398 if test "${ac_cv_type_pid_t+set}" = set; then
20399 echo $ECHO_N "(cached) $ECHO_C" >&6
20401 cat >conftest.$ac_ext <<_ACEOF
20402 #line $LINENO "configure"
20405 cat confdefs.h >>conftest.$ac_ext
20406 cat >>conftest.$ac_ext <<_ACEOF
20407 /* end confdefs.h. */
20408 $ac_includes_default
20414 if (sizeof (pid_t))
20420 rm -f conftest.$ac_objext
20421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20422 (eval $ac_compile) 2>&5
20424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20425 (exit $ac_status); } &&
20426 { ac_try='test -s conftest.$ac_objext'
20427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20428 (eval $ac_try) 2>&5
20430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20431 (exit $ac_status); }; }; then
20432 ac_cv_type_pid_t=yes
20434 echo "$as_me: failed program was:" >&5
20435 sed 's/^/| /' conftest.$ac_ext >&5
20437 ac_cv_type_pid_t=no
20439 rm -f conftest.$ac_objext conftest.$ac_ext
20441 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20442 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20443 if test $ac_cv_type_pid_t = yes; then
20447 cat >>confdefs.h <<_ACEOF
20453 echo "$as_me:$LINENO: checking for size_t" >&5
20454 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20455 if test "${ac_cv_type_size_t+set}" = set; then
20456 echo $ECHO_N "(cached) $ECHO_C" >&6
20458 cat >conftest.$ac_ext <<_ACEOF
20459 #line $LINENO "configure"
20462 cat confdefs.h >>conftest.$ac_ext
20463 cat >>conftest.$ac_ext <<_ACEOF
20464 /* end confdefs.h. */
20465 $ac_includes_default
20471 if (sizeof (size_t))
20477 rm -f conftest.$ac_objext
20478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20479 (eval $ac_compile) 2>&5
20481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20482 (exit $ac_status); } &&
20483 { ac_try='test -s conftest.$ac_objext'
20484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20485 (eval $ac_try) 2>&5
20487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20488 (exit $ac_status); }; }; then
20489 ac_cv_type_size_t=yes
20491 echo "$as_me: failed program was:" >&5
20492 sed 's/^/| /' conftest.$ac_ext >&5
20494 ac_cv_type_size_t=no
20496 rm -f conftest.$ac_objext conftest.$ac_ext
20498 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20499 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20500 if test $ac_cv_type_size_t = yes; then
20504 cat >>confdefs.h <<_ACEOF
20505 #define size_t unsigned
20510 echo "$as_me:$LINENO: checking for int64_t" >&5
20511 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
20512 if test "${ac_cv_type_int64_t+set}" = set; then
20513 echo $ECHO_N "(cached) $ECHO_C" >&6
20515 cat >conftest.$ac_ext <<_ACEOF
20516 #line $LINENO "configure"
20519 cat confdefs.h >>conftest.$ac_ext
20520 cat >>conftest.$ac_ext <<_ACEOF
20521 /* end confdefs.h. */
20522 $ac_includes_default
20528 if (sizeof (int64_t))
20534 rm -f conftest.$ac_objext
20535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20536 (eval $ac_compile) 2>&5
20538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20539 (exit $ac_status); } &&
20540 { ac_try='test -s conftest.$ac_objext'
20541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20542 (eval $ac_try) 2>&5
20544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20545 (exit $ac_status); }; }; then
20546 ac_cv_type_int64_t=yes
20548 echo "$as_me: failed program was:" >&5
20549 sed 's/^/| /' conftest.$ac_ext >&5
20551 ac_cv_type_int64_t=no
20553 rm -f conftest.$ac_objext conftest.$ac_ext
20555 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
20556 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
20557 if test $ac_cv_type_int64_t = yes; then
20559 cat >>confdefs.h <<_ACEOF
20560 #define HAVE_INT64_T 1
20565 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
20566 echo "$as_me: error: Type int64_t required but not found" >&2;}
20567 { (exit 1); exit 1; }; }
20570 echo "$as_me:$LINENO: checking for uint64_t" >&5
20571 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
20572 if test "${ac_cv_type_uint64_t+set}" = set; then
20573 echo $ECHO_N "(cached) $ECHO_C" >&6
20575 cat >conftest.$ac_ext <<_ACEOF
20576 #line $LINENO "configure"
20579 cat confdefs.h >>conftest.$ac_ext
20580 cat >>conftest.$ac_ext <<_ACEOF
20581 /* end confdefs.h. */
20582 $ac_includes_default
20586 if ((uint64_t *) 0)
20588 if (sizeof (uint64_t))
20594 rm -f conftest.$ac_objext
20595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20596 (eval $ac_compile) 2>&5
20598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20599 (exit $ac_status); } &&
20600 { ac_try='test -s conftest.$ac_objext'
20601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20602 (eval $ac_try) 2>&5
20604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20605 (exit $ac_status); }; }; then
20606 ac_cv_type_uint64_t=yes
20608 echo "$as_me: failed program was:" >&5
20609 sed 's/^/| /' conftest.$ac_ext >&5
20611 ac_cv_type_uint64_t=no
20613 rm -f conftest.$ac_objext conftest.$ac_ext
20615 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
20616 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
20617 if test $ac_cv_type_uint64_t = yes; then
20619 cat >>confdefs.h <<_ACEOF
20620 #define HAVE_UINT64_T 1
20625 { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5
20626 echo "$as_me: error: Type uint64_t required but not found" >&2;}
20627 { (exit 1); exit 1; }; }
20630 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20631 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20632 if test "${ac_cv_header_time+set}" = set; then
20633 echo $ECHO_N "(cached) $ECHO_C" >&6
20635 cat >conftest.$ac_ext <<_ACEOF
20636 #line $LINENO "configure"
20639 cat confdefs.h >>conftest.$ac_ext
20640 cat >>conftest.$ac_ext <<_ACEOF
20641 /* end confdefs.h. */
20642 #include <sys/types.h>
20643 #include <sys/time.h>
20649 if ((struct tm *) 0)
20655 rm -f conftest.$ac_objext
20656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20657 (eval $ac_compile) 2>&5
20659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20660 (exit $ac_status); } &&
20661 { ac_try='test -s conftest.$ac_objext'
20662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20663 (eval $ac_try) 2>&5
20665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20666 (exit $ac_status); }; }; then
20667 ac_cv_header_time=yes
20669 echo "$as_me: failed program was:" >&5
20670 sed 's/^/| /' conftest.$ac_ext >&5
20672 ac_cv_header_time=no
20674 rm -f conftest.$ac_objext conftest.$ac_ext
20676 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20677 echo "${ECHO_T}$ac_cv_header_time" >&6
20678 if test $ac_cv_header_time = yes; then
20680 cat >>confdefs.h <<\_ACEOF
20681 #define TIME_WITH_SYS_TIME 1
20686 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20687 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
20688 if test "${ac_cv_struct_tm+set}" = set; then
20689 echo $ECHO_N "(cached) $ECHO_C" >&6
20691 cat >conftest.$ac_ext <<_ACEOF
20692 #line $LINENO "configure"
20695 cat confdefs.h >>conftest.$ac_ext
20696 cat >>conftest.$ac_ext <<_ACEOF
20697 /* end confdefs.h. */
20698 #include <sys/types.h>
20704 struct tm *tp; tp->tm_sec;
20709 rm -f conftest.$ac_objext
20710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20711 (eval $ac_compile) 2>&5
20713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20714 (exit $ac_status); } &&
20715 { ac_try='test -s conftest.$ac_objext'
20716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20717 (eval $ac_try) 2>&5
20719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20720 (exit $ac_status); }; }; then
20721 ac_cv_struct_tm=time.h
20723 echo "$as_me: failed program was:" >&5
20724 sed 's/^/| /' conftest.$ac_ext >&5
20726 ac_cv_struct_tm=sys/time.h
20728 rm -f conftest.$ac_objext conftest.$ac_ext
20730 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20731 echo "${ECHO_T}$ac_cv_struct_tm" >&6
20732 if test $ac_cv_struct_tm = sys/time.h; then
20734 cat >>confdefs.h <<\_ACEOF
20735 #define TM_IN_SYS_TIME 1
20741 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
20742 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
20743 if test "${ac_cv_cxx_namespaces+set}" = set; then
20744 echo $ECHO_N "(cached) $ECHO_C" >&6
20749 ac_cpp='$CXXCPP $CPPFLAGS'
20750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20754 cat >conftest.$ac_ext <<_ACEOF
20755 #line $LINENO "configure"
20758 cat confdefs.h >>conftest.$ac_ext
20759 cat >>conftest.$ac_ext <<_ACEOF
20760 /* end confdefs.h. */
20761 namespace Outer { namespace Inner { int i = 0; }}
20765 using namespace Outer::Inner; return i;
20770 rm -f conftest.$ac_objext
20771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20772 (eval $ac_compile) 2>&5
20774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20775 (exit $ac_status); } &&
20776 { ac_try='test -s conftest.$ac_objext'
20777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20778 (eval $ac_try) 2>&5
20780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781 (exit $ac_status); }; }; then
20782 ac_cv_cxx_namespaces=yes
20784 echo "$as_me: failed program was:" >&5
20785 sed 's/^/| /' conftest.$ac_ext >&5
20787 ac_cv_cxx_namespaces=no
20789 rm -f conftest.$ac_objext conftest.$ac_ext
20791 ac_cpp='$CPP $CPPFLAGS'
20792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20798 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
20799 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
20800 if test "$ac_cv_cxx_namespaces" = yes; then
20802 cat >>confdefs.h <<\_ACEOF
20803 #define HAVE_NAMESPACES
20808 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_map" >&5
20809 echo $ECHO_N "checking whether the compiler has ext/hash_map... $ECHO_C" >&6
20810 if test "${ac_cv_cxx_have_ext_hash_map+set}" = set; then
20811 echo $ECHO_N "(cached) $ECHO_C" >&6
20817 ac_cpp='$CXXCPP $CPPFLAGS'
20818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20822 cat >conftest.$ac_ext <<_ACEOF
20823 #line $LINENO "configure"
20826 cat confdefs.h >>conftest.$ac_ext
20827 cat >>conftest.$ac_ext <<_ACEOF
20828 /* end confdefs.h. */
20829 #include <ext/hash_map>
20830 #ifdef HAVE_NAMESPACES
20831 using namespace std;
20836 hash_map<int, int> t; return 0;
20841 rm -f conftest.$ac_objext
20842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20843 (eval $ac_compile) 2>&5
20845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20846 (exit $ac_status); } &&
20847 { ac_try='test -s conftest.$ac_objext'
20848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20849 (eval $ac_try) 2>&5
20851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20852 (exit $ac_status); }; }; then
20853 ac_cv_cxx_have_ext_hash_map=std
20855 echo "$as_me: failed program was:" >&5
20856 sed 's/^/| /' conftest.$ac_ext >&5
20858 ac_cv_cxx_have_ext_hash_map=no
20860 rm -f conftest.$ac_objext conftest.$ac_ext
20861 cat >conftest.$ac_ext <<_ACEOF
20862 #line $LINENO "configure"
20865 cat confdefs.h >>conftest.$ac_ext
20866 cat >>conftest.$ac_ext <<_ACEOF
20867 /* end confdefs.h. */
20868 #include <ext/hash_map>
20869 #ifdef HAVE_NAMESPACES
20870 using namespace __gnu_cxx;
20875 hash_map<int, int> t; return 0;
20880 rm -f conftest.$ac_objext
20881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20882 (eval $ac_compile) 2>&5
20884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20885 (exit $ac_status); } &&
20886 { ac_try='test -s conftest.$ac_objext'
20887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20888 (eval $ac_try) 2>&5
20890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20891 (exit $ac_status); }; }; then
20892 ac_cv_cxx_have_ext_hash_map=gnu
20894 echo "$as_me: failed program was:" >&5
20895 sed 's/^/| /' conftest.$ac_ext >&5
20897 ac_cv_cxx_have_ext_hash_map=no
20899 rm -f conftest.$ac_objext conftest.$ac_ext
20901 ac_cpp='$CPP $CPPFLAGS'
20902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20908 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_map" >&5
20909 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_map" >&6
20910 if test "$ac_cv_cxx_have_ext_hash_map" = std; then
20912 cat >>confdefs.h <<\_ACEOF
20913 #define HAVE_STD_EXT_HASH_MAP
20917 if test "$ac_cv_cxx_have_ext_hash_map" = gnu; then
20919 cat >>confdefs.h <<\_ACEOF
20920 #define HAVE_GNU_EXT_HASH_MAP
20925 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_set" >&5
20926 echo $ECHO_N "checking whether the compiler has ext/hash_set... $ECHO_C" >&6
20927 if test "${ac_cv_cxx_have_ext_hash_set+set}" = set; then
20928 echo $ECHO_N "(cached) $ECHO_C" >&6
20934 ac_cpp='$CXXCPP $CPPFLAGS'
20935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20939 cat >conftest.$ac_ext <<_ACEOF
20940 #line $LINENO "configure"
20943 cat confdefs.h >>conftest.$ac_ext
20944 cat >>conftest.$ac_ext <<_ACEOF
20945 /* end confdefs.h. */
20946 #include <ext/hash_set>
20947 #ifdef HAVE_NAMESPACES
20948 using namespace std;
20953 hash_set<int> t; return 0;
20958 rm -f conftest.$ac_objext
20959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20960 (eval $ac_compile) 2>&5
20962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20963 (exit $ac_status); } &&
20964 { ac_try='test -s conftest.$ac_objext'
20965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20966 (eval $ac_try) 2>&5
20968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20969 (exit $ac_status); }; }; then
20970 ac_cv_cxx_have_ext_hash_set=std
20972 echo "$as_me: failed program was:" >&5
20973 sed 's/^/| /' conftest.$ac_ext >&5
20975 ac_cv_cxx_have_ext_hash_set=no
20977 rm -f conftest.$ac_objext conftest.$ac_ext
20978 cat >conftest.$ac_ext <<_ACEOF
20979 #line $LINENO "configure"
20982 cat confdefs.h >>conftest.$ac_ext
20983 cat >>conftest.$ac_ext <<_ACEOF
20984 /* end confdefs.h. */
20985 #include <ext/hash_set>
20986 #ifdef HAVE_NAMESPACES
20987 using namespace __gnu_cxx;
20992 hash_set<int> t; return 0;
20997 rm -f conftest.$ac_objext
20998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20999 (eval $ac_compile) 2>&5
21001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21002 (exit $ac_status); } &&
21003 { ac_try='test -s conftest.$ac_objext'
21004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21005 (eval $ac_try) 2>&5
21007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21008 (exit $ac_status); }; }; then
21009 ac_cv_cxx_have_ext_hash_set=gnu
21011 echo "$as_me: failed program was:" >&5
21012 sed 's/^/| /' conftest.$ac_ext >&5
21014 ac_cv_cxx_have_ext_hash_set=no
21016 rm -f conftest.$ac_objext conftest.$ac_ext
21018 ac_cpp='$CPP $CPPFLAGS'
21019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21025 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_set" >&5
21026 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_set" >&6
21027 if test "$ac_cv_cxx_have_ext_hash_set" = std; then
21029 cat >>confdefs.h <<\_ACEOF
21030 #define HAVE_STD_EXT_HASH_SET
21034 if test "$ac_cv_cxx_have_ext_hash_set" = gnu; then
21036 cat >>confdefs.h <<\_ACEOF
21037 #define HAVE_GNU_EXT_HASH_SET
21042 echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5
21043 echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6
21044 if test "${ac_cv_cxx_have_ext_slist+set}" = set; then
21045 echo $ECHO_N "(cached) $ECHO_C" >&6
21051 ac_cpp='$CXXCPP $CPPFLAGS'
21052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21056 cat >conftest.$ac_ext <<_ACEOF
21057 #line $LINENO "configure"
21060 cat confdefs.h >>conftest.$ac_ext
21061 cat >>conftest.$ac_ext <<_ACEOF
21062 /* end confdefs.h. */
21063 #include <ext/slist>
21064 #ifdef HAVE_NAMESPACES
21065 using namespace std;
21070 slist<int> s; return 0;
21075 rm -f conftest.$ac_objext
21076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21077 (eval $ac_compile) 2>&5
21079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21080 (exit $ac_status); } &&
21081 { ac_try='test -s conftest.$ac_objext'
21082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21083 (eval $ac_try) 2>&5
21085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21086 (exit $ac_status); }; }; then
21087 ac_cv_cxx_have_ext_slist=std
21089 echo "$as_me: failed program was:" >&5
21090 sed 's/^/| /' conftest.$ac_ext >&5
21092 ac_cv_cxx_have_ext_slist=no
21094 rm -f conftest.$ac_objext conftest.$ac_ext
21095 cat >conftest.$ac_ext <<_ACEOF
21096 #line $LINENO "configure"
21099 cat confdefs.h >>conftest.$ac_ext
21100 cat >>conftest.$ac_ext <<_ACEOF
21101 /* end confdefs.h. */
21102 #include <ext/slist>
21103 #ifdef HAVE_NAMESPACES
21104 using namespace __gnu_cxx;
21109 slist<int> s; return 0;
21114 rm -f conftest.$ac_objext
21115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21116 (eval $ac_compile) 2>&5
21118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21119 (exit $ac_status); } &&
21120 { ac_try='test -s conftest.$ac_objext'
21121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21122 (eval $ac_try) 2>&5
21124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21125 (exit $ac_status); }; }; then
21126 ac_cv_cxx_have_ext_slist=gnu
21128 echo "$as_me: failed program was:" >&5
21129 sed 's/^/| /' conftest.$ac_ext >&5
21131 ac_cv_cxx_have_ext_slist=no
21133 rm -f conftest.$ac_objext conftest.$ac_ext
21136 ac_cpp='$CPP $CPPFLAGS'
21137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21143 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5
21144 echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6
21145 if test "$ac_cv_cxx_have_ext_slist" = std; then
21147 cat >>confdefs.h <<\_ACEOF
21148 #define HAVE_EXT_SLIST std
21152 if test "$ac_cv_cxx_have_ext_slist" = gnu; then
21154 cat >>confdefs.h <<\_ACEOF
21155 #define HAVE_EXT_SLIST gnu
21160 echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
21161 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6
21162 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
21163 echo $ECHO_N "(cached) $ECHO_C" >&6
21169 ac_cpp='$CXXCPP $CPPFLAGS'
21170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21174 cat >conftest.$ac_ext <<_ACEOF
21175 #line $LINENO "configure"
21178 cat confdefs.h >>conftest.$ac_ext
21179 cat >>conftest.$ac_ext <<_ACEOF
21180 /* end confdefs.h. */
21181 #include <iterator>
21182 #ifdef HAVE_NAMESPACES
21183 using namespace std;
21188 iterator<int,int,int> t; return 0;
21193 rm -f conftest.$ac_objext
21194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21195 (eval $ac_compile) 2>&5
21197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21198 (exit $ac_status); } &&
21199 { ac_try='test -s conftest.$ac_objext'
21200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21201 (eval $ac_try) 2>&5
21203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21204 (exit $ac_status); }; }; then
21205 ac_cv_cxx_have_std_iterator=yes
21207 echo "$as_me: failed program was:" >&5
21208 sed 's/^/| /' conftest.$ac_ext >&5
21210 ac_cv_cxx_have_std_iterator=no
21212 rm -f conftest.$ac_objext conftest.$ac_ext
21214 ac_cpp='$CPP $CPPFLAGS'
21215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21221 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
21222 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6
21223 if test "$ac_cv_cxx_have_std_iterator" = yes; then
21225 cat >>confdefs.h <<\_ACEOF
21226 #define HAVE_STD_ITERATOR
21231 echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
21232 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6
21233 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
21234 echo $ECHO_N "(cached) $ECHO_C" >&6
21240 ac_cpp='$CXXCPP $CPPFLAGS'
21241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21245 cat >conftest.$ac_ext <<_ACEOF
21246 #line $LINENO "configure"
21249 cat confdefs.h >>conftest.$ac_ext
21250 cat >>conftest.$ac_ext <<_ACEOF
21251 /* end confdefs.h. */
21252 #include <iterator>
21253 #ifdef HAVE_NAMESPACES
21254 using namespace std;
21259 bidirectional_iterator<int,int> t; return 0;
21264 rm -f conftest.$ac_objext
21265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21266 (eval $ac_compile) 2>&5
21268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21269 (exit $ac_status); } &&
21270 { ac_try='test -s conftest.$ac_objext'
21271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21272 (eval $ac_try) 2>&5
21274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21275 (exit $ac_status); }; }; then
21276 ac_cv_cxx_have_bi_iterator=yes
21278 echo "$as_me: failed program was:" >&5
21279 sed 's/^/| /' conftest.$ac_ext >&5
21281 ac_cv_cxx_have_bi_iterator=no
21283 rm -f conftest.$ac_objext conftest.$ac_ext
21285 ac_cpp='$CPP $CPPFLAGS'
21286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21292 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
21293 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6
21294 if test "$ac_cv_cxx_have_bi_iterator" = yes; then
21296 cat >>confdefs.h <<\_ACEOF
21297 #define HAVE_BI_ITERATOR
21302 echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
21303 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6
21304 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
21305 echo $ECHO_N "(cached) $ECHO_C" >&6
21311 ac_cpp='$CXXCPP $CPPFLAGS'
21312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21316 cat >conftest.$ac_ext <<_ACEOF
21317 #line $LINENO "configure"
21320 cat confdefs.h >>conftest.$ac_ext
21321 cat >>conftest.$ac_ext <<_ACEOF
21322 /* end confdefs.h. */
21323 #include <iterator>
21324 #ifdef HAVE_NAMESPACES
21325 using namespace std;
21330 forward_iterator<int,int> t; return 0;
21335 rm -f conftest.$ac_objext
21336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21337 (eval $ac_compile) 2>&5
21339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21340 (exit $ac_status); } &&
21341 { ac_try='test -s conftest.$ac_objext'
21342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21343 (eval $ac_try) 2>&5
21345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21346 (exit $ac_status); }; }; then
21347 ac_cv_cxx_have_fwd_iterator=yes
21349 echo "$as_me: failed program was:" >&5
21350 sed 's/^/| /' conftest.$ac_ext >&5
21352 ac_cv_cxx_have_fwd_iterator=no
21354 rm -f conftest.$ac_objext conftest.$ac_ext
21356 ac_cpp='$CPP $CPPFLAGS'
21357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21363 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
21364 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6
21365 if test "$ac_cv_cxx_have_fwd_iterator" = yes; then
21367 cat >>confdefs.h <<\_ACEOF
21368 #define HAVE_FWD_ITERATOR
21374 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21375 # for constant arguments. Useless!
21376 echo "$as_me:$LINENO: checking for working alloca.h" >&5
21377 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
21378 if test "${ac_cv_working_alloca_h+set}" = set; then
21379 echo $ECHO_N "(cached) $ECHO_C" >&6
21381 cat >conftest.$ac_ext <<_ACEOF
21382 #line $LINENO "configure"
21385 cat confdefs.h >>conftest.$ac_ext
21386 cat >>conftest.$ac_ext <<_ACEOF
21387 /* end confdefs.h. */
21388 #include <alloca.h>
21392 char *p = (char *) alloca (2 * sizeof (int));
21397 rm -f conftest.$ac_objext conftest$ac_exeext
21398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21399 (eval $ac_link) 2>&5
21401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21402 (exit $ac_status); } &&
21403 { ac_try='test -s conftest$ac_exeext'
21404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21405 (eval $ac_try) 2>&5
21407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21408 (exit $ac_status); }; }; then
21409 ac_cv_working_alloca_h=yes
21411 echo "$as_me: failed program was:" >&5
21412 sed 's/^/| /' conftest.$ac_ext >&5
21414 ac_cv_working_alloca_h=no
21416 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21418 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21419 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
21420 if test $ac_cv_working_alloca_h = yes; then
21422 cat >>confdefs.h <<\_ACEOF
21423 #define HAVE_ALLOCA_H 1
21428 echo "$as_me:$LINENO: checking for alloca" >&5
21429 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
21430 if test "${ac_cv_func_alloca_works+set}" = set; then
21431 echo $ECHO_N "(cached) $ECHO_C" >&6
21433 cat >conftest.$ac_ext <<_ACEOF
21434 #line $LINENO "configure"
21437 cat confdefs.h >>conftest.$ac_ext
21438 cat >>conftest.$ac_ext <<_ACEOF
21439 /* end confdefs.h. */
21441 # define alloca __builtin_alloca
21444 # include <malloc.h>
21445 # define alloca _alloca
21448 # include <alloca.h>
21453 # ifndef alloca /* predefined by HP cc +Olibcalls */
21464 char *p = (char *) alloca (1);
21469 rm -f conftest.$ac_objext conftest$ac_exeext
21470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21471 (eval $ac_link) 2>&5
21473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21474 (exit $ac_status); } &&
21475 { ac_try='test -s conftest$ac_exeext'
21476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21477 (eval $ac_try) 2>&5
21479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21480 (exit $ac_status); }; }; then
21481 ac_cv_func_alloca_works=yes
21483 echo "$as_me: failed program was:" >&5
21484 sed 's/^/| /' conftest.$ac_ext >&5
21486 ac_cv_func_alloca_works=no
21488 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21490 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21491 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
21493 if test $ac_cv_func_alloca_works = yes; then
21495 cat >>confdefs.h <<\_ACEOF
21496 #define HAVE_ALLOCA 1
21500 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21501 # that cause trouble. Some versions do not even contain alloca or
21502 # contain a buggy version. If you still want to use their alloca,
21503 # use ar to extract alloca.o from them instead of compiling alloca.c.
21505 ALLOCA=alloca.$ac_objext
21507 cat >>confdefs.h <<\_ACEOF
21512 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21513 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
21514 if test "${ac_cv_os_cray+set}" = set; then
21515 echo $ECHO_N "(cached) $ECHO_C" >&6
21517 cat >conftest.$ac_ext <<_ACEOF
21518 #line $LINENO "configure"
21521 cat confdefs.h >>conftest.$ac_ext
21522 cat >>conftest.$ac_ext <<_ACEOF
21523 /* end confdefs.h. */
21524 #if defined(CRAY) && ! defined(CRAY2)
21531 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21532 $EGREP "webecray" >/dev/null 2>&1; then
21540 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
21541 echo "${ECHO_T}$ac_cv_os_cray" >&6
21542 if test $ac_cv_os_cray = yes; then
21543 for ac_func in _getb67 GETB67 getb67; do
21544 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21545 echo "$as_me:$LINENO: checking for $ac_func" >&5
21546 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21547 if eval "test \"\${$as_ac_var+set}\" = set"; then
21548 echo $ECHO_N "(cached) $ECHO_C" >&6
21550 cat >conftest.$ac_ext <<_ACEOF
21551 #line $LINENO "configure"
21554 cat confdefs.h >>conftest.$ac_ext
21555 cat >>conftest.$ac_ext <<_ACEOF
21556 /* end confdefs.h. */
21557 /* System header to define __stub macros and hopefully few prototypes,
21558 which can conflict with char $ac_func (); below.
21559 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21560 <limits.h> exists even on freestanding compilers. */
21562 # include <limits.h>
21564 # include <assert.h>
21566 /* Override any gcc2 internal prototype to avoid an error. */
21571 /* We use char because int might match the return type of a gcc2
21572 builtin and then its argument prototype would still apply. */
21574 /* The GNU C library defines this for functions which it implements
21575 to always fail with ENOSYS. Some functions are actually named
21576 something starting with __ and the normal name is an alias. */
21577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21580 char (*f) () = $ac_func;
21589 return f != $ac_func;
21594 rm -f conftest.$ac_objext conftest$ac_exeext
21595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21596 (eval $ac_link) 2>&5
21598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21599 (exit $ac_status); } &&
21600 { ac_try='test -s conftest$ac_exeext'
21601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21602 (eval $ac_try) 2>&5
21604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21605 (exit $ac_status); }; }; then
21606 eval "$as_ac_var=yes"
21608 echo "$as_me: failed program was:" >&5
21609 sed 's/^/| /' conftest.$ac_ext >&5
21611 eval "$as_ac_var=no"
21613 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21617 if test `eval echo '${'$as_ac_var'}'` = yes; then
21619 cat >>confdefs.h <<_ACEOF
21620 #define CRAY_STACKSEG_END $ac_func
21629 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21630 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
21631 if test "${ac_cv_c_stack_direction+set}" = set; then
21632 echo $ECHO_N "(cached) $ECHO_C" >&6
21634 if test "$cross_compiling" = yes; then
21635 ac_cv_c_stack_direction=0
21637 cat >conftest.$ac_ext <<_ACEOF
21638 #line $LINENO "configure"
21641 cat confdefs.h >>conftest.$ac_ext
21642 cat >>conftest.$ac_ext <<_ACEOF
21643 /* end confdefs.h. */
21645 find_stack_direction ()
21647 static char *addr = 0;
21652 return find_stack_direction ();
21655 return (&dummy > addr) ? 1 : -1;
21661 exit (find_stack_direction () < 0);
21664 rm -f conftest$ac_exeext
21665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21666 (eval $ac_link) 2>&5
21668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21669 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21671 (eval $ac_try) 2>&5
21673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21674 (exit $ac_status); }; }; then
21675 ac_cv_c_stack_direction=1
21677 echo "$as_me: program exited with status $ac_status" >&5
21678 echo "$as_me: failed program was:" >&5
21679 sed 's/^/| /' conftest.$ac_ext >&5
21681 ( exit $ac_status )
21682 ac_cv_c_stack_direction=-1
21684 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21687 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21688 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
21690 cat >>confdefs.h <<_ACEOF
21691 #define STACK_DIRECTION $ac_cv_c_stack_direction
21697 if test $ac_cv_c_compiler_gnu = yes; then
21698 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
21699 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
21700 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
21701 echo $ECHO_N "(cached) $ECHO_C" >&6
21703 ac_pattern="Autoconf.*'x'"
21704 cat >conftest.$ac_ext <<_ACEOF
21705 #line $LINENO "configure"
21708 cat confdefs.h >>conftest.$ac_ext
21709 cat >>conftest.$ac_ext <<_ACEOF
21710 /* end confdefs.h. */
21714 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21715 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21716 ac_cv_prog_gcc_traditional=yes
21718 ac_cv_prog_gcc_traditional=no
21723 if test $ac_cv_prog_gcc_traditional = no; then
21724 cat >conftest.$ac_ext <<_ACEOF
21725 #line $LINENO "configure"
21728 cat confdefs.h >>conftest.$ac_ext
21729 cat >>conftest.$ac_ext <<_ACEOF
21730 /* end confdefs.h. */
21731 #include <termio.h>
21734 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21735 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21736 ac_cv_prog_gcc_traditional=yes
21742 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
21743 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
21744 if test $ac_cv_prog_gcc_traditional = yes; then
21745 CC="$CC -traditional"
21749 echo "$as_me:$LINENO: checking for working memcmp" >&5
21750 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
21751 if test "${ac_cv_func_memcmp_working+set}" = set; then
21752 echo $ECHO_N "(cached) $ECHO_C" >&6
21754 if test "$cross_compiling" = yes; then
21755 ac_cv_func_memcmp_working=no
21757 cat >conftest.$ac_ext <<_ACEOF
21758 #line $LINENO "configure"
21761 cat confdefs.h >>conftest.$ac_ext
21762 cat >>conftest.$ac_ext <<_ACEOF
21763 /* end confdefs.h. */
21769 /* Some versions of memcmp are not 8-bit clean. */
21770 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
21771 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
21774 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
21775 or more and with at least one buffer not starting on a 4-byte boundary.
21776 William Lewis provided this test program. */
21781 for (i = 0; i < 4; i++)
21785 strcpy (a, "--------01111111");
21786 strcpy (b, "--------10000000");
21787 if (memcmp (a, b, 16) >= 0)
21797 rm -f conftest$ac_exeext
21798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21799 (eval $ac_link) 2>&5
21801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21802 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21804 (eval $ac_try) 2>&5
21806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21807 (exit $ac_status); }; }; then
21808 ac_cv_func_memcmp_working=yes
21810 echo "$as_me: program exited with status $ac_status" >&5
21811 echo "$as_me: failed program was:" >&5
21812 sed 's/^/| /' conftest.$ac_ext >&5
21814 ( exit $ac_status )
21815 ac_cv_func_memcmp_working=no
21817 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21820 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
21821 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
21822 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
21826 for ac_header in stdlib.h unistd.h
21828 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21829 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21830 echo "$as_me:$LINENO: checking for $ac_header" >&5
21831 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21832 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21833 echo $ECHO_N "(cached) $ECHO_C" >&6
21835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21836 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21838 # Is the header compilable?
21839 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21840 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21841 cat >conftest.$ac_ext <<_ACEOF
21842 #line $LINENO "configure"
21845 cat confdefs.h >>conftest.$ac_ext
21846 cat >>conftest.$ac_ext <<_ACEOF
21847 /* end confdefs.h. */
21848 $ac_includes_default
21849 #include <$ac_header>
21851 rm -f conftest.$ac_objext
21852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21853 (eval $ac_compile) 2>&5
21855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21856 (exit $ac_status); } &&
21857 { ac_try='test -s conftest.$ac_objext'
21858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21859 (eval $ac_try) 2>&5
21861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21862 (exit $ac_status); }; }; then
21863 ac_header_compiler=yes
21865 echo "$as_me: failed program was:" >&5
21866 sed 's/^/| /' conftest.$ac_ext >&5
21868 ac_header_compiler=no
21870 rm -f conftest.$ac_objext conftest.$ac_ext
21871 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21872 echo "${ECHO_T}$ac_header_compiler" >&6
21874 # Is the header present?
21875 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21876 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21877 cat >conftest.$ac_ext <<_ACEOF
21878 #line $LINENO "configure"
21881 cat confdefs.h >>conftest.$ac_ext
21882 cat >>conftest.$ac_ext <<_ACEOF
21883 /* end confdefs.h. */
21884 #include <$ac_header>
21886 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21887 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21889 grep -v '^ *+' conftest.er1 >conftest.err
21891 cat conftest.err >&5
21892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21893 (exit $ac_status); } >/dev/null; then
21894 if test -s conftest.err; then
21895 ac_cpp_err=$ac_c_preproc_warn_flag
21902 if test -z "$ac_cpp_err"; then
21903 ac_header_preproc=yes
21905 echo "$as_me: failed program was:" >&5
21906 sed 's/^/| /' conftest.$ac_ext >&5
21908 ac_header_preproc=no
21910 rm -f conftest.err conftest.$ac_ext
21911 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21912 echo "${ECHO_T}$ac_header_preproc" >&6
21914 # So? What about this header?
21915 case $ac_header_compiler:$ac_header_preproc in
21917 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21918 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21919 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21920 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21923 ## ------------------------------------ ##
21924 ## Report this to bug-autoconf@gnu.org. ##
21925 ## ------------------------------------ ##
21928 sed "s/^/$as_me: WARNING: /" >&2
21931 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21932 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21933 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21934 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21935 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21936 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21939 ## ------------------------------------ ##
21940 ## Report this to bug-autoconf@gnu.org. ##
21941 ## ------------------------------------ ##
21944 sed "s/^/$as_me: WARNING: /" >&2
21947 echo "$as_me:$LINENO: checking for $ac_header" >&5
21948 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21950 echo $ECHO_N "(cached) $ECHO_C" >&6
21952 eval "$as_ac_Header=$ac_header_preproc"
21954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21955 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21958 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21959 cat >>confdefs.h <<_ACEOF
21960 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21968 for ac_func in getpagesize
21970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21971 echo "$as_me:$LINENO: checking for $ac_func" >&5
21972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21973 if eval "test \"\${$as_ac_var+set}\" = set"; then
21974 echo $ECHO_N "(cached) $ECHO_C" >&6
21976 cat >conftest.$ac_ext <<_ACEOF
21977 #line $LINENO "configure"
21980 cat confdefs.h >>conftest.$ac_ext
21981 cat >>conftest.$ac_ext <<_ACEOF
21982 /* end confdefs.h. */
21983 /* System header to define __stub macros and hopefully few prototypes,
21984 which can conflict with char $ac_func (); below.
21985 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21986 <limits.h> exists even on freestanding compilers. */
21988 # include <limits.h>
21990 # include <assert.h>
21992 /* Override any gcc2 internal prototype to avoid an error. */
21997 /* We use char because int might match the return type of a gcc2
21998 builtin and then its argument prototype would still apply. */
22000 /* The GNU C library defines this for functions which it implements
22001 to always fail with ENOSYS. Some functions are actually named
22002 something starting with __ and the normal name is an alias. */
22003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22006 char (*f) () = $ac_func;
22015 return f != $ac_func;
22020 rm -f conftest.$ac_objext conftest$ac_exeext
22021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22022 (eval $ac_link) 2>&5
22024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22025 (exit $ac_status); } &&
22026 { ac_try='test -s conftest$ac_exeext'
22027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22028 (eval $ac_try) 2>&5
22030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22031 (exit $ac_status); }; }; then
22032 eval "$as_ac_var=yes"
22034 echo "$as_me: failed program was:" >&5
22035 sed 's/^/| /' conftest.$ac_ext >&5
22037 eval "$as_ac_var=no"
22039 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22043 if test `eval echo '${'$as_ac_var'}'` = yes; then
22044 cat >>confdefs.h <<_ACEOF
22045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22051 echo "$as_me:$LINENO: checking for working mmap" >&5
22052 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
22053 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
22054 echo $ECHO_N "(cached) $ECHO_C" >&6
22056 if test "$cross_compiling" = yes; then
22057 ac_cv_func_mmap_fixed_mapped=no
22059 cat >conftest.$ac_ext <<_ACEOF
22060 #line $LINENO "configure"
22063 cat confdefs.h >>conftest.$ac_ext
22064 cat >>conftest.$ac_ext <<_ACEOF
22065 /* end confdefs.h. */
22066 $ac_includes_default
22067 /* malloc might have been renamed as rpl_malloc. */
22070 /* Thanks to Mike Haertel and Jim Avera for this test.
22071 Here is a matrix of mmap possibilities:
22072 mmap private not fixed
22073 mmap private fixed at somewhere currently unmapped
22074 mmap private fixed at somewhere already mapped
22075 mmap shared not fixed
22076 mmap shared fixed at somewhere currently unmapped
22077 mmap shared fixed at somewhere already mapped
22078 For private mappings, we should verify that changes cannot be read()
22079 back from the file, nor mmap's back from the file at a different
22080 address. (There have been systems where private was not correctly
22081 implemented like the infamous i386 svr4.0, and systems where the
22082 VM page cache was not coherent with the file system buffer cache
22083 like early versions of FreeBSD and possibly contemporary NetBSD.)
22084 For shared mappings, we should conversely verify that changes get
22085 propagated back to all the places they're supposed to be.
22087 Grep wants private fixed already mapped.
22088 The main things grep needs to know about mmap are:
22089 * does it exist and is it safe to write into the mmap'd area
22090 * how to use it (BSD variants) */
22093 #include <sys/mman.h>
22095 #if !STDC_HEADERS && !HAVE_STDLIB_H
22099 /* This mess was copied from the GNU getpagesize.h. */
22100 #if !HAVE_GETPAGESIZE
22101 /* Assume that all systems that can run configure have sys/param.h. */
22102 # if !HAVE_SYS_PARAM_H
22103 # define HAVE_SYS_PARAM_H 1
22106 # ifdef _SC_PAGESIZE
22107 # define getpagesize() sysconf(_SC_PAGESIZE)
22108 # else /* no _SC_PAGESIZE */
22109 # if HAVE_SYS_PARAM_H
22110 # include <sys/param.h>
22111 # ifdef EXEC_PAGESIZE
22112 # define getpagesize() EXEC_PAGESIZE
22113 # else /* no EXEC_PAGESIZE */
22115 # define getpagesize() NBPG * CLSIZE
22118 # endif /* no CLSIZE */
22119 # else /* no NBPG */
22121 # define getpagesize() NBPC
22122 # else /* no NBPC */
22124 # define getpagesize() PAGESIZE
22125 # endif /* PAGESIZE */
22126 # endif /* no NBPC */
22127 # endif /* no NBPG */
22128 # endif /* no EXEC_PAGESIZE */
22129 # else /* no HAVE_SYS_PARAM_H */
22130 # define getpagesize() 8192 /* punt totally */
22131 # endif /* no HAVE_SYS_PARAM_H */
22132 # endif /* no _SC_PAGESIZE */
22134 #endif /* no HAVE_GETPAGESIZE */
22139 char *data, *data2, *data3;
22143 pagesize = getpagesize ();
22145 /* First, make a file with some known garbage in it. */
22146 data = (char *) malloc (pagesize);
22149 for (i = 0; i < pagesize; ++i)
22150 *(data + i) = rand ();
22152 fd = creat ("conftest.mmap", 0600);
22155 if (write (fd, data, pagesize) != pagesize)
22159 /* Next, try to mmap the file at a fixed address which already has
22160 something else allocated at it. If we can, also make sure that
22161 we see the same garbage. */
22162 fd = open ("conftest.mmap", O_RDWR);
22165 data2 = (char *) malloc (2 * pagesize);
22168 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
22169 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22170 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22172 for (i = 0; i < pagesize; ++i)
22173 if (*(data + i) != *(data2 + i))
22176 /* Finally, make sure that changes to the mapped area do not
22177 percolate back to the file as seen by read(). (This is a bug on
22178 some variants of i386 svr4.0.) */
22179 for (i = 0; i < pagesize; ++i)
22180 *(data2 + i) = *(data2 + i) + 1;
22181 data3 = (char *) malloc (pagesize);
22184 if (read (fd, data3, pagesize) != pagesize)
22186 for (i = 0; i < pagesize; ++i)
22187 if (*(data + i) != *(data3 + i))
22193 rm -f conftest$ac_exeext
22194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22195 (eval $ac_link) 2>&5
22197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22198 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22200 (eval $ac_try) 2>&5
22202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22203 (exit $ac_status); }; }; then
22204 ac_cv_func_mmap_fixed_mapped=yes
22206 echo "$as_me: program exited with status $ac_status" >&5
22207 echo "$as_me: failed program was:" >&5
22208 sed 's/^/| /' conftest.$ac_ext >&5
22210 ( exit $ac_status )
22211 ac_cv_func_mmap_fixed_mapped=no
22213 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22216 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22217 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22218 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22220 cat >>confdefs.h <<\_ACEOF
22221 #define HAVE_MMAP 1
22225 rm -f conftest.mmap
22227 echo "$as_me:$LINENO: checking for mmap of files" >&5
22228 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6
22229 if test "${ac_cv_func_mmap_file+set}" = set; then
22230 echo $ECHO_N "(cached) $ECHO_C" >&6
22235 ac_cpp='$CPP $CPPFLAGS'
22236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22240 if test "$cross_compiling" = yes; then
22241 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22242 See \`config.log' for more details." >&5
22243 echo "$as_me: error: cannot run test program while cross compiling
22244 See \`config.log' for more details." >&2;}
22245 { (exit 1); exit 1; }; }
22247 cat >conftest.$ac_ext <<_ACEOF
22248 #line $LINENO "configure"
22251 cat confdefs.h >>conftest.$ac_ext
22252 cat >>conftest.$ac_ext <<_ACEOF
22253 /* end confdefs.h. */
22255 #ifdef HAVE_SYS_MMAN_H
22256 #include <sys/mman.h>
22259 #ifdef HAVE_SYS_TYPES_H
22260 #include <sys/types.h>
22263 #ifdef HAVE_FCNTL_H
22269 fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != MAP_FAILED);}
22271 rm -f conftest$ac_exeext
22272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22273 (eval $ac_link) 2>&5
22275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22276 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22278 (eval $ac_try) 2>&5
22280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22281 (exit $ac_status); }; }; then
22282 ac_cv_func_mmap_file=yes
22284 echo "$as_me: program exited with status $ac_status" >&5
22285 echo "$as_me: failed program was:" >&5
22286 sed 's/^/| /' conftest.$ac_ext >&5
22288 ( exit $ac_status )
22289 ac_cv_func_mmap_file=no
22291 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22294 ac_cpp='$CPP $CPPFLAGS'
22295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22301 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
22302 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
22303 if test "$ac_cv_func_mmap_file" = yes; then
22304 cat >>confdefs.h <<\_ACEOF
22305 #define HAVE_MMAP_FILE 1
22312 if test ${ac_cv_func_mmap_file} = "no"
22314 { { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5
22315 echo "$as_me: error: mmap() of files required but not found" >&2;}
22316 { (exit 1); exit 1; }; }
22318 echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
22319 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6
22320 if test "${ac_cv_header_mmap_anon+set}" = set; then
22321 echo $ECHO_N "(cached) $ECHO_C" >&6
22326 ac_cpp='$CPP $CPPFLAGS'
22327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22331 cat >conftest.$ac_ext <<_ACEOF
22332 #line $LINENO "configure"
22335 cat confdefs.h >>conftest.$ac_ext
22336 cat >>conftest.$ac_ext <<_ACEOF
22337 /* end confdefs.h. */
22338 #include <sys/mman.h>
22339 #include <unistd.h>
22344 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
22349 rm -f conftest.$ac_objext
22350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22351 (eval $ac_compile) 2>&5
22353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22354 (exit $ac_status); } &&
22355 { ac_try='test -s conftest.$ac_objext'
22356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22357 (eval $ac_try) 2>&5
22359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22360 (exit $ac_status); }; }; then
22361 ac_cv_header_mmap_anon=yes
22363 echo "$as_me: failed program was:" >&5
22364 sed 's/^/| /' conftest.$ac_ext >&5
22366 ac_cv_header_mmap_anon=no
22368 rm -f conftest.$ac_objext conftest.$ac_ext
22370 ac_cpp='$CPP $CPPFLAGS'
22371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22377 echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
22378 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6
22379 if test "$ac_cv_header_mmap_anon" = yes; then
22380 cat >>confdefs.h <<\_ACEOF
22381 #define HAVE_MMAP_ANONYMOUS 1
22386 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
22387 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
22388 if test "${ac_cv_type_signal+set}" = set; then
22389 echo $ECHO_N "(cached) $ECHO_C" >&6
22391 cat >conftest.$ac_ext <<_ACEOF
22392 #line $LINENO "configure"
22395 cat confdefs.h >>conftest.$ac_ext
22396 cat >>conftest.$ac_ext <<_ACEOF
22397 /* end confdefs.h. */
22398 #include <sys/types.h>
22399 #include <signal.h>
22404 extern "C" void (*signal (int, void (*)(int)))(int);
22406 void (*signal ()) ();
22417 rm -f conftest.$ac_objext
22418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22419 (eval $ac_compile) 2>&5
22421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22422 (exit $ac_status); } &&
22423 { ac_try='test -s conftest.$ac_objext'
22424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22425 (eval $ac_try) 2>&5
22427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22428 (exit $ac_status); }; }; then
22429 ac_cv_type_signal=void
22431 echo "$as_me: failed program was:" >&5
22432 sed 's/^/| /' conftest.$ac_ext >&5
22434 ac_cv_type_signal=int
22436 rm -f conftest.$ac_objext conftest.$ac_ext
22438 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
22439 echo "${ECHO_T}$ac_cv_type_signal" >&6
22441 cat >>confdefs.h <<_ACEOF
22442 #define RETSIGTYPE $ac_cv_type_signal
22455 for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol
22457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22458 echo "$as_me:$LINENO: checking for $ac_func" >&5
22459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22460 if eval "test \"\${$as_ac_var+set}\" = set"; then
22461 echo $ECHO_N "(cached) $ECHO_C" >&6
22463 cat >conftest.$ac_ext <<_ACEOF
22464 #line $LINENO "configure"
22467 cat confdefs.h >>conftest.$ac_ext
22468 cat >>conftest.$ac_ext <<_ACEOF
22469 /* end confdefs.h. */
22470 /* System header to define __stub macros and hopefully few prototypes,
22471 which can conflict with char $ac_func (); below.
22472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22473 <limits.h> exists even on freestanding compilers. */
22475 # include <limits.h>
22477 # include <assert.h>
22479 /* Override any gcc2 internal prototype to avoid an error. */
22484 /* We use char because int might match the return type of a gcc2
22485 builtin and then its argument prototype would still apply. */
22487 /* The GNU C library defines this for functions which it implements
22488 to always fail with ENOSYS. Some functions are actually named
22489 something starting with __ and the normal name is an alias. */
22490 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22493 char (*f) () = $ac_func;
22502 return f != $ac_func;
22507 rm -f conftest.$ac_objext conftest$ac_exeext
22508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22509 (eval $ac_link) 2>&5
22511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22512 (exit $ac_status); } &&
22513 { ac_try='test -s conftest$ac_exeext'
22514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22515 (eval $ac_try) 2>&5
22517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22518 (exit $ac_status); }; }; then
22519 eval "$as_ac_var=yes"
22521 echo "$as_me: failed program was:" >&5
22522 sed 's/^/| /' conftest.$ac_ext >&5
22524 eval "$as_ac_var=no"
22526 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22529 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22530 if test `eval echo '${'$as_ac_var'}'` = yes; then
22531 cat >>confdefs.h <<_ACEOF
22532 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22540 echo "$as_me:$LINENO: checking for mmap" >&5
22541 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
22542 if test "${ac_cv_func_mmap+set}" = set; then
22543 echo $ECHO_N "(cached) $ECHO_C" >&6
22545 cat >conftest.$ac_ext <<_ACEOF
22546 #line $LINENO "configure"
22549 cat confdefs.h >>conftest.$ac_ext
22550 cat >>conftest.$ac_ext <<_ACEOF
22551 /* end confdefs.h. */
22552 /* System header to define __stub macros and hopefully few prototypes,
22553 which can conflict with char mmap (); below.
22554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22555 <limits.h> exists even on freestanding compilers. */
22557 # include <limits.h>
22559 # include <assert.h>
22561 /* Override any gcc2 internal prototype to avoid an error. */
22566 /* We use char because int might match the return type of a gcc2
22567 builtin and then its argument prototype would still apply. */
22569 /* The GNU C library defines this for functions which it implements
22570 to always fail with ENOSYS. Some functions are actually named
22571 something starting with __ and the normal name is an alias. */
22572 #if defined (__stub_mmap) || defined (__stub___mmap)
22575 char (*f) () = mmap;
22589 rm -f conftest.$ac_objext conftest$ac_exeext
22590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22591 (eval $ac_link) 2>&5
22593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22594 (exit $ac_status); } &&
22595 { ac_try='test -s conftest$ac_exeext'
22596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22597 (eval $ac_try) 2>&5
22599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22600 (exit $ac_status); }; }; then
22601 ac_cv_func_mmap=yes
22603 echo "$as_me: failed program was:" >&5
22604 sed 's/^/| /' conftest.$ac_ext >&5
22608 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22610 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
22611 echo "${ECHO_T}$ac_cv_func_mmap" >&6
22612 if test $ac_cv_func_mmap = yes; then
22615 { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5
22616 echo "$as_me: error: Function mmap() required but not found" >&2;}
22617 { (exit 1); exit 1; }; }
22620 echo "$as_me:$LINENO: checking for mprotect" >&5
22621 echo $ECHO_N "checking for mprotect... $ECHO_C" >&6
22622 if test "${ac_cv_func_mprotect+set}" = set; then
22623 echo $ECHO_N "(cached) $ECHO_C" >&6
22625 cat >conftest.$ac_ext <<_ACEOF
22626 #line $LINENO "configure"
22629 cat confdefs.h >>conftest.$ac_ext
22630 cat >>conftest.$ac_ext <<_ACEOF
22631 /* end confdefs.h. */
22632 /* System header to define __stub macros and hopefully few prototypes,
22633 which can conflict with char mprotect (); below.
22634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22635 <limits.h> exists even on freestanding compilers. */
22637 # include <limits.h>
22639 # include <assert.h>
22641 /* Override any gcc2 internal prototype to avoid an error. */
22646 /* We use char because int might match the return type of a gcc2
22647 builtin and then its argument prototype would still apply. */
22649 /* The GNU C library defines this for functions which it implements
22650 to always fail with ENOSYS. Some functions are actually named
22651 something starting with __ and the normal name is an alias. */
22652 #if defined (__stub_mprotect) || defined (__stub___mprotect)
22655 char (*f) () = mprotect;
22664 return f != mprotect;
22669 rm -f conftest.$ac_objext conftest$ac_exeext
22670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22671 (eval $ac_link) 2>&5
22673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22674 (exit $ac_status); } &&
22675 { ac_try='test -s conftest$ac_exeext'
22676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22677 (eval $ac_try) 2>&5
22679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22680 (exit $ac_status); }; }; then
22681 ac_cv_func_mprotect=yes
22683 echo "$as_me: failed program was:" >&5
22684 sed 's/^/| /' conftest.$ac_ext >&5
22686 ac_cv_func_mprotect=no
22688 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22690 echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
22691 echo "${ECHO_T}$ac_cv_func_mprotect" >&6
22692 if test $ac_cv_func_mprotect = yes; then
22695 { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5
22696 echo "$as_me: error: Function mprotect() required but not found" >&2;}
22697 { (exit 1); exit 1; }; }
22702 # Check whether --enable-purify or --disable-purify was given.
22703 if test "${enable_purify+set}" = set; then
22704 enableval="$enable_purify"
22709 if test ${enableval} = "no"
22714 ENABLE_PURIFY=ENABLE_PURIFY=1
22718 # Check whether --enable-optimized or --disable-optimized was given.
22719 if test "${enable_optimized+set}" = set; then
22720 enableval="$enable_optimized"
22725 if test ${enableval} = "no"
22730 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
22734 # Check whether --enable-spec or --disable-spec was given.
22735 if test "${enable_spec+set}" = set; then
22736 enableval="$enable_spec"
22741 if test ${enableval} = "no"
22746 USE_SPEC=USE_SPEC=1
22750 # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given.
22751 if test "${enable_precompiled_bytecode+set}" = set; then
22752 enableval="$enable_precompiled_bytecode"
22757 if test ${enableval} = "no"
22762 UPB=USE_PRECOMPILED_BYTECODE=1
22767 # Check whether --enable-llc_diffs or --disable-llc_diffs was given.
22768 if test "${enable_llc_diffs+set}" = set; then
22769 enableval="$enable_llc_diffs"
22774 if test ${enableval} = "no"
22776 DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1
22783 # Check whether --enable-jit or --disable-jit was given.
22784 if test "${enable_jit+set}" = set; then
22785 enableval="$enable_jit"
22791 if test ${enableval} = "no"
22798 JIT=TARGET_HAS_JIT=1
22802 JIT=TARGET_HAS_JIT=1
22814 # Check whether --with-spec or --without-spec was given.
22815 if test "${with_spec+set}" = set; then
22816 withval="$with_spec"
22820 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22825 # Check whether --with-llvmgccdir or --without-llvmgccdir was given.
22826 if test "${with_llvmgccdir+set}" = set; then
22827 withval="$with_llvmgccdir"
22828 LLVMGCCDIR=$withval
22833 # Check whether --with-bcrepos or --without-bcrepos was given.
22834 if test "${with_bcrepos+set}" = set; then
22835 withval="$with_bcrepos"
22839 BCR=/home/vadve/lattner/LLVMPrograms
22844 # Check whether --with-papi or --without-papi was given.
22845 if test "${with_papi+set}" = set; then
22846 withval="$with_papi"
22850 PAPIDIR=/home/vadve/shared/Sparc/papi-2.3.4.1
22855 # Check whether --with-purify or --without-purify was given.
22856 if test "${with_purify+set}" = set; then
22857 withval="$with_purify"
22863 ac_config_files="$ac_config_files Makefile.config"
22864 cat >confcache <<\_ACEOF
22865 # This file is a shell script that caches the results of configure
22866 # tests run on this system so they can be shared between configure
22867 # scripts and configure runs, see configure's option --config-cache.
22868 # It is not useful on other systems. If it contains results you don't
22869 # want to keep, you may remove or edit it.
22871 # config.status only pays attention to the cache file if you give it
22872 # the --recheck option to rerun configure.
22874 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22875 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22876 # following values.
22880 # The following way of writing the cache mishandles newlines in values,
22881 # but we know of no workaround that is simple, portable, and efficient.
22882 # So, don't put newlines in cache variables' values.
22883 # Ultrix sh set writes to stderr and can't be redirected directly,
22884 # and sets the high bit in the cache file unless we assign to the vars.
22887 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22889 # `set' does not quote correctly, so add quotes (double-quote
22890 # substitution turns \\\\ into \\, and sed turns \\ into \).
22893 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22896 # `set' quotes correctly as required by POSIX, so do not add quotes.
22898 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22905 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22907 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22909 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22910 if test -w $cache_file; then
22911 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22912 cat confcache >$cache_file
22914 echo "not updating unwritable cache $cache_file"
22919 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22920 # Let make expand exec_prefix.
22921 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22923 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22924 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22925 # trailing colons and then remove the whole line if VPATH becomes empty
22926 # (actually we leave an empty line to preserve line numbers).
22927 if test "x$srcdir" = x.; then
22928 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22929 s/:*\$(srcdir):*/:/;
22930 s/:*\${srcdir}:*/:/;
22932 s/^\([^=]*=[ ]*\):*/\1/;
22938 DEFS=-DHAVE_CONFIG_H
22942 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22943 # 1. Remove the extension, and $U if already installed.
22944 ac_i=`echo "$ac_i" |
22945 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22947 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
22948 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
22950 LIBOBJS=$ac_libobjs
22952 LTLIBOBJS=$ac_ltlibobjs
22956 : ${CONFIG_STATUS=./config.status}
22957 ac_clean_files_save=$ac_clean_files
22958 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22959 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22960 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22961 cat >$CONFIG_STATUS <<_ACEOF
22963 # Generated by $as_me.
22964 # Run this file to recreate the current configuration.
22965 # Compiler output produced by configure, useful for debugging
22966 # configure, is in config.log if it exists.
22969 ac_cs_recheck=false
22971 SHELL=\${CONFIG_SHELL-$SHELL}
22974 cat >>$CONFIG_STATUS <<\_ACEOF
22975 ## --------------------- ##
22976 ## M4sh Initialization. ##
22977 ## --------------------- ##
22979 # Be Bourne compatible
22980 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22983 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22984 # is contrary to our usage. Disable this feature.
22985 alias -g '${1+"$@"}'='"$@"'
22986 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22990 # Support unset when possible.
22991 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
22998 # Work around bugs in pre-3.0 UWIN ksh.
22999 $as_unset ENV MAIL MAILPATH
23006 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23007 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23008 LC_TELEPHONE LC_TIME
23010 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
23011 eval $as_var=C; export $as_var
23017 # Required to use basename.
23018 if expr a : '\(a\)' >/dev/null 2>&1; then
23024 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
23025 as_basename=basename
23031 # Name of the executable.
23032 as_me=`$as_basename "$0" ||
23033 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23034 X"$0" : 'X\(//\)$' \| \
23035 X"$0" : 'X\(/\)$' \| \
23036 . : '\(.\)' 2>/dev/null ||
23038 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23039 /^X\/\(\/\/\)$/{ s//\1/; q; }
23040 /^X\/\(\/\).*/{ s//\1/; q; }
23044 # PATH needs CR, and LINENO needs CR and PATH.
23045 # Avoid depending upon Character Ranges.
23046 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23047 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23048 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23049 as_cr_digits='0123456789'
23050 as_cr_alnum=$as_cr_Letters$as_cr_digits
23052 # The user is always right.
23053 if test "${PATH_SEPARATOR+set}" != set; then
23054 echo "#! /bin/sh" >conf$$.sh
23055 echo "exit 0" >>conf$$.sh
23057 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23066 as_lineno_1=$LINENO
23067 as_lineno_2=$LINENO
23068 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23069 test "x$as_lineno_1" != "x$as_lineno_2" &&
23070 test "x$as_lineno_3" = "x$as_lineno_2" || {
23071 # Find who we are. Look in the path if we contain no path at all
23074 *[\\/]* ) as_myself=$0 ;;
23075 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23076 for as_dir in $PATH
23079 test -z "$as_dir" && as_dir=.
23080 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23085 # We did not find ourselves, most probably we were run as `sh COMMAND'
23086 # in which case we are not to be found in the path.
23087 if test "x$as_myself" = x; then
23090 if test ! -f "$as_myself"; then
23091 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23092 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23093 { (exit 1); exit 1; }; }
23095 case $CONFIG_SHELL in
23097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23098 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
23101 test -z "$as_dir" && as_dir=.
23102 for as_base in sh bash ksh sh5; do
23105 if ("$as_dir/$as_base" -c '
23106 as_lineno_1=$LINENO
23107 as_lineno_2=$LINENO
23108 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23109 test "x$as_lineno_1" != "x$as_lineno_2" &&
23110 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
23111 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23112 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23113 CONFIG_SHELL=$as_dir/$as_base
23114 export CONFIG_SHELL
23115 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23123 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23124 # uniformly replaced by the line number. The first 'sed' inserts a
23125 # line-number line before each line; the second 'sed' does the real
23126 # work. The second script uses 'N' to pair each line-number line
23127 # with the numbered line, and appends trailing '-' during
23128 # substitution so that $LINENO is not a special case at line end.
23129 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23130 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23131 sed '=' <$as_myself |
23136 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23139 s,^['$as_cr_digits']*\n,,
23140 ' >$as_me.lineno &&
23141 chmod +x $as_me.lineno ||
23142 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23143 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23144 { (exit 1); exit 1; }; }
23146 # Don't try to exec as it changes $[0], causing all sort of problems
23147 # (the dirname of $[0] is not the place where we might find the
23148 # original and so on. Autoconf is especially sensible to this).
23150 # Exit status is that of the last command.
23155 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23156 *c*,-n*) ECHO_N= ECHO_C='
23158 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23159 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23162 if expr a : '\(a\)' >/dev/null 2>&1; then
23168 rm -f conf$$ conf$$.exe conf$$.file
23170 if ln -s conf$$.file conf$$ 2>/dev/null; then
23171 # We could just check for DJGPP; but this test a) works b) is more generic
23172 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23173 if test -f conf$$.exe; then
23174 # Don't use ln at all; we don't have any links
23179 elif ln conf$$.file conf$$ 2>/dev/null; then
23184 rm -f conf$$ conf$$.exe conf$$.file
23186 if mkdir -p . 2>/dev/null; then
23192 as_executable_p="test -f"
23194 # Sed expression to map a string onto a valid CPP name.
23195 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23197 # Sed expression to map a string onto a valid variable name.
23198 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
23202 # We need space, tab and new line, in precisely that order.
23212 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23213 # report actual input values of CONFIG_FILES etc. instead of their
23214 # values after options handling. Logging --version etc. is OK.
23218 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23219 ## Running $as_me. ##
23224 This file was extended by [LLVM] $as_me [1.0], which was
23225 generated by GNU Autoconf 2.57. Invocation command line was
23227 CONFIG_FILES = $CONFIG_FILES
23228 CONFIG_HEADERS = $CONFIG_HEADERS
23229 CONFIG_LINKS = $CONFIG_LINKS
23230 CONFIG_COMMANDS = $CONFIG_COMMANDS
23234 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23238 # Files that config.status was made for.
23239 if test -n "$ac_config_files"; then
23240 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23243 if test -n "$ac_config_headers"; then
23244 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23247 if test -n "$ac_config_links"; then
23248 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23251 if test -n "$ac_config_commands"; then
23252 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23255 cat >>$CONFIG_STATUS <<\_ACEOF
23258 \`$as_me' instantiates files from templates according to the
23259 current configuration.
23261 Usage: $0 [OPTIONS] [FILE]...
23263 -h, --help print this help, then exit
23264 -V, --version print version number, then exit
23265 -q, --quiet do not print progress messages
23266 -d, --debug don't remove temporary files
23267 --recheck update $as_me by reconfiguring in the same conditions
23268 --file=FILE[:TEMPLATE]
23269 instantiate the configuration file FILE
23270 --header=FILE[:TEMPLATE]
23271 instantiate the configuration header FILE
23273 Configuration files:
23276 Configuration headers:
23279 Configuration commands:
23282 Report bugs to <bug-autoconf@gnu.org>."
23285 cat >>$CONFIG_STATUS <<_ACEOF
23287 [LLVM] config.status [1.0]
23288 configured by $0, generated by GNU Autoconf 2.57,
23289 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23291 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
23292 Free Software Foundation, Inc.
23293 This config.status script is free software; the Free Software Foundation
23294 gives unlimited permission to copy, distribute and modify it."
23299 cat >>$CONFIG_STATUS <<\_ACEOF
23300 # If no file are specified by the user, then we need to provide default
23301 # value. By we need to know if files were specified by the user.
23307 ac_option=`expr "x$1" : 'x\([^=]*\)='`
23308 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23316 *) # This is not an option, so the user has probably given explicit
23319 ac_need_defaults=false;;
23323 # Handling of the options.
23325 cat >>$CONFIG_STATUS <<\_ACEOF
23326 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23328 --version | --vers* | -V )
23329 echo "$ac_cs_version"; exit 0 ;;
23331 # Conflict between --help and --header
23332 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23333 Try \`$0 --help' for more information." >&5
23334 echo "$as_me: error: ambiguous option: $1
23335 Try \`$0 --help' for more information." >&2;}
23336 { (exit 1); exit 1; }; };;
23337 --help | --hel | -h )
23338 echo "$ac_cs_usage"; exit 0 ;;
23339 --debug | --d* | -d )
23341 --file | --fil | --fi | --f )
23343 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23344 ac_need_defaults=false;;
23345 --header | --heade | --head | --hea )
23347 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23348 ac_need_defaults=false;;
23349 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23350 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23353 # This is an error.
23354 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23355 Try \`$0 --help' for more information." >&5
23356 echo "$as_me: error: unrecognized option: $1
23357 Try \`$0 --help' for more information." >&2;}
23358 { (exit 1); exit 1; }; } ;;
23360 *) ac_config_targets="$ac_config_targets $1" ;;
23366 ac_configure_extra_args=
23368 if $ac_cs_silent; then
23370 ac_configure_extra_args="$ac_configure_extra_args --silent"
23374 cat >>$CONFIG_STATUS <<_ACEOF
23375 if \$ac_cs_recheck; then
23376 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23377 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23382 cat >>$CONFIG_STATUS <<_ACEOF
23384 # INIT-COMMANDS section.
23387 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
23388 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common`
23389 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.rules`
23390 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
23391 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/Makefile`
23392 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/DataStructure/Makefile`
23393 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/IPA/Makefile`
23394 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/LiveVar/Makefile`
23395 ${srcdir}/autoconf/mkinstalldirs `dirname lib/AsmParser/Makefile`
23396 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Makefile`
23397 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Reader/Makefile`
23398 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Writer/Makefile`
23399 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CWriter/Makefile`
23400 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/Makefile`
23401 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSched/Makefile`
23402 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSelection/Makefile`
23403 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/ModuloScheduling/Makefile`
23404 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/RegAlloc/Makefile`
23405 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/SelectionDAG/Makefile`
23406 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Makefile`
23407 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Interpreter/Makefile`
23408 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/JIT/Makefile`
23409 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Makefile`
23410 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Sparc/Makefile`
23411 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/X86/Makefile`
23412 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Makefile`
23413 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Hello/Makefile`
23414 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/IPO/Makefile`
23415 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/Makefile`
23416 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/ProfilePaths/Makefile`
23417 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Scalar/Makefile`
23418 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Utils/Makefile`
23419 ${srcdir}/autoconf/mkinstalldirs `dirname lib/VMCore/Makefile`
23420 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile`
23421 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/Makefile`
23422 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/crtend/Makefile`
23423 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libc/Makefile`
23424 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libcurses/Makefile`
23425 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libg/Makefile`
23426 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libgcc/Makefile`
23427 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libm/Makefile`
23428 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libmalloc/Makefile`
23429 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libtermcap/Makefile`
23430 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libucb/Makefile`
23431 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutempter/Makefile`
23432 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutil/Makefile`
23433 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libdummy/Makefile`
23434 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libtrace/Makefile`
23435 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile`
23436 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests`
23437 ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTestDB/QMTest/llvm.py`
23438 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile`
23439 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.programs`
23440 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.Makefile`
23441 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.report`
23442 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.report`
23443 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.report`
23444 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.example.Makefile`
23445 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.Makefile`
23446 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.buildrepo.Makefile`
23447 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.Makefile`
23448 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.report`
23449 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.Makefile`
23450 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.report`
23451 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.typesafe.Makefile`
23452 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.gnuplot`
23453 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.Makefile`
23454 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/Makefile`
23455 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile`
23456 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile.spec`
23457 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/Makefile`
23458 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/179.art/Makefile`
23459 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/183.equake/Makefile`
23460 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/188.ammp/Makefile`
23461 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/Makefile`
23462 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/164.gzip/Makefile`
23463 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/175.vpr/Makefile`
23464 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/176.gcc/Makefile`
23465 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/181.mcf/Makefile`
23466 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/186.crafty/Makefile`
23467 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/197.parser/Makefile`
23468 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/254.gap/Makefile`
23469 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/255.vortex/Makefile`
23470 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile`
23471 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/300.twolf/Makefile`
23472 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/LLVMSource/Makefile`
23473 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile`
23474 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile.multisrc`
23475 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Makefile`
23476 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Burg/Makefile`
23477 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/aha/Makefile`
23478 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/sgefa/Makefile`
23479 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Makefile`
23480 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile`
23481 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/Makefile`
23482 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile`
23483 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile`
23484 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile`
23485 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile`
23486 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile`
23487 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile`
23488 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile`
23489 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile`
23490 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile`
23491 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile`
23492 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/Makefile`
23493 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile`
23494 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile`
23495 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile`
23496 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/health/Makefile`
23497 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile`
23498 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile`
23499 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/power/Makefile`
23500 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile`
23501 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile`
23502 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile`
23503 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile`
23504 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile`
23505 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile`
23506 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile`
23507 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile`
23508 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile`
23509 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile`
23510 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile`
23511 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/sim/Makefile`
23512 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Makefile`
23513 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Flex/Makefile`
23514 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Larn/Makefile`
23515 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Moria-5.5.2/Makefile`
23516 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Povray31/Makefile`
23517 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/m4/Makefile`
23518 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile`
23519 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile.singlesrc`
23520 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Gizmos/Makefile`
23521 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Makefile`
23522 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile`
23523 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Shootout/Makefile`
23524 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Stanford/Makefile`
23525 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Misc/Makefile`
23526 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/CustomChecked/Makefile`
23527 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/Makefile`
23528 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile`
23529 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/Makefile`
23530 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C/Makefile`
23531 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/Makefile`
23532 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/EH/Makefile`
23533 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/CompileFail/Makefile`
23534 ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
23535 ${srcdir}/autoconf/mkinstalldirs `dirname tools/analyze/Makefile`
23536 ${srcdir}/autoconf/mkinstalldirs `dirname tools/bugpoint/Makefile`
23537 ${srcdir}/autoconf/mkinstalldirs `dirname tools/extract/Makefile`
23538 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccas/Makefile`
23539 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccld/Makefile`
23540 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llc/Makefile`
23541 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llee/Makefile`
23542 ${srcdir}/autoconf/mkinstalldirs `dirname tools/lli/Makefile`
23543 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-ar/Makefile`
23544 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-as/Makefile`
23545 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-dis/Makefile`
23546 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-link/Makefile`
23547 ${srcdir}/autoconf/mkinstalldirs `dirname tools/opt/Makefile`
23548 ${srcdir}/autoconf/mkinstalldirs `dirname www/docs/Makefile`
23549 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile`
23550 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile`
23551 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.common`
23552 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.config`
23553 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/Makefile`
23554 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/sample/Makefile`
23555 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/Makefile`
23556 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/sample/Makefile`
23557 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile`
23558 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile.common`
23559 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/Makefile`
23560 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/ModuleMaker/Makefile`
23561 ${srcdir}/autoconf/mkinstalldirs `dirname support/Makefile`
23562 ${srcdir}/autoconf/mkinstalldirs `dirname support/lib/Makefile`
23563 ${srcdir}/autoconf/mkinstalldirs `dirname support/lib/Support/Makefile`
23564 ${srcdir}/autoconf/mkinstalldirs `dirname support/tools/Makefile`
23565 ${srcdir}/autoconf/mkinstalldirs `dirname support/tools/Burg/Makefile`
23566 ${srcdir}/autoconf/mkinstalldirs `dirname support/tools/Burg/Doc/Makefile`
23567 ${srcdir}/autoconf/mkinstalldirs `dirname support/tools/TableGen/Makefile`
23573 cat >>$CONFIG_STATUS <<\_ACEOF
23574 for ac_config_target in $ac_config_targets
23576 case "$ac_config_target" in
23577 # Handling of arguments.
23578 "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
23579 "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23580 "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;;
23581 "Makefile.rules" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.rules" ;;
23582 "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
23583 "lib/Analysis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/Makefile" ;;
23584 "lib/Analysis/DataStructure/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/DataStructure/Makefile" ;;
23585 "lib/Analysis/IPA/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/IPA/Makefile" ;;
23586 "lib/Analysis/LiveVar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/LiveVar/Makefile" ;;
23587 "lib/AsmParser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/AsmParser/Makefile" ;;
23588 "lib/Bytecode/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Makefile" ;;
23589 "lib/Bytecode/Reader/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Reader/Makefile" ;;
23590 "lib/Bytecode/Writer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Writer/Makefile" ;;
23591 "lib/CWriter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CWriter/Makefile" ;;
23592 "lib/CodeGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/Makefile" ;;
23593 "lib/CodeGen/InstrSched/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSched/Makefile" ;;
23594 "lib/CodeGen/InstrSelection/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSelection/Makefile" ;;
23595 "lib/CodeGen/ModuloScheduling/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/ModuloScheduling/Makefile" ;;
23596 "lib/CodeGen/RegAlloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/RegAlloc/Makefile" ;;
23597 "lib/CodeGen/SelectionDAG/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/SelectionDAG/Makefile" ;;
23598 "lib/ExecutionEngine/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Makefile" ;;
23599 "lib/ExecutionEngine/Interpreter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Interpreter/Makefile" ;;
23600 "lib/ExecutionEngine/JIT/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/JIT/Makefile" ;;
23601 "lib/Target/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Makefile" ;;
23602 "lib/Target/Sparc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Sparc/Makefile" ;;
23603 "lib/Target/X86/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/X86/Makefile" ;;
23604 "lib/Transforms/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Makefile" ;;
23605 "lib/Transforms/Hello/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Hello/Makefile" ;;
23606 "lib/Transforms/IPO/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/IPO/Makefile" ;;
23607 "lib/Transforms/Instrumentation/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/Makefile" ;;
23608 "lib/Transforms/Instrumentation/ProfilePaths/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/ProfilePaths/Makefile" ;;
23609 "lib/Transforms/Scalar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Scalar/Makefile" ;;
23610 "lib/Transforms/Utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Utils/Makefile" ;;
23611 "lib/VMCore/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/VMCore/Makefile" ;;
23612 "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;;
23613 "runtime/GCCLibraries/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/Makefile" ;;
23614 "runtime/GCCLibraries/crtend/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/crtend/Makefile" ;;
23615 "runtime/GCCLibraries/libc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libc/Makefile" ;;
23616 "runtime/GCCLibraries/libcurses/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libcurses/Makefile" ;;
23617 "runtime/GCCLibraries/libg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libg/Makefile" ;;
23618 "runtime/GCCLibraries/libgcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libgcc/Makefile" ;;
23619 "runtime/GCCLibraries/libm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libm/Makefile" ;;
23620 "runtime/GCCLibraries/libmalloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libmalloc/Makefile" ;;
23621 "runtime/GCCLibraries/libtermcap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libtermcap/Makefile" ;;
23622 "runtime/GCCLibraries/libucb/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libucb/Makefile" ;;
23623 "runtime/GCCLibraries/libutempter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutempter/Makefile" ;;
23624 "runtime/GCCLibraries/libutil/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutil/Makefile" ;;
23625 "runtime/libdummy/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libdummy/Makefile" ;;
23626 "runtime/libtrace/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libtrace/Makefile" ;;
23627 "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;;
23628 "test/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile.tests" ;;
23629 "test/QMTestDB/QMTest/llvm.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTestDB/QMTest/llvm.py" ;;
23630 "test/Programs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile" ;;
23631 "test/Programs/Makefile.programs" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.programs" ;;
23632 "test/Programs/TEST.aa.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.Makefile" ;;
23633 "test/Programs/TEST.dsgraph.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.report" ;;
23634 "test/Programs/TEST.micro.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.report" ;;
23635 "test/Programs/TEST.aa.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.report" ;;
23636 "test/Programs/TEST.example.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.example.Makefile" ;;
23637 "test/Programs/TEST.nightly.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.Makefile" ;;
23638 "test/Programs/TEST.buildrepo.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.buildrepo.Makefile" ;;
23639 "test/Programs/TEST.jit.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.Makefile" ;;
23640 "test/Programs/TEST.nightly.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.report" ;;
23641 "test/Programs/TEST.dsgraph.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.Makefile" ;;
23642 "test/Programs/TEST.jit.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.report" ;;
23643 "test/Programs/TEST.typesafe.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.typesafe.Makefile" ;;
23644 "test/Programs/TEST.dsgraph.gnuplot" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.gnuplot" ;;
23645 "test/Programs/TEST.micro.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.Makefile" ;;
23646 "test/Programs/External/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/Makefile" ;;
23647 "test/Programs/External/SPEC/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile" ;;
23648 "test/Programs/External/SPEC/Makefile.spec" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile.spec" ;;
23649 "test/Programs/External/SPEC/CFP2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/Makefile" ;;
23650 "test/Programs/External/SPEC/CFP2000/179.art/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/179.art/Makefile" ;;
23651 "test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ;;
23652 "test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ;;
23653 "test/Programs/External/SPEC/CINT2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/Makefile" ;;
23654 "test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ;;
23655 "test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ;;
23656 "test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ;;
23657 "test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ;;
23658 "test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ;;
23659 "test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ;;
23660 "test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ;;
23661 "test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ;;
23662 "test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ;;
23663 "test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ;;
23664 "test/Programs/LLVMSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/LLVMSource/Makefile" ;;
23665 "test/Programs/MultiSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile" ;;
23666 "test/Programs/MultiSource/Makefile.multisrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile.multisrc" ;;
23667 "test/Programs/MultiSource/Applications/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Makefile" ;;
23668 "test/Programs/MultiSource/Applications/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Burg/Makefile" ;;
23669 "test/Programs/MultiSource/Applications/aha/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/aha/Makefile" ;;
23670 "test/Programs/MultiSource/Applications/sgefa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/sgefa/Makefile" ;;
23671 "test/Programs/MultiSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Makefile" ;;
23672 "test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ;;
23673 "test/Programs/MultiSource/Benchmarks/McCat/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/Makefile" ;;
23674 "test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ;;
23675 "test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ;;
23676 "test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ;;
23677 "test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ;;
23678 "test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ;;
23679 "test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ;;
23680 "test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ;;
23681 "test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ;;
23682 "test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ;;
23683 "test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ;;
23684 "test/Programs/MultiSource/Benchmarks/Olden/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/Makefile" ;;
23685 "test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ;;
23686 "test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ;;
23687 "test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ;;
23688 "test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ;;
23689 "test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ;;
23690 "test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ;;
23691 "test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ;;
23692 "test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ;;
23693 "test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ;;
23694 "test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ;;
23695 "test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ;;
23696 "test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ;;
23697 "test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ;;
23698 "test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ;;
23699 "test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ;;
23700 "test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ;;
23701 "test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ;;
23702 "test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ;;
23703 "test/Programs/MultiSource/Benchmarks/sim/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/sim/Makefile" ;;
23704 "test/Programs/NoSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Makefile" ;;
23705 "test/Programs/NoSource/Flex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Flex/Makefile" ;;
23706 "test/Programs/NoSource/Larn/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Larn/Makefile" ;;
23707 "test/Programs/NoSource/Moria-5.5.2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Moria-5.5.2/Makefile" ;;
23708 "test/Programs/NoSource/Povray31/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Povray31/Makefile" ;;
23709 "test/Programs/NoSource/m4/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/m4/Makefile" ;;
23710 "test/Programs/SingleSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile" ;;
23711 "test/Programs/SingleSource/Makefile.singlesrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile.singlesrc" ;;
23712 "test/Programs/SingleSource/Gizmos/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Gizmos/Makefile" ;;
23713 "test/Programs/SingleSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Makefile" ;;
23714 "test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ;;
23715 "test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ;;
23716 "test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ;;
23717 "test/Programs/SingleSource/Benchmarks/Misc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Misc/Makefile" ;;
23718 "test/Programs/SingleSource/CustomChecked/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/CustomChecked/Makefile" ;;
23719 "test/Programs/SingleSource/UnitTests/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/Makefile" ;;
23720 "test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ;;
23721 "test/Programs/SingleSource/Regression/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/Makefile" ;;
23722 "test/Programs/SingleSource/Regression/C/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C/Makefile" ;;
23723 "test/Programs/SingleSource/Regression/C++/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/Makefile" ;;
23724 "test/Programs/SingleSource/Regression/C++/EH/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/EH/Makefile" ;;
23725 "test/Programs/SingleSource/Regression/C++/CompileFail/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/CompileFail/Makefile" ;;
23726 "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
23727 "tools/analyze/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/analyze/Makefile" ;;
23728 "tools/bugpoint/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/bugpoint/Makefile" ;;
23729 "tools/extract/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/extract/Makefile" ;;
23730 "tools/gccas/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccas/Makefile" ;;
23731 "tools/gccld/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccld/Makefile" ;;
23732 "tools/llc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llc/Makefile" ;;
23733 "tools/llee/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llee/Makefile" ;;
23734 "tools/lli/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/lli/Makefile" ;;
23735 "tools/llvm-ar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-ar/Makefile" ;;
23736 "tools/llvm-as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-as/Makefile" ;;
23737 "tools/llvm-dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-dis/Makefile" ;;
23738 "tools/llvm-link/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-link/Makefile" ;;
23739 "tools/opt/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/opt/Makefile" ;;
23740 "www/docs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS www/docs/Makefile" ;;
23741 "projects/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Makefile" ;;
23742 "projects/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile" ;;
23743 "projects/sample/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.common" ;;
23744 "projects/sample/Makefile.config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.config" ;;
23745 "projects/sample/lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/Makefile" ;;
23746 "projects/sample/lib/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/sample/Makefile" ;;
23747 "projects/sample/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/Makefile" ;;
23748 "projects/sample/tools/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/sample/Makefile" ;;
23749 "projects/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile" ;;
23750 "projects/ModuleMaker/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile.common" ;;
23751 "projects/ModuleMaker/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/Makefile" ;;
23752 "projects/ModuleMaker/tools/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/ModuleMaker/Makefile" ;;
23753 "support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/Makefile" ;;
23754 "support/lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/lib/Makefile" ;;
23755 "support/lib/Support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/lib/Support/Makefile" ;;
23756 "support/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/tools/Makefile" ;;
23757 "support/tools/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/tools/Burg/Makefile" ;;
23758 "support/tools/Burg/Doc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/tools/Burg/Doc/Makefile" ;;
23759 "support/tools/TableGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS support/tools/TableGen/Makefile" ;;
23760 "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;;
23761 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23762 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23763 { (exit 1); exit 1; }; };;
23767 # If the user did not use the arguments to specify the items to instantiate,
23768 # then the envvar interface is used. Set only those that are not.
23769 # We use the long form for the default assignment because of an extremely
23770 # bizarre bug on SunOS 4.1.3.
23771 if $ac_need_defaults; then
23772 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23773 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23774 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23777 # Have a temporary directory for convenience. Make it in the build tree
23778 # simply because there is no reason to put it here, and in addition,
23779 # creating and moving files from /tmp can sometimes cause problems.
23780 # Create a temporary directory, and hook for its removal unless debugging.
23783 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23784 trap '{ (exit 1); exit 1; }' 1 2 13 15
23787 # Create a (secure) tmp directory for tmp files.
23790 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23791 test -n "$tmp" && test -d "$tmp"
23794 tmp=./confstat$$-$RANDOM
23795 (umask 077 && mkdir $tmp)
23798 echo "$me: cannot create a temporary directory in ." >&2
23799 { (exit 1); exit 1; }
23804 cat >>$CONFIG_STATUS <<_ACEOF
23807 # CONFIG_FILES section.
23810 # No need to generate the scripts if there are no CONFIG_FILES.
23811 # This happens for instance when ./config.status config.h
23812 if test -n "\$CONFIG_FILES"; then
23813 # Protect against being on the right side of a sed subst in config.status.
23814 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23815 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23816 s,@SHELL@,$SHELL,;t t
23817 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23818 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23819 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23820 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23821 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23822 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23823 s,@exec_prefix@,$exec_prefix,;t t
23824 s,@prefix@,$prefix,;t t
23825 s,@program_transform_name@,$program_transform_name,;t t
23826 s,@bindir@,$bindir,;t t
23827 s,@sbindir@,$sbindir,;t t
23828 s,@libexecdir@,$libexecdir,;t t
23829 s,@datadir@,$datadir,;t t
23830 s,@sysconfdir@,$sysconfdir,;t t
23831 s,@sharedstatedir@,$sharedstatedir,;t t
23832 s,@localstatedir@,$localstatedir,;t t
23833 s,@libdir@,$libdir,;t t
23834 s,@includedir@,$includedir,;t t
23835 s,@oldincludedir@,$oldincludedir,;t t
23836 s,@infodir@,$infodir,;t t
23837 s,@mandir@,$mandir,;t t
23838 s,@build_alias@,$build_alias,;t t
23839 s,@host_alias@,$host_alias,;t t
23840 s,@target_alias@,$target_alias,;t t
23841 s,@DEFS@,$DEFS,;t t
23842 s,@ECHO_C@,$ECHO_C,;t t
23843 s,@ECHO_N@,$ECHO_N,;t t
23844 s,@ECHO_T@,$ECHO_T,;t t
23845 s,@LIBS@,$LIBS,;t t
23846 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23847 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23848 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23849 s,@build@,$build,;t t
23850 s,@build_cpu@,$build_cpu,;t t
23851 s,@build_vendor@,$build_vendor,;t t
23852 s,@build_os@,$build_os,;t t
23853 s,@host@,$host,;t t
23854 s,@host_cpu@,$host_cpu,;t t
23855 s,@host_vendor@,$host_vendor,;t t
23856 s,@host_os@,$host_os,;t t
23857 s,@target@,$target,;t t
23858 s,@target_cpu@,$target_cpu,;t t
23859 s,@target_vendor@,$target_vendor,;t t
23860 s,@target_os@,$target_os,;t t
23862 s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t
23863 s,@ARCH@,$ARCH,;t t
23865 s,@CXXFLAGS@,$CXXFLAGS,;t t
23866 s,@LDFLAGS@,$LDFLAGS,;t t
23867 s,@CPPFLAGS@,$CPPFLAGS,;t t
23868 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
23869 s,@EXEEXT@,$EXEEXT,;t t
23870 s,@OBJEXT@,$OBJEXT,;t t
23872 s,@CFLAGS@,$CFLAGS,;t t
23873 s,@ac_ct_CC@,$ac_ct_CC,;t t
23875 s,@ifGNUmake@,$ifGNUmake,;t t
23877 s,@LEXLIB@,$LEXLIB,;t t
23878 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
23879 s,@YACC@,$YACC,;t t
23880 s,@EGREP@,$EGREP,;t t
23881 s,@LN_S@,$LN_S,;t t
23882 s,@ECHO@,$ECHO,;t t
23884 s,@ac_ct_AR@,$ac_ct_AR,;t t
23885 s,@RANLIB@,$RANLIB,;t t
23886 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23887 s,@STRIP@,$STRIP,;t t
23888 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23889 s,@CXXCPP@,$CXXCPP,;t t
23891 s,@FFLAGS@,$FFLAGS,;t t
23892 s,@ac_ct_F77@,$ac_ct_F77,;t t
23893 s,@LIBTOOL@,$LIBTOOL,;t t
23894 s,@RPWD@,$RPWD,;t t
23897 s,@MKDIR@,$MKDIR,;t t
23898 s,@DATE@,$DATE,;t t
23901 s,@ETAGS@,$ETAGS,;t t
23902 s,@PURIFY@,$PURIFY,;t t
23903 s,@PYTHON@,$PYTHON,;t t
23904 s,@QMTEST@,$QMTEST,;t t
23905 s,@ALLOCA@,$ALLOCA,;t t
23906 s,@LIBOBJS@,$LIBOBJS,;t t
23907 s,@MMAP_FILE@,$MMAP_FILE,;t t
23908 s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t
23909 s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t
23910 s,@USE_SPEC@,$USE_SPEC,;t t
23912 s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t
23914 s,@SPEC_ROOT@,$SPEC_ROOT,;t t
23916 s,@PAPIDIR@,$PAPIDIR,;t t
23917 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23922 cat >>$CONFIG_STATUS <<\_ACEOF
23923 # Split the substitutions into bite-sized pieces for seds with
23924 # small command number limits, like on Digital OSF/1 and HP-UX.
23925 ac_max_sed_lines=48
23926 ac_sed_frag=1 # Number of current file.
23927 ac_beg=1 # First line for current file.
23928 ac_end=$ac_max_sed_lines # Line after last line for current file.
23931 while $ac_more_lines; do
23932 if test $ac_beg -gt 1; then
23933 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23935 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23937 if test ! -s $tmp/subs.frag; then
23938 ac_more_lines=false
23940 # The purpose of the label and of the branching condition is to
23941 # speed up the sed processing (if there are no `@' at all, there
23942 # is no need to browse any of the substitutions).
23943 # These are the two extra sed commands mentioned above.
23945 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23946 if test -z "$ac_sed_cmds"; then
23947 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
23949 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23951 ac_sed_frag=`expr $ac_sed_frag + 1`
23953 ac_end=`expr $ac_end + $ac_max_sed_lines`
23956 if test -z "$ac_sed_cmds"; then
23959 fi # test -n "$CONFIG_FILES"
23962 cat >>$CONFIG_STATUS <<\_ACEOF
23963 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23964 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23966 - | *:- | *:-:* ) # input from stdin
23968 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23969 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23970 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23971 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23972 * ) ac_file_in=$ac_file.in ;;
23975 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23976 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23977 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23978 X"$ac_file" : 'X\(//\)[^/]' \| \
23979 X"$ac_file" : 'X\(//\)$' \| \
23980 X"$ac_file" : 'X\(/\)' \| \
23981 . : '\(.\)' 2>/dev/null ||
23983 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23984 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23985 /^X\(\/\/\)$/{ s//\1/; q; }
23986 /^X\(\/\).*/{ s//\1/; q; }
23988 { if $as_mkdir_p; then
23993 while test ! -d "$as_dir"; do
23994 as_dirs="$as_dir $as_dirs"
23995 as_dir=`(dirname "$as_dir") 2>/dev/null ||
23996 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23997 X"$as_dir" : 'X\(//\)[^/]' \| \
23998 X"$as_dir" : 'X\(//\)$' \| \
23999 X"$as_dir" : 'X\(/\)' \| \
24000 . : '\(.\)' 2>/dev/null ||
24002 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24003 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24004 /^X\(\/\/\)$/{ s//\1/; q; }
24005 /^X\(\/\).*/{ s//\1/; q; }
24008 test ! -n "$as_dirs" || mkdir $as_dirs
24009 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24010 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24011 { (exit 1); exit 1; }; }; }
24015 if test "$ac_dir" != .; then
24016 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24017 # A "../" for each directory in $ac_dir_suffix.
24018 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24020 ac_dir_suffix= ac_top_builddir=
24024 .) # No --srcdir option. We are building in place.
24026 if test -z "$ac_top_builddir"; then
24029 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24031 [\\/]* | ?:[\\/]* ) # Absolute path.
24032 ac_srcdir=$srcdir$ac_dir_suffix;
24033 ac_top_srcdir=$srcdir ;;
24034 *) # Relative path.
24035 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24036 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24038 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24040 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24041 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24042 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24043 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24047 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24048 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
24051 if test x"$ac_file" != x-; then
24052 { echo "$as_me:$LINENO: creating $ac_file" >&5
24053 echo "$as_me: creating $ac_file" >&6;}
24056 # Let's still pretend it is `configure' which instantiates (i.e., don't
24057 # use $as_me), people would be surprised to read:
24058 # /* config.h. Generated by config.status. */
24059 if test x"$ac_file" = x-; then
24062 configure_input="$ac_file. "
24064 configure_input=$configure_input"Generated from `echo $ac_file_in |
24065 sed 's,.*/,,'` by configure."
24067 # First look for the input files in the build tree, otherwise in the
24069 ac_file_inputs=`IFS=:
24070 for f in $ac_file_in; do
24072 -) echo $tmp/stdin ;;
24074 # Absolute (can't be DOS-style, as IFS=:)
24075 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24076 echo "$as_me: error: cannot find input file: $f" >&2;}
24077 { (exit 1); exit 1; }; }
24080 if test -f "$f"; then
24083 elif test -f "$srcdir/$f"; then
24088 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24089 echo "$as_me: error: cannot find input file: $f" >&2;}
24090 { (exit 1); exit 1; }; }
24093 done` || { (exit 1); exit 1; }
24095 cat >>$CONFIG_STATUS <<_ACEOF
24099 cat >>$CONFIG_STATUS <<\_ACEOF
24101 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24102 s,@configure_input@,$configure_input,;t t
24103 s,@srcdir@,$ac_srcdir,;t t
24104 s,@abs_srcdir@,$ac_abs_srcdir,;t t
24105 s,@top_srcdir@,$ac_top_srcdir,;t t
24106 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
24107 s,@builddir@,$ac_builddir,;t t
24108 s,@abs_builddir@,$ac_abs_builddir,;t t
24109 s,@top_builddir@,$ac_top_builddir,;t t
24110 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
24111 s,@INSTALL@,$ac_INSTALL,;t t
24112 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24114 if test x"$ac_file" != x-; then
24115 mv $tmp/out $ac_file
24123 cat >>$CONFIG_STATUS <<\_ACEOF
24126 # CONFIG_HEADER section.
24129 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24130 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24132 # ac_d sets the value in "#define NAME VALUE" lines.
24133 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24134 ac_dB='[ ].*$,\1#\2'
24137 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24138 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24139 ac_uB='$,\1#\2define\3'
24143 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24144 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24146 - | *:- | *:-:* ) # input from stdin
24148 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24149 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24150 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24151 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24152 * ) ac_file_in=$ac_file.in ;;
24155 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24156 echo "$as_me: creating $ac_file" >&6;}
24158 # First look for the input files in the build tree, otherwise in the
24160 ac_file_inputs=`IFS=:
24161 for f in $ac_file_in; do
24163 -) echo $tmp/stdin ;;
24165 # Absolute (can't be DOS-style, as IFS=:)
24166 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24167 echo "$as_me: error: cannot find input file: $f" >&2;}
24168 { (exit 1); exit 1; }; }
24171 if test -f "$f"; then
24174 elif test -f "$srcdir/$f"; then
24179 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24180 echo "$as_me: error: cannot find input file: $f" >&2;}
24181 { (exit 1); exit 1; }; }
24184 done` || { (exit 1); exit 1; }
24185 # Remove the trailing spaces.
24186 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24190 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24191 # `conftest.undefs', that substitutes the proper values into
24192 # config.h.in to produce config.h. The first handles `#define'
24193 # templates, and the second `#undef' templates.
24194 # And first: Protect against being on the right side of a sed subst in
24195 # config.status. Protect against being in an unquoted here document
24196 # in config.status.
24197 rm -f conftest.defines conftest.undefs
24198 # Using a here document instead of a string reduces the quoting nightmare.
24199 # Putting comments in sed scripts is not portable.
24201 # `end' is used to avoid that the second main sed command (meant for
24202 # 0-ary CPP macros) applies to n-ary macro definitions.
24203 # See the Autoconf documentation for `clear'.
24204 cat >confdef2sed.sed <<\_ACEOF
24209 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24211 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24214 # If some macros were called several times there might be several times
24215 # the same #defines, which is useless. Nevertheless, we may not want to
24216 # sort them, since we want the *last* AC-DEFINE to be honored.
24217 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24218 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24219 rm -f confdef2sed.sed
24221 # This sed command replaces #undef with comments. This is necessary, for
24222 # example, in the case of _POSIX_SOURCE, which is predefined and required
24223 # on some systems where configure will not decide to define it.
24224 cat >>conftest.undefs <<\_ACEOF
24225 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24228 # Break up conftest.defines because some shells have a limit on the size
24229 # of here documents, and old seds have small limits too (100 cmds).
24230 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24231 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24232 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24233 echo ' :' >>$CONFIG_STATUS
24234 rm -f conftest.tail
24235 while grep . conftest.defines >/dev/null
24237 # Write a limited-size here document to $tmp/defines.sed.
24238 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24239 # Speed up: don't consider the non `#define' lines.
24240 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24241 # Work around the forget-to-reset-the-flag bug.
24242 echo 't clr' >>$CONFIG_STATUS
24243 echo ': clr' >>$CONFIG_STATUS
24244 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24246 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24248 mv $tmp/out $tmp/in
24250 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24251 rm -f conftest.defines
24252 mv conftest.tail conftest.defines
24254 rm -f conftest.defines
24255 echo ' fi # grep' >>$CONFIG_STATUS
24256 echo >>$CONFIG_STATUS
24258 # Break up conftest.undefs because some shells have a limit on the size
24259 # of here documents, and old seds have small limits too (100 cmds).
24260 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24261 rm -f conftest.tail
24262 while grep . conftest.undefs >/dev/null
24264 # Write a limited-size here document to $tmp/undefs.sed.
24265 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24266 # Speed up: don't consider the non `#undef'
24267 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24268 # Work around the forget-to-reset-the-flag bug.
24269 echo 't clr' >>$CONFIG_STATUS
24270 echo ': clr' >>$CONFIG_STATUS
24271 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24273 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24275 mv $tmp/out $tmp/in
24277 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24278 rm -f conftest.undefs
24279 mv conftest.tail conftest.undefs
24281 rm -f conftest.undefs
24283 cat >>$CONFIG_STATUS <<\_ACEOF
24284 # Let's still pretend it is `configure' which instantiates (i.e., don't
24285 # use $as_me), people would be surprised to read:
24286 # /* config.h. Generated by config.status. */
24287 if test x"$ac_file" = x-; then
24288 echo "/* Generated by configure. */" >$tmp/config.h
24290 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24292 cat $tmp/in >>$tmp/config.h
24294 if test x"$ac_file" != x-; then
24295 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24296 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24297 echo "$as_me: $ac_file is unchanged" >&6;}
24299 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24300 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24301 X"$ac_file" : 'X\(//\)[^/]' \| \
24302 X"$ac_file" : 'X\(//\)$' \| \
24303 X"$ac_file" : 'X\(/\)' \| \
24304 . : '\(.\)' 2>/dev/null ||
24306 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24307 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24308 /^X\(\/\/\)$/{ s//\1/; q; }
24309 /^X\(\/\).*/{ s//\1/; q; }
24311 { if $as_mkdir_p; then
24316 while test ! -d "$as_dir"; do
24317 as_dirs="$as_dir $as_dirs"
24318 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24319 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24320 X"$as_dir" : 'X\(//\)[^/]' \| \
24321 X"$as_dir" : 'X\(//\)$' \| \
24322 X"$as_dir" : 'X\(/\)' \| \
24323 . : '\(.\)' 2>/dev/null ||
24325 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24326 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24327 /^X\(\/\/\)$/{ s//\1/; q; }
24328 /^X\(\/\).*/{ s//\1/; q; }
24331 test ! -n "$as_dirs" || mkdir $as_dirs
24332 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24333 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24334 { (exit 1); exit 1; }; }; }
24337 mv $tmp/config.h $ac_file
24341 rm -f $tmp/config.h
24345 cat >>$CONFIG_STATUS <<\_ACEOF
24348 # CONFIG_COMMANDS section.
24350 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24351 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24352 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24353 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24354 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24355 X"$ac_dest" : 'X\(//\)[^/]' \| \
24356 X"$ac_dest" : 'X\(//\)$' \| \
24357 X"$ac_dest" : 'X\(/\)' \| \
24358 . : '\(.\)' 2>/dev/null ||
24360 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24361 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24362 /^X\(\/\/\)$/{ s//\1/; q; }
24363 /^X\(\/\).*/{ s//\1/; q; }
24367 if test "$ac_dir" != .; then
24368 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24369 # A "../" for each directory in $ac_dir_suffix.
24370 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24372 ac_dir_suffix= ac_top_builddir=
24376 .) # No --srcdir option. We are building in place.
24378 if test -z "$ac_top_builddir"; then
24381 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24383 [\\/]* | ?:[\\/]* ) # Absolute path.
24384 ac_srcdir=$srcdir$ac_dir_suffix;
24385 ac_top_srcdir=$srcdir ;;
24386 *) # Relative path.
24387 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24388 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24390 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24392 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24393 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24394 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24395 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24398 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24399 echo "$as_me: executing $ac_dest commands" >&6;}
24401 Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
24402 Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common ;;
24403 Makefile.rules ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.rules Makefile.rules ;;
24404 lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
24405 lib/Analysis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/Makefile lib/Analysis/Makefile ;;
24406 lib/Analysis/DataStructure/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/DataStructure/Makefile lib/Analysis/DataStructure/Makefile ;;
24407 lib/Analysis/IPA/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/IPA/Makefile lib/Analysis/IPA/Makefile ;;
24408 lib/Analysis/LiveVar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/LiveVar/Makefile lib/Analysis/LiveVar/Makefile ;;
24409 lib/AsmParser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/AsmParser/Makefile lib/AsmParser/Makefile ;;
24410 lib/Bytecode/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Makefile lib/Bytecode/Makefile ;;
24411 lib/Bytecode/Reader/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Reader/Makefile lib/Bytecode/Reader/Makefile ;;
24412 lib/Bytecode/Writer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Writer/Makefile lib/Bytecode/Writer/Makefile ;;
24413 lib/CWriter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CWriter/Makefile lib/CWriter/Makefile ;;
24414 lib/CodeGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/Makefile lib/CodeGen/Makefile ;;
24415 lib/CodeGen/InstrSched/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSched/Makefile lib/CodeGen/InstrSched/Makefile ;;
24416 lib/CodeGen/InstrSelection/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSelection/Makefile lib/CodeGen/InstrSelection/Makefile ;;
24417 lib/CodeGen/ModuloScheduling/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/ModuloScheduling/Makefile lib/CodeGen/ModuloScheduling/Makefile ;;
24418 lib/CodeGen/RegAlloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/RegAlloc/Makefile lib/CodeGen/RegAlloc/Makefile ;;
24419 lib/CodeGen/SelectionDAG/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/SelectionDAG/Makefile lib/CodeGen/SelectionDAG/Makefile ;;
24420 lib/ExecutionEngine/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Makefile lib/ExecutionEngine/Makefile ;;
24421 lib/ExecutionEngine/Interpreter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Interpreter/Makefile lib/ExecutionEngine/Interpreter/Makefile ;;
24422 lib/ExecutionEngine/JIT/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/JIT/Makefile lib/ExecutionEngine/JIT/Makefile ;;
24423 lib/Target/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Makefile lib/Target/Makefile ;;
24424 lib/Target/Sparc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Sparc/Makefile lib/Target/Sparc/Makefile ;;
24425 lib/Target/X86/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/X86/Makefile lib/Target/X86/Makefile ;;
24426 lib/Transforms/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Makefile lib/Transforms/Makefile ;;
24427 lib/Transforms/Hello/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Hello/Makefile lib/Transforms/Hello/Makefile ;;
24428 lib/Transforms/IPO/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/IPO/Makefile lib/Transforms/IPO/Makefile ;;
24429 lib/Transforms/Instrumentation/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/Makefile lib/Transforms/Instrumentation/Makefile ;;
24430 lib/Transforms/Instrumentation/ProfilePaths/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/ProfilePaths/Makefile lib/Transforms/Instrumentation/ProfilePaths/Makefile ;;
24431 lib/Transforms/Scalar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Scalar/Makefile lib/Transforms/Scalar/Makefile ;;
24432 lib/Transforms/Utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Utils/Makefile lib/Transforms/Utils/Makefile ;;
24433 lib/VMCore/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/VMCore/Makefile lib/VMCore/Makefile ;;
24434 runtime/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/Makefile runtime/Makefile ;;
24435 runtime/GCCLibraries/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/Makefile runtime/GCCLibraries/Makefile ;;
24436 runtime/GCCLibraries/crtend/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/crtend/Makefile runtime/GCCLibraries/crtend/Makefile ;;
24437 runtime/GCCLibraries/libc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libc/Makefile runtime/GCCLibraries/libc/Makefile ;;
24438 runtime/GCCLibraries/libcurses/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libcurses/Makefile runtime/GCCLibraries/libcurses/Makefile ;;
24439 runtime/GCCLibraries/libg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libg/Makefile runtime/GCCLibraries/libg/Makefile ;;
24440 runtime/GCCLibraries/libgcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libgcc/Makefile runtime/GCCLibraries/libgcc/Makefile ;;
24441 runtime/GCCLibraries/libm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libm/Makefile runtime/GCCLibraries/libm/Makefile ;;
24442 runtime/GCCLibraries/libmalloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libmalloc/Makefile runtime/GCCLibraries/libmalloc/Makefile ;;
24443 runtime/GCCLibraries/libtermcap/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libtermcap/Makefile runtime/GCCLibraries/libtermcap/Makefile ;;
24444 runtime/GCCLibraries/libucb/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libucb/Makefile runtime/GCCLibraries/libucb/Makefile ;;
24445 runtime/GCCLibraries/libutempter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutempter/Makefile runtime/GCCLibraries/libutempter/Makefile ;;
24446 runtime/GCCLibraries/libutil/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutil/Makefile runtime/GCCLibraries/libutil/Makefile ;;
24447 runtime/libdummy/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libdummy/Makefile runtime/libdummy/Makefile ;;
24448 runtime/libtrace/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libtrace/Makefile runtime/libtrace/Makefile ;;
24449 test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;;
24450 test/Makefile.tests ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile.tests test/Makefile.tests ;;
24451 test/QMTestDB/QMTest/llvm.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTestDB/QMTest/llvm.py test/QMTestDB/QMTest/llvm.py ;;
24452 test/Programs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile test/Programs/Makefile ;;
24453 test/Programs/Makefile.programs ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.programs test/Programs/Makefile.programs ;;
24454 test/Programs/TEST.aa.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.Makefile test/Programs/TEST.aa.Makefile ;;
24455 test/Programs/TEST.dsgraph.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.report test/Programs/TEST.dsgraph.report ;;
24456 test/Programs/TEST.micro.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.report test/Programs/TEST.micro.report ;;
24457 test/Programs/TEST.aa.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.report test/Programs/TEST.aa.report ;;
24458 test/Programs/TEST.example.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.example.Makefile test/Programs/TEST.example.Makefile ;;
24459 test/Programs/TEST.nightly.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.Makefile test/Programs/TEST.nightly.Makefile ;;
24460 test/Programs/TEST.buildrepo.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.buildrepo.Makefile test/Programs/TEST.buildrepo.Makefile ;;
24461 test/Programs/TEST.jit.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.Makefile test/Programs/TEST.jit.Makefile ;;
24462 test/Programs/TEST.nightly.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.report test/Programs/TEST.nightly.report ;;
24463 test/Programs/TEST.dsgraph.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.Makefile test/Programs/TEST.dsgraph.Makefile ;;
24464 test/Programs/TEST.jit.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.report test/Programs/TEST.jit.report ;;
24465 test/Programs/TEST.typesafe.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.typesafe.Makefile test/Programs/TEST.typesafe.Makefile ;;
24466 test/Programs/TEST.dsgraph.gnuplot ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.gnuplot test/Programs/TEST.dsgraph.gnuplot ;;
24467 test/Programs/TEST.micro.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.Makefile test/Programs/TEST.micro.Makefile ;;
24468 test/Programs/External/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/Makefile test/Programs/External/Makefile ;;
24469 test/Programs/External/SPEC/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile test/Programs/External/SPEC/Makefile ;;
24470 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 ;;
24471 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 ;;
24472 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 ;;
24473 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 ;;
24474 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 ;;
24475 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 ;;
24476 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 ;;
24477 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 ;;
24478 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 ;;
24479 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 ;;
24480 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 ;;
24481 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 ;;
24482 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 ;;
24483 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 ;;
24484 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 ;;
24485 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 ;;
24486 test/Programs/LLVMSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/LLVMSource/Makefile test/Programs/LLVMSource/Makefile ;;
24487 test/Programs/MultiSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile test/Programs/MultiSource/Makefile ;;
24488 test/Programs/MultiSource/Makefile.multisrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile.multisrc test/Programs/MultiSource/Makefile.multisrc ;;
24489 test/Programs/MultiSource/Applications/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/Makefile test/Programs/MultiSource/Applications/Makefile ;;
24490 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 ;;
24491 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 ;;
24492 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 ;;
24493 test/Programs/MultiSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Makefile test/Programs/MultiSource/Benchmarks/Makefile ;;
24494 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 ;;
24495 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 ;;
24496 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 ;;
24497 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 ;;
24498 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 ;;
24499 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 ;;
24500 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 ;;
24501 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 ;;
24502 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 ;;
24503 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 ;;
24504 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 ;;
24505 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 ;;
24506 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 ;;
24507 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 ;;
24508 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 ;;
24509 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 ;;
24510 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 ;;
24511 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 ;;
24512 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 ;;
24513 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 ;;
24514 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 ;;
24515 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 ;;
24516 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 ;;
24517 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 ;;
24518 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 ;;
24519 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 ;;
24520 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 ;;
24521 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 ;;
24522 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 ;;
24523 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 ;;
24524 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 ;;
24525 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 ;;
24526 test/Programs/NoSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Makefile test/Programs/NoSource/Makefile ;;
24527 test/Programs/NoSource/Flex/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Flex/Makefile test/Programs/NoSource/Flex/Makefile ;;
24528 test/Programs/NoSource/Larn/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Larn/Makefile test/Programs/NoSource/Larn/Makefile ;;
24529 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 ;;
24530 test/Programs/NoSource/Povray31/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Povray31/Makefile test/Programs/NoSource/Povray31/Makefile ;;
24531 test/Programs/NoSource/m4/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/m4/Makefile test/Programs/NoSource/m4/Makefile ;;
24532 test/Programs/SingleSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile test/Programs/SingleSource/Makefile ;;
24533 test/Programs/SingleSource/Makefile.singlesrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile.singlesrc test/Programs/SingleSource/Makefile.singlesrc ;;
24534 test/Programs/SingleSource/Gizmos/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Gizmos/Makefile test/Programs/SingleSource/Gizmos/Makefile ;;
24535 test/Programs/SingleSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Makefile test/Programs/SingleSource/Benchmarks/Makefile ;;
24536 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 ;;
24537 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 ;;
24538 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 ;;
24539 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 ;;
24540 test/Programs/SingleSource/CustomChecked/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/CustomChecked/Makefile test/Programs/SingleSource/CustomChecked/Makefile ;;
24541 test/Programs/SingleSource/UnitTests/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/Makefile test/Programs/SingleSource/UnitTests/Makefile ;;
24542 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 ;;
24543 test/Programs/SingleSource/Regression/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/Makefile test/Programs/SingleSource/Regression/Makefile ;;
24544 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 ;;
24545 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 ;;
24546 test/Programs/SingleSource/Regression/C++/EH/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/C++/EH/Makefile test/Programs/SingleSource/Regression/C++/EH/Makefile ;;
24547 test/Programs/SingleSource/Regression/C++/CompileFail/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/C++/CompileFail/Makefile test/Programs/SingleSource/Regression/C++/CompileFail/Makefile ;;
24548 tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
24549 tools/analyze/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/analyze/Makefile tools/analyze/Makefile ;;
24550 tools/bugpoint/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/bugpoint/Makefile tools/bugpoint/Makefile ;;
24551 tools/extract/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/extract/Makefile tools/extract/Makefile ;;
24552 tools/gccas/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccas/Makefile tools/gccas/Makefile ;;
24553 tools/gccld/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccld/Makefile tools/gccld/Makefile ;;
24554 tools/llc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llc/Makefile tools/llc/Makefile ;;
24555 tools/llee/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llee/Makefile tools/llee/Makefile ;;
24556 tools/lli/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/lli/Makefile tools/lli/Makefile ;;
24557 tools/llvm-ar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-ar/Makefile tools/llvm-ar/Makefile ;;
24558 tools/llvm-as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-as/Makefile tools/llvm-as/Makefile ;;
24559 tools/llvm-dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-dis/Makefile tools/llvm-dis/Makefile ;;
24560 tools/llvm-link/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-link/Makefile tools/llvm-link/Makefile ;;
24561 tools/opt/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/opt/Makefile tools/opt/Makefile ;;
24562 www/docs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/www/docs/Makefile www/docs/Makefile ;;
24563 projects/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Makefile projects/Makefile ;;
24564 projects/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile projects/sample/Makefile ;;
24565 projects/sample/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.common projects/sample/Makefile.common ;;
24566 projects/sample/Makefile.config ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.config projects/sample/Makefile.config ;;
24567 projects/sample/lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/Makefile projects/sample/lib/Makefile ;;
24568 projects/sample/lib/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/sample/Makefile projects/sample/lib/sample/Makefile ;;
24569 projects/sample/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/Makefile projects/sample/tools/Makefile ;;
24570 projects/sample/tools/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/sample/Makefile projects/sample/tools/sample/Makefile ;;
24571 projects/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile projects/ModuleMaker/Makefile ;;
24572 projects/ModuleMaker/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile.common projects/ModuleMaker/Makefile.common ;;
24573 projects/ModuleMaker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/Makefile projects/ModuleMaker/tools/Makefile ;;
24574 projects/ModuleMaker/tools/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/ModuleMaker/Makefile projects/ModuleMaker/tools/ModuleMaker/Makefile ;;
24575 support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/Makefile support/Makefile ;;
24576 support/lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/lib/Makefile support/lib/Makefile ;;
24577 support/lib/Support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/lib/Support/Makefile support/lib/Support/Makefile ;;
24578 support/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/tools/Makefile support/tools/Makefile ;;
24579 support/tools/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/tools/Burg/Makefile support/tools/Burg/Makefile ;;
24580 support/tools/Burg/Doc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/tools/Burg/Doc/Makefile support/tools/Burg/Doc/Makefile ;;
24581 support/tools/TableGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/support/tools/TableGen/Makefile support/tools/TableGen/Makefile ;;
24586 cat >>$CONFIG_STATUS <<\_ACEOF
24588 { (exit 0); exit 0; }
24590 chmod +x $CONFIG_STATUS
24591 ac_clean_files=$ac_clean_files_save
24594 # configure is writing to config.log, and then calls config.status.
24595 # config.status does its own redirection, appending to config.log.
24596 # Unfortunately, on DOS this fails, as config.log is still kept open
24597 # by configure, so config.status won't be able to write to it; its
24598 # output is simply discarded. So we exec the FD to /dev/null,
24599 # effectively closing config.log, so it can be properly (re)opened and
24600 # appended to by config.status. When coming back to configure, we
24601 # need to make the FD available again.
24602 if test "$no_create" != yes; then
24604 ac_config_status_args=
24605 test "$silent" = yes &&
24606 ac_config_status_args="$ac_config_status_args --quiet"
24608 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24610 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24611 # would make configure fail if this is the last instruction.
24612 $ac_cs_success || { (exit 1); exit 1; }