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 -f ${srcdir}/include/Config/config.h
1514 { { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5
1515 echo "$as_me: error: Already configured in ${srcdir}" >&2;}
1516 { (exit 1); exit 1; }; }
1520 ac_config_headers="$ac_config_headers include/Config/config.h"
1522 ac_config_commands="$ac_config_commands Makefile"
1525 ac_config_commands="$ac_config_commands Makefile.common"
1528 ac_config_commands="$ac_config_commands Makefile.rules"
1531 ac_config_commands="$ac_config_commands lib/Makefile"
1534 ac_config_commands="$ac_config_commands lib/Analysis/Makefile"
1537 ac_config_commands="$ac_config_commands lib/Analysis/DataStructure/Makefile"
1540 ac_config_commands="$ac_config_commands lib/Analysis/IPA/Makefile"
1543 ac_config_commands="$ac_config_commands lib/Analysis/LiveVar/Makefile"
1546 ac_config_commands="$ac_config_commands lib/AsmParser/Makefile"
1549 ac_config_commands="$ac_config_commands lib/Bytecode/Makefile"
1552 ac_config_commands="$ac_config_commands lib/Bytecode/Reader/Makefile"
1555 ac_config_commands="$ac_config_commands lib/Bytecode/Writer/Makefile"
1558 ac_config_commands="$ac_config_commands lib/CWriter/Makefile"
1561 ac_config_commands="$ac_config_commands lib/CodeGen/Makefile"
1564 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSched/Makefile"
1567 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSelection/Makefile"
1570 ac_config_commands="$ac_config_commands lib/CodeGen/ModuloScheduling/Makefile"
1573 ac_config_commands="$ac_config_commands lib/CodeGen/RegAlloc/Makefile"
1576 ac_config_commands="$ac_config_commands lib/CodeGen/SelectionDAG/Makefile"
1579 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Makefile"
1582 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Interpreter/Makefile"
1585 ac_config_commands="$ac_config_commands lib/ExecutionEngine/JIT/Makefile"
1588 ac_config_commands="$ac_config_commands lib/Support/Makefile"
1591 ac_config_commands="$ac_config_commands lib/Target/Makefile"
1594 ac_config_commands="$ac_config_commands lib/Target/Sparc/Makefile"
1597 ac_config_commands="$ac_config_commands lib/Target/X86/Makefile"
1600 ac_config_commands="$ac_config_commands lib/Transforms/Makefile"
1603 ac_config_commands="$ac_config_commands lib/Transforms/Hello/Makefile"
1606 ac_config_commands="$ac_config_commands lib/Transforms/IPO/Makefile"
1609 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/Makefile"
1612 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/ProfilePaths/Makefile"
1615 ac_config_commands="$ac_config_commands lib/Transforms/Scalar/Makefile"
1618 ac_config_commands="$ac_config_commands lib/Transforms/Utils/Makefile"
1621 ac_config_commands="$ac_config_commands lib/VMCore/Makefile"
1624 ac_config_commands="$ac_config_commands runtime/Makefile"
1627 ac_config_commands="$ac_config_commands runtime/GCCLibraries/Makefile"
1630 ac_config_commands="$ac_config_commands runtime/GCCLibraries/crtend/Makefile"
1633 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libc/Makefile"
1636 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libcurses/Makefile"
1639 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libexception/Makefile"
1642 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libg/Makefile"
1645 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libgcc/Makefile"
1648 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libm/Makefile"
1651 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libmalloc/Makefile"
1654 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libtermcap/Makefile"
1657 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libucb/Makefile"
1660 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutempter/Makefile"
1663 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutil/Makefile"
1666 ac_config_commands="$ac_config_commands runtime/libdummy/Makefile"
1669 ac_config_commands="$ac_config_commands runtime/libtrace/Makefile"
1672 ac_config_commands="$ac_config_commands test/Makefile"
1675 ac_config_commands="$ac_config_commands test/Makefile.tests"
1678 ac_config_commands="$ac_config_commands test/Programs/Makefile"
1681 ac_config_commands="$ac_config_commands test/Programs/Makefile.programs"
1684 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.Makefile"
1687 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.report"
1690 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.report"
1693 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.report"
1696 ac_config_commands="$ac_config_commands test/Programs/TEST.example.Makefile"
1699 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.Makefile"
1702 ac_config_commands="$ac_config_commands test/Programs/TEST.buildrepo.Makefile"
1705 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.Makefile"
1708 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.report"
1711 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.Makefile"
1714 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.report"
1717 ac_config_commands="$ac_config_commands test/Programs/TEST.typesafe.Makefile"
1720 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.gnuplot"
1723 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.Makefile"
1726 ac_config_commands="$ac_config_commands test/Programs/External/Makefile"
1729 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile"
1732 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile.spec"
1735 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/Makefile"
1738 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/179.art/Makefile"
1741 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/183.equake/Makefile"
1744 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/188.ammp/Makefile"
1747 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/Makefile"
1750 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/164.gzip/Makefile"
1753 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/175.vpr/Makefile"
1756 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/176.gcc/Makefile"
1759 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/181.mcf/Makefile"
1762 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/186.crafty/Makefile"
1765 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/197.parser/Makefile"
1768 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/254.gap/Makefile"
1771 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/255.vortex/Makefile"
1774 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile"
1777 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/300.twolf/Makefile"
1780 ac_config_commands="$ac_config_commands test/Programs/LLVMSource/Makefile"
1783 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile"
1786 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile.multisrc"
1789 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Makefile"
1792 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Burg/Makefile"
1795 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/aha/Makefile"
1798 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/sgefa/Makefile"
1801 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Makefile"
1804 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile"
1807 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/Makefile"
1810 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile"
1813 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile"
1816 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile"
1819 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile"
1822 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile"
1825 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile"
1828 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile"
1831 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile"
1834 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile"
1837 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile"
1840 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/Makefile"
1843 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile"
1846 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile"
1849 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile"
1852 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/health/Makefile"
1855 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile"
1858 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile"
1861 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/power/Makefile"
1864 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile"
1867 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile"
1870 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile"
1873 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile"
1876 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile"
1879 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile"
1882 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile"
1885 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile"
1888 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile"
1891 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile"
1894 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile"
1897 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/sim/Makefile"
1900 ac_config_commands="$ac_config_commands test/Programs/NoSource/Makefile"
1903 ac_config_commands="$ac_config_commands test/Programs/NoSource/Flex/Makefile"
1906 ac_config_commands="$ac_config_commands test/Programs/NoSource/Larn/Makefile"
1909 ac_config_commands="$ac_config_commands test/Programs/NoSource/Moria-5.5.2/Makefile"
1912 ac_config_commands="$ac_config_commands test/Programs/NoSource/Povray31/Makefile"
1915 ac_config_commands="$ac_config_commands test/Programs/NoSource/m4/Makefile"
1918 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile"
1921 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile.singlesrc"
1924 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Gizmos/Makefile"
1927 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Makefile"
1930 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile"
1933 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Shootout/Makefile"
1936 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Stanford/Makefile"
1939 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Misc/Makefile"
1942 ac_config_commands="$ac_config_commands test/Programs/SingleSource/CustomChecked/Makefile"
1945 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/Makefile"
1948 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile"
1951 ac_config_commands="$ac_config_commands tools/Makefile"
1954 ac_config_commands="$ac_config_commands tools/analyze/Makefile"
1957 ac_config_commands="$ac_config_commands tools/as/Makefile"
1960 ac_config_commands="$ac_config_commands tools/bugpoint/Makefile"
1963 ac_config_commands="$ac_config_commands tools/dis/Makefile"
1966 ac_config_commands="$ac_config_commands tools/extract/Makefile"
1969 ac_config_commands="$ac_config_commands tools/gccas/Makefile"
1972 ac_config_commands="$ac_config_commands tools/gccld/Makefile"
1975 ac_config_commands="$ac_config_commands tools/link/Makefile"
1978 ac_config_commands="$ac_config_commands tools/llc/Makefile"
1981 ac_config_commands="$ac_config_commands tools/lli/Makefile"
1984 ac_config_commands="$ac_config_commands tools/opt/Makefile"
1987 ac_config_commands="$ac_config_commands tools/llee/Makefile"
1990 ac_config_commands="$ac_config_commands tools/llvm-as/Makefile"
1993 ac_config_commands="$ac_config_commands tools/llvm-ar/Makefile"
1996 ac_config_commands="$ac_config_commands tools/llvm-dis/Makefile"
1999 ac_config_commands="$ac_config_commands utils/Makefile"
2002 ac_config_commands="$ac_config_commands utils/Burg/Makefile"
2005 ac_config_commands="$ac_config_commands utils/Burg/Doc/Makefile"
2008 ac_config_commands="$ac_config_commands utils/TableGen/Makefile"
2011 ac_config_commands="$ac_config_commands www/docs/Makefile"
2014 ac_config_commands="$ac_config_commands projects/Makefile"
2017 ac_config_commands="$ac_config_commands projects/sample/Makefile"
2020 ac_config_commands="$ac_config_commands projects/sample/Makefile.common"
2023 ac_config_commands="$ac_config_commands projects/sample/Makefile.config"
2026 ac_config_commands="$ac_config_commands projects/sample/lib/Makefile"
2029 ac_config_commands="$ac_config_commands projects/sample/lib/sample/Makefile"
2032 ac_config_commands="$ac_config_commands projects/sample/tools/Makefile"
2035 ac_config_commands="$ac_config_commands projects/sample/tools/sample/Makefile"
2038 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile"
2041 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile.common"
2044 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/Makefile"
2047 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/ModuleMaker/Makefile"
2052 # Find a good install program. We prefer a C program (faster),
2053 # so one script is as good as another. But avoid the broken or
2054 # incompatible versions:
2055 # SysV /etc/install, /usr/sbin/install
2056 # SunOS /usr/etc/install
2057 # IRIX /sbin/install
2059 # AmigaOS /C/install, which installs bootblocks on floppy discs
2060 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2061 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2062 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2063 # ./install, which can be erroneously created by make from ./install.sh.
2064 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2065 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2066 if test -z "$INSTALL"; then
2067 if test "${ac_cv_path_install+set}" = set; then
2068 echo $ECHO_N "(cached) $ECHO_C" >&6
2070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2074 test -z "$as_dir" && as_dir=.
2075 # Account for people who put trailing slashes in PATH elements.
2077 ./ | .// | /cC/* | \
2078 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2081 # OSF1 and SCO ODT 3.0 have their own names for install.
2082 # Don't use installbsd from OSF since it installs stuff as root
2084 for ac_prog in ginstall scoinst install; do
2085 for ac_exec_ext in '' $ac_executable_extensions; do
2086 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2087 if test $ac_prog = install &&
2088 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2089 # AIX install. It has an incompatible calling convention.
2091 elif test $ac_prog = install &&
2092 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2093 # program-specific install script used by HP pwplus--don't use.
2096 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2108 if test "${ac_cv_path_install+set}" = set; then
2109 INSTALL=$ac_cv_path_install
2111 # As a last resort, use the slow shell script. We don't cache a
2112 # path for INSTALL within a source directory, because that will
2113 # break other packages using the cache if that directory is
2114 # removed, or if the path is relative.
2115 INSTALL=$ac_install_sh
2118 echo "$as_me:$LINENO: result: $INSTALL" >&5
2119 echo "${ECHO_T}$INSTALL" >&6
2121 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2122 # It thinks the first close brace ends the variable substitution.
2123 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2125 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2127 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2130 # Make sure we can run config.sub.
2131 $ac_config_sub sun4 >/dev/null 2>&1 ||
2132 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2133 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2134 { (exit 1); exit 1; }; }
2136 echo "$as_me:$LINENO: checking build system type" >&5
2137 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2138 if test "${ac_cv_build+set}" = set; then
2139 echo $ECHO_N "(cached) $ECHO_C" >&6
2141 ac_cv_build_alias=$build_alias
2142 test -z "$ac_cv_build_alias" &&
2143 ac_cv_build_alias=`$ac_config_guess`
2144 test -z "$ac_cv_build_alias" &&
2145 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2146 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2147 { (exit 1); exit 1; }; }
2148 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2149 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2150 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2151 { (exit 1); exit 1; }; }
2154 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2155 echo "${ECHO_T}$ac_cv_build" >&6
2157 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2158 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2159 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2162 echo "$as_me:$LINENO: checking host system type" >&5
2163 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2164 if test "${ac_cv_host+set}" = set; then
2165 echo $ECHO_N "(cached) $ECHO_C" >&6
2167 ac_cv_host_alias=$host_alias
2168 test -z "$ac_cv_host_alias" &&
2169 ac_cv_host_alias=$ac_cv_build_alias
2170 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2171 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2172 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2173 { (exit 1); exit 1; }; }
2176 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2177 echo "${ECHO_T}$ac_cv_host" >&6
2179 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2180 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2181 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2184 echo "$as_me:$LINENO: checking target system type" >&5
2185 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2186 if test "${ac_cv_target+set}" = set; then
2187 echo $ECHO_N "(cached) $ECHO_C" >&6
2189 ac_cv_target_alias=$target_alias
2190 test "x$ac_cv_target_alias" = "x" &&
2191 ac_cv_target_alias=$ac_cv_host_alias
2192 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2193 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2194 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2195 { (exit 1); exit 1; }; }
2198 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2199 echo "${ECHO_T}$ac_cv_target" >&6
2200 target=$ac_cv_target
2201 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2202 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2203 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2206 # The aliases save the names the user supplied, while $host etc.
2207 # will get canonicalized.
2208 test -n "$target_alias" &&
2209 test "$program_prefix$program_suffix$program_transform_name" = \
2211 program_prefix=${target_alias}-
2216 LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/
2222 LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/
2232 *sparc*solaris*) target=sparcv9-sun-solaris2.8
2241 *sparc*solaris*) ARCH=Sparc
2248 ac_cpp='$CXXCPP $CPPFLAGS'
2249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2252 if test -n "$ac_tool_prefix"; then
2253 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2255 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2256 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2257 echo "$as_me:$LINENO: checking for $ac_word" >&5
2258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2259 if test "${ac_cv_prog_CXX+set}" = set; then
2260 echo $ECHO_N "(cached) $ECHO_C" >&6
2262 if test -n "$CXX"; then
2263 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2269 test -z "$as_dir" && as_dir=.
2270 for ac_exec_ext in '' $ac_executable_extensions; do
2271 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2272 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2282 if test -n "$CXX"; then
2283 echo "$as_me:$LINENO: result: $CXX" >&5
2284 echo "${ECHO_T}$CXX" >&6
2286 echo "$as_me:$LINENO: result: no" >&5
2287 echo "${ECHO_T}no" >&6
2290 test -n "$CXX" && break
2293 if test -z "$CXX"; then
2295 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2297 # Extract the first word of "$ac_prog", so it can be a program name with args.
2298 set dummy $ac_prog; ac_word=$2
2299 echo "$as_me:$LINENO: checking for $ac_word" >&5
2300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2301 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2302 echo $ECHO_N "(cached) $ECHO_C" >&6
2304 if test -n "$ac_ct_CXX"; then
2305 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2311 test -z "$as_dir" && as_dir=.
2312 for ac_exec_ext in '' $ac_executable_extensions; do
2313 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2314 ac_cv_prog_ac_ct_CXX="$ac_prog"
2315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2323 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2324 if test -n "$ac_ct_CXX"; then
2325 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2326 echo "${ECHO_T}$ac_ct_CXX" >&6
2328 echo "$as_me:$LINENO: result: no" >&5
2329 echo "${ECHO_T}no" >&6
2332 test -n "$ac_ct_CXX" && break
2334 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2340 # Provide some information about the compiler.
2341 echo "$as_me:$LINENO:" \
2342 "checking for C++ compiler version" >&5
2343 ac_compiler=`set X $ac_compile; echo $2`
2344 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2345 (eval $ac_compiler --version </dev/null >&5) 2>&5
2347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2348 (exit $ac_status); }
2349 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2350 (eval $ac_compiler -v </dev/null >&5) 2>&5
2352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2353 (exit $ac_status); }
2354 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2355 (eval $ac_compiler -V </dev/null >&5) 2>&5
2357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2358 (exit $ac_status); }
2360 cat >conftest.$ac_ext <<_ACEOF
2361 #line $LINENO "configure"
2364 cat confdefs.h >>conftest.$ac_ext
2365 cat >>conftest.$ac_ext <<_ACEOF
2366 /* end confdefs.h. */
2376 ac_clean_files_save=$ac_clean_files
2377 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2378 # Try to create an executable without -o first, disregard a.out.
2379 # It will help us diagnose broken compilers, and finding out an intuition
2381 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
2382 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
2383 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2384 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2385 (eval $ac_link_default) 2>&5
2387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388 (exit $ac_status); }; then
2389 # Find the output, starting from the most likely. This scheme is
2390 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2393 # Be careful to initialize this variable, since it used to be cached.
2394 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2396 # b.out is created by i960 compilers.
2397 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2399 test -f "$ac_file" || continue
2401 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2404 # This is the source file.
2407 # We found the default executable, but exeext='' is most
2411 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2412 # FIXME: I believe we export ac_cv_exeext for Libtool,
2413 # but it would be cool to find out if it's true. Does anybody
2414 # maintain Libtool? --akim.
2422 echo "$as_me: failed program was:" >&5
2423 sed 's/^/| /' conftest.$ac_ext >&5
2425 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2426 See \`config.log' for more details." >&5
2427 echo "$as_me: error: C++ compiler cannot create executables
2428 See \`config.log' for more details." >&2;}
2429 { (exit 77); exit 77; }; }
2432 ac_exeext=$ac_cv_exeext
2433 echo "$as_me:$LINENO: result: $ac_file" >&5
2434 echo "${ECHO_T}$ac_file" >&6
2436 # Check the compiler produces executables we can run. If not, either
2437 # the compiler is broken, or we cross compile.
2438 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2439 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2440 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2441 # If not cross compiling, check that we can run a simple program.
2442 if test "$cross_compiling" != yes; then
2443 if { ac_try='./$ac_file'
2444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2448 (exit $ac_status); }; }; then
2451 if test "$cross_compiling" = maybe; then
2454 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2455 If you meant to cross compile, use \`--host'.
2456 See \`config.log' for more details." >&5
2457 echo "$as_me: error: cannot run C++ compiled programs.
2458 If you meant to cross compile, use \`--host'.
2459 See \`config.log' for more details." >&2;}
2460 { (exit 1); exit 1; }; }
2464 echo "$as_me:$LINENO: result: yes" >&5
2465 echo "${ECHO_T}yes" >&6
2467 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2468 ac_clean_files=$ac_clean_files_save
2469 # Check the compiler produces executables we can run. If not, either
2470 # the compiler is broken, or we cross compile.
2471 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2472 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2473 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2474 echo "${ECHO_T}$cross_compiling" >&6
2476 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2477 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2479 (eval $ac_link) 2>&5
2481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2482 (exit $ac_status); }; then
2483 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2484 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2485 # work properly (i.e., refer to `conftest.exe'), while it won't with
2487 for ac_file in conftest.exe conftest conftest.*; do
2488 test -f "$ac_file" || continue
2490 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2491 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2498 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2499 See \`config.log' for more details." >&5
2500 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2501 See \`config.log' for more details." >&2;}
2502 { (exit 1); exit 1; }; }
2505 rm -f conftest$ac_cv_exeext
2506 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2507 echo "${ECHO_T}$ac_cv_exeext" >&6
2509 rm -f conftest.$ac_ext
2510 EXEEXT=$ac_cv_exeext
2512 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2513 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2514 if test "${ac_cv_objext+set}" = set; then
2515 echo $ECHO_N "(cached) $ECHO_C" >&6
2517 cat >conftest.$ac_ext <<_ACEOF
2518 #line $LINENO "configure"
2521 cat confdefs.h >>conftest.$ac_ext
2522 cat >>conftest.$ac_ext <<_ACEOF
2523 /* end confdefs.h. */
2533 rm -f conftest.o conftest.obj
2534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2535 (eval $ac_compile) 2>&5
2537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2538 (exit $ac_status); }; then
2539 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2541 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2542 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2547 echo "$as_me: failed program was:" >&5
2548 sed 's/^/| /' conftest.$ac_ext >&5
2550 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2551 See \`config.log' for more details." >&5
2552 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2553 See \`config.log' for more details." >&2;}
2554 { (exit 1); exit 1; }; }
2557 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2559 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2560 echo "${ECHO_T}$ac_cv_objext" >&6
2561 OBJEXT=$ac_cv_objext
2563 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2564 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2565 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2566 echo $ECHO_N "(cached) $ECHO_C" >&6
2568 cat >conftest.$ac_ext <<_ACEOF
2569 #line $LINENO "configure"
2572 cat confdefs.h >>conftest.$ac_ext
2573 cat >>conftest.$ac_ext <<_ACEOF
2574 /* end confdefs.h. */
2587 rm -f conftest.$ac_objext
2588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2589 (eval $ac_compile) 2>&5
2591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2592 (exit $ac_status); } &&
2593 { ac_try='test -s conftest.$ac_objext'
2594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2598 (exit $ac_status); }; }; then
2601 echo "$as_me: failed program was:" >&5
2602 sed 's/^/| /' conftest.$ac_ext >&5
2606 rm -f conftest.$ac_objext conftest.$ac_ext
2607 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2610 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2611 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2612 GXX=`test $ac_compiler_gnu = yes && echo yes`
2613 ac_test_CXXFLAGS=${CXXFLAGS+set}
2614 ac_save_CXXFLAGS=$CXXFLAGS
2616 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2617 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2618 if test "${ac_cv_prog_cxx_g+set}" = set; then
2619 echo $ECHO_N "(cached) $ECHO_C" >&6
2621 cat >conftest.$ac_ext <<_ACEOF
2622 #line $LINENO "configure"
2625 cat confdefs.h >>conftest.$ac_ext
2626 cat >>conftest.$ac_ext <<_ACEOF
2627 /* end confdefs.h. */
2637 rm -f conftest.$ac_objext
2638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2639 (eval $ac_compile) 2>&5
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); } &&
2643 { ac_try='test -s conftest.$ac_objext'
2644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648 (exit $ac_status); }; }; then
2649 ac_cv_prog_cxx_g=yes
2651 echo "$as_me: failed program was:" >&5
2652 sed 's/^/| /' conftest.$ac_ext >&5
2656 rm -f conftest.$ac_objext conftest.$ac_ext
2658 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2659 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2660 if test "$ac_test_CXXFLAGS" = set; then
2661 CXXFLAGS=$ac_save_CXXFLAGS
2662 elif test $ac_cv_prog_cxx_g = yes; then
2663 if test "$GXX" = yes; then
2669 if test "$GXX" = yes; then
2675 for ac_declaration in \
2677 '#include <stdlib.h>' \
2678 'extern "C" void std::exit (int) throw (); using std::exit;' \
2679 'extern "C" void std::exit (int); using std::exit;' \
2680 'extern "C" void exit (int) throw ();' \
2681 'extern "C" void exit (int);' \
2684 cat >conftest.$ac_ext <<_ACEOF
2685 #line $LINENO "configure"
2688 cat confdefs.h >>conftest.$ac_ext
2689 cat >>conftest.$ac_ext <<_ACEOF
2690 /* end confdefs.h. */
2701 rm -f conftest.$ac_objext
2702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2703 (eval $ac_compile) 2>&5
2705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2706 (exit $ac_status); } &&
2707 { ac_try='test -s conftest.$ac_objext'
2708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2712 (exit $ac_status); }; }; then
2715 echo "$as_me: failed program was:" >&5
2716 sed 's/^/| /' conftest.$ac_ext >&5
2720 rm -f conftest.$ac_objext conftest.$ac_ext
2721 cat >conftest.$ac_ext <<_ACEOF
2722 #line $LINENO "configure"
2725 cat confdefs.h >>conftest.$ac_ext
2726 cat >>conftest.$ac_ext <<_ACEOF
2727 /* end confdefs.h. */
2737 rm -f conftest.$ac_objext
2738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2739 (eval $ac_compile) 2>&5
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); } &&
2743 { ac_try='test -s conftest.$ac_objext'
2744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); }; }; then
2751 echo "$as_me: failed program was:" >&5
2752 sed 's/^/| /' conftest.$ac_ext >&5
2755 rm -f conftest.$ac_objext conftest.$ac_ext
2758 if test -n "$ac_declaration"; then
2759 echo '#ifdef __cplusplus' >>confdefs.h
2760 echo $ac_declaration >>confdefs.h
2761 echo '#endif' >>confdefs.h
2765 ac_cpp='$CPP $CPPFLAGS'
2766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2771 ac_cpp='$CPP $CPPFLAGS'
2772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2775 if test -n "$ac_tool_prefix"; then
2778 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2779 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2780 echo "$as_me:$LINENO: checking for $ac_word" >&5
2781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2782 if test "${ac_cv_prog_CC+set}" = set; then
2783 echo $ECHO_N "(cached) $ECHO_C" >&6
2785 if test -n "$CC"; then
2786 ac_cv_prog_CC="$CC" # Let the user override the test.
2788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2792 test -z "$as_dir" && as_dir=.
2793 for ac_exec_ext in '' $ac_executable_extensions; do
2794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2795 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2805 if test -n "$CC"; then
2806 echo "$as_me:$LINENO: result: $CC" >&5
2807 echo "${ECHO_T}$CC" >&6
2809 echo "$as_me:$LINENO: result: no" >&5
2810 echo "${ECHO_T}no" >&6
2813 test -n "$CC" && break
2816 if test -z "$CC"; then
2820 # Extract the first word of "$ac_prog", so it can be a program name with args.
2821 set dummy $ac_prog; ac_word=$2
2822 echo "$as_me:$LINENO: checking for $ac_word" >&5
2823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2824 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2825 echo $ECHO_N "(cached) $ECHO_C" >&6
2827 if test -n "$ac_ct_CC"; then
2828 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2834 test -z "$as_dir" && as_dir=.
2835 for ac_exec_ext in '' $ac_executable_extensions; do
2836 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2837 ac_cv_prog_ac_ct_CC="$ac_prog"
2838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2846 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2847 if test -n "$ac_ct_CC"; then
2848 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2849 echo "${ECHO_T}$ac_ct_CC" >&6
2851 echo "$as_me:$LINENO: result: no" >&5
2852 echo "${ECHO_T}no" >&6
2855 test -n "$ac_ct_CC" && break
2862 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2863 See \`config.log' for more details." >&5
2864 echo "$as_me: error: no acceptable C compiler found in \$PATH
2865 See \`config.log' for more details." >&2;}
2866 { (exit 1); exit 1; }; }
2868 # Provide some information about the compiler.
2869 echo "$as_me:$LINENO:" \
2870 "checking for C compiler version" >&5
2871 ac_compiler=`set X $ac_compile; echo $2`
2872 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2873 (eval $ac_compiler --version </dev/null >&5) 2>&5
2875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2876 (exit $ac_status); }
2877 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2878 (eval $ac_compiler -v </dev/null >&5) 2>&5
2880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881 (exit $ac_status); }
2882 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2883 (eval $ac_compiler -V </dev/null >&5) 2>&5
2885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2886 (exit $ac_status); }
2888 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2889 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2890 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2891 echo $ECHO_N "(cached) $ECHO_C" >&6
2893 cat >conftest.$ac_ext <<_ACEOF
2894 #line $LINENO "configure"
2897 cat confdefs.h >>conftest.$ac_ext
2898 cat >>conftest.$ac_ext <<_ACEOF
2899 /* end confdefs.h. */
2912 rm -f conftest.$ac_objext
2913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2914 (eval $ac_compile) 2>&5
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); } &&
2918 { ac_try='test -s conftest.$ac_objext'
2919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923 (exit $ac_status); }; }; then
2926 echo "$as_me: failed program was:" >&5
2927 sed 's/^/| /' conftest.$ac_ext >&5
2931 rm -f conftest.$ac_objext conftest.$ac_ext
2932 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2935 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2936 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2937 GCC=`test $ac_compiler_gnu = yes && echo yes`
2938 ac_test_CFLAGS=${CFLAGS+set}
2939 ac_save_CFLAGS=$CFLAGS
2941 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2942 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2943 if test "${ac_cv_prog_cc_g+set}" = set; then
2944 echo $ECHO_N "(cached) $ECHO_C" >&6
2946 cat >conftest.$ac_ext <<_ACEOF
2947 #line $LINENO "configure"
2950 cat confdefs.h >>conftest.$ac_ext
2951 cat >>conftest.$ac_ext <<_ACEOF
2952 /* end confdefs.h. */
2962 rm -f conftest.$ac_objext
2963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2964 (eval $ac_compile) 2>&5
2966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2967 (exit $ac_status); } &&
2968 { ac_try='test -s conftest.$ac_objext'
2969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973 (exit $ac_status); }; }; then
2976 echo "$as_me: failed program was:" >&5
2977 sed 's/^/| /' conftest.$ac_ext >&5
2981 rm -f conftest.$ac_objext conftest.$ac_ext
2983 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2984 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2985 if test "$ac_test_CFLAGS" = set; then
2986 CFLAGS=$ac_save_CFLAGS
2987 elif test $ac_cv_prog_cc_g = yes; then
2988 if test "$GCC" = yes; then
2994 if test "$GCC" = yes; then
3000 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3001 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3002 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3003 echo $ECHO_N "(cached) $ECHO_C" >&6
3005 ac_cv_prog_cc_stdc=no
3007 cat >conftest.$ac_ext <<_ACEOF
3008 #line $LINENO "configure"
3011 cat confdefs.h >>conftest.$ac_ext
3012 cat >>conftest.$ac_ext <<_ACEOF
3013 /* end confdefs.h. */
3016 #include <sys/types.h>
3017 #include <sys/stat.h>
3018 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3019 struct buf { int x; };
3020 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3021 static char *e (p, i)
3027 static char *f (char * (*g) (char **, int), char **p, ...)
3032 s = g (p, va_arg (v,int));
3036 int test (int i, double x);
3037 struct s1 {int (*f) (int a);};
3038 struct s2 {int (*f) (double a);};
3039 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3045 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3050 # Don't try gcc -ansi; that turns off useful extensions and
3051 # breaks some systems' header files.
3052 # AIX -qlanglvl=ansi
3053 # Ultrix and OSF/1 -std1
3054 # HP-UX 10.20 and later -Ae
3055 # HP-UX older versions -Aa -D_HPUX_SOURCE
3056 # SVR4 -Xc -D__EXTENSIONS__
3057 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3059 CC="$ac_save_CC $ac_arg"
3060 rm -f conftest.$ac_objext
3061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3062 (eval $ac_compile) 2>&5
3064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3065 (exit $ac_status); } &&
3066 { ac_try='test -s conftest.$ac_objext'
3067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3071 (exit $ac_status); }; }; then
3072 ac_cv_prog_cc_stdc=$ac_arg
3075 echo "$as_me: failed program was:" >&5
3076 sed 's/^/| /' conftest.$ac_ext >&5
3079 rm -f conftest.$ac_objext
3081 rm -f conftest.$ac_ext conftest.$ac_objext
3086 case "x$ac_cv_prog_cc_stdc" in
3088 echo "$as_me:$LINENO: result: none needed" >&5
3089 echo "${ECHO_T}none needed" >&6 ;;
3091 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3092 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3093 CC="$CC $ac_cv_prog_cc_stdc" ;;
3096 # Some people use a C++ compiler to compile C. Since we use `exit',
3097 # in C++ we need to declare it. In case someone uses the same compiler
3098 # for both compiling C and C++ we need to have the C++ compiler decide
3099 # the declaration of exit, since it's the most demanding environment.
3100 cat >conftest.$ac_ext <<_ACEOF
3105 rm -f conftest.$ac_objext
3106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3107 (eval $ac_compile) 2>&5
3109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3110 (exit $ac_status); } &&
3111 { ac_try='test -s conftest.$ac_objext'
3112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3116 (exit $ac_status); }; }; then
3117 for ac_declaration in \
3119 '#include <stdlib.h>' \
3120 'extern "C" void std::exit (int) throw (); using std::exit;' \
3121 'extern "C" void std::exit (int); using std::exit;' \
3122 'extern "C" void exit (int) throw ();' \
3123 'extern "C" void exit (int);' \
3126 cat >conftest.$ac_ext <<_ACEOF
3127 #line $LINENO "configure"
3130 cat confdefs.h >>conftest.$ac_ext
3131 cat >>conftest.$ac_ext <<_ACEOF
3132 /* end confdefs.h. */
3143 rm -f conftest.$ac_objext
3144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3145 (eval $ac_compile) 2>&5
3147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148 (exit $ac_status); } &&
3149 { ac_try='test -s conftest.$ac_objext'
3150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3154 (exit $ac_status); }; }; then
3157 echo "$as_me: failed program was:" >&5
3158 sed 's/^/| /' conftest.$ac_ext >&5
3162 rm -f conftest.$ac_objext conftest.$ac_ext
3163 cat >conftest.$ac_ext <<_ACEOF
3164 #line $LINENO "configure"
3167 cat confdefs.h >>conftest.$ac_ext
3168 cat >>conftest.$ac_ext <<_ACEOF
3169 /* end confdefs.h. */
3179 rm -f conftest.$ac_objext
3180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3181 (eval $ac_compile) 2>&5
3183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184 (exit $ac_status); } &&
3185 { ac_try='test -s conftest.$ac_objext'
3186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3190 (exit $ac_status); }; }; then
3193 echo "$as_me: failed program was:" >&5
3194 sed 's/^/| /' conftest.$ac_ext >&5
3197 rm -f conftest.$ac_objext conftest.$ac_ext
3200 if test -n "$ac_declaration"; then
3201 echo '#ifdef __cplusplus' >>confdefs.h
3202 echo $ac_declaration >>confdefs.h
3203 echo '#endif' >>confdefs.h
3207 echo "$as_me: failed program was:" >&5
3208 sed 's/^/| /' conftest.$ac_ext >&5
3211 rm -f conftest.$ac_objext conftest.$ac_ext
3213 ac_cpp='$CPP $CPPFLAGS'
3214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3219 ac_cpp='$CPP $CPPFLAGS'
3220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3223 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3224 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3225 # On Suns, sometimes $CPP names a directory.
3226 if test -n "$CPP" && test -d "$CPP"; then
3229 if test -z "$CPP"; then
3230 if test "${ac_cv_prog_CPP+set}" = set; then
3231 echo $ECHO_N "(cached) $ECHO_C" >&6
3233 # Double quotes because CPP needs to be expanded
3234 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3237 for ac_c_preproc_warn_flag in '' yes
3239 # Use a header file that comes with gcc, so configuring glibc
3240 # with a fresh cross-compiler works.
3241 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3242 # <limits.h> exists even on freestanding compilers.
3243 # On the NeXT, cc -E runs the code through the compiler's parser,
3244 # not just through cpp. "Syntax error" is here to catch this case.
3245 cat >conftest.$ac_ext <<_ACEOF
3246 #line $LINENO "configure"
3249 cat confdefs.h >>conftest.$ac_ext
3250 cat >>conftest.$ac_ext <<_ACEOF
3251 /* end confdefs.h. */
3253 # include <limits.h>
3255 # include <assert.h>
3259 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3260 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3262 grep -v '^ *+' conftest.er1 >conftest.err
3264 cat conftest.err >&5
3265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3266 (exit $ac_status); } >/dev/null; then
3267 if test -s conftest.err; then
3268 ac_cpp_err=$ac_c_preproc_warn_flag
3275 if test -z "$ac_cpp_err"; then
3278 echo "$as_me: failed program was:" >&5
3279 sed 's/^/| /' conftest.$ac_ext >&5
3281 # Broken: fails on valid input.
3284 rm -f conftest.err conftest.$ac_ext
3286 # OK, works on sane cases. Now check whether non-existent headers
3287 # can be detected and how.
3288 cat >conftest.$ac_ext <<_ACEOF
3289 #line $LINENO "configure"
3292 cat confdefs.h >>conftest.$ac_ext
3293 cat >>conftest.$ac_ext <<_ACEOF
3294 /* end confdefs.h. */
3295 #include <ac_nonexistent.h>
3297 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3298 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3300 grep -v '^ *+' conftest.er1 >conftest.err
3302 cat conftest.err >&5
3303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304 (exit $ac_status); } >/dev/null; then
3305 if test -s conftest.err; then
3306 ac_cpp_err=$ac_c_preproc_warn_flag
3313 if test -z "$ac_cpp_err"; then
3314 # Broken: success on invalid input.
3317 echo "$as_me: failed program was:" >&5
3318 sed 's/^/| /' conftest.$ac_ext >&5
3320 # Passes both tests.
3324 rm -f conftest.err conftest.$ac_ext
3327 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3328 rm -f conftest.err conftest.$ac_ext
3329 if $ac_preproc_ok; then
3341 echo "$as_me:$LINENO: result: $CPP" >&5
3342 echo "${ECHO_T}$CPP" >&6
3344 for ac_c_preproc_warn_flag in '' yes
3346 # Use a header file that comes with gcc, so configuring glibc
3347 # with a fresh cross-compiler works.
3348 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3349 # <limits.h> exists even on freestanding compilers.
3350 # On the NeXT, cc -E runs the code through the compiler's parser,
3351 # not just through cpp. "Syntax error" is here to catch this case.
3352 cat >conftest.$ac_ext <<_ACEOF
3353 #line $LINENO "configure"
3356 cat confdefs.h >>conftest.$ac_ext
3357 cat >>conftest.$ac_ext <<_ACEOF
3358 /* end confdefs.h. */
3360 # include <limits.h>
3362 # include <assert.h>
3366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3367 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3369 grep -v '^ *+' conftest.er1 >conftest.err
3371 cat conftest.err >&5
3372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3373 (exit $ac_status); } >/dev/null; then
3374 if test -s conftest.err; then
3375 ac_cpp_err=$ac_c_preproc_warn_flag
3382 if test -z "$ac_cpp_err"; then
3385 echo "$as_me: failed program was:" >&5
3386 sed 's/^/| /' conftest.$ac_ext >&5
3388 # Broken: fails on valid input.
3391 rm -f conftest.err conftest.$ac_ext
3393 # OK, works on sane cases. Now check whether non-existent headers
3394 # can be detected and how.
3395 cat >conftest.$ac_ext <<_ACEOF
3396 #line $LINENO "configure"
3399 cat confdefs.h >>conftest.$ac_ext
3400 cat >>conftest.$ac_ext <<_ACEOF
3401 /* end confdefs.h. */
3402 #include <ac_nonexistent.h>
3404 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3405 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3407 grep -v '^ *+' conftest.er1 >conftest.err
3409 cat conftest.err >&5
3410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411 (exit $ac_status); } >/dev/null; then
3412 if test -s conftest.err; then
3413 ac_cpp_err=$ac_c_preproc_warn_flag
3420 if test -z "$ac_cpp_err"; then
3421 # Broken: success on invalid input.
3424 echo "$as_me: failed program was:" >&5
3425 sed 's/^/| /' conftest.$ac_ext >&5
3427 # Passes both tests.
3431 rm -f conftest.err conftest.$ac_ext
3434 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3435 rm -f conftest.err conftest.$ac_ext
3436 if $ac_preproc_ok; then
3439 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3440 See \`config.log' for more details." >&5
3441 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3442 See \`config.log' for more details." >&2;}
3443 { (exit 1); exit 1; }; }
3447 ac_cpp='$CPP $CPPFLAGS'
3448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3453 if test "$GCC" != "yes"
3455 { { echo "$as_me:$LINENO: error: gcc required but not found" >&5
3456 echo "$as_me: error: gcc required but not found" >&2;}
3457 { (exit 1); exit 1; }; }
3460 if test "$GXX" != "yes"
3462 { { echo "$as_me:$LINENO: error: g++ required but not found" >&5
3463 echo "$as_me: error: g++ required but not found" >&2;}
3464 { (exit 1); exit 1; }; }
3467 gccmajor=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1`
3468 if test "$gccmajor" -lt "3"
3470 { { echo "$as_me:$LINENO: error: gcc 3.x required" >&5
3471 echo "$as_me: error: gcc 3.x required" >&2;}
3472 { (exit 1); exit 1; }; }
3475 echo "$as_me:$LINENO: checking for GNU make" >&5
3476 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
3477 if test "${_cv_gnu_make_command+set}" = set; then
3478 echo $ECHO_N "(cached) $ECHO_C" >&6
3480 _cv_gnu_make_command='' ;
3481 for a in "$MAKE" make gmake gnumake ; do
3482 if test -z "$a" ; then continue ; fi ;
3483 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
3484 _cv_gnu_make_command=$a ;
3490 echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5
3491 echo "${ECHO_T}$_cv_gnu_make_command" >&6 ;
3492 if test "x$_cv_gnu_make_command" != "x" ; then
3496 echo "$as_me:$LINENO: result: \"Not found\"" >&5
3497 echo "${ECHO_T}\"Not found\"" >&6;
3501 if test -z "$_cv_gnu_make_command"
3503 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
3504 echo "$as_me: error: GNU Make required but not found" >&2;}
3505 { (exit 1); exit 1; }; }
3509 echo "$as_me:$LINENO: checking " >&5
3510 echo $ECHO_N "checking ... $ECHO_C" >&6
3511 if test "${ac_cv_has_flex+set}" = set; then
3512 echo $ECHO_N "(cached) $ECHO_C" >&6
3514 for ac_prog in flex lex
3516 # Extract the first word of "$ac_prog", so it can be a program name with args.
3517 set dummy $ac_prog; ac_word=$2
3518 echo "$as_me:$LINENO: checking for $ac_word" >&5
3519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3520 if test "${ac_cv_prog_LEX+set}" = set; then
3521 echo $ECHO_N "(cached) $ECHO_C" >&6
3523 if test -n "$LEX"; then
3524 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3530 test -z "$as_dir" && as_dir=.
3531 for ac_exec_ext in '' $ac_executable_extensions; do
3532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3533 ac_cv_prog_LEX="$ac_prog"
3534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3543 if test -n "$LEX"; then
3544 echo "$as_me:$LINENO: result: $LEX" >&5
3545 echo "${ECHO_T}$LEX" >&6
3547 echo "$as_me:$LINENO: result: no" >&5
3548 echo "${ECHO_T}no" >&6
3551 test -n "$LEX" && break
3553 test -n "$LEX" || LEX=":"
3555 if test -z "$LEXLIB"
3557 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3558 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3559 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3560 echo $ECHO_N "(cached) $ECHO_C" >&6
3562 ac_check_lib_save_LIBS=$LIBS
3564 cat >conftest.$ac_ext <<_ACEOF
3565 #line $LINENO "configure"
3568 cat confdefs.h >>conftest.$ac_ext
3569 cat >>conftest.$ac_ext <<_ACEOF
3570 /* end confdefs.h. */
3572 /* Override any gcc2 internal prototype to avoid an error. */
3576 /* We use char because int might match the return type of a gcc2
3577 builtin and then its argument prototype would still apply. */
3587 rm -f conftest.$ac_objext conftest$ac_exeext
3588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3589 (eval $ac_link) 2>&5
3591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3592 (exit $ac_status); } &&
3593 { ac_try='test -s conftest$ac_exeext'
3594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3598 (exit $ac_status); }; }; then
3599 ac_cv_lib_fl_yywrap=yes
3601 echo "$as_me: failed program was:" >&5
3602 sed 's/^/| /' conftest.$ac_ext >&5
3604 ac_cv_lib_fl_yywrap=no
3606 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3607 LIBS=$ac_check_lib_save_LIBS
3609 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3610 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3611 if test $ac_cv_lib_fl_yywrap = yes; then
3614 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3615 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3616 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3617 echo $ECHO_N "(cached) $ECHO_C" >&6
3619 ac_check_lib_save_LIBS=$LIBS
3621 cat >conftest.$ac_ext <<_ACEOF
3622 #line $LINENO "configure"
3625 cat confdefs.h >>conftest.$ac_ext
3626 cat >>conftest.$ac_ext <<_ACEOF
3627 /* end confdefs.h. */
3629 /* Override any gcc2 internal prototype to avoid an error. */
3633 /* We use char because int might match the return type of a gcc2
3634 builtin and then its argument prototype would still apply. */
3644 rm -f conftest.$ac_objext conftest$ac_exeext
3645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3646 (eval $ac_link) 2>&5
3648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3649 (exit $ac_status); } &&
3650 { ac_try='test -s conftest$ac_exeext'
3651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3655 (exit $ac_status); }; }; then
3656 ac_cv_lib_l_yywrap=yes
3658 echo "$as_me: failed program was:" >&5
3659 sed 's/^/| /' conftest.$ac_ext >&5
3661 ac_cv_lib_l_yywrap=no
3663 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3664 LIBS=$ac_check_lib_save_LIBS
3666 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3667 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3668 if test $ac_cv_lib_l_yywrap = yes; then
3676 if test "x$LEX" != "x:"; then
3677 echo "$as_me:$LINENO: checking lex output file root" >&5
3678 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3679 if test "${ac_cv_prog_lex_root+set}" = set; then
3680 echo $ECHO_N "(cached) $ECHO_C" >&6
3682 # The minimal lex program is just a single line: %%. But some broken lexes
3683 # (Solaris, I think it was) want two %% lines, so accommodate them.
3684 cat >conftest.l <<_ACEOF
3688 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3689 (eval $LEX conftest.l) 2>&5
3691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3692 (exit $ac_status); }
3693 if test -f lex.yy.c; then
3694 ac_cv_prog_lex_root=lex.yy
3695 elif test -f lexyy.c; then
3696 ac_cv_prog_lex_root=lexyy
3698 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3699 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3700 { (exit 1); exit 1; }; }
3703 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3704 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3706 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3708 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3709 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3710 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3711 echo $ECHO_N "(cached) $ECHO_C" >&6
3713 # POSIX says lex can declare yytext either as a pointer or an array; the
3714 # default is implementation-dependent. Figure out which it is, since
3715 # not all implementations provide the %pointer and %array declarations.
3716 ac_cv_prog_lex_yytext_pointer=no
3717 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3719 LIBS="$LIBS $LEXLIB"
3720 cat >conftest.$ac_ext <<_ACEOF
3721 `cat $LEX_OUTPUT_ROOT.c`
3723 rm -f conftest.$ac_objext conftest$ac_exeext
3724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3725 (eval $ac_link) 2>&5
3727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728 (exit $ac_status); } &&
3729 { ac_try='test -s conftest$ac_exeext'
3730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734 (exit $ac_status); }; }; then
3735 ac_cv_prog_lex_yytext_pointer=yes
3737 echo "$as_me: failed program was:" >&5
3738 sed 's/^/| /' conftest.$ac_ext >&5
3741 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3743 rm -f "${LEX_OUTPUT_ROOT}.c"
3746 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3747 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3748 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3750 cat >>confdefs.h <<\_ACEOF
3751 #define YYTEXT_POINTER 1
3759 echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
3760 echo "${ECHO_T}$ac_cv_has_flex" >&6
3761 if test "$LEX" != "flex"; then
3762 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
3763 echo "$as_me: error: flex not found but required" >&2;}
3764 { (exit 1); exit 1; }; }
3767 echo "$as_me:$LINENO: checking " >&5
3768 echo $ECHO_N "checking ... $ECHO_C" >&6
3769 if test "${ac_cv_has_bison+set}" = set; then
3770 echo $ECHO_N "(cached) $ECHO_C" >&6
3772 for ac_prog in 'bison -y' byacc
3774 # Extract the first word of "$ac_prog", so it can be a program name with args.
3775 set dummy $ac_prog; ac_word=$2
3776 echo "$as_me:$LINENO: checking for $ac_word" >&5
3777 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3778 if test "${ac_cv_prog_YACC+set}" = set; then
3779 echo $ECHO_N "(cached) $ECHO_C" >&6
3781 if test -n "$YACC"; then
3782 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3788 test -z "$as_dir" && as_dir=.
3789 for ac_exec_ext in '' $ac_executable_extensions; do
3790 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3791 ac_cv_prog_YACC="$ac_prog"
3792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3800 YACC=$ac_cv_prog_YACC
3801 if test -n "$YACC"; then
3802 echo "$as_me:$LINENO: result: $YACC" >&5
3803 echo "${ECHO_T}$YACC" >&6
3805 echo "$as_me:$LINENO: result: no" >&5
3806 echo "${ECHO_T}no" >&6
3809 test -n "$YACC" && break
3811 test -n "$YACC" || YACC="yacc"
3815 echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5
3816 echo "${ECHO_T}$ac_cv_has_bison" >&6
3817 if test "$YACC" != "bison -y"; then
3818 { { echo "$as_me:$LINENO: error: bison not found but required" >&5
3819 echo "$as_me: error: bison not found but required" >&2;}
3820 { (exit 1); exit 1; }; }
3827 # Check whether --enable-shared or --disable-shared was given.
3828 if test "${enable_shared+set}" = set; then
3829 enableval="$enable_shared"
3830 p=${PACKAGE-default}
3832 yes) enable_shared=yes ;;
3833 no) enable_shared=no ;;
3836 # Look at the argument we got. We use all the common list separators.
3837 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3838 for pkg in $enableval; do
3840 if test "X$pkg" = "X$p"; then
3851 # Check whether --enable-static or --disable-static was given.
3852 if test "${enable_static+set}" = set; then
3853 enableval="$enable_static"
3854 p=${PACKAGE-default}
3856 yes) enable_static=yes ;;
3857 no) enable_static=no ;;
3860 # Look at the argument we got. We use all the common list separators.
3861 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3862 for pkg in $enableval; do
3864 if test "X$pkg" = "X$p"; then
3875 # Check whether --enable-fast-install or --disable-fast-install was given.
3876 if test "${enable_fast_install+set}" = set; then
3877 enableval="$enable_fast_install"
3878 p=${PACKAGE-default}
3880 yes) enable_fast_install=yes ;;
3881 no) enable_fast_install=no ;;
3883 enable_fast_install=no
3884 # Look at the argument we got. We use all the common list separators.
3885 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3886 for pkg in $enableval; do
3888 if test "X$pkg" = "X$p"; then
3889 enable_fast_install=yes
3896 enable_fast_install=yes
3899 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3900 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3901 if test "${lt_cv_path_SED+set}" = set; then
3902 echo $ECHO_N "(cached) $ECHO_C" >&6
3904 # Loop through the user's path and test for sed and gsed.
3905 # Then use that list of sed's as ones to test for truncation.
3906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3910 test -z "$as_dir" && as_dir=.
3911 for lt_ac_prog in sed gsed; do
3912 for ac_exec_ext in '' $ac_executable_extensions; do
3913 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3914 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3921 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3922 # along with /bin/sed that truncates output.
3923 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3924 test ! -f $lt_ac_sed && break
3925 cat /dev/null > conftest.in
3927 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3928 # Check for GNU sed and select it if it is found.
3929 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3930 lt_cv_path_SED=$lt_ac_sed
3934 cat conftest.in conftest.in >conftest.tmp
3935 mv conftest.tmp conftest.in
3936 cp conftest.in conftest.nl
3938 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3939 cmp -s conftest.out conftest.nl || break
3940 # 10000 chars as input seems more than enough
3941 test $lt_ac_count -gt 10 && break
3942 lt_ac_count=`expr $lt_ac_count + 1`
3943 if test $lt_ac_count -gt $lt_ac_max; then
3944 lt_ac_max=$lt_ac_count
3945 lt_cv_path_SED=$lt_ac_sed
3953 echo "$as_me:$LINENO: result: $SED" >&5
3954 echo "${ECHO_T}$SED" >&6
3956 echo "$as_me:$LINENO: checking for egrep" >&5
3957 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3958 if test "${ac_cv_prog_egrep+set}" = set; then
3959 echo $ECHO_N "(cached) $ECHO_C" >&6
3961 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3962 then ac_cv_prog_egrep='grep -E'
3963 else ac_cv_prog_egrep='egrep'
3966 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3967 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3968 EGREP=$ac_cv_prog_egrep
3972 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3973 if test "${with_gnu_ld+set}" = set; then
3974 withval="$with_gnu_ld"
3975 test "$withval" = no || with_gnu_ld=yes
3980 if test "$GCC" = yes; then
3981 # Check if gcc -print-prog-name=ld gives a path.
3982 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3983 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3986 # gcc leaves a trailing carriage return which upsets mingw
3987 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3989 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3992 # Accept absolute paths.
3994 re_direlt='/[^/][^/]*/\.\./'
3995 # Canonicalize the path of ld
3996 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3997 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3998 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4000 test -z "$LD" && LD="$ac_prog"
4003 # If it fails, then pretend we aren't using GCC.
4007 # If it is relative, then search for the first ld in PATH.
4011 elif test "$with_gnu_ld" = yes; then
4012 echo "$as_me:$LINENO: checking for GNU ld" >&5
4013 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4015 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4016 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4018 if test "${lt_cv_path_LD+set}" = set; then
4019 echo $ECHO_N "(cached) $ECHO_C" >&6
4021 if test -z "$LD"; then
4022 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4023 for ac_dir in $PATH; do
4025 test -z "$ac_dir" && ac_dir=.
4026 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4027 lt_cv_path_LD="$ac_dir/$ac_prog"
4028 # Check to see if the program is GNU ld. I'd rather use --version,
4029 # but apparently some GNU ld's only accept -v.
4030 # Break only if it was the GNU/non-GNU ld that we prefer.
4031 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4032 *GNU* | *'with BFD'*)
4033 test "$with_gnu_ld" != no && break
4036 test "$with_gnu_ld" != yes && break
4043 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4048 if test -n "$LD"; then
4049 echo "$as_me:$LINENO: result: $LD" >&5
4050 echo "${ECHO_T}$LD" >&6
4052 echo "$as_me:$LINENO: result: no" >&5
4053 echo "${ECHO_T}no" >&6
4055 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4056 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4057 { (exit 1); exit 1; }; }
4058 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4059 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4060 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4061 echo $ECHO_N "(cached) $ECHO_C" >&6
4063 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4064 case `"$LD" -v 2>&1 </dev/null` in
4065 *GNU* | *'with BFD'*)
4066 lt_cv_prog_gnu_ld=yes
4069 lt_cv_prog_gnu_ld=no
4073 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4074 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4075 with_gnu_ld=$lt_cv_prog_gnu_ld
4078 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4079 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4080 if test "${lt_cv_ld_reload_flag+set}" = set; then
4081 echo $ECHO_N "(cached) $ECHO_C" >&6
4083 lt_cv_ld_reload_flag='-r'
4085 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4086 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4087 reload_flag=$lt_cv_ld_reload_flag
4088 case $reload_flag in
4090 *) reload_flag=" $reload_flag" ;;
4092 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4094 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4095 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4096 if test "${lt_cv_path_NM+set}" = set; then
4097 echo $ECHO_N "(cached) $ECHO_C" >&6
4099 if test -n "$NM"; then
4100 # Let the user override the test.
4103 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4104 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4106 test -z "$ac_dir" && ac_dir=.
4107 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4108 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4109 # Check to see if the nm accepts a BSD-compat flag.
4110 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4111 # nm: unknown option "B" ignored
4112 # Tru64's nm complains that /dev/null is an invalid object file
4113 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4114 */dev/null* | *'Invalid file or object type'*)
4115 lt_cv_path_NM="$tmp_nm -B"
4119 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4121 lt_cv_path_NM="$tmp_nm -p"
4125 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4126 continue # so that we can try to find one that supports BSD flags
4133 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4136 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4137 echo "${ECHO_T}$lt_cv_path_NM" >&6
4140 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4141 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4143 if test "$LN_S" = "ln -s"; then
4144 echo "$as_me:$LINENO: result: yes" >&5
4145 echo "${ECHO_T}yes" >&6
4147 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4148 echo "${ECHO_T}no, using $LN_S" >&6
4151 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4152 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4153 if test "${lt_cv_deplibs_check_method+set}" = set; then
4154 echo $ECHO_N "(cached) $ECHO_C" >&6
4156 lt_cv_file_magic_cmd='$MAGIC_CMD'
4157 lt_cv_file_magic_test_file=
4158 lt_cv_deplibs_check_method='unknown'
4159 # Need to set the preceding variable on all platforms that support
4160 # interlibrary dependencies.
4161 # 'none' -- dependencies not supported.
4162 # `unknown' -- same as none, but documents that we really don't know.
4163 # 'pass_all' -- all dependencies passed with no checks.
4164 # 'test_compile' -- check by making test program.
4165 # 'file_magic [[regex]]' -- check by looking for files in library path
4166 # which responds to the $file_magic_cmd with a given extended regex.
4167 # If you have `file' or equivalent on your system and you're not sure
4168 # whether `pass_all' will *always* work, you probably want this one.
4172 lt_cv_deplibs_check_method=pass_all
4176 lt_cv_deplibs_check_method=pass_all
4180 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4181 lt_cv_file_magic_cmd='/usr/bin/file -L'
4182 lt_cv_file_magic_test_file=/shlib/libc.so
4185 cygwin* | mingw* | pw32*)
4186 # win32_libid is a shell function defined in ltmain.sh
4187 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4188 lt_cv_file_magic_cmd='win32_libid'
4191 darwin* | rhapsody*)
4192 # this will be overwritten by pass_all, but leave it in just in case
4193 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4194 lt_cv_file_magic_cmd='/usr/bin/file -L'
4196 rhapsody* | darwin1.[012])
4197 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4200 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4203 lt_cv_deplibs_check_method=pass_all
4207 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4210 # Not sure whether the presence of OpenBSD here was a mistake.
4211 # Let's accept both of them until this is cleared up.
4212 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4213 lt_cv_file_magic_cmd=/usr/bin/file
4214 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4218 lt_cv_deplibs_check_method=pass_all
4223 lt_cv_deplibs_check_method=pass_all
4226 hpux10.20* | hpux11*)
4227 lt_cv_file_magic_cmd=/usr/bin/file
4230 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4231 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4234 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]'
4235 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4238 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4239 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4244 irix5* | irix6* | nonstopux*)
4246 irix5* | nonstopux*)
4247 # this will be overridden with pass_all, but let us keep it just in case
4248 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4252 *-32|*"-32 ") libmagic=32-bit;;
4253 *-n32|*"-n32 ") libmagic=N32;;
4254 *-64|*"-64 ") libmagic=64-bit;;
4255 *) libmagic=never-match;;
4257 # this will be overridden with pass_all, but let us keep it just in case
4258 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4261 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4262 lt_cv_deplibs_check_method=pass_all
4265 # This must be Linux ELF.
4268 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
4269 lt_cv_deplibs_check_method=pass_all ;;
4271 # glibc up to 2.1.1 does not perform some relocations on ARM
4272 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4274 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4278 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4279 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4281 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4286 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4287 lt_cv_file_magic_cmd=/usr/bin/file
4288 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4292 lt_cv_deplibs_check_method=unknown
4296 lt_cv_file_magic_cmd=/usr/bin/file
4297 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4298 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4299 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4301 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4305 osf3* | osf4* | osf5*)
4306 # this will be overridden with pass_all, but let us keep it just in case
4307 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4308 lt_cv_file_magic_test_file=/shlib/libc.so
4309 lt_cv_deplibs_check_method=pass_all
4313 lt_cv_deplibs_check_method=pass_all
4317 lt_cv_deplibs_check_method=pass_all
4318 lt_cv_file_magic_test_file=/lib/libc.so
4321 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4322 case $host_vendor in
4324 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]'
4325 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4328 lt_cv_deplibs_check_method=pass_all
4331 lt_cv_file_magic_cmd='/bin/file'
4332 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4335 lt_cv_file_magic_cmd='/bin/file'
4336 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4337 lt_cv_file_magic_test_file=/lib/libc.so
4340 lt_cv_deplibs_check_method=pass_all
4345 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4346 lt_cv_deplibs_check_method=pass_all
4351 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4352 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4353 file_magic_cmd=$lt_cv_file_magic_cmd
4354 deplibs_check_method=$lt_cv_deplibs_check_method
4355 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4360 # If no C compiler was specified, use CC.
4363 # Allow CC to be a program name with arguments.
4366 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4367 if test "${enable_libtool_lock+set}" = set; then
4368 enableval="$enable_libtool_lock"
4371 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4373 # Some flags need to be propagated to the compiler or linker for good
4377 # Find out which ABI we are using.
4378 echo 'int i;' > conftest.$ac_ext
4379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4380 (eval $ac_compile) 2>&5
4382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4383 (exit $ac_status); }; then
4384 case `/usr/bin/file conftest.$ac_objext` in
4396 # Find out which ABI we are using.
4397 echo '#line 4397 "configure"' > conftest.$ac_ext
4398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4399 (eval $ac_compile) 2>&5
4401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4402 (exit $ac_status); }; then
4403 if test "$lt_cv_prog_gnu_ld" = yes; then
4404 case `/usr/bin/file conftest.$ac_objext` in
4406 LD="${LD-ld} -melf32bsmip"
4409 LD="${LD-ld} -melf32bmipn32"
4412 LD="${LD-ld} -melf64bmip"
4416 case `/usr/bin/file conftest.$ac_objext` in
4432 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4433 # Find out which ABI we are using.
4434 echo 'int i;' > conftest.$ac_ext
4435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4436 (eval $ac_compile) 2>&5
4438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4439 (exit $ac_status); }; then
4440 case "`/usr/bin/file conftest.o`" in
4444 LD="${LD-ld} -m elf_i386"
4447 LD="${LD-ld} -m elf32ppclinux"
4450 LD="${LD-ld} -m elf_s390"
4453 LD="${LD-ld} -m elf32_sparc"
4460 LD="${LD-ld} -m elf_x86_64"
4462 ppc*-*linux*|powerpc*-*linux*)
4463 LD="${LD-ld} -m elf64ppc"
4466 LD="${LD-ld} -m elf64_s390"
4469 LD="${LD-ld} -m elf64_sparc"
4479 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4480 SAVE_CFLAGS="$CFLAGS"
4481 CFLAGS="$CFLAGS -belf"
4482 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4483 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4484 if test "${lt_cv_cc_needs_belf+set}" = set; then
4485 echo $ECHO_N "(cached) $ECHO_C" >&6
4488 ac_cpp='$CPP $CPPFLAGS'
4489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4493 cat >conftest.$ac_ext <<_ACEOF
4494 #line $LINENO "configure"
4497 cat confdefs.h >>conftest.$ac_ext
4498 cat >>conftest.$ac_ext <<_ACEOF
4499 /* end confdefs.h. */
4509 rm -f conftest.$ac_objext conftest$ac_exeext
4510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4511 (eval $ac_link) 2>&5
4513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4514 (exit $ac_status); } &&
4515 { ac_try='test -s conftest$ac_exeext'
4516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4520 (exit $ac_status); }; }; then
4521 lt_cv_cc_needs_belf=yes
4523 echo "$as_me: failed program was:" >&5
4524 sed 's/^/| /' conftest.$ac_ext >&5
4526 lt_cv_cc_needs_belf=no
4528 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4530 ac_cpp='$CPP $CPPFLAGS'
4531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4536 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4537 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4538 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4539 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4540 CFLAGS="$SAVE_CFLAGS"
4546 need_locks="$enable_libtool_lock"
4550 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4551 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4552 if test "${ac_cv_header_stdc+set}" = set; then
4553 echo $ECHO_N "(cached) $ECHO_C" >&6
4555 cat >conftest.$ac_ext <<_ACEOF
4556 #line $LINENO "configure"
4559 cat confdefs.h >>conftest.$ac_ext
4560 cat >>conftest.$ac_ext <<_ACEOF
4561 /* end confdefs.h. */
4575 rm -f conftest.$ac_objext
4576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4577 (eval $ac_compile) 2>&5
4579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4580 (exit $ac_status); } &&
4581 { ac_try='test -s conftest.$ac_objext'
4582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4586 (exit $ac_status); }; }; then
4587 ac_cv_header_stdc=yes
4589 echo "$as_me: failed program was:" >&5
4590 sed 's/^/| /' conftest.$ac_ext >&5
4592 ac_cv_header_stdc=no
4594 rm -f conftest.$ac_objext conftest.$ac_ext
4596 if test $ac_cv_header_stdc = yes; then
4597 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4598 cat >conftest.$ac_ext <<_ACEOF
4599 #line $LINENO "configure"
4602 cat confdefs.h >>conftest.$ac_ext
4603 cat >>conftest.$ac_ext <<_ACEOF
4604 /* end confdefs.h. */
4608 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4609 $EGREP "memchr" >/dev/null 2>&1; then
4612 ac_cv_header_stdc=no
4618 if test $ac_cv_header_stdc = yes; then
4619 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4620 cat >conftest.$ac_ext <<_ACEOF
4621 #line $LINENO "configure"
4624 cat confdefs.h >>conftest.$ac_ext
4625 cat >>conftest.$ac_ext <<_ACEOF
4626 /* end confdefs.h. */
4630 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4631 $EGREP "free" >/dev/null 2>&1; then
4634 ac_cv_header_stdc=no
4640 if test $ac_cv_header_stdc = yes; then
4641 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4642 if test "$cross_compiling" = yes; then
4645 cat >conftest.$ac_ext <<_ACEOF
4646 #line $LINENO "configure"
4649 cat confdefs.h >>conftest.$ac_ext
4650 cat >>conftest.$ac_ext <<_ACEOF
4651 /* end confdefs.h. */
4653 #if ((' ' & 0x0FF) == 0x020)
4654 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4655 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4657 # define ISLOWER(c) \
4658 (('a' <= (c) && (c) <= 'i') \
4659 || ('j' <= (c) && (c) <= 'r') \
4660 || ('s' <= (c) && (c) <= 'z'))
4661 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4664 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4669 for (i = 0; i < 256; i++)
4670 if (XOR (islower (i), ISLOWER (i))
4671 || toupper (i) != TOUPPER (i))
4676 rm -f conftest$ac_exeext
4677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4678 (eval $ac_link) 2>&5
4680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4681 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4686 (exit $ac_status); }; }; then
4689 echo "$as_me: program exited with status $ac_status" >&5
4690 echo "$as_me: failed program was:" >&5
4691 sed 's/^/| /' conftest.$ac_ext >&5
4694 ac_cv_header_stdc=no
4696 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4700 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4701 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4702 if test $ac_cv_header_stdc = yes; then
4704 cat >>confdefs.h <<\_ACEOF
4705 #define STDC_HEADERS 1
4710 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4720 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4721 inttypes.h stdint.h unistd.h
4723 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4724 echo "$as_me:$LINENO: checking for $ac_header" >&5
4725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4727 echo $ECHO_N "(cached) $ECHO_C" >&6
4729 cat >conftest.$ac_ext <<_ACEOF
4730 #line $LINENO "configure"
4733 cat confdefs.h >>conftest.$ac_ext
4734 cat >>conftest.$ac_ext <<_ACEOF
4735 /* end confdefs.h. */
4736 $ac_includes_default
4738 #include <$ac_header>
4740 rm -f conftest.$ac_objext
4741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4742 (eval $ac_compile) 2>&5
4744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4745 (exit $ac_status); } &&
4746 { ac_try='test -s conftest.$ac_objext'
4747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4751 (exit $ac_status); }; }; then
4752 eval "$as_ac_Header=yes"
4754 echo "$as_me: failed program was:" >&5
4755 sed 's/^/| /' conftest.$ac_ext >&5
4757 eval "$as_ac_Header=no"
4759 rm -f conftest.$ac_objext conftest.$ac_ext
4761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4762 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4763 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4764 cat >>confdefs.h <<_ACEOF
4765 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4774 for ac_header in dlfcn.h
4776 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4778 echo "$as_me:$LINENO: checking for $ac_header" >&5
4779 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4781 echo $ECHO_N "(cached) $ECHO_C" >&6
4783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4784 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4786 # Is the header compilable?
4787 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4788 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4789 cat >conftest.$ac_ext <<_ACEOF
4790 #line $LINENO "configure"
4793 cat confdefs.h >>conftest.$ac_ext
4794 cat >>conftest.$ac_ext <<_ACEOF
4795 /* end confdefs.h. */
4796 $ac_includes_default
4797 #include <$ac_header>
4799 rm -f conftest.$ac_objext
4800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4801 (eval $ac_compile) 2>&5
4803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4804 (exit $ac_status); } &&
4805 { ac_try='test -s conftest.$ac_objext'
4806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4810 (exit $ac_status); }; }; then
4811 ac_header_compiler=yes
4813 echo "$as_me: failed program was:" >&5
4814 sed 's/^/| /' conftest.$ac_ext >&5
4816 ac_header_compiler=no
4818 rm -f conftest.$ac_objext conftest.$ac_ext
4819 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4820 echo "${ECHO_T}$ac_header_compiler" >&6
4822 # Is the header present?
4823 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4824 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4825 cat >conftest.$ac_ext <<_ACEOF
4826 #line $LINENO "configure"
4829 cat confdefs.h >>conftest.$ac_ext
4830 cat >>conftest.$ac_ext <<_ACEOF
4831 /* end confdefs.h. */
4832 #include <$ac_header>
4834 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4835 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4837 grep -v '^ *+' conftest.er1 >conftest.err
4839 cat conftest.err >&5
4840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4841 (exit $ac_status); } >/dev/null; then
4842 if test -s conftest.err; then
4843 ac_cpp_err=$ac_c_preproc_warn_flag
4850 if test -z "$ac_cpp_err"; then
4851 ac_header_preproc=yes
4853 echo "$as_me: failed program was:" >&5
4854 sed 's/^/| /' conftest.$ac_ext >&5
4856 ac_header_preproc=no
4858 rm -f conftest.err conftest.$ac_ext
4859 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4860 echo "${ECHO_T}$ac_header_preproc" >&6
4862 # So? What about this header?
4863 case $ac_header_compiler:$ac_header_preproc in
4865 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4866 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4867 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4868 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4871 ## ------------------------------------ ##
4872 ## Report this to bug-autoconf@gnu.org. ##
4873 ## ------------------------------------ ##
4876 sed "s/^/$as_me: WARNING: /" >&2
4879 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4880 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4881 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4882 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4883 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4884 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4887 ## ------------------------------------ ##
4888 ## Report this to bug-autoconf@gnu.org. ##
4889 ## ------------------------------------ ##
4892 sed "s/^/$as_me: WARNING: /" >&2
4895 echo "$as_me:$LINENO: checking for $ac_header" >&5
4896 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4897 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4898 echo $ECHO_N "(cached) $ECHO_C" >&6
4900 eval "$as_ac_Header=$ac_header_preproc"
4902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4903 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4906 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4907 cat >>confdefs.h <<_ACEOF
4908 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4916 ac_cpp='$CXXCPP $CPPFLAGS'
4917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4920 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4921 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4922 if test -z "$CXXCPP"; then
4923 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4924 echo $ECHO_N "(cached) $ECHO_C" >&6
4926 # Double quotes because CXXCPP needs to be expanded
4927 for CXXCPP in "$CXX -E" "/lib/cpp"
4930 for ac_cxx_preproc_warn_flag in '' yes
4932 # Use a header file that comes with gcc, so configuring glibc
4933 # with a fresh cross-compiler works.
4934 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4935 # <limits.h> exists even on freestanding compilers.
4936 # On the NeXT, cc -E runs the code through the compiler's parser,
4937 # not just through cpp. "Syntax error" is here to catch this case.
4938 cat >conftest.$ac_ext <<_ACEOF
4939 #line $LINENO "configure"
4942 cat confdefs.h >>conftest.$ac_ext
4943 cat >>conftest.$ac_ext <<_ACEOF
4944 /* end confdefs.h. */
4946 # include <limits.h>
4948 # include <assert.h>
4952 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4953 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4955 grep -v '^ *+' conftest.er1 >conftest.err
4957 cat conftest.err >&5
4958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4959 (exit $ac_status); } >/dev/null; then
4960 if test -s conftest.err; then
4961 ac_cpp_err=$ac_cxx_preproc_warn_flag
4968 if test -z "$ac_cpp_err"; then
4971 echo "$as_me: failed program was:" >&5
4972 sed 's/^/| /' conftest.$ac_ext >&5
4974 # Broken: fails on valid input.
4977 rm -f conftest.err conftest.$ac_ext
4979 # OK, works on sane cases. Now check whether non-existent headers
4980 # can be detected and how.
4981 cat >conftest.$ac_ext <<_ACEOF
4982 #line $LINENO "configure"
4985 cat confdefs.h >>conftest.$ac_ext
4986 cat >>conftest.$ac_ext <<_ACEOF
4987 /* end confdefs.h. */
4988 #include <ac_nonexistent.h>
4990 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4991 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4993 grep -v '^ *+' conftest.er1 >conftest.err
4995 cat conftest.err >&5
4996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4997 (exit $ac_status); } >/dev/null; then
4998 if test -s conftest.err; then
4999 ac_cpp_err=$ac_cxx_preproc_warn_flag
5006 if test -z "$ac_cpp_err"; then
5007 # Broken: success on invalid input.
5010 echo "$as_me: failed program was:" >&5
5011 sed 's/^/| /' conftest.$ac_ext >&5
5013 # Passes both tests.
5017 rm -f conftest.err conftest.$ac_ext
5020 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5021 rm -f conftest.err conftest.$ac_ext
5022 if $ac_preproc_ok; then
5027 ac_cv_prog_CXXCPP=$CXXCPP
5030 CXXCPP=$ac_cv_prog_CXXCPP
5032 ac_cv_prog_CXXCPP=$CXXCPP
5034 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5035 echo "${ECHO_T}$CXXCPP" >&6
5037 for ac_cxx_preproc_warn_flag in '' yes
5039 # Use a header file that comes with gcc, so configuring glibc
5040 # with a fresh cross-compiler works.
5041 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5042 # <limits.h> exists even on freestanding compilers.
5043 # On the NeXT, cc -E runs the code through the compiler's parser,
5044 # not just through cpp. "Syntax error" is here to catch this case.
5045 cat >conftest.$ac_ext <<_ACEOF
5046 #line $LINENO "configure"
5049 cat confdefs.h >>conftest.$ac_ext
5050 cat >>conftest.$ac_ext <<_ACEOF
5051 /* end confdefs.h. */
5053 # include <limits.h>
5055 # include <assert.h>
5059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5060 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5062 grep -v '^ *+' conftest.er1 >conftest.err
5064 cat conftest.err >&5
5065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5066 (exit $ac_status); } >/dev/null; then
5067 if test -s conftest.err; then
5068 ac_cpp_err=$ac_cxx_preproc_warn_flag
5075 if test -z "$ac_cpp_err"; then
5078 echo "$as_me: failed program was:" >&5
5079 sed 's/^/| /' conftest.$ac_ext >&5
5081 # Broken: fails on valid input.
5084 rm -f conftest.err conftest.$ac_ext
5086 # OK, works on sane cases. Now check whether non-existent headers
5087 # can be detected and how.
5088 cat >conftest.$ac_ext <<_ACEOF
5089 #line $LINENO "configure"
5092 cat confdefs.h >>conftest.$ac_ext
5093 cat >>conftest.$ac_ext <<_ACEOF
5094 /* end confdefs.h. */
5095 #include <ac_nonexistent.h>
5097 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5098 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5100 grep -v '^ *+' conftest.er1 >conftest.err
5102 cat conftest.err >&5
5103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5104 (exit $ac_status); } >/dev/null; then
5105 if test -s conftest.err; then
5106 ac_cpp_err=$ac_cxx_preproc_warn_flag
5113 if test -z "$ac_cpp_err"; then
5114 # Broken: success on invalid input.
5117 echo "$as_me: failed program was:" >&5
5118 sed 's/^/| /' conftest.$ac_ext >&5
5120 # Passes both tests.
5124 rm -f conftest.err conftest.$ac_ext
5127 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5128 rm -f conftest.err conftest.$ac_ext
5129 if $ac_preproc_ok; then
5132 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5133 See \`config.log' for more details." >&5
5134 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5135 See \`config.log' for more details." >&2;}
5136 { (exit 1); exit 1; }; }
5140 ac_cpp='$CXXCPP $CPPFLAGS'
5141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5147 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5148 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5149 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5150 if test -n "$ac_tool_prefix"; then
5151 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5153 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5154 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5155 echo "$as_me:$LINENO: checking for $ac_word" >&5
5156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5157 if test "${ac_cv_prog_F77+set}" = set; then
5158 echo $ECHO_N "(cached) $ECHO_C" >&6
5160 if test -n "$F77"; then
5161 ac_cv_prog_F77="$F77" # Let the user override the test.
5163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5167 test -z "$as_dir" && as_dir=.
5168 for ac_exec_ext in '' $ac_executable_extensions; do
5169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5170 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5180 if test -n "$F77"; then
5181 echo "$as_me:$LINENO: result: $F77" >&5
5182 echo "${ECHO_T}$F77" >&6
5184 echo "$as_me:$LINENO: result: no" >&5
5185 echo "${ECHO_T}no" >&6
5188 test -n "$F77" && break
5191 if test -z "$F77"; then
5193 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5195 # Extract the first word of "$ac_prog", so it can be a program name with args.
5196 set dummy $ac_prog; ac_word=$2
5197 echo "$as_me:$LINENO: checking for $ac_word" >&5
5198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5199 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5200 echo $ECHO_N "(cached) $ECHO_C" >&6
5202 if test -n "$ac_ct_F77"; then
5203 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5209 test -z "$as_dir" && as_dir=.
5210 for ac_exec_ext in '' $ac_executable_extensions; do
5211 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5212 ac_cv_prog_ac_ct_F77="$ac_prog"
5213 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5221 ac_ct_F77=$ac_cv_prog_ac_ct_F77
5222 if test -n "$ac_ct_F77"; then
5223 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5224 echo "${ECHO_T}$ac_ct_F77" >&6
5226 echo "$as_me:$LINENO: result: no" >&5
5227 echo "${ECHO_T}no" >&6
5230 test -n "$ac_ct_F77" && break
5237 # Provide some information about the compiler.
5238 echo "$as_me:5238:" \
5239 "checking for Fortran 77 compiler version" >&5
5240 ac_compiler=`set X $ac_compile; echo $2`
5241 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5242 (eval $ac_compiler --version </dev/null >&5) 2>&5
5244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5245 (exit $ac_status); }
5246 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5247 (eval $ac_compiler -v </dev/null >&5) 2>&5
5249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5250 (exit $ac_status); }
5251 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5252 (eval $ac_compiler -V </dev/null >&5) 2>&5
5254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5255 (exit $ac_status); }
5257 # If we don't use `.F' as extension, the preprocessor is not run on the
5261 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5262 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5263 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5264 echo $ECHO_N "(cached) $ECHO_C" >&6
5266 cat >conftest.$ac_ext <<_ACEOF
5274 rm -f conftest.$ac_objext
5275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5276 (eval $ac_compile) 2>&5
5278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5279 (exit $ac_status); } &&
5280 { ac_try='test -s conftest.$ac_objext'
5281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5285 (exit $ac_status); }; }; then
5288 echo "$as_me: failed program was:" >&5
5289 sed 's/^/| /' conftest.$ac_ext >&5
5293 rm -f conftest.$ac_objext conftest.$ac_ext
5294 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5297 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5298 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5300 G77=`test $ac_compiler_gnu = yes && echo yes`
5301 ac_test_FFLAGS=${FFLAGS+set}
5302 ac_save_FFLAGS=$FFLAGS
5304 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5305 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5306 if test "${ac_cv_prog_f77_g+set}" = set; then
5307 echo $ECHO_N "(cached) $ECHO_C" >&6
5310 cat >conftest.$ac_ext <<_ACEOF
5315 rm -f conftest.$ac_objext
5316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5317 (eval $ac_compile) 2>&5
5319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5320 (exit $ac_status); } &&
5321 { ac_try='test -s conftest.$ac_objext'
5322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5326 (exit $ac_status); }; }; then
5327 ac_cv_prog_f77_g=yes
5329 echo "$as_me: failed program was:" >&5
5330 sed 's/^/| /' conftest.$ac_ext >&5
5334 rm -f conftest.$ac_objext conftest.$ac_ext
5337 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5338 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5339 if test "$ac_test_FFLAGS" = set; then
5340 FFLAGS=$ac_save_FFLAGS
5341 elif test $ac_cv_prog_f77_g = yes; then
5342 if test "$G77" = yes; then
5348 if test "$G77" = yes; then
5355 ac_cpp='$CPP $CPPFLAGS'
5356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5362 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5364 # find the maximum length of command line arguments
5365 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5366 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5367 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5368 echo $ECHO_N "(cached) $ECHO_C" >&6
5375 # On DJGPP, this test can blow up pretty badly due to problems in libc
5376 # (any single argument exceeding 2000 bytes causes a buffer overrun
5377 # during glob expansion). Even if it were fixed, the result of this
5378 # check would be larger than it should be.
5379 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5383 # Under GNU Hurd, this test is not required because there is
5384 # no limit to the length of command line arguments.
5385 # Libtool will interpret -1 as no limit whatsoever
5386 lt_cv_sys_max_cmd_len=-1;
5390 # On Win9x/ME, this test blows up -- it succeeds, but takes
5391 # about 5 minutes as the teststring grows exponentially.
5392 # Worse, since 9x/ME are not pre-emptively multitasking,
5393 # you end up with a "frozen" computer, even though with patience
5394 # the test eventually succeeds (with a max line length of 256k).
5395 # Instead, let's just punt: use the minimum linelength reported by
5396 # all of the supported platforms: 8192 (on NT/2K/XP).
5397 lt_cv_sys_max_cmd_len=8192;
5401 # If test is not a shell built-in, we'll probably end up computing a
5402 # maximum length that is only half of the actual maximum length, but
5404 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5405 = "XX$testring") >/dev/null 2>&1 &&
5406 new_result=`expr "X$testring" : ".*" 2>&1` &&
5407 lt_cv_sys_max_cmd_len=$new_result &&
5408 test $i != 17 # 1/2 MB should be enough
5411 testring=$testring$testring
5414 # Add a significant safety factor because C++ compilers can tack on massive
5415 # amounts of additional arguments before passing them to the linker.
5416 # It appears as though 1/2 is a usable value.
5417 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5423 if test -n $lt_cv_sys_max_cmd_len ; then
5424 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5425 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5427 echo "$as_me:$LINENO: result: none" >&5
5428 echo "${ECHO_T}none" >&6
5434 # Check for command to grab the raw symbol name followed by C symbol from nm.
5435 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5436 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5437 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5438 echo $ECHO_N "(cached) $ECHO_C" >&6
5441 # These are sane defaults that work on at least a few old systems.
5442 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5444 # Character class describing NM global symbol codes.
5445 symcode='[BCDEGRST]'
5447 # Regexp to match symbols that can be accessed directly from C.
5448 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5450 # Transform the above into a raw symbol and a C symbol.
5451 symxfrm='\1 \2\3 \3'
5453 # Transform an extracted symbol line into a proper C declaration
5454 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5456 # Transform an extracted symbol line into symbol name and symbol address
5457 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'"
5459 # Define system-specific variables.
5464 cygwin* | mingw* | pw32*)
5465 symcode='[ABCDGISTW]'
5467 hpux*) # Its linker distinguishes data from code symbols
5468 if test "$host_cpu" = ia64; then
5469 symcode='[ABCDEGRST]'
5471 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5472 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'"
5475 symcode='[BCDEGRST]'
5478 symcode='[BCDEGQRST]'
5488 # Handle CRLF in mingw tool chain
5492 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5496 # If we're using GNU nm, then use its standard symbol codes.
5497 case `$NM -V 2>&1` in
5498 *GNU* | *'with BFD'*)
5499 symcode='[ABCDGISTW]' ;;
5502 # Try without a prefix undercore, then with it.
5503 for ac_symprfx in "" "_"; do
5505 # Write the raw and C identifiers.
5506 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5508 # Check to see that the pipe works correctly.
5512 cat > conftest.$ac_ext <<EOF
5517 void nm_test_func(){}
5521 int main(){nm_test_var='a';nm_test_func();return(0);}
5524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5525 (eval $ac_compile) 2>&5
5527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5528 (exit $ac_status); }; then
5529 # Now try to grab the symbols.
5531 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5532 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5535 (exit $ac_status); } && test -s "$nlist"; then
5536 # Try sorting and uniquifying the output.
5537 if sort "$nlist" | uniq > "$nlist"T; then
5538 mv -f "$nlist"T "$nlist"
5543 # Make sure that we snagged all the symbols we need.
5544 if grep ' nm_test_var$' "$nlist" >/dev/null; then
5545 if grep ' nm_test_func$' "$nlist" >/dev/null; then
5546 cat <<EOF > conftest.$ac_ext
5552 # Now generate the symbol file.
5553 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5555 cat <<EOF >> conftest.$ac_ext
5556 #if defined (__STDC__) && __STDC__
5557 # define lt_ptr_t void *
5559 # define lt_ptr_t char *
5563 /* The mapping between symbol names and symbols. */
5568 lt_preloaded_symbols[] =
5571 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5572 cat <<\EOF >> conftest.$ac_ext
5580 # Now try linking the two files.
5581 mv conftest.$ac_objext conftstm.$ac_objext
5582 lt_save_LIBS="$LIBS"
5583 lt_save_CFLAGS="$CFLAGS"
5584 LIBS="conftstm.$ac_objext"
5585 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5587 (eval $ac_link) 2>&5
5589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5590 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5593 LIBS="$lt_save_LIBS"
5594 CFLAGS="$lt_save_CFLAGS"
5596 echo "cannot find nm_test_func in $nlist" >&5
5599 echo "cannot find nm_test_var in $nlist" >&5
5602 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5605 echo "$progname: failed program was:" >&5
5606 cat conftest.$ac_ext >&5
5608 rm -f conftest* conftst*
5610 # Do not use the global_symbol_pipe unless it works.
5611 if test "$pipe_works" = yes; then
5614 lt_cv_sys_global_symbol_pipe=
5620 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5621 lt_cv_sys_global_symbol_to_cdecl=
5623 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5624 echo "$as_me:$LINENO: result: failed" >&5
5625 echo "${ECHO_T}failed" >&6
5627 echo "$as_me:$LINENO: result: ok" >&5
5628 echo "${ECHO_T}ok" >&6
5631 echo "$as_me:$LINENO: checking for objdir" >&5
5632 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5633 if test "${lt_cv_objdir+set}" = set; then
5634 echo $ECHO_N "(cached) $ECHO_C" >&6
5636 rm -f .libs 2>/dev/null
5637 mkdir .libs 2>/dev/null
5638 if test -d .libs; then
5641 # MS-DOS does not allow filenames that begin with a dot.
5644 rmdir .libs 2>/dev/null
5646 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5647 echo "${ECHO_T}$lt_cv_objdir" >&6
5648 objdir=$lt_cv_objdir
5656 # AIX sometimes has problems with the GCC collect2 program. For some
5657 # reason, if we set the COLLECT_NAMES environment variable, the problems
5658 # vanish in a puff of smoke.
5659 if test "X${COLLECT_NAMES+set}" != Xset; then
5661 export COLLECT_NAMES
5666 # Sed substitution that helps us do robust quoting. It backslashifies
5667 # metacharacters that are still active within double-quoted strings.
5668 Xsed='sed -e s/^X//'
5669 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5671 # Same as above, but do not quote variable references.
5672 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5674 # Sed substitution to delay expansion of an escaped shell variable in a
5675 # double_quote_subst'ed string.
5676 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5678 # Sed substitution to avoid accidental globbing in evaled expressions
5679 no_glob_subst='s/\*/\\\*/g'
5686 can_build_shared=yes
5688 # All known linkers require a `.a' archive for static linking (except M$VC,
5689 # which needs '.lib').
5691 ltmain="$ac_aux_dir/ltmain.sh"
5692 ofile="$default_ofile"
5693 with_gnu_ld="$lt_cv_prog_gnu_ld"
5695 if test -n "$ac_tool_prefix"; then
5696 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5697 set dummy ${ac_tool_prefix}ar; ac_word=$2
5698 echo "$as_me:$LINENO: checking for $ac_word" >&5
5699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5700 if test "${ac_cv_prog_AR+set}" = set; then
5701 echo $ECHO_N "(cached) $ECHO_C" >&6
5703 if test -n "$AR"; then
5704 ac_cv_prog_AR="$AR" # Let the user override the test.
5706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5710 test -z "$as_dir" && as_dir=.
5711 for ac_exec_ext in '' $ac_executable_extensions; do
5712 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5713 ac_cv_prog_AR="${ac_tool_prefix}ar"
5714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5723 if test -n "$AR"; then
5724 echo "$as_me:$LINENO: result: $AR" >&5
5725 echo "${ECHO_T}$AR" >&6
5727 echo "$as_me:$LINENO: result: no" >&5
5728 echo "${ECHO_T}no" >&6
5732 if test -z "$ac_cv_prog_AR"; then
5734 # Extract the first word of "ar", so it can be a program name with args.
5735 set dummy ar; ac_word=$2
5736 echo "$as_me:$LINENO: checking for $ac_word" >&5
5737 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5738 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5739 echo $ECHO_N "(cached) $ECHO_C" >&6
5741 if test -n "$ac_ct_AR"; then
5742 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5748 test -z "$as_dir" && as_dir=.
5749 for ac_exec_ext in '' $ac_executable_extensions; do
5750 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5751 ac_cv_prog_ac_ct_AR="ar"
5752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5758 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5761 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5762 if test -n "$ac_ct_AR"; then
5763 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5764 echo "${ECHO_T}$ac_ct_AR" >&6
5766 echo "$as_me:$LINENO: result: no" >&5
5767 echo "${ECHO_T}no" >&6
5775 if test -n "$ac_tool_prefix"; then
5776 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5777 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5778 echo "$as_me:$LINENO: checking for $ac_word" >&5
5779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5780 if test "${ac_cv_prog_RANLIB+set}" = set; then
5781 echo $ECHO_N "(cached) $ECHO_C" >&6
5783 if test -n "$RANLIB"; then
5784 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5790 test -z "$as_dir" && as_dir=.
5791 for ac_exec_ext in '' $ac_executable_extensions; do
5792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5793 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5802 RANLIB=$ac_cv_prog_RANLIB
5803 if test -n "$RANLIB"; then
5804 echo "$as_me:$LINENO: result: $RANLIB" >&5
5805 echo "${ECHO_T}$RANLIB" >&6
5807 echo "$as_me:$LINENO: result: no" >&5
5808 echo "${ECHO_T}no" >&6
5812 if test -z "$ac_cv_prog_RANLIB"; then
5813 ac_ct_RANLIB=$RANLIB
5814 # Extract the first word of "ranlib", so it can be a program name with args.
5815 set dummy ranlib; ac_word=$2
5816 echo "$as_me:$LINENO: checking for $ac_word" >&5
5817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5818 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5819 echo $ECHO_N "(cached) $ECHO_C" >&6
5821 if test -n "$ac_ct_RANLIB"; then
5822 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5828 test -z "$as_dir" && as_dir=.
5829 for ac_exec_ext in '' $ac_executable_extensions; do
5830 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5831 ac_cv_prog_ac_ct_RANLIB="ranlib"
5832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5838 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5841 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5842 if test -n "$ac_ct_RANLIB"; then
5843 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5844 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5846 echo "$as_me:$LINENO: result: no" >&5
5847 echo "${ECHO_T}no" >&6
5850 RANLIB=$ac_ct_RANLIB
5852 RANLIB="$ac_cv_prog_RANLIB"
5855 if test -n "$ac_tool_prefix"; then
5856 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5857 set dummy ${ac_tool_prefix}strip; ac_word=$2
5858 echo "$as_me:$LINENO: checking for $ac_word" >&5
5859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5860 if test "${ac_cv_prog_STRIP+set}" = set; then
5861 echo $ECHO_N "(cached) $ECHO_C" >&6
5863 if test -n "$STRIP"; then
5864 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5870 test -z "$as_dir" && as_dir=.
5871 for ac_exec_ext in '' $ac_executable_extensions; do
5872 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5873 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5882 STRIP=$ac_cv_prog_STRIP
5883 if test -n "$STRIP"; then
5884 echo "$as_me:$LINENO: result: $STRIP" >&5
5885 echo "${ECHO_T}$STRIP" >&6
5887 echo "$as_me:$LINENO: result: no" >&5
5888 echo "${ECHO_T}no" >&6
5892 if test -z "$ac_cv_prog_STRIP"; then
5894 # Extract the first word of "strip", so it can be a program name with args.
5895 set dummy strip; ac_word=$2
5896 echo "$as_me:$LINENO: checking for $ac_word" >&5
5897 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5898 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5899 echo $ECHO_N "(cached) $ECHO_C" >&6
5901 if test -n "$ac_ct_STRIP"; then
5902 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5908 test -z "$as_dir" && as_dir=.
5909 for ac_exec_ext in '' $ac_executable_extensions; do
5910 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5911 ac_cv_prog_ac_ct_STRIP="strip"
5912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5918 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5921 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5922 if test -n "$ac_ct_STRIP"; then
5923 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5924 echo "${ECHO_T}$ac_ct_STRIP" >&6
5926 echo "$as_me:$LINENO: result: no" >&5
5927 echo "${ECHO_T}no" >&6
5932 STRIP="$ac_cv_prog_STRIP"
5937 old_CFLAGS="$CFLAGS"
5939 # Set sane defaults for various variables
5940 test -z "$AR" && AR=ar
5941 test -z "$AR_FLAGS" && AR_FLAGS=cru
5942 test -z "$AS" && AS=as
5943 test -z "$CC" && CC=cc
5944 test -z "$LTCC" && LTCC=$CC
5945 test -z "$DLLTOOL" && DLLTOOL=dlltool
5946 test -z "$LD" && LD=ld
5947 test -z "$LN_S" && LN_S="ln -s"
5948 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5949 test -z "$NM" && NM=nm
5950 test -z "$SED" && SED=sed
5951 test -z "$OBJDUMP" && OBJDUMP=objdump
5952 test -z "$RANLIB" && RANLIB=:
5953 test -z "$STRIP" && STRIP=:
5954 test -z "$ac_objext" && ac_objext=o
5956 # Determine commands to create old-style static archives.
5957 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5958 old_postinstall_cmds='chmod 644 $oldlib'
5959 old_postuninstall_cmds=
5961 if test -n "$RANLIB"; then
5964 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5967 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
5970 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5973 # Only perform the check for file, if the check method requires it
5974 case $deplibs_check_method in
5976 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5977 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5978 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5979 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5980 echo $ECHO_N "(cached) $ECHO_C" >&6
5984 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5987 lt_save_MAGIC_CMD="$MAGIC_CMD"
5988 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5989 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
5990 for ac_dir in $ac_dummy; do
5992 test -z "$ac_dir" && ac_dir=.
5993 if test -f $ac_dir/${ac_tool_prefix}file; then
5994 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
5995 if test -n "$file_magic_test_file"; then
5996 case $deplibs_check_method in
5998 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5999 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6000 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6001 $EGREP "$file_magic_regex" > /dev/null; then
6006 *** Warning: the command libtool uses to detect shared libraries,
6007 *** $file_magic_cmd, produces output that libtool cannot recognize.
6008 *** The result is that libtool may fail to recognize shared libraries
6009 *** as such. This will affect the creation of libtool libraries that
6010 *** depend on shared libraries, but programs linked with such libtool
6011 *** libraries will work regardless of this problem. Nevertheless, you
6012 *** may want to report the problem to your system manager and/or to
6013 *** bug-libtool@gnu.org
6023 MAGIC_CMD="$lt_save_MAGIC_CMD"
6028 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6029 if test -n "$MAGIC_CMD"; then
6030 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6031 echo "${ECHO_T}$MAGIC_CMD" >&6
6033 echo "$as_me:$LINENO: result: no" >&5
6034 echo "${ECHO_T}no" >&6
6037 if test -z "$lt_cv_path_MAGIC_CMD"; then
6038 if test -n "$ac_tool_prefix"; then
6039 echo "$as_me:$LINENO: checking for file" >&5
6040 echo $ECHO_N "checking for file... $ECHO_C" >&6
6041 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6042 echo $ECHO_N "(cached) $ECHO_C" >&6
6046 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6049 lt_save_MAGIC_CMD="$MAGIC_CMD"
6050 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6051 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6052 for ac_dir in $ac_dummy; do
6054 test -z "$ac_dir" && ac_dir=.
6055 if test -f $ac_dir/file; then
6056 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6057 if test -n "$file_magic_test_file"; then
6058 case $deplibs_check_method in
6060 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6061 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6062 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6063 $EGREP "$file_magic_regex" > /dev/null; then
6068 *** Warning: the command libtool uses to detect shared libraries,
6069 *** $file_magic_cmd, produces output that libtool cannot recognize.
6070 *** The result is that libtool may fail to recognize shared libraries
6071 *** as such. This will affect the creation of libtool libraries that
6072 *** depend on shared libraries, but programs linked with such libtool
6073 *** libraries will work regardless of this problem. Nevertheless, you
6074 *** may want to report the problem to your system manager and/or to
6075 *** bug-libtool@gnu.org
6085 MAGIC_CMD="$lt_save_MAGIC_CMD"
6090 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6091 if test -n "$MAGIC_CMD"; then
6092 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6093 echo "${ECHO_T}$MAGIC_CMD" >&6
6095 echo "$as_me:$LINENO: result: no" >&5
6096 echo "${ECHO_T}no" >&6
6111 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6112 if test "${enable_libtool_lock+set}" = set; then
6113 enableval="$enable_libtool_lock"
6116 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6119 # Check whether --with-pic or --without-pic was given.
6120 if test "${with_pic+set}" = set; then
6126 test -z "$pic_mode" && pic_mode=default
6128 # Use C for the default configuration in the libtool script
6132 ac_cpp='$CPP $CPPFLAGS'
6133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6138 # Source file extension for C test sources.
6141 # Object file extension for compiled C test sources.
6145 # Code to be used in simple compile tests
6146 lt_simple_compile_test_code="int some_variable = 0;\n"
6148 # Code to be used in simple link tests
6149 lt_simple_link_test_code='int main(){return(0);}\n'
6152 # If no C compiler was specified, use CC.
6155 # Allow CC to be a program name with arguments.
6160 # Check for any special shared library compilation flags.
6163 if test "$GCC" = no; then
6166 lt_prog_cc_shlib='-belf'
6170 if test -n "$lt_prog_cc_shlib"; then
6171 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6172 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6173 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
6175 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6176 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6177 lt_cv_prog_cc_can_build_shared=no
6183 # Check to make sure the static flag actually works.
6185 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6186 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6187 if test "${lt_prog_compiler_static_works+set}" = set; then
6188 echo $ECHO_N "(cached) $ECHO_C" >&6
6190 lt_prog_compiler_static_works=no
6191 save_LDFLAGS="$LDFLAGS"
6192 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6193 printf "$lt_simple_link_test_code" > conftest.$ac_ext
6194 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6195 # The compiler can only warn and ignore the option if not recognized
6196 # So say no if there are warnings
6197 if test -s conftest.err; then
6198 # Append any errors to the config.log.
6199 cat conftest.err 1>&5
6201 lt_prog_compiler_static_works=yes
6205 LDFLAGS="$save_LDFLAGS"
6208 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6209 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6211 if test x"$lt_prog_compiler_static_works" = xyes; then
6214 lt_prog_compiler_static=
6220 ## There is no encapsulation within the following macros, do not change
6221 ## the running order or otherwise move them around unless you know exactly
6222 ## what you are doing...
6224 lt_prog_compiler_no_builtin_flag=
6226 if test "$GCC" = yes; then
6227 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6229 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6230 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6231 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6232 echo $ECHO_N "(cached) $ECHO_C" >&6
6234 lt_cv_prog_compiler_rtti_exceptions=no
6235 ac_outfile=conftest.$ac_objext
6236 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6237 lt_compiler_flag="-fno-rtti -fno-exceptions"
6238 # Insert the option either (1) after the last *FLAGS variable, or
6239 # (2) before a word containing "conftest.", or (3) at the end.
6240 # Note that $ac_compile itself does not contain backslashes and begins
6241 # with a dollar sign (not a hyphen), so the echo should work correctly.
6242 # The option is referenced via a variable to avoid confusing sed.
6243 lt_compile=`echo "$ac_compile" | $SED \
6244 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6245 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6246 -e 's:$: $lt_compiler_flag:'`
6247 (eval echo "\"\$as_me:6247: $lt_compile\"" >&5)
6248 (eval "$lt_compile" 2>conftest.err)
6250 cat conftest.err >&5
6251 echo "$as_me:6251: \$? = $ac_status" >&5
6252 if (exit $ac_status) && test -s "$ac_outfile"; then
6253 # The compiler can only warn and ignore the option if not recognized
6254 # So say no if there are warnings
6255 if test ! -s conftest.err; then
6256 lt_cv_prog_compiler_rtti_exceptions=yes
6262 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6263 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6265 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6266 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6273 lt_prog_compiler_wl=
6274 lt_prog_compiler_pic=
6275 lt_prog_compiler_static=
6277 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6278 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6280 if test "$GCC" = yes; then
6281 lt_prog_compiler_wl='-Wl,'
6282 lt_prog_compiler_static='-static'
6286 # All AIX code is PIC.
6287 if test "$host_cpu" = ia64; then
6288 # AIX 5 now supports IA64 processor
6289 lt_prog_compiler_static='-Bstatic'
6294 # FIXME: we need at least 68020 code to build shared libraries, but
6295 # adding the `-m68020' flag to GCC prevents building anything better,
6297 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6300 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6301 # PIC is the default for these OSes.
6304 mingw* | pw32* | os2*)
6305 # This hack is so that the source file can tell whether it is being
6306 # built for inclusion in a dll (and should export symbols for example).
6307 lt_prog_compiler_pic='-DDLL_EXPORT'
6310 darwin* | rhapsody*)
6311 # PIC is the default on this platform
6312 # Common symbols not allowed in MH_DYLIB files
6313 lt_prog_compiler_pic='-fno-common'
6317 # Just because we use GCC doesn't mean we suddenly get shared libraries
6318 # on systems that don't support them.
6319 lt_prog_compiler_can_build_shared=no
6324 if test -d /usr/nec; then
6325 lt_prog_compiler_pic=-Kconform_pic
6330 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6337 lt_prog_compiler_pic='-fPIC'
6343 lt_prog_compiler_pic='-fPIC'
6347 # PORTME Check for flag to pass linker flags through the system compiler.
6350 lt_prog_compiler_wl='-Wl,'
6351 if test "$host_cpu" = ia64; then
6352 # AIX 5 now supports IA64 processor
6353 lt_prog_compiler_static='-Bstatic'
6355 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6359 mingw* | pw32* | os2*)
6360 # This hack is so that the source file can tell whether it is being
6361 # built for inclusion in a dll (and should export symbols for example).
6362 lt_prog_compiler_pic='-DDLL_EXPORT'
6365 hpux9* | hpux10* | hpux11*)
6366 lt_prog_compiler_wl='-Wl,'
6367 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6374 lt_prog_compiler_pic='+Z'
6377 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6378 lt_prog_compiler_static='${wl}-a ${wl}archive'
6381 irix5* | irix6* | nonstopux*)
6382 lt_prog_compiler_wl='-Wl,'
6383 # PIC (with -KPIC) is the default.
6384 lt_prog_compiler_static='-non_shared'
6388 lt_prog_compiler_pic='-KPIC'
6389 lt_prog_compiler_static='-Bstatic'
6395 lt_prog_compiler_wl='-Wl,'
6396 lt_prog_compiler_pic='-KPIC'
6397 lt_prog_compiler_static='-static'
6400 lt_prog_compiler_wl='-Wl,'
6401 # All Alpha code is PIC.
6402 lt_prog_compiler_static='-non_shared'
6407 osf3* | osf4* | osf5*)
6408 lt_prog_compiler_wl='-Wl,'
6409 # All OSF/1 code is PIC.
6410 lt_prog_compiler_static='-non_shared'
6414 lt_prog_compiler_pic='-Kpic'
6415 lt_prog_compiler_static='-dn'
6419 lt_prog_compiler_wl='-Wl,'
6420 lt_prog_compiler_pic='-KPIC'
6421 lt_prog_compiler_static='-Bstatic'
6425 lt_prog_compiler_wl='-Qoption ld '
6426 lt_prog_compiler_pic='-PIC'
6427 lt_prog_compiler_static='-Bstatic'
6430 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6431 lt_prog_compiler_wl='-Wl,'
6432 lt_prog_compiler_pic='-KPIC'
6433 lt_prog_compiler_static='-Bstatic'
6437 if test -d /usr/nec ;then
6438 lt_prog_compiler_pic='-Kconform_pic'
6439 lt_prog_compiler_static='-Bstatic'
6444 lt_prog_compiler_pic='-pic'
6445 lt_prog_compiler_static='-Bstatic'
6449 lt_prog_compiler_can_build_shared=no
6454 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6455 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6458 # Check to make sure the PIC flag actually works.
6460 if test -n "$lt_prog_compiler_pic"; then
6461 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6462 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6463 if test "${lt_prog_compiler_pic_works+set}" = set; then
6464 echo $ECHO_N "(cached) $ECHO_C" >&6
6466 lt_prog_compiler_pic_works=no
6467 ac_outfile=conftest.$ac_objext
6468 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6469 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6470 # Insert the option either (1) after the last *FLAGS variable, or
6471 # (2) before a word containing "conftest.", or (3) at the end.
6472 # Note that $ac_compile itself does not contain backslashes and begins
6473 # with a dollar sign (not a hyphen), so the echo should work correctly.
6474 # The option is referenced via a variable to avoid confusing sed.
6475 lt_compile=`echo "$ac_compile" | $SED \
6476 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6477 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6478 -e 's:$: $lt_compiler_flag:'`
6479 (eval echo "\"\$as_me:6479: $lt_compile\"" >&5)
6480 (eval "$lt_compile" 2>conftest.err)
6482 cat conftest.err >&5
6483 echo "$as_me:6483: \$? = $ac_status" >&5
6484 if (exit $ac_status) && test -s "$ac_outfile"; then
6485 # The compiler can only warn and ignore the option if not recognized
6486 # So say no if there are warnings
6487 if test ! -s conftest.err; then
6488 lt_prog_compiler_pic_works=yes
6494 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6495 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6497 if test x"$lt_prog_compiler_pic_works" = xyes; then
6498 case $lt_prog_compiler_pic in
6500 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6503 lt_prog_compiler_pic=
6504 lt_prog_compiler_can_build_shared=no
6509 # For platforms which do not support PIC, -DPIC is meaningless:
6511 lt_prog_compiler_pic=
6514 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6518 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6519 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6520 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6521 echo $ECHO_N "(cached) $ECHO_C" >&6
6523 lt_cv_prog_compiler_c_o=no
6524 $rm -r conftest 2>/dev/null
6528 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6530 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6531 # that will create temporary files in the current directory regardless of
6532 # the output directory. Thus, making CWD read-only will cause this test
6533 # to fail, enabling locking or at least warning the user not to do parallel
6537 lt_compiler_flag="-o out/conftest2.$ac_objext"
6538 # Insert the option either (1) after the last *FLAGS variable, or
6539 # (2) before a word containing "conftest.", or (3) at the end.
6540 # Note that $ac_compile itself does not contain backslashes and begins
6541 # with a dollar sign (not a hyphen), so the echo should work correctly.
6542 lt_compile=`echo "$ac_compile" | $SED \
6543 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6544 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6545 -e 's:$: $lt_compiler_flag:'`
6546 (eval echo "\"\$as_me:6546: $lt_compile\"" >&5)
6547 (eval "$lt_compile" 2>out/conftest.err)
6549 cat out/conftest.err >&5
6550 echo "$as_me:6550: \$? = $ac_status" >&5
6551 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6553 # The compiler can only warn and ignore the option if not recognized
6554 # So say no if there are warnings
6555 if test ! -s out/conftest.err; then
6556 lt_cv_prog_compiler_c_o=yes
6567 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6568 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6571 hard_links="nottested"
6572 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6573 # do not overwrite the value of need_locks provided by the user
6574 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6575 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6578 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6580 ln conftest.a conftest.b 2>&5 || hard_links=no
6581 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6582 echo "$as_me:$LINENO: result: $hard_links" >&5
6583 echo "${ECHO_T}$hard_links" >&6
6584 if test "$hard_links" = no; then
6585 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6586 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6593 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6594 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6597 allow_undefined_flag=
6598 enable_shared_with_static_runtimes=no
6600 archive_expsym_cmds=
6601 old_archive_From_new_cmds=
6602 old_archive_from_expsyms_cmds=
6603 export_dynamic_flag_spec=
6604 whole_archive_flag_spec=
6605 thread_safe_flag_spec=
6606 hardcode_libdir_flag_spec=
6607 hardcode_libdir_flag_spec_ld=
6608 hardcode_libdir_separator=
6611 hardcode_shlibpath_var=unsupported
6612 link_all_deplibs=unknown
6613 hardcode_automatic=no
6616 always_export_symbols=no
6617 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6618 # include_expsyms should be a list of space-separated symbols to be *always*
6619 # included in the symbol list
6621 # exclude_expsyms can be an extended regexp of symbols to exclude
6622 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6623 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6624 # as well as any symbol that contains `d'.
6625 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6626 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6627 # platforms (ab)use it in PIC code, but their linkers get confused if
6628 # the symbol is explicitly referenced. Since portable code cannot
6629 # rely on this symbol name, it's probably fine to never include it in
6630 # preloaded symbol tables.
6631 extract_expsyms_cmds=
6634 cygwin* | mingw* | pw32*)
6635 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6636 # When not using gcc, we currently assume that we are using
6637 # Microsoft Visual C++.
6638 if test "$GCC" != yes; then
6648 if test "$with_gnu_ld" = yes; then
6649 # If archive_cmds runs LD, not CC, wlarc should be empty
6652 # See if GNU ld supports shared libraries.
6654 aix3* | aix4* | aix5*)
6655 # On AIX/PPC, the GNU linker is very broken
6656 if test "$host_cpu" != ia64; then
6660 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6661 *** to be unable to reliably create shared libraries on AIX.
6662 *** Therefore, libtool is disabling shared libraries support. If you
6663 *** really care for shared libraries, you may want to modify your PATH
6664 *** so that a non-GNU linker is found, and then restart.
6671 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)'
6672 hardcode_libdir_flag_spec='-L$libdir'
6673 hardcode_minus_L=yes
6675 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6676 # that the semantics of dynamic libraries on AmigaOS, at least up
6677 # to version 4, is to share data among multiple programs linked
6678 # with the same dynamic library. Since this doesn't match the
6679 # behavior of shared libraries on other platforms, we can't use
6685 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6686 allow_undefined_flag=unsupported
6687 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6688 # support --undefined. This deserves some investigation. FIXME
6689 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6695 cygwin* | mingw* | pw32*)
6696 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6697 # as there is no search path for DLLs.
6698 hardcode_libdir_flag_spec='-L$libdir'
6699 allow_undefined_flag=unsupported
6700 always_export_symbols=no
6701 enable_shared_with_static_runtimes=yes
6702 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6704 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6705 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6706 # If the export-symbols file already is a .def file (1st line
6707 # is EXPORTS), use it as is; otherwise, prepend...
6708 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6709 cp $export_symbols $output_objdir/$soname.def;
6711 echo EXPORTS > $output_objdir/$soname.def;
6712 cat $export_symbols >> $output_objdir/$soname.def;
6714 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6721 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6722 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6725 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6726 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6731 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6735 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6736 *** create shared libraries on Solaris systems. Therefore, libtool
6737 *** is disabling shared libraries support. We urge you to upgrade GNU
6738 *** binutils to release 2.9.1 or newer. Another option is to modify
6739 *** your PATH or compiler configuration so that the native linker is
6740 *** used, and then restart.
6743 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6744 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6745 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6752 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6755 hardcode_shlibpath_var=no
6759 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6760 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6761 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6768 if test "$ld_shlibs" = yes; then
6769 runpath_var=LD_RUN_PATH
6770 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6771 export_dynamic_flag_spec='${wl}--export-dynamic'
6772 # ancient GNU ld didn't support --whole-archive et. al.
6773 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6774 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6776 whole_archive_flag_spec=
6780 # PORTME fill in a description of your system's linker (not GNU ld)
6783 allow_undefined_flag=unsupported
6784 always_export_symbols=yes
6785 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'
6786 # Note: this linker hardcodes the directories in LIBPATH if there
6787 # are no directories specified by -L.
6788 hardcode_minus_L=yes
6789 if test "$GCC" = yes && test -z "$link_static_flag"; then
6790 # Neither direct hardcoding nor static linking is supported with a
6792 hardcode_direct=unsupported
6797 if test "$host_cpu" = ia64; then
6798 # On IA64, the linker does run time linking by default, so we don't
6799 # have to do anything special.
6800 aix_use_runtimelinking=no
6801 exp_sym_flag='-Bexport'
6804 # If we're using GNU nm, then we don't want the "-C" option.
6805 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6806 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6807 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'
6809 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'
6811 aix_use_runtimelinking=no
6813 # Test if we are trying to use run time linking or normal
6814 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6815 # need to do runtime linking.
6816 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6817 for ld_flag in $LDFLAGS; do
6818 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6819 aix_use_runtimelinking=yes
6825 exp_sym_flag='-bexport'
6826 no_entry_flag='-bnoentry'
6829 # When large executables or shared objects are built, AIX ld can
6830 # have problems creating the table of contents. If linking a library
6831 # or program results in "error TOC overflow" add -mminimal-toc to
6832 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6833 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6837 hardcode_libdir_separator=':'
6838 link_all_deplibs=yes
6840 if test "$GCC" = yes; then
6841 case $host_os in aix4.012|aix4.012.*)
6842 # We only want to do this on AIX 4.2 and lower, the check
6843 # below for broken collect2 doesn't work under 4.3+
6844 collect2name=`${CC} -print-prog-name=collect2`
6845 if test -f "$collect2name" && \
6846 strings "$collect2name" | grep resolve_lib_name >/dev/null
6848 # We have reworked collect2
6851 # We have old collect2
6852 hardcode_direct=unsupported
6853 # It fails to find uninstalled libraries when the uninstalled
6854 # path is not listed in the libpath. Setting hardcode_minus_L
6855 # to unsupported forces relinking
6856 hardcode_minus_L=yes
6857 hardcode_libdir_flag_spec='-L$libdir'
6858 hardcode_libdir_separator=
6861 shared_flag='-shared'
6864 if test "$host_cpu" = ia64; then
6865 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6866 # chokes on -Wl,-G. The following line is correct:
6869 if test "$aix_use_runtimelinking" = yes; then
6870 shared_flag='${wl}-G'
6872 shared_flag='${wl}-bM:SRE'
6877 # It seems that -bexpall does not export symbols beginning with
6878 # underscore (_), so it is better to generate a list of symbols to export.
6879 always_export_symbols=yes
6880 if test "$aix_use_runtimelinking" = yes; then
6881 # Warning - without using the other runtime loading flags (-brtl),
6882 # -berok will link without error, but may produce a broken library.
6883 allow_undefined_flag='-berok'
6884 # Determine the default libpath from the value encoded in an empty executable.
6885 cat >conftest.$ac_ext <<_ACEOF
6886 #line $LINENO "configure"
6889 cat confdefs.h >>conftest.$ac_ext
6890 cat >>conftest.$ac_ext <<_ACEOF
6891 /* end confdefs.h. */
6901 rm -f conftest.$ac_objext conftest$ac_exeext
6902 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6903 (eval $ac_link) 2>&5
6905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6906 (exit $ac_status); } &&
6907 { ac_try='test -s conftest$ac_exeext'
6908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6912 (exit $ac_status); }; }; then
6914 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6916 # Check for a 64-bit object if we didn't find anything.
6917 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; }
6920 echo "$as_me: failed program was:" >&5
6921 sed 's/^/| /' conftest.$ac_ext >&5
6924 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6925 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6927 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6928 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"
6930 if test "$host_cpu" = ia64; then
6931 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6932 allow_undefined_flag="-z nodefs"
6933 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"
6935 # Determine the default libpath from the value encoded in an empty executable.
6936 cat >conftest.$ac_ext <<_ACEOF
6937 #line $LINENO "configure"
6940 cat confdefs.h >>conftest.$ac_ext
6941 cat >>conftest.$ac_ext <<_ACEOF
6942 /* end confdefs.h. */
6952 rm -f conftest.$ac_objext conftest$ac_exeext
6953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6954 (eval $ac_link) 2>&5
6956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6957 (exit $ac_status); } &&
6958 { ac_try='test -s conftest$ac_exeext'
6959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6963 (exit $ac_status); }; }; then
6965 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6967 # Check for a 64-bit object if we didn't find anything.
6968 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; }
6971 echo "$as_me: failed program was:" >&5
6972 sed 's/^/| /' conftest.$ac_ext >&5
6975 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6976 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6978 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6979 # Warning - without using the other run time loading flags,
6980 # -berok will link without error, but may produce a broken library.
6981 no_undefined_flag=' ${wl}-bernotok'
6982 allow_undefined_flag=' ${wl}-berok'
6983 # -bexpall does not export symbols beginning with underscore (_)
6984 always_export_symbols=yes
6985 # Exported symbols can be pulled into shared objects from archives
6986 whole_archive_flag_spec=' '
6987 archive_cmds_need_lc=yes
6988 # This is similar to how AIX traditionally builds it's shared libraries.
6989 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'
6995 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)'
6996 hardcode_libdir_flag_spec='-L$libdir'
6997 hardcode_minus_L=yes
6998 # see comment about different semantics on the GNU ld section
7003 export_dynamic_flag_spec=-rdynamic
7006 cygwin* | mingw* | pw32*)
7007 # When not using gcc, we currently assume that we are using
7008 # Microsoft Visual C++.
7009 # hardcode_libdir_flag_spec is actually meaningless, as there is
7010 # no search path for DLLs.
7011 hardcode_libdir_flag_spec=' '
7012 allow_undefined_flag=unsupported
7013 # Tell ltmain to make .lib files, not .a files.
7015 # Tell ltmain to make .dll files, not .so files.
7017 # FIXME: Setting linknames here is a bad hack.
7018 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7019 # The linker will automatically build a .lib file if we build a DLL.
7020 old_archive_From_new_cmds='true'
7021 # FIXME: Should let the user specify the lib program.
7022 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
7023 fix_srcfile_path='`cygpath -w "$srcfile"`'
7024 enable_shared_with_static_runtimes=yes
7027 darwin* | rhapsody*)
7028 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7029 archive_cmds_need_lc=no
7031 rhapsody* | darwin1.[012])
7032 allow_undefined_flag='-undefined suppress'
7035 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
7038 # FIXME: Relying on posixy $() will cause problems for
7039 # cross-compilation, but unfortunately the echo tests do not
7040 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
7041 # `"' quotes if we put them in here... so don't!
7042 lt_int_apple_cc_single_mod=no
7043 output_verbose_link_cmd='echo'
7044 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7045 lt_int_apple_cc_single_mod=yes
7047 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7048 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7050 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'
7052 module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7053 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7054 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7055 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}'
7057 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}'
7059 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}'
7061 hardcode_automatic=yes
7062 hardcode_shlibpath_var=unsupported
7063 whole_archive_flag_spec='-all_load $convenience'
7064 link_all_deplibs=yes
7069 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7070 hardcode_libdir_flag_spec='-L$libdir'
7071 hardcode_shlibpath_var=no
7078 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7079 # support. Future versions do this automatically, but an explicit c++rt0.o
7080 # does not break anything, and helps significantly (at the cost of a little
7083 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7084 hardcode_libdir_flag_spec='-R$libdir'
7086 hardcode_shlibpath_var=no
7089 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7091 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7093 hardcode_minus_L=yes
7094 hardcode_shlibpath_var=no
7097 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7099 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7100 hardcode_libdir_flag_spec='-R$libdir'
7102 hardcode_shlibpath_var=no
7106 if test "$GCC" = yes; then
7107 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'
7109 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'
7111 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7112 hardcode_libdir_separator=:
7115 # hardcode_minus_L: Not really in the search PATH,
7116 # but as the default location of the library.
7117 hardcode_minus_L=yes
7118 export_dynamic_flag_spec='${wl}-E'
7122 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7125 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7128 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7134 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7137 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7141 if test "$with_gnu_ld" = no; then
7144 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7145 hardcode_libdir_flag_spec_ld='+b $libdir'
7146 hardcode_libdir_separator=:
7148 hardcode_shlibpath_var=no
7151 hardcode_libdir_flag_spec='-L$libdir'
7153 hardcode_shlibpath_var=no
7155 # hardcode_minus_L: Not really in the search PATH,
7156 # but as the default location of the library.
7157 hardcode_minus_L=yes
7160 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7161 hardcode_libdir_separator=:
7163 export_dynamic_flag_spec='${wl}-E'
7165 # hardcode_minus_L: Not really in the search PATH,
7166 # but as the default location of the library.
7167 hardcode_minus_L=yes
7173 irix5* | irix6* | nonstopux*)
7174 if test "$GCC" = yes; then
7175 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'
7177 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'
7178 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7180 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7181 hardcode_libdir_separator=:
7182 link_all_deplibs=yes
7186 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7187 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7189 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7191 hardcode_libdir_flag_spec='-R$libdir'
7193 hardcode_shlibpath_var=no
7197 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7199 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7200 hardcode_libdir_separator=:
7201 hardcode_shlibpath_var=no
7206 hardcode_shlibpath_var=no
7207 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7208 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7209 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7210 export_dynamic_flag_spec='${wl}-E'
7213 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7214 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7215 hardcode_libdir_flag_spec='-R$libdir'
7218 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7219 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7226 hardcode_libdir_flag_spec='-L$libdir'
7227 hardcode_minus_L=yes
7228 allow_undefined_flag=unsupported
7229 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'
7230 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7234 if test "$GCC" = yes; then
7235 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7236 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'
7238 allow_undefined_flag=' -expect_unresolved \*'
7239 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'
7241 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7242 hardcode_libdir_separator=:
7245 osf4* | osf5*) # as osf3* with the addition of -msym flag
7246 if test "$GCC" = yes; then
7247 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7248 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'
7249 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7251 allow_undefined_flag=' -expect_unresolved \*'
7252 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'
7253 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7254 $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'
7256 # Both c and cxx compiler support -rpath directly
7257 hardcode_libdir_flag_spec='-rpath $libdir'
7259 hardcode_libdir_separator=:
7263 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7264 hardcode_shlibpath_var=no
7265 export_dynamic_flag_spec='${wl}-Bexport'
7266 runpath_var=LD_RUN_PATH
7267 hardcode_runpath_var=yes
7271 no_undefined_flag=' -z text'
7272 if test "$GCC" = yes; then
7273 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7274 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7275 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7277 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7278 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7279 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7281 hardcode_libdir_flag_spec='-R$libdir'
7282 hardcode_shlibpath_var=no
7284 solaris2.[0-5] | solaris2.[0-5].*) ;;
7285 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7286 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7288 link_all_deplibs=yes
7292 if test "x$host_vendor" = xsequent; then
7293 # Use $CC to link under sequent, because it throws in some extra .o
7294 # files that make .init and .fini sections work.
7295 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7297 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7299 hardcode_libdir_flag_spec='-L$libdir'
7301 hardcode_minus_L=yes
7302 hardcode_shlibpath_var=no
7306 case $host_vendor in
7308 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7309 hardcode_direct=yes # is this really true???
7312 ## LD is ld it makes a PLAMLIB
7313 ## CC just makes a GrossModule.
7314 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7315 reload_cmds='$CC -r -o $output$reload_objs'
7319 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7320 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7323 runpath_var='LD_RUN_PATH'
7324 hardcode_shlibpath_var=no
7328 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7329 hardcode_shlibpath_var=no
7330 export_dynamic_flag_spec='-Bexport'
7334 if test -d /usr/nec; then
7335 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7336 hardcode_shlibpath_var=no
7337 runpath_var=LD_RUN_PATH
7338 hardcode_runpath_var=yes
7344 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7347 hardcode_shlibpath_var=no
7348 hardcode_runpath_var=yes
7349 runpath_var=LD_RUN_PATH
7352 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7353 no_undefined_flag='${wl}-z ${wl}text'
7354 if test "$GCC" = yes; then
7355 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7357 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7359 runpath_var='LD_RUN_PATH'
7360 hardcode_shlibpath_var=no
7364 no_undefined_flag=' -z text'
7365 # $CC -shared without GNU ld will not create a library from C++
7366 # object files and a static libstdc++, better avoid it by now
7367 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7368 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7369 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7370 hardcode_libdir_flag_spec=
7371 hardcode_shlibpath_var=no
7372 runpath_var='LD_RUN_PATH'
7376 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7377 hardcode_libdir_flag_spec='-L$libdir'
7378 hardcode_shlibpath_var=no
7387 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7388 echo "${ECHO_T}$ld_shlibs" >&6
7389 test "$ld_shlibs" = no && can_build_shared=no
7391 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7392 if test "$GCC" = yes; then
7393 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7397 # Do we need to explicitly link libc?
7399 case "x$archive_cmds_need_lc" in
7401 # Assume -lc should be added
7402 archive_cmds_need_lc=yes
7404 if test "$enable_shared" = yes && test "$GCC" = yes; then
7405 case $archive_cmds in
7407 # FIXME: we may have to deal with multi-command sequences.
7410 # Test whether the compiler implicitly links with -lc since on some
7411 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7412 # to ld, don't add -lc before -lgcc.
7413 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7414 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7416 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7419 (eval $ac_compile) 2>&5
7421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7422 (exit $ac_status); } 2>conftest.err; then
7425 libobjs=conftest.$ac_objext
7427 wl=$lt_prog_compiler_wl
7433 lt_save_allow_undefined_flag=$allow_undefined_flag
7434 allow_undefined_flag=
7435 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7436 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7439 (exit $ac_status); }
7441 archive_cmds_need_lc=no
7443 archive_cmds_need_lc=yes
7445 allow_undefined_flag=$lt_save_allow_undefined_flag
7447 cat conftest.err 1>&5
7450 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7451 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7458 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7459 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7461 if test -n "$hardcode_libdir_flag_spec" || \
7462 test -n "$runpath_var " || \
7463 test "X$hardcode_automatic"="Xyes" ; then
7465 # We can hardcode non-existant directories.
7466 if test "$hardcode_direct" != no &&
7467 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7468 # have to relink, otherwise we might link with an installed library
7469 # when we should be linking with a yet-to-be-installed one
7470 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7471 test "$hardcode_minus_L" != no; then
7472 # Linking always hardcodes the temporary library directory.
7473 hardcode_action=relink
7475 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7476 hardcode_action=immediate
7479 # We cannot hardcode anything, or else we can only hardcode existing
7481 hardcode_action=unsupported
7483 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7484 echo "${ECHO_T}$hardcode_action" >&6
7486 if test "$hardcode_action" = relink; then
7487 # Fast installation is not supported
7488 enable_fast_install=no
7489 elif test "$shlibpath_overrides_runpath" = yes ||
7490 test "$enable_shared" = no; then
7491 # Fast installation is not necessary
7492 enable_fast_install=needless
7497 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7498 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7499 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7500 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7501 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7502 echo "$as_me:$LINENO: result: yes" >&5
7503 echo "${ECHO_T}yes" >&6
7505 # FIXME - insert some real tests, host_os isn't really good enough
7508 if test -n "$STRIP" ; then
7509 striplib="$STRIP -x"
7510 echo "$as_me:$LINENO: result: yes" >&5
7511 echo "${ECHO_T}yes" >&6
7513 echo "$as_me:$LINENO: result: no" >&5
7514 echo "${ECHO_T}no" >&6
7518 echo "$as_me:$LINENO: result: no" >&5
7519 echo "${ECHO_T}no" >&6
7524 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7525 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7527 libname_spec='lib$name'
7535 shlibpath_overrides_runpath=unknown
7537 dynamic_linker="$host_os ld.so"
7538 sys_lib_dlsearch_path_spec="/lib /usr/lib"
7539 if test "$GCC" = yes; then
7540 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7541 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7542 # if the path contains ";" then we assume it to be the separator
7543 # otherwise default to the standard path separator (i.e. ":") - it is
7544 # assumed that no part of a normal pathname contains ";" but that should
7545 # okay in the real world where ";" in dirpaths is itself problematic.
7546 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7548 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7551 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7553 need_lib_prefix=unknown
7554 hardcode_into_libs=no
7556 # when you set need_version to no, make sure it does not cause -set_version
7557 # flags to be left without arguments
7558 need_version=unknown
7563 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7564 shlibpath_var=LIBPATH
7566 # AIX 3 has no versioning support, so we append a major version to the name.
7567 soname_spec='${libname}${release}${shared_ext}$major'
7574 hardcode_into_libs=yes
7575 if test "$host_cpu" = ia64; then
7576 # AIX 5 supports IA64
7577 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7578 shlibpath_var=LD_LIBRARY_PATH
7580 # With GCC up to 2.95.x, collect2 would create an import file
7581 # for dependence libraries. The import file would start with
7582 # the line `#! .'. This would cause the generated library to
7583 # depend on `.', always an invalid library. This was fixed in
7584 # development snapshots of GCC prior to 3.0.
7586 aix4 | aix4.[01] | aix4.[01].*)
7587 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7589 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7596 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7597 # soname into executable. Probably we can add versioning support to
7598 # collect2, so additional links can be useful in future.
7599 if test "$aix_use_runtimelinking" = yes; then
7600 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7601 # instead of lib<name>.a to let people know that these are not
7602 # typical AIX shared libraries.
7603 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7605 # We preserve .a as extension for shared libraries through AIX4.2
7606 # and later when we are not doing run time linking.
7607 library_names_spec='${libname}${release}.a $libname.a'
7608 soname_spec='${libname}${release}${shared_ext}$major'
7610 shlibpath_var=LIBPATH
7615 library_names_spec='$libname.ixlibrary $libname.a'
7616 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7617 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'
7621 library_names_spec='${libname}${shared_ext}'
7622 dynamic_linker="$host_os ld.so"
7623 shlibpath_var=LIBRARY_PATH
7629 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7630 soname_spec='${libname}${release}${shared_ext}$major'
7631 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7632 shlibpath_var=LD_LIBRARY_PATH
7633 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7634 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7635 # the default ld.so.conf also contains /usr/contrib/lib and
7636 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7637 # libtool to hard-code these into programs
7640 cygwin* | mingw* | pw32*)
7641 version_type=windows
7646 case $GCC,$host_os in
7647 yes,cygwin* | yes,mingw* | yes,pw32*)
7648 library_names_spec='$libname.dll.a'
7649 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7650 postinstall_cmds='base_file=`basename \${file}`~
7651 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7652 dldir=$destdir/`dirname \$dlpath`~
7653 test -d \$dldir || mkdir -p \$dldir~
7654 $install_prog $dir/$dlname \$dldir/$dlname'
7655 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7656 dlpath=$dir/\$dldll~
7658 shlibpath_overrides_runpath=yes
7662 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7663 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7664 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
7667 # MinGW DLLs use traditional 'lib' prefix
7668 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7669 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7670 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7671 # It is most probably a Windows format PATH printed by
7672 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7673 # path with ; separators, and with drive letters. We can handle the
7674 # drive letters (cygwin fileutils understands them), so leave them,
7675 # especially as we might pass files found there to a mingw objdump,
7676 # which wouldn't understand a cygwinified path. Ahh.
7677 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7679 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7683 # pw32 DLLs use 'pw' prefix rather than 'lib'
7684 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7690 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7693 dynamic_linker='Win32 ld.exe'
7694 # FIXME: first we should search . and the directory the executable is in
7698 darwin* | rhapsody*)
7699 dynamic_linker="$host_os dyld"
7703 # FIXME: Relying on posixy $() will cause problems for
7704 # cross-compilation, but unfortunately the echo tests do not
7705 # yet detect zsh echo's removal of \ escapes.
7706 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7707 soname_spec='${libname}${release}${major}$shared_ext'
7708 shlibpath_overrides_runpath=yes
7709 shlibpath_var=DYLD_LIBRARY_PATH
7710 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
7711 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7712 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7713 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"`
7715 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7722 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7723 soname_spec='${libname}${release}${shared_ext}$major'
7724 shlibpath_var=LD_LIBRARY_PATH
7732 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7733 version_type=freebsd-$objformat
7734 case $version_type in
7736 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7741 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7745 shlibpath_var=LD_LIBRARY_PATH
7748 shlibpath_overrides_runpath=yes
7750 freebsd3.01* | freebsdelf3.01*)
7751 shlibpath_overrides_runpath=yes
7752 hardcode_into_libs=yes
7755 shlibpath_overrides_runpath=no
7756 hardcode_into_libs=yes
7765 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7766 soname_spec='${libname}${release}${shared_ext}$major'
7767 shlibpath_var=LD_LIBRARY_PATH
7768 hardcode_into_libs=yes
7771 hpux9* | hpux10* | hpux11*)
7772 # Give a soname corresponding to the major version so that dld.sl refuses to
7773 # link against other versions.
7780 hardcode_into_libs=yes
7781 dynamic_linker="$host_os dld.so"
7782 shlibpath_var=LD_LIBRARY_PATH
7783 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7784 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7785 soname_spec='${libname}${release}${shared_ext}$major'
7786 if test "X$HPUX_IA64_MODE" = X32; then
7787 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7789 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7791 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7795 hardcode_into_libs=yes
7796 dynamic_linker="$host_os dld.sl"
7797 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7798 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7799 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7800 soname_spec='${libname}${release}${shared_ext}$major'
7801 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7802 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7806 dynamic_linker="$host_os dld.sl"
7807 shlibpath_var=SHLIB_PATH
7808 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7809 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7810 soname_spec='${libname}${release}${shared_ext}$major'
7813 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7814 postinstall_cmds='chmod 555 $lib'
7817 irix5* | irix6* | nonstopux*)
7819 nonstopux*) version_type=nonstopux ;;
7821 if test "$lt_cv_prog_gnu_ld" = yes; then
7829 soname_spec='${libname}${release}${shared_ext}$major'
7830 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7832 irix5* | nonstopux*)
7836 case $LD in # libtool.m4 will add one of these switches to LD
7837 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7838 libsuff= shlibsuff= libmagic=32-bit;;
7839 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7840 libsuff=32 shlibsuff=N32 libmagic=N32;;
7841 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7842 libsuff=64 shlibsuff=64 libmagic=64-bit;;
7843 *) libsuff= shlibsuff= libmagic=never-match;;
7847 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7848 shlibpath_overrides_runpath=no
7849 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7850 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7851 hardcode_into_libs=yes
7854 # No shared lib support for Linux oldld, aout, or coff.
7855 linux*oldld* | linux*aout* | linux*coff*)
7859 # This must be Linux ELF.
7864 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7865 soname_spec='${libname}${release}${shared_ext}$major'
7866 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7867 shlibpath_var=LD_LIBRARY_PATH
7868 shlibpath_overrides_runpath=no
7869 # This implies no fast_install, which is unacceptable.
7870 # Some rework will be needed to allow for fast_install
7871 # before this can be enabled.
7872 hardcode_into_libs=yes
7874 # We used to test for /lib/ld.so.1 and disable shared libraries on
7875 # powerpc, because MkLinux only supported shared libraries with the
7876 # GNU dynamic linker. Since this was broken with cross compilers,
7877 # most powerpc-linux boxes support dynamic linking these days and
7878 # people can always --disable-shared, the test was removed, and we
7879 # assume the GNU/Linux dynamic linker is in use.
7880 dynamic_linker='GNU/Linux ld.so'
7887 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7888 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7889 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7890 dynamic_linker='NetBSD (a.out) ld.so'
7892 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
7893 soname_spec='${libname}${release}${shared_ext}$major'
7894 dynamic_linker='NetBSD ld.elf_so'
7896 shlibpath_var=LD_LIBRARY_PATH
7897 shlibpath_overrides_runpath=yes
7898 hardcode_into_libs=yes
7903 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7904 shlibpath_var=LD_LIBRARY_PATH
7905 shlibpath_overrides_runpath=yes
7912 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7913 soname_spec='${libname}${release}${shared_ext}$major'
7914 shlibpath_var=LD_LIBRARY_PATH
7915 shlibpath_overrides_runpath=yes
7922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7923 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7924 shlibpath_var=LD_LIBRARY_PATH
7925 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7927 openbsd2.[89] | openbsd2.[89].*)
7928 shlibpath_overrides_runpath=no
7931 shlibpath_overrides_runpath=yes
7935 shlibpath_overrides_runpath=yes
7940 libname_spec='$name'
7943 library_names_spec='$libname${shared_ext} $libname.a'
7944 dynamic_linker='OS/2 ld.exe'
7945 shlibpath_var=LIBPATH
7948 osf3* | osf4* | osf5*)
7952 soname_spec='${libname}${release}${shared_ext}$major'
7953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7954 shlibpath_var=LD_LIBRARY_PATH
7955 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7956 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7961 soname_spec='${libname}${release}${shared_ext}$major'
7962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7963 shlibpath_var=LD_LIBRARY_PATH
7970 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7971 soname_spec='${libname}${release}${shared_ext}$major'
7972 shlibpath_var=LD_LIBRARY_PATH
7973 shlibpath_overrides_runpath=yes
7974 hardcode_into_libs=yes
7975 # ldd complains unless libraries are executable
7976 postinstall_cmds='chmod +x $lib'
7981 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7982 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
7983 shlibpath_var=LD_LIBRARY_PATH
7984 shlibpath_overrides_runpath=yes
7985 if test "$with_gnu_ld" = yes; then
7991 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7993 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7994 soname_spec='${libname}${release}${shared_ext}$major'
7995 shlibpath_var=LD_LIBRARY_PATH
7996 case $host_vendor in
7998 shlibpath_overrides_runpath=no
8000 export_dynamic_flag_spec='${wl}-Blargedynsym'
8001 runpath_var=LD_RUN_PATH
8009 shlibpath_overrides_runpath=no
8010 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8016 if test -d /usr/nec ;then
8018 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8019 soname_spec='$libname${shared_ext}.$major'
8020 shlibpath_var=LD_LIBRARY_PATH
8026 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8027 soname_spec='${libname}${release}${shared_ext}$major'
8028 shlibpath_var=LD_LIBRARY_PATH
8035 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8036 echo "${ECHO_T}$dynamic_linker" >&6
8037 test "$dynamic_linker" = no && can_build_shared=no
8039 if test "x$enable_dlopen" != xyes; then
8040 enable_dlopen=unknown
8041 enable_dlopen_self=unknown
8042 enable_dlopen_self_static=unknown
8049 lt_cv_dlopen="load_add_on"
8051 lt_cv_dlopen_self=yes
8055 lt_cv_dlopen="LoadLibrary"
8060 lt_cv_dlopen="dlopen"
8065 # if libdl is installed we need to link against it
8066 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8067 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8068 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8069 echo $ECHO_N "(cached) $ECHO_C" >&6
8071 ac_check_lib_save_LIBS=$LIBS
8073 cat >conftest.$ac_ext <<_ACEOF
8074 #line $LINENO "configure"
8077 cat confdefs.h >>conftest.$ac_ext
8078 cat >>conftest.$ac_ext <<_ACEOF
8079 /* end confdefs.h. */
8081 /* Override any gcc2 internal prototype to avoid an error. */
8085 /* We use char because int might match the return type of a gcc2
8086 builtin and then its argument prototype would still apply. */
8096 rm -f conftest.$ac_objext conftest$ac_exeext
8097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8098 (eval $ac_link) 2>&5
8100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8101 (exit $ac_status); } &&
8102 { ac_try='test -s conftest$ac_exeext'
8103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8107 (exit $ac_status); }; }; then
8108 ac_cv_lib_dl_dlopen=yes
8110 echo "$as_me: failed program was:" >&5
8111 sed 's/^/| /' conftest.$ac_ext >&5
8113 ac_cv_lib_dl_dlopen=no
8115 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8116 LIBS=$ac_check_lib_save_LIBS
8118 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8119 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8120 if test $ac_cv_lib_dl_dlopen = yes; then
8121 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8126 lt_cv_dlopen_self=yes
8133 echo "$as_me:$LINENO: checking for shl_load" >&5
8134 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8135 if test "${ac_cv_func_shl_load+set}" = set; then
8136 echo $ECHO_N "(cached) $ECHO_C" >&6
8138 cat >conftest.$ac_ext <<_ACEOF
8139 #line $LINENO "configure"
8142 cat confdefs.h >>conftest.$ac_ext
8143 cat >>conftest.$ac_ext <<_ACEOF
8144 /* end confdefs.h. */
8145 /* System header to define __stub macros and hopefully few prototypes,
8146 which can conflict with char shl_load (); below.
8147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8148 <limits.h> exists even on freestanding compilers. */
8150 # include <limits.h>
8152 # include <assert.h>
8154 /* Override any gcc2 internal prototype to avoid an error. */
8159 /* We use char because int might match the return type of a gcc2
8160 builtin and then its argument prototype would still apply. */
8162 /* The GNU C library defines this for functions which it implements
8163 to always fail with ENOSYS. Some functions are actually named
8164 something starting with __ and the normal name is an alias. */
8165 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8168 char (*f) () = shl_load;
8177 return f != shl_load;
8182 rm -f conftest.$ac_objext conftest$ac_exeext
8183 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8184 (eval $ac_link) 2>&5
8186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8187 (exit $ac_status); } &&
8188 { ac_try='test -s conftest$ac_exeext'
8189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8193 (exit $ac_status); }; }; then
8194 ac_cv_func_shl_load=yes
8196 echo "$as_me: failed program was:" >&5
8197 sed 's/^/| /' conftest.$ac_ext >&5
8199 ac_cv_func_shl_load=no
8201 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8203 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8204 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8205 if test $ac_cv_func_shl_load = yes; then
8206 lt_cv_dlopen="shl_load"
8208 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8209 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8210 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8211 echo $ECHO_N "(cached) $ECHO_C" >&6
8213 ac_check_lib_save_LIBS=$LIBS
8215 cat >conftest.$ac_ext <<_ACEOF
8216 #line $LINENO "configure"
8219 cat confdefs.h >>conftest.$ac_ext
8220 cat >>conftest.$ac_ext <<_ACEOF
8221 /* end confdefs.h. */
8223 /* Override any gcc2 internal prototype to avoid an error. */
8227 /* We use char because int might match the return type of a gcc2
8228 builtin and then its argument prototype would still apply. */
8238 rm -f conftest.$ac_objext conftest$ac_exeext
8239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8240 (eval $ac_link) 2>&5
8242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8243 (exit $ac_status); } &&
8244 { ac_try='test -s conftest$ac_exeext'
8245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8249 (exit $ac_status); }; }; then
8250 ac_cv_lib_dld_shl_load=yes
8252 echo "$as_me: failed program was:" >&5
8253 sed 's/^/| /' conftest.$ac_ext >&5
8255 ac_cv_lib_dld_shl_load=no
8257 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8258 LIBS=$ac_check_lib_save_LIBS
8260 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8261 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8262 if test $ac_cv_lib_dld_shl_load = yes; then
8263 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8265 echo "$as_me:$LINENO: checking for dlopen" >&5
8266 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8267 if test "${ac_cv_func_dlopen+set}" = set; then
8268 echo $ECHO_N "(cached) $ECHO_C" >&6
8270 cat >conftest.$ac_ext <<_ACEOF
8271 #line $LINENO "configure"
8274 cat confdefs.h >>conftest.$ac_ext
8275 cat >>conftest.$ac_ext <<_ACEOF
8276 /* end confdefs.h. */
8277 /* System header to define __stub macros and hopefully few prototypes,
8278 which can conflict with char dlopen (); below.
8279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8280 <limits.h> exists even on freestanding compilers. */
8282 # include <limits.h>
8284 # include <assert.h>
8286 /* Override any gcc2 internal prototype to avoid an error. */
8291 /* We use char because int might match the return type of a gcc2
8292 builtin and then its argument prototype would still apply. */
8294 /* The GNU C library defines this for functions which it implements
8295 to always fail with ENOSYS. Some functions are actually named
8296 something starting with __ and the normal name is an alias. */
8297 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8300 char (*f) () = dlopen;
8314 rm -f conftest.$ac_objext conftest$ac_exeext
8315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8316 (eval $ac_link) 2>&5
8318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8319 (exit $ac_status); } &&
8320 { ac_try='test -s conftest$ac_exeext'
8321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8325 (exit $ac_status); }; }; then
8326 ac_cv_func_dlopen=yes
8328 echo "$as_me: failed program was:" >&5
8329 sed 's/^/| /' conftest.$ac_ext >&5
8331 ac_cv_func_dlopen=no
8333 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8335 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8336 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8337 if test $ac_cv_func_dlopen = yes; then
8338 lt_cv_dlopen="dlopen"
8340 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8341 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8342 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8343 echo $ECHO_N "(cached) $ECHO_C" >&6
8345 ac_check_lib_save_LIBS=$LIBS
8347 cat >conftest.$ac_ext <<_ACEOF
8348 #line $LINENO "configure"
8351 cat confdefs.h >>conftest.$ac_ext
8352 cat >>conftest.$ac_ext <<_ACEOF
8353 /* end confdefs.h. */
8355 /* Override any gcc2 internal prototype to avoid an error. */
8359 /* We use char because int might match the return type of a gcc2
8360 builtin and then its argument prototype would still apply. */
8370 rm -f conftest.$ac_objext conftest$ac_exeext
8371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8372 (eval $ac_link) 2>&5
8374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8375 (exit $ac_status); } &&
8376 { ac_try='test -s conftest$ac_exeext'
8377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8381 (exit $ac_status); }; }; then
8382 ac_cv_lib_dl_dlopen=yes
8384 echo "$as_me: failed program was:" >&5
8385 sed 's/^/| /' conftest.$ac_ext >&5
8387 ac_cv_lib_dl_dlopen=no
8389 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8390 LIBS=$ac_check_lib_save_LIBS
8392 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8393 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8394 if test $ac_cv_lib_dl_dlopen = yes; then
8395 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8397 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8398 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8399 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8400 echo $ECHO_N "(cached) $ECHO_C" >&6
8402 ac_check_lib_save_LIBS=$LIBS
8404 cat >conftest.$ac_ext <<_ACEOF
8405 #line $LINENO "configure"
8408 cat confdefs.h >>conftest.$ac_ext
8409 cat >>conftest.$ac_ext <<_ACEOF
8410 /* end confdefs.h. */
8412 /* Override any gcc2 internal prototype to avoid an error. */
8416 /* We use char because int might match the return type of a gcc2
8417 builtin and then its argument prototype would still apply. */
8427 rm -f conftest.$ac_objext conftest$ac_exeext
8428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8429 (eval $ac_link) 2>&5
8431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8432 (exit $ac_status); } &&
8433 { ac_try='test -s conftest$ac_exeext'
8434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8438 (exit $ac_status); }; }; then
8439 ac_cv_lib_svld_dlopen=yes
8441 echo "$as_me: failed program was:" >&5
8442 sed 's/^/| /' conftest.$ac_ext >&5
8444 ac_cv_lib_svld_dlopen=no
8446 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8447 LIBS=$ac_check_lib_save_LIBS
8449 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8450 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8451 if test $ac_cv_lib_svld_dlopen = yes; then
8452 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8454 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8455 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8456 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8457 echo $ECHO_N "(cached) $ECHO_C" >&6
8459 ac_check_lib_save_LIBS=$LIBS
8461 cat >conftest.$ac_ext <<_ACEOF
8462 #line $LINENO "configure"
8465 cat confdefs.h >>conftest.$ac_ext
8466 cat >>conftest.$ac_ext <<_ACEOF
8467 /* end confdefs.h. */
8469 /* Override any gcc2 internal prototype to avoid an error. */
8473 /* We use char because int might match the return type of a gcc2
8474 builtin and then its argument prototype would still apply. */
8484 rm -f conftest.$ac_objext conftest$ac_exeext
8485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8486 (eval $ac_link) 2>&5
8488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8489 (exit $ac_status); } &&
8490 { ac_try='test -s conftest$ac_exeext'
8491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8495 (exit $ac_status); }; }; then
8496 ac_cv_lib_dld_dld_link=yes
8498 echo "$as_me: failed program was:" >&5
8499 sed 's/^/| /' conftest.$ac_ext >&5
8501 ac_cv_lib_dld_dld_link=no
8503 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8504 LIBS=$ac_check_lib_save_LIBS
8506 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8507 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8508 if test $ac_cv_lib_dld_dld_link = yes; then
8509 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8530 if test "x$lt_cv_dlopen" != xno; then
8536 case $lt_cv_dlopen in
8538 save_CPPFLAGS="$CPPFLAGS"
8539 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8541 save_LDFLAGS="$LDFLAGS"
8542 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8545 LIBS="$lt_cv_dlopen_libs $LIBS"
8547 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8548 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8549 if test "${lt_cv_dlopen_self+set}" = set; then
8550 echo $ECHO_N "(cached) $ECHO_C" >&6
8552 if test "$cross_compiling" = yes; then :
8553 lt_cv_dlopen_self=cross
8555 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8556 lt_status=$lt_dlunknown
8557 cat > conftest.$ac_ext <<EOF
8558 #line 8558 "configure"
8559 #include "confdefs.h"
8568 # define LT_DLGLOBAL RTLD_GLOBAL
8571 # define LT_DLGLOBAL DL_GLOBAL
8573 # define LT_DLGLOBAL 0
8577 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8578 find out it does not work in some platform. */
8579 #ifndef LT_DLLAZY_OR_NOW
8581 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8584 # define LT_DLLAZY_OR_NOW DL_LAZY
8587 # define LT_DLLAZY_OR_NOW RTLD_NOW
8590 # define LT_DLLAZY_OR_NOW DL_NOW
8592 # define LT_DLLAZY_OR_NOW 0
8600 extern "C" void exit (int);
8603 void fnord() { int i=42;}
8606 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8607 int status = $lt_dlunknown;
8611 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8612 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8613 /* dlclose (self); */
8619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8620 (eval $ac_link) 2>&5
8622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8623 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8624 (./conftest; exit; ) 2>/dev/null
8627 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8628 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8629 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
8632 # compilation failed
8633 lt_cv_dlopen_self=no
8640 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8641 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8643 if test "x$lt_cv_dlopen_self" = xyes; then
8644 LDFLAGS="$LDFLAGS $link_static_flag"
8645 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8646 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8647 if test "${lt_cv_dlopen_self_static+set}" = set; then
8648 echo $ECHO_N "(cached) $ECHO_C" >&6
8650 if test "$cross_compiling" = yes; then :
8651 lt_cv_dlopen_self_static=cross
8653 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8654 lt_status=$lt_dlunknown
8655 cat > conftest.$ac_ext <<EOF
8656 #line 8656 "configure"
8657 #include "confdefs.h"
8666 # define LT_DLGLOBAL RTLD_GLOBAL
8669 # define LT_DLGLOBAL DL_GLOBAL
8671 # define LT_DLGLOBAL 0
8675 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8676 find out it does not work in some platform. */
8677 #ifndef LT_DLLAZY_OR_NOW
8679 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8682 # define LT_DLLAZY_OR_NOW DL_LAZY
8685 # define LT_DLLAZY_OR_NOW RTLD_NOW
8688 # define LT_DLLAZY_OR_NOW DL_NOW
8690 # define LT_DLLAZY_OR_NOW 0
8698 extern "C" void exit (int);
8701 void fnord() { int i=42;}
8704 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8705 int status = $lt_dlunknown;
8709 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8710 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8711 /* dlclose (self); */
8717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8718 (eval $ac_link) 2>&5
8720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8721 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8722 (./conftest; exit; ) 2>/dev/null
8725 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8726 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8727 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
8730 # compilation failed
8731 lt_cv_dlopen_self_static=no
8738 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8739 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8742 CPPFLAGS="$save_CPPFLAGS"
8743 LDFLAGS="$save_LDFLAGS"
8748 case $lt_cv_dlopen_self in
8749 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
8750 *) enable_dlopen_self=unknown ;;
8753 case $lt_cv_dlopen_self_static in
8754 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
8755 *) enable_dlopen_self_static=unknown ;;
8760 # Report which librarie types wil actually be built
8761 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8762 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8763 echo "$as_me:$LINENO: result: $can_build_shared" >&5
8764 echo "${ECHO_T}$can_build_shared" >&6
8766 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8767 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8768 test "$can_build_shared" = "no" && enable_shared=no
8770 # On AIX, shared libraries and static libraries use the same namespace, and
8771 # are all built from PIC.
8774 test "$enable_shared" = yes && enable_static=no
8775 if test -n "$RANLIB"; then
8776 archive_cmds="$archive_cmds~\$RANLIB \$lib"
8777 postinstall_cmds='$RANLIB $lib'
8782 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8783 test "$enable_shared" = yes && enable_static=no
8786 darwin* | rhapsody*)
8787 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8788 archive_cmds_need_lc=no
8790 rhapsody* | darwin1.[012])
8791 allow_undefined_flag='-undefined suppress'
8794 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
8797 # FIXME: Relying on posixy $() will cause problems for
8798 # cross-compilation, but unfortunately the echo tests do not
8799 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
8800 # `"' quotes if we put them in here... so don't!
8801 output_verbose_link_cmd='echo'
8802 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8803 module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
8804 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8805 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}'
8806 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}'
8808 hardcode_automatic=yes
8809 hardcode_shlibpath_var=unsupported
8810 whole_archive_flag_spec='-all_load $convenience'
8811 link_all_deplibs=yes
8815 echo "$as_me:$LINENO: result: $enable_shared" >&5
8816 echo "${ECHO_T}$enable_shared" >&6
8818 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8819 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
8820 # Make sure either enable_shared or enable_static is yes.
8821 test "$enable_shared" = yes || enable_static=yes
8822 echo "$as_me:$LINENO: result: $enable_static" >&5
8823 echo "${ECHO_T}$enable_static" >&6
8825 # The else clause should only fire when bootstrapping the
8826 # libtool distribution, otherwise you forgot to ship ltmain.sh
8827 # with your package, and you will get complaints that there are
8828 # no rules to generate ltmain.sh.
8829 if test -f "$ltmain"; then
8830 # See if we are running on zsh, and set the options which allow our commands through
8831 # without removal of \ escapes.
8832 if test -n "${ZSH_VERSION+set}" ; then
8833 setopt NO_GLOB_SUBST
8835 # Now quote all the things that may contain metacharacters while being
8836 # careful not to overquote the AC_SUBSTed values. We take copies of the
8837 # variables and quote the copies for generation of the libtool script.
8838 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8839 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8840 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8841 deplibs_check_method reload_flag reload_cmds need_locks \
8842 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
8843 lt_cv_sys_global_symbol_to_c_name_address \
8844 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8845 old_postinstall_cmds old_postuninstall_cmds \
8849 lt_prog_compiler_wl \
8850 lt_prog_compiler_pic \
8851 lt_prog_compiler_static \
8852 lt_prog_compiler_no_builtin_flag \
8853 export_dynamic_flag_spec \
8854 thread_safe_flag_spec \
8855 whole_archive_flag_spec \
8856 enable_shared_with_static_runtimes \
8858 old_archive_from_new_cmds \
8863 compiler_lib_search_path \
8865 archive_expsym_cmds \
8867 postuninstall_cmds \
8868 old_archive_from_expsyms_cmds \
8869 allow_undefined_flag \
8871 export_symbols_cmds \
8872 hardcode_libdir_flag_spec \
8873 hardcode_libdir_flag_spec_ld \
8874 hardcode_libdir_separator \
8875 hardcode_automatic \
8877 module_expsym_cmds \
8878 lt_cv_prog_compiler_c_o \
8883 old_archive_cmds | \
8884 old_archive_from_new_cmds | \
8886 archive_expsym_cmds | \
8888 module_expsym_cmds | \
8889 old_archive_from_expsyms_cmds | \
8890 export_symbols_cmds | \
8891 extract_expsyms_cmds | reload_cmds | finish_cmds | \
8892 postinstall_cmds | postuninstall_cmds | \
8893 old_postinstall_cmds | old_postuninstall_cmds | \
8894 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
8895 # Double-quote double-evaled strings.
8896 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
8899 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
8905 *'\$0 --fallback-echo"')
8906 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
8911 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
8913 { echo "$as_me:$LINENO: creating $ofile" >&5
8914 echo "$as_me: creating $ofile" >&6;}
8916 cat <<__EOF__ >> "$cfgfile"
8919 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
8920 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
8921 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8923 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
8924 # Free Software Foundation, Inc.
8926 # This file is part of GNU Libtool:
8927 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8929 # This program is free software; you can redistribute it and/or modify
8930 # it under the terms of the GNU General Public License as published by
8931 # the Free Software Foundation; either version 2 of the License, or
8932 # (at your option) any later version.
8934 # This program is distributed in the hope that it will be useful, but
8935 # WITHOUT ANY WARRANTY; without even the implied warranty of
8936 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8937 # General Public License for more details.
8939 # You should have received a copy of the GNU General Public License
8940 # along with this program; if not, write to the Free Software
8941 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8943 # As a special exception to the GNU General Public License, if you
8944 # distribute this file as part of a program that contains a
8945 # configuration script generated by Autoconf, you may include it under
8946 # the same distribution terms that you use for the rest of that program.
8948 # A sed program that does not truncate output.
8951 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
8952 Xsed="$SED -e s/^X//"
8954 # The HP-UX ksh and POSIX shell print the target directory to stdout
8956 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
8958 # The names of the tagged configurations supported by this script.
8961 # ### BEGIN LIBTOOL CONFIG
8963 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
8965 # Shell to use when invoking shell scripts.
8968 # Whether or not to build shared libraries.
8969 build_libtool_libs=$enable_shared
8971 # Whether or not to build static libraries.
8972 build_old_libs=$enable_static
8974 # Whether or not to add -lc for building shared libraries.
8975 build_libtool_need_lc=$archive_cmds_need_lc
8977 # Whether or not to disallow shared libs when runtime libs are static
8978 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
8980 # Whether or not to optimize for fast installation.
8981 fast_install=$enable_fast_install
8984 host_alias=$host_alias
8987 # An echo program that does not interpret backslashes.
8992 AR_FLAGS=$lt_AR_FLAGS
8997 # A language-specific compiler.
9000 # Is the compiler the GNU C compiler?
9006 # The linker used to build libraries.
9009 # Whether we need hard or soft links.
9012 # A BSD-compatible nm program.
9015 # A symbol stripping program
9018 # Used to examine libraries when file_magic_cmd begins "file"
9019 MAGIC_CMD=$MAGIC_CMD
9021 # Used on cygwin: DLL creation program.
9024 # Used on cygwin: object dumper.
9027 # Used on cygwin: assembler.
9030 # The name of the directory that contains temporary libtool files.
9033 # How to create reloadable object files.
9034 reload_flag=$lt_reload_flag
9035 reload_cmds=$lt_reload_cmds
9037 # How to pass a linker flag through the compiler.
9038 wl=$lt_lt_prog_compiler_wl
9040 # Object file suffix (normally "o").
9043 # Old archive suffix (normally "a").
9046 # Shared library suffix (normally ".so").
9049 # Executable file suffix (normally "").
9052 # Additional compiler flags for building library objects.
9053 pic_flag=$lt_lt_prog_compiler_pic
9056 # What is the maximum length of a command?
9057 max_cmd_len=$lt_cv_sys_max_cmd_len
9059 # Does compiler simultaneously support -c and -o options?
9060 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9062 # Must we lock files when doing compilation ?
9063 need_locks=$lt_need_locks
9065 # Do we need the lib prefix for modules?
9066 need_lib_prefix=$need_lib_prefix
9068 # Do we need a version for libraries?
9069 need_version=$need_version
9071 # Whether dlopen is supported.
9072 dlopen_support=$enable_dlopen
9074 # Whether dlopen of programs is supported.
9075 dlopen_self=$enable_dlopen_self
9077 # Whether dlopen of statically linked programs is supported.
9078 dlopen_self_static=$enable_dlopen_self_static
9080 # Compiler flag to prevent dynamic linking.
9081 link_static_flag=$lt_lt_prog_compiler_static
9083 # Compiler flag to turn off builtin functions.
9084 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9086 # Compiler flag to allow reflexive dlopens.
9087 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9089 # Compiler flag to generate shared objects directly from archives.
9090 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9092 # Compiler flag to generate thread-safe objects.
9093 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9095 # Library versioning type.
9096 version_type=$version_type
9098 # Format of library name prefix.
9099 libname_spec=$lt_libname_spec
9101 # List of archive names. First name is the real one, the rest are links.
9102 # The last name is the one that the linker finds with -lNAME.
9103 library_names_spec=$lt_library_names_spec
9105 # The coded name of the library, if different from the real name.
9106 soname_spec=$lt_soname_spec
9108 # Commands used to build and install an old-style archive.
9110 old_archive_cmds=$lt_old_archive_cmds
9111 old_postinstall_cmds=$lt_old_postinstall_cmds
9112 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9114 # Create an old-style archive from a shared archive.
9115 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9117 # Create a temporary old-style archive to link instead of a shared archive.
9118 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9120 # Commands used to build and install a shared archive.
9121 archive_cmds=$lt_archive_cmds
9122 archive_expsym_cmds=$lt_archive_expsym_cmds
9123 postinstall_cmds=$lt_postinstall_cmds
9124 postuninstall_cmds=$lt_postuninstall_cmds
9126 # Commands used to build a loadable module (assumed same as above if empty)
9127 module_cmds=$lt_module_cmds
9128 module_expsym_cmds=$lt_module_expsym_cmds
9130 # Commands to strip libraries.
9131 old_striplib=$lt_old_striplib
9132 striplib=$lt_striplib
9134 # Dependencies to place before the objects being linked to create a
9136 predep_objects=$lt_predep_objects
9138 # Dependencies to place after the objects being linked to create a
9140 postdep_objects=$lt_postdep_objects
9142 # Dependencies to place before the objects being linked to create a
9146 # Dependencies to place after the objects being linked to create a
9148 postdeps=$lt_postdeps
9150 # The library search path used internally by the compiler when linking
9152 compiler_lib_search_path=$lt_compiler_lib_search_path
9154 # Method to check whether dependent libraries are shared objects.
9155 deplibs_check_method=$lt_deplibs_check_method
9157 # Command to use when deplibs_check_method == file_magic.
9158 file_magic_cmd=$lt_file_magic_cmd
9160 # Flag that allows shared libraries with undefined symbols to be built.
9161 allow_undefined_flag=$lt_allow_undefined_flag
9163 # Flag that forces no undefined symbols.
9164 no_undefined_flag=$lt_no_undefined_flag
9166 # Commands used to finish a libtool library installation in a directory.
9167 finish_cmds=$lt_finish_cmds
9169 # Same as above, but a single script fragment to be evaled but not shown.
9170 finish_eval=$lt_finish_eval
9172 # Take the output of nm and produce a listing of raw symbols and C names.
9173 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9175 # Transform the output of nm in a proper C declaration
9176 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9178 # Transform the output of nm in a C name address pair
9179 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9181 # This is the shared library runtime path variable.
9182 runpath_var=$runpath_var
9184 # This is the shared library path variable.
9185 shlibpath_var=$shlibpath_var
9187 # Is shlibpath searched before the hard-coded library search path?
9188 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9190 # How to hardcode a shared library path into an executable.
9191 hardcode_action=$hardcode_action
9193 # Whether we should hardcode library paths into libraries.
9194 hardcode_into_libs=$hardcode_into_libs
9196 # Flag to hardcode \$libdir into a binary during linking.
9197 # This must work even if \$libdir does not exist.
9198 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9200 # If ld is used when linking, flag to hardcode \$libdir into
9201 # a binary during linking. This must work even if \$libdir does
9203 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9205 # Whether we need a single -rpath flag with a separated argument.
9206 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9208 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9210 hardcode_direct=$hardcode_direct
9212 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9214 hardcode_minus_L=$hardcode_minus_L
9216 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9217 # the resulting binary.
9218 hardcode_shlibpath_var=$hardcode_shlibpath_var
9220 # Set to yes if building a shared library automatically hardcodes DIR into the library
9221 # and all subsequent libraries and executables linked against it.
9222 hardcode_automatic=$hardcode_automatic
9224 # Variables whose values should be saved in libtool wrapper scripts and
9225 # restored at relink time.
9226 variables_saved_for_relink="$variables_saved_for_relink"
9228 # Whether libtool must link a program against all its dependency libraries.
9229 link_all_deplibs=$link_all_deplibs
9231 # Compile-time system search path for libraries
9232 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9234 # Run-time system search path for libraries
9235 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9237 # Fix the shell variable \$srcfile for the compiler.
9238 fix_srcfile_path="$fix_srcfile_path"
9240 # Set to yes if exported symbols are required.
9241 always_export_symbols=$always_export_symbols
9243 # The commands to list exported symbols.
9244 export_symbols_cmds=$lt_export_symbols_cmds
9246 # The commands to extract the exported symbol list from a shared archive.
9247 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9249 # Symbols that should not be listed in the preloaded symbols.
9250 exclude_expsyms=$lt_exclude_expsyms
9252 # Symbols that must always be exported.
9253 include_expsyms=$lt_include_expsyms
9255 # ### END LIBTOOL CONFIG
9262 cat <<\EOF >> "$cfgfile"
9264 # AIX sometimes has problems with the GCC collect2 program. For some
9265 # reason, if we set the COLLECT_NAMES environment variable, the problems
9266 # vanish in a puff of smoke.
9267 if test "X${COLLECT_NAMES+set}" != Xset; then
9269 export COLLECT_NAMES
9275 # We use sed instead of cat because bash on DJGPP gets confused if
9276 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9277 # text mode, it properly converts lines to CR/LF. This bash problem
9278 # is reportedly fixed, but why not run on old versions too?
9279 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9281 mv -f "$cfgfile" "$ofile" || \
9282 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9286 # If there is no Makefile yet, we rely on a make rule to execute
9287 # `config.status --recheck' to rerun these tests and create the
9288 # libtool script then.
9289 test -f Makefile && make "$ltmain"
9294 ac_cpp='$CPP $CPPFLAGS'
9295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9302 # Check whether --with-tags or --without-tags was given.
9303 if test "${with_tags+set}" = set; then
9304 withval="$with_tags"
9308 if test -f "$ltmain" && test -n "$tagnames"; then
9309 if test ! -f "${ofile}"; then
9310 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9311 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9314 if test -z "$LTCC"; then
9315 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9316 if test -z "$LTCC"; then
9317 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9318 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9320 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9321 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9325 # Extract list of available tagged configurations in $ofile.
9326 # Note that this assumes the entire list is on one line.
9327 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9329 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9330 for tagname in $tagnames; do
9332 # Check whether tagname contains only valid characters
9333 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9335 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9336 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9337 { (exit 1); exit 1; }; }
9341 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9343 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9344 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9345 { (exit 1); exit 1; }; }
9348 # Update the list of available tags.
9349 if test -n "$tagname"; then
9350 echo appending configuration tag \"$tagname\" to $ofile
9354 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9356 ac_cpp='$CXXCPP $CPPFLAGS'
9357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9364 archive_cmds_need_lc_CXX=no
9365 allow_undefined_flag_CXX=
9366 always_export_symbols_CXX=no
9367 archive_expsym_cmds_CXX=
9368 export_dynamic_flag_spec_CXX=
9369 hardcode_direct_CXX=no
9370 hardcode_libdir_flag_spec_CXX=
9371 hardcode_libdir_flag_spec_ld_CXX=
9372 hardcode_libdir_separator_CXX=
9373 hardcode_minus_L_CXX=no
9374 hardcode_automatic_CXX=no
9376 module_expsym_cmds_CXX=
9377 link_all_deplibs_CXX=unknown
9378 old_archive_cmds_CXX=$old_archive_cmds
9379 no_undefined_flag_CXX=
9380 whole_archive_flag_spec_CXX=
9381 enable_shared_with_static_runtimes_CXX=no
9383 # Dependencies to place before and after the object being linked:
9385 postdep_objects_CXX=
9388 compiler_lib_search_path_CXX=
9390 # Source file extension for C++ test sources.
9393 # Object file extension for compiled C++ test sources.
9397 # Code to be used in simple compile tests
9398 lt_simple_compile_test_code="int some_variable = 0;\n"
9400 # Code to be used in simple link tests
9401 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
9403 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9405 # If no C compiler was specified, use CC.
9408 # Allow CC to be a program name with arguments.
9412 # Allow CC to be a program name with arguments.
9417 lt_save_with_gnu_ld=$with_gnu_ld
9418 lt_save_path_LD=$lt_cv_path_LD
9419 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9420 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9422 unset lt_cv_prog_gnu_ld
9424 if test -n "${lt_cv_path_LDCXX+set}"; then
9425 lt_cv_path_LD=$lt_cv_path_LDCXX
9429 test -z "${LDCXX+set}" || LD=$LDCXX
9433 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9435 # We don't want -fno-exception wen compiling C++ code, so set the
9436 # no_builtin_flag separately
9437 if test "$GXX" = yes; then
9438 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9440 lt_prog_compiler_no_builtin_flag_CXX=
9443 if test "$GXX" = yes; then
9444 # Set up default GNU C++ configuration
9447 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9448 if test "${with_gnu_ld+set}" = set; then
9449 withval="$with_gnu_ld"
9450 test "$withval" = no || with_gnu_ld=yes
9455 if test "$GCC" = yes; then
9456 # Check if gcc -print-prog-name=ld gives a path.
9457 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9458 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9461 # gcc leaves a trailing carriage return which upsets mingw
9462 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9464 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9467 # Accept absolute paths.
9469 re_direlt='/[^/][^/]*/\.\./'
9470 # Canonicalize the path of ld
9471 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9472 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9473 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9475 test -z "$LD" && LD="$ac_prog"
9478 # If it fails, then pretend we aren't using GCC.
9482 # If it is relative, then search for the first ld in PATH.
9486 elif test "$with_gnu_ld" = yes; then
9487 echo "$as_me:$LINENO: checking for GNU ld" >&5
9488 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9490 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9491 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9493 if test "${lt_cv_path_LD+set}" = set; then
9494 echo $ECHO_N "(cached) $ECHO_C" >&6
9496 if test -z "$LD"; then
9497 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9498 for ac_dir in $PATH; do
9500 test -z "$ac_dir" && ac_dir=.
9501 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9502 lt_cv_path_LD="$ac_dir/$ac_prog"
9503 # Check to see if the program is GNU ld. I'd rather use --version,
9504 # but apparently some GNU ld's only accept -v.
9505 # Break only if it was the GNU/non-GNU ld that we prefer.
9506 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9507 *GNU* | *'with BFD'*)
9508 test "$with_gnu_ld" != no && break
9511 test "$with_gnu_ld" != yes && break
9518 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9523 if test -n "$LD"; then
9524 echo "$as_me:$LINENO: result: $LD" >&5
9525 echo "${ECHO_T}$LD" >&6
9527 echo "$as_me:$LINENO: result: no" >&5
9528 echo "${ECHO_T}no" >&6
9530 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9531 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9532 { (exit 1); exit 1; }; }
9533 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9534 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9535 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9536 echo $ECHO_N "(cached) $ECHO_C" >&6
9538 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9539 case `"$LD" -v 2>&1 </dev/null` in
9540 *GNU* | *'with BFD'*)
9541 lt_cv_prog_gnu_ld=yes
9544 lt_cv_prog_gnu_ld=no
9548 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9549 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9550 with_gnu_ld=$lt_cv_prog_gnu_ld
9554 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9555 # archiving commands below assume that GNU ld is being used.
9556 if test "$with_gnu_ld" = yes; then
9557 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9558 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'
9560 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
9561 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9563 # If archive_cmds runs LD, not CC, wlarc should be empty
9564 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9565 # investigate it a little bit more. (MM)
9568 # ancient GNU ld didn't support --whole-archive et. al.
9569 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9570 grep 'no-whole-archive' > /dev/null; then
9571 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9573 whole_archive_flag_spec_CXX=
9579 # A generic and very simple default shared library creation
9580 # command for GNU C++ for the case where it uses the native
9581 # linker, instead of GNU ld. If possible, this setting should
9582 # overridden to take advantage of the native linker features on
9583 # the platform it is being used on.
9584 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9587 # Commands to make compiler produce verbose output that lists
9588 # what "hidden" libraries, object files and flags are used when
9589 # linking a shared library.
9590 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9598 # PORTME: fill in a description of your system's C++ link characteristics
9599 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9600 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9604 # FIXME: insert proper C++ library support
9608 if test "$host_cpu" = ia64; then
9609 # On IA64, the linker does run time linking by default, so we don't
9610 # have to do anything special.
9611 aix_use_runtimelinking=no
9612 exp_sym_flag='-Bexport'
9615 aix_use_runtimelinking=no
9617 # Test if we are trying to use run time linking or normal
9618 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9619 # need to do runtime linking.
9620 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9621 for ld_flag in $LDFLAGS; do
9624 aix_use_runtimelinking=yes
9631 exp_sym_flag='-bexport'
9632 no_entry_flag='-bnoentry'
9635 # When large executables or shared objects are built, AIX ld can
9636 # have problems creating the table of contents. If linking a library
9637 # or program results in "error TOC overflow" add -mminimal-toc to
9638 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9639 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9642 hardcode_direct_CXX=yes
9643 hardcode_libdir_separator_CXX=':'
9644 link_all_deplibs_CXX=yes
9646 if test "$GXX" = yes; then
9647 case $host_os in aix4.012|aix4.012.*)
9648 # We only want to do this on AIX 4.2 and lower, the check
9649 # below for broken collect2 doesn't work under 4.3+
9650 collect2name=`${CC} -print-prog-name=collect2`
9651 if test -f "$collect2name" && \
9652 strings "$collect2name" | grep resolve_lib_name >/dev/null
9654 # We have reworked collect2
9655 hardcode_direct_CXX=yes
9657 # We have old collect2
9658 hardcode_direct_CXX=unsupported
9659 # It fails to find uninstalled libraries when the uninstalled
9660 # path is not listed in the libpath. Setting hardcode_minus_L
9661 # to unsupported forces relinking
9662 hardcode_minus_L_CXX=yes
9663 hardcode_libdir_flag_spec_CXX='-L$libdir'
9664 hardcode_libdir_separator_CXX=
9667 shared_flag='-shared'
9670 if test "$host_cpu" = ia64; then
9671 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9672 # chokes on -Wl,-G. The following line is correct:
9675 if test "$aix_use_runtimelinking" = yes; then
9676 shared_flag='${wl}-G'
9678 shared_flag='${wl}-bM:SRE'
9683 # It seems that -bexpall does not export symbols beginning with
9684 # underscore (_), so it is better to generate a list of symbols to export.
9685 always_export_symbols_CXX=yes
9686 if test "$aix_use_runtimelinking" = yes; then
9687 # Warning - without using the other runtime loading flags (-brtl),
9688 # -berok will link without error, but may produce a broken library.
9689 allow_undefined_flag_CXX='-berok'
9690 # Determine the default libpath from the value encoded in an empty executable.
9691 cat >conftest.$ac_ext <<_ACEOF
9692 #line $LINENO "configure"
9695 cat confdefs.h >>conftest.$ac_ext
9696 cat >>conftest.$ac_ext <<_ACEOF
9697 /* end confdefs.h. */
9707 rm -f conftest.$ac_objext conftest$ac_exeext
9708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9709 (eval $ac_link) 2>&5
9711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9712 (exit $ac_status); } &&
9713 { ac_try='test -s conftest$ac_exeext'
9714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9718 (exit $ac_status); }; }; then
9720 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9722 # Check for a 64-bit object if we didn't find anything.
9723 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; }
9726 echo "$as_me: failed program was:" >&5
9727 sed 's/^/| /' conftest.$ac_ext >&5
9730 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9731 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9733 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9735 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"
9737 if test "$host_cpu" = ia64; then
9738 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
9739 allow_undefined_flag_CXX="-z nodefs"
9740 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"
9742 # Determine the default libpath from the value encoded in an empty executable.
9743 cat >conftest.$ac_ext <<_ACEOF
9744 #line $LINENO "configure"
9747 cat confdefs.h >>conftest.$ac_ext
9748 cat >>conftest.$ac_ext <<_ACEOF
9749 /* end confdefs.h. */
9759 rm -f conftest.$ac_objext conftest$ac_exeext
9760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9761 (eval $ac_link) 2>&5
9763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9764 (exit $ac_status); } &&
9765 { ac_try='test -s conftest$ac_exeext'
9766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9770 (exit $ac_status); }; }; then
9772 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9774 # Check for a 64-bit object if we didn't find anything.
9775 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; }
9778 echo "$as_me: failed program was:" >&5
9779 sed 's/^/| /' conftest.$ac_ext >&5
9782 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9783 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9785 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9786 # Warning - without using the other run time loading flags,
9787 # -berok will link without error, but may produce a broken library.
9788 no_undefined_flag_CXX=' ${wl}-bernotok'
9789 allow_undefined_flag_CXX=' ${wl}-berok'
9790 # -bexpall does not export symbols beginning with underscore (_)
9791 always_export_symbols_CXX=yes
9792 # Exported symbols can be pulled into shared objects from archives
9793 whole_archive_flag_spec_CXX=' '
9794 archive_cmds_need_lc_CXX=yes
9795 # This is similar to how AIX traditionally builds it's shared libraries.
9796 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'
9801 case $cc_basename in
9803 # FIXME: insert proper C++ library support
9809 cygwin* | mingw* | pw32*)
9810 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
9811 # as there is no search path for DLLs.
9812 hardcode_libdir_flag_spec_CXX='-L$libdir'
9813 allow_undefined_flag_CXX=unsupported
9814 always_export_symbols_CXX=no
9815 enable_shared_with_static_runtimes_CXX=yes
9817 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9818 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'
9819 # If the export-symbols file already is a .def file (1st line
9820 # is EXPORTS), use it as is; otherwise, prepend...
9821 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9822 cp $export_symbols $output_objdir/$soname.def;
9824 echo EXPORTS > $output_objdir/$soname.def;
9825 cat $export_symbols >> $output_objdir/$soname.def;
9827 $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'
9833 darwin* | rhapsody*)
9834 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9835 archive_cmds_need_lc_CXX=no
9837 rhapsody* | darwin1.[012])
9838 allow_undefined_flag_CXX='-undefined suppress'
9841 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9844 lt_int_apple_cc_single_mod=no
9845 output_verbose_link_cmd='echo'
9846 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9847 lt_int_apple_cc_single_mod=yes
9849 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9850 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9852 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'
9854 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9856 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9857 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9858 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}'
9860 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}'
9862 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}'
9863 hardcode_direct_CXX=no
9864 hardcode_automatic_CXX=yes
9865 hardcode_shlibpath_var_CXX=unsupported
9866 whole_archive_flag_spec_CXX='-all_load $convenience'
9867 link_all_deplibs_CXX=yes
9872 case $cc_basename in
9874 # FIXME: insert proper C++ library support
9878 # Green Hills C++ Compiler
9879 # FIXME: insert proper C++ library support
9883 # FIXME: insert proper C++ library support
9889 # C++ shared libraries reported to be fairly broken before switch to ELF
9893 archive_cmds_need_lc_CXX=no
9896 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
9903 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9904 hardcode_libdir_separator_CXX=:
9905 export_dynamic_flag_spec_CXX='${wl}-E'
9906 hardcode_direct_CXX=yes
9907 hardcode_minus_L_CXX=yes # Not in the search PATH,
9908 # but as the default
9909 # location of the library.
9911 case $cc_basename in
9913 # FIXME: insert proper C++ library support
9917 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'
9918 # Commands to make compiler produce verbose output that lists
9919 # what "hidden" libraries, object files and flags are used when
9920 # linking a shared library.
9922 # There doesn't appear to be a way to prevent this compiler from
9923 # explicitly linking system object files so we need to strip them
9924 # from the output so that they don't get included in the library
9926 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'
9929 if test "$GXX" = yes; then
9930 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'
9932 # FIXME: insert proper C++ library support
9939 if test $with_gnu_ld = no; then
9942 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9943 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
9944 hardcode_libdir_separator_CXX=:
9947 hardcode_libdir_flag_spec_CXX='-L$libdir'
9950 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9951 hardcode_libdir_separator_CXX=:
9952 export_dynamic_flag_spec_CXX='${wl}-E'
9958 hardcode_direct_CXX=no
9959 hardcode_shlibpath_var_CXX=no
9962 hardcode_direct_CXX=no
9963 hardcode_shlibpath_var_CXX=no
9964 hardcode_minus_L_CXX=yes # Not in the search PATH,
9965 # but as the default
9966 # location of the library.
9969 hardcode_direct_CXX=yes
9970 hardcode_minus_L_CXX=yes # Not in the search PATH,
9971 # but as the default
9972 # location of the library.
9976 case $cc_basename in
9978 # FIXME: insert proper C++ library support
9984 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
9987 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
9990 # Commands to make compiler produce verbose output that lists
9991 # what "hidden" libraries, object files and flags are used when
9992 # linking a shared library.
9994 # There doesn't appear to be a way to prevent this compiler from
9995 # explicitly linking system object files so we need to strip them
9996 # from the output so that they don't get included in the library
9998 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'
10001 if test "$GXX" = yes; then
10002 if test $with_gnu_ld = no; then
10003 case "$host_cpu" in
10005 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10008 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'
10013 # FIXME: insert proper C++ library support
10020 case $cc_basename in
10023 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'
10025 # Archives containing C++ object files must be created using
10026 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10027 # necessary to make sure instantiated templates are included
10029 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10032 if test "$GXX" = yes; then
10033 if test "$with_gnu_ld" = no; then
10034 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'
10036 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'
10039 link_all_deplibs_CXX=yes
10042 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10043 hardcode_libdir_separator_CXX=:
10046 case $cc_basename in
10048 # Kuck and Associates, Inc. (KAI) C++ Compiler
10050 # KCC will only create a shared library if the output file
10051 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10052 # to its proper name (with version) after linking.
10053 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'
10054 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'
10055 # Commands to make compiler produce verbose output that lists
10056 # what "hidden" libraries, object files and flags are used when
10057 # linking a shared library.
10059 # There doesn't appear to be a way to prevent this compiler from
10060 # explicitly linking system object files so we need to strip them
10061 # from the output so that they don't get included in the library
10063 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'
10065 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10066 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10068 # Archives containing C++ object files must be created using
10069 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10070 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10075 archive_cmds_need_lc_CXX=no
10076 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10077 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'
10078 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10079 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10080 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10084 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10085 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'
10087 runpath_var=LD_RUN_PATH
10088 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10089 hardcode_libdir_separator_CXX=:
10091 # Commands to make compiler produce verbose output that lists
10092 # what "hidden" libraries, object files and flags are used when
10093 # linking a shared library.
10095 # There doesn't appear to be a way to prevent this compiler from
10096 # explicitly linking system object files so we need to strip them
10097 # from the output so that they don't get included in the library
10099 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'
10104 # FIXME: insert proper C++ library support
10108 # FIXME: insert proper C++ library support
10112 case $cc_basename in
10114 # FIXME: insert proper C++ library support
10118 # FIXME: insert proper C++ library support
10124 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10125 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10127 hardcode_libdir_flag_spec_CXX='-R$libdir'
10128 hardcode_direct_CXX=yes
10129 hardcode_shlibpath_var_CXX=no
10131 # Workaround some broken pre-1.5 toolchains
10132 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10135 case $cc_basename in
10137 # Kuck and Associates, Inc. (KAI) C++ Compiler
10139 # KCC will only create a shared library if the output file
10140 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10141 # to its proper name (with version) after linking.
10142 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'
10144 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10145 hardcode_libdir_separator_CXX=:
10147 # Archives containing C++ object files must be created using
10148 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10149 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10153 # Rational C++ 2.4.1
10154 # FIXME: insert proper C++ library support
10158 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10159 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'
10161 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10162 hardcode_libdir_separator_CXX=:
10164 # Commands to make compiler produce verbose output that lists
10165 # what "hidden" libraries, object files and flags are used when
10166 # linking a shared library.
10168 # There doesn't appear to be a way to prevent this compiler from
10169 # explicitly linking system object files so we need to strip them
10170 # from the output so that they don't get included in the library
10172 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'
10175 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10176 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10177 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'
10179 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10180 hardcode_libdir_separator_CXX=:
10182 # Commands to make compiler produce verbose output that lists
10183 # what "hidden" libraries, object files and flags are used when
10184 # linking a shared library.
10185 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10188 # FIXME: insert proper C++ library support
10195 case $cc_basename in
10197 # Kuck and Associates, Inc. (KAI) C++ Compiler
10199 # KCC will only create a shared library if the output file
10200 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10201 # to its proper name (with version) after linking.
10202 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'
10204 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10205 hardcode_libdir_separator_CXX=:
10207 # Archives containing C++ object files must be created using
10208 # the KAI C++ compiler.
10209 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10212 # Rational C++ 2.4.1
10213 # FIXME: insert proper C++ library support
10217 allow_undefined_flag_CXX=' -expect_unresolved \*'
10218 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'
10219 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10220 echo "-hidden">> $lib.exp~
10221 $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~
10224 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10225 hardcode_libdir_separator_CXX=:
10227 # Commands to make compiler produce verbose output that lists
10228 # what "hidden" libraries, object files and flags are used when
10229 # linking a shared library.
10231 # There doesn't appear to be a way to prevent this compiler from
10232 # explicitly linking system object files so we need to strip them
10233 # from the output so that they don't get included in the library
10235 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'
10238 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10239 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10240 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'
10242 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10243 hardcode_libdir_separator_CXX=:
10245 # Commands to make compiler produce verbose output that lists
10246 # what "hidden" libraries, object files and flags are used when
10247 # linking a shared library.
10248 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10251 # FIXME: insert proper C++ library support
10258 # FIXME: insert proper C++ library support
10262 archive_cmds_need_lc_CXX=no
10263 case $cc_basename in
10265 # FIXME: insert proper C++ library support
10269 # FIXME: insert proper C++ library support
10275 case $cc_basename in
10278 # FIXME: insert proper C++ library support
10283 # FIXME: insert proper C++ library support
10287 # FIXME: insert proper C++ library support
10293 case $cc_basename in
10295 # Sun C++ 4.2, 5.x and Centerline C++
10296 no_undefined_flag_CXX=' -zdefs'
10297 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10298 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10299 $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'
10301 hardcode_libdir_flag_spec_CXX='-R$libdir'
10302 hardcode_shlibpath_var_CXX=no
10304 solaris2.0-5 | solaris2.0-5.*) ;;
10306 # The C++ compiler is used as linker so we must use $wl
10307 # flag to pass the commands to the underlying system
10309 # Supported since Solaris 2.6 (maybe 2.5.1?)
10310 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10313 link_all_deplibs_CXX=yes
10315 # Commands to make compiler produce verbose output that lists
10316 # what "hidden" libraries, object files and flags are used when
10317 # linking a shared library.
10319 # There doesn't appear to be a way to prevent this compiler from
10320 # explicitly linking system object files so we need to strip them
10321 # from the output so that they don't get included in the library
10323 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'
10325 # Archives containing C++ object files must be created using
10326 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10327 # necessary to make sure instantiated templates are included
10329 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10332 # Green Hills C++ Compiler
10333 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10335 # The C++ compiler must be used to create the archive.
10336 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10339 # GNU C++ compiler with Solaris linker
10340 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10341 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10342 if $CC --version | grep -v '^2\.7' > /dev/null; then
10343 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10344 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10345 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10347 # Commands to make compiler produce verbose output that lists
10348 # what "hidden" libraries, object files and flags are used when
10349 # linking a shared library.
10350 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10352 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10354 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10355 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10356 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10358 # Commands to make compiler produce verbose output that lists
10359 # what "hidden" libraries, object files and flags are used when
10360 # linking a shared library.
10361 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10364 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10369 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10370 archive_cmds_need_lc_CXX=no
10373 case $cc_basename in
10375 # NonStop-UX NCC 3.20
10376 # FIXME: insert proper C++ library support
10380 # FIXME: insert proper C++ library support
10386 # FIXME: insert proper C++ library support
10390 # FIXME: insert proper C++ library support
10394 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10395 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10396 test "$ld_shlibs_CXX" = no && can_build_shared=no
10402 ## There is no encapsulation within the following macros, do not change
10403 ## the running order or otherwise move them around unless you know exactly
10404 ## what you are doing...
10406 cat > conftest.$ac_ext <<EOF
10410 Foo (void) { a = 0; }
10416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10417 (eval $ac_compile) 2>&5
10419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10420 (exit $ac_status); }; then
10421 # Parse the compiler output and extract the necessary
10422 # objects, libraries and library flags.
10424 # Sentinel used to keep track of whether or not we are before
10425 # the conftest object file.
10426 pre_test_object_deps_done=no
10428 # The `*' in the case matches for architectures that use `case' in
10429 # $output_verbose_cmd can trigger glob expansion during the loop
10430 # eval without this substitution.
10431 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10433 for p in `eval $output_verbose_link_cmd`; do
10437 # Some compilers place space between "-{L,R}" and the path.
10438 # Remove the space.
10439 if test $p = "-L" \
10440 || test $p = "-R"; then
10447 if test "$pre_test_object_deps_done" = no; then
10450 # Internal compiler library paths should come after those
10451 # provided the user. The postdeps already come after the
10452 # user supplied libs so there is no need to process them.
10453 if test -z "$compiler_lib_search_path_CXX"; then
10454 compiler_lib_search_path_CXX="${prev}${p}"
10456 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10459 # The "-l" case would never come before the object being
10460 # linked, so don't bother handling this case.
10463 if test -z "$postdeps_CXX"; then
10464 postdeps_CXX="${prev}${p}"
10466 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10472 # This assumes that the test object file only shows up
10473 # once in the compiler output.
10474 if test "$p" = "conftest.$objext"; then
10475 pre_test_object_deps_done=yes
10479 if test "$pre_test_object_deps_done" = no; then
10480 if test -z "$predep_objects_CXX"; then
10481 predep_objects_CXX="$p"
10483 predep_objects_CXX="$predep_objects_CXX $p"
10486 if test -z "$postdep_objects_CXX"; then
10487 postdep_objects_CXX="$p"
10489 postdep_objects_CXX="$postdep_objects_CXX $p"
10494 *) ;; # Ignore the rest.
10502 echo "libtool.m4: error: problem compiling CXX test program"
10505 $rm -f confest.$objext
10507 case " $postdeps_CXX " in
10508 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
10511 lt_prog_compiler_wl_CXX=
10512 lt_prog_compiler_pic_CXX=
10513 lt_prog_compiler_static_CXX=
10515 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10516 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10518 # C++ specific cases for pic, static, wl, etc.
10519 if test "$GXX" = yes; then
10520 lt_prog_compiler_wl_CXX='-Wl,'
10521 lt_prog_compiler_static_CXX='-static'
10525 # All AIX code is PIC.
10526 if test "$host_cpu" = ia64; then
10527 # AIX 5 now supports IA64 processor
10528 lt_prog_compiler_static_CXX='-Bstatic'
10532 # FIXME: we need at least 68020 code to build shared libraries, but
10533 # adding the `-m68020' flag to GCC prevents building anything better,
10535 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10537 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10538 # PIC is the default for these OSes.
10540 mingw* | os2* | pw32*)
10541 # This hack is so that the source file can tell whether it is being
10542 # built for inclusion in a dll (and should export symbols for example).
10543 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10545 darwin* | rhapsody*)
10546 # PIC is the default on this platform
10547 # Common symbols not allowed in MH_DYLIB files
10548 lt_prog_compiler_pic_CXX='-fno-common'
10551 # DJGPP does not support shared libraries at all
10552 lt_prog_compiler_pic_CXX=
10555 if test -d /usr/nec; then
10556 lt_prog_compiler_pic_CXX=-Kconform_pic
10560 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10561 # not for PA HP-UX.
10562 case "$host_cpu" in
10566 lt_prog_compiler_pic_CXX='-fPIC'
10571 lt_prog_compiler_pic_CXX='-fPIC'
10577 # All AIX code is PIC.
10578 if test "$host_cpu" = ia64; then
10579 # AIX 5 now supports IA64 processor
10580 lt_prog_compiler_static_CXX='-Bstatic'
10582 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
10586 case $cc_basename in
10588 # Green Hills C++ Compiler
10589 # _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"
10594 case $cc_basename in
10596 lt_prog_compiler_pic_CXX='-KPIC'
10599 # Green Hills C++ Compiler
10600 lt_prog_compiler_pic_CXX='-pic'
10607 # FreeBSD uses GNU C++
10609 hpux9* | hpux10* | hpux11*)
10610 case $cc_basename in
10612 lt_prog_compiler_wl_CXX='-Wl,'
10613 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10614 if test "$host_cpu" != ia64; then
10615 lt_prog_compiler_pic_CXX='+Z'
10619 lt_prog_compiler_wl_CXX='-Wl,'
10620 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10621 case "$host_cpu" in
10626 lt_prog_compiler_pic_CXX='+Z'
10634 irix5* | irix6* | nonstopux*)
10635 case $cc_basename in
10637 lt_prog_compiler_wl_CXX='-Wl,'
10638 lt_prog_compiler_static_CXX='-non_shared'
10639 # CC pic flag -KPIC is the default.
10646 case $cc_basename in
10649 lt_prog_compiler_wl_CXX='--backend -Wl,'
10650 lt_prog_compiler_pic_CXX='-fPIC'
10654 lt_prog_compiler_wl_CXX='-Wl,'
10655 lt_prog_compiler_pic_CXX='-KPIC'
10656 lt_prog_compiler_static_CXX='-static'
10660 # Make sure the PIC flag is empty. It appears that all Alpha
10661 # Linux and Compaq Tru64 Unix objects are PIC.
10662 lt_prog_compiler_pic_CXX=
10663 lt_prog_compiler_static_CXX='-non_shared'
10674 case $cc_basename in
10676 lt_prog_compiler_pic_CXX='-W c,exportall'
10684 osf3* | osf4* | osf5*)
10685 case $cc_basename in
10687 lt_prog_compiler_wl_CXX='--backend -Wl,'
10690 # Rational C++ 2.4.1
10691 lt_prog_compiler_pic_CXX='-pic'
10694 # Digital/Compaq C++
10695 lt_prog_compiler_wl_CXX='-Wl,'
10696 # Make sure the PIC flag is empty. It appears that all Alpha
10697 # Linux and Compaq Tru64 Unix objects are PIC.
10698 lt_prog_compiler_pic_CXX=
10699 lt_prog_compiler_static_CXX='-non_shared'
10708 case $cc_basename in
10710 lt_prog_compiler_pic_CXX='-fPIC'
10717 case $cc_basename in
10719 # Sun C++ 4.2, 5.x and Centerline C++
10720 lt_prog_compiler_pic_CXX='-KPIC'
10721 lt_prog_compiler_static_CXX='-Bstatic'
10722 lt_prog_compiler_wl_CXX='-Qoption ld '
10725 # Green Hills C++ Compiler
10726 lt_prog_compiler_pic_CXX='-PIC'
10733 case $cc_basename in
10736 lt_prog_compiler_pic_CXX='-pic'
10737 lt_prog_compiler_static_CXX='-Bstatic'
10741 lt_prog_compiler_pic_CXX='-pic'
10748 case $cc_basename in
10750 # NonStop-UX NCC 3.20
10751 lt_prog_compiler_pic_CXX='-KPIC'
10762 lt_prog_compiler_can_build_shared_CXX=no
10767 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10768 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
10771 # Check to make sure the PIC flag actually works.
10773 if test -n "$lt_prog_compiler_pic_CXX"; then
10774 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10775 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
10776 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10777 echo $ECHO_N "(cached) $ECHO_C" >&6
10779 lt_prog_compiler_pic_works_CXX=no
10780 ac_outfile=conftest.$ac_objext
10781 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10782 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
10783 # Insert the option either (1) after the last *FLAGS variable, or
10784 # (2) before a word containing "conftest.", or (3) at the end.
10785 # Note that $ac_compile itself does not contain backslashes and begins
10786 # with a dollar sign (not a hyphen), so the echo should work correctly.
10787 # The option is referenced via a variable to avoid confusing sed.
10788 lt_compile=`echo "$ac_compile" | $SED \
10789 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10790 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10791 -e 's:$: $lt_compiler_flag:'`
10792 (eval echo "\"\$as_me:10792: $lt_compile\"" >&5)
10793 (eval "$lt_compile" 2>conftest.err)
10795 cat conftest.err >&5
10796 echo "$as_me:10796: \$? = $ac_status" >&5
10797 if (exit $ac_status) && test -s "$ac_outfile"; then
10798 # The compiler can only warn and ignore the option if not recognized
10799 # So say no if there are warnings
10800 if test ! -s conftest.err; then
10801 lt_prog_compiler_pic_works_CXX=yes
10807 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10808 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
10810 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
10811 case $lt_prog_compiler_pic_CXX in
10813 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
10816 lt_prog_compiler_pic_CXX=
10817 lt_prog_compiler_can_build_shared_CXX=no
10822 # For platforms which do not support PIC, -DPIC is meaningless:
10824 lt_prog_compiler_pic_CXX=
10827 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
10831 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10832 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10833 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
10834 echo $ECHO_N "(cached) $ECHO_C" >&6
10836 lt_cv_prog_compiler_c_o_CXX=no
10837 $rm -r conftest 2>/dev/null
10841 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10843 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10844 # that will create temporary files in the current directory regardless of
10845 # the output directory. Thus, making CWD read-only will cause this test
10846 # to fail, enabling locking or at least warning the user not to do parallel
10850 lt_compiler_flag="-o out/conftest2.$ac_objext"
10851 # Insert the option either (1) after the last *FLAGS variable, or
10852 # (2) before a word containing "conftest.", or (3) at the end.
10853 # Note that $ac_compile itself does not contain backslashes and begins
10854 # with a dollar sign (not a hyphen), so the echo should work correctly.
10855 lt_compile=`echo "$ac_compile" | $SED \
10856 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10857 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10858 -e 's:$: $lt_compiler_flag:'`
10859 (eval echo "\"\$as_me:10859: $lt_compile\"" >&5)
10860 (eval "$lt_compile" 2>out/conftest.err)
10862 cat out/conftest.err >&5
10863 echo "$as_me:10863: \$? = $ac_status" >&5
10864 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10866 # The compiler can only warn and ignore the option if not recognized
10867 # So say no if there are warnings
10868 if test ! -s out/conftest.err; then
10869 lt_cv_prog_compiler_c_o_CXX=yes
10873 $rm conftest* out/*
10880 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10881 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
10884 hard_links="nottested"
10885 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
10886 # do not overwrite the value of need_locks provided by the user
10887 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10888 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10891 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10893 ln conftest.a conftest.b 2>&5 || hard_links=no
10894 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10895 echo "$as_me:$LINENO: result: $hard_links" >&5
10896 echo "${ECHO_T}$hard_links" >&6
10897 if test "$hard_links" = no; then
10898 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10899 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10906 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10907 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10909 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10912 # If we're using GNU nm, then we don't want the "-C" option.
10913 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10914 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10915 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'
10917 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'
10921 export_symbols_cmds_CXX="$ltdll_cmds"
10924 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10927 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10931 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10932 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10933 test "$ld_shlibs_CXX" = no && can_build_shared=no
10935 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10936 if test "$GCC" = yes; then
10937 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10941 # Do we need to explicitly link libc?
10943 case "x$archive_cmds_need_lc_CXX" in
10945 # Assume -lc should be added
10946 archive_cmds_need_lc_CXX=yes
10948 if test "$enable_shared" = yes && test "$GCC" = yes; then
10949 case $archive_cmds_CXX in
10951 # FIXME: we may have to deal with multi-command sequences.
10954 # Test whether the compiler implicitly links with -lc since on some
10955 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10956 # to ld, don't add -lc before -lgcc.
10957 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10958 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10960 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10963 (eval $ac_compile) 2>&5
10965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10966 (exit $ac_status); } 2>conftest.err; then
10969 libobjs=conftest.$ac_objext
10971 wl=$lt_prog_compiler_wl_CXX
10977 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
10978 allow_undefined_flag_CXX=
10979 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10980 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10983 (exit $ac_status); }
10985 archive_cmds_need_lc_CXX=no
10987 archive_cmds_need_lc_CXX=yes
10989 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
10991 cat conftest.err 1>&5
10994 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
10995 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11002 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11003 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11004 hardcode_action_CXX=
11005 if test -n "$hardcode_libdir_flag_spec_CXX" || \
11006 test -n "$runpath_var CXX" || \
11007 test "X$hardcode_automatic_CXX"="Xyes" ; then
11009 # We can hardcode non-existant directories.
11010 if test "$hardcode_direct_CXX" != no &&
11011 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11012 # have to relink, otherwise we might link with an installed library
11013 # when we should be linking with a yet-to-be-installed one
11014 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
11015 test "$hardcode_minus_L_CXX" != no; then
11016 # Linking always hardcodes the temporary library directory.
11017 hardcode_action_CXX=relink
11019 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11020 hardcode_action_CXX=immediate
11023 # We cannot hardcode anything, or else we can only hardcode existing
11025 hardcode_action_CXX=unsupported
11027 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11028 echo "${ECHO_T}$hardcode_action_CXX" >&6
11030 if test "$hardcode_action_CXX" = relink; then
11031 # Fast installation is not supported
11032 enable_fast_install=no
11033 elif test "$shlibpath_overrides_runpath" = yes ||
11034 test "$enable_shared" = no; then
11035 # Fast installation is not necessary
11036 enable_fast_install=needless
11041 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11042 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11043 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11044 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11045 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11046 echo "$as_me:$LINENO: result: yes" >&5
11047 echo "${ECHO_T}yes" >&6
11049 # FIXME - insert some real tests, host_os isn't really good enough
11052 if test -n "$STRIP" ; then
11053 striplib="$STRIP -x"
11054 echo "$as_me:$LINENO: result: yes" >&5
11055 echo "${ECHO_T}yes" >&6
11057 echo "$as_me:$LINENO: result: no" >&5
11058 echo "${ECHO_T}no" >&6
11062 echo "$as_me:$LINENO: result: no" >&5
11063 echo "${ECHO_T}no" >&6
11068 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11069 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11070 library_names_spec=
11071 libname_spec='lib$name'
11075 postuninstall_cmds=
11079 shlibpath_overrides_runpath=unknown
11081 dynamic_linker="$host_os ld.so"
11082 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11083 if test "$GCC" = yes; then
11084 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11085 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11086 # if the path contains ";" then we assume it to be the separator
11087 # otherwise default to the standard path separator (i.e. ":") - it is
11088 # assumed that no part of a normal pathname contains ";" but that should
11089 # okay in the real world where ";" in dirpaths is itself problematic.
11090 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11092 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11095 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11097 need_lib_prefix=unknown
11098 hardcode_into_libs=no
11100 # when you set need_version to no, make sure it does not cause -set_version
11101 # flags to be left without arguments
11102 need_version=unknown
11107 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11108 shlibpath_var=LIBPATH
11110 # AIX 3 has no versioning support, so we append a major version to the name.
11111 soname_spec='${libname}${release}${shared_ext}$major'
11118 hardcode_into_libs=yes
11119 if test "$host_cpu" = ia64; then
11120 # AIX 5 supports IA64
11121 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11122 shlibpath_var=LD_LIBRARY_PATH
11124 # With GCC up to 2.95.x, collect2 would create an import file
11125 # for dependence libraries. The import file would start with
11126 # the line `#! .'. This would cause the generated library to
11127 # depend on `.', always an invalid library. This was fixed in
11128 # development snapshots of GCC prior to 3.0.
11130 aix4 | aix4.[01] | aix4.[01].*)
11131 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11133 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11136 can_build_shared=no
11140 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11141 # soname into executable. Probably we can add versioning support to
11142 # collect2, so additional links can be useful in future.
11143 if test "$aix_use_runtimelinking" = yes; then
11144 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11145 # instead of lib<name>.a to let people know that these are not
11146 # typical AIX shared libraries.
11147 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11149 # We preserve .a as extension for shared libraries through AIX4.2
11150 # and later when we are not doing run time linking.
11151 library_names_spec='${libname}${release}.a $libname.a'
11152 soname_spec='${libname}${release}${shared_ext}$major'
11154 shlibpath_var=LIBPATH
11159 library_names_spec='$libname.ixlibrary $libname.a'
11160 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11161 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'
11165 library_names_spec='${libname}${shared_ext}'
11166 dynamic_linker="$host_os ld.so"
11167 shlibpath_var=LIBRARY_PATH
11173 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11174 soname_spec='${libname}${release}${shared_ext}$major'
11175 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11176 shlibpath_var=LD_LIBRARY_PATH
11177 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11178 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11179 # the default ld.so.conf also contains /usr/contrib/lib and
11180 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11181 # libtool to hard-code these into programs
11184 cygwin* | mingw* | pw32*)
11185 version_type=windows
11190 case $GCC,$host_os in
11191 yes,cygwin* | yes,mingw* | yes,pw32*)
11192 library_names_spec='$libname.dll.a'
11193 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11194 postinstall_cmds='base_file=`basename \${file}`~
11195 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11196 dldir=$destdir/`dirname \$dlpath`~
11197 test -d \$dldir || mkdir -p \$dldir~
11198 $install_prog $dir/$dlname \$dldir/$dlname'
11199 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11200 dlpath=$dir/\$dldll~
11202 shlibpath_overrides_runpath=yes
11206 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11207 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11208 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
11211 # MinGW DLLs use traditional 'lib' prefix
11212 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11213 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11214 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11215 # It is most probably a Windows format PATH printed by
11216 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11217 # path with ; separators, and with drive letters. We can handle the
11218 # drive letters (cygwin fileutils understands them), so leave them,
11219 # especially as we might pass files found there to a mingw objdump,
11220 # which wouldn't understand a cygwinified path. Ahh.
11221 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11223 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11227 # pw32 DLLs use 'pw' prefix rather than 'lib'
11228 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11234 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11237 dynamic_linker='Win32 ld.exe'
11238 # FIXME: first we should search . and the directory the executable is in
11242 darwin* | rhapsody*)
11243 dynamic_linker="$host_os dyld"
11244 version_type=darwin
11247 # FIXME: Relying on posixy $() will cause problems for
11248 # cross-compilation, but unfortunately the echo tests do not
11249 # yet detect zsh echo's removal of \ escapes.
11250 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11251 soname_spec='${libname}${release}${major}$shared_ext'
11252 shlibpath_overrides_runpath=yes
11253 shlibpath_var=DYLD_LIBRARY_PATH
11254 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11255 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11256 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
11257 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"`
11259 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11266 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11267 soname_spec='${libname}${release}${shared_ext}$major'
11268 shlibpath_var=LD_LIBRARY_PATH
11276 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11277 version_type=freebsd-$objformat
11278 case $version_type in
11280 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11285 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11289 shlibpath_var=LD_LIBRARY_PATH
11292 shlibpath_overrides_runpath=yes
11294 freebsd3.01* | freebsdelf3.01*)
11295 shlibpath_overrides_runpath=yes
11296 hardcode_into_libs=yes
11299 shlibpath_overrides_runpath=no
11300 hardcode_into_libs=yes
11309 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11310 soname_spec='${libname}${release}${shared_ext}$major'
11311 shlibpath_var=LD_LIBRARY_PATH
11312 hardcode_into_libs=yes
11315 hpux9* | hpux10* | hpux11*)
11316 # Give a soname corresponding to the major version so that dld.sl refuses to
11317 # link against other versions.
11321 case "$host_cpu" in
11324 hardcode_into_libs=yes
11325 dynamic_linker="$host_os dld.so"
11326 shlibpath_var=LD_LIBRARY_PATH
11327 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11328 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11329 soname_spec='${libname}${release}${shared_ext}$major'
11330 if test "X$HPUX_IA64_MODE" = X32; then
11331 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11333 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11335 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11339 hardcode_into_libs=yes
11340 dynamic_linker="$host_os dld.sl"
11341 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11342 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11343 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11344 soname_spec='${libname}${release}${shared_ext}$major'
11345 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11346 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11350 dynamic_linker="$host_os dld.sl"
11351 shlibpath_var=SHLIB_PATH
11352 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11353 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11354 soname_spec='${libname}${release}${shared_ext}$major'
11357 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11358 postinstall_cmds='chmod 555 $lib'
11361 irix5* | irix6* | nonstopux*)
11363 nonstopux*) version_type=nonstopux ;;
11365 if test "$lt_cv_prog_gnu_ld" = yes; then
11373 soname_spec='${libname}${release}${shared_ext}$major'
11374 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11376 irix5* | nonstopux*)
11377 libsuff= shlibsuff=
11380 case $LD in # libtool.m4 will add one of these switches to LD
11381 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11382 libsuff= shlibsuff= libmagic=32-bit;;
11383 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11384 libsuff=32 shlibsuff=N32 libmagic=N32;;
11385 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11386 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11387 *) libsuff= shlibsuff= libmagic=never-match;;
11391 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11392 shlibpath_overrides_runpath=no
11393 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11394 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11395 hardcode_into_libs=yes
11398 # No shared lib support for Linux oldld, aout, or coff.
11399 linux*oldld* | linux*aout* | linux*coff*)
11403 # This must be Linux ELF.
11408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11409 soname_spec='${libname}${release}${shared_ext}$major'
11410 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11411 shlibpath_var=LD_LIBRARY_PATH
11412 shlibpath_overrides_runpath=no
11413 # This implies no fast_install, which is unacceptable.
11414 # Some rework will be needed to allow for fast_install
11415 # before this can be enabled.
11416 hardcode_into_libs=yes
11418 # We used to test for /lib/ld.so.1 and disable shared libraries on
11419 # powerpc, because MkLinux only supported shared libraries with the
11420 # GNU dynamic linker. Since this was broken with cross compilers,
11421 # most powerpc-linux boxes support dynamic linking these days and
11422 # people can always --disable-shared, the test was removed, and we
11423 # assume the GNU/Linux dynamic linker is in use.
11424 dynamic_linker='GNU/Linux ld.so'
11431 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11432 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11433 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11434 dynamic_linker='NetBSD (a.out) ld.so'
11436 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11437 soname_spec='${libname}${release}${shared_ext}$major'
11438 dynamic_linker='NetBSD ld.elf_so'
11440 shlibpath_var=LD_LIBRARY_PATH
11441 shlibpath_overrides_runpath=yes
11442 hardcode_into_libs=yes
11447 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11448 shlibpath_var=LD_LIBRARY_PATH
11449 shlibpath_overrides_runpath=yes
11456 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11457 soname_spec='${libname}${release}${shared_ext}$major'
11458 shlibpath_var=LD_LIBRARY_PATH
11459 shlibpath_overrides_runpath=yes
11466 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11467 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11468 shlibpath_var=LD_LIBRARY_PATH
11469 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11471 openbsd2.[89] | openbsd2.[89].*)
11472 shlibpath_overrides_runpath=no
11475 shlibpath_overrides_runpath=yes
11479 shlibpath_overrides_runpath=yes
11484 libname_spec='$name'
11487 library_names_spec='$libname${shared_ext} $libname.a'
11488 dynamic_linker='OS/2 ld.exe'
11489 shlibpath_var=LIBPATH
11492 osf3* | osf4* | osf5*)
11496 soname_spec='${libname}${release}${shared_ext}$major'
11497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11498 shlibpath_var=LD_LIBRARY_PATH
11499 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11500 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11505 soname_spec='${libname}${release}${shared_ext}$major'
11506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11507 shlibpath_var=LD_LIBRARY_PATH
11514 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11515 soname_spec='${libname}${release}${shared_ext}$major'
11516 shlibpath_var=LD_LIBRARY_PATH
11517 shlibpath_overrides_runpath=yes
11518 hardcode_into_libs=yes
11519 # ldd complains unless libraries are executable
11520 postinstall_cmds='chmod +x $lib'
11525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11526 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11527 shlibpath_var=LD_LIBRARY_PATH
11528 shlibpath_overrides_runpath=yes
11529 if test "$with_gnu_ld" = yes; then
11535 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11537 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11538 soname_spec='${libname}${release}${shared_ext}$major'
11539 shlibpath_var=LD_LIBRARY_PATH
11540 case $host_vendor in
11542 shlibpath_overrides_runpath=no
11544 export_dynamic_flag_spec='${wl}-Blargedynsym'
11545 runpath_var=LD_RUN_PATH
11553 shlibpath_overrides_runpath=no
11554 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11560 if test -d /usr/nec ;then
11562 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11563 soname_spec='$libname${shared_ext}.$major'
11564 shlibpath_var=LD_LIBRARY_PATH
11570 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11571 soname_spec='${libname}${release}${shared_ext}$major'
11572 shlibpath_var=LD_LIBRARY_PATH
11579 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11580 echo "${ECHO_T}$dynamic_linker" >&6
11581 test "$dynamic_linker" = no && can_build_shared=no
11583 if test "x$enable_dlopen" != xyes; then
11584 enable_dlopen=unknown
11585 enable_dlopen_self=unknown
11586 enable_dlopen_self_static=unknown
11593 lt_cv_dlopen="load_add_on"
11595 lt_cv_dlopen_self=yes
11599 lt_cv_dlopen="LoadLibrary"
11604 lt_cv_dlopen="dlopen"
11609 # if libdl is installed we need to link against it
11610 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11611 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11612 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11613 echo $ECHO_N "(cached) $ECHO_C" >&6
11615 ac_check_lib_save_LIBS=$LIBS
11617 cat >conftest.$ac_ext <<_ACEOF
11618 #line $LINENO "configure"
11621 cat confdefs.h >>conftest.$ac_ext
11622 cat >>conftest.$ac_ext <<_ACEOF
11623 /* end confdefs.h. */
11625 /* Override any gcc2 internal prototype to avoid an error. */
11629 /* We use char because int might match the return type of a gcc2
11630 builtin and then its argument prototype would still apply. */
11640 rm -f conftest.$ac_objext conftest$ac_exeext
11641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11642 (eval $ac_link) 2>&5
11644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11645 (exit $ac_status); } &&
11646 { ac_try='test -s conftest$ac_exeext'
11647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11648 (eval $ac_try) 2>&5
11650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11651 (exit $ac_status); }; }; then
11652 ac_cv_lib_dl_dlopen=yes
11654 echo "$as_me: failed program was:" >&5
11655 sed 's/^/| /' conftest.$ac_ext >&5
11657 ac_cv_lib_dl_dlopen=no
11659 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11660 LIBS=$ac_check_lib_save_LIBS
11662 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11663 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11664 if test $ac_cv_lib_dl_dlopen = yes; then
11665 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11668 lt_cv_dlopen="dyld"
11670 lt_cv_dlopen_self=yes
11677 echo "$as_me:$LINENO: checking for shl_load" >&5
11678 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11679 if test "${ac_cv_func_shl_load+set}" = set; then
11680 echo $ECHO_N "(cached) $ECHO_C" >&6
11682 cat >conftest.$ac_ext <<_ACEOF
11683 #line $LINENO "configure"
11686 cat confdefs.h >>conftest.$ac_ext
11687 cat >>conftest.$ac_ext <<_ACEOF
11688 /* end confdefs.h. */
11689 /* System header to define __stub macros and hopefully few prototypes,
11690 which can conflict with char shl_load (); below.
11691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11692 <limits.h> exists even on freestanding compilers. */
11694 # include <limits.h>
11696 # include <assert.h>
11698 /* Override any gcc2 internal prototype to avoid an error. */
11703 /* We use char because int might match the return type of a gcc2
11704 builtin and then its argument prototype would still apply. */
11706 /* The GNU C library defines this for functions which it implements
11707 to always fail with ENOSYS. Some functions are actually named
11708 something starting with __ and the normal name is an alias. */
11709 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11712 char (*f) () = shl_load;
11721 return f != shl_load;
11726 rm -f conftest.$ac_objext conftest$ac_exeext
11727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11728 (eval $ac_link) 2>&5
11730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11731 (exit $ac_status); } &&
11732 { ac_try='test -s conftest$ac_exeext'
11733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11734 (eval $ac_try) 2>&5
11736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11737 (exit $ac_status); }; }; then
11738 ac_cv_func_shl_load=yes
11740 echo "$as_me: failed program was:" >&5
11741 sed 's/^/| /' conftest.$ac_ext >&5
11743 ac_cv_func_shl_load=no
11745 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11747 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11748 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11749 if test $ac_cv_func_shl_load = yes; then
11750 lt_cv_dlopen="shl_load"
11752 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11753 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11754 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11755 echo $ECHO_N "(cached) $ECHO_C" >&6
11757 ac_check_lib_save_LIBS=$LIBS
11759 cat >conftest.$ac_ext <<_ACEOF
11760 #line $LINENO "configure"
11763 cat confdefs.h >>conftest.$ac_ext
11764 cat >>conftest.$ac_ext <<_ACEOF
11765 /* end confdefs.h. */
11767 /* Override any gcc2 internal prototype to avoid an error. */
11771 /* We use char because int might match the return type of a gcc2
11772 builtin and then its argument prototype would still apply. */
11782 rm -f conftest.$ac_objext conftest$ac_exeext
11783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11784 (eval $ac_link) 2>&5
11786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11787 (exit $ac_status); } &&
11788 { ac_try='test -s conftest$ac_exeext'
11789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11790 (eval $ac_try) 2>&5
11792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11793 (exit $ac_status); }; }; then
11794 ac_cv_lib_dld_shl_load=yes
11796 echo "$as_me: failed program was:" >&5
11797 sed 's/^/| /' conftest.$ac_ext >&5
11799 ac_cv_lib_dld_shl_load=no
11801 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11802 LIBS=$ac_check_lib_save_LIBS
11804 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11805 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11806 if test $ac_cv_lib_dld_shl_load = yes; then
11807 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11809 echo "$as_me:$LINENO: checking for dlopen" >&5
11810 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11811 if test "${ac_cv_func_dlopen+set}" = set; then
11812 echo $ECHO_N "(cached) $ECHO_C" >&6
11814 cat >conftest.$ac_ext <<_ACEOF
11815 #line $LINENO "configure"
11818 cat confdefs.h >>conftest.$ac_ext
11819 cat >>conftest.$ac_ext <<_ACEOF
11820 /* end confdefs.h. */
11821 /* System header to define __stub macros and hopefully few prototypes,
11822 which can conflict with char dlopen (); below.
11823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11824 <limits.h> exists even on freestanding compilers. */
11826 # include <limits.h>
11828 # include <assert.h>
11830 /* Override any gcc2 internal prototype to avoid an error. */
11835 /* We use char because int might match the return type of a gcc2
11836 builtin and then its argument prototype would still apply. */
11838 /* The GNU C library defines this for functions which it implements
11839 to always fail with ENOSYS. Some functions are actually named
11840 something starting with __ and the normal name is an alias. */
11841 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11844 char (*f) () = dlopen;
11853 return f != dlopen;
11858 rm -f conftest.$ac_objext conftest$ac_exeext
11859 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11860 (eval $ac_link) 2>&5
11862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11863 (exit $ac_status); } &&
11864 { ac_try='test -s conftest$ac_exeext'
11865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11866 (eval $ac_try) 2>&5
11868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11869 (exit $ac_status); }; }; then
11870 ac_cv_func_dlopen=yes
11872 echo "$as_me: failed program was:" >&5
11873 sed 's/^/| /' conftest.$ac_ext >&5
11875 ac_cv_func_dlopen=no
11877 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11879 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11880 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11881 if test $ac_cv_func_dlopen = yes; then
11882 lt_cv_dlopen="dlopen"
11884 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11885 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11886 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11887 echo $ECHO_N "(cached) $ECHO_C" >&6
11889 ac_check_lib_save_LIBS=$LIBS
11891 cat >conftest.$ac_ext <<_ACEOF
11892 #line $LINENO "configure"
11895 cat confdefs.h >>conftest.$ac_ext
11896 cat >>conftest.$ac_ext <<_ACEOF
11897 /* end confdefs.h. */
11899 /* Override any gcc2 internal prototype to avoid an error. */
11903 /* We use char because int might match the return type of a gcc2
11904 builtin and then its argument prototype would still apply. */
11914 rm -f conftest.$ac_objext conftest$ac_exeext
11915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11916 (eval $ac_link) 2>&5
11918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11919 (exit $ac_status); } &&
11920 { ac_try='test -s conftest$ac_exeext'
11921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11922 (eval $ac_try) 2>&5
11924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11925 (exit $ac_status); }; }; then
11926 ac_cv_lib_dl_dlopen=yes
11928 echo "$as_me: failed program was:" >&5
11929 sed 's/^/| /' conftest.$ac_ext >&5
11931 ac_cv_lib_dl_dlopen=no
11933 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11934 LIBS=$ac_check_lib_save_LIBS
11936 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11937 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11938 if test $ac_cv_lib_dl_dlopen = yes; then
11939 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11941 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11942 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11943 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11944 echo $ECHO_N "(cached) $ECHO_C" >&6
11946 ac_check_lib_save_LIBS=$LIBS
11947 LIBS="-lsvld $LIBS"
11948 cat >conftest.$ac_ext <<_ACEOF
11949 #line $LINENO "configure"
11952 cat confdefs.h >>conftest.$ac_ext
11953 cat >>conftest.$ac_ext <<_ACEOF
11954 /* end confdefs.h. */
11956 /* Override any gcc2 internal prototype to avoid an error. */
11960 /* We use char because int might match the return type of a gcc2
11961 builtin and then its argument prototype would still apply. */
11971 rm -f conftest.$ac_objext conftest$ac_exeext
11972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11973 (eval $ac_link) 2>&5
11975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11976 (exit $ac_status); } &&
11977 { ac_try='test -s conftest$ac_exeext'
11978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11979 (eval $ac_try) 2>&5
11981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11982 (exit $ac_status); }; }; then
11983 ac_cv_lib_svld_dlopen=yes
11985 echo "$as_me: failed program was:" >&5
11986 sed 's/^/| /' conftest.$ac_ext >&5
11988 ac_cv_lib_svld_dlopen=no
11990 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11991 LIBS=$ac_check_lib_save_LIBS
11993 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11994 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11995 if test $ac_cv_lib_svld_dlopen = yes; then
11996 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11998 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11999 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12000 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12001 echo $ECHO_N "(cached) $ECHO_C" >&6
12003 ac_check_lib_save_LIBS=$LIBS
12005 cat >conftest.$ac_ext <<_ACEOF
12006 #line $LINENO "configure"
12009 cat confdefs.h >>conftest.$ac_ext
12010 cat >>conftest.$ac_ext <<_ACEOF
12011 /* end confdefs.h. */
12013 /* Override any gcc2 internal prototype to avoid an error. */
12017 /* We use char because int might match the return type of a gcc2
12018 builtin and then its argument prototype would still apply. */
12028 rm -f conftest.$ac_objext conftest$ac_exeext
12029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12030 (eval $ac_link) 2>&5
12032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12033 (exit $ac_status); } &&
12034 { ac_try='test -s conftest$ac_exeext'
12035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12036 (eval $ac_try) 2>&5
12038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12039 (exit $ac_status); }; }; then
12040 ac_cv_lib_dld_dld_link=yes
12042 echo "$as_me: failed program was:" >&5
12043 sed 's/^/| /' conftest.$ac_ext >&5
12045 ac_cv_lib_dld_dld_link=no
12047 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12048 LIBS=$ac_check_lib_save_LIBS
12050 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12051 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12052 if test $ac_cv_lib_dld_dld_link = yes; then
12053 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12074 if test "x$lt_cv_dlopen" != xno; then
12080 case $lt_cv_dlopen in
12082 save_CPPFLAGS="$CPPFLAGS"
12083 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12085 save_LDFLAGS="$LDFLAGS"
12086 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12089 LIBS="$lt_cv_dlopen_libs $LIBS"
12091 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12092 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12093 if test "${lt_cv_dlopen_self+set}" = set; then
12094 echo $ECHO_N "(cached) $ECHO_C" >&6
12096 if test "$cross_compiling" = yes; then :
12097 lt_cv_dlopen_self=cross
12099 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12100 lt_status=$lt_dlunknown
12101 cat > conftest.$ac_ext <<EOF
12102 #line 12102 "configure"
12103 #include "confdefs.h"
12112 # define LT_DLGLOBAL RTLD_GLOBAL
12115 # define LT_DLGLOBAL DL_GLOBAL
12117 # define LT_DLGLOBAL 0
12121 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12122 find out it does not work in some platform. */
12123 #ifndef LT_DLLAZY_OR_NOW
12125 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12128 # define LT_DLLAZY_OR_NOW DL_LAZY
12131 # define LT_DLLAZY_OR_NOW RTLD_NOW
12134 # define LT_DLLAZY_OR_NOW DL_NOW
12136 # define LT_DLLAZY_OR_NOW 0
12144 extern "C" void exit (int);
12147 void fnord() { int i=42;}
12150 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12151 int status = $lt_dlunknown;
12155 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12156 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12157 /* dlclose (self); */
12163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12164 (eval $ac_link) 2>&5
12166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12167 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12168 (./conftest; exit; ) 2>/dev/null
12170 case x$lt_status in
12171 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12172 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12173 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12176 # compilation failed
12177 lt_cv_dlopen_self=no
12184 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12185 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12187 if test "x$lt_cv_dlopen_self" = xyes; then
12188 LDFLAGS="$LDFLAGS $link_static_flag"
12189 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12190 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12191 if test "${lt_cv_dlopen_self_static+set}" = set; then
12192 echo $ECHO_N "(cached) $ECHO_C" >&6
12194 if test "$cross_compiling" = yes; then :
12195 lt_cv_dlopen_self_static=cross
12197 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12198 lt_status=$lt_dlunknown
12199 cat > conftest.$ac_ext <<EOF
12200 #line 12200 "configure"
12201 #include "confdefs.h"
12210 # define LT_DLGLOBAL RTLD_GLOBAL
12213 # define LT_DLGLOBAL DL_GLOBAL
12215 # define LT_DLGLOBAL 0
12219 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12220 find out it does not work in some platform. */
12221 #ifndef LT_DLLAZY_OR_NOW
12223 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12226 # define LT_DLLAZY_OR_NOW DL_LAZY
12229 # define LT_DLLAZY_OR_NOW RTLD_NOW
12232 # define LT_DLLAZY_OR_NOW DL_NOW
12234 # define LT_DLLAZY_OR_NOW 0
12242 extern "C" void exit (int);
12245 void fnord() { int i=42;}
12248 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12249 int status = $lt_dlunknown;
12253 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12254 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12255 /* dlclose (self); */
12261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12262 (eval $ac_link) 2>&5
12264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12265 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12266 (./conftest; exit; ) 2>/dev/null
12268 case x$lt_status in
12269 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12270 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12271 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12274 # compilation failed
12275 lt_cv_dlopen_self_static=no
12282 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12283 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12286 CPPFLAGS="$save_CPPFLAGS"
12287 LDFLAGS="$save_LDFLAGS"
12292 case $lt_cv_dlopen_self in
12293 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12294 *) enable_dlopen_self=unknown ;;
12297 case $lt_cv_dlopen_self_static in
12298 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12299 *) enable_dlopen_self_static=unknown ;;
12304 # The else clause should only fire when bootstrapping the
12305 # libtool distribution, otherwise you forgot to ship ltmain.sh
12306 # with your package, and you will get complaints that there are
12307 # no rules to generate ltmain.sh.
12308 if test -f "$ltmain"; then
12309 # See if we are running on zsh, and set the options which allow our commands through
12310 # without removal of \ escapes.
12311 if test -n "${ZSH_VERSION+set}" ; then
12312 setopt NO_GLOB_SUBST
12314 # Now quote all the things that may contain metacharacters while being
12315 # careful not to overquote the AC_SUBSTed values. We take copies of the
12316 # variables and quote the copies for generation of the libtool script.
12317 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12318 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12319 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12320 deplibs_check_method reload_flag reload_cmds need_locks \
12321 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12322 lt_cv_sys_global_symbol_to_c_name_address \
12323 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12324 old_postinstall_cmds old_postuninstall_cmds \
12328 lt_prog_compiler_wl_CXX \
12329 lt_prog_compiler_pic_CXX \
12330 lt_prog_compiler_static_CXX \
12331 lt_prog_compiler_no_builtin_flag_CXX \
12332 export_dynamic_flag_spec_CXX \
12333 thread_safe_flag_spec_CXX \
12334 whole_archive_flag_spec_CXX \
12335 enable_shared_with_static_runtimes_CXX \
12336 old_archive_cmds_CXX \
12337 old_archive_from_new_cmds_CXX \
12338 predep_objects_CXX \
12339 postdep_objects_CXX \
12342 compiler_lib_search_path_CXX \
12344 archive_expsym_cmds_CXX \
12345 postinstall_cmds_CXX \
12346 postuninstall_cmds_CXX \
12347 old_archive_from_expsyms_cmds_CXX \
12348 allow_undefined_flag_CXX \
12349 no_undefined_flag_CXX \
12350 export_symbols_cmds_CXX \
12351 hardcode_libdir_flag_spec_CXX \
12352 hardcode_libdir_flag_spec_ld_CXX \
12353 hardcode_libdir_separator_CXX \
12354 hardcode_automatic_CXX \
12356 module_expsym_cmds_CXX \
12357 lt_cv_prog_compiler_c_o_CXX \
12358 exclude_expsyms_CXX \
12359 include_expsyms_CXX; do
12362 old_archive_cmds_CXX | \
12363 old_archive_from_new_cmds_CXX | \
12364 archive_cmds_CXX | \
12365 archive_expsym_cmds_CXX | \
12366 module_cmds_CXX | \
12367 module_expsym_cmds_CXX | \
12368 old_archive_from_expsyms_cmds_CXX | \
12369 export_symbols_cmds_CXX | \
12370 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12371 postinstall_cmds | postuninstall_cmds | \
12372 old_postinstall_cmds | old_postuninstall_cmds | \
12373 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12374 # Double-quote double-evaled strings.
12375 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12378 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12384 *'\$0 --fallback-echo"')
12385 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12391 cat <<__EOF__ >> "$cfgfile"
12392 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12394 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12396 # Shell to use when invoking shell scripts.
12399 # Whether or not to build shared libraries.
12400 build_libtool_libs=$enable_shared
12402 # Whether or not to build static libraries.
12403 build_old_libs=$enable_static
12405 # Whether or not to add -lc for building shared libraries.
12406 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12408 # Whether or not to disallow shared libs when runtime libs are static
12409 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12411 # Whether or not to optimize for fast installation.
12412 fast_install=$enable_fast_install
12415 host_alias=$host_alias
12418 # An echo program that does not interpret backslashes.
12423 AR_FLAGS=$lt_AR_FLAGS
12428 # A language-specific compiler.
12429 CC=$lt_compiler_CXX
12431 # Is the compiler the GNU C compiler?
12437 # The linker used to build libraries.
12440 # Whether we need hard or soft links.
12443 # A BSD-compatible nm program.
12446 # A symbol stripping program
12449 # Used to examine libraries when file_magic_cmd begins "file"
12450 MAGIC_CMD=$MAGIC_CMD
12452 # Used on cygwin: DLL creation program.
12455 # Used on cygwin: object dumper.
12458 # Used on cygwin: assembler.
12461 # The name of the directory that contains temporary libtool files.
12464 # How to create reloadable object files.
12465 reload_flag=$lt_reload_flag
12466 reload_cmds=$lt_reload_cmds
12468 # How to pass a linker flag through the compiler.
12469 wl=$lt_lt_prog_compiler_wl_CXX
12471 # Object file suffix (normally "o").
12472 objext="$ac_objext"
12474 # Old archive suffix (normally "a").
12477 # Shared library suffix (normally ".so").
12480 # Executable file suffix (normally "").
12483 # Additional compiler flags for building library objects.
12484 pic_flag=$lt_lt_prog_compiler_pic_CXX
12487 # What is the maximum length of a command?
12488 max_cmd_len=$lt_cv_sys_max_cmd_len
12490 # Does compiler simultaneously support -c and -o options?
12491 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12493 # Must we lock files when doing compilation ?
12494 need_locks=$lt_need_locks
12496 # Do we need the lib prefix for modules?
12497 need_lib_prefix=$need_lib_prefix
12499 # Do we need a version for libraries?
12500 need_version=$need_version
12502 # Whether dlopen is supported.
12503 dlopen_support=$enable_dlopen
12505 # Whether dlopen of programs is supported.
12506 dlopen_self=$enable_dlopen_self
12508 # Whether dlopen of statically linked programs is supported.
12509 dlopen_self_static=$enable_dlopen_self_static
12511 # Compiler flag to prevent dynamic linking.
12512 link_static_flag=$lt_lt_prog_compiler_static_CXX
12514 # Compiler flag to turn off builtin functions.
12515 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12517 # Compiler flag to allow reflexive dlopens.
12518 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12520 # Compiler flag to generate shared objects directly from archives.
12521 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12523 # Compiler flag to generate thread-safe objects.
12524 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12526 # Library versioning type.
12527 version_type=$version_type
12529 # Format of library name prefix.
12530 libname_spec=$lt_libname_spec
12532 # List of archive names. First name is the real one, the rest are links.
12533 # The last name is the one that the linker finds with -lNAME.
12534 library_names_spec=$lt_library_names_spec
12536 # The coded name of the library, if different from the real name.
12537 soname_spec=$lt_soname_spec
12539 # Commands used to build and install an old-style archive.
12541 old_archive_cmds=$lt_old_archive_cmds_CXX
12542 old_postinstall_cmds=$lt_old_postinstall_cmds
12543 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12545 # Create an old-style archive from a shared archive.
12546 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12548 # Create a temporary old-style archive to link instead of a shared archive.
12549 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12551 # Commands used to build and install a shared archive.
12552 archive_cmds=$lt_archive_cmds_CXX
12553 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12554 postinstall_cmds=$lt_postinstall_cmds
12555 postuninstall_cmds=$lt_postuninstall_cmds
12557 # Commands used to build a loadable module (assumed same as above if empty)
12558 module_cmds=$lt_module_cmds_CXX
12559 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12561 # Commands to strip libraries.
12562 old_striplib=$lt_old_striplib
12563 striplib=$lt_striplib
12565 # Dependencies to place before the objects being linked to create a
12567 predep_objects=$lt_predep_objects_CXX
12569 # Dependencies to place after the objects being linked to create a
12571 postdep_objects=$lt_postdep_objects_CXX
12573 # Dependencies to place before the objects being linked to create a
12575 predeps=$lt_predeps_CXX
12577 # Dependencies to place after the objects being linked to create a
12579 postdeps=$lt_postdeps_CXX
12581 # The library search path used internally by the compiler when linking
12582 # a shared library.
12583 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12585 # Method to check whether dependent libraries are shared objects.
12586 deplibs_check_method=$lt_deplibs_check_method
12588 # Command to use when deplibs_check_method == file_magic.
12589 file_magic_cmd=$lt_file_magic_cmd
12591 # Flag that allows shared libraries with undefined symbols to be built.
12592 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12594 # Flag that forces no undefined symbols.
12595 no_undefined_flag=$lt_no_undefined_flag_CXX
12597 # Commands used to finish a libtool library installation in a directory.
12598 finish_cmds=$lt_finish_cmds
12600 # Same as above, but a single script fragment to be evaled but not shown.
12601 finish_eval=$lt_finish_eval
12603 # Take the output of nm and produce a listing of raw symbols and C names.
12604 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12606 # Transform the output of nm in a proper C declaration
12607 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12609 # Transform the output of nm in a C name address pair
12610 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12612 # This is the shared library runtime path variable.
12613 runpath_var=$runpath_var
12615 # This is the shared library path variable.
12616 shlibpath_var=$shlibpath_var
12618 # Is shlibpath searched before the hard-coded library search path?
12619 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12621 # How to hardcode a shared library path into an executable.
12622 hardcode_action=$hardcode_action_CXX
12624 # Whether we should hardcode library paths into libraries.
12625 hardcode_into_libs=$hardcode_into_libs
12627 # Flag to hardcode \$libdir into a binary during linking.
12628 # This must work even if \$libdir does not exist.
12629 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12631 # If ld is used when linking, flag to hardcode \$libdir into
12632 # a binary during linking. This must work even if \$libdir does
12634 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12636 # Whether we need a single -rpath flag with a separated argument.
12637 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12639 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12640 # resulting binary.
12641 hardcode_direct=$hardcode_direct_CXX
12643 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12644 # resulting binary.
12645 hardcode_minus_L=$hardcode_minus_L_CXX
12647 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12648 # the resulting binary.
12649 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12651 # Set to yes if building a shared library automatically hardcodes DIR into the library
12652 # and all subsequent libraries and executables linked against it.
12653 hardcode_automatic=$hardcode_automatic_CXX
12655 # Variables whose values should be saved in libtool wrapper scripts and
12656 # restored at relink time.
12657 variables_saved_for_relink="$variables_saved_for_relink"
12659 # Whether libtool must link a program against all its dependency libraries.
12660 link_all_deplibs=$link_all_deplibs_CXX
12662 # Compile-time system search path for libraries
12663 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12665 # Run-time system search path for libraries
12666 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12668 # Fix the shell variable \$srcfile for the compiler.
12669 fix_srcfile_path="$fix_srcfile_path_CXX"
12671 # Set to yes if exported symbols are required.
12672 always_export_symbols=$always_export_symbols_CXX
12674 # The commands to list exported symbols.
12675 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12677 # The commands to extract the exported symbol list from a shared archive.
12678 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12680 # Symbols that should not be listed in the preloaded symbols.
12681 exclude_expsyms=$lt_exclude_expsyms_CXX
12683 # Symbols that must always be exported.
12684 include_expsyms=$lt_include_expsyms_CXX
12686 # ### END LIBTOOL TAG CONFIG: $tagname
12692 # If there is no Makefile yet, we rely on a make rule to execute
12693 # `config.status --recheck' to rerun these tests and create the
12694 # libtool script then.
12695 test -f Makefile && make "$ltmain"
12700 ac_cpp='$CPP $CPPFLAGS'
12701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12709 with_gnu_ldcxx=$with_gnu_ld
12710 with_gnu_ld=$lt_save_with_gnu_ld
12711 lt_cv_path_LDCXX=$lt_cv_path_LD
12712 lt_cv_path_LD=$lt_save_path_LD
12713 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12714 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12722 if test -n "$F77" && test "X$F77" != "Xno"; then
12725 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12726 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12727 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12730 archive_cmds_need_lc_F77=no
12731 allow_undefined_flag_F77=
12732 always_export_symbols_F77=no
12733 archive_expsym_cmds_F77=
12734 export_dynamic_flag_spec_F77=
12735 hardcode_direct_F77=no
12736 hardcode_libdir_flag_spec_F77=
12737 hardcode_libdir_flag_spec_ld_F77=
12738 hardcode_libdir_separator_F77=
12739 hardcode_minus_L_F77=no
12740 hardcode_automatic_F77=no
12742 module_expsym_cmds_F77=
12743 link_all_deplibs_F77=unknown
12744 old_archive_cmds_F77=$old_archive_cmds
12745 no_undefined_flag_F77=
12746 whole_archive_flag_spec_F77=
12747 enable_shared_with_static_runtimes_F77=no
12749 # Source file extension for f77 test sources.
12752 # Object file extension for compiled f77 test sources.
12756 # Code to be used in simple compile tests
12757 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12759 # Code to be used in simple link tests
12760 lt_simple_link_test_code=" program t\n end\n"
12762 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12764 # If no C compiler was specified, use CC.
12767 # Allow CC to be a program name with arguments.
12771 # Allow CC to be a program name with arguments.
12776 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12778 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12779 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12780 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12781 echo "${ECHO_T}$can_build_shared" >&6
12783 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12784 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12785 test "$can_build_shared" = "no" && enable_shared=no
12787 # On AIX, shared libraries and static libraries use the same namespace, and
12788 # are all built from PIC.
12791 test "$enable_shared" = yes && enable_static=no
12792 if test -n "$RANLIB"; then
12793 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12794 postinstall_cmds='$RANLIB $lib'
12798 test "$enable_shared" = yes && enable_static=no
12801 echo "$as_me:$LINENO: result: $enable_shared" >&5
12802 echo "${ECHO_T}$enable_shared" >&6
12804 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12805 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12806 # Make sure either enable_shared or enable_static is yes.
12807 test "$enable_shared" = yes || enable_static=yes
12808 echo "$as_me:$LINENO: result: $enable_static" >&5
12809 echo "${ECHO_T}$enable_static" >&6
12811 test "$ld_shlibs_F77" = no && can_build_shared=no
12816 lt_prog_compiler_wl_F77=
12817 lt_prog_compiler_pic_F77=
12818 lt_prog_compiler_static_F77=
12820 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12821 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12823 if test "$GCC" = yes; then
12824 lt_prog_compiler_wl_F77='-Wl,'
12825 lt_prog_compiler_static_F77='-static'
12829 # All AIX code is PIC.
12830 if test "$host_cpu" = ia64; then
12831 # AIX 5 now supports IA64 processor
12832 lt_prog_compiler_static_F77='-Bstatic'
12837 # FIXME: we need at least 68020 code to build shared libraries, but
12838 # adding the `-m68020' flag to GCC prevents building anything better,
12840 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12843 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12844 # PIC is the default for these OSes.
12847 mingw* | pw32* | os2*)
12848 # This hack is so that the source file can tell whether it is being
12849 # built for inclusion in a dll (and should export symbols for example).
12850 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12853 darwin* | rhapsody*)
12854 # PIC is the default on this platform
12855 # Common symbols not allowed in MH_DYLIB files
12856 lt_prog_compiler_pic_F77='-fno-common'
12860 # Just because we use GCC doesn't mean we suddenly get shared libraries
12861 # on systems that don't support them.
12862 lt_prog_compiler_can_build_shared_F77=no
12867 if test -d /usr/nec; then
12868 lt_prog_compiler_pic_F77=-Kconform_pic
12873 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12874 # not for PA HP-UX.
12875 case "$host_cpu" in
12880 lt_prog_compiler_pic_F77='-fPIC'
12886 lt_prog_compiler_pic_F77='-fPIC'
12890 # PORTME Check for flag to pass linker flags through the system compiler.
12893 lt_prog_compiler_wl_F77='-Wl,'
12894 if test "$host_cpu" = ia64; then
12895 # AIX 5 now supports IA64 processor
12896 lt_prog_compiler_static_F77='-Bstatic'
12898 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12902 mingw* | pw32* | os2*)
12903 # This hack is so that the source file can tell whether it is being
12904 # built for inclusion in a dll (and should export symbols for example).
12905 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12908 hpux9* | hpux10* | hpux11*)
12909 lt_prog_compiler_wl_F77='-Wl,'
12910 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12911 # not for PA HP-UX.
12912 case "$host_cpu" in
12917 lt_prog_compiler_pic_F77='+Z'
12920 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12921 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
12924 irix5* | irix6* | nonstopux*)
12925 lt_prog_compiler_wl_F77='-Wl,'
12926 # PIC (with -KPIC) is the default.
12927 lt_prog_compiler_static_F77='-non_shared'
12931 lt_prog_compiler_pic_F77='-KPIC'
12932 lt_prog_compiler_static_F77='-Bstatic'
12938 lt_prog_compiler_wl_F77='-Wl,'
12939 lt_prog_compiler_pic_F77='-KPIC'
12940 lt_prog_compiler_static_F77='-static'
12943 lt_prog_compiler_wl_F77='-Wl,'
12944 # All Alpha code is PIC.
12945 lt_prog_compiler_static_F77='-non_shared'
12950 osf3* | osf4* | osf5*)
12951 lt_prog_compiler_wl_F77='-Wl,'
12952 # All OSF/1 code is PIC.
12953 lt_prog_compiler_static_F77='-non_shared'
12957 lt_prog_compiler_pic_F77='-Kpic'
12958 lt_prog_compiler_static_F77='-dn'
12962 lt_prog_compiler_wl_F77='-Wl,'
12963 lt_prog_compiler_pic_F77='-KPIC'
12964 lt_prog_compiler_static_F77='-Bstatic'
12968 lt_prog_compiler_wl_F77='-Qoption ld '
12969 lt_prog_compiler_pic_F77='-PIC'
12970 lt_prog_compiler_static_F77='-Bstatic'
12973 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12974 lt_prog_compiler_wl_F77='-Wl,'
12975 lt_prog_compiler_pic_F77='-KPIC'
12976 lt_prog_compiler_static_F77='-Bstatic'
12980 if test -d /usr/nec ;then
12981 lt_prog_compiler_pic_F77='-Kconform_pic'
12982 lt_prog_compiler_static_F77='-Bstatic'
12987 lt_prog_compiler_pic_F77='-pic'
12988 lt_prog_compiler_static_F77='-Bstatic'
12992 lt_prog_compiler_can_build_shared_F77=no
12997 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
12998 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13001 # Check to make sure the PIC flag actually works.
13003 if test -n "$lt_prog_compiler_pic_F77"; then
13004 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13005 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13006 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13007 echo $ECHO_N "(cached) $ECHO_C" >&6
13009 lt_prog_compiler_pic_works_F77=no
13010 ac_outfile=conftest.$ac_objext
13011 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13012 lt_compiler_flag="$lt_prog_compiler_pic_F77"
13013 # Insert the option either (1) after the last *FLAGS variable, or
13014 # (2) before a word containing "conftest.", or (3) at the end.
13015 # Note that $ac_compile itself does not contain backslashes and begins
13016 # with a dollar sign (not a hyphen), so the echo should work correctly.
13017 # The option is referenced via a variable to avoid confusing sed.
13018 lt_compile=`echo "$ac_compile" | $SED \
13019 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13020 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13021 -e 's:$: $lt_compiler_flag:'`
13022 (eval echo "\"\$as_me:13022: $lt_compile\"" >&5)
13023 (eval "$lt_compile" 2>conftest.err)
13025 cat conftest.err >&5
13026 echo "$as_me:13026: \$? = $ac_status" >&5
13027 if (exit $ac_status) && test -s "$ac_outfile"; then
13028 # The compiler can only warn and ignore the option if not recognized
13029 # So say no if there are warnings
13030 if test ! -s conftest.err; then
13031 lt_prog_compiler_pic_works_F77=yes
13037 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13038 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13040 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13041 case $lt_prog_compiler_pic_F77 in
13043 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13046 lt_prog_compiler_pic_F77=
13047 lt_prog_compiler_can_build_shared_F77=no
13052 # For platforms which do not support PIC, -DPIC is meaningless:
13054 lt_prog_compiler_pic_F77=
13057 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13061 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13062 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13063 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13064 echo $ECHO_N "(cached) $ECHO_C" >&6
13066 lt_cv_prog_compiler_c_o_F77=no
13067 $rm -r conftest 2>/dev/null
13071 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13073 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13074 # that will create temporary files in the current directory regardless of
13075 # the output directory. Thus, making CWD read-only will cause this test
13076 # to fail, enabling locking or at least warning the user not to do parallel
13080 lt_compiler_flag="-o out/conftest2.$ac_objext"
13081 # Insert the option either (1) after the last *FLAGS variable, or
13082 # (2) before a word containing "conftest.", or (3) at the end.
13083 # Note that $ac_compile itself does not contain backslashes and begins
13084 # with a dollar sign (not a hyphen), so the echo should work correctly.
13085 lt_compile=`echo "$ac_compile" | $SED \
13086 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13087 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13088 -e 's:$: $lt_compiler_flag:'`
13089 (eval echo "\"\$as_me:13089: $lt_compile\"" >&5)
13090 (eval "$lt_compile" 2>out/conftest.err)
13092 cat out/conftest.err >&5
13093 echo "$as_me:13093: \$? = $ac_status" >&5
13094 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13096 # The compiler can only warn and ignore the option if not recognized
13097 # So say no if there are warnings
13098 if test ! -s out/conftest.err; then
13099 lt_cv_prog_compiler_c_o_F77=yes
13103 $rm conftest* out/*
13110 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13111 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13114 hard_links="nottested"
13115 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13116 # do not overwrite the value of need_locks provided by the user
13117 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13118 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13121 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13123 ln conftest.a conftest.b 2>&5 || hard_links=no
13124 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13125 echo "$as_me:$LINENO: result: $hard_links" >&5
13126 echo "${ECHO_T}$hard_links" >&6
13127 if test "$hard_links" = no; then
13128 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13129 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13136 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13137 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13140 allow_undefined_flag_F77=
13141 enable_shared_with_static_runtimes_F77=no
13143 archive_expsym_cmds_F77=
13144 old_archive_From_new_cmds_F77=
13145 old_archive_from_expsyms_cmds_F77=
13146 export_dynamic_flag_spec_F77=
13147 whole_archive_flag_spec_F77=
13148 thread_safe_flag_spec_F77=
13149 hardcode_libdir_flag_spec_F77=
13150 hardcode_libdir_flag_spec_ld_F77=
13151 hardcode_libdir_separator_F77=
13152 hardcode_direct_F77=no
13153 hardcode_minus_L_F77=no
13154 hardcode_shlibpath_var_F77=unsupported
13155 link_all_deplibs_F77=unknown
13156 hardcode_automatic_F77=no
13158 module_expsym_cmds_F77=
13159 always_export_symbols_F77=no
13160 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13161 # include_expsyms should be a list of space-separated symbols to be *always*
13162 # included in the symbol list
13163 include_expsyms_F77=
13164 # exclude_expsyms can be an extended regexp of symbols to exclude
13165 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13166 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13167 # as well as any symbol that contains `d'.
13168 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13169 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13170 # platforms (ab)use it in PIC code, but their linkers get confused if
13171 # the symbol is explicitly referenced. Since portable code cannot
13172 # rely on this symbol name, it's probably fine to never include it in
13173 # preloaded symbol tables.
13174 extract_expsyms_cmds=
13177 cygwin* | mingw* | pw32*)
13178 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13179 # When not using gcc, we currently assume that we are using
13180 # Microsoft Visual C++.
13181 if test "$GCC" != yes; then
13191 if test "$with_gnu_ld" = yes; then
13192 # If archive_cmds runs LD, not CC, wlarc should be empty
13195 # See if GNU ld supports shared libraries.
13197 aix3* | aix4* | aix5*)
13198 # On AIX/PPC, the GNU linker is very broken
13199 if test "$host_cpu" != ia64; then
13203 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13204 *** to be unable to reliably create shared libraries on AIX.
13205 *** Therefore, libtool is disabling shared libraries support. If you
13206 *** really care for shared libraries, you may want to modify your PATH
13207 *** so that a non-GNU linker is found, and then restart.
13214 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)'
13215 hardcode_libdir_flag_spec_F77='-L$libdir'
13216 hardcode_minus_L_F77=yes
13218 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13219 # that the semantics of dynamic libraries on AmigaOS, at least up
13220 # to version 4, is to share data among multiple programs linked
13221 # with the same dynamic library. Since this doesn't match the
13222 # behavior of shared libraries on other platforms, we can't use
13228 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13229 allow_undefined_flag_F77=unsupported
13230 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13231 # support --undefined. This deserves some investigation. FIXME
13232 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13238 cygwin* | mingw* | pw32*)
13239 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13240 # as there is no search path for DLLs.
13241 hardcode_libdir_flag_spec_F77='-L$libdir'
13242 allow_undefined_flag_F77=unsupported
13243 always_export_symbols_F77=no
13244 enable_shared_with_static_runtimes_F77=yes
13245 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13247 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13248 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13249 # If the export-symbols file already is a .def file (1st line
13250 # is EXPORTS), use it as is; otherwise, prepend...
13251 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13252 cp $export_symbols $output_objdir/$soname.def;
13254 echo EXPORTS > $output_objdir/$soname.def;
13255 cat $export_symbols >> $output_objdir/$soname.def;
13257 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13264 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13265 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13268 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13269 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13274 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13278 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13279 *** create shared libraries on Solaris systems. Therefore, libtool
13280 *** is disabling shared libraries support. We urge you to upgrade GNU
13281 *** binutils to release 2.9.1 or newer. Another option is to modify
13282 *** your PATH or compiler configuration so that the native linker is
13283 *** used, and then restart.
13286 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13287 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13288 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13295 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13297 hardcode_direct_F77=yes
13298 hardcode_shlibpath_var_F77=no
13302 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13303 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13304 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13311 if test "$ld_shlibs_F77" = yes; then
13312 runpath_var=LD_RUN_PATH
13313 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13314 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13315 # ancient GNU ld didn't support --whole-archive et. al.
13316 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13317 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13319 whole_archive_flag_spec_F77=
13323 # PORTME fill in a description of your system's linker (not GNU ld)
13326 allow_undefined_flag_F77=unsupported
13327 always_export_symbols_F77=yes
13328 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'
13329 # Note: this linker hardcodes the directories in LIBPATH if there
13330 # are no directories specified by -L.
13331 hardcode_minus_L_F77=yes
13332 if test "$GCC" = yes && test -z "$link_static_flag"; then
13333 # Neither direct hardcoding nor static linking is supported with a
13335 hardcode_direct_F77=unsupported
13340 if test "$host_cpu" = ia64; then
13341 # On IA64, the linker does run time linking by default, so we don't
13342 # have to do anything special.
13343 aix_use_runtimelinking=no
13344 exp_sym_flag='-Bexport'
13347 # If we're using GNU nm, then we don't want the "-C" option.
13348 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13349 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13350 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'
13352 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'
13354 aix_use_runtimelinking=no
13356 # Test if we are trying to use run time linking or normal
13357 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13358 # need to do runtime linking.
13359 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13360 for ld_flag in $LDFLAGS; do
13361 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13362 aix_use_runtimelinking=yes
13368 exp_sym_flag='-bexport'
13369 no_entry_flag='-bnoentry'
13372 # When large executables or shared objects are built, AIX ld can
13373 # have problems creating the table of contents. If linking a library
13374 # or program results in "error TOC overflow" add -mminimal-toc to
13375 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13376 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13378 archive_cmds_F77=''
13379 hardcode_direct_F77=yes
13380 hardcode_libdir_separator_F77=':'
13381 link_all_deplibs_F77=yes
13383 if test "$GCC" = yes; then
13384 case $host_os in aix4.012|aix4.012.*)
13385 # We only want to do this on AIX 4.2 and lower, the check
13386 # below for broken collect2 doesn't work under 4.3+
13387 collect2name=`${CC} -print-prog-name=collect2`
13388 if test -f "$collect2name" && \
13389 strings "$collect2name" | grep resolve_lib_name >/dev/null
13391 # We have reworked collect2
13392 hardcode_direct_F77=yes
13394 # We have old collect2
13395 hardcode_direct_F77=unsupported
13396 # It fails to find uninstalled libraries when the uninstalled
13397 # path is not listed in the libpath. Setting hardcode_minus_L
13398 # to unsupported forces relinking
13399 hardcode_minus_L_F77=yes
13400 hardcode_libdir_flag_spec_F77='-L$libdir'
13401 hardcode_libdir_separator_F77=
13404 shared_flag='-shared'
13407 if test "$host_cpu" = ia64; then
13408 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13409 # chokes on -Wl,-G. The following line is correct:
13412 if test "$aix_use_runtimelinking" = yes; then
13413 shared_flag='${wl}-G'
13415 shared_flag='${wl}-bM:SRE'
13420 # It seems that -bexpall does not export symbols beginning with
13421 # underscore (_), so it is better to generate a list of symbols to export.
13422 always_export_symbols_F77=yes
13423 if test "$aix_use_runtimelinking" = yes; then
13424 # Warning - without using the other runtime loading flags (-brtl),
13425 # -berok will link without error, but may produce a broken library.
13426 allow_undefined_flag_F77='-berok'
13427 # Determine the default libpath from the value encoded in an empty executable.
13428 cat >conftest.$ac_ext <<_ACEOF
13433 rm -f conftest.$ac_objext conftest$ac_exeext
13434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13435 (eval $ac_link) 2>&5
13437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13438 (exit $ac_status); } &&
13439 { ac_try='test -s conftest$ac_exeext'
13440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13441 (eval $ac_try) 2>&5
13443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13444 (exit $ac_status); }; }; then
13446 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13448 # Check for a 64-bit object if we didn't find anything.
13449 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; }
13452 echo "$as_me: failed program was:" >&5
13453 sed 's/^/| /' conftest.$ac_ext >&5
13456 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13457 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13459 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13460 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"
13462 if test "$host_cpu" = ia64; then
13463 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13464 allow_undefined_flag_F77="-z nodefs"
13465 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"
13467 # Determine the default libpath from the value encoded in an empty executable.
13468 cat >conftest.$ac_ext <<_ACEOF
13473 rm -f conftest.$ac_objext conftest$ac_exeext
13474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13475 (eval $ac_link) 2>&5
13477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13478 (exit $ac_status); } &&
13479 { ac_try='test -s conftest$ac_exeext'
13480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13481 (eval $ac_try) 2>&5
13483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13484 (exit $ac_status); }; }; then
13486 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13488 # Check for a 64-bit object if we didn't find anything.
13489 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; }
13492 echo "$as_me: failed program was:" >&5
13493 sed 's/^/| /' conftest.$ac_ext >&5
13496 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13497 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13499 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13500 # Warning - without using the other run time loading flags,
13501 # -berok will link without error, but may produce a broken library.
13502 no_undefined_flag_F77=' ${wl}-bernotok'
13503 allow_undefined_flag_F77=' ${wl}-berok'
13504 # -bexpall does not export symbols beginning with underscore (_)
13505 always_export_symbols_F77=yes
13506 # Exported symbols can be pulled into shared objects from archives
13507 whole_archive_flag_spec_F77=' '
13508 archive_cmds_need_lc_F77=yes
13509 # This is similar to how AIX traditionally builds it's shared libraries.
13510 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'
13516 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)'
13517 hardcode_libdir_flag_spec_F77='-L$libdir'
13518 hardcode_minus_L_F77=yes
13519 # see comment about different semantics on the GNU ld section
13524 export_dynamic_flag_spec_F77=-rdynamic
13527 cygwin* | mingw* | pw32*)
13528 # When not using gcc, we currently assume that we are using
13529 # Microsoft Visual C++.
13530 # hardcode_libdir_flag_spec is actually meaningless, as there is
13531 # no search path for DLLs.
13532 hardcode_libdir_flag_spec_F77=' '
13533 allow_undefined_flag_F77=unsupported
13534 # Tell ltmain to make .lib files, not .a files.
13536 # Tell ltmain to make .dll files, not .so files.
13538 # FIXME: Setting linknames here is a bad hack.
13539 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13540 # The linker will automatically build a .lib file if we build a DLL.
13541 old_archive_From_new_cmds_F77='true'
13542 # FIXME: Should let the user specify the lib program.
13543 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13544 fix_srcfile_path='`cygpath -w "$srcfile"`'
13545 enable_shared_with_static_runtimes_F77=yes
13548 darwin* | rhapsody*)
13549 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
13550 archive_cmds_need_lc_F77=no
13552 rhapsody* | darwin1.[012])
13553 allow_undefined_flag_F77='-undefined suppress'
13556 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13559 # FIXME: Relying on posixy $() will cause problems for
13560 # cross-compilation, but unfortunately the echo tests do not
13561 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13562 # `"' quotes if we put them in here... so don't!
13563 lt_int_apple_cc_single_mod=no
13564 output_verbose_link_cmd='echo'
13565 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13566 lt_int_apple_cc_single_mod=yes
13568 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13569 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13571 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'
13573 module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
13574 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13575 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13576 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}'
13578 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}'
13580 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}'
13581 hardcode_direct_F77=no
13582 hardcode_automatic_F77=yes
13583 hardcode_shlibpath_var_F77=unsupported
13584 whole_archive_flag_spec_F77='-all_load $convenience'
13585 link_all_deplibs_F77=yes
13590 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13591 hardcode_libdir_flag_spec_F77='-L$libdir'
13592 hardcode_shlibpath_var_F77=no
13599 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13600 # support. Future versions do this automatically, but an explicit c++rt0.o
13601 # does not break anything, and helps significantly (at the cost of a little
13604 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13605 hardcode_libdir_flag_spec_F77='-R$libdir'
13606 hardcode_direct_F77=yes
13607 hardcode_shlibpath_var_F77=no
13610 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13612 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13613 hardcode_direct_F77=yes
13614 hardcode_minus_L_F77=yes
13615 hardcode_shlibpath_var_F77=no
13618 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13620 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13621 hardcode_libdir_flag_spec_F77='-R$libdir'
13622 hardcode_direct_F77=yes
13623 hardcode_shlibpath_var_F77=no
13627 if test "$GCC" = yes; then
13628 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'
13630 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'
13632 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13633 hardcode_libdir_separator_F77=:
13634 hardcode_direct_F77=yes
13636 # hardcode_minus_L: Not really in the search PATH,
13637 # but as the default location of the library.
13638 hardcode_minus_L_F77=yes
13639 export_dynamic_flag_spec_F77='${wl}-E'
13643 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13644 case "$host_cpu" in
13646 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13649 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13653 case "$host_cpu" in
13655 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13658 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13662 if test "$with_gnu_ld" = no; then
13663 case "$host_cpu" in
13665 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13666 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13667 hardcode_libdir_separator_F77=:
13668 hardcode_direct_F77=no
13669 hardcode_shlibpath_var_F77=no
13672 hardcode_libdir_flag_spec_F77='-L$libdir'
13673 hardcode_direct_F77=no
13674 hardcode_shlibpath_var_F77=no
13676 # hardcode_minus_L: Not really in the search PATH,
13677 # but as the default location of the library.
13678 hardcode_minus_L_F77=yes
13681 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13682 hardcode_libdir_separator_F77=:
13683 hardcode_direct_F77=yes
13684 export_dynamic_flag_spec_F77='${wl}-E'
13686 # hardcode_minus_L: Not really in the search PATH,
13687 # but as the default location of the library.
13688 hardcode_minus_L_F77=yes
13694 irix5* | irix6* | nonstopux*)
13695 if test "$GCC" = yes; then
13696 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'
13698 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'
13699 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13701 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13702 hardcode_libdir_separator_F77=:
13703 link_all_deplibs_F77=yes
13707 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13708 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13710 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13712 hardcode_libdir_flag_spec_F77='-R$libdir'
13713 hardcode_direct_F77=yes
13714 hardcode_shlibpath_var_F77=no
13718 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13719 hardcode_direct_F77=yes
13720 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13721 hardcode_libdir_separator_F77=:
13722 hardcode_shlibpath_var_F77=no
13726 hardcode_direct_F77=yes
13727 hardcode_shlibpath_var_F77=no
13728 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13729 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13730 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13731 export_dynamic_flag_spec_F77='${wl}-E'
13734 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13735 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13736 hardcode_libdir_flag_spec_F77='-R$libdir'
13739 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13740 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13747 hardcode_libdir_flag_spec_F77='-L$libdir'
13748 hardcode_minus_L_F77=yes
13749 allow_undefined_flag_F77=unsupported
13750 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'
13751 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13755 if test "$GCC" = yes; then
13756 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13757 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'
13759 allow_undefined_flag_F77=' -expect_unresolved \*'
13760 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'
13762 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13763 hardcode_libdir_separator_F77=:
13766 osf4* | osf5*) # as osf3* with the addition of -msym flag
13767 if test "$GCC" = yes; then
13768 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13769 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'
13770 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13772 allow_undefined_flag_F77=' -expect_unresolved \*'
13773 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'
13774 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~
13775 $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'
13777 # Both c and cxx compiler support -rpath directly
13778 hardcode_libdir_flag_spec_F77='-rpath $libdir'
13780 hardcode_libdir_separator_F77=:
13784 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13785 hardcode_shlibpath_var_F77=no
13786 export_dynamic_flag_spec_F77='${wl}-Bexport'
13787 runpath_var=LD_RUN_PATH
13788 hardcode_runpath_var=yes
13792 no_undefined_flag_F77=' -z text'
13793 if test "$GCC" = yes; then
13794 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13795 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13796 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13798 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13799 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13800 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13802 hardcode_libdir_flag_spec_F77='-R$libdir'
13803 hardcode_shlibpath_var_F77=no
13805 solaris2.[0-5] | solaris2.[0-5].*) ;;
13806 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13807 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13809 link_all_deplibs_F77=yes
13813 if test "x$host_vendor" = xsequent; then
13814 # Use $CC to link under sequent, because it throws in some extra .o
13815 # files that make .init and .fini sections work.
13816 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13818 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13820 hardcode_libdir_flag_spec_F77='-L$libdir'
13821 hardcode_direct_F77=yes
13822 hardcode_minus_L_F77=yes
13823 hardcode_shlibpath_var_F77=no
13827 case $host_vendor in
13829 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13830 hardcode_direct_F77=yes # is this really true???
13833 ## LD is ld it makes a PLAMLIB
13834 ## CC just makes a GrossModule.
13835 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13836 reload_cmds_F77='$CC -r -o $output$reload_objs'
13837 hardcode_direct_F77=no
13840 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13841 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13844 runpath_var='LD_RUN_PATH'
13845 hardcode_shlibpath_var_F77=no
13849 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13850 hardcode_shlibpath_var_F77=no
13851 export_dynamic_flag_spec_F77='-Bexport'
13855 if test -d /usr/nec; then
13856 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13857 hardcode_shlibpath_var_F77=no
13858 runpath_var=LD_RUN_PATH
13859 hardcode_runpath_var=yes
13865 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13866 hardcode_direct_F77=yes
13867 hardcode_minus_L_F77=no
13868 hardcode_shlibpath_var_F77=no
13869 hardcode_runpath_var=yes
13870 runpath_var=LD_RUN_PATH
13873 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13874 no_undefined_flag_F77='${wl}-z ${wl}text'
13875 if test "$GCC" = yes; then
13876 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13878 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13880 runpath_var='LD_RUN_PATH'
13881 hardcode_shlibpath_var_F77=no
13885 no_undefined_flag_F77=' -z text'
13886 # $CC -shared without GNU ld will not create a library from C++
13887 # object files and a static libstdc++, better avoid it by now
13888 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13889 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13890 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13891 hardcode_libdir_flag_spec_F77=
13892 hardcode_shlibpath_var_F77=no
13893 runpath_var='LD_RUN_PATH'
13897 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13898 hardcode_libdir_flag_spec_F77='-L$libdir'
13899 hardcode_shlibpath_var_F77=no
13908 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
13909 echo "${ECHO_T}$ld_shlibs_F77" >&6
13910 test "$ld_shlibs_F77" = no && can_build_shared=no
13912 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13913 if test "$GCC" = yes; then
13914 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13918 # Do we need to explicitly link libc?
13920 case "x$archive_cmds_need_lc_F77" in
13922 # Assume -lc should be added
13923 archive_cmds_need_lc_F77=yes
13925 if test "$enable_shared" = yes && test "$GCC" = yes; then
13926 case $archive_cmds_F77 in
13928 # FIXME: we may have to deal with multi-command sequences.
13931 # Test whether the compiler implicitly links with -lc since on some
13932 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13933 # to ld, don't add -lc before -lgcc.
13934 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13935 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13937 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13940 (eval $ac_compile) 2>&5
13942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13943 (exit $ac_status); } 2>conftest.err; then
13946 libobjs=conftest.$ac_objext
13948 wl=$lt_prog_compiler_wl_F77
13954 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
13955 allow_undefined_flag_F77=
13956 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13957 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13960 (exit $ac_status); }
13962 archive_cmds_need_lc_F77=no
13964 archive_cmds_need_lc_F77=yes
13966 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
13968 cat conftest.err 1>&5
13971 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
13972 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
13979 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13980 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13981 hardcode_action_F77=
13982 if test -n "$hardcode_libdir_flag_spec_F77" || \
13983 test -n "$runpath_var F77" || \
13984 test "X$hardcode_automatic_F77"="Xyes" ; then
13986 # We can hardcode non-existant directories.
13987 if test "$hardcode_direct_F77" != no &&
13988 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13989 # have to relink, otherwise we might link with an installed library
13990 # when we should be linking with a yet-to-be-installed one
13991 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
13992 test "$hardcode_minus_L_F77" != no; then
13993 # Linking always hardcodes the temporary library directory.
13994 hardcode_action_F77=relink
13996 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13997 hardcode_action_F77=immediate
14000 # We cannot hardcode anything, or else we can only hardcode existing
14002 hardcode_action_F77=unsupported
14004 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14005 echo "${ECHO_T}$hardcode_action_F77" >&6
14007 if test "$hardcode_action_F77" = relink; then
14008 # Fast installation is not supported
14009 enable_fast_install=no
14010 elif test "$shlibpath_overrides_runpath" = yes ||
14011 test "$enable_shared" = no; then
14012 # Fast installation is not necessary
14013 enable_fast_install=needless
14018 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14019 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14020 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14021 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14022 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14023 echo "$as_me:$LINENO: result: yes" >&5
14024 echo "${ECHO_T}yes" >&6
14026 # FIXME - insert some real tests, host_os isn't really good enough
14029 if test -n "$STRIP" ; then
14030 striplib="$STRIP -x"
14031 echo "$as_me:$LINENO: result: yes" >&5
14032 echo "${ECHO_T}yes" >&6
14034 echo "$as_me:$LINENO: result: no" >&5
14035 echo "${ECHO_T}no" >&6
14039 echo "$as_me:$LINENO: result: no" >&5
14040 echo "${ECHO_T}no" >&6
14045 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14046 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14047 library_names_spec=
14048 libname_spec='lib$name'
14052 postuninstall_cmds=
14056 shlibpath_overrides_runpath=unknown
14058 dynamic_linker="$host_os ld.so"
14059 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14060 if test "$GCC" = yes; then
14061 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14062 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14063 # if the path contains ";" then we assume it to be the separator
14064 # otherwise default to the standard path separator (i.e. ":") - it is
14065 # assumed that no part of a normal pathname contains ";" but that should
14066 # okay in the real world where ";" in dirpaths is itself problematic.
14067 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14069 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14072 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14074 need_lib_prefix=unknown
14075 hardcode_into_libs=no
14077 # when you set need_version to no, make sure it does not cause -set_version
14078 # flags to be left without arguments
14079 need_version=unknown
14084 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14085 shlibpath_var=LIBPATH
14087 # AIX 3 has no versioning support, so we append a major version to the name.
14088 soname_spec='${libname}${release}${shared_ext}$major'
14095 hardcode_into_libs=yes
14096 if test "$host_cpu" = ia64; then
14097 # AIX 5 supports IA64
14098 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14099 shlibpath_var=LD_LIBRARY_PATH
14101 # With GCC up to 2.95.x, collect2 would create an import file
14102 # for dependence libraries. The import file would start with
14103 # the line `#! .'. This would cause the generated library to
14104 # depend on `.', always an invalid library. This was fixed in
14105 # development snapshots of GCC prior to 3.0.
14107 aix4 | aix4.[01] | aix4.[01].*)
14108 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14110 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14113 can_build_shared=no
14117 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14118 # soname into executable. Probably we can add versioning support to
14119 # collect2, so additional links can be useful in future.
14120 if test "$aix_use_runtimelinking" = yes; then
14121 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14122 # instead of lib<name>.a to let people know that these are not
14123 # typical AIX shared libraries.
14124 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14126 # We preserve .a as extension for shared libraries through AIX4.2
14127 # and later when we are not doing run time linking.
14128 library_names_spec='${libname}${release}.a $libname.a'
14129 soname_spec='${libname}${release}${shared_ext}$major'
14131 shlibpath_var=LIBPATH
14136 library_names_spec='$libname.ixlibrary $libname.a'
14137 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14138 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'
14142 library_names_spec='${libname}${shared_ext}'
14143 dynamic_linker="$host_os ld.so"
14144 shlibpath_var=LIBRARY_PATH
14150 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14151 soname_spec='${libname}${release}${shared_ext}$major'
14152 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14153 shlibpath_var=LD_LIBRARY_PATH
14154 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14155 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14156 # the default ld.so.conf also contains /usr/contrib/lib and
14157 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14158 # libtool to hard-code these into programs
14161 cygwin* | mingw* | pw32*)
14162 version_type=windows
14167 case $GCC,$host_os in
14168 yes,cygwin* | yes,mingw* | yes,pw32*)
14169 library_names_spec='$libname.dll.a'
14170 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14171 postinstall_cmds='base_file=`basename \${file}`~
14172 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14173 dldir=$destdir/`dirname \$dlpath`~
14174 test -d \$dldir || mkdir -p \$dldir~
14175 $install_prog $dir/$dlname \$dldir/$dlname'
14176 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14177 dlpath=$dir/\$dldll~
14179 shlibpath_overrides_runpath=yes
14183 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14184 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14185 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
14188 # MinGW DLLs use traditional 'lib' prefix
14189 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14190 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14191 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14192 # It is most probably a Windows format PATH printed by
14193 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14194 # path with ; separators, and with drive letters. We can handle the
14195 # drive letters (cygwin fileutils understands them), so leave them,
14196 # especially as we might pass files found there to a mingw objdump,
14197 # which wouldn't understand a cygwinified path. Ahh.
14198 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14200 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14204 # pw32 DLLs use 'pw' prefix rather than 'lib'
14205 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14211 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14214 dynamic_linker='Win32 ld.exe'
14215 # FIXME: first we should search . and the directory the executable is in
14219 darwin* | rhapsody*)
14220 dynamic_linker="$host_os dyld"
14221 version_type=darwin
14224 # FIXME: Relying on posixy $() will cause problems for
14225 # cross-compilation, but unfortunately the echo tests do not
14226 # yet detect zsh echo's removal of \ escapes.
14227 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14228 soname_spec='${libname}${release}${major}$shared_ext'
14229 shlibpath_overrides_runpath=yes
14230 shlibpath_var=DYLD_LIBRARY_PATH
14231 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
14232 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14233 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
14234 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"`
14236 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14243 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14244 soname_spec='${libname}${release}${shared_ext}$major'
14245 shlibpath_var=LD_LIBRARY_PATH
14253 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14254 version_type=freebsd-$objformat
14255 case $version_type in
14257 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14262 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14266 shlibpath_var=LD_LIBRARY_PATH
14269 shlibpath_overrides_runpath=yes
14271 freebsd3.01* | freebsdelf3.01*)
14272 shlibpath_overrides_runpath=yes
14273 hardcode_into_libs=yes
14276 shlibpath_overrides_runpath=no
14277 hardcode_into_libs=yes
14286 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14287 soname_spec='${libname}${release}${shared_ext}$major'
14288 shlibpath_var=LD_LIBRARY_PATH
14289 hardcode_into_libs=yes
14292 hpux9* | hpux10* | hpux11*)
14293 # Give a soname corresponding to the major version so that dld.sl refuses to
14294 # link against other versions.
14298 case "$host_cpu" in
14301 hardcode_into_libs=yes
14302 dynamic_linker="$host_os dld.so"
14303 shlibpath_var=LD_LIBRARY_PATH
14304 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14305 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14306 soname_spec='${libname}${release}${shared_ext}$major'
14307 if test "X$HPUX_IA64_MODE" = X32; then
14308 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14310 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14312 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14316 hardcode_into_libs=yes
14317 dynamic_linker="$host_os dld.sl"
14318 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14319 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14321 soname_spec='${libname}${release}${shared_ext}$major'
14322 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14323 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14327 dynamic_linker="$host_os dld.sl"
14328 shlibpath_var=SHLIB_PATH
14329 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14330 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14331 soname_spec='${libname}${release}${shared_ext}$major'
14334 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14335 postinstall_cmds='chmod 555 $lib'
14338 irix5* | irix6* | nonstopux*)
14340 nonstopux*) version_type=nonstopux ;;
14342 if test "$lt_cv_prog_gnu_ld" = yes; then
14350 soname_spec='${libname}${release}${shared_ext}$major'
14351 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14353 irix5* | nonstopux*)
14354 libsuff= shlibsuff=
14357 case $LD in # libtool.m4 will add one of these switches to LD
14358 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14359 libsuff= shlibsuff= libmagic=32-bit;;
14360 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14361 libsuff=32 shlibsuff=N32 libmagic=N32;;
14362 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14363 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14364 *) libsuff= shlibsuff= libmagic=never-match;;
14368 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14369 shlibpath_overrides_runpath=no
14370 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14371 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14372 hardcode_into_libs=yes
14375 # No shared lib support for Linux oldld, aout, or coff.
14376 linux*oldld* | linux*aout* | linux*coff*)
14380 # This must be Linux ELF.
14385 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14386 soname_spec='${libname}${release}${shared_ext}$major'
14387 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14388 shlibpath_var=LD_LIBRARY_PATH
14389 shlibpath_overrides_runpath=no
14390 # This implies no fast_install, which is unacceptable.
14391 # Some rework will be needed to allow for fast_install
14392 # before this can be enabled.
14393 hardcode_into_libs=yes
14395 # We used to test for /lib/ld.so.1 and disable shared libraries on
14396 # powerpc, because MkLinux only supported shared libraries with the
14397 # GNU dynamic linker. Since this was broken with cross compilers,
14398 # most powerpc-linux boxes support dynamic linking these days and
14399 # people can always --disable-shared, the test was removed, and we
14400 # assume the GNU/Linux dynamic linker is in use.
14401 dynamic_linker='GNU/Linux ld.so'
14408 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14409 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14410 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14411 dynamic_linker='NetBSD (a.out) ld.so'
14413 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14414 soname_spec='${libname}${release}${shared_ext}$major'
14415 dynamic_linker='NetBSD ld.elf_so'
14417 shlibpath_var=LD_LIBRARY_PATH
14418 shlibpath_overrides_runpath=yes
14419 hardcode_into_libs=yes
14424 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14425 shlibpath_var=LD_LIBRARY_PATH
14426 shlibpath_overrides_runpath=yes
14433 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14434 soname_spec='${libname}${release}${shared_ext}$major'
14435 shlibpath_var=LD_LIBRARY_PATH
14436 shlibpath_overrides_runpath=yes
14443 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14444 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14445 shlibpath_var=LD_LIBRARY_PATH
14446 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14448 openbsd2.[89] | openbsd2.[89].*)
14449 shlibpath_overrides_runpath=no
14452 shlibpath_overrides_runpath=yes
14456 shlibpath_overrides_runpath=yes
14461 libname_spec='$name'
14464 library_names_spec='$libname${shared_ext} $libname.a'
14465 dynamic_linker='OS/2 ld.exe'
14466 shlibpath_var=LIBPATH
14469 osf3* | osf4* | osf5*)
14473 soname_spec='${libname}${release}${shared_ext}$major'
14474 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14475 shlibpath_var=LD_LIBRARY_PATH
14476 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14477 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14482 soname_spec='${libname}${release}${shared_ext}$major'
14483 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14484 shlibpath_var=LD_LIBRARY_PATH
14491 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14492 soname_spec='${libname}${release}${shared_ext}$major'
14493 shlibpath_var=LD_LIBRARY_PATH
14494 shlibpath_overrides_runpath=yes
14495 hardcode_into_libs=yes
14496 # ldd complains unless libraries are executable
14497 postinstall_cmds='chmod +x $lib'
14502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14503 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14504 shlibpath_var=LD_LIBRARY_PATH
14505 shlibpath_overrides_runpath=yes
14506 if test "$with_gnu_ld" = yes; then
14512 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14514 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14515 soname_spec='${libname}${release}${shared_ext}$major'
14516 shlibpath_var=LD_LIBRARY_PATH
14517 case $host_vendor in
14519 shlibpath_overrides_runpath=no
14521 export_dynamic_flag_spec='${wl}-Blargedynsym'
14522 runpath_var=LD_RUN_PATH
14530 shlibpath_overrides_runpath=no
14531 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14537 if test -d /usr/nec ;then
14539 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14540 soname_spec='$libname${shared_ext}.$major'
14541 shlibpath_var=LD_LIBRARY_PATH
14547 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14548 soname_spec='${libname}${release}${shared_ext}$major'
14549 shlibpath_var=LD_LIBRARY_PATH
14556 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14557 echo "${ECHO_T}$dynamic_linker" >&6
14558 test "$dynamic_linker" = no && can_build_shared=no
14561 # The else clause should only fire when bootstrapping the
14562 # libtool distribution, otherwise you forgot to ship ltmain.sh
14563 # with your package, and you will get complaints that there are
14564 # no rules to generate ltmain.sh.
14565 if test -f "$ltmain"; then
14566 # See if we are running on zsh, and set the options which allow our commands through
14567 # without removal of \ escapes.
14568 if test -n "${ZSH_VERSION+set}" ; then
14569 setopt NO_GLOB_SUBST
14571 # Now quote all the things that may contain metacharacters while being
14572 # careful not to overquote the AC_SUBSTed values. We take copies of the
14573 # variables and quote the copies for generation of the libtool script.
14574 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
14575 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14576 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14577 deplibs_check_method reload_flag reload_cmds need_locks \
14578 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14579 lt_cv_sys_global_symbol_to_c_name_address \
14580 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14581 old_postinstall_cmds old_postuninstall_cmds \
14585 lt_prog_compiler_wl_F77 \
14586 lt_prog_compiler_pic_F77 \
14587 lt_prog_compiler_static_F77 \
14588 lt_prog_compiler_no_builtin_flag_F77 \
14589 export_dynamic_flag_spec_F77 \
14590 thread_safe_flag_spec_F77 \
14591 whole_archive_flag_spec_F77 \
14592 enable_shared_with_static_runtimes_F77 \
14593 old_archive_cmds_F77 \
14594 old_archive_from_new_cmds_F77 \
14595 predep_objects_F77 \
14596 postdep_objects_F77 \
14599 compiler_lib_search_path_F77 \
14601 archive_expsym_cmds_F77 \
14602 postinstall_cmds_F77 \
14603 postuninstall_cmds_F77 \
14604 old_archive_from_expsyms_cmds_F77 \
14605 allow_undefined_flag_F77 \
14606 no_undefined_flag_F77 \
14607 export_symbols_cmds_F77 \
14608 hardcode_libdir_flag_spec_F77 \
14609 hardcode_libdir_flag_spec_ld_F77 \
14610 hardcode_libdir_separator_F77 \
14611 hardcode_automatic_F77 \
14613 module_expsym_cmds_F77 \
14614 lt_cv_prog_compiler_c_o_F77 \
14615 exclude_expsyms_F77 \
14616 include_expsyms_F77; do
14619 old_archive_cmds_F77 | \
14620 old_archive_from_new_cmds_F77 | \
14621 archive_cmds_F77 | \
14622 archive_expsym_cmds_F77 | \
14623 module_cmds_F77 | \
14624 module_expsym_cmds_F77 | \
14625 old_archive_from_expsyms_cmds_F77 | \
14626 export_symbols_cmds_F77 | \
14627 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14628 postinstall_cmds | postuninstall_cmds | \
14629 old_postinstall_cmds | old_postuninstall_cmds | \
14630 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14631 # Double-quote double-evaled strings.
14632 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14635 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14641 *'\$0 --fallback-echo"')
14642 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14648 cat <<__EOF__ >> "$cfgfile"
14649 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14651 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14653 # Shell to use when invoking shell scripts.
14656 # Whether or not to build shared libraries.
14657 build_libtool_libs=$enable_shared
14659 # Whether or not to build static libraries.
14660 build_old_libs=$enable_static
14662 # Whether or not to add -lc for building shared libraries.
14663 build_libtool_need_lc=$archive_cmds_need_lc_F77
14665 # Whether or not to disallow shared libs when runtime libs are static
14666 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14668 # Whether or not to optimize for fast installation.
14669 fast_install=$enable_fast_install
14672 host_alias=$host_alias
14675 # An echo program that does not interpret backslashes.
14680 AR_FLAGS=$lt_AR_FLAGS
14685 # A language-specific compiler.
14686 CC=$lt_compiler_F77
14688 # Is the compiler the GNU C compiler?
14694 # The linker used to build libraries.
14697 # Whether we need hard or soft links.
14700 # A BSD-compatible nm program.
14703 # A symbol stripping program
14706 # Used to examine libraries when file_magic_cmd begins "file"
14707 MAGIC_CMD=$MAGIC_CMD
14709 # Used on cygwin: DLL creation program.
14712 # Used on cygwin: object dumper.
14715 # Used on cygwin: assembler.
14718 # The name of the directory that contains temporary libtool files.
14721 # How to create reloadable object files.
14722 reload_flag=$lt_reload_flag
14723 reload_cmds=$lt_reload_cmds
14725 # How to pass a linker flag through the compiler.
14726 wl=$lt_lt_prog_compiler_wl_F77
14728 # Object file suffix (normally "o").
14729 objext="$ac_objext"
14731 # Old archive suffix (normally "a").
14734 # Shared library suffix (normally ".so").
14737 # Executable file suffix (normally "").
14740 # Additional compiler flags for building library objects.
14741 pic_flag=$lt_lt_prog_compiler_pic_F77
14744 # What is the maximum length of a command?
14745 max_cmd_len=$lt_cv_sys_max_cmd_len
14747 # Does compiler simultaneously support -c and -o options?
14748 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
14750 # Must we lock files when doing compilation ?
14751 need_locks=$lt_need_locks
14753 # Do we need the lib prefix for modules?
14754 need_lib_prefix=$need_lib_prefix
14756 # Do we need a version for libraries?
14757 need_version=$need_version
14759 # Whether dlopen is supported.
14760 dlopen_support=$enable_dlopen
14762 # Whether dlopen of programs is supported.
14763 dlopen_self=$enable_dlopen_self
14765 # Whether dlopen of statically linked programs is supported.
14766 dlopen_self_static=$enable_dlopen_self_static
14768 # Compiler flag to prevent dynamic linking.
14769 link_static_flag=$lt_lt_prog_compiler_static_F77
14771 # Compiler flag to turn off builtin functions.
14772 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
14774 # Compiler flag to allow reflexive dlopens.
14775 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
14777 # Compiler flag to generate shared objects directly from archives.
14778 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
14780 # Compiler flag to generate thread-safe objects.
14781 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
14783 # Library versioning type.
14784 version_type=$version_type
14786 # Format of library name prefix.
14787 libname_spec=$lt_libname_spec
14789 # List of archive names. First name is the real one, the rest are links.
14790 # The last name is the one that the linker finds with -lNAME.
14791 library_names_spec=$lt_library_names_spec
14793 # The coded name of the library, if different from the real name.
14794 soname_spec=$lt_soname_spec
14796 # Commands used to build and install an old-style archive.
14798 old_archive_cmds=$lt_old_archive_cmds_F77
14799 old_postinstall_cmds=$lt_old_postinstall_cmds
14800 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14802 # Create an old-style archive from a shared archive.
14803 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
14805 # Create a temporary old-style archive to link instead of a shared archive.
14806 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
14808 # Commands used to build and install a shared archive.
14809 archive_cmds=$lt_archive_cmds_F77
14810 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
14811 postinstall_cmds=$lt_postinstall_cmds
14812 postuninstall_cmds=$lt_postuninstall_cmds
14814 # Commands used to build a loadable module (assumed same as above if empty)
14815 module_cmds=$lt_module_cmds_F77
14816 module_expsym_cmds=$lt_module_expsym_cmds_F77
14818 # Commands to strip libraries.
14819 old_striplib=$lt_old_striplib
14820 striplib=$lt_striplib
14822 # Dependencies to place before the objects being linked to create a
14824 predep_objects=$lt_predep_objects_F77
14826 # Dependencies to place after the objects being linked to create a
14828 postdep_objects=$lt_postdep_objects_F77
14830 # Dependencies to place before the objects being linked to create a
14832 predeps=$lt_predeps_F77
14834 # Dependencies to place after the objects being linked to create a
14836 postdeps=$lt_postdeps_F77
14838 # The library search path used internally by the compiler when linking
14839 # a shared library.
14840 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
14842 # Method to check whether dependent libraries are shared objects.
14843 deplibs_check_method=$lt_deplibs_check_method
14845 # Command to use when deplibs_check_method == file_magic.
14846 file_magic_cmd=$lt_file_magic_cmd
14848 # Flag that allows shared libraries with undefined symbols to be built.
14849 allow_undefined_flag=$lt_allow_undefined_flag_F77
14851 # Flag that forces no undefined symbols.
14852 no_undefined_flag=$lt_no_undefined_flag_F77
14854 # Commands used to finish a libtool library installation in a directory.
14855 finish_cmds=$lt_finish_cmds
14857 # Same as above, but a single script fragment to be evaled but not shown.
14858 finish_eval=$lt_finish_eval
14860 # Take the output of nm and produce a listing of raw symbols and C names.
14861 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14863 # Transform the output of nm in a proper C declaration
14864 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14866 # Transform the output of nm in a C name address pair
14867 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14869 # This is the shared library runtime path variable.
14870 runpath_var=$runpath_var
14872 # This is the shared library path variable.
14873 shlibpath_var=$shlibpath_var
14875 # Is shlibpath searched before the hard-coded library search path?
14876 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14878 # How to hardcode a shared library path into an executable.
14879 hardcode_action=$hardcode_action_F77
14881 # Whether we should hardcode library paths into libraries.
14882 hardcode_into_libs=$hardcode_into_libs
14884 # Flag to hardcode \$libdir into a binary during linking.
14885 # This must work even if \$libdir does not exist.
14886 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
14888 # If ld is used when linking, flag to hardcode \$libdir into
14889 # a binary during linking. This must work even if \$libdir does
14891 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
14893 # Whether we need a single -rpath flag with a separated argument.
14894 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
14896 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14897 # resulting binary.
14898 hardcode_direct=$hardcode_direct_F77
14900 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14901 # resulting binary.
14902 hardcode_minus_L=$hardcode_minus_L_F77
14904 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14905 # the resulting binary.
14906 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
14908 # Set to yes if building a shared library automatically hardcodes DIR into the library
14909 # and all subsequent libraries and executables linked against it.
14910 hardcode_automatic=$hardcode_automatic_F77
14912 # Variables whose values should be saved in libtool wrapper scripts and
14913 # restored at relink time.
14914 variables_saved_for_relink="$variables_saved_for_relink"
14916 # Whether libtool must link a program against all its dependency libraries.
14917 link_all_deplibs=$link_all_deplibs_F77
14919 # Compile-time system search path for libraries
14920 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14922 # Run-time system search path for libraries
14923 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14925 # Fix the shell variable \$srcfile for the compiler.
14926 fix_srcfile_path="$fix_srcfile_path_F77"
14928 # Set to yes if exported symbols are required.
14929 always_export_symbols=$always_export_symbols_F77
14931 # The commands to list exported symbols.
14932 export_symbols_cmds=$lt_export_symbols_cmds_F77
14934 # The commands to extract the exported symbol list from a shared archive.
14935 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14937 # Symbols that should not be listed in the preloaded symbols.
14938 exclude_expsyms=$lt_exclude_expsyms_F77
14940 # Symbols that must always be exported.
14941 include_expsyms=$lt_include_expsyms_F77
14943 # ### END LIBTOOL TAG CONFIG: $tagname
14949 # If there is no Makefile yet, we rely on a make rule to execute
14950 # `config.status --recheck' to rerun these tests and create the
14951 # libtool script then.
14952 test -f Makefile && make "$ltmain"
14957 ac_cpp='$CPP $CPPFLAGS'
14958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14970 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
14974 # Source file extension for Java test sources.
14977 # Object file extension for compiled Java test sources.
14981 # Code to be used in simple compile tests
14982 lt_simple_compile_test_code="class foo {}\n"
14984 # Code to be used in simple link tests
14985 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
14987 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14989 # If no C compiler was specified, use CC.
14992 # Allow CC to be a program name with arguments.
14996 # Allow CC to be a program name with arguments.
15002 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15003 archive_cmds_need_lc_GCJ=no
15006 ## There is no encapsulation within the following macros, do not change
15007 ## the running order or otherwise move them around unless you know exactly
15008 ## what you are doing...
15010 lt_prog_compiler_no_builtin_flag_GCJ=
15012 if test "$GCC" = yes; then
15013 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15015 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15016 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15017 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15018 echo $ECHO_N "(cached) $ECHO_C" >&6
15020 lt_cv_prog_compiler_rtti_exceptions=no
15021 ac_outfile=conftest.$ac_objext
15022 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15023 lt_compiler_flag="-fno-rtti -fno-exceptions"
15024 # Insert the option either (1) after the last *FLAGS variable, or
15025 # (2) before a word containing "conftest.", or (3) at the end.
15026 # Note that $ac_compile itself does not contain backslashes and begins
15027 # with a dollar sign (not a hyphen), so the echo should work correctly.
15028 # The option is referenced via a variable to avoid confusing sed.
15029 lt_compile=`echo "$ac_compile" | $SED \
15030 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15031 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15032 -e 's:$: $lt_compiler_flag:'`
15033 (eval echo "\"\$as_me:15033: $lt_compile\"" >&5)
15034 (eval "$lt_compile" 2>conftest.err)
15036 cat conftest.err >&5
15037 echo "$as_me:15037: \$? = $ac_status" >&5
15038 if (exit $ac_status) && test -s "$ac_outfile"; then
15039 # The compiler can only warn and ignore the option if not recognized
15040 # So say no if there are warnings
15041 if test ! -s conftest.err; then
15042 lt_cv_prog_compiler_rtti_exceptions=yes
15048 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15049 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15051 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15052 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15059 lt_prog_compiler_wl_GCJ=
15060 lt_prog_compiler_pic_GCJ=
15061 lt_prog_compiler_static_GCJ=
15063 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15064 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15066 if test "$GCC" = yes; then
15067 lt_prog_compiler_wl_GCJ='-Wl,'
15068 lt_prog_compiler_static_GCJ='-static'
15072 # All AIX code is PIC.
15073 if test "$host_cpu" = ia64; then
15074 # AIX 5 now supports IA64 processor
15075 lt_prog_compiler_static_GCJ='-Bstatic'
15080 # FIXME: we need at least 68020 code to build shared libraries, but
15081 # adding the `-m68020' flag to GCC prevents building anything better,
15083 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15086 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15087 # PIC is the default for these OSes.
15090 mingw* | pw32* | os2*)
15091 # This hack is so that the source file can tell whether it is being
15092 # built for inclusion in a dll (and should export symbols for example).
15093 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15096 darwin* | rhapsody*)
15097 # PIC is the default on this platform
15098 # Common symbols not allowed in MH_DYLIB files
15099 lt_prog_compiler_pic_GCJ='-fno-common'
15103 # Just because we use GCC doesn't mean we suddenly get shared libraries
15104 # on systems that don't support them.
15105 lt_prog_compiler_can_build_shared_GCJ=no
15110 if test -d /usr/nec; then
15111 lt_prog_compiler_pic_GCJ=-Kconform_pic
15116 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15117 # not for PA HP-UX.
15118 case "$host_cpu" in
15123 lt_prog_compiler_pic_GCJ='-fPIC'
15129 lt_prog_compiler_pic_GCJ='-fPIC'
15133 # PORTME Check for flag to pass linker flags through the system compiler.
15136 lt_prog_compiler_wl_GCJ='-Wl,'
15137 if test "$host_cpu" = ia64; then
15138 # AIX 5 now supports IA64 processor
15139 lt_prog_compiler_static_GCJ='-Bstatic'
15141 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15145 mingw* | pw32* | os2*)
15146 # This hack is so that the source file can tell whether it is being
15147 # built for inclusion in a dll (and should export symbols for example).
15148 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15151 hpux9* | hpux10* | hpux11*)
15152 lt_prog_compiler_wl_GCJ='-Wl,'
15153 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15154 # not for PA HP-UX.
15155 case "$host_cpu" in
15160 lt_prog_compiler_pic_GCJ='+Z'
15163 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15164 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15167 irix5* | irix6* | nonstopux*)
15168 lt_prog_compiler_wl_GCJ='-Wl,'
15169 # PIC (with -KPIC) is the default.
15170 lt_prog_compiler_static_GCJ='-non_shared'
15174 lt_prog_compiler_pic_GCJ='-KPIC'
15175 lt_prog_compiler_static_GCJ='-Bstatic'
15181 lt_prog_compiler_wl_GCJ='-Wl,'
15182 lt_prog_compiler_pic_GCJ='-KPIC'
15183 lt_prog_compiler_static_GCJ='-static'
15186 lt_prog_compiler_wl_GCJ='-Wl,'
15187 # All Alpha code is PIC.
15188 lt_prog_compiler_static_GCJ='-non_shared'
15193 osf3* | osf4* | osf5*)
15194 lt_prog_compiler_wl_GCJ='-Wl,'
15195 # All OSF/1 code is PIC.
15196 lt_prog_compiler_static_GCJ='-non_shared'
15200 lt_prog_compiler_pic_GCJ='-Kpic'
15201 lt_prog_compiler_static_GCJ='-dn'
15205 lt_prog_compiler_wl_GCJ='-Wl,'
15206 lt_prog_compiler_pic_GCJ='-KPIC'
15207 lt_prog_compiler_static_GCJ='-Bstatic'
15211 lt_prog_compiler_wl_GCJ='-Qoption ld '
15212 lt_prog_compiler_pic_GCJ='-PIC'
15213 lt_prog_compiler_static_GCJ='-Bstatic'
15216 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15217 lt_prog_compiler_wl_GCJ='-Wl,'
15218 lt_prog_compiler_pic_GCJ='-KPIC'
15219 lt_prog_compiler_static_GCJ='-Bstatic'
15223 if test -d /usr/nec ;then
15224 lt_prog_compiler_pic_GCJ='-Kconform_pic'
15225 lt_prog_compiler_static_GCJ='-Bstatic'
15230 lt_prog_compiler_pic_GCJ='-pic'
15231 lt_prog_compiler_static_GCJ='-Bstatic'
15235 lt_prog_compiler_can_build_shared_GCJ=no
15240 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15241 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15244 # Check to make sure the PIC flag actually works.
15246 if test -n "$lt_prog_compiler_pic_GCJ"; then
15247 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15248 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15249 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15250 echo $ECHO_N "(cached) $ECHO_C" >&6
15252 lt_prog_compiler_pic_works_GCJ=no
15253 ac_outfile=conftest.$ac_objext
15254 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15255 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15256 # Insert the option either (1) after the last *FLAGS variable, or
15257 # (2) before a word containing "conftest.", or (3) at the end.
15258 # Note that $ac_compile itself does not contain backslashes and begins
15259 # with a dollar sign (not a hyphen), so the echo should work correctly.
15260 # The option is referenced via a variable to avoid confusing sed.
15261 lt_compile=`echo "$ac_compile" | $SED \
15262 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15263 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15264 -e 's:$: $lt_compiler_flag:'`
15265 (eval echo "\"\$as_me:15265: $lt_compile\"" >&5)
15266 (eval "$lt_compile" 2>conftest.err)
15268 cat conftest.err >&5
15269 echo "$as_me:15269: \$? = $ac_status" >&5
15270 if (exit $ac_status) && test -s "$ac_outfile"; then
15271 # The compiler can only warn and ignore the option if not recognized
15272 # So say no if there are warnings
15273 if test ! -s conftest.err; then
15274 lt_prog_compiler_pic_works_GCJ=yes
15280 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15281 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15283 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15284 case $lt_prog_compiler_pic_GCJ in
15286 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15289 lt_prog_compiler_pic_GCJ=
15290 lt_prog_compiler_can_build_shared_GCJ=no
15295 # For platforms which do not support PIC, -DPIC is meaningless:
15297 lt_prog_compiler_pic_GCJ=
15300 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15304 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15305 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15306 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15307 echo $ECHO_N "(cached) $ECHO_C" >&6
15309 lt_cv_prog_compiler_c_o_GCJ=no
15310 $rm -r conftest 2>/dev/null
15314 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15316 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15317 # that will create temporary files in the current directory regardless of
15318 # the output directory. Thus, making CWD read-only will cause this test
15319 # to fail, enabling locking or at least warning the user not to do parallel
15323 lt_compiler_flag="-o out/conftest2.$ac_objext"
15324 # Insert the option either (1) after the last *FLAGS variable, or
15325 # (2) before a word containing "conftest.", or (3) at the end.
15326 # Note that $ac_compile itself does not contain backslashes and begins
15327 # with a dollar sign (not a hyphen), so the echo should work correctly.
15328 lt_compile=`echo "$ac_compile" | $SED \
15329 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15330 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15331 -e 's:$: $lt_compiler_flag:'`
15332 (eval echo "\"\$as_me:15332: $lt_compile\"" >&5)
15333 (eval "$lt_compile" 2>out/conftest.err)
15335 cat out/conftest.err >&5
15336 echo "$as_me:15336: \$? = $ac_status" >&5
15337 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15339 # The compiler can only warn and ignore the option if not recognized
15340 # So say no if there are warnings
15341 if test ! -s out/conftest.err; then
15342 lt_cv_prog_compiler_c_o_GCJ=yes
15346 $rm conftest* out/*
15353 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15354 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15357 hard_links="nottested"
15358 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15359 # do not overwrite the value of need_locks provided by the user
15360 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15361 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15364 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15366 ln conftest.a conftest.b 2>&5 || hard_links=no
15367 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15368 echo "$as_me:$LINENO: result: $hard_links" >&5
15369 echo "${ECHO_T}$hard_links" >&6
15370 if test "$hard_links" = no; then
15371 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15372 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15379 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15380 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15383 allow_undefined_flag_GCJ=
15384 enable_shared_with_static_runtimes_GCJ=no
15386 archive_expsym_cmds_GCJ=
15387 old_archive_From_new_cmds_GCJ=
15388 old_archive_from_expsyms_cmds_GCJ=
15389 export_dynamic_flag_spec_GCJ=
15390 whole_archive_flag_spec_GCJ=
15391 thread_safe_flag_spec_GCJ=
15392 hardcode_libdir_flag_spec_GCJ=
15393 hardcode_libdir_flag_spec_ld_GCJ=
15394 hardcode_libdir_separator_GCJ=
15395 hardcode_direct_GCJ=no
15396 hardcode_minus_L_GCJ=no
15397 hardcode_shlibpath_var_GCJ=unsupported
15398 link_all_deplibs_GCJ=unknown
15399 hardcode_automatic_GCJ=no
15401 module_expsym_cmds_GCJ=
15402 always_export_symbols_GCJ=no
15403 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15404 # include_expsyms should be a list of space-separated symbols to be *always*
15405 # included in the symbol list
15406 include_expsyms_GCJ=
15407 # exclude_expsyms can be an extended regexp of symbols to exclude
15408 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15409 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15410 # as well as any symbol that contains `d'.
15411 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15412 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15413 # platforms (ab)use it in PIC code, but their linkers get confused if
15414 # the symbol is explicitly referenced. Since portable code cannot
15415 # rely on this symbol name, it's probably fine to never include it in
15416 # preloaded symbol tables.
15417 extract_expsyms_cmds=
15420 cygwin* | mingw* | pw32*)
15421 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15422 # When not using gcc, we currently assume that we are using
15423 # Microsoft Visual C++.
15424 if test "$GCC" != yes; then
15434 if test "$with_gnu_ld" = yes; then
15435 # If archive_cmds runs LD, not CC, wlarc should be empty
15438 # See if GNU ld supports shared libraries.
15440 aix3* | aix4* | aix5*)
15441 # On AIX/PPC, the GNU linker is very broken
15442 if test "$host_cpu" != ia64; then
15446 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15447 *** to be unable to reliably create shared libraries on AIX.
15448 *** Therefore, libtool is disabling shared libraries support. If you
15449 *** really care for shared libraries, you may want to modify your PATH
15450 *** so that a non-GNU linker is found, and then restart.
15457 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)'
15458 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15459 hardcode_minus_L_GCJ=yes
15461 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15462 # that the semantics of dynamic libraries on AmigaOS, at least up
15463 # to version 4, is to share data among multiple programs linked
15464 # with the same dynamic library. Since this doesn't match the
15465 # behavior of shared libraries on other platforms, we can't use
15471 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15472 allow_undefined_flag_GCJ=unsupported
15473 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15474 # support --undefined. This deserves some investigation. FIXME
15475 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15481 cygwin* | mingw* | pw32*)
15482 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15483 # as there is no search path for DLLs.
15484 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15485 allow_undefined_flag_GCJ=unsupported
15486 always_export_symbols_GCJ=no
15487 enable_shared_with_static_runtimes_GCJ=yes
15488 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15490 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15491 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15492 # If the export-symbols file already is a .def file (1st line
15493 # is EXPORTS), use it as is; otherwise, prepend...
15494 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15495 cp $export_symbols $output_objdir/$soname.def;
15497 echo EXPORTS > $output_objdir/$soname.def;
15498 cat $export_symbols >> $output_objdir/$soname.def;
15500 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15507 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15508 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15511 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15512 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15517 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15521 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15522 *** create shared libraries on Solaris systems. Therefore, libtool
15523 *** is disabling shared libraries support. We urge you to upgrade GNU
15524 *** binutils to release 2.9.1 or newer. Another option is to modify
15525 *** your PATH or compiler configuration so that the native linker is
15526 *** used, and then restart.
15529 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15530 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15531 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15538 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15540 hardcode_direct_GCJ=yes
15541 hardcode_shlibpath_var_GCJ=no
15545 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15546 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15547 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15554 if test "$ld_shlibs_GCJ" = yes; then
15555 runpath_var=LD_RUN_PATH
15556 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15557 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15558 # ancient GNU ld didn't support --whole-archive et. al.
15559 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15560 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15562 whole_archive_flag_spec_GCJ=
15566 # PORTME fill in a description of your system's linker (not GNU ld)
15569 allow_undefined_flag_GCJ=unsupported
15570 always_export_symbols_GCJ=yes
15571 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'
15572 # Note: this linker hardcodes the directories in LIBPATH if there
15573 # are no directories specified by -L.
15574 hardcode_minus_L_GCJ=yes
15575 if test "$GCC" = yes && test -z "$link_static_flag"; then
15576 # Neither direct hardcoding nor static linking is supported with a
15578 hardcode_direct_GCJ=unsupported
15583 if test "$host_cpu" = ia64; then
15584 # On IA64, the linker does run time linking by default, so we don't
15585 # have to do anything special.
15586 aix_use_runtimelinking=no
15587 exp_sym_flag='-Bexport'
15590 # If we're using GNU nm, then we don't want the "-C" option.
15591 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15592 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15593 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'
15595 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'
15597 aix_use_runtimelinking=no
15599 # Test if we are trying to use run time linking or normal
15600 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15601 # need to do runtime linking.
15602 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15603 for ld_flag in $LDFLAGS; do
15604 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15605 aix_use_runtimelinking=yes
15611 exp_sym_flag='-bexport'
15612 no_entry_flag='-bnoentry'
15615 # When large executables or shared objects are built, AIX ld can
15616 # have problems creating the table of contents. If linking a library
15617 # or program results in "error TOC overflow" add -mminimal-toc to
15618 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15619 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15621 archive_cmds_GCJ=''
15622 hardcode_direct_GCJ=yes
15623 hardcode_libdir_separator_GCJ=':'
15624 link_all_deplibs_GCJ=yes
15626 if test "$GCC" = yes; then
15627 case $host_os in aix4.012|aix4.012.*)
15628 # We only want to do this on AIX 4.2 and lower, the check
15629 # below for broken collect2 doesn't work under 4.3+
15630 collect2name=`${CC} -print-prog-name=collect2`
15631 if test -f "$collect2name" && \
15632 strings "$collect2name" | grep resolve_lib_name >/dev/null
15634 # We have reworked collect2
15635 hardcode_direct_GCJ=yes
15637 # We have old collect2
15638 hardcode_direct_GCJ=unsupported
15639 # It fails to find uninstalled libraries when the uninstalled
15640 # path is not listed in the libpath. Setting hardcode_minus_L
15641 # to unsupported forces relinking
15642 hardcode_minus_L_GCJ=yes
15643 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15644 hardcode_libdir_separator_GCJ=
15647 shared_flag='-shared'
15650 if test "$host_cpu" = ia64; then
15651 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15652 # chokes on -Wl,-G. The following line is correct:
15655 if test "$aix_use_runtimelinking" = yes; then
15656 shared_flag='${wl}-G'
15658 shared_flag='${wl}-bM:SRE'
15663 # It seems that -bexpall does not export symbols beginning with
15664 # underscore (_), so it is better to generate a list of symbols to export.
15665 always_export_symbols_GCJ=yes
15666 if test "$aix_use_runtimelinking" = yes; then
15667 # Warning - without using the other runtime loading flags (-brtl),
15668 # -berok will link without error, but may produce a broken library.
15669 allow_undefined_flag_GCJ='-berok'
15670 # Determine the default libpath from the value encoded in an empty executable.
15671 cat >conftest.$ac_ext <<_ACEOF
15672 #line $LINENO "configure"
15675 cat confdefs.h >>conftest.$ac_ext
15676 cat >>conftest.$ac_ext <<_ACEOF
15677 /* end confdefs.h. */
15687 rm -f conftest.$ac_objext conftest$ac_exeext
15688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15689 (eval $ac_link) 2>&5
15691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15692 (exit $ac_status); } &&
15693 { ac_try='test -s conftest$ac_exeext'
15694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15695 (eval $ac_try) 2>&5
15697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15698 (exit $ac_status); }; }; then
15700 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15702 # Check for a 64-bit object if we didn't find anything.
15703 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; }
15706 echo "$as_me: failed program was:" >&5
15707 sed 's/^/| /' conftest.$ac_ext >&5
15710 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15711 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15713 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15714 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"
15716 if test "$host_cpu" = ia64; then
15717 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
15718 allow_undefined_flag_GCJ="-z nodefs"
15719 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"
15721 # Determine the default libpath from the value encoded in an empty executable.
15722 cat >conftest.$ac_ext <<_ACEOF
15723 #line $LINENO "configure"
15726 cat confdefs.h >>conftest.$ac_ext
15727 cat >>conftest.$ac_ext <<_ACEOF
15728 /* end confdefs.h. */
15738 rm -f conftest.$ac_objext conftest$ac_exeext
15739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15740 (eval $ac_link) 2>&5
15742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15743 (exit $ac_status); } &&
15744 { ac_try='test -s conftest$ac_exeext'
15745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15746 (eval $ac_try) 2>&5
15748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15749 (exit $ac_status); }; }; then
15751 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15753 # Check for a 64-bit object if we didn't find anything.
15754 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; }
15757 echo "$as_me: failed program was:" >&5
15758 sed 's/^/| /' conftest.$ac_ext >&5
15761 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15762 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15764 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15765 # Warning - without using the other run time loading flags,
15766 # -berok will link without error, but may produce a broken library.
15767 no_undefined_flag_GCJ=' ${wl}-bernotok'
15768 allow_undefined_flag_GCJ=' ${wl}-berok'
15769 # -bexpall does not export symbols beginning with underscore (_)
15770 always_export_symbols_GCJ=yes
15771 # Exported symbols can be pulled into shared objects from archives
15772 whole_archive_flag_spec_GCJ=' '
15773 archive_cmds_need_lc_GCJ=yes
15774 # This is similar to how AIX traditionally builds it's shared libraries.
15775 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'
15781 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)'
15782 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15783 hardcode_minus_L_GCJ=yes
15784 # see comment about different semantics on the GNU ld section
15789 export_dynamic_flag_spec_GCJ=-rdynamic
15792 cygwin* | mingw* | pw32*)
15793 # When not using gcc, we currently assume that we are using
15794 # Microsoft Visual C++.
15795 # hardcode_libdir_flag_spec is actually meaningless, as there is
15796 # no search path for DLLs.
15797 hardcode_libdir_flag_spec_GCJ=' '
15798 allow_undefined_flag_GCJ=unsupported
15799 # Tell ltmain to make .lib files, not .a files.
15801 # Tell ltmain to make .dll files, not .so files.
15803 # FIXME: Setting linknames here is a bad hack.
15804 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15805 # The linker will automatically build a .lib file if we build a DLL.
15806 old_archive_From_new_cmds_GCJ='true'
15807 # FIXME: Should let the user specify the lib program.
15808 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
15809 fix_srcfile_path='`cygpath -w "$srcfile"`'
15810 enable_shared_with_static_runtimes_GCJ=yes
15813 darwin* | rhapsody*)
15814 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
15815 archive_cmds_need_lc_GCJ=no
15817 rhapsody* | darwin1.[012])
15818 allow_undefined_flag_GCJ='-undefined suppress'
15821 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
15824 # FIXME: Relying on posixy $() will cause problems for
15825 # cross-compilation, but unfortunately the echo tests do not
15826 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
15827 # `"' quotes if we put them in here... so don't!
15828 lt_int_apple_cc_single_mod=no
15829 output_verbose_link_cmd='echo'
15830 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
15831 lt_int_apple_cc_single_mod=yes
15833 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15834 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15836 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'
15838 module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
15839 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15840 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15841 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}'
15843 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}'
15845 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}'
15846 hardcode_direct_GCJ=no
15847 hardcode_automatic_GCJ=yes
15848 hardcode_shlibpath_var_GCJ=unsupported
15849 whole_archive_flag_spec_GCJ='-all_load $convenience'
15850 link_all_deplibs_GCJ=yes
15855 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15856 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15857 hardcode_shlibpath_var_GCJ=no
15864 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15865 # support. Future versions do this automatically, but an explicit c++rt0.o
15866 # does not break anything, and helps significantly (at the cost of a little
15869 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15870 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15871 hardcode_direct_GCJ=yes
15872 hardcode_shlibpath_var_GCJ=no
15875 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15877 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15878 hardcode_direct_GCJ=yes
15879 hardcode_minus_L_GCJ=yes
15880 hardcode_shlibpath_var_GCJ=no
15883 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15885 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15886 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15887 hardcode_direct_GCJ=yes
15888 hardcode_shlibpath_var_GCJ=no
15892 if test "$GCC" = yes; then
15893 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'
15895 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'
15897 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15898 hardcode_libdir_separator_GCJ=:
15899 hardcode_direct_GCJ=yes
15901 # hardcode_minus_L: Not really in the search PATH,
15902 # but as the default location of the library.
15903 hardcode_minus_L_GCJ=yes
15904 export_dynamic_flag_spec_GCJ='${wl}-E'
15908 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15909 case "$host_cpu" in
15911 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15914 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15918 case "$host_cpu" in
15920 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15923 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15927 if test "$with_gnu_ld" = no; then
15928 case "$host_cpu" in
15930 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15931 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
15932 hardcode_libdir_separator_GCJ=:
15933 hardcode_direct_GCJ=no
15934 hardcode_shlibpath_var_GCJ=no
15937 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15938 hardcode_direct_GCJ=no
15939 hardcode_shlibpath_var_GCJ=no
15941 # hardcode_minus_L: Not really in the search PATH,
15942 # but as the default location of the library.
15943 hardcode_minus_L_GCJ=yes
15946 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15947 hardcode_libdir_separator_GCJ=:
15948 hardcode_direct_GCJ=yes
15949 export_dynamic_flag_spec_GCJ='${wl}-E'
15951 # hardcode_minus_L: Not really in the search PATH,
15952 # but as the default location of the library.
15953 hardcode_minus_L_GCJ=yes
15959 irix5* | irix6* | nonstopux*)
15960 if test "$GCC" = yes; then
15961 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'
15963 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'
15964 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
15966 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15967 hardcode_libdir_separator_GCJ=:
15968 link_all_deplibs_GCJ=yes
15972 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15973 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15975 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15977 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15978 hardcode_direct_GCJ=yes
15979 hardcode_shlibpath_var_GCJ=no
15983 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15984 hardcode_direct_GCJ=yes
15985 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15986 hardcode_libdir_separator_GCJ=:
15987 hardcode_shlibpath_var_GCJ=no
15991 hardcode_direct_GCJ=yes
15992 hardcode_shlibpath_var_GCJ=no
15993 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15994 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15995 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
15996 export_dynamic_flag_spec_GCJ='${wl}-E'
15999 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16000 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16001 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16004 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16005 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16012 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16013 hardcode_minus_L_GCJ=yes
16014 allow_undefined_flag_GCJ=unsupported
16015 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'
16016 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16020 if test "$GCC" = yes; then
16021 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16022 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'
16024 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16025 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'
16027 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16028 hardcode_libdir_separator_GCJ=:
16031 osf4* | osf5*) # as osf3* with the addition of -msym flag
16032 if test "$GCC" = yes; then
16033 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16034 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'
16035 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16037 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16038 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'
16039 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~
16040 $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'
16042 # Both c and cxx compiler support -rpath directly
16043 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16045 hardcode_libdir_separator_GCJ=:
16049 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16050 hardcode_shlibpath_var_GCJ=no
16051 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16052 runpath_var=LD_RUN_PATH
16053 hardcode_runpath_var=yes
16057 no_undefined_flag_GCJ=' -z text'
16058 if test "$GCC" = yes; then
16059 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16060 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16061 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16063 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16064 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16065 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16067 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16068 hardcode_shlibpath_var_GCJ=no
16070 solaris2.[0-5] | solaris2.[0-5].*) ;;
16071 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16072 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16074 link_all_deplibs_GCJ=yes
16078 if test "x$host_vendor" = xsequent; then
16079 # Use $CC to link under sequent, because it throws in some extra .o
16080 # files that make .init and .fini sections work.
16081 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16083 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16085 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16086 hardcode_direct_GCJ=yes
16087 hardcode_minus_L_GCJ=yes
16088 hardcode_shlibpath_var_GCJ=no
16092 case $host_vendor in
16094 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16095 hardcode_direct_GCJ=yes # is this really true???
16098 ## LD is ld it makes a PLAMLIB
16099 ## CC just makes a GrossModule.
16100 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16101 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16102 hardcode_direct_GCJ=no
16105 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16106 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16109 runpath_var='LD_RUN_PATH'
16110 hardcode_shlibpath_var_GCJ=no
16114 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16115 hardcode_shlibpath_var_GCJ=no
16116 export_dynamic_flag_spec_GCJ='-Bexport'
16120 if test -d /usr/nec; then
16121 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16122 hardcode_shlibpath_var_GCJ=no
16123 runpath_var=LD_RUN_PATH
16124 hardcode_runpath_var=yes
16130 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16131 hardcode_direct_GCJ=yes
16132 hardcode_minus_L_GCJ=no
16133 hardcode_shlibpath_var_GCJ=no
16134 hardcode_runpath_var=yes
16135 runpath_var=LD_RUN_PATH
16138 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16139 no_undefined_flag_GCJ='${wl}-z ${wl}text'
16140 if test "$GCC" = yes; then
16141 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16143 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16145 runpath_var='LD_RUN_PATH'
16146 hardcode_shlibpath_var_GCJ=no
16150 no_undefined_flag_GCJ=' -z text'
16151 # $CC -shared without GNU ld will not create a library from C++
16152 # object files and a static libstdc++, better avoid it by now
16153 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16154 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16155 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16156 hardcode_libdir_flag_spec_GCJ=
16157 hardcode_shlibpath_var_GCJ=no
16158 runpath_var='LD_RUN_PATH'
16162 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16163 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16164 hardcode_shlibpath_var_GCJ=no
16173 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16174 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16175 test "$ld_shlibs_GCJ" = no && can_build_shared=no
16177 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16178 if test "$GCC" = yes; then
16179 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16183 # Do we need to explicitly link libc?
16185 case "x$archive_cmds_need_lc_GCJ" in
16187 # Assume -lc should be added
16188 archive_cmds_need_lc_GCJ=yes
16190 if test "$enable_shared" = yes && test "$GCC" = yes; then
16191 case $archive_cmds_GCJ in
16193 # FIXME: we may have to deal with multi-command sequences.
16196 # Test whether the compiler implicitly links with -lc since on some
16197 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16198 # to ld, don't add -lc before -lgcc.
16199 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16200 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16202 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16205 (eval $ac_compile) 2>&5
16207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16208 (exit $ac_status); } 2>conftest.err; then
16211 libobjs=conftest.$ac_objext
16213 wl=$lt_prog_compiler_wl_GCJ
16219 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16220 allow_undefined_flag_GCJ=
16221 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16222 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16225 (exit $ac_status); }
16227 archive_cmds_need_lc_GCJ=no
16229 archive_cmds_need_lc_GCJ=yes
16231 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16233 cat conftest.err 1>&5
16236 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16237 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16244 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16245 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16246 hardcode_action_GCJ=
16247 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
16248 test -n "$runpath_var GCJ" || \
16249 test "X$hardcode_automatic_GCJ"="Xyes" ; then
16251 # We can hardcode non-existant directories.
16252 if test "$hardcode_direct_GCJ" != no &&
16253 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16254 # have to relink, otherwise we might link with an installed library
16255 # when we should be linking with a yet-to-be-installed one
16256 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
16257 test "$hardcode_minus_L_GCJ" != no; then
16258 # Linking always hardcodes the temporary library directory.
16259 hardcode_action_GCJ=relink
16261 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16262 hardcode_action_GCJ=immediate
16265 # We cannot hardcode anything, or else we can only hardcode existing
16267 hardcode_action_GCJ=unsupported
16269 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
16270 echo "${ECHO_T}$hardcode_action_GCJ" >&6
16272 if test "$hardcode_action_GCJ" = relink; then
16273 # Fast installation is not supported
16274 enable_fast_install=no
16275 elif test "$shlibpath_overrides_runpath" = yes ||
16276 test "$enable_shared" = no; then
16277 # Fast installation is not necessary
16278 enable_fast_install=needless
16283 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16284 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16285 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16286 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16287 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16288 echo "$as_me:$LINENO: result: yes" >&5
16289 echo "${ECHO_T}yes" >&6
16291 # FIXME - insert some real tests, host_os isn't really good enough
16294 if test -n "$STRIP" ; then
16295 striplib="$STRIP -x"
16296 echo "$as_me:$LINENO: result: yes" >&5
16297 echo "${ECHO_T}yes" >&6
16299 echo "$as_me:$LINENO: result: no" >&5
16300 echo "${ECHO_T}no" >&6
16304 echo "$as_me:$LINENO: result: no" >&5
16305 echo "${ECHO_T}no" >&6
16310 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16311 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16312 library_names_spec=
16313 libname_spec='lib$name'
16317 postuninstall_cmds=
16321 shlibpath_overrides_runpath=unknown
16323 dynamic_linker="$host_os ld.so"
16324 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16325 if test "$GCC" = yes; then
16326 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16327 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16328 # if the path contains ";" then we assume it to be the separator
16329 # otherwise default to the standard path separator (i.e. ":") - it is
16330 # assumed that no part of a normal pathname contains ";" but that should
16331 # okay in the real world where ";" in dirpaths is itself problematic.
16332 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16334 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16337 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16339 need_lib_prefix=unknown
16340 hardcode_into_libs=no
16342 # when you set need_version to no, make sure it does not cause -set_version
16343 # flags to be left without arguments
16344 need_version=unknown
16349 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16350 shlibpath_var=LIBPATH
16352 # AIX 3 has no versioning support, so we append a major version to the name.
16353 soname_spec='${libname}${release}${shared_ext}$major'
16360 hardcode_into_libs=yes
16361 if test "$host_cpu" = ia64; then
16362 # AIX 5 supports IA64
16363 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16364 shlibpath_var=LD_LIBRARY_PATH
16366 # With GCC up to 2.95.x, collect2 would create an import file
16367 # for dependence libraries. The import file would start with
16368 # the line `#! .'. This would cause the generated library to
16369 # depend on `.', always an invalid library. This was fixed in
16370 # development snapshots of GCC prior to 3.0.
16372 aix4 | aix4.[01] | aix4.[01].*)
16373 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16375 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16378 can_build_shared=no
16382 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16383 # soname into executable. Probably we can add versioning support to
16384 # collect2, so additional links can be useful in future.
16385 if test "$aix_use_runtimelinking" = yes; then
16386 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16387 # instead of lib<name>.a to let people know that these are not
16388 # typical AIX shared libraries.
16389 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16391 # We preserve .a as extension for shared libraries through AIX4.2
16392 # and later when we are not doing run time linking.
16393 library_names_spec='${libname}${release}.a $libname.a'
16394 soname_spec='${libname}${release}${shared_ext}$major'
16396 shlibpath_var=LIBPATH
16401 library_names_spec='$libname.ixlibrary $libname.a'
16402 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16403 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'
16407 library_names_spec='${libname}${shared_ext}'
16408 dynamic_linker="$host_os ld.so"
16409 shlibpath_var=LIBRARY_PATH
16415 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16416 soname_spec='${libname}${release}${shared_ext}$major'
16417 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16418 shlibpath_var=LD_LIBRARY_PATH
16419 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16420 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16421 # the default ld.so.conf also contains /usr/contrib/lib and
16422 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16423 # libtool to hard-code these into programs
16426 cygwin* | mingw* | pw32*)
16427 version_type=windows
16432 case $GCC,$host_os in
16433 yes,cygwin* | yes,mingw* | yes,pw32*)
16434 library_names_spec='$libname.dll.a'
16435 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16436 postinstall_cmds='base_file=`basename \${file}`~
16437 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16438 dldir=$destdir/`dirname \$dlpath`~
16439 test -d \$dldir || mkdir -p \$dldir~
16440 $install_prog $dir/$dlname \$dldir/$dlname'
16441 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16442 dlpath=$dir/\$dldll~
16444 shlibpath_overrides_runpath=yes
16448 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16449 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16450 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
16453 # MinGW DLLs use traditional 'lib' prefix
16454 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16455 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16456 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16457 # It is most probably a Windows format PATH printed by
16458 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16459 # path with ; separators, and with drive letters. We can handle the
16460 # drive letters (cygwin fileutils understands them), so leave them,
16461 # especially as we might pass files found there to a mingw objdump,
16462 # which wouldn't understand a cygwinified path. Ahh.
16463 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16465 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16469 # pw32 DLLs use 'pw' prefix rather than 'lib'
16470 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16476 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16479 dynamic_linker='Win32 ld.exe'
16480 # FIXME: first we should search . and the directory the executable is in
16484 darwin* | rhapsody*)
16485 dynamic_linker="$host_os dyld"
16486 version_type=darwin
16489 # FIXME: Relying on posixy $() will cause problems for
16490 # cross-compilation, but unfortunately the echo tests do not
16491 # yet detect zsh echo's removal of \ escapes.
16492 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16493 soname_spec='${libname}${release}${major}$shared_ext'
16494 shlibpath_overrides_runpath=yes
16495 shlibpath_var=DYLD_LIBRARY_PATH
16496 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
16497 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16498 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
16499 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"`
16501 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16508 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16509 soname_spec='${libname}${release}${shared_ext}$major'
16510 shlibpath_var=LD_LIBRARY_PATH
16518 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16519 version_type=freebsd-$objformat
16520 case $version_type in
16522 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16527 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16531 shlibpath_var=LD_LIBRARY_PATH
16534 shlibpath_overrides_runpath=yes
16536 freebsd3.01* | freebsdelf3.01*)
16537 shlibpath_overrides_runpath=yes
16538 hardcode_into_libs=yes
16541 shlibpath_overrides_runpath=no
16542 hardcode_into_libs=yes
16551 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16552 soname_spec='${libname}${release}${shared_ext}$major'
16553 shlibpath_var=LD_LIBRARY_PATH
16554 hardcode_into_libs=yes
16557 hpux9* | hpux10* | hpux11*)
16558 # Give a soname corresponding to the major version so that dld.sl refuses to
16559 # link against other versions.
16563 case "$host_cpu" in
16566 hardcode_into_libs=yes
16567 dynamic_linker="$host_os dld.so"
16568 shlibpath_var=LD_LIBRARY_PATH
16569 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16570 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16571 soname_spec='${libname}${release}${shared_ext}$major'
16572 if test "X$HPUX_IA64_MODE" = X32; then
16573 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16575 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16577 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16581 hardcode_into_libs=yes
16582 dynamic_linker="$host_os dld.sl"
16583 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16584 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16585 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16586 soname_spec='${libname}${release}${shared_ext}$major'
16587 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16588 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16592 dynamic_linker="$host_os dld.sl"
16593 shlibpath_var=SHLIB_PATH
16594 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16595 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16596 soname_spec='${libname}${release}${shared_ext}$major'
16599 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16600 postinstall_cmds='chmod 555 $lib'
16603 irix5* | irix6* | nonstopux*)
16605 nonstopux*) version_type=nonstopux ;;
16607 if test "$lt_cv_prog_gnu_ld" = yes; then
16615 soname_spec='${libname}${release}${shared_ext}$major'
16616 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16618 irix5* | nonstopux*)
16619 libsuff= shlibsuff=
16622 case $LD in # libtool.m4 will add one of these switches to LD
16623 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16624 libsuff= shlibsuff= libmagic=32-bit;;
16625 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16626 libsuff=32 shlibsuff=N32 libmagic=N32;;
16627 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16628 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16629 *) libsuff= shlibsuff= libmagic=never-match;;
16633 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16634 shlibpath_overrides_runpath=no
16635 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16636 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16637 hardcode_into_libs=yes
16640 # No shared lib support for Linux oldld, aout, or coff.
16641 linux*oldld* | linux*aout* | linux*coff*)
16645 # This must be Linux ELF.
16650 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16651 soname_spec='${libname}${release}${shared_ext}$major'
16652 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16653 shlibpath_var=LD_LIBRARY_PATH
16654 shlibpath_overrides_runpath=no
16655 # This implies no fast_install, which is unacceptable.
16656 # Some rework will be needed to allow for fast_install
16657 # before this can be enabled.
16658 hardcode_into_libs=yes
16660 # We used to test for /lib/ld.so.1 and disable shared libraries on
16661 # powerpc, because MkLinux only supported shared libraries with the
16662 # GNU dynamic linker. Since this was broken with cross compilers,
16663 # most powerpc-linux boxes support dynamic linking these days and
16664 # people can always --disable-shared, the test was removed, and we
16665 # assume the GNU/Linux dynamic linker is in use.
16666 dynamic_linker='GNU/Linux ld.so'
16673 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16675 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16676 dynamic_linker='NetBSD (a.out) ld.so'
16678 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16679 soname_spec='${libname}${release}${shared_ext}$major'
16680 dynamic_linker='NetBSD ld.elf_so'
16682 shlibpath_var=LD_LIBRARY_PATH
16683 shlibpath_overrides_runpath=yes
16684 hardcode_into_libs=yes
16689 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16690 shlibpath_var=LD_LIBRARY_PATH
16691 shlibpath_overrides_runpath=yes
16698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16699 soname_spec='${libname}${release}${shared_ext}$major'
16700 shlibpath_var=LD_LIBRARY_PATH
16701 shlibpath_overrides_runpath=yes
16708 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16709 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16710 shlibpath_var=LD_LIBRARY_PATH
16711 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16713 openbsd2.[89] | openbsd2.[89].*)
16714 shlibpath_overrides_runpath=no
16717 shlibpath_overrides_runpath=yes
16721 shlibpath_overrides_runpath=yes
16726 libname_spec='$name'
16729 library_names_spec='$libname${shared_ext} $libname.a'
16730 dynamic_linker='OS/2 ld.exe'
16731 shlibpath_var=LIBPATH
16734 osf3* | osf4* | osf5*)
16738 soname_spec='${libname}${release}${shared_ext}$major'
16739 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16740 shlibpath_var=LD_LIBRARY_PATH
16741 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16742 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16747 soname_spec='${libname}${release}${shared_ext}$major'
16748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16749 shlibpath_var=LD_LIBRARY_PATH
16756 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16757 soname_spec='${libname}${release}${shared_ext}$major'
16758 shlibpath_var=LD_LIBRARY_PATH
16759 shlibpath_overrides_runpath=yes
16760 hardcode_into_libs=yes
16761 # ldd complains unless libraries are executable
16762 postinstall_cmds='chmod +x $lib'
16767 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16768 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16769 shlibpath_var=LD_LIBRARY_PATH
16770 shlibpath_overrides_runpath=yes
16771 if test "$with_gnu_ld" = yes; then
16777 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16780 soname_spec='${libname}${release}${shared_ext}$major'
16781 shlibpath_var=LD_LIBRARY_PATH
16782 case $host_vendor in
16784 shlibpath_overrides_runpath=no
16786 export_dynamic_flag_spec='${wl}-Blargedynsym'
16787 runpath_var=LD_RUN_PATH
16795 shlibpath_overrides_runpath=no
16796 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16802 if test -d /usr/nec ;then
16804 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16805 soname_spec='$libname${shared_ext}.$major'
16806 shlibpath_var=LD_LIBRARY_PATH
16812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16813 soname_spec='${libname}${release}${shared_ext}$major'
16814 shlibpath_var=LD_LIBRARY_PATH
16821 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16822 echo "${ECHO_T}$dynamic_linker" >&6
16823 test "$dynamic_linker" = no && can_build_shared=no
16825 if test "x$enable_dlopen" != xyes; then
16826 enable_dlopen=unknown
16827 enable_dlopen_self=unknown
16828 enable_dlopen_self_static=unknown
16835 lt_cv_dlopen="load_add_on"
16837 lt_cv_dlopen_self=yes
16841 lt_cv_dlopen="LoadLibrary"
16846 lt_cv_dlopen="dlopen"
16851 # if libdl is installed we need to link against it
16852 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16853 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16854 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16855 echo $ECHO_N "(cached) $ECHO_C" >&6
16857 ac_check_lib_save_LIBS=$LIBS
16859 cat >conftest.$ac_ext <<_ACEOF
16860 #line $LINENO "configure"
16863 cat confdefs.h >>conftest.$ac_ext
16864 cat >>conftest.$ac_ext <<_ACEOF
16865 /* end confdefs.h. */
16867 /* Override any gcc2 internal prototype to avoid an error. */
16871 /* We use char because int might match the return type of a gcc2
16872 builtin and then its argument prototype would still apply. */
16882 rm -f conftest.$ac_objext conftest$ac_exeext
16883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16884 (eval $ac_link) 2>&5
16886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16887 (exit $ac_status); } &&
16888 { ac_try='test -s conftest$ac_exeext'
16889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16890 (eval $ac_try) 2>&5
16892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16893 (exit $ac_status); }; }; then
16894 ac_cv_lib_dl_dlopen=yes
16896 echo "$as_me: failed program was:" >&5
16897 sed 's/^/| /' conftest.$ac_ext >&5
16899 ac_cv_lib_dl_dlopen=no
16901 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16902 LIBS=$ac_check_lib_save_LIBS
16904 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16905 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16906 if test $ac_cv_lib_dl_dlopen = yes; then
16907 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16910 lt_cv_dlopen="dyld"
16912 lt_cv_dlopen_self=yes
16919 echo "$as_me:$LINENO: checking for shl_load" >&5
16920 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
16921 if test "${ac_cv_func_shl_load+set}" = set; then
16922 echo $ECHO_N "(cached) $ECHO_C" >&6
16924 cat >conftest.$ac_ext <<_ACEOF
16925 #line $LINENO "configure"
16928 cat confdefs.h >>conftest.$ac_ext
16929 cat >>conftest.$ac_ext <<_ACEOF
16930 /* end confdefs.h. */
16931 /* System header to define __stub macros and hopefully few prototypes,
16932 which can conflict with char shl_load (); below.
16933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16934 <limits.h> exists even on freestanding compilers. */
16936 # include <limits.h>
16938 # include <assert.h>
16940 /* Override any gcc2 internal prototype to avoid an error. */
16945 /* We use char because int might match the return type of a gcc2
16946 builtin and then its argument prototype would still apply. */
16948 /* The GNU C library defines this for functions which it implements
16949 to always fail with ENOSYS. Some functions are actually named
16950 something starting with __ and the normal name is an alias. */
16951 #if defined (__stub_shl_load) || defined (__stub___shl_load)
16954 char (*f) () = shl_load;
16963 return f != shl_load;
16968 rm -f conftest.$ac_objext conftest$ac_exeext
16969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16970 (eval $ac_link) 2>&5
16972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16973 (exit $ac_status); } &&
16974 { ac_try='test -s conftest$ac_exeext'
16975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16976 (eval $ac_try) 2>&5
16978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16979 (exit $ac_status); }; }; then
16980 ac_cv_func_shl_load=yes
16982 echo "$as_me: failed program was:" >&5
16983 sed 's/^/| /' conftest.$ac_ext >&5
16985 ac_cv_func_shl_load=no
16987 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16989 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
16990 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
16991 if test $ac_cv_func_shl_load = yes; then
16992 lt_cv_dlopen="shl_load"
16994 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
16995 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
16996 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
16997 echo $ECHO_N "(cached) $ECHO_C" >&6
16999 ac_check_lib_save_LIBS=$LIBS
17001 cat >conftest.$ac_ext <<_ACEOF
17002 #line $LINENO "configure"
17005 cat confdefs.h >>conftest.$ac_ext
17006 cat >>conftest.$ac_ext <<_ACEOF
17007 /* end confdefs.h. */
17009 /* Override any gcc2 internal prototype to avoid an error. */
17013 /* We use char because int might match the return type of a gcc2
17014 builtin and then its argument prototype would still apply. */
17024 rm -f conftest.$ac_objext conftest$ac_exeext
17025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17026 (eval $ac_link) 2>&5
17028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17029 (exit $ac_status); } &&
17030 { ac_try='test -s conftest$ac_exeext'
17031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17032 (eval $ac_try) 2>&5
17034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17035 (exit $ac_status); }; }; then
17036 ac_cv_lib_dld_shl_load=yes
17038 echo "$as_me: failed program was:" >&5
17039 sed 's/^/| /' conftest.$ac_ext >&5
17041 ac_cv_lib_dld_shl_load=no
17043 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17044 LIBS=$ac_check_lib_save_LIBS
17046 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17047 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17048 if test $ac_cv_lib_dld_shl_load = yes; then
17049 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17051 echo "$as_me:$LINENO: checking for dlopen" >&5
17052 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17053 if test "${ac_cv_func_dlopen+set}" = set; then
17054 echo $ECHO_N "(cached) $ECHO_C" >&6
17056 cat >conftest.$ac_ext <<_ACEOF
17057 #line $LINENO "configure"
17060 cat confdefs.h >>conftest.$ac_ext
17061 cat >>conftest.$ac_ext <<_ACEOF
17062 /* end confdefs.h. */
17063 /* System header to define __stub macros and hopefully few prototypes,
17064 which can conflict with char dlopen (); below.
17065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17066 <limits.h> exists even on freestanding compilers. */
17068 # include <limits.h>
17070 # include <assert.h>
17072 /* Override any gcc2 internal prototype to avoid an error. */
17077 /* We use char because int might match the return type of a gcc2
17078 builtin and then its argument prototype would still apply. */
17080 /* The GNU C library defines this for functions which it implements
17081 to always fail with ENOSYS. Some functions are actually named
17082 something starting with __ and the normal name is an alias. */
17083 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17086 char (*f) () = dlopen;
17095 return f != dlopen;
17100 rm -f conftest.$ac_objext conftest$ac_exeext
17101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17102 (eval $ac_link) 2>&5
17104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17105 (exit $ac_status); } &&
17106 { ac_try='test -s conftest$ac_exeext'
17107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17108 (eval $ac_try) 2>&5
17110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17111 (exit $ac_status); }; }; then
17112 ac_cv_func_dlopen=yes
17114 echo "$as_me: failed program was:" >&5
17115 sed 's/^/| /' conftest.$ac_ext >&5
17117 ac_cv_func_dlopen=no
17119 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17121 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17122 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17123 if test $ac_cv_func_dlopen = yes; then
17124 lt_cv_dlopen="dlopen"
17126 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17127 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17128 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17129 echo $ECHO_N "(cached) $ECHO_C" >&6
17131 ac_check_lib_save_LIBS=$LIBS
17133 cat >conftest.$ac_ext <<_ACEOF
17134 #line $LINENO "configure"
17137 cat confdefs.h >>conftest.$ac_ext
17138 cat >>conftest.$ac_ext <<_ACEOF
17139 /* end confdefs.h. */
17141 /* Override any gcc2 internal prototype to avoid an error. */
17145 /* We use char because int might match the return type of a gcc2
17146 builtin and then its argument prototype would still apply. */
17156 rm -f conftest.$ac_objext conftest$ac_exeext
17157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17158 (eval $ac_link) 2>&5
17160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17161 (exit $ac_status); } &&
17162 { ac_try='test -s conftest$ac_exeext'
17163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17164 (eval $ac_try) 2>&5
17166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17167 (exit $ac_status); }; }; then
17168 ac_cv_lib_dl_dlopen=yes
17170 echo "$as_me: failed program was:" >&5
17171 sed 's/^/| /' conftest.$ac_ext >&5
17173 ac_cv_lib_dl_dlopen=no
17175 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17176 LIBS=$ac_check_lib_save_LIBS
17178 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17179 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17180 if test $ac_cv_lib_dl_dlopen = yes; then
17181 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17183 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17184 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17185 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17186 echo $ECHO_N "(cached) $ECHO_C" >&6
17188 ac_check_lib_save_LIBS=$LIBS
17189 LIBS="-lsvld $LIBS"
17190 cat >conftest.$ac_ext <<_ACEOF
17191 #line $LINENO "configure"
17194 cat confdefs.h >>conftest.$ac_ext
17195 cat >>conftest.$ac_ext <<_ACEOF
17196 /* end confdefs.h. */
17198 /* Override any gcc2 internal prototype to avoid an error. */
17202 /* We use char because int might match the return type of a gcc2
17203 builtin and then its argument prototype would still apply. */
17213 rm -f conftest.$ac_objext conftest$ac_exeext
17214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17215 (eval $ac_link) 2>&5
17217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17218 (exit $ac_status); } &&
17219 { ac_try='test -s conftest$ac_exeext'
17220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17221 (eval $ac_try) 2>&5
17223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17224 (exit $ac_status); }; }; then
17225 ac_cv_lib_svld_dlopen=yes
17227 echo "$as_me: failed program was:" >&5
17228 sed 's/^/| /' conftest.$ac_ext >&5
17230 ac_cv_lib_svld_dlopen=no
17232 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17233 LIBS=$ac_check_lib_save_LIBS
17235 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17236 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17237 if test $ac_cv_lib_svld_dlopen = yes; then
17238 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17240 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17241 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17242 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17243 echo $ECHO_N "(cached) $ECHO_C" >&6
17245 ac_check_lib_save_LIBS=$LIBS
17247 cat >conftest.$ac_ext <<_ACEOF
17248 #line $LINENO "configure"
17251 cat confdefs.h >>conftest.$ac_ext
17252 cat >>conftest.$ac_ext <<_ACEOF
17253 /* end confdefs.h. */
17255 /* Override any gcc2 internal prototype to avoid an error. */
17259 /* We use char because int might match the return type of a gcc2
17260 builtin and then its argument prototype would still apply. */
17270 rm -f conftest.$ac_objext conftest$ac_exeext
17271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17272 (eval $ac_link) 2>&5
17274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17275 (exit $ac_status); } &&
17276 { ac_try='test -s conftest$ac_exeext'
17277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17278 (eval $ac_try) 2>&5
17280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17281 (exit $ac_status); }; }; then
17282 ac_cv_lib_dld_dld_link=yes
17284 echo "$as_me: failed program was:" >&5
17285 sed 's/^/| /' conftest.$ac_ext >&5
17287 ac_cv_lib_dld_dld_link=no
17289 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17290 LIBS=$ac_check_lib_save_LIBS
17292 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17293 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17294 if test $ac_cv_lib_dld_dld_link = yes; then
17295 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17316 if test "x$lt_cv_dlopen" != xno; then
17322 case $lt_cv_dlopen in
17324 save_CPPFLAGS="$CPPFLAGS"
17325 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17327 save_LDFLAGS="$LDFLAGS"
17328 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17331 LIBS="$lt_cv_dlopen_libs $LIBS"
17333 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17334 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17335 if test "${lt_cv_dlopen_self+set}" = set; then
17336 echo $ECHO_N "(cached) $ECHO_C" >&6
17338 if test "$cross_compiling" = yes; then :
17339 lt_cv_dlopen_self=cross
17341 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17342 lt_status=$lt_dlunknown
17343 cat > conftest.$ac_ext <<EOF
17344 #line 17344 "configure"
17345 #include "confdefs.h"
17354 # define LT_DLGLOBAL RTLD_GLOBAL
17357 # define LT_DLGLOBAL DL_GLOBAL
17359 # define LT_DLGLOBAL 0
17363 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17364 find out it does not work in some platform. */
17365 #ifndef LT_DLLAZY_OR_NOW
17367 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17370 # define LT_DLLAZY_OR_NOW DL_LAZY
17373 # define LT_DLLAZY_OR_NOW RTLD_NOW
17376 # define LT_DLLAZY_OR_NOW DL_NOW
17378 # define LT_DLLAZY_OR_NOW 0
17386 extern "C" void exit (int);
17389 void fnord() { int i=42;}
17392 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17393 int status = $lt_dlunknown;
17397 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17398 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17399 /* dlclose (self); */
17405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17406 (eval $ac_link) 2>&5
17408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17410 (./conftest; exit; ) 2>/dev/null
17412 case x$lt_status in
17413 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17414 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17415 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
17418 # compilation failed
17419 lt_cv_dlopen_self=no
17426 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17427 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17429 if test "x$lt_cv_dlopen_self" = xyes; then
17430 LDFLAGS="$LDFLAGS $link_static_flag"
17431 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17432 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17433 if test "${lt_cv_dlopen_self_static+set}" = set; then
17434 echo $ECHO_N "(cached) $ECHO_C" >&6
17436 if test "$cross_compiling" = yes; then :
17437 lt_cv_dlopen_self_static=cross
17439 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17440 lt_status=$lt_dlunknown
17441 cat > conftest.$ac_ext <<EOF
17442 #line 17442 "configure"
17443 #include "confdefs.h"
17452 # define LT_DLGLOBAL RTLD_GLOBAL
17455 # define LT_DLGLOBAL DL_GLOBAL
17457 # define LT_DLGLOBAL 0
17461 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17462 find out it does not work in some platform. */
17463 #ifndef LT_DLLAZY_OR_NOW
17465 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17468 # define LT_DLLAZY_OR_NOW DL_LAZY
17471 # define LT_DLLAZY_OR_NOW RTLD_NOW
17474 # define LT_DLLAZY_OR_NOW DL_NOW
17476 # define LT_DLLAZY_OR_NOW 0
17484 extern "C" void exit (int);
17487 void fnord() { int i=42;}
17490 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17491 int status = $lt_dlunknown;
17495 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17496 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17497 /* dlclose (self); */
17503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17504 (eval $ac_link) 2>&5
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17508 (./conftest; exit; ) 2>/dev/null
17510 case x$lt_status in
17511 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17512 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17513 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
17516 # compilation failed
17517 lt_cv_dlopen_self_static=no
17524 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17525 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17528 CPPFLAGS="$save_CPPFLAGS"
17529 LDFLAGS="$save_LDFLAGS"
17534 case $lt_cv_dlopen_self in
17535 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17536 *) enable_dlopen_self=unknown ;;
17539 case $lt_cv_dlopen_self_static in
17540 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17541 *) enable_dlopen_self_static=unknown ;;
17546 # The else clause should only fire when bootstrapping the
17547 # libtool distribution, otherwise you forgot to ship ltmain.sh
17548 # with your package, and you will get complaints that there are
17549 # no rules to generate ltmain.sh.
17550 if test -f "$ltmain"; then
17551 # See if we are running on zsh, and set the options which allow our commands through
17552 # without removal of \ escapes.
17553 if test -n "${ZSH_VERSION+set}" ; then
17554 setopt NO_GLOB_SUBST
17556 # Now quote all the things that may contain metacharacters while being
17557 # careful not to overquote the AC_SUBSTed values. We take copies of the
17558 # variables and quote the copies for generation of the libtool script.
17559 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17560 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17561 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17562 deplibs_check_method reload_flag reload_cmds need_locks \
17563 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17564 lt_cv_sys_global_symbol_to_c_name_address \
17565 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17566 old_postinstall_cmds old_postuninstall_cmds \
17570 lt_prog_compiler_wl_GCJ \
17571 lt_prog_compiler_pic_GCJ \
17572 lt_prog_compiler_static_GCJ \
17573 lt_prog_compiler_no_builtin_flag_GCJ \
17574 export_dynamic_flag_spec_GCJ \
17575 thread_safe_flag_spec_GCJ \
17576 whole_archive_flag_spec_GCJ \
17577 enable_shared_with_static_runtimes_GCJ \
17578 old_archive_cmds_GCJ \
17579 old_archive_from_new_cmds_GCJ \
17580 predep_objects_GCJ \
17581 postdep_objects_GCJ \
17584 compiler_lib_search_path_GCJ \
17586 archive_expsym_cmds_GCJ \
17587 postinstall_cmds_GCJ \
17588 postuninstall_cmds_GCJ \
17589 old_archive_from_expsyms_cmds_GCJ \
17590 allow_undefined_flag_GCJ \
17591 no_undefined_flag_GCJ \
17592 export_symbols_cmds_GCJ \
17593 hardcode_libdir_flag_spec_GCJ \
17594 hardcode_libdir_flag_spec_ld_GCJ \
17595 hardcode_libdir_separator_GCJ \
17596 hardcode_automatic_GCJ \
17598 module_expsym_cmds_GCJ \
17599 lt_cv_prog_compiler_c_o_GCJ \
17600 exclude_expsyms_GCJ \
17601 include_expsyms_GCJ; do
17604 old_archive_cmds_GCJ | \
17605 old_archive_from_new_cmds_GCJ | \
17606 archive_cmds_GCJ | \
17607 archive_expsym_cmds_GCJ | \
17608 module_cmds_GCJ | \
17609 module_expsym_cmds_GCJ | \
17610 old_archive_from_expsyms_cmds_GCJ | \
17611 export_symbols_cmds_GCJ | \
17612 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17613 postinstall_cmds | postuninstall_cmds | \
17614 old_postinstall_cmds | old_postuninstall_cmds | \
17615 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17616 # Double-quote double-evaled strings.
17617 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17620 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17626 *'\$0 --fallback-echo"')
17627 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17633 cat <<__EOF__ >> "$cfgfile"
17634 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17636 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17638 # Shell to use when invoking shell scripts.
17641 # Whether or not to build shared libraries.
17642 build_libtool_libs=$enable_shared
17644 # Whether or not to build static libraries.
17645 build_old_libs=$enable_static
17647 # Whether or not to add -lc for building shared libraries.
17648 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17650 # Whether or not to disallow shared libs when runtime libs are static
17651 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17653 # Whether or not to optimize for fast installation.
17654 fast_install=$enable_fast_install
17657 host_alias=$host_alias
17660 # An echo program that does not interpret backslashes.
17665 AR_FLAGS=$lt_AR_FLAGS
17670 # A language-specific compiler.
17671 CC=$lt_compiler_GCJ
17673 # Is the compiler the GNU C compiler?
17679 # The linker used to build libraries.
17682 # Whether we need hard or soft links.
17685 # A BSD-compatible nm program.
17688 # A symbol stripping program
17691 # Used to examine libraries when file_magic_cmd begins "file"
17692 MAGIC_CMD=$MAGIC_CMD
17694 # Used on cygwin: DLL creation program.
17697 # Used on cygwin: object dumper.
17700 # Used on cygwin: assembler.
17703 # The name of the directory that contains temporary libtool files.
17706 # How to create reloadable object files.
17707 reload_flag=$lt_reload_flag
17708 reload_cmds=$lt_reload_cmds
17710 # How to pass a linker flag through the compiler.
17711 wl=$lt_lt_prog_compiler_wl_GCJ
17713 # Object file suffix (normally "o").
17714 objext="$ac_objext"
17716 # Old archive suffix (normally "a").
17719 # Shared library suffix (normally ".so").
17722 # Executable file suffix (normally "").
17725 # Additional compiler flags for building library objects.
17726 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17729 # What is the maximum length of a command?
17730 max_cmd_len=$lt_cv_sys_max_cmd_len
17732 # Does compiler simultaneously support -c and -o options?
17733 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17735 # Must we lock files when doing compilation ?
17736 need_locks=$lt_need_locks
17738 # Do we need the lib prefix for modules?
17739 need_lib_prefix=$need_lib_prefix
17741 # Do we need a version for libraries?
17742 need_version=$need_version
17744 # Whether dlopen is supported.
17745 dlopen_support=$enable_dlopen
17747 # Whether dlopen of programs is supported.
17748 dlopen_self=$enable_dlopen_self
17750 # Whether dlopen of statically linked programs is supported.
17751 dlopen_self_static=$enable_dlopen_self_static
17753 # Compiler flag to prevent dynamic linking.
17754 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17756 # Compiler flag to turn off builtin functions.
17757 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17759 # Compiler flag to allow reflexive dlopens.
17760 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17762 # Compiler flag to generate shared objects directly from archives.
17763 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17765 # Compiler flag to generate thread-safe objects.
17766 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17768 # Library versioning type.
17769 version_type=$version_type
17771 # Format of library name prefix.
17772 libname_spec=$lt_libname_spec
17774 # List of archive names. First name is the real one, the rest are links.
17775 # The last name is the one that the linker finds with -lNAME.
17776 library_names_spec=$lt_library_names_spec
17778 # The coded name of the library, if different from the real name.
17779 soname_spec=$lt_soname_spec
17781 # Commands used to build and install an old-style archive.
17783 old_archive_cmds=$lt_old_archive_cmds_GCJ
17784 old_postinstall_cmds=$lt_old_postinstall_cmds
17785 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17787 # Create an old-style archive from a shared archive.
17788 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17790 # Create a temporary old-style archive to link instead of a shared archive.
17791 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17793 # Commands used to build and install a shared archive.
17794 archive_cmds=$lt_archive_cmds_GCJ
17795 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17796 postinstall_cmds=$lt_postinstall_cmds
17797 postuninstall_cmds=$lt_postuninstall_cmds
17799 # Commands used to build a loadable module (assumed same as above if empty)
17800 module_cmds=$lt_module_cmds_GCJ
17801 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17803 # Commands to strip libraries.
17804 old_striplib=$lt_old_striplib
17805 striplib=$lt_striplib
17807 # Dependencies to place before the objects being linked to create a
17809 predep_objects=$lt_predep_objects_GCJ
17811 # Dependencies to place after the objects being linked to create a
17813 postdep_objects=$lt_postdep_objects_GCJ
17815 # Dependencies to place before the objects being linked to create a
17817 predeps=$lt_predeps_GCJ
17819 # Dependencies to place after the objects being linked to create a
17821 postdeps=$lt_postdeps_GCJ
17823 # The library search path used internally by the compiler when linking
17824 # a shared library.
17825 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17827 # Method to check whether dependent libraries are shared objects.
17828 deplibs_check_method=$lt_deplibs_check_method
17830 # Command to use when deplibs_check_method == file_magic.
17831 file_magic_cmd=$lt_file_magic_cmd
17833 # Flag that allows shared libraries with undefined symbols to be built.
17834 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17836 # Flag that forces no undefined symbols.
17837 no_undefined_flag=$lt_no_undefined_flag_GCJ
17839 # Commands used to finish a libtool library installation in a directory.
17840 finish_cmds=$lt_finish_cmds
17842 # Same as above, but a single script fragment to be evaled but not shown.
17843 finish_eval=$lt_finish_eval
17845 # Take the output of nm and produce a listing of raw symbols and C names.
17846 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17848 # Transform the output of nm in a proper C declaration
17849 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17851 # Transform the output of nm in a C name address pair
17852 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17854 # This is the shared library runtime path variable.
17855 runpath_var=$runpath_var
17857 # This is the shared library path variable.
17858 shlibpath_var=$shlibpath_var
17860 # Is shlibpath searched before the hard-coded library search path?
17861 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17863 # How to hardcode a shared library path into an executable.
17864 hardcode_action=$hardcode_action_GCJ
17866 # Whether we should hardcode library paths into libraries.
17867 hardcode_into_libs=$hardcode_into_libs
17869 # Flag to hardcode \$libdir into a binary during linking.
17870 # This must work even if \$libdir does not exist.
17871 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17873 # If ld is used when linking, flag to hardcode \$libdir into
17874 # a binary during linking. This must work even if \$libdir does
17876 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17878 # Whether we need a single -rpath flag with a separated argument.
17879 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17881 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17882 # resulting binary.
17883 hardcode_direct=$hardcode_direct_GCJ
17885 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17886 # resulting binary.
17887 hardcode_minus_L=$hardcode_minus_L_GCJ
17889 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17890 # the resulting binary.
17891 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17893 # Set to yes if building a shared library automatically hardcodes DIR into the library
17894 # and all subsequent libraries and executables linked against it.
17895 hardcode_automatic=$hardcode_automatic_GCJ
17897 # Variables whose values should be saved in libtool wrapper scripts and
17898 # restored at relink time.
17899 variables_saved_for_relink="$variables_saved_for_relink"
17901 # Whether libtool must link a program against all its dependency libraries.
17902 link_all_deplibs=$link_all_deplibs_GCJ
17904 # Compile-time system search path for libraries
17905 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17907 # Run-time system search path for libraries
17908 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17910 # Fix the shell variable \$srcfile for the compiler.
17911 fix_srcfile_path="$fix_srcfile_path_GCJ"
17913 # Set to yes if exported symbols are required.
17914 always_export_symbols=$always_export_symbols_GCJ
17916 # The commands to list exported symbols.
17917 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17919 # The commands to extract the exported symbol list from a shared archive.
17920 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17922 # Symbols that should not be listed in the preloaded symbols.
17923 exclude_expsyms=$lt_exclude_expsyms_GCJ
17925 # Symbols that must always be exported.
17926 include_expsyms=$lt_include_expsyms_GCJ
17928 # ### END LIBTOOL TAG CONFIG: $tagname
17934 # If there is no Makefile yet, we rely on a make rule to execute
17935 # `config.status --recheck' to rerun these tests and create the
17936 # libtool script then.
17937 test -f Makefile && make "$ltmain"
17942 ac_cpp='$CPP $CPPFLAGS'
17943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17958 # Source file extension for RC test sources.
17961 # Object file extension for compiled RC test sources.
17965 # Code to be used in simple compile tests
17966 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
17968 # Code to be used in simple link tests
17969 lt_simple_link_test_code="$lt_simple_compile_test_code"
17971 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17973 # If no C compiler was specified, use CC.
17976 # Allow CC to be a program name with arguments.
17980 # Allow CC to be a program name with arguments.
17985 lt_cv_prog_compiler_c_o_RC=yes
17987 # The else clause should only fire when bootstrapping the
17988 # libtool distribution, otherwise you forgot to ship ltmain.sh
17989 # with your package, and you will get complaints that there are
17990 # no rules to generate ltmain.sh.
17991 if test -f "$ltmain"; then
17992 # See if we are running on zsh, and set the options which allow our commands through
17993 # without removal of \ escapes.
17994 if test -n "${ZSH_VERSION+set}" ; then
17995 setopt NO_GLOB_SUBST
17997 # Now quote all the things that may contain metacharacters while being
17998 # careful not to overquote the AC_SUBSTed values. We take copies of the
17999 # variables and quote the copies for generation of the libtool script.
18000 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18001 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18002 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18003 deplibs_check_method reload_flag reload_cmds need_locks \
18004 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18005 lt_cv_sys_global_symbol_to_c_name_address \
18006 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18007 old_postinstall_cmds old_postuninstall_cmds \
18011 lt_prog_compiler_wl_RC \
18012 lt_prog_compiler_pic_RC \
18013 lt_prog_compiler_static_RC \
18014 lt_prog_compiler_no_builtin_flag_RC \
18015 export_dynamic_flag_spec_RC \
18016 thread_safe_flag_spec_RC \
18017 whole_archive_flag_spec_RC \
18018 enable_shared_with_static_runtimes_RC \
18019 old_archive_cmds_RC \
18020 old_archive_from_new_cmds_RC \
18021 predep_objects_RC \
18022 postdep_objects_RC \
18025 compiler_lib_search_path_RC \
18027 archive_expsym_cmds_RC \
18028 postinstall_cmds_RC \
18029 postuninstall_cmds_RC \
18030 old_archive_from_expsyms_cmds_RC \
18031 allow_undefined_flag_RC \
18032 no_undefined_flag_RC \
18033 export_symbols_cmds_RC \
18034 hardcode_libdir_flag_spec_RC \
18035 hardcode_libdir_flag_spec_ld_RC \
18036 hardcode_libdir_separator_RC \
18037 hardcode_automatic_RC \
18039 module_expsym_cmds_RC \
18040 lt_cv_prog_compiler_c_o_RC \
18041 exclude_expsyms_RC \
18042 include_expsyms_RC; do
18045 old_archive_cmds_RC | \
18046 old_archive_from_new_cmds_RC | \
18047 archive_cmds_RC | \
18048 archive_expsym_cmds_RC | \
18050 module_expsym_cmds_RC | \
18051 old_archive_from_expsyms_cmds_RC | \
18052 export_symbols_cmds_RC | \
18053 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18054 postinstall_cmds | postuninstall_cmds | \
18055 old_postinstall_cmds | old_postuninstall_cmds | \
18056 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18057 # Double-quote double-evaled strings.
18058 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18061 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18067 *'\$0 --fallback-echo"')
18068 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18074 cat <<__EOF__ >> "$cfgfile"
18075 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18077 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18079 # Shell to use when invoking shell scripts.
18082 # Whether or not to build shared libraries.
18083 build_libtool_libs=$enable_shared
18085 # Whether or not to build static libraries.
18086 build_old_libs=$enable_static
18088 # Whether or not to add -lc for building shared libraries.
18089 build_libtool_need_lc=$archive_cmds_need_lc_RC
18091 # Whether or not to disallow shared libs when runtime libs are static
18092 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18094 # Whether or not to optimize for fast installation.
18095 fast_install=$enable_fast_install
18098 host_alias=$host_alias
18101 # An echo program that does not interpret backslashes.
18106 AR_FLAGS=$lt_AR_FLAGS
18111 # A language-specific compiler.
18114 # Is the compiler the GNU C compiler?
18120 # The linker used to build libraries.
18123 # Whether we need hard or soft links.
18126 # A BSD-compatible nm program.
18129 # A symbol stripping program
18132 # Used to examine libraries when file_magic_cmd begins "file"
18133 MAGIC_CMD=$MAGIC_CMD
18135 # Used on cygwin: DLL creation program.
18138 # Used on cygwin: object dumper.
18141 # Used on cygwin: assembler.
18144 # The name of the directory that contains temporary libtool files.
18147 # How to create reloadable object files.
18148 reload_flag=$lt_reload_flag
18149 reload_cmds=$lt_reload_cmds
18151 # How to pass a linker flag through the compiler.
18152 wl=$lt_lt_prog_compiler_wl_RC
18154 # Object file suffix (normally "o").
18155 objext="$ac_objext"
18157 # Old archive suffix (normally "a").
18160 # Shared library suffix (normally ".so").
18163 # Executable file suffix (normally "").
18166 # Additional compiler flags for building library objects.
18167 pic_flag=$lt_lt_prog_compiler_pic_RC
18170 # What is the maximum length of a command?
18171 max_cmd_len=$lt_cv_sys_max_cmd_len
18173 # Does compiler simultaneously support -c and -o options?
18174 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18176 # Must we lock files when doing compilation ?
18177 need_locks=$lt_need_locks
18179 # Do we need the lib prefix for modules?
18180 need_lib_prefix=$need_lib_prefix
18182 # Do we need a version for libraries?
18183 need_version=$need_version
18185 # Whether dlopen is supported.
18186 dlopen_support=$enable_dlopen
18188 # Whether dlopen of programs is supported.
18189 dlopen_self=$enable_dlopen_self
18191 # Whether dlopen of statically linked programs is supported.
18192 dlopen_self_static=$enable_dlopen_self_static
18194 # Compiler flag to prevent dynamic linking.
18195 link_static_flag=$lt_lt_prog_compiler_static_RC
18197 # Compiler flag to turn off builtin functions.
18198 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18200 # Compiler flag to allow reflexive dlopens.
18201 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18203 # Compiler flag to generate shared objects directly from archives.
18204 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18206 # Compiler flag to generate thread-safe objects.
18207 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18209 # Library versioning type.
18210 version_type=$version_type
18212 # Format of library name prefix.
18213 libname_spec=$lt_libname_spec
18215 # List of archive names. First name is the real one, the rest are links.
18216 # The last name is the one that the linker finds with -lNAME.
18217 library_names_spec=$lt_library_names_spec
18219 # The coded name of the library, if different from the real name.
18220 soname_spec=$lt_soname_spec
18222 # Commands used to build and install an old-style archive.
18224 old_archive_cmds=$lt_old_archive_cmds_RC
18225 old_postinstall_cmds=$lt_old_postinstall_cmds
18226 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18228 # Create an old-style archive from a shared archive.
18229 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18231 # Create a temporary old-style archive to link instead of a shared archive.
18232 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18234 # Commands used to build and install a shared archive.
18235 archive_cmds=$lt_archive_cmds_RC
18236 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18237 postinstall_cmds=$lt_postinstall_cmds
18238 postuninstall_cmds=$lt_postuninstall_cmds
18240 # Commands used to build a loadable module (assumed same as above if empty)
18241 module_cmds=$lt_module_cmds_RC
18242 module_expsym_cmds=$lt_module_expsym_cmds_RC
18244 # Commands to strip libraries.
18245 old_striplib=$lt_old_striplib
18246 striplib=$lt_striplib
18248 # Dependencies to place before the objects being linked to create a
18250 predep_objects=$lt_predep_objects_RC
18252 # Dependencies to place after the objects being linked to create a
18254 postdep_objects=$lt_postdep_objects_RC
18256 # Dependencies to place before the objects being linked to create a
18258 predeps=$lt_predeps_RC
18260 # Dependencies to place after the objects being linked to create a
18262 postdeps=$lt_postdeps_RC
18264 # The library search path used internally by the compiler when linking
18265 # a shared library.
18266 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18268 # Method to check whether dependent libraries are shared objects.
18269 deplibs_check_method=$lt_deplibs_check_method
18271 # Command to use when deplibs_check_method == file_magic.
18272 file_magic_cmd=$lt_file_magic_cmd
18274 # Flag that allows shared libraries with undefined symbols to be built.
18275 allow_undefined_flag=$lt_allow_undefined_flag_RC
18277 # Flag that forces no undefined symbols.
18278 no_undefined_flag=$lt_no_undefined_flag_RC
18280 # Commands used to finish a libtool library installation in a directory.
18281 finish_cmds=$lt_finish_cmds
18283 # Same as above, but a single script fragment to be evaled but not shown.
18284 finish_eval=$lt_finish_eval
18286 # Take the output of nm and produce a listing of raw symbols and C names.
18287 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18289 # Transform the output of nm in a proper C declaration
18290 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18292 # Transform the output of nm in a C name address pair
18293 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18295 # This is the shared library runtime path variable.
18296 runpath_var=$runpath_var
18298 # This is the shared library path variable.
18299 shlibpath_var=$shlibpath_var
18301 # Is shlibpath searched before the hard-coded library search path?
18302 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18304 # How to hardcode a shared library path into an executable.
18305 hardcode_action=$hardcode_action_RC
18307 # Whether we should hardcode library paths into libraries.
18308 hardcode_into_libs=$hardcode_into_libs
18310 # Flag to hardcode \$libdir into a binary during linking.
18311 # This must work even if \$libdir does not exist.
18312 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18314 # If ld is used when linking, flag to hardcode \$libdir into
18315 # a binary during linking. This must work even if \$libdir does
18317 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18319 # Whether we need a single -rpath flag with a separated argument.
18320 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18322 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18323 # resulting binary.
18324 hardcode_direct=$hardcode_direct_RC
18326 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18327 # resulting binary.
18328 hardcode_minus_L=$hardcode_minus_L_RC
18330 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18331 # the resulting binary.
18332 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18334 # Set to yes if building a shared library automatically hardcodes DIR into the library
18335 # and all subsequent libraries and executables linked against it.
18336 hardcode_automatic=$hardcode_automatic_RC
18338 # Variables whose values should be saved in libtool wrapper scripts and
18339 # restored at relink time.
18340 variables_saved_for_relink="$variables_saved_for_relink"
18342 # Whether libtool must link a program against all its dependency libraries.
18343 link_all_deplibs=$link_all_deplibs_RC
18345 # Compile-time system search path for libraries
18346 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18348 # Run-time system search path for libraries
18349 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18351 # Fix the shell variable \$srcfile for the compiler.
18352 fix_srcfile_path="$fix_srcfile_path_RC"
18354 # Set to yes if exported symbols are required.
18355 always_export_symbols=$always_export_symbols_RC
18357 # The commands to list exported symbols.
18358 export_symbols_cmds=$lt_export_symbols_cmds_RC
18360 # The commands to extract the exported symbol list from a shared archive.
18361 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18363 # Symbols that should not be listed in the preloaded symbols.
18364 exclude_expsyms=$lt_exclude_expsyms_RC
18366 # Symbols that must always be exported.
18367 include_expsyms=$lt_include_expsyms_RC
18369 # ### END LIBTOOL TAG CONFIG: $tagname
18375 # If there is no Makefile yet, we rely on a make rule to execute
18376 # `config.status --recheck' to rerun these tests and create the
18377 # libtool script then.
18378 test -f Makefile && make "$ltmain"
18383 ac_cpp='$CPP $CPPFLAGS'
18384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18393 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18394 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18395 { (exit 1); exit 1; }; }
18399 # Append the new tag name to the list of available tags.
18400 if test -n "$tagname" ; then
18401 available_tags="$available_tags $tagname"
18407 # Now substitute the updated list of available tags.
18408 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18409 mv "${ofile}T" "$ofile"
18413 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18414 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18415 { (exit 1); exit 1; }; }
18421 # This can be used to rebuild libtool when needed
18422 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18424 # Always use our own libtool.
18425 LIBTOOL='$(SHELL) $(top_builddir)/mklib'
18427 # Prevent multiple expansion
18449 # Extract the first word of "pwd", so it can be a program name with args.
18450 set dummy pwd; ac_word=$2
18451 echo "$as_me:$LINENO: checking for $ac_word" >&5
18452 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18453 if test "${ac_cv_path_RPWD+set}" = set; then
18454 echo $ECHO_N "(cached) $ECHO_C" >&6
18458 ac_cv_path_RPWD="$RPWD" # Let the user override the test with a path.
18461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18462 for as_dir in $PATH
18465 test -z "$as_dir" && as_dir=.
18466 for ac_exec_ext in '' $ac_executable_extensions; do
18467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18468 ac_cv_path_RPWD="$as_dir/$ac_word$ac_exec_ext"
18469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18478 RPWD=$ac_cv_path_RPWD
18480 if test -n "$RPWD"; then
18481 echo "$as_me:$LINENO: result: $RPWD" >&5
18482 echo "${ECHO_T}$RPWD" >&6
18484 echo "$as_me:$LINENO: result: no" >&5
18485 echo "${ECHO_T}no" >&6
18488 # Extract the first word of "ar", so it can be a program name with args.
18489 set dummy ar; ac_word=$2
18490 echo "$as_me:$LINENO: checking for $ac_word" >&5
18491 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18492 if test "${ac_cv_path_AR+set}" = set; then
18493 echo $ECHO_N "(cached) $ECHO_C" >&6
18497 ac_cv_path_AR="$AR" # Let the user override the test with a path.
18500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18501 for as_dir in $PATH
18504 test -z "$as_dir" && as_dir=.
18505 for ac_exec_ext in '' $ac_executable_extensions; do
18506 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18507 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
18508 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18519 if test -n "$AR"; then
18520 echo "$as_me:$LINENO: result: $AR" >&5
18521 echo "${ECHO_T}$AR" >&6
18523 echo "$as_me:$LINENO: result: no" >&5
18524 echo "${ECHO_T}no" >&6
18527 # Extract the first word of "sed", so it can be a program name with args.
18528 set dummy sed; ac_word=$2
18529 echo "$as_me:$LINENO: checking for $ac_word" >&5
18530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18531 if test "${ac_cv_path_SED+set}" = set; then
18532 echo $ECHO_N "(cached) $ECHO_C" >&6
18536 ac_cv_path_SED="$SED" # Let the user override the test with a path.
18539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18540 for as_dir in $PATH
18543 test -z "$as_dir" && as_dir=.
18544 for ac_exec_ext in '' $ac_executable_extensions; do
18545 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18546 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
18547 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18556 SED=$ac_cv_path_SED
18558 if test -n "$SED"; then
18559 echo "$as_me:$LINENO: result: $SED" >&5
18560 echo "${ECHO_T}$SED" >&6
18562 echo "$as_me:$LINENO: result: no" >&5
18563 echo "${ECHO_T}no" >&6
18566 # Extract the first word of "rm", so it can be a program name with args.
18567 set dummy rm; ac_word=$2
18568 echo "$as_me:$LINENO: checking for $ac_word" >&5
18569 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18570 if test "${ac_cv_path_RM+set}" = set; then
18571 echo $ECHO_N "(cached) $ECHO_C" >&6
18575 ac_cv_path_RM="$RM" # Let the user override the test with a path.
18578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18579 for as_dir in $PATH
18582 test -z "$as_dir" && as_dir=.
18583 for ac_exec_ext in '' $ac_executable_extensions; do
18584 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18585 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
18586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18597 if test -n "$RM"; then
18598 echo "$as_me:$LINENO: result: $RM" >&5
18599 echo "${ECHO_T}$RM" >&6
18601 echo "$as_me:$LINENO: result: no" >&5
18602 echo "${ECHO_T}no" >&6
18605 # Extract the first word of "echo", so it can be a program name with args.
18606 set dummy echo; ac_word=$2
18607 echo "$as_me:$LINENO: checking for $ac_word" >&5
18608 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18609 if test "${ac_cv_path_ECHO+set}" = set; then
18610 echo $ECHO_N "(cached) $ECHO_C" >&6
18614 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
18617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18618 for as_dir in $PATH
18621 test -z "$as_dir" && as_dir=.
18622 for ac_exec_ext in '' $ac_executable_extensions; do
18623 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18624 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
18625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18634 ECHO=$ac_cv_path_ECHO
18636 if test -n "$ECHO"; then
18637 echo "$as_me:$LINENO: result: $ECHO" >&5
18638 echo "${ECHO_T}$ECHO" >&6
18640 echo "$as_me:$LINENO: result: no" >&5
18641 echo "${ECHO_T}no" >&6
18644 # Extract the first word of "mkdir", so it can be a program name with args.
18645 set dummy mkdir; ac_word=$2
18646 echo "$as_me:$LINENO: checking for $ac_word" >&5
18647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18648 if test "${ac_cv_path_MKDIR+set}" = set; then
18649 echo $ECHO_N "(cached) $ECHO_C" >&6
18653 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
18656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18657 for as_dir in $PATH
18660 test -z "$as_dir" && as_dir=.
18661 for ac_exec_ext in '' $ac_executable_extensions; do
18662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18663 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
18664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18673 MKDIR=$ac_cv_path_MKDIR
18675 if test -n "$MKDIR"; then
18676 echo "$as_me:$LINENO: result: $MKDIR" >&5
18677 echo "${ECHO_T}$MKDIR" >&6
18679 echo "$as_me:$LINENO: result: no" >&5
18680 echo "${ECHO_T}no" >&6
18683 # Extract the first word of "date", so it can be a program name with args.
18684 set dummy date; ac_word=$2
18685 echo "$as_me:$LINENO: checking for $ac_word" >&5
18686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18687 if test "${ac_cv_path_DATE+set}" = set; then
18688 echo $ECHO_N "(cached) $ECHO_C" >&6
18692 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
18695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18696 for as_dir in $PATH
18699 test -z "$as_dir" && as_dir=.
18700 for ac_exec_ext in '' $ac_executable_extensions; do
18701 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18702 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
18703 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18712 DATE=$ac_cv_path_DATE
18714 if test -n "$DATE"; then
18715 echo "$as_me:$LINENO: result: $DATE" >&5
18716 echo "${ECHO_T}$DATE" >&6
18718 echo "$as_me:$LINENO: result: no" >&5
18719 echo "${ECHO_T}no" >&6
18722 # Extract the first word of "mv", so it can be a program name with args.
18723 set dummy mv; ac_word=$2
18724 echo "$as_me:$LINENO: checking for $ac_word" >&5
18725 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18726 if test "${ac_cv_path_MV+set}" = set; then
18727 echo $ECHO_N "(cached) $ECHO_C" >&6
18731 ac_cv_path_MV="$MV" # Let the user override the test with a path.
18734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18735 for as_dir in $PATH
18738 test -z "$as_dir" && as_dir=.
18739 for ac_exec_ext in '' $ac_executable_extensions; do
18740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18741 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
18742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18753 if test -n "$MV"; then
18754 echo "$as_me:$LINENO: result: $MV" >&5
18755 echo "${ECHO_T}$MV" >&6
18757 echo "$as_me:$LINENO: result: no" >&5
18758 echo "${ECHO_T}no" >&6
18761 # Extract the first word of "dot", so it can be a program name with args.
18762 set dummy dot; ac_word=$2
18763 echo "$as_me:$LINENO: checking for $ac_word" >&5
18764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18765 if test "${ac_cv_path_DOT+set}" = set; then
18766 echo $ECHO_N "(cached) $ECHO_C" >&6
18770 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18774 for as_dir in $PATH
18777 test -z "$as_dir" && as_dir=.
18778 for ac_exec_ext in '' $ac_executable_extensions; do
18779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18780 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18790 DOT=$ac_cv_path_DOT
18792 if test -n "$DOT"; then
18793 echo "$as_me:$LINENO: result: $DOT" >&5
18794 echo "${ECHO_T}$DOT" >&6
18796 echo "$as_me:$LINENO: result: no" >&5
18797 echo "${ECHO_T}no" >&6
18800 # Extract the first word of "etags", so it can be a program name with args.
18801 set dummy etags; ac_word=$2
18802 echo "$as_me:$LINENO: checking for $ac_word" >&5
18803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18804 if test "${ac_cv_path_ETAGS+set}" = set; then
18805 echo $ECHO_N "(cached) $ECHO_C" >&6
18809 ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
18812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18813 for as_dir in $PATH
18816 test -z "$as_dir" && as_dir=.
18817 for ac_exec_ext in '' $ac_executable_extensions; do
18818 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18819 ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext"
18820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18829 ETAGS=$ac_cv_path_ETAGS
18831 if test -n "$ETAGS"; then
18832 echo "$as_me:$LINENO: result: $ETAGS" >&5
18833 echo "${ECHO_T}$ETAGS" >&6
18835 echo "$as_me:$LINENO: result: no" >&5
18836 echo "${ECHO_T}no" >&6
18839 # Extract the first word of "purify", so it can be a program name with args.
18840 set dummy purify; ac_word=$2
18841 echo "$as_me:$LINENO: checking for $ac_word" >&5
18842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18843 if test "${ac_cv_path_PURIFY+set}" = set; then
18844 echo $ECHO_N "(cached) $ECHO_C" >&6
18848 ac_cv_path_PURIFY="$PURIFY" # Let the user override the test with a path.
18851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18852 for as_dir in $PATH
18855 test -z "$as_dir" && as_dir=.
18856 for ac_exec_ext in '' $ac_executable_extensions; do
18857 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18858 ac_cv_path_PURIFY="$as_dir/$ac_word$ac_exec_ext"
18859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18868 PURIFY=$ac_cv_path_PURIFY
18870 if test -n "$PURIFY"; then
18871 echo "$as_me:$LINENO: result: $PURIFY" >&5
18872 echo "${ECHO_T}$PURIFY" >&6
18874 echo "$as_me:$LINENO: result: no" >&5
18875 echo "${ECHO_T}no" >&6
18878 # Extract the first word of "python", so it can be a program name with args.
18879 set dummy python; ac_word=$2
18880 echo "$as_me:$LINENO: checking for $ac_word" >&5
18881 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18882 if test "${ac_cv_path_PYTHON+set}" = set; then
18883 echo $ECHO_N "(cached) $ECHO_C" >&6
18887 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
18890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18891 for as_dir in $PATH
18894 test -z "$as_dir" && as_dir=.
18895 for ac_exec_ext in '' $ac_executable_extensions; do
18896 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18897 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
18898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18907 PYTHON=$ac_cv_path_PYTHON
18909 if test -n "$PYTHON"; then
18910 echo "$as_me:$LINENO: result: $PYTHON" >&5
18911 echo "${ECHO_T}$PYTHON" >&6
18913 echo "$as_me:$LINENO: result: no" >&5
18914 echo "${ECHO_T}no" >&6
18917 # Extract the first word of "qmtest", so it can be a program name with args.
18918 set dummy qmtest; ac_word=$2
18919 echo "$as_me:$LINENO: checking for $ac_word" >&5
18920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18921 if test "${ac_cv_path_QMTEST+set}" = set; then
18922 echo $ECHO_N "(cached) $ECHO_C" >&6
18926 ac_cv_path_QMTEST="$QMTEST" # Let the user override the test with a path.
18929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18930 for as_dir in $PATH
18933 test -z "$as_dir" && as_dir=.
18934 for ac_exec_ext in '' $ac_executable_extensions; do
18935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18936 ac_cv_path_QMTEST="$as_dir/$ac_word$ac_exec_ext"
18937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18946 QMTEST=$ac_cv_path_QMTEST
18948 if test -n "$QMTEST"; then
18949 echo "$as_me:$LINENO: result: $QMTEST" >&5
18950 echo "${ECHO_T}$QMTEST" >&6
18952 echo "$as_me:$LINENO: result: no" >&5
18953 echo "${ECHO_T}no" >&6
18957 pyversion=`$PYTHON -V 2>&1 | cut -d\ -f2`
18958 pymajor=`echo $pyversion | cut -d. -f1`
18959 pyminor=`echo $pyversion | cut -d. -f2`
18961 if test "$pymajor" -ge "2"
18963 if test "$pymajor" -eq "2"
18965 if test "$pyminor" -lt "2"
18967 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
18968 echo "$as_me: error: Python 2.2 or greater required" >&2;}
18969 { (exit 1); exit 1; }; }
18973 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
18974 echo "$as_me: error: Python 2.2 or greater required" >&2;}
18975 { (exit 1); exit 1; }; }
18982 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
18983 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
18984 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
18985 echo $ECHO_N "(cached) $ECHO_C" >&6
18987 ac_check_lib_save_LIBS=$LIBS
18989 cat >conftest.$ac_ext <<_ACEOF
18990 #line $LINENO "configure"
18993 cat confdefs.h >>conftest.$ac_ext
18994 cat >>conftest.$ac_ext <<_ACEOF
18995 /* end confdefs.h. */
18997 /* Override any gcc2 internal prototype to avoid an error. */
19001 /* We use char because int might match the return type of a gcc2
19002 builtin and then its argument prototype would still apply. */
19012 rm -f conftest.$ac_objext conftest$ac_exeext
19013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19014 (eval $ac_link) 2>&5
19016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19017 (exit $ac_status); } &&
19018 { ac_try='test -s conftest$ac_exeext'
19019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19020 (eval $ac_try) 2>&5
19022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19023 (exit $ac_status); }; }; then
19024 ac_cv_lib_elf_elf_begin=yes
19026 echo "$as_me: failed program was:" >&5
19027 sed 's/^/| /' conftest.$ac_ext >&5
19029 ac_cv_lib_elf_elf_begin=no
19031 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19032 LIBS=$ac_check_lib_save_LIBS
19034 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
19035 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
19036 if test $ac_cv_lib_elf_elf_begin = yes; then
19037 cat >>confdefs.h <<_ACEOF
19038 #define HAVE_LIBELF 1
19046 echo "$as_me:$LINENO: checking for library containing dlopen" >&5
19047 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
19048 if test "${ac_cv_search_dlopen+set}" = set; then
19049 echo $ECHO_N "(cached) $ECHO_C" >&6
19051 ac_func_search_save_LIBS=$LIBS
19052 ac_cv_search_dlopen=no
19053 cat >conftest.$ac_ext <<_ACEOF
19054 #line $LINENO "configure"
19057 cat confdefs.h >>conftest.$ac_ext
19058 cat >>conftest.$ac_ext <<_ACEOF
19059 /* end confdefs.h. */
19061 /* Override any gcc2 internal prototype to avoid an error. */
19065 /* We use char because int might match the return type of a gcc2
19066 builtin and then its argument prototype would still apply. */
19076 rm -f conftest.$ac_objext conftest$ac_exeext
19077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19078 (eval $ac_link) 2>&5
19080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19081 (exit $ac_status); } &&
19082 { ac_try='test -s conftest$ac_exeext'
19083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19084 (eval $ac_try) 2>&5
19086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087 (exit $ac_status); }; }; then
19088 ac_cv_search_dlopen="none required"
19090 echo "$as_me: failed program was:" >&5
19091 sed 's/^/| /' conftest.$ac_ext >&5
19094 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19095 if test "$ac_cv_search_dlopen" = no; then
19096 for ac_lib in dl; do
19097 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19098 cat >conftest.$ac_ext <<_ACEOF
19099 #line $LINENO "configure"
19102 cat confdefs.h >>conftest.$ac_ext
19103 cat >>conftest.$ac_ext <<_ACEOF
19104 /* end confdefs.h. */
19106 /* Override any gcc2 internal prototype to avoid an error. */
19110 /* We use char because int might match the return type of a gcc2
19111 builtin and then its argument prototype would still apply. */
19121 rm -f conftest.$ac_objext conftest$ac_exeext
19122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19123 (eval $ac_link) 2>&5
19125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19126 (exit $ac_status); } &&
19127 { ac_try='test -s conftest$ac_exeext'
19128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19129 (eval $ac_try) 2>&5
19131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19132 (exit $ac_status); }; }; then
19133 ac_cv_search_dlopen="-l$ac_lib"
19136 echo "$as_me: failed program was:" >&5
19137 sed 's/^/| /' conftest.$ac_ext >&5
19140 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19143 LIBS=$ac_func_search_save_LIBS
19145 echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
19146 echo "${ECHO_T}$ac_cv_search_dlopen" >&6
19147 if test "$ac_cv_search_dlopen" != no; then
19148 test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
19151 { { echo "$as_me:$LINENO: error: dlopen() required but not found" >&5
19152 echo "$as_me: error: dlopen() required but not found" >&2;}
19153 { (exit 1); exit 1; }; }
19157 echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
19158 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6
19159 if test "${ac_cv_search_mallinfo+set}" = set; then
19160 echo $ECHO_N "(cached) $ECHO_C" >&6
19162 ac_func_search_save_LIBS=$LIBS
19163 ac_cv_search_mallinfo=no
19164 cat >conftest.$ac_ext <<_ACEOF
19165 #line $LINENO "configure"
19168 cat confdefs.h >>conftest.$ac_ext
19169 cat >>conftest.$ac_ext <<_ACEOF
19170 /* end confdefs.h. */
19172 /* Override any gcc2 internal prototype to avoid an error. */
19176 /* We use char because int might match the return type of a gcc2
19177 builtin and then its argument prototype would still apply. */
19187 rm -f conftest.$ac_objext conftest$ac_exeext
19188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19189 (eval $ac_link) 2>&5
19191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19192 (exit $ac_status); } &&
19193 { ac_try='test -s conftest$ac_exeext'
19194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19195 (eval $ac_try) 2>&5
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); }; }; then
19199 ac_cv_search_mallinfo="none required"
19201 echo "$as_me: failed program was:" >&5
19202 sed 's/^/| /' conftest.$ac_ext >&5
19205 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19206 if test "$ac_cv_search_mallinfo" = no; then
19207 for ac_lib in malloc; do
19208 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19209 cat >conftest.$ac_ext <<_ACEOF
19210 #line $LINENO "configure"
19213 cat confdefs.h >>conftest.$ac_ext
19214 cat >>conftest.$ac_ext <<_ACEOF
19215 /* end confdefs.h. */
19217 /* Override any gcc2 internal prototype to avoid an error. */
19221 /* We use char because int might match the return type of a gcc2
19222 builtin and then its argument prototype would still apply. */
19232 rm -f conftest.$ac_objext conftest$ac_exeext
19233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19234 (eval $ac_link) 2>&5
19236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19237 (exit $ac_status); } &&
19238 { ac_try='test -s conftest$ac_exeext'
19239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19240 (eval $ac_try) 2>&5
19242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19243 (exit $ac_status); }; }; then
19244 ac_cv_search_mallinfo="-l$ac_lib"
19247 echo "$as_me: failed program was:" >&5
19248 sed 's/^/| /' conftest.$ac_ext >&5
19251 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19254 LIBS=$ac_func_search_save_LIBS
19256 echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
19257 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6
19258 if test "$ac_cv_search_mallinfo" != no; then
19259 test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS"
19260 cat >>confdefs.h <<\_ACEOF
19261 #define HAVE_MALLINFO 1
19268 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19269 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19270 if test "${ac_cv_header_stdc+set}" = set; then
19271 echo $ECHO_N "(cached) $ECHO_C" >&6
19273 cat >conftest.$ac_ext <<_ACEOF
19274 #line $LINENO "configure"
19277 cat confdefs.h >>conftest.$ac_ext
19278 cat >>conftest.$ac_ext <<_ACEOF
19279 /* end confdefs.h. */
19280 #include <stdlib.h>
19281 #include <stdarg.h>
19282 #include <string.h>
19293 rm -f conftest.$ac_objext
19294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19295 (eval $ac_compile) 2>&5
19297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19298 (exit $ac_status); } &&
19299 { ac_try='test -s conftest.$ac_objext'
19300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19301 (eval $ac_try) 2>&5
19303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19304 (exit $ac_status); }; }; then
19305 ac_cv_header_stdc=yes
19307 echo "$as_me: failed program was:" >&5
19308 sed 's/^/| /' conftest.$ac_ext >&5
19310 ac_cv_header_stdc=no
19312 rm -f conftest.$ac_objext conftest.$ac_ext
19314 if test $ac_cv_header_stdc = yes; then
19315 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19316 cat >conftest.$ac_ext <<_ACEOF
19317 #line $LINENO "configure"
19320 cat confdefs.h >>conftest.$ac_ext
19321 cat >>conftest.$ac_ext <<_ACEOF
19322 /* end confdefs.h. */
19323 #include <string.h>
19326 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19327 $EGREP "memchr" >/dev/null 2>&1; then
19330 ac_cv_header_stdc=no
19336 if test $ac_cv_header_stdc = yes; then
19337 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19338 cat >conftest.$ac_ext <<_ACEOF
19339 #line $LINENO "configure"
19342 cat confdefs.h >>conftest.$ac_ext
19343 cat >>conftest.$ac_ext <<_ACEOF
19344 /* end confdefs.h. */
19345 #include <stdlib.h>
19348 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19349 $EGREP "free" >/dev/null 2>&1; then
19352 ac_cv_header_stdc=no
19358 if test $ac_cv_header_stdc = yes; then
19359 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19360 if test "$cross_compiling" = yes; then
19363 cat >conftest.$ac_ext <<_ACEOF
19364 #line $LINENO "configure"
19367 cat confdefs.h >>conftest.$ac_ext
19368 cat >>conftest.$ac_ext <<_ACEOF
19369 /* end confdefs.h. */
19371 #if ((' ' & 0x0FF) == 0x020)
19372 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19373 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19375 # define ISLOWER(c) \
19376 (('a' <= (c) && (c) <= 'i') \
19377 || ('j' <= (c) && (c) <= 'r') \
19378 || ('s' <= (c) && (c) <= 'z'))
19379 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19382 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19387 for (i = 0; i < 256; i++)
19388 if (XOR (islower (i), ISLOWER (i))
19389 || toupper (i) != TOUPPER (i))
19394 rm -f conftest$ac_exeext
19395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19396 (eval $ac_link) 2>&5
19398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19399 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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
19407 echo "$as_me: program exited with status $ac_status" >&5
19408 echo "$as_me: failed program was:" >&5
19409 sed 's/^/| /' conftest.$ac_ext >&5
19411 ( exit $ac_status )
19412 ac_cv_header_stdc=no
19414 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19418 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19419 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19420 if test $ac_cv_header_stdc = yes; then
19422 cat >>confdefs.h <<\_ACEOF
19423 #define STDC_HEADERS 1
19428 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19429 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
19430 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19431 echo $ECHO_N "(cached) $ECHO_C" >&6
19433 cat >conftest.$ac_ext <<_ACEOF
19434 #line $LINENO "configure"
19437 cat confdefs.h >>conftest.$ac_ext
19438 cat >>conftest.$ac_ext <<_ACEOF
19439 /* end confdefs.h. */
19440 #include <sys/types.h>
19441 #include <sys/wait.h>
19442 #ifndef WEXITSTATUS
19443 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
19446 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19454 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19459 rm -f conftest.$ac_objext
19460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19461 (eval $ac_compile) 2>&5
19463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19464 (exit $ac_status); } &&
19465 { ac_try='test -s conftest.$ac_objext'
19466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19467 (eval $ac_try) 2>&5
19469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19470 (exit $ac_status); }; }; then
19471 ac_cv_header_sys_wait_h=yes
19473 echo "$as_me: failed program was:" >&5
19474 sed 's/^/| /' conftest.$ac_ext >&5
19476 ac_cv_header_sys_wait_h=no
19478 rm -f conftest.$ac_objext conftest.$ac_ext
19480 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19481 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
19482 if test $ac_cv_header_sys_wait_h = yes; then
19484 cat >>confdefs.h <<\_ACEOF
19485 #define HAVE_SYS_WAIT_H 1
19499 for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h
19501 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19502 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19503 echo "$as_me:$LINENO: checking for $ac_header" >&5
19504 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19506 echo $ECHO_N "(cached) $ECHO_C" >&6
19508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19509 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19511 # Is the header compilable?
19512 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19513 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19514 cat >conftest.$ac_ext <<_ACEOF
19515 #line $LINENO "configure"
19518 cat confdefs.h >>conftest.$ac_ext
19519 cat >>conftest.$ac_ext <<_ACEOF
19520 /* end confdefs.h. */
19521 $ac_includes_default
19522 #include <$ac_header>
19524 rm -f conftest.$ac_objext
19525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19526 (eval $ac_compile) 2>&5
19528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19529 (exit $ac_status); } &&
19530 { ac_try='test -s conftest.$ac_objext'
19531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19532 (eval $ac_try) 2>&5
19534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19535 (exit $ac_status); }; }; then
19536 ac_header_compiler=yes
19538 echo "$as_me: failed program was:" >&5
19539 sed 's/^/| /' conftest.$ac_ext >&5
19541 ac_header_compiler=no
19543 rm -f conftest.$ac_objext conftest.$ac_ext
19544 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19545 echo "${ECHO_T}$ac_header_compiler" >&6
19547 # Is the header present?
19548 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19549 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19550 cat >conftest.$ac_ext <<_ACEOF
19551 #line $LINENO "configure"
19554 cat confdefs.h >>conftest.$ac_ext
19555 cat >>conftest.$ac_ext <<_ACEOF
19556 /* end confdefs.h. */
19557 #include <$ac_header>
19559 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19560 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19562 grep -v '^ *+' conftest.er1 >conftest.err
19564 cat conftest.err >&5
19565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19566 (exit $ac_status); } >/dev/null; then
19567 if test -s conftest.err; then
19568 ac_cpp_err=$ac_c_preproc_warn_flag
19575 if test -z "$ac_cpp_err"; then
19576 ac_header_preproc=yes
19578 echo "$as_me: failed program was:" >&5
19579 sed 's/^/| /' conftest.$ac_ext >&5
19581 ac_header_preproc=no
19583 rm -f conftest.err conftest.$ac_ext
19584 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19585 echo "${ECHO_T}$ac_header_preproc" >&6
19587 # So? What about this header?
19588 case $ac_header_compiler:$ac_header_preproc in
19590 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19591 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19592 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19593 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19596 ## ------------------------------------ ##
19597 ## Report this to bug-autoconf@gnu.org. ##
19598 ## ------------------------------------ ##
19601 sed "s/^/$as_me: WARNING: /" >&2
19604 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19605 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19606 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19607 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19608 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19609 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19612 ## ------------------------------------ ##
19613 ## Report this to bug-autoconf@gnu.org. ##
19614 ## ------------------------------------ ##
19617 sed "s/^/$as_me: WARNING: /" >&2
19620 echo "$as_me:$LINENO: checking for $ac_header" >&5
19621 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19622 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19623 echo $ECHO_N "(cached) $ECHO_C" >&6
19625 eval "$as_ac_Header=$ac_header_preproc"
19627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19628 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19631 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19632 cat >>confdefs.h <<_ACEOF
19633 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19645 for ac_header in malloc.h strings.h sys/mman.h sys/resource.h
19647 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19649 echo "$as_me:$LINENO: checking for $ac_header" >&5
19650 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19652 echo $ECHO_N "(cached) $ECHO_C" >&6
19654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19655 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19657 # Is the header compilable?
19658 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19659 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19660 cat >conftest.$ac_ext <<_ACEOF
19661 #line $LINENO "configure"
19664 cat confdefs.h >>conftest.$ac_ext
19665 cat >>conftest.$ac_ext <<_ACEOF
19666 /* end confdefs.h. */
19667 $ac_includes_default
19668 #include <$ac_header>
19670 rm -f conftest.$ac_objext
19671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19672 (eval $ac_compile) 2>&5
19674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19675 (exit $ac_status); } &&
19676 { ac_try='test -s conftest.$ac_objext'
19677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19678 (eval $ac_try) 2>&5
19680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19681 (exit $ac_status); }; }; then
19682 ac_header_compiler=yes
19684 echo "$as_me: failed program was:" >&5
19685 sed 's/^/| /' conftest.$ac_ext >&5
19687 ac_header_compiler=no
19689 rm -f conftest.$ac_objext conftest.$ac_ext
19690 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19691 echo "${ECHO_T}$ac_header_compiler" >&6
19693 # Is the header present?
19694 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19695 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19696 cat >conftest.$ac_ext <<_ACEOF
19697 #line $LINENO "configure"
19700 cat confdefs.h >>conftest.$ac_ext
19701 cat >>conftest.$ac_ext <<_ACEOF
19702 /* end confdefs.h. */
19703 #include <$ac_header>
19705 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19706 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19708 grep -v '^ *+' conftest.er1 >conftest.err
19710 cat conftest.err >&5
19711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19712 (exit $ac_status); } >/dev/null; then
19713 if test -s conftest.err; then
19714 ac_cpp_err=$ac_c_preproc_warn_flag
19721 if test -z "$ac_cpp_err"; then
19722 ac_header_preproc=yes
19724 echo "$as_me: failed program was:" >&5
19725 sed 's/^/| /' conftest.$ac_ext >&5
19727 ac_header_preproc=no
19729 rm -f conftest.err conftest.$ac_ext
19730 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19731 echo "${ECHO_T}$ac_header_preproc" >&6
19733 # So? What about this header?
19734 case $ac_header_compiler:$ac_header_preproc in
19736 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19737 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19738 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19739 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19742 ## ------------------------------------ ##
19743 ## Report this to bug-autoconf@gnu.org. ##
19744 ## ------------------------------------ ##
19747 sed "s/^/$as_me: WARNING: /" >&2
19750 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19751 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19752 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19753 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19754 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19755 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19758 ## ------------------------------------ ##
19759 ## Report this to bug-autoconf@gnu.org. ##
19760 ## ------------------------------------ ##
19763 sed "s/^/$as_me: WARNING: /" >&2
19766 echo "$as_me:$LINENO: checking for $ac_header" >&5
19767 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19768 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19769 echo $ECHO_N "(cached) $ECHO_C" >&6
19771 eval "$as_ac_Header=$ac_header_preproc"
19773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19774 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19777 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19778 cat >>confdefs.h <<_ACEOF
19779 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19789 for ac_header in dlfcn.h link.h
19791 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19792 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19793 echo "$as_me:$LINENO: checking for $ac_header" >&5
19794 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19795 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19796 echo $ECHO_N "(cached) $ECHO_C" >&6
19798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19799 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19801 # Is the header compilable?
19802 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19803 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19804 cat >conftest.$ac_ext <<_ACEOF
19805 #line $LINENO "configure"
19808 cat confdefs.h >>conftest.$ac_ext
19809 cat >>conftest.$ac_ext <<_ACEOF
19810 /* end confdefs.h. */
19811 $ac_includes_default
19812 #include <$ac_header>
19814 rm -f conftest.$ac_objext
19815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19816 (eval $ac_compile) 2>&5
19818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19819 (exit $ac_status); } &&
19820 { ac_try='test -s conftest.$ac_objext'
19821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19822 (eval $ac_try) 2>&5
19824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19825 (exit $ac_status); }; }; then
19826 ac_header_compiler=yes
19828 echo "$as_me: failed program was:" >&5
19829 sed 's/^/| /' conftest.$ac_ext >&5
19831 ac_header_compiler=no
19833 rm -f conftest.$ac_objext conftest.$ac_ext
19834 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19835 echo "${ECHO_T}$ac_header_compiler" >&6
19837 # Is the header present?
19838 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19839 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19840 cat >conftest.$ac_ext <<_ACEOF
19841 #line $LINENO "configure"
19844 cat confdefs.h >>conftest.$ac_ext
19845 cat >>conftest.$ac_ext <<_ACEOF
19846 /* end confdefs.h. */
19847 #include <$ac_header>
19849 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19850 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19852 grep -v '^ *+' conftest.er1 >conftest.err
19854 cat conftest.err >&5
19855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19856 (exit $ac_status); } >/dev/null; then
19857 if test -s conftest.err; then
19858 ac_cpp_err=$ac_c_preproc_warn_flag
19865 if test -z "$ac_cpp_err"; then
19866 ac_header_preproc=yes
19868 echo "$as_me: failed program was:" >&5
19869 sed 's/^/| /' conftest.$ac_ext >&5
19871 ac_header_preproc=no
19873 rm -f conftest.err conftest.$ac_ext
19874 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19875 echo "${ECHO_T}$ac_header_preproc" >&6
19877 # So? What about this header?
19878 case $ac_header_compiler:$ac_header_preproc in
19880 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19881 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19882 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19883 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19886 ## ------------------------------------ ##
19887 ## Report this to bug-autoconf@gnu.org. ##
19888 ## ------------------------------------ ##
19891 sed "s/^/$as_me: WARNING: /" >&2
19894 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19895 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19896 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19897 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19898 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19899 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19902 ## ------------------------------------ ##
19903 ## Report this to bug-autoconf@gnu.org. ##
19904 ## ------------------------------------ ##
19907 sed "s/^/$as_me: WARNING: /" >&2
19910 echo "$as_me:$LINENO: checking for $ac_header" >&5
19911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19913 echo $ECHO_N "(cached) $ECHO_C" >&6
19915 eval "$as_ac_Header=$ac_header_preproc"
19917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19918 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19921 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19922 cat >>confdefs.h <<_ACEOF
19923 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19932 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19933 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
19934 if test "${ac_cv_c_const+set}" = set; then
19935 echo $ECHO_N "(cached) $ECHO_C" >&6
19937 cat >conftest.$ac_ext <<_ACEOF
19938 #line $LINENO "configure"
19941 cat confdefs.h >>conftest.$ac_ext
19942 cat >>conftest.$ac_ext <<_ACEOF
19943 /* end confdefs.h. */
19948 /* FIXME: Include the comments suggested by Paul. */
19949 #ifndef __cplusplus
19950 /* Ultrix mips cc rejects this. */
19951 typedef int charset[2];
19953 /* SunOS 4.1.1 cc rejects this. */
19954 char const *const *ccp;
19956 /* NEC SVR4.0.2 mips cc rejects this. */
19957 struct point {int x, y;};
19958 static struct point const zero = {0,0};
19959 /* AIX XL C 1.02.0.0 rejects this.
19960 It does not let you subtract one const X* pointer from another in
19961 an arm of an if-expression whose if-part is not a constant
19963 const char *g = "string";
19964 ccp = &g + (g ? g-g : 0);
19965 /* HPUX 7.0 cc rejects these. */
19968 ccp = (char const *const *) p;
19969 { /* SCO 3.2v4 cc rejects this. */
19971 char const *s = 0 ? (char *) 0 : (char const *) 0;
19975 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19976 int x[] = {25, 17};
19977 const int *foo = &x[0];
19980 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19981 typedef const int *iptr;
19985 { /* AIX XL C 1.02.0.0 rejects this saying
19986 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19987 struct s { int j; const int *ap[3]; };
19988 struct s *b; b->j = 5;
19990 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19991 const int foo = 10;
19999 rm -f conftest.$ac_objext
20000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20001 (eval $ac_compile) 2>&5
20003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004 (exit $ac_status); } &&
20005 { ac_try='test -s conftest.$ac_objext'
20006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20007 (eval $ac_try) 2>&5
20009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20010 (exit $ac_status); }; }; then
20013 echo "$as_me: failed program was:" >&5
20014 sed 's/^/| /' conftest.$ac_ext >&5
20018 rm -f conftest.$ac_objext conftest.$ac_ext
20020 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20021 echo "${ECHO_T}$ac_cv_c_const" >&6
20022 if test $ac_cv_c_const = no; then
20024 cat >>confdefs.h <<\_ACEOF
20030 echo "$as_me:$LINENO: checking for inline" >&5
20031 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20032 if test "${ac_cv_c_inline+set}" = set; then
20033 echo $ECHO_N "(cached) $ECHO_C" >&6
20036 for ac_kw in inline __inline__ __inline; do
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. */
20044 #ifndef __cplusplus
20046 static $ac_kw foo_t static_foo () {return 0; }
20047 $ac_kw foo_t foo () {return 0; }
20051 rm -f conftest.$ac_objext
20052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20053 (eval $ac_compile) 2>&5
20055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20056 (exit $ac_status); } &&
20057 { ac_try='test -s conftest.$ac_objext'
20058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20059 (eval $ac_try) 2>&5
20061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20062 (exit $ac_status); }; }; then
20063 ac_cv_c_inline=$ac_kw; break
20065 echo "$as_me: failed program was:" >&5
20066 sed 's/^/| /' conftest.$ac_ext >&5
20069 rm -f conftest.$ac_objext conftest.$ac_ext
20073 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20074 echo "${ECHO_T}$ac_cv_c_inline" >&6
20075 case $ac_cv_c_inline in
20078 cat >>confdefs.h <<\_ACEOF
20082 *) cat >>confdefs.h <<_ACEOF
20083 #define inline $ac_cv_c_inline
20089 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20090 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20091 if test "${ac_cv_c_bigendian+set}" = set; then
20092 echo $ECHO_N "(cached) $ECHO_C" >&6
20094 # See if sys/param.h defines the BYTE_ORDER macro.
20095 cat >conftest.$ac_ext <<_ACEOF
20096 #line $LINENO "configure"
20099 cat confdefs.h >>conftest.$ac_ext
20100 cat >>conftest.$ac_ext <<_ACEOF
20101 /* end confdefs.h. */
20102 #include <sys/types.h>
20103 #include <sys/param.h>
20108 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20109 bogus endian macros
20116 rm -f conftest.$ac_objext
20117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20118 (eval $ac_compile) 2>&5
20120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20121 (exit $ac_status); } &&
20122 { ac_try='test -s conftest.$ac_objext'
20123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20124 (eval $ac_try) 2>&5
20126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20127 (exit $ac_status); }; }; then
20128 # It does; now see whether it defined to BIG_ENDIAN or not.
20129 cat >conftest.$ac_ext <<_ACEOF
20130 #line $LINENO "configure"
20133 cat confdefs.h >>conftest.$ac_ext
20134 cat >>conftest.$ac_ext <<_ACEOF
20135 /* end confdefs.h. */
20136 #include <sys/types.h>
20137 #include <sys/param.h>
20142 #if BYTE_ORDER != BIG_ENDIAN
20150 rm -f conftest.$ac_objext
20151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20152 (eval $ac_compile) 2>&5
20154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20155 (exit $ac_status); } &&
20156 { ac_try='test -s conftest.$ac_objext'
20157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20158 (eval $ac_try) 2>&5
20160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20161 (exit $ac_status); }; }; then
20162 ac_cv_c_bigendian=yes
20164 echo "$as_me: failed program was:" >&5
20165 sed 's/^/| /' conftest.$ac_ext >&5
20167 ac_cv_c_bigendian=no
20169 rm -f conftest.$ac_objext conftest.$ac_ext
20171 echo "$as_me: failed program was:" >&5
20172 sed 's/^/| /' conftest.$ac_ext >&5
20174 # It does not; compile a test program.
20175 if test "$cross_compiling" = yes; then
20176 # try to guess the endianness by grepping values into an object file
20177 ac_cv_c_bigendian=unknown
20178 cat >conftest.$ac_ext <<_ACEOF
20179 #line $LINENO "configure"
20182 cat confdefs.h >>conftest.$ac_ext
20183 cat >>conftest.$ac_ext <<_ACEOF
20184 /* end confdefs.h. */
20185 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20186 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20187 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20188 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20189 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20190 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20194 _ascii (); _ebcdic ();
20199 rm -f conftest.$ac_objext
20200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20201 (eval $ac_compile) 2>&5
20203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20204 (exit $ac_status); } &&
20205 { ac_try='test -s conftest.$ac_objext'
20206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20207 (eval $ac_try) 2>&5
20209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20210 (exit $ac_status); }; }; then
20211 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
20212 ac_cv_c_bigendian=yes
20214 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
20215 if test "$ac_cv_c_bigendian" = unknown; then
20216 ac_cv_c_bigendian=no
20218 # finding both strings is unlikely to happen, but who knows?
20219 ac_cv_c_bigendian=unknown
20223 echo "$as_me: failed program was:" >&5
20224 sed 's/^/| /' conftest.$ac_ext >&5
20227 rm -f conftest.$ac_objext conftest.$ac_ext
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. */
20239 /* Are we little or big endian? From Harbison&Steele. */
20243 char c[sizeof (long)];
20246 exit (u.c[sizeof (long) - 1] == 1);
20249 rm -f conftest$ac_exeext
20250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20251 (eval $ac_link) 2>&5
20253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20254 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20256 (eval $ac_try) 2>&5
20258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20259 (exit $ac_status); }; }; then
20260 ac_cv_c_bigendian=no
20262 echo "$as_me: program exited with status $ac_status" >&5
20263 echo "$as_me: failed program was:" >&5
20264 sed 's/^/| /' conftest.$ac_ext >&5
20266 ( exit $ac_status )
20267 ac_cv_c_bigendian=yes
20269 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20272 rm -f conftest.$ac_objext conftest.$ac_ext
20274 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20275 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20276 case $ac_cv_c_bigendian in
20278 cat >>confdefs.h <<\_ACEOF
20279 #define ENDIAN_BIG 1
20283 cat >>confdefs.h <<\_ACEOF
20284 #define ENDIAN_LITTLE 1
20288 { { echo "$as_me:$LINENO: error: unknown endianness
20289 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20290 echo "$as_me: error: unknown endianness
20291 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20292 { (exit 1); exit 1; }; } ;;
20296 echo "$as_me:$LINENO: checking for pid_t" >&5
20297 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20298 if test "${ac_cv_type_pid_t+set}" = set; then
20299 echo $ECHO_N "(cached) $ECHO_C" >&6
20301 cat >conftest.$ac_ext <<_ACEOF
20302 #line $LINENO "configure"
20305 cat confdefs.h >>conftest.$ac_ext
20306 cat >>conftest.$ac_ext <<_ACEOF
20307 /* end confdefs.h. */
20308 $ac_includes_default
20314 if (sizeof (pid_t))
20320 rm -f conftest.$ac_objext
20321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20322 (eval $ac_compile) 2>&5
20324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20325 (exit $ac_status); } &&
20326 { ac_try='test -s conftest.$ac_objext'
20327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20328 (eval $ac_try) 2>&5
20330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20331 (exit $ac_status); }; }; then
20332 ac_cv_type_pid_t=yes
20334 echo "$as_me: failed program was:" >&5
20335 sed 's/^/| /' conftest.$ac_ext >&5
20337 ac_cv_type_pid_t=no
20339 rm -f conftest.$ac_objext conftest.$ac_ext
20341 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20342 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20343 if test $ac_cv_type_pid_t = yes; then
20347 cat >>confdefs.h <<_ACEOF
20353 echo "$as_me:$LINENO: checking for size_t" >&5
20354 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20355 if test "${ac_cv_type_size_t+set}" = set; then
20356 echo $ECHO_N "(cached) $ECHO_C" >&6
20358 cat >conftest.$ac_ext <<_ACEOF
20359 #line $LINENO "configure"
20362 cat confdefs.h >>conftest.$ac_ext
20363 cat >>conftest.$ac_ext <<_ACEOF
20364 /* end confdefs.h. */
20365 $ac_includes_default
20371 if (sizeof (size_t))
20377 rm -f conftest.$ac_objext
20378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20379 (eval $ac_compile) 2>&5
20381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20382 (exit $ac_status); } &&
20383 { ac_try='test -s conftest.$ac_objext'
20384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20385 (eval $ac_try) 2>&5
20387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20388 (exit $ac_status); }; }; then
20389 ac_cv_type_size_t=yes
20391 echo "$as_me: failed program was:" >&5
20392 sed 's/^/| /' conftest.$ac_ext >&5
20394 ac_cv_type_size_t=no
20396 rm -f conftest.$ac_objext conftest.$ac_ext
20398 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20399 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20400 if test $ac_cv_type_size_t = yes; then
20404 cat >>confdefs.h <<_ACEOF
20405 #define size_t unsigned
20410 echo "$as_me:$LINENO: checking for int64_t" >&5
20411 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
20412 if test "${ac_cv_type_int64_t+set}" = set; then
20413 echo $ECHO_N "(cached) $ECHO_C" >&6
20415 cat >conftest.$ac_ext <<_ACEOF
20416 #line $LINENO "configure"
20419 cat confdefs.h >>conftest.$ac_ext
20420 cat >>conftest.$ac_ext <<_ACEOF
20421 /* end confdefs.h. */
20422 $ac_includes_default
20428 if (sizeof (int64_t))
20434 rm -f conftest.$ac_objext
20435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20436 (eval $ac_compile) 2>&5
20438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20439 (exit $ac_status); } &&
20440 { ac_try='test -s conftest.$ac_objext'
20441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20442 (eval $ac_try) 2>&5
20444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20445 (exit $ac_status); }; }; then
20446 ac_cv_type_int64_t=yes
20448 echo "$as_me: failed program was:" >&5
20449 sed 's/^/| /' conftest.$ac_ext >&5
20451 ac_cv_type_int64_t=no
20453 rm -f conftest.$ac_objext conftest.$ac_ext
20455 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
20456 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
20457 if test $ac_cv_type_int64_t = yes; then
20459 cat >>confdefs.h <<_ACEOF
20460 #define HAVE_INT64_T 1
20465 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
20466 echo "$as_me: error: Type int64_t required but not found" >&2;}
20467 { (exit 1); exit 1; }; }
20470 echo "$as_me:$LINENO: checking for uint64_t" >&5
20471 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
20472 if test "${ac_cv_type_uint64_t+set}" = set; then
20473 echo $ECHO_N "(cached) $ECHO_C" >&6
20475 cat >conftest.$ac_ext <<_ACEOF
20476 #line $LINENO "configure"
20479 cat confdefs.h >>conftest.$ac_ext
20480 cat >>conftest.$ac_ext <<_ACEOF
20481 /* end confdefs.h. */
20482 $ac_includes_default
20486 if ((uint64_t *) 0)
20488 if (sizeof (uint64_t))
20494 rm -f conftest.$ac_objext
20495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20496 (eval $ac_compile) 2>&5
20498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20499 (exit $ac_status); } &&
20500 { ac_try='test -s conftest.$ac_objext'
20501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20502 (eval $ac_try) 2>&5
20504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20505 (exit $ac_status); }; }; then
20506 ac_cv_type_uint64_t=yes
20508 echo "$as_me: failed program was:" >&5
20509 sed 's/^/| /' conftest.$ac_ext >&5
20511 ac_cv_type_uint64_t=no
20513 rm -f conftest.$ac_objext conftest.$ac_ext
20515 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
20516 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
20517 if test $ac_cv_type_uint64_t = yes; then
20519 cat >>confdefs.h <<_ACEOF
20520 #define HAVE_UINT64_T 1
20525 { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5
20526 echo "$as_me: error: Type uint64_t required but not found" >&2;}
20527 { (exit 1); exit 1; }; }
20530 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20531 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20532 if test "${ac_cv_header_time+set}" = set; then
20533 echo $ECHO_N "(cached) $ECHO_C" >&6
20535 cat >conftest.$ac_ext <<_ACEOF
20536 #line $LINENO "configure"
20539 cat confdefs.h >>conftest.$ac_ext
20540 cat >>conftest.$ac_ext <<_ACEOF
20541 /* end confdefs.h. */
20542 #include <sys/types.h>
20543 #include <sys/time.h>
20549 if ((struct tm *) 0)
20555 rm -f conftest.$ac_objext
20556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20557 (eval $ac_compile) 2>&5
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); } &&
20561 { ac_try='test -s conftest.$ac_objext'
20562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20563 (eval $ac_try) 2>&5
20565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20566 (exit $ac_status); }; }; then
20567 ac_cv_header_time=yes
20569 echo "$as_me: failed program was:" >&5
20570 sed 's/^/| /' conftest.$ac_ext >&5
20572 ac_cv_header_time=no
20574 rm -f conftest.$ac_objext conftest.$ac_ext
20576 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20577 echo "${ECHO_T}$ac_cv_header_time" >&6
20578 if test $ac_cv_header_time = yes; then
20580 cat >>confdefs.h <<\_ACEOF
20581 #define TIME_WITH_SYS_TIME 1
20586 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20587 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
20588 if test "${ac_cv_struct_tm+set}" = set; then
20589 echo $ECHO_N "(cached) $ECHO_C" >&6
20591 cat >conftest.$ac_ext <<_ACEOF
20592 #line $LINENO "configure"
20595 cat confdefs.h >>conftest.$ac_ext
20596 cat >>conftest.$ac_ext <<_ACEOF
20597 /* end confdefs.h. */
20598 #include <sys/types.h>
20604 struct tm *tp; tp->tm_sec;
20609 rm -f conftest.$ac_objext
20610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20611 (eval $ac_compile) 2>&5
20613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20614 (exit $ac_status); } &&
20615 { ac_try='test -s conftest.$ac_objext'
20616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20617 (eval $ac_try) 2>&5
20619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20620 (exit $ac_status); }; }; then
20621 ac_cv_struct_tm=time.h
20623 echo "$as_me: failed program was:" >&5
20624 sed 's/^/| /' conftest.$ac_ext >&5
20626 ac_cv_struct_tm=sys/time.h
20628 rm -f conftest.$ac_objext conftest.$ac_ext
20630 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20631 echo "${ECHO_T}$ac_cv_struct_tm" >&6
20632 if test $ac_cv_struct_tm = sys/time.h; then
20634 cat >>confdefs.h <<\_ACEOF
20635 #define TM_IN_SYS_TIME 1
20641 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
20642 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
20643 if test "${ac_cv_cxx_namespaces+set}" = set; then
20644 echo $ECHO_N "(cached) $ECHO_C" >&6
20649 ac_cpp='$CXXCPP $CPPFLAGS'
20650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20654 cat >conftest.$ac_ext <<_ACEOF
20655 #line $LINENO "configure"
20658 cat confdefs.h >>conftest.$ac_ext
20659 cat >>conftest.$ac_ext <<_ACEOF
20660 /* end confdefs.h. */
20661 namespace Outer { namespace Inner { int i = 0; }}
20665 using namespace Outer::Inner; return i;
20670 rm -f conftest.$ac_objext
20671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20672 (eval $ac_compile) 2>&5
20674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20675 (exit $ac_status); } &&
20676 { ac_try='test -s conftest.$ac_objext'
20677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20678 (eval $ac_try) 2>&5
20680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20681 (exit $ac_status); }; }; then
20682 ac_cv_cxx_namespaces=yes
20684 echo "$as_me: failed program was:" >&5
20685 sed 's/^/| /' conftest.$ac_ext >&5
20687 ac_cv_cxx_namespaces=no
20689 rm -f conftest.$ac_objext conftest.$ac_ext
20691 ac_cpp='$CPP $CPPFLAGS'
20692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20698 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
20699 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
20700 if test "$ac_cv_cxx_namespaces" = yes; then
20702 cat >>confdefs.h <<\_ACEOF
20703 #define HAVE_NAMESPACES
20708 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_map" >&5
20709 echo $ECHO_N "checking whether the compiler has ext/hash_map... $ECHO_C" >&6
20710 if test "${ac_cv_cxx_have_ext_hash_map+set}" = set; then
20711 echo $ECHO_N "(cached) $ECHO_C" >&6
20717 ac_cpp='$CXXCPP $CPPFLAGS'
20718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20722 cat >conftest.$ac_ext <<_ACEOF
20723 #line $LINENO "configure"
20726 cat confdefs.h >>conftest.$ac_ext
20727 cat >>conftest.$ac_ext <<_ACEOF
20728 /* end confdefs.h. */
20729 #include <ext/hash_map>
20730 #ifdef HAVE_NAMESPACES
20731 using namespace std;
20736 hash_map<int, int> t; return 0;
20741 rm -f conftest.$ac_objext
20742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20743 (eval $ac_compile) 2>&5
20745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20746 (exit $ac_status); } &&
20747 { ac_try='test -s conftest.$ac_objext'
20748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20749 (eval $ac_try) 2>&5
20751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20752 (exit $ac_status); }; }; then
20753 ac_cv_cxx_have_ext_hash_map=std
20755 echo "$as_me: failed program was:" >&5
20756 sed 's/^/| /' conftest.$ac_ext >&5
20758 ac_cv_cxx_have_ext_hash_map=no
20760 rm -f conftest.$ac_objext conftest.$ac_ext
20761 cat >conftest.$ac_ext <<_ACEOF
20762 #line $LINENO "configure"
20765 cat confdefs.h >>conftest.$ac_ext
20766 cat >>conftest.$ac_ext <<_ACEOF
20767 /* end confdefs.h. */
20768 #include <ext/hash_map>
20769 #ifdef HAVE_NAMESPACES
20770 using namespace __gnu_cxx;
20775 hash_map<int, int> t; return 0;
20780 rm -f conftest.$ac_objext
20781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20782 (eval $ac_compile) 2>&5
20784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20785 (exit $ac_status); } &&
20786 { ac_try='test -s conftest.$ac_objext'
20787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20788 (eval $ac_try) 2>&5
20790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20791 (exit $ac_status); }; }; then
20792 ac_cv_cxx_have_ext_hash_map=gnu
20794 echo "$as_me: failed program was:" >&5
20795 sed 's/^/| /' conftest.$ac_ext >&5
20797 ac_cv_cxx_have_ext_hash_map=no
20799 rm -f conftest.$ac_objext conftest.$ac_ext
20801 ac_cpp='$CPP $CPPFLAGS'
20802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20808 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_map" >&5
20809 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_map" >&6
20810 if test "$ac_cv_cxx_have_ext_hash_map" = std; then
20812 cat >>confdefs.h <<\_ACEOF
20813 #define HAVE_STD_EXT_HASH_MAP
20817 if test "$ac_cv_cxx_have_ext_hash_map" = gnu; then
20819 cat >>confdefs.h <<\_ACEOF
20820 #define HAVE_GNU_EXT_HASH_MAP
20825 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_set" >&5
20826 echo $ECHO_N "checking whether the compiler has ext/hash_set... $ECHO_C" >&6
20827 if test "${ac_cv_cxx_have_ext_hash_set+set}" = set; then
20828 echo $ECHO_N "(cached) $ECHO_C" >&6
20834 ac_cpp='$CXXCPP $CPPFLAGS'
20835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20839 cat >conftest.$ac_ext <<_ACEOF
20840 #line $LINENO "configure"
20843 cat confdefs.h >>conftest.$ac_ext
20844 cat >>conftest.$ac_ext <<_ACEOF
20845 /* end confdefs.h. */
20846 #include <ext/hash_set>
20847 #ifdef HAVE_NAMESPACES
20848 using namespace std;
20853 hash_set<int> t; return 0;
20858 rm -f conftest.$ac_objext
20859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20860 (eval $ac_compile) 2>&5
20862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20863 (exit $ac_status); } &&
20864 { ac_try='test -s conftest.$ac_objext'
20865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20866 (eval $ac_try) 2>&5
20868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869 (exit $ac_status); }; }; then
20870 ac_cv_cxx_have_ext_hash_set=std
20872 echo "$as_me: failed program was:" >&5
20873 sed 's/^/| /' conftest.$ac_ext >&5
20875 ac_cv_cxx_have_ext_hash_set=no
20877 rm -f conftest.$ac_objext conftest.$ac_ext
20878 cat >conftest.$ac_ext <<_ACEOF
20879 #line $LINENO "configure"
20882 cat confdefs.h >>conftest.$ac_ext
20883 cat >>conftest.$ac_ext <<_ACEOF
20884 /* end confdefs.h. */
20885 #include <ext/hash_set>
20886 #ifdef HAVE_NAMESPACES
20887 using namespace __gnu_cxx;
20892 hash_set<int> t; return 0;
20897 rm -f conftest.$ac_objext
20898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20899 (eval $ac_compile) 2>&5
20901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20902 (exit $ac_status); } &&
20903 { ac_try='test -s conftest.$ac_objext'
20904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20905 (eval $ac_try) 2>&5
20907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20908 (exit $ac_status); }; }; then
20909 ac_cv_cxx_have_ext_hash_set=gnu
20911 echo "$as_me: failed program was:" >&5
20912 sed 's/^/| /' conftest.$ac_ext >&5
20914 ac_cv_cxx_have_ext_hash_set=no
20916 rm -f conftest.$ac_objext conftest.$ac_ext
20918 ac_cpp='$CPP $CPPFLAGS'
20919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20925 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_set" >&5
20926 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_set" >&6
20927 if test "$ac_cv_cxx_have_ext_hash_set" = std; then
20929 cat >>confdefs.h <<\_ACEOF
20930 #define HAVE_STD_EXT_HASH_SET
20934 if test "$ac_cv_cxx_have_ext_hash_set" = gnu; then
20936 cat >>confdefs.h <<\_ACEOF
20937 #define HAVE_GNU_EXT_HASH_SET
20942 echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5
20943 echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6
20944 if test "${ac_cv_cxx_have_ext_slist+set}" = set; then
20945 echo $ECHO_N "(cached) $ECHO_C" >&6
20951 ac_cpp='$CXXCPP $CPPFLAGS'
20952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20956 cat >conftest.$ac_ext <<_ACEOF
20957 #line $LINENO "configure"
20960 cat confdefs.h >>conftest.$ac_ext
20961 cat >>conftest.$ac_ext <<_ACEOF
20962 /* end confdefs.h. */
20963 #include <ext/slist>
20964 #ifdef HAVE_NAMESPACES
20965 using namespace std;
20970 slist<int> s; return 0;
20975 rm -f conftest.$ac_objext
20976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20977 (eval $ac_compile) 2>&5
20979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20980 (exit $ac_status); } &&
20981 { ac_try='test -s conftest.$ac_objext'
20982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20983 (eval $ac_try) 2>&5
20985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20986 (exit $ac_status); }; }; then
20987 ac_cv_cxx_have_ext_slist=std
20989 echo "$as_me: failed program was:" >&5
20990 sed 's/^/| /' conftest.$ac_ext >&5
20992 ac_cv_cxx_have_ext_slist=no
20994 rm -f conftest.$ac_objext conftest.$ac_ext
20995 cat >conftest.$ac_ext <<_ACEOF
20996 #line $LINENO "configure"
20999 cat confdefs.h >>conftest.$ac_ext
21000 cat >>conftest.$ac_ext <<_ACEOF
21001 /* end confdefs.h. */
21002 #include <ext/slist>
21003 #ifdef HAVE_NAMESPACES
21004 using namespace __gnu_cxx;
21009 slist<int> s; return 0;
21014 rm -f conftest.$ac_objext
21015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21016 (eval $ac_compile) 2>&5
21018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21019 (exit $ac_status); } &&
21020 { ac_try='test -s conftest.$ac_objext'
21021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21022 (eval $ac_try) 2>&5
21024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21025 (exit $ac_status); }; }; then
21026 ac_cv_cxx_have_ext_slist=gnu
21028 echo "$as_me: failed program was:" >&5
21029 sed 's/^/| /' conftest.$ac_ext >&5
21031 ac_cv_cxx_have_ext_slist=no
21033 rm -f conftest.$ac_objext conftest.$ac_ext
21036 ac_cpp='$CPP $CPPFLAGS'
21037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21043 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5
21044 echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6
21045 if test "$ac_cv_cxx_have_ext_slist" = std; then
21047 cat >>confdefs.h <<\_ACEOF
21048 #define HAVE_EXT_SLIST std
21052 if test "$ac_cv_cxx_have_ext_slist" = gnu; then
21054 cat >>confdefs.h <<\_ACEOF
21055 #define HAVE_EXT_SLIST gnu
21060 echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
21061 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6
21062 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
21063 echo $ECHO_N "(cached) $ECHO_C" >&6
21069 ac_cpp='$CXXCPP $CPPFLAGS'
21070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21074 cat >conftest.$ac_ext <<_ACEOF
21075 #line $LINENO "configure"
21078 cat confdefs.h >>conftest.$ac_ext
21079 cat >>conftest.$ac_ext <<_ACEOF
21080 /* end confdefs.h. */
21081 #include <iterator>
21082 #ifdef HAVE_NAMESPACES
21083 using namespace std;
21088 iterator<int,int,int> t; return 0;
21093 rm -f conftest.$ac_objext
21094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21095 (eval $ac_compile) 2>&5
21097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21098 (exit $ac_status); } &&
21099 { ac_try='test -s conftest.$ac_objext'
21100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21101 (eval $ac_try) 2>&5
21103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21104 (exit $ac_status); }; }; then
21105 ac_cv_cxx_have_std_iterator=yes
21107 echo "$as_me: failed program was:" >&5
21108 sed 's/^/| /' conftest.$ac_ext >&5
21110 ac_cv_cxx_have_std_iterator=no
21112 rm -f conftest.$ac_objext conftest.$ac_ext
21114 ac_cpp='$CPP $CPPFLAGS'
21115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21121 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
21122 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6
21123 if test "$ac_cv_cxx_have_std_iterator" = yes; then
21125 cat >>confdefs.h <<\_ACEOF
21126 #define HAVE_STD_ITERATOR
21131 echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
21132 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6
21133 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
21134 echo $ECHO_N "(cached) $ECHO_C" >&6
21140 ac_cpp='$CXXCPP $CPPFLAGS'
21141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21145 cat >conftest.$ac_ext <<_ACEOF
21146 #line $LINENO "configure"
21149 cat confdefs.h >>conftest.$ac_ext
21150 cat >>conftest.$ac_ext <<_ACEOF
21151 /* end confdefs.h. */
21152 #include <iterator>
21153 #ifdef HAVE_NAMESPACES
21154 using namespace std;
21159 bidirectional_iterator<int,int> t; return 0;
21164 rm -f conftest.$ac_objext
21165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21166 (eval $ac_compile) 2>&5
21168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21169 (exit $ac_status); } &&
21170 { ac_try='test -s conftest.$ac_objext'
21171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21172 (eval $ac_try) 2>&5
21174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21175 (exit $ac_status); }; }; then
21176 ac_cv_cxx_have_bi_iterator=yes
21178 echo "$as_me: failed program was:" >&5
21179 sed 's/^/| /' conftest.$ac_ext >&5
21181 ac_cv_cxx_have_bi_iterator=no
21183 rm -f conftest.$ac_objext conftest.$ac_ext
21185 ac_cpp='$CPP $CPPFLAGS'
21186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21192 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
21193 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6
21194 if test "$ac_cv_cxx_have_bi_iterator" = yes; then
21196 cat >>confdefs.h <<\_ACEOF
21197 #define HAVE_BI_ITERATOR
21202 echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
21203 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6
21204 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
21205 echo $ECHO_N "(cached) $ECHO_C" >&6
21211 ac_cpp='$CXXCPP $CPPFLAGS'
21212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21216 cat >conftest.$ac_ext <<_ACEOF
21217 #line $LINENO "configure"
21220 cat confdefs.h >>conftest.$ac_ext
21221 cat >>conftest.$ac_ext <<_ACEOF
21222 /* end confdefs.h. */
21223 #include <iterator>
21224 #ifdef HAVE_NAMESPACES
21225 using namespace std;
21230 forward_iterator<int,int> t; return 0;
21235 rm -f conftest.$ac_objext
21236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21237 (eval $ac_compile) 2>&5
21239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21240 (exit $ac_status); } &&
21241 { ac_try='test -s conftest.$ac_objext'
21242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21243 (eval $ac_try) 2>&5
21245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21246 (exit $ac_status); }; }; then
21247 ac_cv_cxx_have_fwd_iterator=yes
21249 echo "$as_me: failed program was:" >&5
21250 sed 's/^/| /' conftest.$ac_ext >&5
21252 ac_cv_cxx_have_fwd_iterator=no
21254 rm -f conftest.$ac_objext conftest.$ac_ext
21256 ac_cpp='$CPP $CPPFLAGS'
21257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21263 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
21264 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6
21265 if test "$ac_cv_cxx_have_fwd_iterator" = yes; then
21267 cat >>confdefs.h <<\_ACEOF
21268 #define HAVE_FWD_ITERATOR
21274 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21275 # for constant arguments. Useless!
21276 echo "$as_me:$LINENO: checking for working alloca.h" >&5
21277 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
21278 if test "${ac_cv_working_alloca_h+set}" = set; then
21279 echo $ECHO_N "(cached) $ECHO_C" >&6
21281 cat >conftest.$ac_ext <<_ACEOF
21282 #line $LINENO "configure"
21285 cat confdefs.h >>conftest.$ac_ext
21286 cat >>conftest.$ac_ext <<_ACEOF
21287 /* end confdefs.h. */
21288 #include <alloca.h>
21292 char *p = (char *) alloca (2 * sizeof (int));
21297 rm -f conftest.$ac_objext conftest$ac_exeext
21298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21299 (eval $ac_link) 2>&5
21301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21302 (exit $ac_status); } &&
21303 { ac_try='test -s conftest$ac_exeext'
21304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21305 (eval $ac_try) 2>&5
21307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21308 (exit $ac_status); }; }; then
21309 ac_cv_working_alloca_h=yes
21311 echo "$as_me: failed program was:" >&5
21312 sed 's/^/| /' conftest.$ac_ext >&5
21314 ac_cv_working_alloca_h=no
21316 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21318 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21319 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
21320 if test $ac_cv_working_alloca_h = yes; then
21322 cat >>confdefs.h <<\_ACEOF
21323 #define HAVE_ALLOCA_H 1
21328 echo "$as_me:$LINENO: checking for alloca" >&5
21329 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
21330 if test "${ac_cv_func_alloca_works+set}" = set; then
21331 echo $ECHO_N "(cached) $ECHO_C" >&6
21333 cat >conftest.$ac_ext <<_ACEOF
21334 #line $LINENO "configure"
21337 cat confdefs.h >>conftest.$ac_ext
21338 cat >>conftest.$ac_ext <<_ACEOF
21339 /* end confdefs.h. */
21341 # define alloca __builtin_alloca
21344 # include <malloc.h>
21345 # define alloca _alloca
21348 # include <alloca.h>
21353 # ifndef alloca /* predefined by HP cc +Olibcalls */
21364 char *p = (char *) alloca (1);
21369 rm -f conftest.$ac_objext conftest$ac_exeext
21370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21371 (eval $ac_link) 2>&5
21373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21374 (exit $ac_status); } &&
21375 { ac_try='test -s conftest$ac_exeext'
21376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21377 (eval $ac_try) 2>&5
21379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21380 (exit $ac_status); }; }; then
21381 ac_cv_func_alloca_works=yes
21383 echo "$as_me: failed program was:" >&5
21384 sed 's/^/| /' conftest.$ac_ext >&5
21386 ac_cv_func_alloca_works=no
21388 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21390 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21391 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
21393 if test $ac_cv_func_alloca_works = yes; then
21395 cat >>confdefs.h <<\_ACEOF
21396 #define HAVE_ALLOCA 1
21400 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21401 # that cause trouble. Some versions do not even contain alloca or
21402 # contain a buggy version. If you still want to use their alloca,
21403 # use ar to extract alloca.o from them instead of compiling alloca.c.
21405 ALLOCA=alloca.$ac_objext
21407 cat >>confdefs.h <<\_ACEOF
21412 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21413 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
21414 if test "${ac_cv_os_cray+set}" = set; then
21415 echo $ECHO_N "(cached) $ECHO_C" >&6
21417 cat >conftest.$ac_ext <<_ACEOF
21418 #line $LINENO "configure"
21421 cat confdefs.h >>conftest.$ac_ext
21422 cat >>conftest.$ac_ext <<_ACEOF
21423 /* end confdefs.h. */
21424 #if defined(CRAY) && ! defined(CRAY2)
21431 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21432 $EGREP "webecray" >/dev/null 2>&1; then
21440 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
21441 echo "${ECHO_T}$ac_cv_os_cray" >&6
21442 if test $ac_cv_os_cray = yes; then
21443 for ac_func in _getb67 GETB67 getb67; do
21444 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21445 echo "$as_me:$LINENO: checking for $ac_func" >&5
21446 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21447 if eval "test \"\${$as_ac_var+set}\" = set"; then
21448 echo $ECHO_N "(cached) $ECHO_C" >&6
21450 cat >conftest.$ac_ext <<_ACEOF
21451 #line $LINENO "configure"
21454 cat confdefs.h >>conftest.$ac_ext
21455 cat >>conftest.$ac_ext <<_ACEOF
21456 /* end confdefs.h. */
21457 /* System header to define __stub macros and hopefully few prototypes,
21458 which can conflict with char $ac_func (); below.
21459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21460 <limits.h> exists even on freestanding compilers. */
21462 # include <limits.h>
21464 # include <assert.h>
21466 /* Override any gcc2 internal prototype to avoid an error. */
21471 /* We use char because int might match the return type of a gcc2
21472 builtin and then its argument prototype would still apply. */
21474 /* The GNU C library defines this for functions which it implements
21475 to always fail with ENOSYS. Some functions are actually named
21476 something starting with __ and the normal name is an alias. */
21477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21480 char (*f) () = $ac_func;
21489 return f != $ac_func;
21494 rm -f conftest.$ac_objext conftest$ac_exeext
21495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21496 (eval $ac_link) 2>&5
21498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21499 (exit $ac_status); } &&
21500 { ac_try='test -s conftest$ac_exeext'
21501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21502 (eval $ac_try) 2>&5
21504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21505 (exit $ac_status); }; }; then
21506 eval "$as_ac_var=yes"
21508 echo "$as_me: failed program was:" >&5
21509 sed 's/^/| /' conftest.$ac_ext >&5
21511 eval "$as_ac_var=no"
21513 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21515 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21516 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21517 if test `eval echo '${'$as_ac_var'}'` = yes; then
21519 cat >>confdefs.h <<_ACEOF
21520 #define CRAY_STACKSEG_END $ac_func
21529 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21530 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
21531 if test "${ac_cv_c_stack_direction+set}" = set; then
21532 echo $ECHO_N "(cached) $ECHO_C" >&6
21534 if test "$cross_compiling" = yes; then
21535 ac_cv_c_stack_direction=0
21537 cat >conftest.$ac_ext <<_ACEOF
21538 #line $LINENO "configure"
21541 cat confdefs.h >>conftest.$ac_ext
21542 cat >>conftest.$ac_ext <<_ACEOF
21543 /* end confdefs.h. */
21545 find_stack_direction ()
21547 static char *addr = 0;
21552 return find_stack_direction ();
21555 return (&dummy > addr) ? 1 : -1;
21561 exit (find_stack_direction () < 0);
21564 rm -f conftest$ac_exeext
21565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21566 (eval $ac_link) 2>&5
21568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21569 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21571 (eval $ac_try) 2>&5
21573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21574 (exit $ac_status); }; }; then
21575 ac_cv_c_stack_direction=1
21577 echo "$as_me: program exited with status $ac_status" >&5
21578 echo "$as_me: failed program was:" >&5
21579 sed 's/^/| /' conftest.$ac_ext >&5
21581 ( exit $ac_status )
21582 ac_cv_c_stack_direction=-1
21584 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21587 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21588 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
21590 cat >>confdefs.h <<_ACEOF
21591 #define STACK_DIRECTION $ac_cv_c_stack_direction
21597 if test $ac_cv_c_compiler_gnu = yes; then
21598 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
21599 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
21600 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
21601 echo $ECHO_N "(cached) $ECHO_C" >&6
21603 ac_pattern="Autoconf.*'x'"
21604 cat >conftest.$ac_ext <<_ACEOF
21605 #line $LINENO "configure"
21608 cat confdefs.h >>conftest.$ac_ext
21609 cat >>conftest.$ac_ext <<_ACEOF
21610 /* end confdefs.h. */
21614 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21615 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21616 ac_cv_prog_gcc_traditional=yes
21618 ac_cv_prog_gcc_traditional=no
21623 if test $ac_cv_prog_gcc_traditional = no; then
21624 cat >conftest.$ac_ext <<_ACEOF
21625 #line $LINENO "configure"
21628 cat confdefs.h >>conftest.$ac_ext
21629 cat >>conftest.$ac_ext <<_ACEOF
21630 /* end confdefs.h. */
21631 #include <termio.h>
21634 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21635 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21636 ac_cv_prog_gcc_traditional=yes
21642 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
21643 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
21644 if test $ac_cv_prog_gcc_traditional = yes; then
21645 CC="$CC -traditional"
21649 echo "$as_me:$LINENO: checking for working memcmp" >&5
21650 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
21651 if test "${ac_cv_func_memcmp_working+set}" = set; then
21652 echo $ECHO_N "(cached) $ECHO_C" >&6
21654 if test "$cross_compiling" = yes; then
21655 ac_cv_func_memcmp_working=no
21657 cat >conftest.$ac_ext <<_ACEOF
21658 #line $LINENO "configure"
21661 cat confdefs.h >>conftest.$ac_ext
21662 cat >>conftest.$ac_ext <<_ACEOF
21663 /* end confdefs.h. */
21669 /* Some versions of memcmp are not 8-bit clean. */
21670 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
21671 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
21674 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
21675 or more and with at least one buffer not starting on a 4-byte boundary.
21676 William Lewis provided this test program. */
21681 for (i = 0; i < 4; i++)
21685 strcpy (a, "--------01111111");
21686 strcpy (b, "--------10000000");
21687 if (memcmp (a, b, 16) >= 0)
21697 rm -f conftest$ac_exeext
21698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21699 (eval $ac_link) 2>&5
21701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21702 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21704 (eval $ac_try) 2>&5
21706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21707 (exit $ac_status); }; }; then
21708 ac_cv_func_memcmp_working=yes
21710 echo "$as_me: program exited with status $ac_status" >&5
21711 echo "$as_me: failed program was:" >&5
21712 sed 's/^/| /' conftest.$ac_ext >&5
21714 ( exit $ac_status )
21715 ac_cv_func_memcmp_working=no
21717 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21720 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
21721 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
21722 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
21726 for ac_header in stdlib.h unistd.h
21728 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21729 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21730 echo "$as_me:$LINENO: checking for $ac_header" >&5
21731 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21732 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21733 echo $ECHO_N "(cached) $ECHO_C" >&6
21735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21736 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21738 # Is the header compilable?
21739 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21740 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21741 cat >conftest.$ac_ext <<_ACEOF
21742 #line $LINENO "configure"
21745 cat confdefs.h >>conftest.$ac_ext
21746 cat >>conftest.$ac_ext <<_ACEOF
21747 /* end confdefs.h. */
21748 $ac_includes_default
21749 #include <$ac_header>
21751 rm -f conftest.$ac_objext
21752 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21753 (eval $ac_compile) 2>&5
21755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21756 (exit $ac_status); } &&
21757 { ac_try='test -s conftest.$ac_objext'
21758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21759 (eval $ac_try) 2>&5
21761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21762 (exit $ac_status); }; }; then
21763 ac_header_compiler=yes
21765 echo "$as_me: failed program was:" >&5
21766 sed 's/^/| /' conftest.$ac_ext >&5
21768 ac_header_compiler=no
21770 rm -f conftest.$ac_objext conftest.$ac_ext
21771 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21772 echo "${ECHO_T}$ac_header_compiler" >&6
21774 # Is the header present?
21775 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21776 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21777 cat >conftest.$ac_ext <<_ACEOF
21778 #line $LINENO "configure"
21781 cat confdefs.h >>conftest.$ac_ext
21782 cat >>conftest.$ac_ext <<_ACEOF
21783 /* end confdefs.h. */
21784 #include <$ac_header>
21786 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21787 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21789 grep -v '^ *+' conftest.er1 >conftest.err
21791 cat conftest.err >&5
21792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21793 (exit $ac_status); } >/dev/null; then
21794 if test -s conftest.err; then
21795 ac_cpp_err=$ac_c_preproc_warn_flag
21802 if test -z "$ac_cpp_err"; then
21803 ac_header_preproc=yes
21805 echo "$as_me: failed program was:" >&5
21806 sed 's/^/| /' conftest.$ac_ext >&5
21808 ac_header_preproc=no
21810 rm -f conftest.err conftest.$ac_ext
21811 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21812 echo "${ECHO_T}$ac_header_preproc" >&6
21814 # So? What about this header?
21815 case $ac_header_compiler:$ac_header_preproc in
21817 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21818 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21819 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21820 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21823 ## ------------------------------------ ##
21824 ## Report this to bug-autoconf@gnu.org. ##
21825 ## ------------------------------------ ##
21828 sed "s/^/$as_me: WARNING: /" >&2
21831 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21832 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21833 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21834 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21835 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21836 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21839 ## ------------------------------------ ##
21840 ## Report this to bug-autoconf@gnu.org. ##
21841 ## ------------------------------------ ##
21844 sed "s/^/$as_me: WARNING: /" >&2
21847 echo "$as_me:$LINENO: checking for $ac_header" >&5
21848 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21849 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21850 echo $ECHO_N "(cached) $ECHO_C" >&6
21852 eval "$as_ac_Header=$ac_header_preproc"
21854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21855 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21858 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21859 cat >>confdefs.h <<_ACEOF
21860 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21868 for ac_func in getpagesize
21870 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21871 echo "$as_me:$LINENO: checking for $ac_func" >&5
21872 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21873 if eval "test \"\${$as_ac_var+set}\" = set"; then
21874 echo $ECHO_N "(cached) $ECHO_C" >&6
21876 cat >conftest.$ac_ext <<_ACEOF
21877 #line $LINENO "configure"
21880 cat confdefs.h >>conftest.$ac_ext
21881 cat >>conftest.$ac_ext <<_ACEOF
21882 /* end confdefs.h. */
21883 /* System header to define __stub macros and hopefully few prototypes,
21884 which can conflict with char $ac_func (); below.
21885 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21886 <limits.h> exists even on freestanding compilers. */
21888 # include <limits.h>
21890 # include <assert.h>
21892 /* Override any gcc2 internal prototype to avoid an error. */
21897 /* We use char because int might match the return type of a gcc2
21898 builtin and then its argument prototype would still apply. */
21900 /* The GNU C library defines this for functions which it implements
21901 to always fail with ENOSYS. Some functions are actually named
21902 something starting with __ and the normal name is an alias. */
21903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21906 char (*f) () = $ac_func;
21915 return f != $ac_func;
21920 rm -f conftest.$ac_objext conftest$ac_exeext
21921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21922 (eval $ac_link) 2>&5
21924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21925 (exit $ac_status); } &&
21926 { ac_try='test -s conftest$ac_exeext'
21927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21928 (eval $ac_try) 2>&5
21930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21931 (exit $ac_status); }; }; then
21932 eval "$as_ac_var=yes"
21934 echo "$as_me: failed program was:" >&5
21935 sed 's/^/| /' conftest.$ac_ext >&5
21937 eval "$as_ac_var=no"
21939 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21943 if test `eval echo '${'$as_ac_var'}'` = yes; then
21944 cat >>confdefs.h <<_ACEOF
21945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21951 echo "$as_me:$LINENO: checking for working mmap" >&5
21952 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
21953 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
21954 echo $ECHO_N "(cached) $ECHO_C" >&6
21956 if test "$cross_compiling" = yes; then
21957 ac_cv_func_mmap_fixed_mapped=no
21959 cat >conftest.$ac_ext <<_ACEOF
21960 #line $LINENO "configure"
21963 cat confdefs.h >>conftest.$ac_ext
21964 cat >>conftest.$ac_ext <<_ACEOF
21965 /* end confdefs.h. */
21966 $ac_includes_default
21967 /* malloc might have been renamed as rpl_malloc. */
21970 /* Thanks to Mike Haertel and Jim Avera for this test.
21971 Here is a matrix of mmap possibilities:
21972 mmap private not fixed
21973 mmap private fixed at somewhere currently unmapped
21974 mmap private fixed at somewhere already mapped
21975 mmap shared not fixed
21976 mmap shared fixed at somewhere currently unmapped
21977 mmap shared fixed at somewhere already mapped
21978 For private mappings, we should verify that changes cannot be read()
21979 back from the file, nor mmap's back from the file at a different
21980 address. (There have been systems where private was not correctly
21981 implemented like the infamous i386 svr4.0, and systems where the
21982 VM page cache was not coherent with the file system buffer cache
21983 like early versions of FreeBSD and possibly contemporary NetBSD.)
21984 For shared mappings, we should conversely verify that changes get
21985 propagated back to all the places they're supposed to be.
21987 Grep wants private fixed already mapped.
21988 The main things grep needs to know about mmap are:
21989 * does it exist and is it safe to write into the mmap'd area
21990 * how to use it (BSD variants) */
21993 #include <sys/mman.h>
21995 #if !STDC_HEADERS && !HAVE_STDLIB_H
21999 /* This mess was copied from the GNU getpagesize.h. */
22000 #if !HAVE_GETPAGESIZE
22001 /* Assume that all systems that can run configure have sys/param.h. */
22002 # if !HAVE_SYS_PARAM_H
22003 # define HAVE_SYS_PARAM_H 1
22006 # ifdef _SC_PAGESIZE
22007 # define getpagesize() sysconf(_SC_PAGESIZE)
22008 # else /* no _SC_PAGESIZE */
22009 # if HAVE_SYS_PARAM_H
22010 # include <sys/param.h>
22011 # ifdef EXEC_PAGESIZE
22012 # define getpagesize() EXEC_PAGESIZE
22013 # else /* no EXEC_PAGESIZE */
22015 # define getpagesize() NBPG * CLSIZE
22018 # endif /* no CLSIZE */
22019 # else /* no NBPG */
22021 # define getpagesize() NBPC
22022 # else /* no NBPC */
22024 # define getpagesize() PAGESIZE
22025 # endif /* PAGESIZE */
22026 # endif /* no NBPC */
22027 # endif /* no NBPG */
22028 # endif /* no EXEC_PAGESIZE */
22029 # else /* no HAVE_SYS_PARAM_H */
22030 # define getpagesize() 8192 /* punt totally */
22031 # endif /* no HAVE_SYS_PARAM_H */
22032 # endif /* no _SC_PAGESIZE */
22034 #endif /* no HAVE_GETPAGESIZE */
22039 char *data, *data2, *data3;
22043 pagesize = getpagesize ();
22045 /* First, make a file with some known garbage in it. */
22046 data = (char *) malloc (pagesize);
22049 for (i = 0; i < pagesize; ++i)
22050 *(data + i) = rand ();
22052 fd = creat ("conftest.mmap", 0600);
22055 if (write (fd, data, pagesize) != pagesize)
22059 /* Next, try to mmap the file at a fixed address which already has
22060 something else allocated at it. If we can, also make sure that
22061 we see the same garbage. */
22062 fd = open ("conftest.mmap", O_RDWR);
22065 data2 = (char *) malloc (2 * pagesize);
22068 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
22069 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22070 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22072 for (i = 0; i < pagesize; ++i)
22073 if (*(data + i) != *(data2 + i))
22076 /* Finally, make sure that changes to the mapped area do not
22077 percolate back to the file as seen by read(). (This is a bug on
22078 some variants of i386 svr4.0.) */
22079 for (i = 0; i < pagesize; ++i)
22080 *(data2 + i) = *(data2 + i) + 1;
22081 data3 = (char *) malloc (pagesize);
22084 if (read (fd, data3, pagesize) != pagesize)
22086 for (i = 0; i < pagesize; ++i)
22087 if (*(data + i) != *(data3 + i))
22093 rm -f conftest$ac_exeext
22094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22095 (eval $ac_link) 2>&5
22097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22098 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22100 (eval $ac_try) 2>&5
22102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22103 (exit $ac_status); }; }; then
22104 ac_cv_func_mmap_fixed_mapped=yes
22106 echo "$as_me: program exited with status $ac_status" >&5
22107 echo "$as_me: failed program was:" >&5
22108 sed 's/^/| /' conftest.$ac_ext >&5
22110 ( exit $ac_status )
22111 ac_cv_func_mmap_fixed_mapped=no
22113 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22116 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22117 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22118 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22120 cat >>confdefs.h <<\_ACEOF
22121 #define HAVE_MMAP 1
22125 rm -f conftest.mmap
22127 echo "$as_me:$LINENO: checking for mmap of files" >&5
22128 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6
22129 if test "${ac_cv_func_mmap_file+set}" = set; then
22130 echo $ECHO_N "(cached) $ECHO_C" >&6
22135 ac_cpp='$CPP $CPPFLAGS'
22136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22140 if test "$cross_compiling" = yes; then
22141 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22142 See \`config.log' for more details." >&5
22143 echo "$as_me: error: cannot run test program while cross compiling
22144 See \`config.log' for more details." >&2;}
22145 { (exit 1); exit 1; }; }
22147 cat >conftest.$ac_ext <<_ACEOF
22148 #line $LINENO "configure"
22151 cat confdefs.h >>conftest.$ac_ext
22152 cat >>conftest.$ac_ext <<_ACEOF
22153 /* end confdefs.h. */
22155 #ifdef HAVE_SYS_MMAN_H
22156 #include <sys/mman.h>
22159 #ifdef HAVE_SYS_TYPES_H
22160 #include <sys/types.h>
22163 #ifdef HAVE_FCNTL_H
22169 fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != MAP_FAILED);}
22171 rm -f conftest$ac_exeext
22172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22173 (eval $ac_link) 2>&5
22175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22176 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22178 (eval $ac_try) 2>&5
22180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22181 (exit $ac_status); }; }; then
22182 ac_cv_func_mmap_file=yes
22184 echo "$as_me: program exited with status $ac_status" >&5
22185 echo "$as_me: failed program was:" >&5
22186 sed 's/^/| /' conftest.$ac_ext >&5
22188 ( exit $ac_status )
22189 ac_cv_func_mmap_file=no
22191 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22194 ac_cpp='$CPP $CPPFLAGS'
22195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22201 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
22202 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
22203 if test "$ac_cv_func_mmap_file" = yes; then
22204 cat >>confdefs.h <<\_ACEOF
22205 #define HAVE_MMAP_FILE 1
22212 if test ${ac_cv_func_mmap_file} = "no"
22214 { { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5
22215 echo "$as_me: error: mmap() of files required but not found" >&2;}
22216 { (exit 1); exit 1; }; }
22218 echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
22219 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6
22220 if test "${ac_cv_header_mmap_anon+set}" = set; then
22221 echo $ECHO_N "(cached) $ECHO_C" >&6
22226 ac_cpp='$CPP $CPPFLAGS'
22227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22231 cat >conftest.$ac_ext <<_ACEOF
22232 #line $LINENO "configure"
22235 cat confdefs.h >>conftest.$ac_ext
22236 cat >>conftest.$ac_ext <<_ACEOF
22237 /* end confdefs.h. */
22238 #include <sys/mman.h>
22239 #include <unistd.h>
22244 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
22249 rm -f conftest.$ac_objext
22250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22251 (eval $ac_compile) 2>&5
22253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22254 (exit $ac_status); } &&
22255 { ac_try='test -s conftest.$ac_objext'
22256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22257 (eval $ac_try) 2>&5
22259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22260 (exit $ac_status); }; }; then
22261 ac_cv_header_mmap_anon=yes
22263 echo "$as_me: failed program was:" >&5
22264 sed 's/^/| /' conftest.$ac_ext >&5
22266 ac_cv_header_mmap_anon=no
22268 rm -f conftest.$ac_objext conftest.$ac_ext
22270 ac_cpp='$CPP $CPPFLAGS'
22271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22277 echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
22278 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6
22279 if test "$ac_cv_header_mmap_anon" = yes; then
22280 cat >>confdefs.h <<\_ACEOF
22281 #define HAVE_MMAP_ANONYMOUS 1
22286 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
22287 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
22288 if test "${ac_cv_type_signal+set}" = set; then
22289 echo $ECHO_N "(cached) $ECHO_C" >&6
22291 cat >conftest.$ac_ext <<_ACEOF
22292 #line $LINENO "configure"
22295 cat confdefs.h >>conftest.$ac_ext
22296 cat >>conftest.$ac_ext <<_ACEOF
22297 /* end confdefs.h. */
22298 #include <sys/types.h>
22299 #include <signal.h>
22304 extern "C" void (*signal (int, void (*)(int)))(int);
22306 void (*signal ()) ();
22317 rm -f conftest.$ac_objext
22318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22319 (eval $ac_compile) 2>&5
22321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22322 (exit $ac_status); } &&
22323 { ac_try='test -s conftest.$ac_objext'
22324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22325 (eval $ac_try) 2>&5
22327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22328 (exit $ac_status); }; }; then
22329 ac_cv_type_signal=void
22331 echo "$as_me: failed program was:" >&5
22332 sed 's/^/| /' conftest.$ac_ext >&5
22334 ac_cv_type_signal=int
22336 rm -f conftest.$ac_objext conftest.$ac_ext
22338 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
22339 echo "${ECHO_T}$ac_cv_type_signal" >&6
22341 cat >>confdefs.h <<_ACEOF
22342 #define RETSIGTYPE $ac_cv_type_signal
22355 for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol
22357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22358 echo "$as_me:$LINENO: checking for $ac_func" >&5
22359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22360 if eval "test \"\${$as_ac_var+set}\" = set"; then
22361 echo $ECHO_N "(cached) $ECHO_C" >&6
22363 cat >conftest.$ac_ext <<_ACEOF
22364 #line $LINENO "configure"
22367 cat confdefs.h >>conftest.$ac_ext
22368 cat >>conftest.$ac_ext <<_ACEOF
22369 /* end confdefs.h. */
22370 /* System header to define __stub macros and hopefully few prototypes,
22371 which can conflict with char $ac_func (); below.
22372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22373 <limits.h> exists even on freestanding compilers. */
22375 # include <limits.h>
22377 # include <assert.h>
22379 /* Override any gcc2 internal prototype to avoid an error. */
22384 /* We use char because int might match the return type of a gcc2
22385 builtin and then its argument prototype would still apply. */
22387 /* The GNU C library defines this for functions which it implements
22388 to always fail with ENOSYS. Some functions are actually named
22389 something starting with __ and the normal name is an alias. */
22390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22393 char (*f) () = $ac_func;
22402 return f != $ac_func;
22407 rm -f conftest.$ac_objext conftest$ac_exeext
22408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22409 (eval $ac_link) 2>&5
22411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22412 (exit $ac_status); } &&
22413 { ac_try='test -s conftest$ac_exeext'
22414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22415 (eval $ac_try) 2>&5
22417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22418 (exit $ac_status); }; }; then
22419 eval "$as_ac_var=yes"
22421 echo "$as_me: failed program was:" >&5
22422 sed 's/^/| /' conftest.$ac_ext >&5
22424 eval "$as_ac_var=no"
22426 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22430 if test `eval echo '${'$as_ac_var'}'` = yes; then
22431 cat >>confdefs.h <<_ACEOF
22432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22440 echo "$as_me:$LINENO: checking for mmap" >&5
22441 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
22442 if test "${ac_cv_func_mmap+set}" = set; then
22443 echo $ECHO_N "(cached) $ECHO_C" >&6
22445 cat >conftest.$ac_ext <<_ACEOF
22446 #line $LINENO "configure"
22449 cat confdefs.h >>conftest.$ac_ext
22450 cat >>conftest.$ac_ext <<_ACEOF
22451 /* end confdefs.h. */
22452 /* System header to define __stub macros and hopefully few prototypes,
22453 which can conflict with char mmap (); below.
22454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22455 <limits.h> exists even on freestanding compilers. */
22457 # include <limits.h>
22459 # include <assert.h>
22461 /* Override any gcc2 internal prototype to avoid an error. */
22466 /* We use char because int might match the return type of a gcc2
22467 builtin and then its argument prototype would still apply. */
22469 /* The GNU C library defines this for functions which it implements
22470 to always fail with ENOSYS. Some functions are actually named
22471 something starting with __ and the normal name is an alias. */
22472 #if defined (__stub_mmap) || defined (__stub___mmap)
22475 char (*f) () = mmap;
22489 rm -f conftest.$ac_objext conftest$ac_exeext
22490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22491 (eval $ac_link) 2>&5
22493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22494 (exit $ac_status); } &&
22495 { ac_try='test -s conftest$ac_exeext'
22496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22497 (eval $ac_try) 2>&5
22499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22500 (exit $ac_status); }; }; then
22501 ac_cv_func_mmap=yes
22503 echo "$as_me: failed program was:" >&5
22504 sed 's/^/| /' conftest.$ac_ext >&5
22508 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22510 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
22511 echo "${ECHO_T}$ac_cv_func_mmap" >&6
22512 if test $ac_cv_func_mmap = yes; then
22515 { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5
22516 echo "$as_me: error: Function mmap() required but not found" >&2;}
22517 { (exit 1); exit 1; }; }
22520 echo "$as_me:$LINENO: checking for mprotect" >&5
22521 echo $ECHO_N "checking for mprotect... $ECHO_C" >&6
22522 if test "${ac_cv_func_mprotect+set}" = set; then
22523 echo $ECHO_N "(cached) $ECHO_C" >&6
22525 cat >conftest.$ac_ext <<_ACEOF
22526 #line $LINENO "configure"
22529 cat confdefs.h >>conftest.$ac_ext
22530 cat >>conftest.$ac_ext <<_ACEOF
22531 /* end confdefs.h. */
22532 /* System header to define __stub macros and hopefully few prototypes,
22533 which can conflict with char mprotect (); below.
22534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22535 <limits.h> exists even on freestanding compilers. */
22537 # include <limits.h>
22539 # include <assert.h>
22541 /* Override any gcc2 internal prototype to avoid an error. */
22546 /* We use char because int might match the return type of a gcc2
22547 builtin and then its argument prototype would still apply. */
22549 /* The GNU C library defines this for functions which it implements
22550 to always fail with ENOSYS. Some functions are actually named
22551 something starting with __ and the normal name is an alias. */
22552 #if defined (__stub_mprotect) || defined (__stub___mprotect)
22555 char (*f) () = mprotect;
22564 return f != mprotect;
22569 rm -f conftest.$ac_objext conftest$ac_exeext
22570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22571 (eval $ac_link) 2>&5
22573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22574 (exit $ac_status); } &&
22575 { ac_try='test -s conftest$ac_exeext'
22576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22577 (eval $ac_try) 2>&5
22579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22580 (exit $ac_status); }; }; then
22581 ac_cv_func_mprotect=yes
22583 echo "$as_me: failed program was:" >&5
22584 sed 's/^/| /' conftest.$ac_ext >&5
22586 ac_cv_func_mprotect=no
22588 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22590 echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
22591 echo "${ECHO_T}$ac_cv_func_mprotect" >&6
22592 if test $ac_cv_func_mprotect = yes; then
22595 { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5
22596 echo "$as_me: error: Function mprotect() required but not found" >&2;}
22597 { (exit 1); exit 1; }; }
22602 # Check whether --enable-purify or --disable-purify was given.
22603 if test "${enable_purify+set}" = set; then
22604 enableval="$enable_purify"
22609 if test ${enableval} = "no"
22614 ENABLE_PURIFY=ENABLE_PURIFY=1
22618 # Check whether --enable-optimized or --disable-optimized was given.
22619 if test "${enable_optimized+set}" = set; then
22620 enableval="$enable_optimized"
22625 if test ${enableval} = "no"
22630 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
22634 # Check whether --enable-spec or --disable-spec was given.
22635 if test "${enable_spec+set}" = set; then
22636 enableval="$enable_spec"
22641 if test ${enableval} = "no"
22646 USE_SPEC=USE_SPEC=1
22650 # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given.
22651 if test "${enable_precompiled_bytecode+set}" = set; then
22652 enableval="$enable_precompiled_bytecode"
22657 if test ${enableval} = "no"
22662 UPB=USE_PRECOMPILED_BYTECODE=1
22667 # Check whether --enable-llc_diffs or --disable-llc_diffs was given.
22668 if test "${enable_llc_diffs+set}" = set; then
22669 enableval="$enable_llc_diffs"
22674 if test ${enableval} = "no"
22676 DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1
22683 # Check whether --enable-jit or --disable-jit was given.
22684 if test "${enable_jit+set}" = set; then
22685 enableval="$enable_jit"
22691 if test ${enableval} = "no"
22698 JIT=TARGET_HAS_JIT=1
22702 JIT=TARGET_HAS_JIT=1
22714 # Check whether --with-spec or --without-spec was given.
22715 if test "${with_spec+set}" = set; then
22716 withval="$with_spec"
22720 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22725 # Check whether --with-llvmgccdir or --without-llvmgccdir was given.
22726 if test "${with_llvmgccdir+set}" = set; then
22727 withval="$with_llvmgccdir"
22728 LLVMGCCDIR=$withval
22733 # Check whether --with-bcrepos or --without-bcrepos was given.
22734 if test "${with_bcrepos+set}" = set; then
22735 withval="$with_bcrepos"
22739 BCR=/home/vadve/lattner/LLVMPrograms
22744 # Check whether --with-papi or --without-papi was given.
22745 if test "${with_papi+set}" = set; then
22746 withval="$with_papi"
22750 PAPIDIR=/home/vadve/shared/Sparc/papi-2.3.4.1
22755 # Check whether --with-purify or --without-purify was given.
22756 if test "${with_purify+set}" = set; then
22757 withval="$with_purify"
22763 ac_config_files="$ac_config_files Makefile.config"
22764 cat >confcache <<\_ACEOF
22765 # This file is a shell script that caches the results of configure
22766 # tests run on this system so they can be shared between configure
22767 # scripts and configure runs, see configure's option --config-cache.
22768 # It is not useful on other systems. If it contains results you don't
22769 # want to keep, you may remove or edit it.
22771 # config.status only pays attention to the cache file if you give it
22772 # the --recheck option to rerun configure.
22774 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22775 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22776 # following values.
22780 # The following way of writing the cache mishandles newlines in values,
22781 # but we know of no workaround that is simple, portable, and efficient.
22782 # So, don't put newlines in cache variables' values.
22783 # Ultrix sh set writes to stderr and can't be redirected directly,
22784 # and sets the high bit in the cache file unless we assign to the vars.
22787 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22789 # `set' does not quote correctly, so add quotes (double-quote
22790 # substitution turns \\\\ into \\, and sed turns \\ into \).
22793 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22796 # `set' quotes correctly as required by POSIX, so do not add quotes.
22798 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22805 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22807 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22809 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22810 if test -w $cache_file; then
22811 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22812 cat confcache >$cache_file
22814 echo "not updating unwritable cache $cache_file"
22819 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22820 # Let make expand exec_prefix.
22821 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22823 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22824 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22825 # trailing colons and then remove the whole line if VPATH becomes empty
22826 # (actually we leave an empty line to preserve line numbers).
22827 if test "x$srcdir" = x.; then
22828 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22829 s/:*\$(srcdir):*/:/;
22830 s/:*\${srcdir}:*/:/;
22832 s/^\([^=]*=[ ]*\):*/\1/;
22838 DEFS=-DHAVE_CONFIG_H
22842 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22843 # 1. Remove the extension, and $U if already installed.
22844 ac_i=`echo "$ac_i" |
22845 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22847 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
22848 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
22850 LIBOBJS=$ac_libobjs
22852 LTLIBOBJS=$ac_ltlibobjs
22856 : ${CONFIG_STATUS=./config.status}
22857 ac_clean_files_save=$ac_clean_files
22858 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22859 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22860 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22861 cat >$CONFIG_STATUS <<_ACEOF
22863 # Generated by $as_me.
22864 # Run this file to recreate the current configuration.
22865 # Compiler output produced by configure, useful for debugging
22866 # configure, is in config.log if it exists.
22869 ac_cs_recheck=false
22871 SHELL=\${CONFIG_SHELL-$SHELL}
22874 cat >>$CONFIG_STATUS <<\_ACEOF
22875 ## --------------------- ##
22876 ## M4sh Initialization. ##
22877 ## --------------------- ##
22879 # Be Bourne compatible
22880 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22883 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22884 # is contrary to our usage. Disable this feature.
22885 alias -g '${1+"$@"}'='"$@"'
22886 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22890 # Support unset when possible.
22891 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
22898 # Work around bugs in pre-3.0 UWIN ksh.
22899 $as_unset ENV MAIL MAILPATH
22906 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22907 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22908 LC_TELEPHONE LC_TIME
22910 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
22911 eval $as_var=C; export $as_var
22917 # Required to use basename.
22918 if expr a : '\(a\)' >/dev/null 2>&1; then
22924 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
22925 as_basename=basename
22931 # Name of the executable.
22932 as_me=`$as_basename "$0" ||
22933 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22934 X"$0" : 'X\(//\)$' \| \
22935 X"$0" : 'X\(/\)$' \| \
22936 . : '\(.\)' 2>/dev/null ||
22938 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22939 /^X\/\(\/\/\)$/{ s//\1/; q; }
22940 /^X\/\(\/\).*/{ s//\1/; q; }
22944 # PATH needs CR, and LINENO needs CR and PATH.
22945 # Avoid depending upon Character Ranges.
22946 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22947 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22948 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22949 as_cr_digits='0123456789'
22950 as_cr_alnum=$as_cr_Letters$as_cr_digits
22952 # The user is always right.
22953 if test "${PATH_SEPARATOR+set}" != set; then
22954 echo "#! /bin/sh" >conf$$.sh
22955 echo "exit 0" >>conf$$.sh
22957 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22966 as_lineno_1=$LINENO
22967 as_lineno_2=$LINENO
22968 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22969 test "x$as_lineno_1" != "x$as_lineno_2" &&
22970 test "x$as_lineno_3" = "x$as_lineno_2" || {
22971 # Find who we are. Look in the path if we contain no path at all
22974 *[\\/]* ) as_myself=$0 ;;
22975 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22976 for as_dir in $PATH
22979 test -z "$as_dir" && as_dir=.
22980 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22985 # We did not find ourselves, most probably we were run as `sh COMMAND'
22986 # in which case we are not to be found in the path.
22987 if test "x$as_myself" = x; then
22990 if test ! -f "$as_myself"; then
22991 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22992 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22993 { (exit 1); exit 1; }; }
22995 case $CONFIG_SHELL in
22997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22998 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
23001 test -z "$as_dir" && as_dir=.
23002 for as_base in sh bash ksh sh5; do
23005 if ("$as_dir/$as_base" -c '
23006 as_lineno_1=$LINENO
23007 as_lineno_2=$LINENO
23008 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23009 test "x$as_lineno_1" != "x$as_lineno_2" &&
23010 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
23011 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23012 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23013 CONFIG_SHELL=$as_dir/$as_base
23014 export CONFIG_SHELL
23015 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23023 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23024 # uniformly replaced by the line number. The first 'sed' inserts a
23025 # line-number line before each line; the second 'sed' does the real
23026 # work. The second script uses 'N' to pair each line-number line
23027 # with the numbered line, and appends trailing '-' during
23028 # substitution so that $LINENO is not a special case at line end.
23029 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23030 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23031 sed '=' <$as_myself |
23036 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23039 s,^['$as_cr_digits']*\n,,
23040 ' >$as_me.lineno &&
23041 chmod +x $as_me.lineno ||
23042 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23043 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23044 { (exit 1); exit 1; }; }
23046 # Don't try to exec as it changes $[0], causing all sort of problems
23047 # (the dirname of $[0] is not the place where we might find the
23048 # original and so on. Autoconf is especially sensible to this).
23050 # Exit status is that of the last command.
23055 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23056 *c*,-n*) ECHO_N= ECHO_C='
23058 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23059 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23062 if expr a : '\(a\)' >/dev/null 2>&1; then
23068 rm -f conf$$ conf$$.exe conf$$.file
23070 if ln -s conf$$.file conf$$ 2>/dev/null; then
23071 # We could just check for DJGPP; but this test a) works b) is more generic
23072 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23073 if test -f conf$$.exe; then
23074 # Don't use ln at all; we don't have any links
23079 elif ln conf$$.file conf$$ 2>/dev/null; then
23084 rm -f conf$$ conf$$.exe conf$$.file
23086 if mkdir -p . 2>/dev/null; then
23092 as_executable_p="test -f"
23094 # Sed expression to map a string onto a valid CPP name.
23095 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23097 # Sed expression to map a string onto a valid variable name.
23098 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
23102 # We need space, tab and new line, in precisely that order.
23112 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23113 # report actual input values of CONFIG_FILES etc. instead of their
23114 # values after options handling. Logging --version etc. is OK.
23118 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23119 ## Running $as_me. ##
23124 This file was extended by [LLVM] $as_me [1.0], which was
23125 generated by GNU Autoconf 2.57. Invocation command line was
23127 CONFIG_FILES = $CONFIG_FILES
23128 CONFIG_HEADERS = $CONFIG_HEADERS
23129 CONFIG_LINKS = $CONFIG_LINKS
23130 CONFIG_COMMANDS = $CONFIG_COMMANDS
23134 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23138 # Files that config.status was made for.
23139 if test -n "$ac_config_files"; then
23140 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23143 if test -n "$ac_config_headers"; then
23144 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23147 if test -n "$ac_config_links"; then
23148 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23151 if test -n "$ac_config_commands"; then
23152 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23155 cat >>$CONFIG_STATUS <<\_ACEOF
23158 \`$as_me' instantiates files from templates according to the
23159 current configuration.
23161 Usage: $0 [OPTIONS] [FILE]...
23163 -h, --help print this help, then exit
23164 -V, --version print version number, then exit
23165 -q, --quiet do not print progress messages
23166 -d, --debug don't remove temporary files
23167 --recheck update $as_me by reconfiguring in the same conditions
23168 --file=FILE[:TEMPLATE]
23169 instantiate the configuration file FILE
23170 --header=FILE[:TEMPLATE]
23171 instantiate the configuration header FILE
23173 Configuration files:
23176 Configuration headers:
23179 Configuration commands:
23182 Report bugs to <bug-autoconf@gnu.org>."
23185 cat >>$CONFIG_STATUS <<_ACEOF
23187 [LLVM] config.status [1.0]
23188 configured by $0, generated by GNU Autoconf 2.57,
23189 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23191 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
23192 Free Software Foundation, Inc.
23193 This config.status script is free software; the Free Software Foundation
23194 gives unlimited permission to copy, distribute and modify it."
23199 cat >>$CONFIG_STATUS <<\_ACEOF
23200 # If no file are specified by the user, then we need to provide default
23201 # value. By we need to know if files were specified by the user.
23207 ac_option=`expr "x$1" : 'x\([^=]*\)='`
23208 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23216 *) # This is not an option, so the user has probably given explicit
23219 ac_need_defaults=false;;
23223 # Handling of the options.
23225 cat >>$CONFIG_STATUS <<\_ACEOF
23226 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23228 --version | --vers* | -V )
23229 echo "$ac_cs_version"; exit 0 ;;
23231 # Conflict between --help and --header
23232 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23233 Try \`$0 --help' for more information." >&5
23234 echo "$as_me: error: ambiguous option: $1
23235 Try \`$0 --help' for more information." >&2;}
23236 { (exit 1); exit 1; }; };;
23237 --help | --hel | -h )
23238 echo "$ac_cs_usage"; exit 0 ;;
23239 --debug | --d* | -d )
23241 --file | --fil | --fi | --f )
23243 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23244 ac_need_defaults=false;;
23245 --header | --heade | --head | --hea )
23247 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23248 ac_need_defaults=false;;
23249 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23250 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23253 # This is an error.
23254 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23255 Try \`$0 --help' for more information." >&5
23256 echo "$as_me: error: unrecognized option: $1
23257 Try \`$0 --help' for more information." >&2;}
23258 { (exit 1); exit 1; }; } ;;
23260 *) ac_config_targets="$ac_config_targets $1" ;;
23266 ac_configure_extra_args=
23268 if $ac_cs_silent; then
23270 ac_configure_extra_args="$ac_configure_extra_args --silent"
23274 cat >>$CONFIG_STATUS <<_ACEOF
23275 if \$ac_cs_recheck; then
23276 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23277 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23282 cat >>$CONFIG_STATUS <<_ACEOF
23284 # INIT-COMMANDS section.
23287 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
23288 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common`
23289 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.rules`
23290 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
23291 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/Makefile`
23292 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/DataStructure/Makefile`
23293 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/IPA/Makefile`
23294 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/LiveVar/Makefile`
23295 ${srcdir}/autoconf/mkinstalldirs `dirname lib/AsmParser/Makefile`
23296 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Makefile`
23297 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Reader/Makefile`
23298 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Writer/Makefile`
23299 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CWriter/Makefile`
23300 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/Makefile`
23301 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSched/Makefile`
23302 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSelection/Makefile`
23303 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/ModuloScheduling/Makefile`
23304 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/RegAlloc/Makefile`
23305 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/SelectionDAG/Makefile`
23306 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Makefile`
23307 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Interpreter/Makefile`
23308 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/JIT/Makefile`
23309 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Support/Makefile`
23310 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Makefile`
23311 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Sparc/Makefile`
23312 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/X86/Makefile`
23313 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Makefile`
23314 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Hello/Makefile`
23315 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/IPO/Makefile`
23316 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/Makefile`
23317 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/ProfilePaths/Makefile`
23318 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Scalar/Makefile`
23319 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Utils/Makefile`
23320 ${srcdir}/autoconf/mkinstalldirs `dirname lib/VMCore/Makefile`
23321 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile`
23322 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/Makefile`
23323 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/crtend/Makefile`
23324 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libc/Makefile`
23325 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libcurses/Makefile`
23326 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libexception/Makefile`
23327 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libg/Makefile`
23328 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libgcc/Makefile`
23329 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libm/Makefile`
23330 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libmalloc/Makefile`
23331 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libtermcap/Makefile`
23332 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libucb/Makefile`
23333 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutempter/Makefile`
23334 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutil/Makefile`
23335 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libdummy/Makefile`
23336 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libtrace/Makefile`
23337 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile`
23338 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests`
23339 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile`
23340 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.programs`
23341 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.Makefile`
23342 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.report`
23343 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.report`
23344 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.report`
23345 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.example.Makefile`
23346 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.Makefile`
23347 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.buildrepo.Makefile`
23348 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.Makefile`
23349 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.report`
23350 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.Makefile`
23351 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.report`
23352 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.typesafe.Makefile`
23353 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.gnuplot`
23354 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.Makefile`
23355 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/Makefile`
23356 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile`
23357 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile.spec`
23358 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/Makefile`
23359 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/179.art/Makefile`
23360 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/183.equake/Makefile`
23361 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/188.ammp/Makefile`
23362 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/Makefile`
23363 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/164.gzip/Makefile`
23364 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/175.vpr/Makefile`
23365 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/176.gcc/Makefile`
23366 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/181.mcf/Makefile`
23367 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/186.crafty/Makefile`
23368 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/197.parser/Makefile`
23369 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/254.gap/Makefile`
23370 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/255.vortex/Makefile`
23371 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile`
23372 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/300.twolf/Makefile`
23373 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/LLVMSource/Makefile`
23374 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile`
23375 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile.multisrc`
23376 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Makefile`
23377 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Burg/Makefile`
23378 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/aha/Makefile`
23379 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/sgefa/Makefile`
23380 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Makefile`
23381 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile`
23382 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/Makefile`
23383 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile`
23384 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile`
23385 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile`
23386 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile`
23387 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile`
23388 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile`
23389 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile`
23390 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile`
23391 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile`
23392 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile`
23393 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/Makefile`
23394 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile`
23395 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile`
23396 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile`
23397 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/health/Makefile`
23398 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile`
23399 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile`
23400 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/power/Makefile`
23401 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile`
23402 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile`
23403 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile`
23404 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile`
23405 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile`
23406 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile`
23407 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile`
23408 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile`
23409 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile`
23410 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile`
23411 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile`
23412 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/sim/Makefile`
23413 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Makefile`
23414 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Flex/Makefile`
23415 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Larn/Makefile`
23416 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Moria-5.5.2/Makefile`
23417 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Povray31/Makefile`
23418 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/m4/Makefile`
23419 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile`
23420 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile.singlesrc`
23421 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Gizmos/Makefile`
23422 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Makefile`
23423 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile`
23424 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Shootout/Makefile`
23425 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Stanford/Makefile`
23426 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Misc/Makefile`
23427 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/CustomChecked/Makefile`
23428 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/Makefile`
23429 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile`
23430 ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
23431 ${srcdir}/autoconf/mkinstalldirs `dirname tools/analyze/Makefile`
23432 ${srcdir}/autoconf/mkinstalldirs `dirname tools/as/Makefile`
23433 ${srcdir}/autoconf/mkinstalldirs `dirname tools/bugpoint/Makefile`
23434 ${srcdir}/autoconf/mkinstalldirs `dirname tools/dis/Makefile`
23435 ${srcdir}/autoconf/mkinstalldirs `dirname tools/extract/Makefile`
23436 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccas/Makefile`
23437 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccld/Makefile`
23438 ${srcdir}/autoconf/mkinstalldirs `dirname tools/link/Makefile`
23439 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llc/Makefile`
23440 ${srcdir}/autoconf/mkinstalldirs `dirname tools/lli/Makefile`
23441 ${srcdir}/autoconf/mkinstalldirs `dirname tools/opt/Makefile`
23442 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llee/Makefile`
23443 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-as/Makefile`
23444 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-ar/Makefile`
23445 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-dis/Makefile`
23446 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Makefile`
23447 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Makefile`
23448 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Doc/Makefile`
23449 ${srcdir}/autoconf/mkinstalldirs `dirname utils/TableGen/Makefile`
23450 ${srcdir}/autoconf/mkinstalldirs `dirname www/docs/Makefile`
23451 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile`
23452 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile`
23453 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.common`
23454 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.config`
23455 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/Makefile`
23456 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/sample/Makefile`
23457 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/Makefile`
23458 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/sample/Makefile`
23459 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile`
23460 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile.common`
23461 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/Makefile`
23462 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/ModuleMaker/Makefile`
23468 cat >>$CONFIG_STATUS <<\_ACEOF
23469 for ac_config_target in $ac_config_targets
23471 case "$ac_config_target" in
23472 # Handling of arguments.
23473 "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
23474 "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23475 "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;;
23476 "Makefile.rules" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.rules" ;;
23477 "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
23478 "lib/Analysis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/Makefile" ;;
23479 "lib/Analysis/DataStructure/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/DataStructure/Makefile" ;;
23480 "lib/Analysis/IPA/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/IPA/Makefile" ;;
23481 "lib/Analysis/LiveVar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/LiveVar/Makefile" ;;
23482 "lib/AsmParser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/AsmParser/Makefile" ;;
23483 "lib/Bytecode/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Makefile" ;;
23484 "lib/Bytecode/Reader/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Reader/Makefile" ;;
23485 "lib/Bytecode/Writer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Writer/Makefile" ;;
23486 "lib/CWriter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CWriter/Makefile" ;;
23487 "lib/CodeGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/Makefile" ;;
23488 "lib/CodeGen/InstrSched/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSched/Makefile" ;;
23489 "lib/CodeGen/InstrSelection/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSelection/Makefile" ;;
23490 "lib/CodeGen/ModuloScheduling/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/ModuloScheduling/Makefile" ;;
23491 "lib/CodeGen/RegAlloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/RegAlloc/Makefile" ;;
23492 "lib/CodeGen/SelectionDAG/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/SelectionDAG/Makefile" ;;
23493 "lib/ExecutionEngine/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Makefile" ;;
23494 "lib/ExecutionEngine/Interpreter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Interpreter/Makefile" ;;
23495 "lib/ExecutionEngine/JIT/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/JIT/Makefile" ;;
23496 "lib/Support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Support/Makefile" ;;
23497 "lib/Target/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Makefile" ;;
23498 "lib/Target/Sparc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Sparc/Makefile" ;;
23499 "lib/Target/X86/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/X86/Makefile" ;;
23500 "lib/Transforms/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Makefile" ;;
23501 "lib/Transforms/Hello/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Hello/Makefile" ;;
23502 "lib/Transforms/IPO/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/IPO/Makefile" ;;
23503 "lib/Transforms/Instrumentation/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/Makefile" ;;
23504 "lib/Transforms/Instrumentation/ProfilePaths/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/ProfilePaths/Makefile" ;;
23505 "lib/Transforms/Scalar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Scalar/Makefile" ;;
23506 "lib/Transforms/Utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Utils/Makefile" ;;
23507 "lib/VMCore/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/VMCore/Makefile" ;;
23508 "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;;
23509 "runtime/GCCLibraries/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/Makefile" ;;
23510 "runtime/GCCLibraries/crtend/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/crtend/Makefile" ;;
23511 "runtime/GCCLibraries/libc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libc/Makefile" ;;
23512 "runtime/GCCLibraries/libcurses/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libcurses/Makefile" ;;
23513 "runtime/GCCLibraries/libexception/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libexception/Makefile" ;;
23514 "runtime/GCCLibraries/libg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libg/Makefile" ;;
23515 "runtime/GCCLibraries/libgcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libgcc/Makefile" ;;
23516 "runtime/GCCLibraries/libm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libm/Makefile" ;;
23517 "runtime/GCCLibraries/libmalloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libmalloc/Makefile" ;;
23518 "runtime/GCCLibraries/libtermcap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libtermcap/Makefile" ;;
23519 "runtime/GCCLibraries/libucb/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libucb/Makefile" ;;
23520 "runtime/GCCLibraries/libutempter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutempter/Makefile" ;;
23521 "runtime/GCCLibraries/libutil/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutil/Makefile" ;;
23522 "runtime/libdummy/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libdummy/Makefile" ;;
23523 "runtime/libtrace/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libtrace/Makefile" ;;
23524 "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;;
23525 "test/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile.tests" ;;
23526 "test/Programs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile" ;;
23527 "test/Programs/Makefile.programs" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.programs" ;;
23528 "test/Programs/TEST.aa.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.Makefile" ;;
23529 "test/Programs/TEST.dsgraph.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.report" ;;
23530 "test/Programs/TEST.micro.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.report" ;;
23531 "test/Programs/TEST.aa.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.report" ;;
23532 "test/Programs/TEST.example.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.example.Makefile" ;;
23533 "test/Programs/TEST.nightly.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.Makefile" ;;
23534 "test/Programs/TEST.buildrepo.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.buildrepo.Makefile" ;;
23535 "test/Programs/TEST.jit.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.Makefile" ;;
23536 "test/Programs/TEST.nightly.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.report" ;;
23537 "test/Programs/TEST.dsgraph.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.Makefile" ;;
23538 "test/Programs/TEST.jit.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.report" ;;
23539 "test/Programs/TEST.typesafe.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.typesafe.Makefile" ;;
23540 "test/Programs/TEST.dsgraph.gnuplot" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.gnuplot" ;;
23541 "test/Programs/TEST.micro.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.Makefile" ;;
23542 "test/Programs/External/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/Makefile" ;;
23543 "test/Programs/External/SPEC/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile" ;;
23544 "test/Programs/External/SPEC/Makefile.spec" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile.spec" ;;
23545 "test/Programs/External/SPEC/CFP2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/Makefile" ;;
23546 "test/Programs/External/SPEC/CFP2000/179.art/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/179.art/Makefile" ;;
23547 "test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ;;
23548 "test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ;;
23549 "test/Programs/External/SPEC/CINT2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/Makefile" ;;
23550 "test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ;;
23551 "test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ;;
23552 "test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ;;
23553 "test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ;;
23554 "test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ;;
23555 "test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ;;
23556 "test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ;;
23557 "test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ;;
23558 "test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ;;
23559 "test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ;;
23560 "test/Programs/LLVMSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/LLVMSource/Makefile" ;;
23561 "test/Programs/MultiSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile" ;;
23562 "test/Programs/MultiSource/Makefile.multisrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile.multisrc" ;;
23563 "test/Programs/MultiSource/Applications/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Makefile" ;;
23564 "test/Programs/MultiSource/Applications/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Burg/Makefile" ;;
23565 "test/Programs/MultiSource/Applications/aha/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/aha/Makefile" ;;
23566 "test/Programs/MultiSource/Applications/sgefa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/sgefa/Makefile" ;;
23567 "test/Programs/MultiSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Makefile" ;;
23568 "test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ;;
23569 "test/Programs/MultiSource/Benchmarks/McCat/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/Makefile" ;;
23570 "test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ;;
23571 "test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ;;
23572 "test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ;;
23573 "test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ;;
23574 "test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ;;
23575 "test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ;;
23576 "test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ;;
23577 "test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ;;
23578 "test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ;;
23579 "test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ;;
23580 "test/Programs/MultiSource/Benchmarks/Olden/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/Makefile" ;;
23581 "test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ;;
23582 "test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ;;
23583 "test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ;;
23584 "test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ;;
23585 "test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ;;
23586 "test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ;;
23587 "test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ;;
23588 "test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ;;
23589 "test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ;;
23590 "test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ;;
23591 "test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ;;
23592 "test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ;;
23593 "test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ;;
23594 "test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ;;
23595 "test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ;;
23596 "test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ;;
23597 "test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ;;
23598 "test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ;;
23599 "test/Programs/MultiSource/Benchmarks/sim/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/sim/Makefile" ;;
23600 "test/Programs/NoSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Makefile" ;;
23601 "test/Programs/NoSource/Flex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Flex/Makefile" ;;
23602 "test/Programs/NoSource/Larn/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Larn/Makefile" ;;
23603 "test/Programs/NoSource/Moria-5.5.2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Moria-5.5.2/Makefile" ;;
23604 "test/Programs/NoSource/Povray31/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Povray31/Makefile" ;;
23605 "test/Programs/NoSource/m4/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/m4/Makefile" ;;
23606 "test/Programs/SingleSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile" ;;
23607 "test/Programs/SingleSource/Makefile.singlesrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile.singlesrc" ;;
23608 "test/Programs/SingleSource/Gizmos/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Gizmos/Makefile" ;;
23609 "test/Programs/SingleSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Makefile" ;;
23610 "test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ;;
23611 "test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ;;
23612 "test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ;;
23613 "test/Programs/SingleSource/Benchmarks/Misc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Misc/Makefile" ;;
23614 "test/Programs/SingleSource/CustomChecked/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/CustomChecked/Makefile" ;;
23615 "test/Programs/SingleSource/UnitTests/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/Makefile" ;;
23616 "test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ;;
23617 "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
23618 "tools/analyze/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/analyze/Makefile" ;;
23619 "tools/as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/as/Makefile" ;;
23620 "tools/bugpoint/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/bugpoint/Makefile" ;;
23621 "tools/dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/dis/Makefile" ;;
23622 "tools/extract/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/extract/Makefile" ;;
23623 "tools/gccas/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccas/Makefile" ;;
23624 "tools/gccld/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccld/Makefile" ;;
23625 "tools/link/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/link/Makefile" ;;
23626 "tools/llc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llc/Makefile" ;;
23627 "tools/lli/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/lli/Makefile" ;;
23628 "tools/opt/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/opt/Makefile" ;;
23629 "tools/llee/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llee/Makefile" ;;
23630 "tools/llvm-as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-as/Makefile" ;;
23631 "tools/llvm-ar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-ar/Makefile" ;;
23632 "tools/llvm-dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-dis/Makefile" ;;
23633 "utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Makefile" ;;
23634 "utils/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Makefile" ;;
23635 "utils/Burg/Doc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Doc/Makefile" ;;
23636 "utils/TableGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/TableGen/Makefile" ;;
23637 "www/docs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS www/docs/Makefile" ;;
23638 "projects/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Makefile" ;;
23639 "projects/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile" ;;
23640 "projects/sample/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.common" ;;
23641 "projects/sample/Makefile.config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.config" ;;
23642 "projects/sample/lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/Makefile" ;;
23643 "projects/sample/lib/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/sample/Makefile" ;;
23644 "projects/sample/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/Makefile" ;;
23645 "projects/sample/tools/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/sample/Makefile" ;;
23646 "projects/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile" ;;
23647 "projects/ModuleMaker/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile.common" ;;
23648 "projects/ModuleMaker/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/Makefile" ;;
23649 "projects/ModuleMaker/tools/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/ModuleMaker/Makefile" ;;
23650 "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;;
23651 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23652 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23653 { (exit 1); exit 1; }; };;
23657 # If the user did not use the arguments to specify the items to instantiate,
23658 # then the envvar interface is used. Set only those that are not.
23659 # We use the long form for the default assignment because of an extremely
23660 # bizarre bug on SunOS 4.1.3.
23661 if $ac_need_defaults; then
23662 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23663 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23664 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23667 # Have a temporary directory for convenience. Make it in the build tree
23668 # simply because there is no reason to put it here, and in addition,
23669 # creating and moving files from /tmp can sometimes cause problems.
23670 # Create a temporary directory, and hook for its removal unless debugging.
23673 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23674 trap '{ (exit 1); exit 1; }' 1 2 13 15
23677 # Create a (secure) tmp directory for tmp files.
23680 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23681 test -n "$tmp" && test -d "$tmp"
23684 tmp=./confstat$$-$RANDOM
23685 (umask 077 && mkdir $tmp)
23688 echo "$me: cannot create a temporary directory in ." >&2
23689 { (exit 1); exit 1; }
23694 cat >>$CONFIG_STATUS <<_ACEOF
23697 # CONFIG_FILES section.
23700 # No need to generate the scripts if there are no CONFIG_FILES.
23701 # This happens for instance when ./config.status config.h
23702 if test -n "\$CONFIG_FILES"; then
23703 # Protect against being on the right side of a sed subst in config.status.
23704 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23705 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23706 s,@SHELL@,$SHELL,;t t
23707 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23708 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23709 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23710 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23711 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23712 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23713 s,@exec_prefix@,$exec_prefix,;t t
23714 s,@prefix@,$prefix,;t t
23715 s,@program_transform_name@,$program_transform_name,;t t
23716 s,@bindir@,$bindir,;t t
23717 s,@sbindir@,$sbindir,;t t
23718 s,@libexecdir@,$libexecdir,;t t
23719 s,@datadir@,$datadir,;t t
23720 s,@sysconfdir@,$sysconfdir,;t t
23721 s,@sharedstatedir@,$sharedstatedir,;t t
23722 s,@localstatedir@,$localstatedir,;t t
23723 s,@libdir@,$libdir,;t t
23724 s,@includedir@,$includedir,;t t
23725 s,@oldincludedir@,$oldincludedir,;t t
23726 s,@infodir@,$infodir,;t t
23727 s,@mandir@,$mandir,;t t
23728 s,@build_alias@,$build_alias,;t t
23729 s,@host_alias@,$host_alias,;t t
23730 s,@target_alias@,$target_alias,;t t
23731 s,@DEFS@,$DEFS,;t t
23732 s,@ECHO_C@,$ECHO_C,;t t
23733 s,@ECHO_N@,$ECHO_N,;t t
23734 s,@ECHO_T@,$ECHO_T,;t t
23735 s,@LIBS@,$LIBS,;t t
23736 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23737 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23738 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23739 s,@build@,$build,;t t
23740 s,@build_cpu@,$build_cpu,;t t
23741 s,@build_vendor@,$build_vendor,;t t
23742 s,@build_os@,$build_os,;t t
23743 s,@host@,$host,;t t
23744 s,@host_cpu@,$host_cpu,;t t
23745 s,@host_vendor@,$host_vendor,;t t
23746 s,@host_os@,$host_os,;t t
23747 s,@target@,$target,;t t
23748 s,@target_cpu@,$target_cpu,;t t
23749 s,@target_vendor@,$target_vendor,;t t
23750 s,@target_os@,$target_os,;t t
23752 s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t
23753 s,@ARCH@,$ARCH,;t t
23755 s,@CXXFLAGS@,$CXXFLAGS,;t t
23756 s,@LDFLAGS@,$LDFLAGS,;t t
23757 s,@CPPFLAGS@,$CPPFLAGS,;t t
23758 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
23759 s,@EXEEXT@,$EXEEXT,;t t
23760 s,@OBJEXT@,$OBJEXT,;t t
23762 s,@CFLAGS@,$CFLAGS,;t t
23763 s,@ac_ct_CC@,$ac_ct_CC,;t t
23765 s,@ifGNUmake@,$ifGNUmake,;t t
23767 s,@LEXLIB@,$LEXLIB,;t t
23768 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
23769 s,@YACC@,$YACC,;t t
23770 s,@EGREP@,$EGREP,;t t
23771 s,@LN_S@,$LN_S,;t t
23772 s,@ECHO@,$ECHO,;t t
23774 s,@ac_ct_AR@,$ac_ct_AR,;t t
23775 s,@RANLIB@,$RANLIB,;t t
23776 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23777 s,@STRIP@,$STRIP,;t t
23778 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23779 s,@CXXCPP@,$CXXCPP,;t t
23781 s,@FFLAGS@,$FFLAGS,;t t
23782 s,@ac_ct_F77@,$ac_ct_F77,;t t
23783 s,@LIBTOOL@,$LIBTOOL,;t t
23784 s,@RPWD@,$RPWD,;t t
23787 s,@MKDIR@,$MKDIR,;t t
23788 s,@DATE@,$DATE,;t t
23791 s,@ETAGS@,$ETAGS,;t t
23792 s,@PURIFY@,$PURIFY,;t t
23793 s,@PYTHON@,$PYTHON,;t t
23794 s,@QMTEST@,$QMTEST,;t t
23795 s,@ALLOCA@,$ALLOCA,;t t
23796 s,@LIBOBJS@,$LIBOBJS,;t t
23797 s,@MMAP_FILE@,$MMAP_FILE,;t t
23798 s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t
23799 s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t
23800 s,@USE_SPEC@,$USE_SPEC,;t t
23802 s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t
23804 s,@SPEC_ROOT@,$SPEC_ROOT,;t t
23806 s,@PAPIDIR@,$PAPIDIR,;t t
23807 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23812 cat >>$CONFIG_STATUS <<\_ACEOF
23813 # Split the substitutions into bite-sized pieces for seds with
23814 # small command number limits, like on Digital OSF/1 and HP-UX.
23815 ac_max_sed_lines=48
23816 ac_sed_frag=1 # Number of current file.
23817 ac_beg=1 # First line for current file.
23818 ac_end=$ac_max_sed_lines # Line after last line for current file.
23821 while $ac_more_lines; do
23822 if test $ac_beg -gt 1; then
23823 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23825 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23827 if test ! -s $tmp/subs.frag; then
23828 ac_more_lines=false
23830 # The purpose of the label and of the branching condition is to
23831 # speed up the sed processing (if there are no `@' at all, there
23832 # is no need to browse any of the substitutions).
23833 # These are the two extra sed commands mentioned above.
23835 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23836 if test -z "$ac_sed_cmds"; then
23837 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
23839 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23841 ac_sed_frag=`expr $ac_sed_frag + 1`
23843 ac_end=`expr $ac_end + $ac_max_sed_lines`
23846 if test -z "$ac_sed_cmds"; then
23849 fi # test -n "$CONFIG_FILES"
23852 cat >>$CONFIG_STATUS <<\_ACEOF
23853 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23854 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23856 - | *:- | *:-:* ) # input from stdin
23858 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23859 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23860 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23861 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23862 * ) ac_file_in=$ac_file.in ;;
23865 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23866 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23867 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23868 X"$ac_file" : 'X\(//\)[^/]' \| \
23869 X"$ac_file" : 'X\(//\)$' \| \
23870 X"$ac_file" : 'X\(/\)' \| \
23871 . : '\(.\)' 2>/dev/null ||
23873 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23874 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23875 /^X\(\/\/\)$/{ s//\1/; q; }
23876 /^X\(\/\).*/{ s//\1/; q; }
23878 { if $as_mkdir_p; then
23883 while test ! -d "$as_dir"; do
23884 as_dirs="$as_dir $as_dirs"
23885 as_dir=`(dirname "$as_dir") 2>/dev/null ||
23886 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23887 X"$as_dir" : 'X\(//\)[^/]' \| \
23888 X"$as_dir" : 'X\(//\)$' \| \
23889 X"$as_dir" : 'X\(/\)' \| \
23890 . : '\(.\)' 2>/dev/null ||
23892 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23893 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23894 /^X\(\/\/\)$/{ s//\1/; q; }
23895 /^X\(\/\).*/{ s//\1/; q; }
23898 test ! -n "$as_dirs" || mkdir $as_dirs
23899 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23900 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23901 { (exit 1); exit 1; }; }; }
23905 if test "$ac_dir" != .; then
23906 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23907 # A "../" for each directory in $ac_dir_suffix.
23908 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23910 ac_dir_suffix= ac_top_builddir=
23914 .) # No --srcdir option. We are building in place.
23916 if test -z "$ac_top_builddir"; then
23919 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23921 [\\/]* | ?:[\\/]* ) # Absolute path.
23922 ac_srcdir=$srcdir$ac_dir_suffix;
23923 ac_top_srcdir=$srcdir ;;
23924 *) # Relative path.
23925 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23926 ac_top_srcdir=$ac_top_builddir$srcdir ;;
23928 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
23930 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
23931 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
23932 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
23933 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
23937 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23938 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
23941 if test x"$ac_file" != x-; then
23942 { echo "$as_me:$LINENO: creating $ac_file" >&5
23943 echo "$as_me: creating $ac_file" >&6;}
23946 # Let's still pretend it is `configure' which instantiates (i.e., don't
23947 # use $as_me), people would be surprised to read:
23948 # /* config.h. Generated by config.status. */
23949 if test x"$ac_file" = x-; then
23952 configure_input="$ac_file. "
23954 configure_input=$configure_input"Generated from `echo $ac_file_in |
23955 sed 's,.*/,,'` by configure."
23957 # First look for the input files in the build tree, otherwise in the
23959 ac_file_inputs=`IFS=:
23960 for f in $ac_file_in; do
23962 -) echo $tmp/stdin ;;
23964 # Absolute (can't be DOS-style, as IFS=:)
23965 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23966 echo "$as_me: error: cannot find input file: $f" >&2;}
23967 { (exit 1); exit 1; }; }
23970 if test -f "$f"; then
23973 elif test -f "$srcdir/$f"; then
23978 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23979 echo "$as_me: error: cannot find input file: $f" >&2;}
23980 { (exit 1); exit 1; }; }
23983 done` || { (exit 1); exit 1; }
23985 cat >>$CONFIG_STATUS <<_ACEOF
23989 cat >>$CONFIG_STATUS <<\_ACEOF
23991 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23992 s,@configure_input@,$configure_input,;t t
23993 s,@srcdir@,$ac_srcdir,;t t
23994 s,@abs_srcdir@,$ac_abs_srcdir,;t t
23995 s,@top_srcdir@,$ac_top_srcdir,;t t
23996 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
23997 s,@builddir@,$ac_builddir,;t t
23998 s,@abs_builddir@,$ac_abs_builddir,;t t
23999 s,@top_builddir@,$ac_top_builddir,;t t
24000 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
24001 s,@INSTALL@,$ac_INSTALL,;t t
24002 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24004 if test x"$ac_file" != x-; then
24005 mv $tmp/out $ac_file
24013 cat >>$CONFIG_STATUS <<\_ACEOF
24016 # CONFIG_HEADER section.
24019 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24020 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24022 # ac_d sets the value in "#define NAME VALUE" lines.
24023 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24024 ac_dB='[ ].*$,\1#\2'
24027 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24028 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24029 ac_uB='$,\1#\2define\3'
24033 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24034 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24036 - | *:- | *:-:* ) # input from stdin
24038 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24039 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24040 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24041 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24042 * ) ac_file_in=$ac_file.in ;;
24045 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24046 echo "$as_me: creating $ac_file" >&6;}
24048 # First look for the input files in the build tree, otherwise in the
24050 ac_file_inputs=`IFS=:
24051 for f in $ac_file_in; do
24053 -) echo $tmp/stdin ;;
24055 # Absolute (can't be DOS-style, as IFS=:)
24056 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24057 echo "$as_me: error: cannot find input file: $f" >&2;}
24058 { (exit 1); exit 1; }; }
24061 if test -f "$f"; then
24064 elif test -f "$srcdir/$f"; then
24069 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24070 echo "$as_me: error: cannot find input file: $f" >&2;}
24071 { (exit 1); exit 1; }; }
24074 done` || { (exit 1); exit 1; }
24075 # Remove the trailing spaces.
24076 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24080 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24081 # `conftest.undefs', that substitutes the proper values into
24082 # config.h.in to produce config.h. The first handles `#define'
24083 # templates, and the second `#undef' templates.
24084 # And first: Protect against being on the right side of a sed subst in
24085 # config.status. Protect against being in an unquoted here document
24086 # in config.status.
24087 rm -f conftest.defines conftest.undefs
24088 # Using a here document instead of a string reduces the quoting nightmare.
24089 # Putting comments in sed scripts is not portable.
24091 # `end' is used to avoid that the second main sed command (meant for
24092 # 0-ary CPP macros) applies to n-ary macro definitions.
24093 # See the Autoconf documentation for `clear'.
24094 cat >confdef2sed.sed <<\_ACEOF
24099 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24101 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24104 # If some macros were called several times there might be several times
24105 # the same #defines, which is useless. Nevertheless, we may not want to
24106 # sort them, since we want the *last* AC-DEFINE to be honored.
24107 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24108 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24109 rm -f confdef2sed.sed
24111 # This sed command replaces #undef with comments. This is necessary, for
24112 # example, in the case of _POSIX_SOURCE, which is predefined and required
24113 # on some systems where configure will not decide to define it.
24114 cat >>conftest.undefs <<\_ACEOF
24115 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24118 # Break up conftest.defines because some shells have a limit on the size
24119 # of here documents, and old seds have small limits too (100 cmds).
24120 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24121 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24122 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24123 echo ' :' >>$CONFIG_STATUS
24124 rm -f conftest.tail
24125 while grep . conftest.defines >/dev/null
24127 # Write a limited-size here document to $tmp/defines.sed.
24128 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24129 # Speed up: don't consider the non `#define' lines.
24130 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24131 # Work around the forget-to-reset-the-flag bug.
24132 echo 't clr' >>$CONFIG_STATUS
24133 echo ': clr' >>$CONFIG_STATUS
24134 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24136 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24138 mv $tmp/out $tmp/in
24140 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24141 rm -f conftest.defines
24142 mv conftest.tail conftest.defines
24144 rm -f conftest.defines
24145 echo ' fi # grep' >>$CONFIG_STATUS
24146 echo >>$CONFIG_STATUS
24148 # Break up conftest.undefs because some shells have a limit on the size
24149 # of here documents, and old seds have small limits too (100 cmds).
24150 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24151 rm -f conftest.tail
24152 while grep . conftest.undefs >/dev/null
24154 # Write a limited-size here document to $tmp/undefs.sed.
24155 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24156 # Speed up: don't consider the non `#undef'
24157 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24158 # Work around the forget-to-reset-the-flag bug.
24159 echo 't clr' >>$CONFIG_STATUS
24160 echo ': clr' >>$CONFIG_STATUS
24161 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24163 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24165 mv $tmp/out $tmp/in
24167 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24168 rm -f conftest.undefs
24169 mv conftest.tail conftest.undefs
24171 rm -f conftest.undefs
24173 cat >>$CONFIG_STATUS <<\_ACEOF
24174 # Let's still pretend it is `configure' which instantiates (i.e., don't
24175 # use $as_me), people would be surprised to read:
24176 # /* config.h. Generated by config.status. */
24177 if test x"$ac_file" = x-; then
24178 echo "/* Generated by configure. */" >$tmp/config.h
24180 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24182 cat $tmp/in >>$tmp/config.h
24184 if test x"$ac_file" != x-; then
24185 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24186 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24187 echo "$as_me: $ac_file is unchanged" >&6;}
24189 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24190 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24191 X"$ac_file" : 'X\(//\)[^/]' \| \
24192 X"$ac_file" : 'X\(//\)$' \| \
24193 X"$ac_file" : 'X\(/\)' \| \
24194 . : '\(.\)' 2>/dev/null ||
24196 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24197 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24198 /^X\(\/\/\)$/{ s//\1/; q; }
24199 /^X\(\/\).*/{ s//\1/; q; }
24201 { if $as_mkdir_p; then
24206 while test ! -d "$as_dir"; do
24207 as_dirs="$as_dir $as_dirs"
24208 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24209 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24210 X"$as_dir" : 'X\(//\)[^/]' \| \
24211 X"$as_dir" : 'X\(//\)$' \| \
24212 X"$as_dir" : 'X\(/\)' \| \
24213 . : '\(.\)' 2>/dev/null ||
24215 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24216 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24217 /^X\(\/\/\)$/{ s//\1/; q; }
24218 /^X\(\/\).*/{ s//\1/; q; }
24221 test ! -n "$as_dirs" || mkdir $as_dirs
24222 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24223 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24224 { (exit 1); exit 1; }; }; }
24227 mv $tmp/config.h $ac_file
24231 rm -f $tmp/config.h
24235 cat >>$CONFIG_STATUS <<\_ACEOF
24238 # CONFIG_COMMANDS section.
24240 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24241 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24242 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24243 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24244 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24245 X"$ac_dest" : 'X\(//\)[^/]' \| \
24246 X"$ac_dest" : 'X\(//\)$' \| \
24247 X"$ac_dest" : 'X\(/\)' \| \
24248 . : '\(.\)' 2>/dev/null ||
24250 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24251 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24252 /^X\(\/\/\)$/{ s//\1/; q; }
24253 /^X\(\/\).*/{ s//\1/; q; }
24257 if test "$ac_dir" != .; then
24258 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24259 # A "../" for each directory in $ac_dir_suffix.
24260 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24262 ac_dir_suffix= ac_top_builddir=
24266 .) # No --srcdir option. We are building in place.
24268 if test -z "$ac_top_builddir"; then
24271 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24273 [\\/]* | ?:[\\/]* ) # Absolute path.
24274 ac_srcdir=$srcdir$ac_dir_suffix;
24275 ac_top_srcdir=$srcdir ;;
24276 *) # Relative path.
24277 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24278 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24280 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24282 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24283 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24284 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24285 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24288 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24289 echo "$as_me: executing $ac_dest commands" >&6;}
24291 Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
24292 Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common ;;
24293 Makefile.rules ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.rules Makefile.rules ;;
24294 lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
24295 lib/Analysis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/Makefile lib/Analysis/Makefile ;;
24296 lib/Analysis/DataStructure/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/DataStructure/Makefile lib/Analysis/DataStructure/Makefile ;;
24297 lib/Analysis/IPA/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/IPA/Makefile lib/Analysis/IPA/Makefile ;;
24298 lib/Analysis/LiveVar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/LiveVar/Makefile lib/Analysis/LiveVar/Makefile ;;
24299 lib/AsmParser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/AsmParser/Makefile lib/AsmParser/Makefile ;;
24300 lib/Bytecode/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Makefile lib/Bytecode/Makefile ;;
24301 lib/Bytecode/Reader/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Reader/Makefile lib/Bytecode/Reader/Makefile ;;
24302 lib/Bytecode/Writer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Writer/Makefile lib/Bytecode/Writer/Makefile ;;
24303 lib/CWriter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CWriter/Makefile lib/CWriter/Makefile ;;
24304 lib/CodeGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/Makefile lib/CodeGen/Makefile ;;
24305 lib/CodeGen/InstrSched/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSched/Makefile lib/CodeGen/InstrSched/Makefile ;;
24306 lib/CodeGen/InstrSelection/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSelection/Makefile lib/CodeGen/InstrSelection/Makefile ;;
24307 lib/CodeGen/ModuloScheduling/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/ModuloScheduling/Makefile lib/CodeGen/ModuloScheduling/Makefile ;;
24308 lib/CodeGen/RegAlloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/RegAlloc/Makefile lib/CodeGen/RegAlloc/Makefile ;;
24309 lib/CodeGen/SelectionDAG/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/SelectionDAG/Makefile lib/CodeGen/SelectionDAG/Makefile ;;
24310 lib/ExecutionEngine/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Makefile lib/ExecutionEngine/Makefile ;;
24311 lib/ExecutionEngine/Interpreter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Interpreter/Makefile lib/ExecutionEngine/Interpreter/Makefile ;;
24312 lib/ExecutionEngine/JIT/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/JIT/Makefile lib/ExecutionEngine/JIT/Makefile ;;
24313 lib/Support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Support/Makefile lib/Support/Makefile ;;
24314 lib/Target/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Makefile lib/Target/Makefile ;;
24315 lib/Target/Sparc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Sparc/Makefile lib/Target/Sparc/Makefile ;;
24316 lib/Target/X86/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/X86/Makefile lib/Target/X86/Makefile ;;
24317 lib/Transforms/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Makefile lib/Transforms/Makefile ;;
24318 lib/Transforms/Hello/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Hello/Makefile lib/Transforms/Hello/Makefile ;;
24319 lib/Transforms/IPO/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/IPO/Makefile lib/Transforms/IPO/Makefile ;;
24320 lib/Transforms/Instrumentation/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/Makefile lib/Transforms/Instrumentation/Makefile ;;
24321 lib/Transforms/Instrumentation/ProfilePaths/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/ProfilePaths/Makefile lib/Transforms/Instrumentation/ProfilePaths/Makefile ;;
24322 lib/Transforms/Scalar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Scalar/Makefile lib/Transforms/Scalar/Makefile ;;
24323 lib/Transforms/Utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Utils/Makefile lib/Transforms/Utils/Makefile ;;
24324 lib/VMCore/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/VMCore/Makefile lib/VMCore/Makefile ;;
24325 runtime/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/Makefile runtime/Makefile ;;
24326 runtime/GCCLibraries/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/Makefile runtime/GCCLibraries/Makefile ;;
24327 runtime/GCCLibraries/crtend/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/crtend/Makefile runtime/GCCLibraries/crtend/Makefile ;;
24328 runtime/GCCLibraries/libc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libc/Makefile runtime/GCCLibraries/libc/Makefile ;;
24329 runtime/GCCLibraries/libcurses/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libcurses/Makefile runtime/GCCLibraries/libcurses/Makefile ;;
24330 runtime/GCCLibraries/libexception/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libexception/Makefile runtime/GCCLibraries/libexception/Makefile ;;
24331 runtime/GCCLibraries/libg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libg/Makefile runtime/GCCLibraries/libg/Makefile ;;
24332 runtime/GCCLibraries/libgcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libgcc/Makefile runtime/GCCLibraries/libgcc/Makefile ;;
24333 runtime/GCCLibraries/libm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libm/Makefile runtime/GCCLibraries/libm/Makefile ;;
24334 runtime/GCCLibraries/libmalloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libmalloc/Makefile runtime/GCCLibraries/libmalloc/Makefile ;;
24335 runtime/GCCLibraries/libtermcap/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libtermcap/Makefile runtime/GCCLibraries/libtermcap/Makefile ;;
24336 runtime/GCCLibraries/libucb/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libucb/Makefile runtime/GCCLibraries/libucb/Makefile ;;
24337 runtime/GCCLibraries/libutempter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutempter/Makefile runtime/GCCLibraries/libutempter/Makefile ;;
24338 runtime/GCCLibraries/libutil/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutil/Makefile runtime/GCCLibraries/libutil/Makefile ;;
24339 runtime/libdummy/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libdummy/Makefile runtime/libdummy/Makefile ;;
24340 runtime/libtrace/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libtrace/Makefile runtime/libtrace/Makefile ;;
24341 test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;;
24342 test/Makefile.tests ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile.tests test/Makefile.tests ;;
24343 test/Programs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile test/Programs/Makefile ;;
24344 test/Programs/Makefile.programs ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.programs test/Programs/Makefile.programs ;;
24345 test/Programs/TEST.aa.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.Makefile test/Programs/TEST.aa.Makefile ;;
24346 test/Programs/TEST.dsgraph.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.report test/Programs/TEST.dsgraph.report ;;
24347 test/Programs/TEST.micro.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.report test/Programs/TEST.micro.report ;;
24348 test/Programs/TEST.aa.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.report test/Programs/TEST.aa.report ;;
24349 test/Programs/TEST.example.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.example.Makefile test/Programs/TEST.example.Makefile ;;
24350 test/Programs/TEST.nightly.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.Makefile test/Programs/TEST.nightly.Makefile ;;
24351 test/Programs/TEST.buildrepo.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.buildrepo.Makefile test/Programs/TEST.buildrepo.Makefile ;;
24352 test/Programs/TEST.jit.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.Makefile test/Programs/TEST.jit.Makefile ;;
24353 test/Programs/TEST.nightly.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.report test/Programs/TEST.nightly.report ;;
24354 test/Programs/TEST.dsgraph.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.Makefile test/Programs/TEST.dsgraph.Makefile ;;
24355 test/Programs/TEST.jit.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.report test/Programs/TEST.jit.report ;;
24356 test/Programs/TEST.typesafe.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.typesafe.Makefile test/Programs/TEST.typesafe.Makefile ;;
24357 test/Programs/TEST.dsgraph.gnuplot ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.gnuplot test/Programs/TEST.dsgraph.gnuplot ;;
24358 test/Programs/TEST.micro.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.Makefile test/Programs/TEST.micro.Makefile ;;
24359 test/Programs/External/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/Makefile test/Programs/External/Makefile ;;
24360 test/Programs/External/SPEC/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile test/Programs/External/SPEC/Makefile ;;
24361 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 ;;
24362 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 ;;
24363 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 ;;
24364 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 ;;
24365 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 ;;
24366 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 ;;
24367 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 ;;
24368 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 ;;
24369 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 ;;
24370 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 ;;
24371 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 ;;
24372 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 ;;
24373 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 ;;
24374 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 ;;
24375 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 ;;
24376 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 ;;
24377 test/Programs/LLVMSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/LLVMSource/Makefile test/Programs/LLVMSource/Makefile ;;
24378 test/Programs/MultiSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile test/Programs/MultiSource/Makefile ;;
24379 test/Programs/MultiSource/Makefile.multisrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile.multisrc test/Programs/MultiSource/Makefile.multisrc ;;
24380 test/Programs/MultiSource/Applications/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/Makefile test/Programs/MultiSource/Applications/Makefile ;;
24381 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 ;;
24382 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 ;;
24383 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 ;;
24384 test/Programs/MultiSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Makefile test/Programs/MultiSource/Benchmarks/Makefile ;;
24385 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 ;;
24386 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 ;;
24387 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 ;;
24388 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 ;;
24389 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 ;;
24390 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 ;;
24391 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 ;;
24392 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 ;;
24393 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 ;;
24394 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 ;;
24395 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 ;;
24396 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 ;;
24397 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 ;;
24398 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 ;;
24399 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 ;;
24400 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 ;;
24401 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 ;;
24402 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 ;;
24403 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 ;;
24404 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 ;;
24405 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 ;;
24406 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 ;;
24407 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 ;;
24408 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 ;;
24409 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 ;;
24410 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 ;;
24411 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 ;;
24412 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 ;;
24413 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 ;;
24414 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 ;;
24415 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 ;;
24416 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 ;;
24417 test/Programs/NoSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Makefile test/Programs/NoSource/Makefile ;;
24418 test/Programs/NoSource/Flex/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Flex/Makefile test/Programs/NoSource/Flex/Makefile ;;
24419 test/Programs/NoSource/Larn/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Larn/Makefile test/Programs/NoSource/Larn/Makefile ;;
24420 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 ;;
24421 test/Programs/NoSource/Povray31/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Povray31/Makefile test/Programs/NoSource/Povray31/Makefile ;;
24422 test/Programs/NoSource/m4/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/m4/Makefile test/Programs/NoSource/m4/Makefile ;;
24423 test/Programs/SingleSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile test/Programs/SingleSource/Makefile ;;
24424 test/Programs/SingleSource/Makefile.singlesrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile.singlesrc test/Programs/SingleSource/Makefile.singlesrc ;;
24425 test/Programs/SingleSource/Gizmos/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Gizmos/Makefile test/Programs/SingleSource/Gizmos/Makefile ;;
24426 test/Programs/SingleSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Makefile test/Programs/SingleSource/Benchmarks/Makefile ;;
24427 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 ;;
24428 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 ;;
24429 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 ;;
24430 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 ;;
24431 test/Programs/SingleSource/CustomChecked/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/CustomChecked/Makefile test/Programs/SingleSource/CustomChecked/Makefile ;;
24432 test/Programs/SingleSource/UnitTests/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/Makefile test/Programs/SingleSource/UnitTests/Makefile ;;
24433 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 ;;
24434 tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
24435 tools/analyze/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/analyze/Makefile tools/analyze/Makefile ;;
24436 tools/as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/as/Makefile tools/as/Makefile ;;
24437 tools/bugpoint/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/bugpoint/Makefile tools/bugpoint/Makefile ;;
24438 tools/dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/dis/Makefile tools/dis/Makefile ;;
24439 tools/extract/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/extract/Makefile tools/extract/Makefile ;;
24440 tools/gccas/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccas/Makefile tools/gccas/Makefile ;;
24441 tools/gccld/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccld/Makefile tools/gccld/Makefile ;;
24442 tools/link/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/link/Makefile tools/link/Makefile ;;
24443 tools/llc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llc/Makefile tools/llc/Makefile ;;
24444 tools/lli/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/lli/Makefile tools/lli/Makefile ;;
24445 tools/opt/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/opt/Makefile tools/opt/Makefile ;;
24446 tools/llee/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llee/Makefile tools/llee/Makefile ;;
24447 tools/llvm-as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-as/Makefile tools/llvm-as/Makefile ;;
24448 tools/llvm-ar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-ar/Makefile tools/llvm-ar/Makefile ;;
24449 tools/llvm-dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-dis/Makefile tools/llvm-dis/Makefile ;;
24450 utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Makefile utils/Makefile ;;
24451 utils/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Makefile utils/Burg/Makefile ;;
24452 utils/Burg/Doc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Doc/Makefile utils/Burg/Doc/Makefile ;;
24453 utils/TableGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/TableGen/Makefile utils/TableGen/Makefile ;;
24454 www/docs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/www/docs/Makefile www/docs/Makefile ;;
24455 projects/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Makefile projects/Makefile ;;
24456 projects/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile projects/sample/Makefile ;;
24457 projects/sample/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.common projects/sample/Makefile.common ;;
24458 projects/sample/Makefile.config ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.config projects/sample/Makefile.config ;;
24459 projects/sample/lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/Makefile projects/sample/lib/Makefile ;;
24460 projects/sample/lib/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/sample/Makefile projects/sample/lib/sample/Makefile ;;
24461 projects/sample/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/Makefile projects/sample/tools/Makefile ;;
24462 projects/sample/tools/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/sample/Makefile projects/sample/tools/sample/Makefile ;;
24463 projects/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile projects/ModuleMaker/Makefile ;;
24464 projects/ModuleMaker/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile.common projects/ModuleMaker/Makefile.common ;;
24465 projects/ModuleMaker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/Makefile projects/ModuleMaker/tools/Makefile ;;
24466 projects/ModuleMaker/tools/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/ModuleMaker/Makefile projects/ModuleMaker/tools/ModuleMaker/Makefile ;;
24471 cat >>$CONFIG_STATUS <<\_ACEOF
24473 { (exit 0); exit 0; }
24475 chmod +x $CONFIG_STATUS
24476 ac_clean_files=$ac_clean_files_save
24479 # configure is writing to config.log, and then calls config.status.
24480 # config.status does its own redirection, appending to config.log.
24481 # Unfortunately, on DOS this fails, as config.log is still kept open
24482 # by configure, so config.status won't be able to write to it; its
24483 # output is simply discarded. So we exec the FD to /dev/null,
24484 # effectively closing config.log, so it can be properly (re)opened and
24485 # appended to by config.status. When coming back to configure, we
24486 # need to make the FD available again.
24487 if test "$no_create" != yes; then
24489 ac_config_status_args=
24490 test "$silent" = yes &&
24491 ac_config_status_args="$ac_config_status_args --quiet"
24493 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24495 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24496 # would make configure fail if this is the last instruction.
24497 $ac_cs_success || { (exit 1); exit 1; }