2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57 for [LLVM] [1.0].
5 # Report bugs to <llvmbugs@cs.uiuc.edu>.
7 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
8 # Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26 # Support unset when possible.
27 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
196 if expr a : '\(a\)' >/dev/null 2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.file conf$$ 2>/dev/null; then
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
226 as_executable_p="test -f"
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
236 # We need space, tab and new line, in precisely that order.
246 # Check that we are running under the correct shell.
247 SHELL=${CONFIG_SHELL-/bin/sh}
251 # Remove one level of quotation (which was required for Make).
252 ECHO=`echo "$ECHO" | sed 's,\\\\\$\\$0,'$0','`
257 if test "X$1" = X--no-reexec; then
258 # Discard the --no-reexec flag, and continue.
260 elif test "X$1" = X--fallback-echo; then
261 # Avoid inline document here, it may be left over
263 elif test "X`($echo '\t') 2>/dev/null`" = 'X\t' ; then
264 # Yippee, $echo works!
267 # Restart under the correct shell.
268 exec $SHELL "$0" --no-reexec ${1+"$@"}
271 if test "X$1" = X--fallback-echo; then
272 # used as fallback echo
280 # The HP-UX ksh and POSIX shell print the target directory to stdout
282 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
284 if test -z "$ECHO"; then
285 if test "X${echo_test_string+set}" != Xset; then
286 # find a string as large as possible, as long as the shell can cope with it
287 for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
288 # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
289 if (echo_test_string="`eval $cmd`") 2>/dev/null &&
290 echo_test_string="`eval $cmd`" &&
291 (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
298 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
299 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
300 test "X$echo_testing_string" = "X$echo_test_string"; then
303 # The Solaris, AIX, and Digital Unix default echo programs unquote
304 # backslashes. This makes it impossible to quote backslashes using
305 # echo "$something" | sed 's/\\/\\\\/g'
307 # So, first we look for a working echo in the user's PATH.
309 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
310 for dir in $PATH /usr/ucb; do
312 if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
313 test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
314 echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
315 test "X$echo_testing_string" = "X$echo_test_string"; then
322 if test "X$echo" = Xecho; then
323 # We didn't find a better echo, so look for alternatives.
324 if test "X`(print -r '\t') 2>/dev/null`" = 'X\t' &&
325 echo_testing_string=`(print -r "$echo_test_string") 2>/dev/null` &&
326 test "X$echo_testing_string" = "X$echo_test_string"; then
327 # This shell has a builtin print -r that does the trick.
329 elif (test -f /bin/ksh || test -f /bin/ksh$ac_exeext) &&
330 test "X$CONFIG_SHELL" != X/bin/ksh; then
331 # If we have ksh, try running configure again with it.
332 ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
333 export ORIGINAL_CONFIG_SHELL
334 CONFIG_SHELL=/bin/ksh
336 exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
340 if test "X`($echo '\t') 2>/dev/null`" = 'X\t' &&
341 echo_testing_string=`($echo "$echo_test_string") 2>/dev/null` &&
342 test "X$echo_testing_string" = "X$echo_test_string"; then
345 elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
346 test "X$echo_testing_string" = 'X\t' &&
347 echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
348 test "X$echo_testing_string" = "X$echo_test_string"; then
349 CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
351 SHELL="$CONFIG_SHELL"
353 echo="$CONFIG_SHELL $0 --fallback-echo"
354 elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
355 test "X$echo_testing_string" = 'X\t' &&
356 echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
357 test "X$echo_testing_string" = "X$echo_test_string"; then
358 echo="$CONFIG_SHELL $0 --fallback-echo"
360 # maybe with a smaller string...
363 for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
364 if (test "X$echo_test_string" = "X`eval $cmd`") 2>/dev/null
371 if test "$prev" != 'sed 50q "$0"'; then
372 echo_test_string=`eval $prev`
373 export echo_test_string
374 exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
376 # Oops. We lost completely, so just stick with echo.
385 # Copy echo and quote the copy suitably for passing to libtool from
386 # the Makefile, instead of quoting the original, which is used later.
388 if test "X$ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
389 ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
395 tagnames=`echo "$tagnames,CXX" | sed 's/^,//'`
397 tagnames=`echo "$tagnames,F77" | sed 's/^,//'`
400 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
401 # so uname gets run too.
402 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
409 ac_default_prefix=/usr/local
410 ac_config_libobj_dir=.
415 SHELL=${CONFIG_SHELL-/bin/sh}
417 # Maximum number of lines to put in a shell here document.
418 # This variable seems obsolete. It should probably be removed, and
419 # only ac_max_sed_lines should be used.
420 : ${ac_max_here_lines=38}
422 # Identity of this package.
423 PACKAGE_NAME='[LLVM]'
424 PACKAGE_TARNAME='--llvm--'
425 PACKAGE_VERSION='[1.0]'
426 PACKAGE_STRING='[LLVM] [1.0]'
427 PACKAGE_BUGREPORT='llvmbugs@cs.uiuc.edu'
429 # Factoring default headers for most tests.
430 ac_includes_default="\
433 # include <sys/types.h>
436 # include <sys/stat.h>
447 # if !STDC_HEADERS && HAVE_MEMORY_H
453 # include <strings.h>
456 # include <inttypes.h>
466 ac_unique_file=""Makefile.config.in""
467 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os OS LLVMGCCDIR ARCH CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT CC CFLAGS ac_ct_CC CPP ifGNUmake LEX LEXLIB LEX_OUTPUT_ROOT YACC EGREP LN_S ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL RPWD SED RM MKDIR DATE MV DOT ETAGS PURIFY PYTHON QMTEST ALLOCA LIBOBJS MMAP_FILE ENABLE_PURIFY ENABLE_OPTIMIZED USE_SPEC UPB DISABLE_LLC_DIFFS JIT SPEC_ROOT BCR PAPIDIR LTLIBOBJS'
470 # Initialize some variables set by options.
472 ac_init_version=false
473 # The variables have the same names as the options, with
474 # dashes changed to underlines.
482 program_transform_name=s,x,x,
490 # Installation directory options.
491 # These are left unexpanded so users can "make install exec_prefix=/foo"
492 # and all the variables that are supposed to be based on exec_prefix
493 # by default will actually change.
494 # Use braces instead of parens because sh, perl, etc. also accept them.
495 bindir='${exec_prefix}/bin'
496 sbindir='${exec_prefix}/sbin'
497 libexecdir='${exec_prefix}/libexec'
498 datadir='${prefix}/share'
499 sysconfdir='${prefix}/etc'
500 sharedstatedir='${prefix}/com'
501 localstatedir='${prefix}/var'
502 libdir='${exec_prefix}/lib'
503 includedir='${prefix}/include'
504 oldincludedir='/usr/include'
505 infodir='${prefix}/info'
506 mandir='${prefix}/man'
511 # If the previous option needs an argument, assign it.
512 if test -n "$ac_prev"; then
513 eval "$ac_prev=\$ac_option"
518 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
520 # Accept the important Cygnus configure options, so we can diagnose typos.
524 -bindir | --bindir | --bindi | --bind | --bin | --bi)
526 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
529 -build | --build | --buil | --bui | --bu)
530 ac_prev=build_alias ;;
531 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
532 build_alias=$ac_optarg ;;
534 -cache-file | --cache-file | --cache-fil | --cache-fi \
535 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
536 ac_prev=cache_file ;;
537 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
538 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
539 cache_file=$ac_optarg ;;
542 cache_file=config.cache ;;
544 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
546 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
548 datadir=$ac_optarg ;;
550 -disable-* | --disable-*)
551 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
552 # Reject names that are not valid shell variable names.
553 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
554 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
555 { (exit 1); exit 1; }; }
556 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
557 eval "enable_$ac_feature=no" ;;
559 -enable-* | --enable-*)
560 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
561 # Reject names that are not valid shell variable names.
562 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
563 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
564 { (exit 1); exit 1; }; }
565 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
567 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
570 eval "enable_$ac_feature='$ac_optarg'" ;;
572 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
573 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
574 | --exec | --exe | --ex)
575 ac_prev=exec_prefix ;;
576 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
577 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
578 | --exec=* | --exe=* | --ex=*)
579 exec_prefix=$ac_optarg ;;
581 -gas | --gas | --ga | --g)
582 # Obsolete; use --with-gas.
585 -help | --help | --hel | --he | -h)
587 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
588 ac_init_help=recursive ;;
589 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
590 ac_init_help=short ;;
592 -host | --host | --hos | --ho)
593 ac_prev=host_alias ;;
594 -host=* | --host=* | --hos=* | --ho=*)
595 host_alias=$ac_optarg ;;
597 -includedir | --includedir | --includedi | --included | --include \
598 | --includ | --inclu | --incl | --inc)
599 ac_prev=includedir ;;
600 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
601 | --includ=* | --inclu=* | --incl=* | --inc=*)
602 includedir=$ac_optarg ;;
604 -infodir | --infodir | --infodi | --infod | --info | --inf)
606 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
607 infodir=$ac_optarg ;;
609 -libdir | --libdir | --libdi | --libd)
611 -libdir=* | --libdir=* | --libdi=* | --libd=*)
614 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
615 | --libexe | --libex | --libe)
616 ac_prev=libexecdir ;;
617 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
618 | --libexe=* | --libex=* | --libe=*)
619 libexecdir=$ac_optarg ;;
621 -localstatedir | --localstatedir | --localstatedi | --localstated \
622 | --localstate | --localstat | --localsta | --localst \
623 | --locals | --local | --loca | --loc | --lo)
624 ac_prev=localstatedir ;;
625 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
626 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
627 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
628 localstatedir=$ac_optarg ;;
630 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
632 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
636 # Obsolete; use --without-fp.
639 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
640 | --no-cr | --no-c | -n)
643 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
644 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
647 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
648 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
649 | --oldin | --oldi | --old | --ol | --o)
650 ac_prev=oldincludedir ;;
651 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
652 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
653 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
654 oldincludedir=$ac_optarg ;;
656 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
658 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
661 -program-prefix | --program-prefix | --program-prefi | --program-pref \
662 | --program-pre | --program-pr | --program-p)
663 ac_prev=program_prefix ;;
664 -program-prefix=* | --program-prefix=* | --program-prefi=* \
665 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
666 program_prefix=$ac_optarg ;;
668 -program-suffix | --program-suffix | --program-suffi | --program-suff \
669 | --program-suf | --program-su | --program-s)
670 ac_prev=program_suffix ;;
671 -program-suffix=* | --program-suffix=* | --program-suffi=* \
672 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
673 program_suffix=$ac_optarg ;;
675 -program-transform-name | --program-transform-name \
676 | --program-transform-nam | --program-transform-na \
677 | --program-transform-n | --program-transform- \
678 | --program-transform | --program-transfor \
679 | --program-transfo | --program-transf \
680 | --program-trans | --program-tran \
681 | --progr-tra | --program-tr | --program-t)
682 ac_prev=program_transform_name ;;
683 -program-transform-name=* | --program-transform-name=* \
684 | --program-transform-nam=* | --program-transform-na=* \
685 | --program-transform-n=* | --program-transform-=* \
686 | --program-transform=* | --program-transfor=* \
687 | --program-transfo=* | --program-transf=* \
688 | --program-trans=* | --program-tran=* \
689 | --progr-tra=* | --program-tr=* | --program-t=*)
690 program_transform_name=$ac_optarg ;;
692 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
693 | -silent | --silent | --silen | --sile | --sil)
696 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
698 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
700 sbindir=$ac_optarg ;;
702 -sharedstatedir | --sharedstatedir | --sharedstatedi \
703 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
704 | --sharedst | --shareds | --shared | --share | --shar \
706 ac_prev=sharedstatedir ;;
707 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
708 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
709 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
711 sharedstatedir=$ac_optarg ;;
713 -site | --site | --sit)
715 -site=* | --site=* | --sit=*)
718 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
720 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
723 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
724 | --syscon | --sysco | --sysc | --sys | --sy)
725 ac_prev=sysconfdir ;;
726 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
727 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
728 sysconfdir=$ac_optarg ;;
730 -target | --target | --targe | --targ | --tar | --ta | --t)
731 ac_prev=target_alias ;;
732 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
733 target_alias=$ac_optarg ;;
735 -v | -verbose | --verbose | --verbos | --verbo | --verb)
738 -version | --version | --versio | --versi | --vers | -V)
742 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
743 # Reject names that are not valid shell variable names.
744 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
745 { echo "$as_me: error: invalid package name: $ac_package" >&2
746 { (exit 1); exit 1; }; }
747 ac_package=`echo $ac_package| sed 's/-/_/g'`
749 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
752 eval "with_$ac_package='$ac_optarg'" ;;
754 -without-* | --without-*)
755 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
756 # Reject names that are not valid shell variable names.
757 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
758 { echo "$as_me: error: invalid package name: $ac_package" >&2
759 { (exit 1); exit 1; }; }
760 ac_package=`echo $ac_package | sed 's/-/_/g'`
761 eval "with_$ac_package=no" ;;
764 # Obsolete; use --with-x.
767 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
768 | --x-incl | --x-inc | --x-in | --x-i)
769 ac_prev=x_includes ;;
770 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
771 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
772 x_includes=$ac_optarg ;;
774 -x-libraries | --x-libraries | --x-librarie | --x-librari \
775 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
776 ac_prev=x_libraries ;;
777 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
778 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
779 x_libraries=$ac_optarg ;;
781 -*) { echo "$as_me: error: unrecognized option: $ac_option
782 Try \`$0 --help' for more information." >&2
783 { (exit 1); exit 1; }; }
787 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
788 # Reject names that are not valid shell variable names.
789 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
790 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
791 { (exit 1); exit 1; }; }
792 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
793 eval "$ac_envvar='$ac_optarg'"
797 # FIXME: should be removed in autoconf 3.0.
798 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
799 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
800 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
801 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
807 if test -n "$ac_prev"; then
808 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
809 { echo "$as_me: error: missing argument to $ac_option" >&2
810 { (exit 1); exit 1; }; }
813 # Be sure to have absolute paths.
814 for ac_var in exec_prefix prefix
816 eval ac_val=$`echo $ac_var`
818 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
819 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
820 { (exit 1); exit 1; }; };;
824 # Be sure to have absolute paths.
825 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
826 localstatedir libdir includedir oldincludedir infodir mandir
828 eval ac_val=$`echo $ac_var`
830 [\\/$]* | ?:[\\/]* ) ;;
831 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
832 { (exit 1); exit 1; }; };;
836 # There might be people who depend on the old broken behavior: `$host'
837 # used to hold the argument of --host etc.
838 # FIXME: To remove some day.
843 # FIXME: To remove some day.
844 if test "x$host_alias" != x; then
845 if test "x$build_alias" = x; then
846 cross_compiling=maybe
847 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
848 If a cross compiler is detected then cross compile mode will be used." >&2
849 elif test "x$build_alias" != "x$host_alias"; then
855 test -n "$host_alias" && ac_tool_prefix=$host_alias-
857 test "$silent" = yes && exec 6>/dev/null
860 # Find the source files, if location was not specified.
861 if test -z "$srcdir"; then
862 ac_srcdir_defaulted=yes
863 # Try the directory containing this script, then its parent.
864 ac_confdir=`(dirname "$0") 2>/dev/null ||
865 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
866 X"$0" : 'X\(//\)[^/]' \| \
867 X"$0" : 'X\(//\)$' \| \
868 X"$0" : 'X\(/\)' \| \
869 . : '\(.\)' 2>/dev/null ||
871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
872 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
873 /^X\(\/\/\)$/{ s//\1/; q; }
874 /^X\(\/\).*/{ s//\1/; q; }
877 if test ! -r $srcdir/$ac_unique_file; then
881 ac_srcdir_defaulted=no
883 if test ! -r $srcdir/$ac_unique_file; then
884 if test "$ac_srcdir_defaulted" = yes; then
885 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
886 { (exit 1); exit 1; }; }
888 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
889 { (exit 1); exit 1; }; }
892 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
893 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
894 { (exit 1); exit 1; }; }
895 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
896 ac_env_build_alias_set=${build_alias+set}
897 ac_env_build_alias_value=$build_alias
898 ac_cv_env_build_alias_set=${build_alias+set}
899 ac_cv_env_build_alias_value=$build_alias
900 ac_env_host_alias_set=${host_alias+set}
901 ac_env_host_alias_value=$host_alias
902 ac_cv_env_host_alias_set=${host_alias+set}
903 ac_cv_env_host_alias_value=$host_alias
904 ac_env_target_alias_set=${target_alias+set}
905 ac_env_target_alias_value=$target_alias
906 ac_cv_env_target_alias_set=${target_alias+set}
907 ac_cv_env_target_alias_value=$target_alias
908 ac_env_CXX_set=${CXX+set}
909 ac_env_CXX_value=$CXX
910 ac_cv_env_CXX_set=${CXX+set}
911 ac_cv_env_CXX_value=$CXX
912 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
913 ac_env_CXXFLAGS_value=$CXXFLAGS
914 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
915 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
916 ac_env_LDFLAGS_set=${LDFLAGS+set}
917 ac_env_LDFLAGS_value=$LDFLAGS
918 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
919 ac_cv_env_LDFLAGS_value=$LDFLAGS
920 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
921 ac_env_CPPFLAGS_value=$CPPFLAGS
922 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
923 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
924 ac_env_CC_set=${CC+set}
926 ac_cv_env_CC_set=${CC+set}
927 ac_cv_env_CC_value=$CC
928 ac_env_CFLAGS_set=${CFLAGS+set}
929 ac_env_CFLAGS_value=$CFLAGS
930 ac_cv_env_CFLAGS_set=${CFLAGS+set}
931 ac_cv_env_CFLAGS_value=$CFLAGS
932 ac_env_CPP_set=${CPP+set}
933 ac_env_CPP_value=$CPP
934 ac_cv_env_CPP_set=${CPP+set}
935 ac_cv_env_CPP_value=$CPP
936 ac_env_CXXCPP_set=${CXXCPP+set}
937 ac_env_CXXCPP_value=$CXXCPP
938 ac_cv_env_CXXCPP_set=${CXXCPP+set}
939 ac_cv_env_CXXCPP_value=$CXXCPP
940 ac_env_F77_set=${F77+set}
941 ac_env_F77_value=$F77
942 ac_cv_env_F77_set=${F77+set}
943 ac_cv_env_F77_value=$F77
944 ac_env_FFLAGS_set=${FFLAGS+set}
945 ac_env_FFLAGS_value=$FFLAGS
946 ac_cv_env_FFLAGS_set=${FFLAGS+set}
947 ac_cv_env_FFLAGS_value=$FFLAGS
950 # Report the --help message.
952 if test "$ac_init_help" = "long"; then
953 # Omit some internal or obsolete options to make the list less imposing.
954 # This message is too long to be a string in the A/UX 3.1 sh.
956 \`configure' configures [LLVM] [1.0] to adapt to many kinds of systems.
958 Usage: $0 [OPTION]... [VAR=VALUE]...
960 To assign environment variables (e.g., CC, CFLAGS...), specify them as
961 VAR=VALUE. See below for descriptions of some of the useful variables.
963 Defaults for the options are specified in brackets.
966 -h, --help display this help and exit
967 --help=short display options specific to this package
968 --help=recursive display the short help of all the included packages
969 -V, --version display version information and exit
970 -q, --quiet, --silent do not print \`checking...' messages
971 --cache-file=FILE cache test results in FILE [disabled]
972 -C, --config-cache alias for \`--cache-file=config.cache'
973 -n, --no-create do not create output files
974 --srcdir=DIR find the sources in DIR [configure dir or \`..']
979 Installation directories:
980 --prefix=PREFIX install architecture-independent files in PREFIX
982 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
985 By default, \`make install' will install all the files in
986 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
987 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
988 for instance \`--prefix=\$HOME'.
990 For better control, use the options below.
992 Fine tuning of the installation directories:
993 --bindir=DIR user executables [EPREFIX/bin]
994 --sbindir=DIR system admin executables [EPREFIX/sbin]
995 --libexecdir=DIR program executables [EPREFIX/libexec]
996 --datadir=DIR read-only architecture-independent data [PREFIX/share]
997 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
998 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
999 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1000 --libdir=DIR object code libraries [EPREFIX/lib]
1001 --includedir=DIR C header files [PREFIX/include]
1002 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1003 --infodir=DIR info documentation [PREFIX/info]
1004 --mandir=DIR man documentation [PREFIX/man]
1010 --build=BUILD configure for building on BUILD [guessed]
1011 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1012 --target=TARGET configure for building compilers for TARGET [HOST]
1016 if test -n "$ac_init_help"; then
1017 case $ac_init_help in
1018 short | recursive ) echo "Configuration of [LLVM] [1.0]:";;
1023 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1024 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1025 --enable-shared[=PKGS]
1026 build shared libraries [default=yes]
1027 --enable-static[=PKGS]
1028 build static libraries [default=yes]
1029 --enable-fast-install[=PKGS]
1030 optimize for fast installation [default=yes]
1031 --disable-libtool-lock avoid locking (might break parallel builds)
1032 --enable-purify Compile with purify (default is NO)
1033 --enable-optimized Compile with optimizations enabled (default is NO)
1034 --enable-spec Compile SPEC benchmarks (default is NO)
1035 --enable-precompiled_bytecode
1036 Use pre-compiled bytecode (default is NO)
1037 --enable-llc_diffs Enable LLC Diffs when testing (default is YES)
1038 --enable-jit Enable Just In Time Compiling (default is YES)
1041 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1042 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1043 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1044 --with-pic try to use only PIC/non-PIC objects [default=use
1047 include additional configurations [automatic]
1048 --with-spec Location of SPEC benchmarks
1049 --with-llvmgccdir Location of LLVM GCC front-end
1050 --with-bcrepos Location of Bytecode Repository
1051 --with-papi Location of PAPI
1052 --with-purify Location of purify program
1054 Some influential environment variables:
1055 CXX C++ compiler command
1056 CXXFLAGS C++ compiler flags
1057 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1058 nonstandard directory <lib dir>
1059 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1060 headers in a nonstandard directory <include dir>
1061 CC C compiler command
1062 CFLAGS C compiler flags
1064 CXXCPP C++ preprocessor
1065 F77 Fortran 77 compiler command
1066 FFLAGS Fortran 77 compiler flags
1068 Use these variables to override the choices made by `configure' or to help
1069 it to find libraries and programs with nonstandard names/locations.
1071 Report bugs to <llvmbugs@cs.uiuc.edu>.
1075 if test "$ac_init_help" = "recursive"; then
1076 # If there are subdirs, report their specific --help.
1078 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1079 test -d $ac_dir || continue
1082 if test "$ac_dir" != .; then
1083 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1084 # A "../" for each directory in $ac_dir_suffix.
1085 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1087 ac_dir_suffix= ac_top_builddir=
1091 .) # No --srcdir option. We are building in place.
1093 if test -z "$ac_top_builddir"; then
1096 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1098 [\\/]* | ?:[\\/]* ) # Absolute path.
1099 ac_srcdir=$srcdir$ac_dir_suffix;
1100 ac_top_srcdir=$srcdir ;;
1102 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1103 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1105 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1107 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1108 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1109 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1110 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1113 # Check for guested configure; otherwise get Cygnus style configure.
1114 if test -f $ac_srcdir/configure.gnu; then
1116 $SHELL $ac_srcdir/configure.gnu --help=recursive
1117 elif test -f $ac_srcdir/configure; then
1119 $SHELL $ac_srcdir/configure --help=recursive
1120 elif test -f $ac_srcdir/configure.ac ||
1121 test -f $ac_srcdir/configure.in; then
1123 $ac_configure --help
1125 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1131 test -n "$ac_init_help" && exit 0
1132 if $ac_init_version; then
1134 [LLVM] configure [1.0]
1135 generated by GNU Autoconf 2.57
1137 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1138 Free Software Foundation, Inc.
1139 This configure script is free software; the Free Software Foundation
1140 gives unlimited permission to copy, distribute and modify it.
1146 This file contains any messages produced by compilers while
1147 running configure, to aid debugging if configure makes a mistake.
1149 It was created by [LLVM] $as_me [1.0], which was
1150 generated by GNU Autoconf 2.57. Invocation command line was
1161 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1162 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1163 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1164 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1165 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1167 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1168 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1170 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1171 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1172 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1173 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1174 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1175 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1176 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1184 test -z "$as_dir" && as_dir=.
1185 echo "PATH: $as_dir"
1200 # Keep a trace of the command line.
1201 # Strip out --no-create and --no-recursion so they do not pile up.
1202 # Strip out --silent because we don't want to record it for future runs.
1203 # Also quote any args containing shell meta-characters.
1204 # Make two passes to allow for proper duplicate-argument suppression.
1209 ac_must_keep_next=false
1215 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1216 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1217 | -silent | --silent | --silen | --sile | --sil)
1219 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1220 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1223 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1225 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1226 if test $ac_must_keep_next = true; then
1227 ac_must_keep_next=false # Got value, back to normal.
1230 *=* | --config-cache | -C | -disable-* | --disable-* \
1231 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1232 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1233 | -with-* | --with-* | -without-* | --without-* | --x)
1234 case "$ac_configure_args0 " in
1235 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1238 -* ) ac_must_keep_next=true ;;
1241 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1242 # Get rid of the leading space.
1248 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1249 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1251 # When interrupted or exit'd, cleanup temporary files, and complete
1252 # config.log. We remove comments because anyway the quotes in there
1253 # would cause problems or look ugly.
1254 # WARNING: Be sure not to use single quotes in there, as some shells,
1255 # such as our DU 5.0 friend, will then `close' the trap.
1256 trap 'exit_status=$?
1257 # Save into config.log some information that might help in debugging.
1262 ## ---------------- ##
1263 ## Cache variables. ##
1264 ## ---------------- ##
1267 # The following way of writing the cache mishandles newlines in values,
1270 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1273 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1274 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1278 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1285 ## ----------------- ##
1286 ## Output variables. ##
1287 ## ----------------- ##
1290 for ac_var in $ac_subst_vars
1292 eval ac_val=$`echo $ac_var`
1293 echo "$ac_var='"'"'$ac_val'"'"'"
1297 if test -n "$ac_subst_files"; then
1304 for ac_var in $ac_subst_files
1306 eval ac_val=$`echo $ac_var`
1307 echo "$ac_var='"'"'$ac_val'"'"'"
1312 if test -s confdefs.h; then
1319 sed "/^$/d" confdefs.h | sort
1322 test "$ac_signal" != 0 &&
1323 echo "$as_me: caught signal $ac_signal"
1324 echo "$as_me: exit $exit_status"
1326 rm -f core core.* *.core &&
1327 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1330 for ac_signal in 1 2 13 15; do
1331 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1335 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1336 rm -rf conftest* confdefs.h
1337 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1340 # Predefined preprocessor variables.
1342 cat >>confdefs.h <<_ACEOF
1343 #define PACKAGE_NAME "$PACKAGE_NAME"
1347 cat >>confdefs.h <<_ACEOF
1348 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1352 cat >>confdefs.h <<_ACEOF
1353 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1357 cat >>confdefs.h <<_ACEOF
1358 #define PACKAGE_STRING "$PACKAGE_STRING"
1362 cat >>confdefs.h <<_ACEOF
1363 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1367 # Let the site file select an alternate cache file if it wants to.
1368 # Prefer explicitly selected file to automatically selected ones.
1369 if test -z "$CONFIG_SITE"; then
1370 if test "x$prefix" != xNONE; then
1371 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1373 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1376 for ac_site_file in $CONFIG_SITE; do
1377 if test -r "$ac_site_file"; then
1378 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1379 echo "$as_me: loading site script $ac_site_file" >&6;}
1380 sed 's/^/| /' "$ac_site_file" >&5
1385 if test -r "$cache_file"; then
1386 # Some versions of bash will fail to source /dev/null (special
1387 # files actually), so we avoid doing that.
1388 if test -f "$cache_file"; then
1389 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1390 echo "$as_me: loading cache $cache_file" >&6;}
1392 [\\/]* | ?:[\\/]* ) . $cache_file;;
1393 *) . ./$cache_file;;
1397 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1398 echo "$as_me: creating cache $cache_file" >&6;}
1402 # Check that the precious variables saved in the cache have kept the same
1404 ac_cache_corrupted=false
1405 for ac_var in `(set) 2>&1 |
1406 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1407 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1408 eval ac_new_set=\$ac_env_${ac_var}_set
1409 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1410 eval ac_new_val="\$ac_env_${ac_var}_value"
1411 case $ac_old_set,$ac_new_set in
1413 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1414 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1415 ac_cache_corrupted=: ;;
1417 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1418 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1419 ac_cache_corrupted=: ;;
1422 if test "x$ac_old_val" != "x$ac_new_val"; then
1423 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1424 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1425 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1426 echo "$as_me: former value: $ac_old_val" >&2;}
1427 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1428 echo "$as_me: current value: $ac_new_val" >&2;}
1429 ac_cache_corrupted=:
1432 # Pass precious variables to config.status.
1433 if test "$ac_new_set" = set; then
1435 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1436 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1437 *) ac_arg=$ac_var=$ac_new_val ;;
1439 case " $ac_configure_args " in
1440 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1441 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1445 if $ac_cache_corrupted; then
1446 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1447 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1448 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1449 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1450 { (exit 1); exit 1; }; }
1454 ac_cpp='$CPP $CPPFLAGS'
1455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1487 for ac_dir in autoconf $srcdir/autoconf; do
1488 if test -f $ac_dir/install-sh; then
1490 ac_install_sh="$ac_aux_dir/install-sh -c"
1492 elif test -f $ac_dir/install.sh; then
1494 ac_install_sh="$ac_aux_dir/install.sh -c"
1496 elif test -f $ac_dir/shtool; then
1498 ac_install_sh="$ac_aux_dir/shtool install -c"
1502 if test -z "$ac_aux_dir"; then
1503 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&5
1504 echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;}
1505 { (exit 1); exit 1; }; }
1507 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1508 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1509 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1512 if test ${srcdir} != "."
1514 if test -f ${srcdir}/include/Config/config.h
1516 { { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5
1517 echo "$as_me: error: Already configured in ${srcdir}" >&2;}
1518 { (exit 1); exit 1; }; }
1522 ac_config_headers="$ac_config_headers include/Config/config.h"
1524 ac_config_commands="$ac_config_commands Makefile"
1527 ac_config_commands="$ac_config_commands Makefile.common"
1530 ac_config_commands="$ac_config_commands Makefile.rules"
1533 ac_config_commands="$ac_config_commands lib/Makefile"
1536 ac_config_commands="$ac_config_commands lib/Analysis/Makefile"
1539 ac_config_commands="$ac_config_commands lib/Analysis/DataStructure/Makefile"
1542 ac_config_commands="$ac_config_commands lib/Analysis/IPA/Makefile"
1545 ac_config_commands="$ac_config_commands lib/Analysis/LiveVar/Makefile"
1548 ac_config_commands="$ac_config_commands lib/AsmParser/Makefile"
1551 ac_config_commands="$ac_config_commands lib/Bytecode/Makefile"
1554 ac_config_commands="$ac_config_commands lib/Bytecode/Reader/Makefile"
1557 ac_config_commands="$ac_config_commands lib/Bytecode/Writer/Makefile"
1560 ac_config_commands="$ac_config_commands lib/CWriter/Makefile"
1563 ac_config_commands="$ac_config_commands lib/CodeGen/Makefile"
1566 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSched/Makefile"
1569 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSelection/Makefile"
1572 ac_config_commands="$ac_config_commands lib/CodeGen/ModuloScheduling/Makefile"
1575 ac_config_commands="$ac_config_commands lib/CodeGen/RegAlloc/Makefile"
1578 ac_config_commands="$ac_config_commands lib/CodeGen/SelectionDAG/Makefile"
1581 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Makefile"
1584 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Interpreter/Makefile"
1587 ac_config_commands="$ac_config_commands lib/ExecutionEngine/JIT/Makefile"
1590 ac_config_commands="$ac_config_commands lib/Support/Makefile"
1593 ac_config_commands="$ac_config_commands lib/Target/Makefile"
1596 ac_config_commands="$ac_config_commands lib/Target/Sparc/Makefile"
1599 ac_config_commands="$ac_config_commands lib/Target/X86/Makefile"
1602 ac_config_commands="$ac_config_commands lib/Transforms/Makefile"
1605 ac_config_commands="$ac_config_commands lib/Transforms/Hello/Makefile"
1608 ac_config_commands="$ac_config_commands lib/Transforms/IPO/Makefile"
1611 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/Makefile"
1614 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/ProfilePaths/Makefile"
1617 ac_config_commands="$ac_config_commands lib/Transforms/Scalar/Makefile"
1620 ac_config_commands="$ac_config_commands lib/Transforms/Utils/Makefile"
1623 ac_config_commands="$ac_config_commands lib/VMCore/Makefile"
1626 ac_config_commands="$ac_config_commands runtime/Makefile"
1629 ac_config_commands="$ac_config_commands runtime/GCCLibraries/Makefile"
1632 ac_config_commands="$ac_config_commands runtime/GCCLibraries/crtend/Makefile"
1635 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libc/Makefile"
1638 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libcurses/Makefile"
1641 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libexception/Makefile"
1644 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libg/Makefile"
1647 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libgcc/Makefile"
1650 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libm/Makefile"
1653 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libmalloc/Makefile"
1656 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libtermcap/Makefile"
1659 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libucb/Makefile"
1662 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutempter/Makefile"
1665 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutil/Makefile"
1668 ac_config_commands="$ac_config_commands runtime/libdummy/Makefile"
1671 ac_config_commands="$ac_config_commands runtime/libtrace/Makefile"
1674 ac_config_commands="$ac_config_commands test/Makefile"
1677 ac_config_commands="$ac_config_commands test/Makefile.tests"
1680 ac_config_commands="$ac_config_commands test/Programs/Makefile"
1683 ac_config_commands="$ac_config_commands test/Programs/Makefile.programs"
1686 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.Makefile"
1689 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.report"
1692 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.report"
1695 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.report"
1698 ac_config_commands="$ac_config_commands test/Programs/TEST.example.Makefile"
1701 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.Makefile"
1704 ac_config_commands="$ac_config_commands test/Programs/TEST.buildrepo.Makefile"
1707 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.Makefile"
1710 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.report"
1713 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.Makefile"
1716 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.report"
1719 ac_config_commands="$ac_config_commands test/Programs/TEST.typesafe.Makefile"
1722 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.gnuplot"
1725 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.Makefile"
1728 ac_config_commands="$ac_config_commands test/Programs/External/Makefile"
1731 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile"
1734 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile.spec"
1737 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/Makefile"
1740 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/179.art/Makefile"
1743 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/183.equake/Makefile"
1746 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/188.ammp/Makefile"
1749 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/Makefile"
1752 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/164.gzip/Makefile"
1755 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/175.vpr/Makefile"
1758 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/176.gcc/Makefile"
1761 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/181.mcf/Makefile"
1764 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/186.crafty/Makefile"
1767 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/197.parser/Makefile"
1770 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/254.gap/Makefile"
1773 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/255.vortex/Makefile"
1776 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile"
1779 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/300.twolf/Makefile"
1782 ac_config_commands="$ac_config_commands test/Programs/LLVMSource/Makefile"
1785 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile"
1788 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile.multisrc"
1791 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Makefile"
1794 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Burg/Makefile"
1797 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/aha/Makefile"
1800 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/sgefa/Makefile"
1803 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Makefile"
1806 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile"
1809 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/Makefile"
1812 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile"
1815 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile"
1818 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile"
1821 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile"
1824 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile"
1827 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile"
1830 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile"
1833 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile"
1836 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile"
1839 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile"
1842 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/Makefile"
1845 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile"
1848 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile"
1851 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile"
1854 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/health/Makefile"
1857 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile"
1860 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile"
1863 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/power/Makefile"
1866 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile"
1869 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile"
1872 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile"
1875 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile"
1878 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile"
1881 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile"
1884 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile"
1887 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile"
1890 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile"
1893 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile"
1896 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile"
1899 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/sim/Makefile"
1902 ac_config_commands="$ac_config_commands test/Programs/NoSource/Makefile"
1905 ac_config_commands="$ac_config_commands test/Programs/NoSource/Flex/Makefile"
1908 ac_config_commands="$ac_config_commands test/Programs/NoSource/Larn/Makefile"
1911 ac_config_commands="$ac_config_commands test/Programs/NoSource/Moria-5.5.2/Makefile"
1914 ac_config_commands="$ac_config_commands test/Programs/NoSource/Povray31/Makefile"
1917 ac_config_commands="$ac_config_commands test/Programs/NoSource/m4/Makefile"
1920 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile"
1923 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile.singlesrc"
1926 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Gizmos/Makefile"
1929 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Makefile"
1932 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile"
1935 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Shootout/Makefile"
1938 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Stanford/Makefile"
1941 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Misc/Makefile"
1944 ac_config_commands="$ac_config_commands test/Programs/SingleSource/CustomChecked/Makefile"
1947 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/Makefile"
1950 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile"
1953 ac_config_commands="$ac_config_commands tools/Makefile"
1956 ac_config_commands="$ac_config_commands tools/analyze/Makefile"
1959 ac_config_commands="$ac_config_commands tools/as/Makefile"
1962 ac_config_commands="$ac_config_commands tools/bugpoint/Makefile"
1965 ac_config_commands="$ac_config_commands tools/dis/Makefile"
1968 ac_config_commands="$ac_config_commands tools/extract/Makefile"
1971 ac_config_commands="$ac_config_commands tools/gccas/Makefile"
1974 ac_config_commands="$ac_config_commands tools/gccld/Makefile"
1977 ac_config_commands="$ac_config_commands tools/link/Makefile"
1980 ac_config_commands="$ac_config_commands tools/llc/Makefile"
1983 ac_config_commands="$ac_config_commands tools/lli/Makefile"
1986 ac_config_commands="$ac_config_commands tools/opt/Makefile"
1989 ac_config_commands="$ac_config_commands tools/llee/Makefile"
1992 ac_config_commands="$ac_config_commands tools/llvm-as/Makefile"
1995 ac_config_commands="$ac_config_commands tools/llvm-ar/Makefile"
1998 ac_config_commands="$ac_config_commands tools/llvm-dis/Makefile"
2001 ac_config_commands="$ac_config_commands utils/Makefile"
2004 ac_config_commands="$ac_config_commands utils/Burg/Makefile"
2007 ac_config_commands="$ac_config_commands utils/Burg/Doc/Makefile"
2010 ac_config_commands="$ac_config_commands utils/TableGen/Makefile"
2013 ac_config_commands="$ac_config_commands www/docs/Makefile"
2016 ac_config_commands="$ac_config_commands projects/Makefile"
2019 ac_config_commands="$ac_config_commands projects/sample/Makefile"
2022 ac_config_commands="$ac_config_commands projects/sample/Makefile.common"
2025 ac_config_commands="$ac_config_commands projects/sample/Makefile.config"
2028 ac_config_commands="$ac_config_commands projects/sample/lib/Makefile"
2031 ac_config_commands="$ac_config_commands projects/sample/lib/sample/Makefile"
2034 ac_config_commands="$ac_config_commands projects/sample/tools/Makefile"
2037 ac_config_commands="$ac_config_commands projects/sample/tools/sample/Makefile"
2040 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile"
2043 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile.common"
2046 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/Makefile"
2049 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/ModuleMaker/Makefile"
2054 # Find a good install program. We prefer a C program (faster),
2055 # so one script is as good as another. But avoid the broken or
2056 # incompatible versions:
2057 # SysV /etc/install, /usr/sbin/install
2058 # SunOS /usr/etc/install
2059 # IRIX /sbin/install
2061 # AmigaOS /C/install, which installs bootblocks on floppy discs
2062 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2063 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2064 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2065 # ./install, which can be erroneously created by make from ./install.sh.
2066 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2067 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2068 if test -z "$INSTALL"; then
2069 if test "${ac_cv_path_install+set}" = set; then
2070 echo $ECHO_N "(cached) $ECHO_C" >&6
2072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2076 test -z "$as_dir" && as_dir=.
2077 # Account for people who put trailing slashes in PATH elements.
2079 ./ | .// | /cC/* | \
2080 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2083 # OSF1 and SCO ODT 3.0 have their own names for install.
2084 # Don't use installbsd from OSF since it installs stuff as root
2086 for ac_prog in ginstall scoinst install; do
2087 for ac_exec_ext in '' $ac_executable_extensions; do
2088 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2089 if test $ac_prog = install &&
2090 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2091 # AIX install. It has an incompatible calling convention.
2093 elif test $ac_prog = install &&
2094 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2095 # program-specific install script used by HP pwplus--don't use.
2098 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2110 if test "${ac_cv_path_install+set}" = set; then
2111 INSTALL=$ac_cv_path_install
2113 # As a last resort, use the slow shell script. We don't cache a
2114 # path for INSTALL within a source directory, because that will
2115 # break other packages using the cache if that directory is
2116 # removed, or if the path is relative.
2117 INSTALL=$ac_install_sh
2120 echo "$as_me:$LINENO: result: $INSTALL" >&5
2121 echo "${ECHO_T}$INSTALL" >&6
2123 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2124 # It thinks the first close brace ends the variable substitution.
2125 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2127 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2129 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2132 # Make sure we can run config.sub.
2133 $ac_config_sub sun4 >/dev/null 2>&1 ||
2134 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2135 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2136 { (exit 1); exit 1; }; }
2138 echo "$as_me:$LINENO: checking build system type" >&5
2139 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2140 if test "${ac_cv_build+set}" = set; then
2141 echo $ECHO_N "(cached) $ECHO_C" >&6
2143 ac_cv_build_alias=$build_alias
2144 test -z "$ac_cv_build_alias" &&
2145 ac_cv_build_alias=`$ac_config_guess`
2146 test -z "$ac_cv_build_alias" &&
2147 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2148 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2149 { (exit 1); exit 1; }; }
2150 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2151 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2152 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2153 { (exit 1); exit 1; }; }
2156 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2157 echo "${ECHO_T}$ac_cv_build" >&6
2159 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2160 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2161 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2164 echo "$as_me:$LINENO: checking host system type" >&5
2165 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2166 if test "${ac_cv_host+set}" = set; then
2167 echo $ECHO_N "(cached) $ECHO_C" >&6
2169 ac_cv_host_alias=$host_alias
2170 test -z "$ac_cv_host_alias" &&
2171 ac_cv_host_alias=$ac_cv_build_alias
2172 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2173 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2174 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2175 { (exit 1); exit 1; }; }
2178 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2179 echo "${ECHO_T}$ac_cv_host" >&6
2181 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2182 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2183 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2186 echo "$as_me:$LINENO: checking target system type" >&5
2187 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2188 if test "${ac_cv_target+set}" = set; then
2189 echo $ECHO_N "(cached) $ECHO_C" >&6
2191 ac_cv_target_alias=$target_alias
2192 test "x$ac_cv_target_alias" = "x" &&
2193 ac_cv_target_alias=$ac_cv_host_alias
2194 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2195 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2196 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2197 { (exit 1); exit 1; }; }
2200 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2201 echo "${ECHO_T}$ac_cv_target" >&6
2202 target=$ac_cv_target
2203 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2204 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2205 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2208 # The aliases save the names the user supplied, while $host etc.
2209 # will get canonicalized.
2210 test -n "$target_alias" &&
2211 test "$program_prefix$program_suffix$program_transform_name" = \
2213 program_prefix=${target_alias}-
2218 LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/
2224 LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/
2234 *sparc*solaris*) target=sparcv9-sun-solaris2.8
2243 *sparc*solaris*) ARCH=Sparc
2250 ac_cpp='$CXXCPP $CPPFLAGS'
2251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2254 if test -n "$ac_tool_prefix"; then
2255 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2257 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2258 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2259 echo "$as_me:$LINENO: checking for $ac_word" >&5
2260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2261 if test "${ac_cv_prog_CXX+set}" = set; then
2262 echo $ECHO_N "(cached) $ECHO_C" >&6
2264 if test -n "$CXX"; then
2265 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2271 test -z "$as_dir" && as_dir=.
2272 for ac_exec_ext in '' $ac_executable_extensions; do
2273 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2274 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2284 if test -n "$CXX"; then
2285 echo "$as_me:$LINENO: result: $CXX" >&5
2286 echo "${ECHO_T}$CXX" >&6
2288 echo "$as_me:$LINENO: result: no" >&5
2289 echo "${ECHO_T}no" >&6
2292 test -n "$CXX" && break
2295 if test -z "$CXX"; then
2297 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2299 # Extract the first word of "$ac_prog", so it can be a program name with args.
2300 set dummy $ac_prog; ac_word=$2
2301 echo "$as_me:$LINENO: checking for $ac_word" >&5
2302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2303 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2304 echo $ECHO_N "(cached) $ECHO_C" >&6
2306 if test -n "$ac_ct_CXX"; then
2307 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2313 test -z "$as_dir" && as_dir=.
2314 for ac_exec_ext in '' $ac_executable_extensions; do
2315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2316 ac_cv_prog_ac_ct_CXX="$ac_prog"
2317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2325 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2326 if test -n "$ac_ct_CXX"; then
2327 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2328 echo "${ECHO_T}$ac_ct_CXX" >&6
2330 echo "$as_me:$LINENO: result: no" >&5
2331 echo "${ECHO_T}no" >&6
2334 test -n "$ac_ct_CXX" && break
2336 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2342 # Provide some information about the compiler.
2343 echo "$as_me:$LINENO:" \
2344 "checking for C++ compiler version" >&5
2345 ac_compiler=`set X $ac_compile; echo $2`
2346 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2347 (eval $ac_compiler --version </dev/null >&5) 2>&5
2349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350 (exit $ac_status); }
2351 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2352 (eval $ac_compiler -v </dev/null >&5) 2>&5
2354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355 (exit $ac_status); }
2356 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2357 (eval $ac_compiler -V </dev/null >&5) 2>&5
2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); }
2362 cat >conftest.$ac_ext <<_ACEOF
2363 #line $LINENO "configure"
2366 cat confdefs.h >>conftest.$ac_ext
2367 cat >>conftest.$ac_ext <<_ACEOF
2368 /* end confdefs.h. */
2378 ac_clean_files_save=$ac_clean_files
2379 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2380 # Try to create an executable without -o first, disregard a.out.
2381 # It will help us diagnose broken compilers, and finding out an intuition
2383 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
2384 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
2385 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2386 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2387 (eval $ac_link_default) 2>&5
2389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2390 (exit $ac_status); }; then
2391 # Find the output, starting from the most likely. This scheme is
2392 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2395 # Be careful to initialize this variable, since it used to be cached.
2396 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2398 # b.out is created by i960 compilers.
2399 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2401 test -f "$ac_file" || continue
2403 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2406 # This is the source file.
2409 # We found the default executable, but exeext='' is most
2413 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2414 # FIXME: I believe we export ac_cv_exeext for Libtool,
2415 # but it would be cool to find out if it's true. Does anybody
2416 # maintain Libtool? --akim.
2424 echo "$as_me: failed program was:" >&5
2425 sed 's/^/| /' conftest.$ac_ext >&5
2427 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2428 See \`config.log' for more details." >&5
2429 echo "$as_me: error: C++ compiler cannot create executables
2430 See \`config.log' for more details." >&2;}
2431 { (exit 77); exit 77; }; }
2434 ac_exeext=$ac_cv_exeext
2435 echo "$as_me:$LINENO: result: $ac_file" >&5
2436 echo "${ECHO_T}$ac_file" >&6
2438 # Check the compiler produces executables we can run. If not, either
2439 # the compiler is broken, or we cross compile.
2440 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2441 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2442 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2443 # If not cross compiling, check that we can run a simple program.
2444 if test "$cross_compiling" != yes; then
2445 if { ac_try='./$ac_file'
2446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2450 (exit $ac_status); }; }; then
2453 if test "$cross_compiling" = maybe; then
2456 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2457 If you meant to cross compile, use \`--host'.
2458 See \`config.log' for more details." >&5
2459 echo "$as_me: error: cannot run C++ compiled programs.
2460 If you meant to cross compile, use \`--host'.
2461 See \`config.log' for more details." >&2;}
2462 { (exit 1); exit 1; }; }
2466 echo "$as_me:$LINENO: result: yes" >&5
2467 echo "${ECHO_T}yes" >&6
2469 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2470 ac_clean_files=$ac_clean_files_save
2471 # Check the compiler produces executables we can run. If not, either
2472 # the compiler is broken, or we cross compile.
2473 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2474 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2475 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2476 echo "${ECHO_T}$cross_compiling" >&6
2478 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2479 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2481 (eval $ac_link) 2>&5
2483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2484 (exit $ac_status); }; then
2485 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2486 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2487 # work properly (i.e., refer to `conftest.exe'), while it won't with
2489 for ac_file in conftest.exe conftest conftest.*; do
2490 test -f "$ac_file" || continue
2492 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2493 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2500 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2501 See \`config.log' for more details." >&5
2502 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2503 See \`config.log' for more details." >&2;}
2504 { (exit 1); exit 1; }; }
2507 rm -f conftest$ac_cv_exeext
2508 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2509 echo "${ECHO_T}$ac_cv_exeext" >&6
2511 rm -f conftest.$ac_ext
2512 EXEEXT=$ac_cv_exeext
2514 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2515 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2516 if test "${ac_cv_objext+set}" = set; then
2517 echo $ECHO_N "(cached) $ECHO_C" >&6
2519 cat >conftest.$ac_ext <<_ACEOF
2520 #line $LINENO "configure"
2523 cat confdefs.h >>conftest.$ac_ext
2524 cat >>conftest.$ac_ext <<_ACEOF
2525 /* end confdefs.h. */
2535 rm -f conftest.o conftest.obj
2536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2537 (eval $ac_compile) 2>&5
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); }; then
2541 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2543 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2544 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2549 echo "$as_me: failed program was:" >&5
2550 sed 's/^/| /' conftest.$ac_ext >&5
2552 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2553 See \`config.log' for more details." >&5
2554 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2555 See \`config.log' for more details." >&2;}
2556 { (exit 1); exit 1; }; }
2559 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2561 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2562 echo "${ECHO_T}$ac_cv_objext" >&6
2563 OBJEXT=$ac_cv_objext
2565 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2566 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2567 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2568 echo $ECHO_N "(cached) $ECHO_C" >&6
2570 cat >conftest.$ac_ext <<_ACEOF
2571 #line $LINENO "configure"
2574 cat confdefs.h >>conftest.$ac_ext
2575 cat >>conftest.$ac_ext <<_ACEOF
2576 /* end confdefs.h. */
2589 rm -f conftest.$ac_objext
2590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2591 (eval $ac_compile) 2>&5
2593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2594 (exit $ac_status); } &&
2595 { ac_try='test -s conftest.$ac_objext'
2596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600 (exit $ac_status); }; }; then
2603 echo "$as_me: failed program was:" >&5
2604 sed 's/^/| /' conftest.$ac_ext >&5
2608 rm -f conftest.$ac_objext conftest.$ac_ext
2609 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2612 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2613 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2614 GXX=`test $ac_compiler_gnu = yes && echo yes`
2615 ac_test_CXXFLAGS=${CXXFLAGS+set}
2616 ac_save_CXXFLAGS=$CXXFLAGS
2618 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2619 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2620 if test "${ac_cv_prog_cxx_g+set}" = set; then
2621 echo $ECHO_N "(cached) $ECHO_C" >&6
2623 cat >conftest.$ac_ext <<_ACEOF
2624 #line $LINENO "configure"
2627 cat confdefs.h >>conftest.$ac_ext
2628 cat >>conftest.$ac_ext <<_ACEOF
2629 /* end confdefs.h. */
2639 rm -f conftest.$ac_objext
2640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2641 (eval $ac_compile) 2>&5
2643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2644 (exit $ac_status); } &&
2645 { ac_try='test -s conftest.$ac_objext'
2646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650 (exit $ac_status); }; }; then
2651 ac_cv_prog_cxx_g=yes
2653 echo "$as_me: failed program was:" >&5
2654 sed 's/^/| /' conftest.$ac_ext >&5
2658 rm -f conftest.$ac_objext conftest.$ac_ext
2660 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2661 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2662 if test "$ac_test_CXXFLAGS" = set; then
2663 CXXFLAGS=$ac_save_CXXFLAGS
2664 elif test $ac_cv_prog_cxx_g = yes; then
2665 if test "$GXX" = yes; then
2671 if test "$GXX" = yes; then
2677 for ac_declaration in \
2679 '#include <stdlib.h>' \
2680 'extern "C" void std::exit (int) throw (); using std::exit;' \
2681 'extern "C" void std::exit (int); using std::exit;' \
2682 'extern "C" void exit (int) throw ();' \
2683 'extern "C" void exit (int);' \
2686 cat >conftest.$ac_ext <<_ACEOF
2687 #line $LINENO "configure"
2690 cat confdefs.h >>conftest.$ac_ext
2691 cat >>conftest.$ac_ext <<_ACEOF
2692 /* end confdefs.h. */
2703 rm -f conftest.$ac_objext
2704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2705 (eval $ac_compile) 2>&5
2707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708 (exit $ac_status); } &&
2709 { ac_try='test -s conftest.$ac_objext'
2710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2714 (exit $ac_status); }; }; then
2717 echo "$as_me: failed program was:" >&5
2718 sed 's/^/| /' conftest.$ac_ext >&5
2722 rm -f conftest.$ac_objext conftest.$ac_ext
2723 cat >conftest.$ac_ext <<_ACEOF
2724 #line $LINENO "configure"
2727 cat confdefs.h >>conftest.$ac_ext
2728 cat >>conftest.$ac_ext <<_ACEOF
2729 /* end confdefs.h. */
2739 rm -f conftest.$ac_objext
2740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2741 (eval $ac_compile) 2>&5
2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2744 (exit $ac_status); } &&
2745 { ac_try='test -s conftest.$ac_objext'
2746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2750 (exit $ac_status); }; }; then
2753 echo "$as_me: failed program was:" >&5
2754 sed 's/^/| /' conftest.$ac_ext >&5
2757 rm -f conftest.$ac_objext conftest.$ac_ext
2760 if test -n "$ac_declaration"; then
2761 echo '#ifdef __cplusplus' >>confdefs.h
2762 echo $ac_declaration >>confdefs.h
2763 echo '#endif' >>confdefs.h
2767 ac_cpp='$CPP $CPPFLAGS'
2768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2773 ac_cpp='$CPP $CPPFLAGS'
2774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2777 if test -n "$ac_tool_prefix"; then
2780 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2781 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2782 echo "$as_me:$LINENO: checking for $ac_word" >&5
2783 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2784 if test "${ac_cv_prog_CC+set}" = set; then
2785 echo $ECHO_N "(cached) $ECHO_C" >&6
2787 if test -n "$CC"; then
2788 ac_cv_prog_CC="$CC" # Let the user override the test.
2790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2794 test -z "$as_dir" && as_dir=.
2795 for ac_exec_ext in '' $ac_executable_extensions; do
2796 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2797 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2798 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2807 if test -n "$CC"; then
2808 echo "$as_me:$LINENO: result: $CC" >&5
2809 echo "${ECHO_T}$CC" >&6
2811 echo "$as_me:$LINENO: result: no" >&5
2812 echo "${ECHO_T}no" >&6
2815 test -n "$CC" && break
2818 if test -z "$CC"; then
2822 # Extract the first word of "$ac_prog", so it can be a program name with args.
2823 set dummy $ac_prog; ac_word=$2
2824 echo "$as_me:$LINENO: checking for $ac_word" >&5
2825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2826 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2827 echo $ECHO_N "(cached) $ECHO_C" >&6
2829 if test -n "$ac_ct_CC"; then
2830 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2836 test -z "$as_dir" && as_dir=.
2837 for ac_exec_ext in '' $ac_executable_extensions; do
2838 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2839 ac_cv_prog_ac_ct_CC="$ac_prog"
2840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2848 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2849 if test -n "$ac_ct_CC"; then
2850 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2851 echo "${ECHO_T}$ac_ct_CC" >&6
2853 echo "$as_me:$LINENO: result: no" >&5
2854 echo "${ECHO_T}no" >&6
2857 test -n "$ac_ct_CC" && break
2864 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2865 See \`config.log' for more details." >&5
2866 echo "$as_me: error: no acceptable C compiler found in \$PATH
2867 See \`config.log' for more details." >&2;}
2868 { (exit 1); exit 1; }; }
2870 # Provide some information about the compiler.
2871 echo "$as_me:$LINENO:" \
2872 "checking for C compiler version" >&5
2873 ac_compiler=`set X $ac_compile; echo $2`
2874 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2875 (eval $ac_compiler --version </dev/null >&5) 2>&5
2877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2878 (exit $ac_status); }
2879 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2880 (eval $ac_compiler -v </dev/null >&5) 2>&5
2882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2883 (exit $ac_status); }
2884 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2885 (eval $ac_compiler -V </dev/null >&5) 2>&5
2887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2888 (exit $ac_status); }
2890 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2891 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2892 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2893 echo $ECHO_N "(cached) $ECHO_C" >&6
2895 cat >conftest.$ac_ext <<_ACEOF
2896 #line $LINENO "configure"
2899 cat confdefs.h >>conftest.$ac_ext
2900 cat >>conftest.$ac_ext <<_ACEOF
2901 /* end confdefs.h. */
2914 rm -f conftest.$ac_objext
2915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2916 (eval $ac_compile) 2>&5
2918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2919 (exit $ac_status); } &&
2920 { ac_try='test -s conftest.$ac_objext'
2921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2925 (exit $ac_status); }; }; then
2928 echo "$as_me: failed program was:" >&5
2929 sed 's/^/| /' conftest.$ac_ext >&5
2933 rm -f conftest.$ac_objext conftest.$ac_ext
2934 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2937 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2938 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2939 GCC=`test $ac_compiler_gnu = yes && echo yes`
2940 ac_test_CFLAGS=${CFLAGS+set}
2941 ac_save_CFLAGS=$CFLAGS
2943 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2944 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2945 if test "${ac_cv_prog_cc_g+set}" = set; then
2946 echo $ECHO_N "(cached) $ECHO_C" >&6
2948 cat >conftest.$ac_ext <<_ACEOF
2949 #line $LINENO "configure"
2952 cat confdefs.h >>conftest.$ac_ext
2953 cat >>conftest.$ac_ext <<_ACEOF
2954 /* end confdefs.h. */
2964 rm -f conftest.$ac_objext
2965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2966 (eval $ac_compile) 2>&5
2968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2969 (exit $ac_status); } &&
2970 { ac_try='test -s conftest.$ac_objext'
2971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975 (exit $ac_status); }; }; then
2978 echo "$as_me: failed program was:" >&5
2979 sed 's/^/| /' conftest.$ac_ext >&5
2983 rm -f conftest.$ac_objext conftest.$ac_ext
2985 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2986 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2987 if test "$ac_test_CFLAGS" = set; then
2988 CFLAGS=$ac_save_CFLAGS
2989 elif test $ac_cv_prog_cc_g = yes; then
2990 if test "$GCC" = yes; then
2996 if test "$GCC" = yes; then
3002 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3003 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3004 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3005 echo $ECHO_N "(cached) $ECHO_C" >&6
3007 ac_cv_prog_cc_stdc=no
3009 cat >conftest.$ac_ext <<_ACEOF
3010 #line $LINENO "configure"
3013 cat confdefs.h >>conftest.$ac_ext
3014 cat >>conftest.$ac_ext <<_ACEOF
3015 /* end confdefs.h. */
3018 #include <sys/types.h>
3019 #include <sys/stat.h>
3020 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3021 struct buf { int x; };
3022 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3023 static char *e (p, i)
3029 static char *f (char * (*g) (char **, int), char **p, ...)
3034 s = g (p, va_arg (v,int));
3038 int test (int i, double x);
3039 struct s1 {int (*f) (int a);};
3040 struct s2 {int (*f) (double a);};
3041 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3047 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3052 # Don't try gcc -ansi; that turns off useful extensions and
3053 # breaks some systems' header files.
3054 # AIX -qlanglvl=ansi
3055 # Ultrix and OSF/1 -std1
3056 # HP-UX 10.20 and later -Ae
3057 # HP-UX older versions -Aa -D_HPUX_SOURCE
3058 # SVR4 -Xc -D__EXTENSIONS__
3059 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3061 CC="$ac_save_CC $ac_arg"
3062 rm -f conftest.$ac_objext
3063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3064 (eval $ac_compile) 2>&5
3066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3067 (exit $ac_status); } &&
3068 { ac_try='test -s conftest.$ac_objext'
3069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3073 (exit $ac_status); }; }; then
3074 ac_cv_prog_cc_stdc=$ac_arg
3077 echo "$as_me: failed program was:" >&5
3078 sed 's/^/| /' conftest.$ac_ext >&5
3081 rm -f conftest.$ac_objext
3083 rm -f conftest.$ac_ext conftest.$ac_objext
3088 case "x$ac_cv_prog_cc_stdc" in
3090 echo "$as_me:$LINENO: result: none needed" >&5
3091 echo "${ECHO_T}none needed" >&6 ;;
3093 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3094 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3095 CC="$CC $ac_cv_prog_cc_stdc" ;;
3098 # Some people use a C++ compiler to compile C. Since we use `exit',
3099 # in C++ we need to declare it. In case someone uses the same compiler
3100 # for both compiling C and C++ we need to have the C++ compiler decide
3101 # the declaration of exit, since it's the most demanding environment.
3102 cat >conftest.$ac_ext <<_ACEOF
3107 rm -f conftest.$ac_objext
3108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3109 (eval $ac_compile) 2>&5
3111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3112 (exit $ac_status); } &&
3113 { ac_try='test -s conftest.$ac_objext'
3114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118 (exit $ac_status); }; }; then
3119 for ac_declaration in \
3121 '#include <stdlib.h>' \
3122 'extern "C" void std::exit (int) throw (); using std::exit;' \
3123 'extern "C" void std::exit (int); using std::exit;' \
3124 'extern "C" void exit (int) throw ();' \
3125 'extern "C" void exit (int);' \
3128 cat >conftest.$ac_ext <<_ACEOF
3129 #line $LINENO "configure"
3132 cat confdefs.h >>conftest.$ac_ext
3133 cat >>conftest.$ac_ext <<_ACEOF
3134 /* end confdefs.h. */
3145 rm -f conftest.$ac_objext
3146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3147 (eval $ac_compile) 2>&5
3149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3150 (exit $ac_status); } &&
3151 { ac_try='test -s conftest.$ac_objext'
3152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3156 (exit $ac_status); }; }; then
3159 echo "$as_me: failed program was:" >&5
3160 sed 's/^/| /' conftest.$ac_ext >&5
3164 rm -f conftest.$ac_objext conftest.$ac_ext
3165 cat >conftest.$ac_ext <<_ACEOF
3166 #line $LINENO "configure"
3169 cat confdefs.h >>conftest.$ac_ext
3170 cat >>conftest.$ac_ext <<_ACEOF
3171 /* end confdefs.h. */
3181 rm -f conftest.$ac_objext
3182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3183 (eval $ac_compile) 2>&5
3185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3186 (exit $ac_status); } &&
3187 { ac_try='test -s conftest.$ac_objext'
3188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3192 (exit $ac_status); }; }; then
3195 echo "$as_me: failed program was:" >&5
3196 sed 's/^/| /' conftest.$ac_ext >&5
3199 rm -f conftest.$ac_objext conftest.$ac_ext
3202 if test -n "$ac_declaration"; then
3203 echo '#ifdef __cplusplus' >>confdefs.h
3204 echo $ac_declaration >>confdefs.h
3205 echo '#endif' >>confdefs.h
3209 echo "$as_me: failed program was:" >&5
3210 sed 's/^/| /' conftest.$ac_ext >&5
3213 rm -f conftest.$ac_objext conftest.$ac_ext
3215 ac_cpp='$CPP $CPPFLAGS'
3216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3221 ac_cpp='$CPP $CPPFLAGS'
3222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3225 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3226 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3227 # On Suns, sometimes $CPP names a directory.
3228 if test -n "$CPP" && test -d "$CPP"; then
3231 if test -z "$CPP"; then
3232 if test "${ac_cv_prog_CPP+set}" = set; then
3233 echo $ECHO_N "(cached) $ECHO_C" >&6
3235 # Double quotes because CPP needs to be expanded
3236 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3239 for ac_c_preproc_warn_flag in '' yes
3241 # Use a header file that comes with gcc, so configuring glibc
3242 # with a fresh cross-compiler works.
3243 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3244 # <limits.h> exists even on freestanding compilers.
3245 # On the NeXT, cc -E runs the code through the compiler's parser,
3246 # not just through cpp. "Syntax error" is here to catch this case.
3247 cat >conftest.$ac_ext <<_ACEOF
3248 #line $LINENO "configure"
3251 cat confdefs.h >>conftest.$ac_ext
3252 cat >>conftest.$ac_ext <<_ACEOF
3253 /* end confdefs.h. */
3255 # include <limits.h>
3257 # include <assert.h>
3261 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3262 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3264 grep -v '^ *+' conftest.er1 >conftest.err
3266 cat conftest.err >&5
3267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3268 (exit $ac_status); } >/dev/null; then
3269 if test -s conftest.err; then
3270 ac_cpp_err=$ac_c_preproc_warn_flag
3277 if test -z "$ac_cpp_err"; then
3280 echo "$as_me: failed program was:" >&5
3281 sed 's/^/| /' conftest.$ac_ext >&5
3283 # Broken: fails on valid input.
3286 rm -f conftest.err conftest.$ac_ext
3288 # OK, works on sane cases. Now check whether non-existent headers
3289 # can be detected and how.
3290 cat >conftest.$ac_ext <<_ACEOF
3291 #line $LINENO "configure"
3294 cat confdefs.h >>conftest.$ac_ext
3295 cat >>conftest.$ac_ext <<_ACEOF
3296 /* end confdefs.h. */
3297 #include <ac_nonexistent.h>
3299 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3300 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3302 grep -v '^ *+' conftest.er1 >conftest.err
3304 cat conftest.err >&5
3305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3306 (exit $ac_status); } >/dev/null; then
3307 if test -s conftest.err; then
3308 ac_cpp_err=$ac_c_preproc_warn_flag
3315 if test -z "$ac_cpp_err"; then
3316 # Broken: success on invalid input.
3319 echo "$as_me: failed program was:" >&5
3320 sed 's/^/| /' conftest.$ac_ext >&5
3322 # Passes both tests.
3326 rm -f conftest.err conftest.$ac_ext
3329 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3330 rm -f conftest.err conftest.$ac_ext
3331 if $ac_preproc_ok; then
3343 echo "$as_me:$LINENO: result: $CPP" >&5
3344 echo "${ECHO_T}$CPP" >&6
3346 for ac_c_preproc_warn_flag in '' yes
3348 # Use a header file that comes with gcc, so configuring glibc
3349 # with a fresh cross-compiler works.
3350 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3351 # <limits.h> exists even on freestanding compilers.
3352 # On the NeXT, cc -E runs the code through the compiler's parser,
3353 # not just through cpp. "Syntax error" is here to catch this case.
3354 cat >conftest.$ac_ext <<_ACEOF
3355 #line $LINENO "configure"
3358 cat confdefs.h >>conftest.$ac_ext
3359 cat >>conftest.$ac_ext <<_ACEOF
3360 /* end confdefs.h. */
3362 # include <limits.h>
3364 # include <assert.h>
3368 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3369 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3371 grep -v '^ *+' conftest.er1 >conftest.err
3373 cat conftest.err >&5
3374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3375 (exit $ac_status); } >/dev/null; then
3376 if test -s conftest.err; then
3377 ac_cpp_err=$ac_c_preproc_warn_flag
3384 if test -z "$ac_cpp_err"; then
3387 echo "$as_me: failed program was:" >&5
3388 sed 's/^/| /' conftest.$ac_ext >&5
3390 # Broken: fails on valid input.
3393 rm -f conftest.err conftest.$ac_ext
3395 # OK, works on sane cases. Now check whether non-existent headers
3396 # can be detected and how.
3397 cat >conftest.$ac_ext <<_ACEOF
3398 #line $LINENO "configure"
3401 cat confdefs.h >>conftest.$ac_ext
3402 cat >>conftest.$ac_ext <<_ACEOF
3403 /* end confdefs.h. */
3404 #include <ac_nonexistent.h>
3406 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3407 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3409 grep -v '^ *+' conftest.er1 >conftest.err
3411 cat conftest.err >&5
3412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3413 (exit $ac_status); } >/dev/null; then
3414 if test -s conftest.err; then
3415 ac_cpp_err=$ac_c_preproc_warn_flag
3422 if test -z "$ac_cpp_err"; then
3423 # Broken: success on invalid input.
3426 echo "$as_me: failed program was:" >&5
3427 sed 's/^/| /' conftest.$ac_ext >&5
3429 # Passes both tests.
3433 rm -f conftest.err conftest.$ac_ext
3436 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3437 rm -f conftest.err conftest.$ac_ext
3438 if $ac_preproc_ok; then
3441 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3442 See \`config.log' for more details." >&5
3443 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3444 See \`config.log' for more details." >&2;}
3445 { (exit 1); exit 1; }; }
3449 ac_cpp='$CPP $CPPFLAGS'
3450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3455 if test "$GCC" != "yes"
3457 { { echo "$as_me:$LINENO: error: gcc required but not found" >&5
3458 echo "$as_me: error: gcc required but not found" >&2;}
3459 { (exit 1); exit 1; }; }
3462 if test "$GXX" != "yes"
3464 { { echo "$as_me:$LINENO: error: g++ required but not found" >&5
3465 echo "$as_me: error: g++ required but not found" >&2;}
3466 { (exit 1); exit 1; }; }
3469 gccmajor=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1`
3470 if test "$gccmajor" -lt "3"
3472 { { echo "$as_me:$LINENO: error: gcc 3.x required" >&5
3473 echo "$as_me: error: gcc 3.x required" >&2;}
3474 { (exit 1); exit 1; }; }
3477 echo "$as_me:$LINENO: checking for GNU make" >&5
3478 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
3479 if test "${_cv_gnu_make_command+set}" = set; then
3480 echo $ECHO_N "(cached) $ECHO_C" >&6
3482 _cv_gnu_make_command='' ;
3483 for a in "$MAKE" make gmake gnumake ; do
3484 if test -z "$a" ; then continue ; fi ;
3485 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
3486 _cv_gnu_make_command=$a ;
3492 echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5
3493 echo "${ECHO_T}$_cv_gnu_make_command" >&6 ;
3494 if test "x$_cv_gnu_make_command" != "x" ; then
3498 echo "$as_me:$LINENO: result: \"Not found\"" >&5
3499 echo "${ECHO_T}\"Not found\"" >&6;
3503 if test -z "$_cv_gnu_make_command"
3505 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
3506 echo "$as_me: error: GNU Make required but not found" >&2;}
3507 { (exit 1); exit 1; }; }
3511 echo "$as_me:$LINENO: checking " >&5
3512 echo $ECHO_N "checking ... $ECHO_C" >&6
3513 if test "${ac_cv_has_flex+set}" = set; then
3514 echo $ECHO_N "(cached) $ECHO_C" >&6
3516 for ac_prog in flex lex
3518 # Extract the first word of "$ac_prog", so it can be a program name with args.
3519 set dummy $ac_prog; ac_word=$2
3520 echo "$as_me:$LINENO: checking for $ac_word" >&5
3521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3522 if test "${ac_cv_prog_LEX+set}" = set; then
3523 echo $ECHO_N "(cached) $ECHO_C" >&6
3525 if test -n "$LEX"; then
3526 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3532 test -z "$as_dir" && as_dir=.
3533 for ac_exec_ext in '' $ac_executable_extensions; do
3534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3535 ac_cv_prog_LEX="$ac_prog"
3536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3545 if test -n "$LEX"; then
3546 echo "$as_me:$LINENO: result: $LEX" >&5
3547 echo "${ECHO_T}$LEX" >&6
3549 echo "$as_me:$LINENO: result: no" >&5
3550 echo "${ECHO_T}no" >&6
3553 test -n "$LEX" && break
3555 test -n "$LEX" || LEX=":"
3557 if test -z "$LEXLIB"
3559 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3560 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3561 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3562 echo $ECHO_N "(cached) $ECHO_C" >&6
3564 ac_check_lib_save_LIBS=$LIBS
3566 cat >conftest.$ac_ext <<_ACEOF
3567 #line $LINENO "configure"
3570 cat confdefs.h >>conftest.$ac_ext
3571 cat >>conftest.$ac_ext <<_ACEOF
3572 /* end confdefs.h. */
3574 /* Override any gcc2 internal prototype to avoid an error. */
3578 /* We use char because int might match the return type of a gcc2
3579 builtin and then its argument prototype would still apply. */
3589 rm -f conftest.$ac_objext conftest$ac_exeext
3590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3591 (eval $ac_link) 2>&5
3593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3594 (exit $ac_status); } &&
3595 { ac_try='test -s conftest$ac_exeext'
3596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3600 (exit $ac_status); }; }; then
3601 ac_cv_lib_fl_yywrap=yes
3603 echo "$as_me: failed program was:" >&5
3604 sed 's/^/| /' conftest.$ac_ext >&5
3606 ac_cv_lib_fl_yywrap=no
3608 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3609 LIBS=$ac_check_lib_save_LIBS
3611 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3612 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3613 if test $ac_cv_lib_fl_yywrap = yes; then
3616 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3617 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3618 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3619 echo $ECHO_N "(cached) $ECHO_C" >&6
3621 ac_check_lib_save_LIBS=$LIBS
3623 cat >conftest.$ac_ext <<_ACEOF
3624 #line $LINENO "configure"
3627 cat confdefs.h >>conftest.$ac_ext
3628 cat >>conftest.$ac_ext <<_ACEOF
3629 /* end confdefs.h. */
3631 /* Override any gcc2 internal prototype to avoid an error. */
3635 /* We use char because int might match the return type of a gcc2
3636 builtin and then its argument prototype would still apply. */
3646 rm -f conftest.$ac_objext conftest$ac_exeext
3647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3648 (eval $ac_link) 2>&5
3650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3651 (exit $ac_status); } &&
3652 { ac_try='test -s conftest$ac_exeext'
3653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3657 (exit $ac_status); }; }; then
3658 ac_cv_lib_l_yywrap=yes
3660 echo "$as_me: failed program was:" >&5
3661 sed 's/^/| /' conftest.$ac_ext >&5
3663 ac_cv_lib_l_yywrap=no
3665 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3666 LIBS=$ac_check_lib_save_LIBS
3668 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3669 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3670 if test $ac_cv_lib_l_yywrap = yes; then
3678 if test "x$LEX" != "x:"; then
3679 echo "$as_me:$LINENO: checking lex output file root" >&5
3680 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3681 if test "${ac_cv_prog_lex_root+set}" = set; then
3682 echo $ECHO_N "(cached) $ECHO_C" >&6
3684 # The minimal lex program is just a single line: %%. But some broken lexes
3685 # (Solaris, I think it was) want two %% lines, so accommodate them.
3686 cat >conftest.l <<_ACEOF
3690 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3691 (eval $LEX conftest.l) 2>&5
3693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3694 (exit $ac_status); }
3695 if test -f lex.yy.c; then
3696 ac_cv_prog_lex_root=lex.yy
3697 elif test -f lexyy.c; then
3698 ac_cv_prog_lex_root=lexyy
3700 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3701 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3702 { (exit 1); exit 1; }; }
3705 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3706 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3708 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3710 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3711 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3712 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3713 echo $ECHO_N "(cached) $ECHO_C" >&6
3715 # POSIX says lex can declare yytext either as a pointer or an array; the
3716 # default is implementation-dependent. Figure out which it is, since
3717 # not all implementations provide the %pointer and %array declarations.
3718 ac_cv_prog_lex_yytext_pointer=no
3719 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3721 LIBS="$LIBS $LEXLIB"
3722 cat >conftest.$ac_ext <<_ACEOF
3723 `cat $LEX_OUTPUT_ROOT.c`
3725 rm -f conftest.$ac_objext conftest$ac_exeext
3726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3727 (eval $ac_link) 2>&5
3729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3730 (exit $ac_status); } &&
3731 { ac_try='test -s conftest$ac_exeext'
3732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3736 (exit $ac_status); }; }; then
3737 ac_cv_prog_lex_yytext_pointer=yes
3739 echo "$as_me: failed program was:" >&5
3740 sed 's/^/| /' conftest.$ac_ext >&5
3743 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3745 rm -f "${LEX_OUTPUT_ROOT}.c"
3748 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3749 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3750 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3752 cat >>confdefs.h <<\_ACEOF
3753 #define YYTEXT_POINTER 1
3761 echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
3762 echo "${ECHO_T}$ac_cv_has_flex" >&6
3763 if test "$LEX" != "flex"; then
3764 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
3765 echo "$as_me: error: flex not found but required" >&2;}
3766 { (exit 1); exit 1; }; }
3769 echo "$as_me:$LINENO: checking " >&5
3770 echo $ECHO_N "checking ... $ECHO_C" >&6
3771 if test "${ac_cv_has_bison+set}" = set; then
3772 echo $ECHO_N "(cached) $ECHO_C" >&6
3774 for ac_prog in 'bison -y' byacc
3776 # Extract the first word of "$ac_prog", so it can be a program name with args.
3777 set dummy $ac_prog; ac_word=$2
3778 echo "$as_me:$LINENO: checking for $ac_word" >&5
3779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3780 if test "${ac_cv_prog_YACC+set}" = set; then
3781 echo $ECHO_N "(cached) $ECHO_C" >&6
3783 if test -n "$YACC"; then
3784 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3790 test -z "$as_dir" && as_dir=.
3791 for ac_exec_ext in '' $ac_executable_extensions; do
3792 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3793 ac_cv_prog_YACC="$ac_prog"
3794 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3802 YACC=$ac_cv_prog_YACC
3803 if test -n "$YACC"; then
3804 echo "$as_me:$LINENO: result: $YACC" >&5
3805 echo "${ECHO_T}$YACC" >&6
3807 echo "$as_me:$LINENO: result: no" >&5
3808 echo "${ECHO_T}no" >&6
3811 test -n "$YACC" && break
3813 test -n "$YACC" || YACC="yacc"
3817 echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5
3818 echo "${ECHO_T}$ac_cv_has_bison" >&6
3819 if test "$YACC" != "bison -y"; then
3820 { { echo "$as_me:$LINENO: error: bison not found but required" >&5
3821 echo "$as_me: error: bison not found but required" >&2;}
3822 { (exit 1); exit 1; }; }
3829 # Check whether --enable-shared or --disable-shared was given.
3830 if test "${enable_shared+set}" = set; then
3831 enableval="$enable_shared"
3832 p=${PACKAGE-default}
3834 yes) enable_shared=yes ;;
3835 no) enable_shared=no ;;
3838 # Look at the argument we got. We use all the common list separators.
3839 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3840 for pkg in $enableval; do
3842 if test "X$pkg" = "X$p"; then
3853 # Check whether --enable-static or --disable-static was given.
3854 if test "${enable_static+set}" = set; then
3855 enableval="$enable_static"
3856 p=${PACKAGE-default}
3858 yes) enable_static=yes ;;
3859 no) enable_static=no ;;
3862 # Look at the argument we got. We use all the common list separators.
3863 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3864 for pkg in $enableval; do
3866 if test "X$pkg" = "X$p"; then
3877 # Check whether --enable-fast-install or --disable-fast-install was given.
3878 if test "${enable_fast_install+set}" = set; then
3879 enableval="$enable_fast_install"
3880 p=${PACKAGE-default}
3882 yes) enable_fast_install=yes ;;
3883 no) enable_fast_install=no ;;
3885 enable_fast_install=no
3886 # Look at the argument we got. We use all the common list separators.
3887 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3888 for pkg in $enableval; do
3890 if test "X$pkg" = "X$p"; then
3891 enable_fast_install=yes
3898 enable_fast_install=yes
3901 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3902 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3903 if test "${lt_cv_path_SED+set}" = set; then
3904 echo $ECHO_N "(cached) $ECHO_C" >&6
3906 # Loop through the user's path and test for sed and gsed.
3907 # Then use that list of sed's as ones to test for truncation.
3908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3912 test -z "$as_dir" && as_dir=.
3913 for lt_ac_prog in sed gsed; do
3914 for ac_exec_ext in '' $ac_executable_extensions; do
3915 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3916 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3923 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3924 # along with /bin/sed that truncates output.
3925 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3926 test ! -f $lt_ac_sed && break
3927 cat /dev/null > conftest.in
3929 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3930 # Check for GNU sed and select it if it is found.
3931 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3932 lt_cv_path_SED=$lt_ac_sed
3936 cat conftest.in conftest.in >conftest.tmp
3937 mv conftest.tmp conftest.in
3938 cp conftest.in conftest.nl
3940 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3941 cmp -s conftest.out conftest.nl || break
3942 # 10000 chars as input seems more than enough
3943 test $lt_ac_count -gt 10 && break
3944 lt_ac_count=`expr $lt_ac_count + 1`
3945 if test $lt_ac_count -gt $lt_ac_max; then
3946 lt_ac_max=$lt_ac_count
3947 lt_cv_path_SED=$lt_ac_sed
3955 echo "$as_me:$LINENO: result: $SED" >&5
3956 echo "${ECHO_T}$SED" >&6
3958 echo "$as_me:$LINENO: checking for egrep" >&5
3959 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3960 if test "${ac_cv_prog_egrep+set}" = set; then
3961 echo $ECHO_N "(cached) $ECHO_C" >&6
3963 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3964 then ac_cv_prog_egrep='grep -E'
3965 else ac_cv_prog_egrep='egrep'
3968 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3969 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3970 EGREP=$ac_cv_prog_egrep
3974 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3975 if test "${with_gnu_ld+set}" = set; then
3976 withval="$with_gnu_ld"
3977 test "$withval" = no || with_gnu_ld=yes
3982 if test "$GCC" = yes; then
3983 # Check if gcc -print-prog-name=ld gives a path.
3984 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3985 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3988 # gcc leaves a trailing carriage return which upsets mingw
3989 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3991 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3994 # Accept absolute paths.
3996 re_direlt='/[^/][^/]*/\.\./'
3997 # Canonicalize the path of ld
3998 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3999 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4000 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4002 test -z "$LD" && LD="$ac_prog"
4005 # If it fails, then pretend we aren't using GCC.
4009 # If it is relative, then search for the first ld in PATH.
4013 elif test "$with_gnu_ld" = yes; then
4014 echo "$as_me:$LINENO: checking for GNU ld" >&5
4015 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4017 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4018 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4020 if test "${lt_cv_path_LD+set}" = set; then
4021 echo $ECHO_N "(cached) $ECHO_C" >&6
4023 if test -z "$LD"; then
4024 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4025 for ac_dir in $PATH; do
4027 test -z "$ac_dir" && ac_dir=.
4028 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4029 lt_cv_path_LD="$ac_dir/$ac_prog"
4030 # Check to see if the program is GNU ld. I'd rather use --version,
4031 # but apparently some GNU ld's only accept -v.
4032 # Break only if it was the GNU/non-GNU ld that we prefer.
4033 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4034 *GNU* | *'with BFD'*)
4035 test "$with_gnu_ld" != no && break
4038 test "$with_gnu_ld" != yes && break
4045 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4050 if test -n "$LD"; then
4051 echo "$as_me:$LINENO: result: $LD" >&5
4052 echo "${ECHO_T}$LD" >&6
4054 echo "$as_me:$LINENO: result: no" >&5
4055 echo "${ECHO_T}no" >&6
4057 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4058 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4059 { (exit 1); exit 1; }; }
4060 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4061 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4062 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4063 echo $ECHO_N "(cached) $ECHO_C" >&6
4065 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4066 case `"$LD" -v 2>&1 </dev/null` in
4067 *GNU* | *'with BFD'*)
4068 lt_cv_prog_gnu_ld=yes
4071 lt_cv_prog_gnu_ld=no
4075 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4076 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4077 with_gnu_ld=$lt_cv_prog_gnu_ld
4080 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4081 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4082 if test "${lt_cv_ld_reload_flag+set}" = set; then
4083 echo $ECHO_N "(cached) $ECHO_C" >&6
4085 lt_cv_ld_reload_flag='-r'
4087 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4088 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4089 reload_flag=$lt_cv_ld_reload_flag
4090 case $reload_flag in
4092 *) reload_flag=" $reload_flag" ;;
4094 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4096 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4097 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4098 if test "${lt_cv_path_NM+set}" = set; then
4099 echo $ECHO_N "(cached) $ECHO_C" >&6
4101 if test -n "$NM"; then
4102 # Let the user override the test.
4105 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4106 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4108 test -z "$ac_dir" && ac_dir=.
4109 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4110 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4111 # Check to see if the nm accepts a BSD-compat flag.
4112 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4113 # nm: unknown option "B" ignored
4114 # Tru64's nm complains that /dev/null is an invalid object file
4115 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4116 */dev/null* | *'Invalid file or object type'*)
4117 lt_cv_path_NM="$tmp_nm -B"
4121 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4123 lt_cv_path_NM="$tmp_nm -p"
4127 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4128 continue # so that we can try to find one that supports BSD flags
4135 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4138 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4139 echo "${ECHO_T}$lt_cv_path_NM" >&6
4142 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4143 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4145 if test "$LN_S" = "ln -s"; then
4146 echo "$as_me:$LINENO: result: yes" >&5
4147 echo "${ECHO_T}yes" >&6
4149 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4150 echo "${ECHO_T}no, using $LN_S" >&6
4153 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4154 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4155 if test "${lt_cv_deplibs_check_method+set}" = set; then
4156 echo $ECHO_N "(cached) $ECHO_C" >&6
4158 lt_cv_file_magic_cmd='$MAGIC_CMD'
4159 lt_cv_file_magic_test_file=
4160 lt_cv_deplibs_check_method='unknown'
4161 # Need to set the preceding variable on all platforms that support
4162 # interlibrary dependencies.
4163 # 'none' -- dependencies not supported.
4164 # `unknown' -- same as none, but documents that we really don't know.
4165 # 'pass_all' -- all dependencies passed with no checks.
4166 # 'test_compile' -- check by making test program.
4167 # 'file_magic [[regex]]' -- check by looking for files in library path
4168 # which responds to the $file_magic_cmd with a given extended regex.
4169 # If you have `file' or equivalent on your system and you're not sure
4170 # whether `pass_all' will *always* work, you probably want this one.
4174 lt_cv_deplibs_check_method=pass_all
4178 lt_cv_deplibs_check_method=pass_all
4182 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4183 lt_cv_file_magic_cmd='/usr/bin/file -L'
4184 lt_cv_file_magic_test_file=/shlib/libc.so
4187 cygwin* | mingw* | pw32*)
4188 # win32_libid is a shell function defined in ltmain.sh
4189 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4190 lt_cv_file_magic_cmd='win32_libid'
4193 darwin* | rhapsody*)
4194 # this will be overwritten by pass_all, but leave it in just in case
4195 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4196 lt_cv_file_magic_cmd='/usr/bin/file -L'
4198 rhapsody* | darwin1.[012])
4199 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4202 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4205 lt_cv_deplibs_check_method=pass_all
4209 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4212 # Not sure whether the presence of OpenBSD here was a mistake.
4213 # Let's accept both of them until this is cleared up.
4214 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4215 lt_cv_file_magic_cmd=/usr/bin/file
4216 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4220 lt_cv_deplibs_check_method=pass_all
4225 lt_cv_deplibs_check_method=pass_all
4228 hpux10.20* | hpux11*)
4229 lt_cv_file_magic_cmd=/usr/bin/file
4232 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4233 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4236 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]'
4237 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4240 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4241 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4246 irix5* | irix6* | nonstopux*)
4248 irix5* | nonstopux*)
4249 # this will be overridden with pass_all, but let us keep it just in case
4250 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4254 *-32|*"-32 ") libmagic=32-bit;;
4255 *-n32|*"-n32 ") libmagic=N32;;
4256 *-64|*"-64 ") libmagic=64-bit;;
4257 *) libmagic=never-match;;
4259 # this will be overridden with pass_all, but let us keep it just in case
4260 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4263 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4264 lt_cv_deplibs_check_method=pass_all
4267 # This must be Linux ELF.
4270 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
4271 lt_cv_deplibs_check_method=pass_all ;;
4273 # glibc up to 2.1.1 does not perform some relocations on ARM
4274 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4276 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4280 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4281 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4283 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4288 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4289 lt_cv_file_magic_cmd=/usr/bin/file
4290 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4294 lt_cv_deplibs_check_method=unknown
4298 lt_cv_file_magic_cmd=/usr/bin/file
4299 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4300 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4301 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4303 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4307 osf3* | osf4* | osf5*)
4308 # this will be overridden with pass_all, but let us keep it just in case
4309 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4310 lt_cv_file_magic_test_file=/shlib/libc.so
4311 lt_cv_deplibs_check_method=pass_all
4315 lt_cv_deplibs_check_method=pass_all
4319 lt_cv_deplibs_check_method=pass_all
4320 lt_cv_file_magic_test_file=/lib/libc.so
4323 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4324 case $host_vendor in
4326 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]'
4327 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4330 lt_cv_deplibs_check_method=pass_all
4333 lt_cv_file_magic_cmd='/bin/file'
4334 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4337 lt_cv_file_magic_cmd='/bin/file'
4338 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4339 lt_cv_file_magic_test_file=/lib/libc.so
4342 lt_cv_deplibs_check_method=pass_all
4347 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4348 lt_cv_deplibs_check_method=pass_all
4353 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4354 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4355 file_magic_cmd=$lt_cv_file_magic_cmd
4356 deplibs_check_method=$lt_cv_deplibs_check_method
4357 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4362 # If no C compiler was specified, use CC.
4365 # Allow CC to be a program name with arguments.
4368 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4369 if test "${enable_libtool_lock+set}" = set; then
4370 enableval="$enable_libtool_lock"
4373 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4375 # Some flags need to be propagated to the compiler or linker for good
4379 # Find out which ABI we are using.
4380 echo 'int i;' > conftest.$ac_ext
4381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4382 (eval $ac_compile) 2>&5
4384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4385 (exit $ac_status); }; then
4386 case `/usr/bin/file conftest.$ac_objext` in
4398 # Find out which ABI we are using.
4399 echo '#line 4399 "configure"' > conftest.$ac_ext
4400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4401 (eval $ac_compile) 2>&5
4403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4404 (exit $ac_status); }; then
4405 if test "$lt_cv_prog_gnu_ld" = yes; then
4406 case `/usr/bin/file conftest.$ac_objext` in
4408 LD="${LD-ld} -melf32bsmip"
4411 LD="${LD-ld} -melf32bmipn32"
4414 LD="${LD-ld} -melf64bmip"
4418 case `/usr/bin/file conftest.$ac_objext` in
4434 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4435 # Find out which ABI we are using.
4436 echo 'int i;' > conftest.$ac_ext
4437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4438 (eval $ac_compile) 2>&5
4440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4441 (exit $ac_status); }; then
4442 case "`/usr/bin/file conftest.o`" in
4446 LD="${LD-ld} -m elf_i386"
4449 LD="${LD-ld} -m elf32ppclinux"
4452 LD="${LD-ld} -m elf_s390"
4455 LD="${LD-ld} -m elf32_sparc"
4462 LD="${LD-ld} -m elf_x86_64"
4464 ppc*-*linux*|powerpc*-*linux*)
4465 LD="${LD-ld} -m elf64ppc"
4468 LD="${LD-ld} -m elf64_s390"
4471 LD="${LD-ld} -m elf64_sparc"
4481 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4482 SAVE_CFLAGS="$CFLAGS"
4483 CFLAGS="$CFLAGS -belf"
4484 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4485 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4486 if test "${lt_cv_cc_needs_belf+set}" = set; then
4487 echo $ECHO_N "(cached) $ECHO_C" >&6
4490 ac_cpp='$CPP $CPPFLAGS'
4491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4495 cat >conftest.$ac_ext <<_ACEOF
4496 #line $LINENO "configure"
4499 cat confdefs.h >>conftest.$ac_ext
4500 cat >>conftest.$ac_ext <<_ACEOF
4501 /* end confdefs.h. */
4511 rm -f conftest.$ac_objext conftest$ac_exeext
4512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4513 (eval $ac_link) 2>&5
4515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4516 (exit $ac_status); } &&
4517 { ac_try='test -s conftest$ac_exeext'
4518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4522 (exit $ac_status); }; }; then
4523 lt_cv_cc_needs_belf=yes
4525 echo "$as_me: failed program was:" >&5
4526 sed 's/^/| /' conftest.$ac_ext >&5
4528 lt_cv_cc_needs_belf=no
4530 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4532 ac_cpp='$CPP $CPPFLAGS'
4533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4538 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4539 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4540 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4541 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4542 CFLAGS="$SAVE_CFLAGS"
4548 need_locks="$enable_libtool_lock"
4552 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4553 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4554 if test "${ac_cv_header_stdc+set}" = set; then
4555 echo $ECHO_N "(cached) $ECHO_C" >&6
4557 cat >conftest.$ac_ext <<_ACEOF
4558 #line $LINENO "configure"
4561 cat confdefs.h >>conftest.$ac_ext
4562 cat >>conftest.$ac_ext <<_ACEOF
4563 /* end confdefs.h. */
4577 rm -f conftest.$ac_objext
4578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4579 (eval $ac_compile) 2>&5
4581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4582 (exit $ac_status); } &&
4583 { ac_try='test -s conftest.$ac_objext'
4584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4588 (exit $ac_status); }; }; then
4589 ac_cv_header_stdc=yes
4591 echo "$as_me: failed program was:" >&5
4592 sed 's/^/| /' conftest.$ac_ext >&5
4594 ac_cv_header_stdc=no
4596 rm -f conftest.$ac_objext conftest.$ac_ext
4598 if test $ac_cv_header_stdc = yes; then
4599 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4600 cat >conftest.$ac_ext <<_ACEOF
4601 #line $LINENO "configure"
4604 cat confdefs.h >>conftest.$ac_ext
4605 cat >>conftest.$ac_ext <<_ACEOF
4606 /* end confdefs.h. */
4610 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4611 $EGREP "memchr" >/dev/null 2>&1; then
4614 ac_cv_header_stdc=no
4620 if test $ac_cv_header_stdc = yes; then
4621 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4622 cat >conftest.$ac_ext <<_ACEOF
4623 #line $LINENO "configure"
4626 cat confdefs.h >>conftest.$ac_ext
4627 cat >>conftest.$ac_ext <<_ACEOF
4628 /* end confdefs.h. */
4632 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4633 $EGREP "free" >/dev/null 2>&1; then
4636 ac_cv_header_stdc=no
4642 if test $ac_cv_header_stdc = yes; then
4643 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4644 if test "$cross_compiling" = yes; then
4647 cat >conftest.$ac_ext <<_ACEOF
4648 #line $LINENO "configure"
4651 cat confdefs.h >>conftest.$ac_ext
4652 cat >>conftest.$ac_ext <<_ACEOF
4653 /* end confdefs.h. */
4655 #if ((' ' & 0x0FF) == 0x020)
4656 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4657 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4659 # define ISLOWER(c) \
4660 (('a' <= (c) && (c) <= 'i') \
4661 || ('j' <= (c) && (c) <= 'r') \
4662 || ('s' <= (c) && (c) <= 'z'))
4663 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4666 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4671 for (i = 0; i < 256; i++)
4672 if (XOR (islower (i), ISLOWER (i))
4673 || toupper (i) != TOUPPER (i))
4678 rm -f conftest$ac_exeext
4679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4680 (eval $ac_link) 2>&5
4682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4688 (exit $ac_status); }; }; then
4691 echo "$as_me: program exited with status $ac_status" >&5
4692 echo "$as_me: failed program was:" >&5
4693 sed 's/^/| /' conftest.$ac_ext >&5
4696 ac_cv_header_stdc=no
4698 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4702 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4703 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4704 if test $ac_cv_header_stdc = yes; then
4706 cat >>confdefs.h <<\_ACEOF
4707 #define STDC_HEADERS 1
4712 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4722 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4723 inttypes.h stdint.h unistd.h
4725 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4726 echo "$as_me:$LINENO: checking for $ac_header" >&5
4727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4729 echo $ECHO_N "(cached) $ECHO_C" >&6
4731 cat >conftest.$ac_ext <<_ACEOF
4732 #line $LINENO "configure"
4735 cat confdefs.h >>conftest.$ac_ext
4736 cat >>conftest.$ac_ext <<_ACEOF
4737 /* end confdefs.h. */
4738 $ac_includes_default
4740 #include <$ac_header>
4742 rm -f conftest.$ac_objext
4743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4744 (eval $ac_compile) 2>&5
4746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4747 (exit $ac_status); } &&
4748 { ac_try='test -s conftest.$ac_objext'
4749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4753 (exit $ac_status); }; }; then
4754 eval "$as_ac_Header=yes"
4756 echo "$as_me: failed program was:" >&5
4757 sed 's/^/| /' conftest.$ac_ext >&5
4759 eval "$as_ac_Header=no"
4761 rm -f conftest.$ac_objext conftest.$ac_ext
4763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4764 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4765 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4766 cat >>confdefs.h <<_ACEOF
4767 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4776 for ac_header in dlfcn.h
4778 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4779 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4780 echo "$as_me:$LINENO: checking for $ac_header" >&5
4781 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4782 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4783 echo $ECHO_N "(cached) $ECHO_C" >&6
4785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4786 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4788 # Is the header compilable?
4789 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4790 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4791 cat >conftest.$ac_ext <<_ACEOF
4792 #line $LINENO "configure"
4795 cat confdefs.h >>conftest.$ac_ext
4796 cat >>conftest.$ac_ext <<_ACEOF
4797 /* end confdefs.h. */
4798 $ac_includes_default
4799 #include <$ac_header>
4801 rm -f conftest.$ac_objext
4802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4803 (eval $ac_compile) 2>&5
4805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4806 (exit $ac_status); } &&
4807 { ac_try='test -s conftest.$ac_objext'
4808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4812 (exit $ac_status); }; }; then
4813 ac_header_compiler=yes
4815 echo "$as_me: failed program was:" >&5
4816 sed 's/^/| /' conftest.$ac_ext >&5
4818 ac_header_compiler=no
4820 rm -f conftest.$ac_objext conftest.$ac_ext
4821 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4822 echo "${ECHO_T}$ac_header_compiler" >&6
4824 # Is the header present?
4825 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4826 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4827 cat >conftest.$ac_ext <<_ACEOF
4828 #line $LINENO "configure"
4831 cat confdefs.h >>conftest.$ac_ext
4832 cat >>conftest.$ac_ext <<_ACEOF
4833 /* end confdefs.h. */
4834 #include <$ac_header>
4836 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4837 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4839 grep -v '^ *+' conftest.er1 >conftest.err
4841 cat conftest.err >&5
4842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843 (exit $ac_status); } >/dev/null; then
4844 if test -s conftest.err; then
4845 ac_cpp_err=$ac_c_preproc_warn_flag
4852 if test -z "$ac_cpp_err"; then
4853 ac_header_preproc=yes
4855 echo "$as_me: failed program was:" >&5
4856 sed 's/^/| /' conftest.$ac_ext >&5
4858 ac_header_preproc=no
4860 rm -f conftest.err conftest.$ac_ext
4861 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4862 echo "${ECHO_T}$ac_header_preproc" >&6
4864 # So? What about this header?
4865 case $ac_header_compiler:$ac_header_preproc in
4867 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4868 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4869 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4870 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4873 ## ------------------------------------ ##
4874 ## Report this to bug-autoconf@gnu.org. ##
4875 ## ------------------------------------ ##
4878 sed "s/^/$as_me: WARNING: /" >&2
4881 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4882 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4883 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4884 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4885 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4886 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4889 ## ------------------------------------ ##
4890 ## Report this to bug-autoconf@gnu.org. ##
4891 ## ------------------------------------ ##
4894 sed "s/^/$as_me: WARNING: /" >&2
4897 echo "$as_me:$LINENO: checking for $ac_header" >&5
4898 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4899 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4900 echo $ECHO_N "(cached) $ECHO_C" >&6
4902 eval "$as_ac_Header=$ac_header_preproc"
4904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4905 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4908 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4909 cat >>confdefs.h <<_ACEOF
4910 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4918 ac_cpp='$CXXCPP $CPPFLAGS'
4919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4922 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4923 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4924 if test -z "$CXXCPP"; then
4925 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4926 echo $ECHO_N "(cached) $ECHO_C" >&6
4928 # Double quotes because CXXCPP needs to be expanded
4929 for CXXCPP in "$CXX -E" "/lib/cpp"
4932 for ac_cxx_preproc_warn_flag in '' yes
4934 # Use a header file that comes with gcc, so configuring glibc
4935 # with a fresh cross-compiler works.
4936 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4937 # <limits.h> exists even on freestanding compilers.
4938 # On the NeXT, cc -E runs the code through the compiler's parser,
4939 # not just through cpp. "Syntax error" is here to catch this case.
4940 cat >conftest.$ac_ext <<_ACEOF
4941 #line $LINENO "configure"
4944 cat confdefs.h >>conftest.$ac_ext
4945 cat >>conftest.$ac_ext <<_ACEOF
4946 /* end confdefs.h. */
4948 # include <limits.h>
4950 # include <assert.h>
4954 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4955 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4957 grep -v '^ *+' conftest.er1 >conftest.err
4959 cat conftest.err >&5
4960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4961 (exit $ac_status); } >/dev/null; then
4962 if test -s conftest.err; then
4963 ac_cpp_err=$ac_cxx_preproc_warn_flag
4970 if test -z "$ac_cpp_err"; then
4973 echo "$as_me: failed program was:" >&5
4974 sed 's/^/| /' conftest.$ac_ext >&5
4976 # Broken: fails on valid input.
4979 rm -f conftest.err conftest.$ac_ext
4981 # OK, works on sane cases. Now check whether non-existent headers
4982 # can be detected and how.
4983 cat >conftest.$ac_ext <<_ACEOF
4984 #line $LINENO "configure"
4987 cat confdefs.h >>conftest.$ac_ext
4988 cat >>conftest.$ac_ext <<_ACEOF
4989 /* end confdefs.h. */
4990 #include <ac_nonexistent.h>
4992 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4993 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4995 grep -v '^ *+' conftest.er1 >conftest.err
4997 cat conftest.err >&5
4998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4999 (exit $ac_status); } >/dev/null; then
5000 if test -s conftest.err; then
5001 ac_cpp_err=$ac_cxx_preproc_warn_flag
5008 if test -z "$ac_cpp_err"; then
5009 # Broken: success on invalid input.
5012 echo "$as_me: failed program was:" >&5
5013 sed 's/^/| /' conftest.$ac_ext >&5
5015 # Passes both tests.
5019 rm -f conftest.err conftest.$ac_ext
5022 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5023 rm -f conftest.err conftest.$ac_ext
5024 if $ac_preproc_ok; then
5029 ac_cv_prog_CXXCPP=$CXXCPP
5032 CXXCPP=$ac_cv_prog_CXXCPP
5034 ac_cv_prog_CXXCPP=$CXXCPP
5036 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5037 echo "${ECHO_T}$CXXCPP" >&6
5039 for ac_cxx_preproc_warn_flag in '' yes
5041 # Use a header file that comes with gcc, so configuring glibc
5042 # with a fresh cross-compiler works.
5043 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5044 # <limits.h> exists even on freestanding compilers.
5045 # On the NeXT, cc -E runs the code through the compiler's parser,
5046 # not just through cpp. "Syntax error" is here to catch this case.
5047 cat >conftest.$ac_ext <<_ACEOF
5048 #line $LINENO "configure"
5051 cat confdefs.h >>conftest.$ac_ext
5052 cat >>conftest.$ac_ext <<_ACEOF
5053 /* end confdefs.h. */
5055 # include <limits.h>
5057 # include <assert.h>
5061 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5062 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5064 grep -v '^ *+' conftest.er1 >conftest.err
5066 cat conftest.err >&5
5067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5068 (exit $ac_status); } >/dev/null; then
5069 if test -s conftest.err; then
5070 ac_cpp_err=$ac_cxx_preproc_warn_flag
5077 if test -z "$ac_cpp_err"; then
5080 echo "$as_me: failed program was:" >&5
5081 sed 's/^/| /' conftest.$ac_ext >&5
5083 # Broken: fails on valid input.
5086 rm -f conftest.err conftest.$ac_ext
5088 # OK, works on sane cases. Now check whether non-existent headers
5089 # can be detected and how.
5090 cat >conftest.$ac_ext <<_ACEOF
5091 #line $LINENO "configure"
5094 cat confdefs.h >>conftest.$ac_ext
5095 cat >>conftest.$ac_ext <<_ACEOF
5096 /* end confdefs.h. */
5097 #include <ac_nonexistent.h>
5099 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5100 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5102 grep -v '^ *+' conftest.er1 >conftest.err
5104 cat conftest.err >&5
5105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5106 (exit $ac_status); } >/dev/null; then
5107 if test -s conftest.err; then
5108 ac_cpp_err=$ac_cxx_preproc_warn_flag
5115 if test -z "$ac_cpp_err"; then
5116 # Broken: success on invalid input.
5119 echo "$as_me: failed program was:" >&5
5120 sed 's/^/| /' conftest.$ac_ext >&5
5122 # Passes both tests.
5126 rm -f conftest.err conftest.$ac_ext
5129 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5130 rm -f conftest.err conftest.$ac_ext
5131 if $ac_preproc_ok; then
5134 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5135 See \`config.log' for more details." >&5
5136 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5137 See \`config.log' for more details." >&2;}
5138 { (exit 1); exit 1; }; }
5142 ac_cpp='$CXXCPP $CPPFLAGS'
5143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5149 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5150 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5151 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5152 if test -n "$ac_tool_prefix"; then
5153 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5155 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5156 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5157 echo "$as_me:$LINENO: checking for $ac_word" >&5
5158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5159 if test "${ac_cv_prog_F77+set}" = set; then
5160 echo $ECHO_N "(cached) $ECHO_C" >&6
5162 if test -n "$F77"; then
5163 ac_cv_prog_F77="$F77" # Let the user override the test.
5165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5169 test -z "$as_dir" && as_dir=.
5170 for ac_exec_ext in '' $ac_executable_extensions; do
5171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5172 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5182 if test -n "$F77"; then
5183 echo "$as_me:$LINENO: result: $F77" >&5
5184 echo "${ECHO_T}$F77" >&6
5186 echo "$as_me:$LINENO: result: no" >&5
5187 echo "${ECHO_T}no" >&6
5190 test -n "$F77" && break
5193 if test -z "$F77"; then
5195 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5197 # Extract the first word of "$ac_prog", so it can be a program name with args.
5198 set dummy $ac_prog; ac_word=$2
5199 echo "$as_me:$LINENO: checking for $ac_word" >&5
5200 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5201 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5202 echo $ECHO_N "(cached) $ECHO_C" >&6
5204 if test -n "$ac_ct_F77"; then
5205 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5211 test -z "$as_dir" && as_dir=.
5212 for ac_exec_ext in '' $ac_executable_extensions; do
5213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5214 ac_cv_prog_ac_ct_F77="$ac_prog"
5215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5223 ac_ct_F77=$ac_cv_prog_ac_ct_F77
5224 if test -n "$ac_ct_F77"; then
5225 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5226 echo "${ECHO_T}$ac_ct_F77" >&6
5228 echo "$as_me:$LINENO: result: no" >&5
5229 echo "${ECHO_T}no" >&6
5232 test -n "$ac_ct_F77" && break
5239 # Provide some information about the compiler.
5240 echo "$as_me:5240:" \
5241 "checking for Fortran 77 compiler version" >&5
5242 ac_compiler=`set X $ac_compile; echo $2`
5243 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5244 (eval $ac_compiler --version </dev/null >&5) 2>&5
5246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5247 (exit $ac_status); }
5248 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5249 (eval $ac_compiler -v </dev/null >&5) 2>&5
5251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5252 (exit $ac_status); }
5253 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5254 (eval $ac_compiler -V </dev/null >&5) 2>&5
5256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5257 (exit $ac_status); }
5259 # If we don't use `.F' as extension, the preprocessor is not run on the
5263 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5264 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5265 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5266 echo $ECHO_N "(cached) $ECHO_C" >&6
5268 cat >conftest.$ac_ext <<_ACEOF
5276 rm -f conftest.$ac_objext
5277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5278 (eval $ac_compile) 2>&5
5280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5281 (exit $ac_status); } &&
5282 { ac_try='test -s conftest.$ac_objext'
5283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5287 (exit $ac_status); }; }; then
5290 echo "$as_me: failed program was:" >&5
5291 sed 's/^/| /' conftest.$ac_ext >&5
5295 rm -f conftest.$ac_objext conftest.$ac_ext
5296 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5299 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5300 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5302 G77=`test $ac_compiler_gnu = yes && echo yes`
5303 ac_test_FFLAGS=${FFLAGS+set}
5304 ac_save_FFLAGS=$FFLAGS
5306 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5307 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5308 if test "${ac_cv_prog_f77_g+set}" = set; then
5309 echo $ECHO_N "(cached) $ECHO_C" >&6
5312 cat >conftest.$ac_ext <<_ACEOF
5317 rm -f conftest.$ac_objext
5318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5319 (eval $ac_compile) 2>&5
5321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5322 (exit $ac_status); } &&
5323 { ac_try='test -s conftest.$ac_objext'
5324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5328 (exit $ac_status); }; }; then
5329 ac_cv_prog_f77_g=yes
5331 echo "$as_me: failed program was:" >&5
5332 sed 's/^/| /' conftest.$ac_ext >&5
5336 rm -f conftest.$ac_objext conftest.$ac_ext
5339 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5340 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5341 if test "$ac_test_FFLAGS" = set; then
5342 FFLAGS=$ac_save_FFLAGS
5343 elif test $ac_cv_prog_f77_g = yes; then
5344 if test "$G77" = yes; then
5350 if test "$G77" = yes; then
5357 ac_cpp='$CPP $CPPFLAGS'
5358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5364 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5366 # find the maximum length of command line arguments
5367 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5368 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5369 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5370 echo $ECHO_N "(cached) $ECHO_C" >&6
5377 # On DJGPP, this test can blow up pretty badly due to problems in libc
5378 # (any single argument exceeding 2000 bytes causes a buffer overrun
5379 # during glob expansion). Even if it were fixed, the result of this
5380 # check would be larger than it should be.
5381 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5385 # Under GNU Hurd, this test is not required because there is
5386 # no limit to the length of command line arguments.
5387 # Libtool will interpret -1 as no limit whatsoever
5388 lt_cv_sys_max_cmd_len=-1;
5392 # On Win9x/ME, this test blows up -- it succeeds, but takes
5393 # about 5 minutes as the teststring grows exponentially.
5394 # Worse, since 9x/ME are not pre-emptively multitasking,
5395 # you end up with a "frozen" computer, even though with patience
5396 # the test eventually succeeds (with a max line length of 256k).
5397 # Instead, let's just punt: use the minimum linelength reported by
5398 # all of the supported platforms: 8192 (on NT/2K/XP).
5399 lt_cv_sys_max_cmd_len=8192;
5403 # If test is not a shell built-in, we'll probably end up computing a
5404 # maximum length that is only half of the actual maximum length, but
5406 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5407 = "XX$testring") >/dev/null 2>&1 &&
5408 new_result=`expr "X$testring" : ".*" 2>&1` &&
5409 lt_cv_sys_max_cmd_len=$new_result &&
5410 test $i != 17 # 1/2 MB should be enough
5413 testring=$testring$testring
5416 # Add a significant safety factor because C++ compilers can tack on massive
5417 # amounts of additional arguments before passing them to the linker.
5418 # It appears as though 1/2 is a usable value.
5419 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5425 if test -n $lt_cv_sys_max_cmd_len ; then
5426 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5427 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5429 echo "$as_me:$LINENO: result: none" >&5
5430 echo "${ECHO_T}none" >&6
5436 # Check for command to grab the raw symbol name followed by C symbol from nm.
5437 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5438 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5439 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5440 echo $ECHO_N "(cached) $ECHO_C" >&6
5443 # These are sane defaults that work on at least a few old systems.
5444 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5446 # Character class describing NM global symbol codes.
5447 symcode='[BCDEGRST]'
5449 # Regexp to match symbols that can be accessed directly from C.
5450 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5452 # Transform the above into a raw symbol and a C symbol.
5453 symxfrm='\1 \2\3 \3'
5455 # Transform an extracted symbol line into a proper C declaration
5456 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5458 # Transform an extracted symbol line into symbol name and symbol address
5459 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'"
5461 # Define system-specific variables.
5466 cygwin* | mingw* | pw32*)
5467 symcode='[ABCDGISTW]'
5469 hpux*) # Its linker distinguishes data from code symbols
5470 if test "$host_cpu" = ia64; then
5471 symcode='[ABCDEGRST]'
5473 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5474 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (lt_ptr) \&\2},/p'"
5477 symcode='[BCDEGRST]'
5480 symcode='[BCDEGQRST]'
5490 # Handle CRLF in mingw tool chain
5494 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5498 # If we're using GNU nm, then use its standard symbol codes.
5499 case `$NM -V 2>&1` in
5500 *GNU* | *'with BFD'*)
5501 symcode='[ABCDGISTW]' ;;
5504 # Try without a prefix undercore, then with it.
5505 for ac_symprfx in "" "_"; do
5507 # Write the raw and C identifiers.
5508 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5510 # Check to see that the pipe works correctly.
5514 cat > conftest.$ac_ext <<EOF
5519 void nm_test_func(){}
5523 int main(){nm_test_var='a';nm_test_func();return(0);}
5526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5527 (eval $ac_compile) 2>&5
5529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5530 (exit $ac_status); }; then
5531 # Now try to grab the symbols.
5533 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5534 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5537 (exit $ac_status); } && test -s "$nlist"; then
5538 # Try sorting and uniquifying the output.
5539 if sort "$nlist" | uniq > "$nlist"T; then
5540 mv -f "$nlist"T "$nlist"
5545 # Make sure that we snagged all the symbols we need.
5546 if grep ' nm_test_var$' "$nlist" >/dev/null; then
5547 if grep ' nm_test_func$' "$nlist" >/dev/null; then
5548 cat <<EOF > conftest.$ac_ext
5554 # Now generate the symbol file.
5555 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5557 cat <<EOF >> conftest.$ac_ext
5558 #if defined (__STDC__) && __STDC__
5559 # define lt_ptr_t void *
5561 # define lt_ptr_t char *
5565 /* The mapping between symbol names and symbols. */
5570 lt_preloaded_symbols[] =
5573 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5574 cat <<\EOF >> conftest.$ac_ext
5582 # Now try linking the two files.
5583 mv conftest.$ac_objext conftstm.$ac_objext
5584 lt_save_LIBS="$LIBS"
5585 lt_save_CFLAGS="$CFLAGS"
5586 LIBS="conftstm.$ac_objext"
5587 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5589 (eval $ac_link) 2>&5
5591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5592 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5595 LIBS="$lt_save_LIBS"
5596 CFLAGS="$lt_save_CFLAGS"
5598 echo "cannot find nm_test_func in $nlist" >&5
5601 echo "cannot find nm_test_var in $nlist" >&5
5604 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5607 echo "$progname: failed program was:" >&5
5608 cat conftest.$ac_ext >&5
5610 rm -f conftest* conftst*
5612 # Do not use the global_symbol_pipe unless it works.
5613 if test "$pipe_works" = yes; then
5616 lt_cv_sys_global_symbol_pipe=
5622 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5623 lt_cv_sys_global_symbol_to_cdecl=
5625 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5626 echo "$as_me:$LINENO: result: failed" >&5
5627 echo "${ECHO_T}failed" >&6
5629 echo "$as_me:$LINENO: result: ok" >&5
5630 echo "${ECHO_T}ok" >&6
5633 echo "$as_me:$LINENO: checking for objdir" >&5
5634 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5635 if test "${lt_cv_objdir+set}" = set; then
5636 echo $ECHO_N "(cached) $ECHO_C" >&6
5638 rm -f .libs 2>/dev/null
5639 mkdir .libs 2>/dev/null
5640 if test -d .libs; then
5643 # MS-DOS does not allow filenames that begin with a dot.
5646 rmdir .libs 2>/dev/null
5648 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5649 echo "${ECHO_T}$lt_cv_objdir" >&6
5650 objdir=$lt_cv_objdir
5658 # AIX sometimes has problems with the GCC collect2 program. For some
5659 # reason, if we set the COLLECT_NAMES environment variable, the problems
5660 # vanish in a puff of smoke.
5661 if test "X${COLLECT_NAMES+set}" != Xset; then
5663 export COLLECT_NAMES
5668 # Sed substitution that helps us do robust quoting. It backslashifies
5669 # metacharacters that are still active within double-quoted strings.
5670 Xsed='sed -e s/^X//'
5671 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5673 # Same as above, but do not quote variable references.
5674 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5676 # Sed substitution to delay expansion of an escaped shell variable in a
5677 # double_quote_subst'ed string.
5678 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5680 # Sed substitution to avoid accidental globbing in evaled expressions
5681 no_glob_subst='s/\*/\\\*/g'
5688 can_build_shared=yes
5690 # All known linkers require a `.a' archive for static linking (except M$VC,
5691 # which needs '.lib').
5693 ltmain="$ac_aux_dir/ltmain.sh"
5694 ofile="$default_ofile"
5695 with_gnu_ld="$lt_cv_prog_gnu_ld"
5697 if test -n "$ac_tool_prefix"; then
5698 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5699 set dummy ${ac_tool_prefix}ar; ac_word=$2
5700 echo "$as_me:$LINENO: checking for $ac_word" >&5
5701 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5702 if test "${ac_cv_prog_AR+set}" = set; then
5703 echo $ECHO_N "(cached) $ECHO_C" >&6
5705 if test -n "$AR"; then
5706 ac_cv_prog_AR="$AR" # Let the user override the test.
5708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5712 test -z "$as_dir" && as_dir=.
5713 for ac_exec_ext in '' $ac_executable_extensions; do
5714 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5715 ac_cv_prog_AR="${ac_tool_prefix}ar"
5716 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5725 if test -n "$AR"; then
5726 echo "$as_me:$LINENO: result: $AR" >&5
5727 echo "${ECHO_T}$AR" >&6
5729 echo "$as_me:$LINENO: result: no" >&5
5730 echo "${ECHO_T}no" >&6
5734 if test -z "$ac_cv_prog_AR"; then
5736 # Extract the first word of "ar", so it can be a program name with args.
5737 set dummy ar; ac_word=$2
5738 echo "$as_me:$LINENO: checking for $ac_word" >&5
5739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5740 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5741 echo $ECHO_N "(cached) $ECHO_C" >&6
5743 if test -n "$ac_ct_AR"; then
5744 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5750 test -z "$as_dir" && as_dir=.
5751 for ac_exec_ext in '' $ac_executable_extensions; do
5752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5753 ac_cv_prog_ac_ct_AR="ar"
5754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5760 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5763 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5764 if test -n "$ac_ct_AR"; then
5765 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5766 echo "${ECHO_T}$ac_ct_AR" >&6
5768 echo "$as_me:$LINENO: result: no" >&5
5769 echo "${ECHO_T}no" >&6
5777 if test -n "$ac_tool_prefix"; then
5778 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5779 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5780 echo "$as_me:$LINENO: checking for $ac_word" >&5
5781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5782 if test "${ac_cv_prog_RANLIB+set}" = set; then
5783 echo $ECHO_N "(cached) $ECHO_C" >&6
5785 if test -n "$RANLIB"; then
5786 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5792 test -z "$as_dir" && as_dir=.
5793 for ac_exec_ext in '' $ac_executable_extensions; do
5794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5795 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5804 RANLIB=$ac_cv_prog_RANLIB
5805 if test -n "$RANLIB"; then
5806 echo "$as_me:$LINENO: result: $RANLIB" >&5
5807 echo "${ECHO_T}$RANLIB" >&6
5809 echo "$as_me:$LINENO: result: no" >&5
5810 echo "${ECHO_T}no" >&6
5814 if test -z "$ac_cv_prog_RANLIB"; then
5815 ac_ct_RANLIB=$RANLIB
5816 # Extract the first word of "ranlib", so it can be a program name with args.
5817 set dummy ranlib; ac_word=$2
5818 echo "$as_me:$LINENO: checking for $ac_word" >&5
5819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5820 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5821 echo $ECHO_N "(cached) $ECHO_C" >&6
5823 if test -n "$ac_ct_RANLIB"; then
5824 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5830 test -z "$as_dir" && as_dir=.
5831 for ac_exec_ext in '' $ac_executable_extensions; do
5832 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5833 ac_cv_prog_ac_ct_RANLIB="ranlib"
5834 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5840 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5843 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5844 if test -n "$ac_ct_RANLIB"; then
5845 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5846 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5848 echo "$as_me:$LINENO: result: no" >&5
5849 echo "${ECHO_T}no" >&6
5852 RANLIB=$ac_ct_RANLIB
5854 RANLIB="$ac_cv_prog_RANLIB"
5857 if test -n "$ac_tool_prefix"; then
5858 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5859 set dummy ${ac_tool_prefix}strip; ac_word=$2
5860 echo "$as_me:$LINENO: checking for $ac_word" >&5
5861 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5862 if test "${ac_cv_prog_STRIP+set}" = set; then
5863 echo $ECHO_N "(cached) $ECHO_C" >&6
5865 if test -n "$STRIP"; then
5866 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5872 test -z "$as_dir" && as_dir=.
5873 for ac_exec_ext in '' $ac_executable_extensions; do
5874 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5875 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5876 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5884 STRIP=$ac_cv_prog_STRIP
5885 if test -n "$STRIP"; then
5886 echo "$as_me:$LINENO: result: $STRIP" >&5
5887 echo "${ECHO_T}$STRIP" >&6
5889 echo "$as_me:$LINENO: result: no" >&5
5890 echo "${ECHO_T}no" >&6
5894 if test -z "$ac_cv_prog_STRIP"; then
5896 # Extract the first word of "strip", so it can be a program name with args.
5897 set dummy strip; ac_word=$2
5898 echo "$as_me:$LINENO: checking for $ac_word" >&5
5899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5900 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5901 echo $ECHO_N "(cached) $ECHO_C" >&6
5903 if test -n "$ac_ct_STRIP"; then
5904 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5910 test -z "$as_dir" && as_dir=.
5911 for ac_exec_ext in '' $ac_executable_extensions; do
5912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5913 ac_cv_prog_ac_ct_STRIP="strip"
5914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5920 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5923 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5924 if test -n "$ac_ct_STRIP"; then
5925 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5926 echo "${ECHO_T}$ac_ct_STRIP" >&6
5928 echo "$as_me:$LINENO: result: no" >&5
5929 echo "${ECHO_T}no" >&6
5934 STRIP="$ac_cv_prog_STRIP"
5939 old_CFLAGS="$CFLAGS"
5941 # Set sane defaults for various variables
5942 test -z "$AR" && AR=ar
5943 test -z "$AR_FLAGS" && AR_FLAGS=cru
5944 test -z "$AS" && AS=as
5945 test -z "$CC" && CC=cc
5946 test -z "$LTCC" && LTCC=$CC
5947 test -z "$DLLTOOL" && DLLTOOL=dlltool
5948 test -z "$LD" && LD=ld
5949 test -z "$LN_S" && LN_S="ln -s"
5950 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5951 test -z "$NM" && NM=nm
5952 test -z "$SED" && SED=sed
5953 test -z "$OBJDUMP" && OBJDUMP=objdump
5954 test -z "$RANLIB" && RANLIB=:
5955 test -z "$STRIP" && STRIP=:
5956 test -z "$ac_objext" && ac_objext=o
5958 # Determine commands to create old-style static archives.
5959 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5960 old_postinstall_cmds='chmod 644 $oldlib'
5961 old_postuninstall_cmds=
5963 if test -n "$RANLIB"; then
5966 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5969 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
5972 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5975 # Only perform the check for file, if the check method requires it
5976 case $deplibs_check_method in
5978 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5979 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5980 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5981 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5982 echo $ECHO_N "(cached) $ECHO_C" >&6
5986 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5989 lt_save_MAGIC_CMD="$MAGIC_CMD"
5990 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5991 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
5992 for ac_dir in $ac_dummy; do
5994 test -z "$ac_dir" && ac_dir=.
5995 if test -f $ac_dir/${ac_tool_prefix}file; then
5996 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
5997 if test -n "$file_magic_test_file"; then
5998 case $deplibs_check_method in
6000 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6001 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6002 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6003 $EGREP "$file_magic_regex" > /dev/null; then
6008 *** Warning: the command libtool uses to detect shared libraries,
6009 *** $file_magic_cmd, produces output that libtool cannot recognize.
6010 *** The result is that libtool may fail to recognize shared libraries
6011 *** as such. This will affect the creation of libtool libraries that
6012 *** depend on shared libraries, but programs linked with such libtool
6013 *** libraries will work regardless of this problem. Nevertheless, you
6014 *** may want to report the problem to your system manager and/or to
6015 *** bug-libtool@gnu.org
6025 MAGIC_CMD="$lt_save_MAGIC_CMD"
6030 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6031 if test -n "$MAGIC_CMD"; then
6032 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6033 echo "${ECHO_T}$MAGIC_CMD" >&6
6035 echo "$as_me:$LINENO: result: no" >&5
6036 echo "${ECHO_T}no" >&6
6039 if test -z "$lt_cv_path_MAGIC_CMD"; then
6040 if test -n "$ac_tool_prefix"; then
6041 echo "$as_me:$LINENO: checking for file" >&5
6042 echo $ECHO_N "checking for file... $ECHO_C" >&6
6043 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6044 echo $ECHO_N "(cached) $ECHO_C" >&6
6048 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6051 lt_save_MAGIC_CMD="$MAGIC_CMD"
6052 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6053 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6054 for ac_dir in $ac_dummy; do
6056 test -z "$ac_dir" && ac_dir=.
6057 if test -f $ac_dir/file; then
6058 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6059 if test -n "$file_magic_test_file"; then
6060 case $deplibs_check_method in
6062 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6063 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6064 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6065 $EGREP "$file_magic_regex" > /dev/null; then
6070 *** Warning: the command libtool uses to detect shared libraries,
6071 *** $file_magic_cmd, produces output that libtool cannot recognize.
6072 *** The result is that libtool may fail to recognize shared libraries
6073 *** as such. This will affect the creation of libtool libraries that
6074 *** depend on shared libraries, but programs linked with such libtool
6075 *** libraries will work regardless of this problem. Nevertheless, you
6076 *** may want to report the problem to your system manager and/or to
6077 *** bug-libtool@gnu.org
6087 MAGIC_CMD="$lt_save_MAGIC_CMD"
6092 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6093 if test -n "$MAGIC_CMD"; then
6094 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6095 echo "${ECHO_T}$MAGIC_CMD" >&6
6097 echo "$as_me:$LINENO: result: no" >&5
6098 echo "${ECHO_T}no" >&6
6113 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6114 if test "${enable_libtool_lock+set}" = set; then
6115 enableval="$enable_libtool_lock"
6118 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6121 # Check whether --with-pic or --without-pic was given.
6122 if test "${with_pic+set}" = set; then
6128 test -z "$pic_mode" && pic_mode=default
6130 # Use C for the default configuration in the libtool script
6134 ac_cpp='$CPP $CPPFLAGS'
6135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6140 # Source file extension for C test sources.
6143 # Object file extension for compiled C test sources.
6147 # Code to be used in simple compile tests
6148 lt_simple_compile_test_code="int some_variable = 0;\n"
6150 # Code to be used in simple link tests
6151 lt_simple_link_test_code='int main(){return(0);}\n'
6154 # If no C compiler was specified, use CC.
6157 # Allow CC to be a program name with arguments.
6162 # Check for any special shared library compilation flags.
6165 if test "$GCC" = no; then
6168 lt_prog_cc_shlib='-belf'
6172 if test -n "$lt_prog_cc_shlib"; then
6173 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6174 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6175 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
6177 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6178 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6179 lt_cv_prog_cc_can_build_shared=no
6185 # Check to make sure the static flag actually works.
6187 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6188 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6189 if test "${lt_prog_compiler_static_works+set}" = set; then
6190 echo $ECHO_N "(cached) $ECHO_C" >&6
6192 lt_prog_compiler_static_works=no
6193 save_LDFLAGS="$LDFLAGS"
6194 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6195 printf "$lt_simple_link_test_code" > conftest.$ac_ext
6196 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6197 # The compiler can only warn and ignore the option if not recognized
6198 # So say no if there are warnings
6199 if test -s conftest.err; then
6200 # Append any errors to the config.log.
6201 cat conftest.err 1>&5
6203 lt_prog_compiler_static_works=yes
6207 LDFLAGS="$save_LDFLAGS"
6210 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6211 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6213 if test x"$lt_prog_compiler_static_works" = xyes; then
6216 lt_prog_compiler_static=
6222 ## There is no encapsulation within the following macros, do not change
6223 ## the running order or otherwise move them around unless you know exactly
6224 ## what you are doing...
6226 lt_prog_compiler_no_builtin_flag=
6228 if test "$GCC" = yes; then
6229 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6231 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6232 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6233 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6234 echo $ECHO_N "(cached) $ECHO_C" >&6
6236 lt_cv_prog_compiler_rtti_exceptions=no
6237 ac_outfile=conftest.$ac_objext
6238 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6239 lt_compiler_flag="-fno-rtti -fno-exceptions"
6240 # Insert the option either (1) after the last *FLAGS variable, or
6241 # (2) before a word containing "conftest.", or (3) at the end.
6242 # Note that $ac_compile itself does not contain backslashes and begins
6243 # with a dollar sign (not a hyphen), so the echo should work correctly.
6244 # The option is referenced via a variable to avoid confusing sed.
6245 lt_compile=`echo "$ac_compile" | $SED \
6246 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6247 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6248 -e 's:$: $lt_compiler_flag:'`
6249 (eval echo "\"\$as_me:6249: $lt_compile\"" >&5)
6250 (eval "$lt_compile" 2>conftest.err)
6252 cat conftest.err >&5
6253 echo "$as_me:6253: \$? = $ac_status" >&5
6254 if (exit $ac_status) && test -s "$ac_outfile"; then
6255 # The compiler can only warn and ignore the option if not recognized
6256 # So say no if there are warnings
6257 if test ! -s conftest.err; then
6258 lt_cv_prog_compiler_rtti_exceptions=yes
6264 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6265 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6267 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6268 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6275 lt_prog_compiler_wl=
6276 lt_prog_compiler_pic=
6277 lt_prog_compiler_static=
6279 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6280 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6282 if test "$GCC" = yes; then
6283 lt_prog_compiler_wl='-Wl,'
6284 lt_prog_compiler_static='-static'
6288 # All AIX code is PIC.
6289 if test "$host_cpu" = ia64; then
6290 # AIX 5 now supports IA64 processor
6291 lt_prog_compiler_static='-Bstatic'
6296 # FIXME: we need at least 68020 code to build shared libraries, but
6297 # adding the `-m68020' flag to GCC prevents building anything better,
6299 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6302 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6303 # PIC is the default for these OSes.
6306 mingw* | pw32* | os2*)
6307 # This hack is so that the source file can tell whether it is being
6308 # built for inclusion in a dll (and should export symbols for example).
6309 lt_prog_compiler_pic='-DDLL_EXPORT'
6312 darwin* | rhapsody*)
6313 # PIC is the default on this platform
6314 # Common symbols not allowed in MH_DYLIB files
6315 lt_prog_compiler_pic='-fno-common'
6319 # Just because we use GCC doesn't mean we suddenly get shared libraries
6320 # on systems that don't support them.
6321 lt_prog_compiler_can_build_shared=no
6326 if test -d /usr/nec; then
6327 lt_prog_compiler_pic=-Kconform_pic
6332 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6339 lt_prog_compiler_pic='-fPIC'
6345 lt_prog_compiler_pic='-fPIC'
6349 # PORTME Check for flag to pass linker flags through the system compiler.
6352 lt_prog_compiler_wl='-Wl,'
6353 if test "$host_cpu" = ia64; then
6354 # AIX 5 now supports IA64 processor
6355 lt_prog_compiler_static='-Bstatic'
6357 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6361 mingw* | pw32* | os2*)
6362 # This hack is so that the source file can tell whether it is being
6363 # built for inclusion in a dll (and should export symbols for example).
6364 lt_prog_compiler_pic='-DDLL_EXPORT'
6367 hpux9* | hpux10* | hpux11*)
6368 lt_prog_compiler_wl='-Wl,'
6369 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6376 lt_prog_compiler_pic='+Z'
6379 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6380 lt_prog_compiler_static='${wl}-a ${wl}archive'
6383 irix5* | irix6* | nonstopux*)
6384 lt_prog_compiler_wl='-Wl,'
6385 # PIC (with -KPIC) is the default.
6386 lt_prog_compiler_static='-non_shared'
6390 lt_prog_compiler_pic='-KPIC'
6391 lt_prog_compiler_static='-Bstatic'
6397 lt_prog_compiler_wl='-Wl,'
6398 lt_prog_compiler_pic='-KPIC'
6399 lt_prog_compiler_static='-static'
6402 lt_prog_compiler_wl='-Wl,'
6403 # All Alpha code is PIC.
6404 lt_prog_compiler_static='-non_shared'
6409 osf3* | osf4* | osf5*)
6410 lt_prog_compiler_wl='-Wl,'
6411 # All OSF/1 code is PIC.
6412 lt_prog_compiler_static='-non_shared'
6416 lt_prog_compiler_pic='-Kpic'
6417 lt_prog_compiler_static='-dn'
6421 lt_prog_compiler_wl='-Wl,'
6422 lt_prog_compiler_pic='-KPIC'
6423 lt_prog_compiler_static='-Bstatic'
6427 lt_prog_compiler_wl='-Qoption ld '
6428 lt_prog_compiler_pic='-PIC'
6429 lt_prog_compiler_static='-Bstatic'
6432 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6433 lt_prog_compiler_wl='-Wl,'
6434 lt_prog_compiler_pic='-KPIC'
6435 lt_prog_compiler_static='-Bstatic'
6439 if test -d /usr/nec ;then
6440 lt_prog_compiler_pic='-Kconform_pic'
6441 lt_prog_compiler_static='-Bstatic'
6446 lt_prog_compiler_pic='-pic'
6447 lt_prog_compiler_static='-Bstatic'
6451 lt_prog_compiler_can_build_shared=no
6456 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6457 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6460 # Check to make sure the PIC flag actually works.
6462 if test -n "$lt_prog_compiler_pic"; then
6463 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6464 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6465 if test "${lt_prog_compiler_pic_works+set}" = set; then
6466 echo $ECHO_N "(cached) $ECHO_C" >&6
6468 lt_prog_compiler_pic_works=no
6469 ac_outfile=conftest.$ac_objext
6470 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6471 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6472 # Insert the option either (1) after the last *FLAGS variable, or
6473 # (2) before a word containing "conftest.", or (3) at the end.
6474 # Note that $ac_compile itself does not contain backslashes and begins
6475 # with a dollar sign (not a hyphen), so the echo should work correctly.
6476 # The option is referenced via a variable to avoid confusing sed.
6477 lt_compile=`echo "$ac_compile" | $SED \
6478 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6479 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6480 -e 's:$: $lt_compiler_flag:'`
6481 (eval echo "\"\$as_me:6481: $lt_compile\"" >&5)
6482 (eval "$lt_compile" 2>conftest.err)
6484 cat conftest.err >&5
6485 echo "$as_me:6485: \$? = $ac_status" >&5
6486 if (exit $ac_status) && test -s "$ac_outfile"; then
6487 # The compiler can only warn and ignore the option if not recognized
6488 # So say no if there are warnings
6489 if test ! -s conftest.err; then
6490 lt_prog_compiler_pic_works=yes
6496 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6497 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6499 if test x"$lt_prog_compiler_pic_works" = xyes; then
6500 case $lt_prog_compiler_pic in
6502 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6505 lt_prog_compiler_pic=
6506 lt_prog_compiler_can_build_shared=no
6511 # For platforms which do not support PIC, -DPIC is meaningless:
6513 lt_prog_compiler_pic=
6516 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6520 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6521 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6522 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6523 echo $ECHO_N "(cached) $ECHO_C" >&6
6525 lt_cv_prog_compiler_c_o=no
6526 $rm -r conftest 2>/dev/null
6530 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6532 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6533 # that will create temporary files in the current directory regardless of
6534 # the output directory. Thus, making CWD read-only will cause this test
6535 # to fail, enabling locking or at least warning the user not to do parallel
6539 lt_compiler_flag="-o out/conftest2.$ac_objext"
6540 # Insert the option either (1) after the last *FLAGS variable, or
6541 # (2) before a word containing "conftest.", or (3) at the end.
6542 # Note that $ac_compile itself does not contain backslashes and begins
6543 # with a dollar sign (not a hyphen), so the echo should work correctly.
6544 lt_compile=`echo "$ac_compile" | $SED \
6545 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6546 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6547 -e 's:$: $lt_compiler_flag:'`
6548 (eval echo "\"\$as_me:6548: $lt_compile\"" >&5)
6549 (eval "$lt_compile" 2>out/conftest.err)
6551 cat out/conftest.err >&5
6552 echo "$as_me:6552: \$? = $ac_status" >&5
6553 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6555 # The compiler can only warn and ignore the option if not recognized
6556 # So say no if there are warnings
6557 if test ! -s out/conftest.err; then
6558 lt_cv_prog_compiler_c_o=yes
6569 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6570 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6573 hard_links="nottested"
6574 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6575 # do not overwrite the value of need_locks provided by the user
6576 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6577 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6580 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6582 ln conftest.a conftest.b 2>&5 || hard_links=no
6583 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6584 echo "$as_me:$LINENO: result: $hard_links" >&5
6585 echo "${ECHO_T}$hard_links" >&6
6586 if test "$hard_links" = no; then
6587 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6588 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6595 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6596 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6599 allow_undefined_flag=
6600 enable_shared_with_static_runtimes=no
6602 archive_expsym_cmds=
6603 old_archive_From_new_cmds=
6604 old_archive_from_expsyms_cmds=
6605 export_dynamic_flag_spec=
6606 whole_archive_flag_spec=
6607 thread_safe_flag_spec=
6608 hardcode_libdir_flag_spec=
6609 hardcode_libdir_flag_spec_ld=
6610 hardcode_libdir_separator=
6613 hardcode_shlibpath_var=unsupported
6614 link_all_deplibs=unknown
6615 hardcode_automatic=no
6618 always_export_symbols=no
6619 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6620 # include_expsyms should be a list of space-separated symbols to be *always*
6621 # included in the symbol list
6623 # exclude_expsyms can be an extended regexp of symbols to exclude
6624 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6625 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6626 # as well as any symbol that contains `d'.
6627 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6628 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6629 # platforms (ab)use it in PIC code, but their linkers get confused if
6630 # the symbol is explicitly referenced. Since portable code cannot
6631 # rely on this symbol name, it's probably fine to never include it in
6632 # preloaded symbol tables.
6633 extract_expsyms_cmds=
6636 cygwin* | mingw* | pw32*)
6637 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6638 # When not using gcc, we currently assume that we are using
6639 # Microsoft Visual C++.
6640 if test "$GCC" != yes; then
6650 if test "$with_gnu_ld" = yes; then
6651 # If archive_cmds runs LD, not CC, wlarc should be empty
6654 # See if GNU ld supports shared libraries.
6656 aix3* | aix4* | aix5*)
6657 # On AIX/PPC, the GNU linker is very broken
6658 if test "$host_cpu" != ia64; then
6662 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6663 *** to be unable to reliably create shared libraries on AIX.
6664 *** Therefore, libtool is disabling shared libraries support. If you
6665 *** really care for shared libraries, you may want to modify your PATH
6666 *** so that a non-GNU linker is found, and then restart.
6673 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)'
6674 hardcode_libdir_flag_spec='-L$libdir'
6675 hardcode_minus_L=yes
6677 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6678 # that the semantics of dynamic libraries on AmigaOS, at least up
6679 # to version 4, is to share data among multiple programs linked
6680 # with the same dynamic library. Since this doesn't match the
6681 # behavior of shared libraries on other platforms, we can't use
6687 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6688 allow_undefined_flag=unsupported
6689 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6690 # support --undefined. This deserves some investigation. FIXME
6691 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6697 cygwin* | mingw* | pw32*)
6698 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6699 # as there is no search path for DLLs.
6700 hardcode_libdir_flag_spec='-L$libdir'
6701 allow_undefined_flag=unsupported
6702 always_export_symbols=no
6703 enable_shared_with_static_runtimes=yes
6704 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6706 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6707 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6708 # If the export-symbols file already is a .def file (1st line
6709 # is EXPORTS), use it as is; otherwise, prepend...
6710 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6711 cp $export_symbols $output_objdir/$soname.def;
6713 echo EXPORTS > $output_objdir/$soname.def;
6714 cat $export_symbols >> $output_objdir/$soname.def;
6716 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6723 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6724 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6727 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6728 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6733 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6737 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6738 *** create shared libraries on Solaris systems. Therefore, libtool
6739 *** is disabling shared libraries support. We urge you to upgrade GNU
6740 *** binutils to release 2.9.1 or newer. Another option is to modify
6741 *** your PATH or compiler configuration so that the native linker is
6742 *** used, and then restart.
6745 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6746 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6747 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6754 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6757 hardcode_shlibpath_var=no
6761 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6762 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6763 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6770 if test "$ld_shlibs" = yes; then
6771 runpath_var=LD_RUN_PATH
6772 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6773 export_dynamic_flag_spec='${wl}--export-dynamic'
6774 # ancient GNU ld didn't support --whole-archive et. al.
6775 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6776 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6778 whole_archive_flag_spec=
6782 # PORTME fill in a description of your system's linker (not GNU ld)
6785 allow_undefined_flag=unsupported
6786 always_export_symbols=yes
6787 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'
6788 # Note: this linker hardcodes the directories in LIBPATH if there
6789 # are no directories specified by -L.
6790 hardcode_minus_L=yes
6791 if test "$GCC" = yes && test -z "$link_static_flag"; then
6792 # Neither direct hardcoding nor static linking is supported with a
6794 hardcode_direct=unsupported
6799 if test "$host_cpu" = ia64; then
6800 # On IA64, the linker does run time linking by default, so we don't
6801 # have to do anything special.
6802 aix_use_runtimelinking=no
6803 exp_sym_flag='-Bexport'
6806 # If we're using GNU nm, then we don't want the "-C" option.
6807 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6808 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6809 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'
6811 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'
6813 aix_use_runtimelinking=no
6815 # Test if we are trying to use run time linking or normal
6816 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6817 # need to do runtime linking.
6818 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6819 for ld_flag in $LDFLAGS; do
6820 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6821 aix_use_runtimelinking=yes
6827 exp_sym_flag='-bexport'
6828 no_entry_flag='-bnoentry'
6831 # When large executables or shared objects are built, AIX ld can
6832 # have problems creating the table of contents. If linking a library
6833 # or program results in "error TOC overflow" add -mminimal-toc to
6834 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6835 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6839 hardcode_libdir_separator=':'
6840 link_all_deplibs=yes
6842 if test "$GCC" = yes; then
6843 case $host_os in aix4.012|aix4.012.*)
6844 # We only want to do this on AIX 4.2 and lower, the check
6845 # below for broken collect2 doesn't work under 4.3+
6846 collect2name=`${CC} -print-prog-name=collect2`
6847 if test -f "$collect2name" && \
6848 strings "$collect2name" | grep resolve_lib_name >/dev/null
6850 # We have reworked collect2
6853 # We have old collect2
6854 hardcode_direct=unsupported
6855 # It fails to find uninstalled libraries when the uninstalled
6856 # path is not listed in the libpath. Setting hardcode_minus_L
6857 # to unsupported forces relinking
6858 hardcode_minus_L=yes
6859 hardcode_libdir_flag_spec='-L$libdir'
6860 hardcode_libdir_separator=
6863 shared_flag='-shared'
6866 if test "$host_cpu" = ia64; then
6867 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6868 # chokes on -Wl,-G. The following line is correct:
6871 if test "$aix_use_runtimelinking" = yes; then
6872 shared_flag='${wl}-G'
6874 shared_flag='${wl}-bM:SRE'
6879 # It seems that -bexpall does not export symbols beginning with
6880 # underscore (_), so it is better to generate a list of symbols to export.
6881 always_export_symbols=yes
6882 if test "$aix_use_runtimelinking" = yes; then
6883 # Warning - without using the other runtime loading flags (-brtl),
6884 # -berok will link without error, but may produce a broken library.
6885 allow_undefined_flag='-berok'
6886 # Determine the default libpath from the value encoded in an empty executable.
6887 cat >conftest.$ac_ext <<_ACEOF
6888 #line $LINENO "configure"
6891 cat confdefs.h >>conftest.$ac_ext
6892 cat >>conftest.$ac_ext <<_ACEOF
6893 /* end confdefs.h. */
6903 rm -f conftest.$ac_objext conftest$ac_exeext
6904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6905 (eval $ac_link) 2>&5
6907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6908 (exit $ac_status); } &&
6909 { ac_try='test -s conftest$ac_exeext'
6910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6914 (exit $ac_status); }; }; then
6916 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6918 # Check for a 64-bit object if we didn't find anything.
6919 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; }
6922 echo "$as_me: failed program was:" >&5
6923 sed 's/^/| /' conftest.$ac_ext >&5
6926 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6927 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6929 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6930 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"
6932 if test "$host_cpu" = ia64; then
6933 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6934 allow_undefined_flag="-z nodefs"
6935 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"
6937 # Determine the default libpath from the value encoded in an empty executable.
6938 cat >conftest.$ac_ext <<_ACEOF
6939 #line $LINENO "configure"
6942 cat confdefs.h >>conftest.$ac_ext
6943 cat >>conftest.$ac_ext <<_ACEOF
6944 /* end confdefs.h. */
6954 rm -f conftest.$ac_objext conftest$ac_exeext
6955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6956 (eval $ac_link) 2>&5
6958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6959 (exit $ac_status); } &&
6960 { ac_try='test -s conftest$ac_exeext'
6961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6965 (exit $ac_status); }; }; then
6967 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6969 # Check for a 64-bit object if we didn't find anything.
6970 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; }
6973 echo "$as_me: failed program was:" >&5
6974 sed 's/^/| /' conftest.$ac_ext >&5
6977 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6978 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6980 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6981 # Warning - without using the other run time loading flags,
6982 # -berok will link without error, but may produce a broken library.
6983 no_undefined_flag=' ${wl}-bernotok'
6984 allow_undefined_flag=' ${wl}-berok'
6985 # -bexpall does not export symbols beginning with underscore (_)
6986 always_export_symbols=yes
6987 # Exported symbols can be pulled into shared objects from archives
6988 whole_archive_flag_spec=' '
6989 archive_cmds_need_lc=yes
6990 # This is similar to how AIX traditionally builds it's shared libraries.
6991 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'
6997 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)'
6998 hardcode_libdir_flag_spec='-L$libdir'
6999 hardcode_minus_L=yes
7000 # see comment about different semantics on the GNU ld section
7005 export_dynamic_flag_spec=-rdynamic
7008 cygwin* | mingw* | pw32*)
7009 # When not using gcc, we currently assume that we are using
7010 # Microsoft Visual C++.
7011 # hardcode_libdir_flag_spec is actually meaningless, as there is
7012 # no search path for DLLs.
7013 hardcode_libdir_flag_spec=' '
7014 allow_undefined_flag=unsupported
7015 # Tell ltmain to make .lib files, not .a files.
7017 # Tell ltmain to make .dll files, not .so files.
7019 # FIXME: Setting linknames here is a bad hack.
7020 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7021 # The linker will automatically build a .lib file if we build a DLL.
7022 old_archive_From_new_cmds='true'
7023 # FIXME: Should let the user specify the lib program.
7024 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
7025 fix_srcfile_path='`cygpath -w "$srcfile"`'
7026 enable_shared_with_static_runtimes=yes
7029 darwin* | rhapsody*)
7030 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7031 archive_cmds_need_lc=no
7033 rhapsody* | darwin1.[012])
7034 allow_undefined_flag='-undefined suppress'
7037 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
7040 # FIXME: Relying on posixy $() will cause problems for
7041 # cross-compilation, but unfortunately the echo tests do not
7042 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
7043 # `"' quotes if we put them in here... so don't!
7044 lt_int_apple_cc_single_mod=no
7045 output_verbose_link_cmd='echo'
7046 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7047 lt_int_apple_cc_single_mod=yes
7049 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7050 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7052 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'
7054 module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7055 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7056 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7057 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}'
7059 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}'
7061 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}'
7063 hardcode_automatic=yes
7064 hardcode_shlibpath_var=unsupported
7065 whole_archive_flag_spec='-all_load $convenience'
7066 link_all_deplibs=yes
7071 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7072 hardcode_libdir_flag_spec='-L$libdir'
7073 hardcode_shlibpath_var=no
7080 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7081 # support. Future versions do this automatically, but an explicit c++rt0.o
7082 # does not break anything, and helps significantly (at the cost of a little
7085 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7086 hardcode_libdir_flag_spec='-R$libdir'
7088 hardcode_shlibpath_var=no
7091 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7093 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7095 hardcode_minus_L=yes
7096 hardcode_shlibpath_var=no
7099 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7101 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7102 hardcode_libdir_flag_spec='-R$libdir'
7104 hardcode_shlibpath_var=no
7108 if test "$GCC" = yes; then
7109 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'
7111 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'
7113 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7114 hardcode_libdir_separator=:
7117 # hardcode_minus_L: Not really in the search PATH,
7118 # but as the default location of the library.
7119 hardcode_minus_L=yes
7120 export_dynamic_flag_spec='${wl}-E'
7124 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7127 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7130 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7136 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7139 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7143 if test "$with_gnu_ld" = no; then
7146 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7147 hardcode_libdir_flag_spec_ld='+b $libdir'
7148 hardcode_libdir_separator=:
7150 hardcode_shlibpath_var=no
7153 hardcode_libdir_flag_spec='-L$libdir'
7155 hardcode_shlibpath_var=no
7157 # hardcode_minus_L: Not really in the search PATH,
7158 # but as the default location of the library.
7159 hardcode_minus_L=yes
7162 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7163 hardcode_libdir_separator=:
7165 export_dynamic_flag_spec='${wl}-E'
7167 # hardcode_minus_L: Not really in the search PATH,
7168 # but as the default location of the library.
7169 hardcode_minus_L=yes
7175 irix5* | irix6* | nonstopux*)
7176 if test "$GCC" = yes; then
7177 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'
7179 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'
7180 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7182 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7183 hardcode_libdir_separator=:
7184 link_all_deplibs=yes
7188 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7189 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7191 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7193 hardcode_libdir_flag_spec='-R$libdir'
7195 hardcode_shlibpath_var=no
7199 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7201 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7202 hardcode_libdir_separator=:
7203 hardcode_shlibpath_var=no
7208 hardcode_shlibpath_var=no
7209 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7210 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7211 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7212 export_dynamic_flag_spec='${wl}-E'
7215 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7216 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7217 hardcode_libdir_flag_spec='-R$libdir'
7220 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7221 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7228 hardcode_libdir_flag_spec='-L$libdir'
7229 hardcode_minus_L=yes
7230 allow_undefined_flag=unsupported
7231 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'
7232 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7236 if test "$GCC" = yes; then
7237 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7238 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'
7240 allow_undefined_flag=' -expect_unresolved \*'
7241 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'
7243 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7244 hardcode_libdir_separator=:
7247 osf4* | osf5*) # as osf3* with the addition of -msym flag
7248 if test "$GCC" = yes; then
7249 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7250 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'
7251 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7253 allow_undefined_flag=' -expect_unresolved \*'
7254 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'
7255 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7256 $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'
7258 # Both c and cxx compiler support -rpath directly
7259 hardcode_libdir_flag_spec='-rpath $libdir'
7261 hardcode_libdir_separator=:
7265 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7266 hardcode_shlibpath_var=no
7267 export_dynamic_flag_spec='${wl}-Bexport'
7268 runpath_var=LD_RUN_PATH
7269 hardcode_runpath_var=yes
7273 no_undefined_flag=' -z text'
7274 if test "$GCC" = yes; then
7275 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7276 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7277 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7279 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7280 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7281 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7283 hardcode_libdir_flag_spec='-R$libdir'
7284 hardcode_shlibpath_var=no
7286 solaris2.[0-5] | solaris2.[0-5].*) ;;
7287 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7288 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7290 link_all_deplibs=yes
7294 if test "x$host_vendor" = xsequent; then
7295 # Use $CC to link under sequent, because it throws in some extra .o
7296 # files that make .init and .fini sections work.
7297 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7299 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7301 hardcode_libdir_flag_spec='-L$libdir'
7303 hardcode_minus_L=yes
7304 hardcode_shlibpath_var=no
7308 case $host_vendor in
7310 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7311 hardcode_direct=yes # is this really true???
7314 ## LD is ld it makes a PLAMLIB
7315 ## CC just makes a GrossModule.
7316 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7317 reload_cmds='$CC -r -o $output$reload_objs'
7321 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7322 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7325 runpath_var='LD_RUN_PATH'
7326 hardcode_shlibpath_var=no
7330 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7331 hardcode_shlibpath_var=no
7332 export_dynamic_flag_spec='-Bexport'
7336 if test -d /usr/nec; then
7337 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7338 hardcode_shlibpath_var=no
7339 runpath_var=LD_RUN_PATH
7340 hardcode_runpath_var=yes
7346 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7349 hardcode_shlibpath_var=no
7350 hardcode_runpath_var=yes
7351 runpath_var=LD_RUN_PATH
7354 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7355 no_undefined_flag='${wl}-z ${wl}text'
7356 if test "$GCC" = yes; then
7357 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7359 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7361 runpath_var='LD_RUN_PATH'
7362 hardcode_shlibpath_var=no
7366 no_undefined_flag=' -z text'
7367 # $CC -shared without GNU ld will not create a library from C++
7368 # object files and a static libstdc++, better avoid it by now
7369 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7370 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7371 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7372 hardcode_libdir_flag_spec=
7373 hardcode_shlibpath_var=no
7374 runpath_var='LD_RUN_PATH'
7378 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7379 hardcode_libdir_flag_spec='-L$libdir'
7380 hardcode_shlibpath_var=no
7389 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7390 echo "${ECHO_T}$ld_shlibs" >&6
7391 test "$ld_shlibs" = no && can_build_shared=no
7393 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7394 if test "$GCC" = yes; then
7395 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7399 # Do we need to explicitly link libc?
7401 case "x$archive_cmds_need_lc" in
7403 # Assume -lc should be added
7404 archive_cmds_need_lc=yes
7406 if test "$enable_shared" = yes && test "$GCC" = yes; then
7407 case $archive_cmds in
7409 # FIXME: we may have to deal with multi-command sequences.
7412 # Test whether the compiler implicitly links with -lc since on some
7413 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7414 # to ld, don't add -lc before -lgcc.
7415 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7416 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7418 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7421 (eval $ac_compile) 2>&5
7423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7424 (exit $ac_status); } 2>conftest.err; then
7427 libobjs=conftest.$ac_objext
7429 wl=$lt_prog_compiler_wl
7435 lt_save_allow_undefined_flag=$allow_undefined_flag
7436 allow_undefined_flag=
7437 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7438 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7441 (exit $ac_status); }
7443 archive_cmds_need_lc=no
7445 archive_cmds_need_lc=yes
7447 allow_undefined_flag=$lt_save_allow_undefined_flag
7449 cat conftest.err 1>&5
7452 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7453 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7460 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7461 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7463 if test -n "$hardcode_libdir_flag_spec" || \
7464 test -n "$runpath_var " || \
7465 test "X$hardcode_automatic"="Xyes" ; then
7467 # We can hardcode non-existant directories.
7468 if test "$hardcode_direct" != no &&
7469 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7470 # have to relink, otherwise we might link with an installed library
7471 # when we should be linking with a yet-to-be-installed one
7472 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7473 test "$hardcode_minus_L" != no; then
7474 # Linking always hardcodes the temporary library directory.
7475 hardcode_action=relink
7477 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7478 hardcode_action=immediate
7481 # We cannot hardcode anything, or else we can only hardcode existing
7483 hardcode_action=unsupported
7485 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7486 echo "${ECHO_T}$hardcode_action" >&6
7488 if test "$hardcode_action" = relink; then
7489 # Fast installation is not supported
7490 enable_fast_install=no
7491 elif test "$shlibpath_overrides_runpath" = yes ||
7492 test "$enable_shared" = no; then
7493 # Fast installation is not necessary
7494 enable_fast_install=needless
7499 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7500 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7501 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7502 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7503 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7504 echo "$as_me:$LINENO: result: yes" >&5
7505 echo "${ECHO_T}yes" >&6
7507 # FIXME - insert some real tests, host_os isn't really good enough
7510 if test -n "$STRIP" ; then
7511 striplib="$STRIP -x"
7512 echo "$as_me:$LINENO: result: yes" >&5
7513 echo "${ECHO_T}yes" >&6
7515 echo "$as_me:$LINENO: result: no" >&5
7516 echo "${ECHO_T}no" >&6
7520 echo "$as_me:$LINENO: result: no" >&5
7521 echo "${ECHO_T}no" >&6
7526 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7527 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7529 libname_spec='lib$name'
7537 shlibpath_overrides_runpath=unknown
7539 dynamic_linker="$host_os ld.so"
7540 sys_lib_dlsearch_path_spec="/lib /usr/lib"
7541 if test "$GCC" = yes; then
7542 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7543 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7544 # if the path contains ";" then we assume it to be the separator
7545 # otherwise default to the standard path separator (i.e. ":") - it is
7546 # assumed that no part of a normal pathname contains ";" but that should
7547 # okay in the real world where ";" in dirpaths is itself problematic.
7548 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7550 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7553 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7555 need_lib_prefix=unknown
7556 hardcode_into_libs=no
7558 # when you set need_version to no, make sure it does not cause -set_version
7559 # flags to be left without arguments
7560 need_version=unknown
7565 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7566 shlibpath_var=LIBPATH
7568 # AIX 3 has no versioning support, so we append a major version to the name.
7569 soname_spec='${libname}${release}${shared_ext}$major'
7576 hardcode_into_libs=yes
7577 if test "$host_cpu" = ia64; then
7578 # AIX 5 supports IA64
7579 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7580 shlibpath_var=LD_LIBRARY_PATH
7582 # With GCC up to 2.95.x, collect2 would create an import file
7583 # for dependence libraries. The import file would start with
7584 # the line `#! .'. This would cause the generated library to
7585 # depend on `.', always an invalid library. This was fixed in
7586 # development snapshots of GCC prior to 3.0.
7588 aix4 | aix4.[01] | aix4.[01].*)
7589 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7591 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7598 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7599 # soname into executable. Probably we can add versioning support to
7600 # collect2, so additional links can be useful in future.
7601 if test "$aix_use_runtimelinking" = yes; then
7602 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7603 # instead of lib<name>.a to let people know that these are not
7604 # typical AIX shared libraries.
7605 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7607 # We preserve .a as extension for shared libraries through AIX4.2
7608 # and later when we are not doing run time linking.
7609 library_names_spec='${libname}${release}.a $libname.a'
7610 soname_spec='${libname}${release}${shared_ext}$major'
7612 shlibpath_var=LIBPATH
7617 library_names_spec='$libname.ixlibrary $libname.a'
7618 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7619 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'
7623 library_names_spec='${libname}${shared_ext}'
7624 dynamic_linker="$host_os ld.so"
7625 shlibpath_var=LIBRARY_PATH
7631 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7632 soname_spec='${libname}${release}${shared_ext}$major'
7633 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7634 shlibpath_var=LD_LIBRARY_PATH
7635 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7636 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7637 # the default ld.so.conf also contains /usr/contrib/lib and
7638 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7639 # libtool to hard-code these into programs
7642 cygwin* | mingw* | pw32*)
7643 version_type=windows
7648 case $GCC,$host_os in
7649 yes,cygwin* | yes,mingw* | yes,pw32*)
7650 library_names_spec='$libname.dll.a'
7651 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7652 postinstall_cmds='base_file=`basename \${file}`~
7653 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7654 dldir=$destdir/`dirname \$dlpath`~
7655 test -d \$dldir || mkdir -p \$dldir~
7656 $install_prog $dir/$dlname \$dldir/$dlname'
7657 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7658 dlpath=$dir/\$dldll~
7660 shlibpath_overrides_runpath=yes
7664 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7665 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7666 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
7669 # MinGW DLLs use traditional 'lib' prefix
7670 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7671 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7672 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7673 # It is most probably a Windows format PATH printed by
7674 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7675 # path with ; separators, and with drive letters. We can handle the
7676 # drive letters (cygwin fileutils understands them), so leave them,
7677 # especially as we might pass files found there to a mingw objdump,
7678 # which wouldn't understand a cygwinified path. Ahh.
7679 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7681 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7685 # pw32 DLLs use 'pw' prefix rather than 'lib'
7686 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7692 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7695 dynamic_linker='Win32 ld.exe'
7696 # FIXME: first we should search . and the directory the executable is in
7700 darwin* | rhapsody*)
7701 dynamic_linker="$host_os dyld"
7705 # FIXME: Relying on posixy $() will cause problems for
7706 # cross-compilation, but unfortunately the echo tests do not
7707 # yet detect zsh echo's removal of \ escapes.
7708 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7709 soname_spec='${libname}${release}${major}$shared_ext'
7710 shlibpath_overrides_runpath=yes
7711 shlibpath_var=DYLD_LIBRARY_PATH
7712 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
7713 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7714 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7715 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"`
7717 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7724 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7725 soname_spec='${libname}${release}${shared_ext}$major'
7726 shlibpath_var=LD_LIBRARY_PATH
7734 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7735 version_type=freebsd-$objformat
7736 case $version_type in
7738 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7743 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7747 shlibpath_var=LD_LIBRARY_PATH
7750 shlibpath_overrides_runpath=yes
7752 freebsd3.01* | freebsdelf3.01*)
7753 shlibpath_overrides_runpath=yes
7754 hardcode_into_libs=yes
7757 shlibpath_overrides_runpath=no
7758 hardcode_into_libs=yes
7767 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7768 soname_spec='${libname}${release}${shared_ext}$major'
7769 shlibpath_var=LD_LIBRARY_PATH
7770 hardcode_into_libs=yes
7773 hpux9* | hpux10* | hpux11*)
7774 # Give a soname corresponding to the major version so that dld.sl refuses to
7775 # link against other versions.
7782 hardcode_into_libs=yes
7783 dynamic_linker="$host_os dld.so"
7784 shlibpath_var=LD_LIBRARY_PATH
7785 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7786 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7787 soname_spec='${libname}${release}${shared_ext}$major'
7788 if test "X$HPUX_IA64_MODE" = X32; then
7789 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7791 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7793 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7797 hardcode_into_libs=yes
7798 dynamic_linker="$host_os dld.sl"
7799 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7800 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7801 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7802 soname_spec='${libname}${release}${shared_ext}$major'
7803 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7804 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7808 dynamic_linker="$host_os dld.sl"
7809 shlibpath_var=SHLIB_PATH
7810 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7811 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7812 soname_spec='${libname}${release}${shared_ext}$major'
7815 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7816 postinstall_cmds='chmod 555 $lib'
7819 irix5* | irix6* | nonstopux*)
7821 nonstopux*) version_type=nonstopux ;;
7823 if test "$lt_cv_prog_gnu_ld" = yes; then
7831 soname_spec='${libname}${release}${shared_ext}$major'
7832 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7834 irix5* | nonstopux*)
7838 case $LD in # libtool.m4 will add one of these switches to LD
7839 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7840 libsuff= shlibsuff= libmagic=32-bit;;
7841 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7842 libsuff=32 shlibsuff=N32 libmagic=N32;;
7843 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7844 libsuff=64 shlibsuff=64 libmagic=64-bit;;
7845 *) libsuff= shlibsuff= libmagic=never-match;;
7849 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7850 shlibpath_overrides_runpath=no
7851 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7852 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7853 hardcode_into_libs=yes
7856 # No shared lib support for Linux oldld, aout, or coff.
7857 linux*oldld* | linux*aout* | linux*coff*)
7861 # This must be Linux ELF.
7866 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7867 soname_spec='${libname}${release}${shared_ext}$major'
7868 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7869 shlibpath_var=LD_LIBRARY_PATH
7870 shlibpath_overrides_runpath=no
7871 # This implies no fast_install, which is unacceptable.
7872 # Some rework will be needed to allow for fast_install
7873 # before this can be enabled.
7874 hardcode_into_libs=yes
7876 # We used to test for /lib/ld.so.1 and disable shared libraries on
7877 # powerpc, because MkLinux only supported shared libraries with the
7878 # GNU dynamic linker. Since this was broken with cross compilers,
7879 # most powerpc-linux boxes support dynamic linking these days and
7880 # people can always --disable-shared, the test was removed, and we
7881 # assume the GNU/Linux dynamic linker is in use.
7882 dynamic_linker='GNU/Linux ld.so'
7889 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7890 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7891 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7892 dynamic_linker='NetBSD (a.out) ld.so'
7894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
7895 soname_spec='${libname}${release}${shared_ext}$major'
7896 dynamic_linker='NetBSD ld.elf_so'
7898 shlibpath_var=LD_LIBRARY_PATH
7899 shlibpath_overrides_runpath=yes
7900 hardcode_into_libs=yes
7905 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7906 shlibpath_var=LD_LIBRARY_PATH
7907 shlibpath_overrides_runpath=yes
7914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7915 soname_spec='${libname}${release}${shared_ext}$major'
7916 shlibpath_var=LD_LIBRARY_PATH
7917 shlibpath_overrides_runpath=yes
7924 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7925 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7926 shlibpath_var=LD_LIBRARY_PATH
7927 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7929 openbsd2.[89] | openbsd2.[89].*)
7930 shlibpath_overrides_runpath=no
7933 shlibpath_overrides_runpath=yes
7937 shlibpath_overrides_runpath=yes
7942 libname_spec='$name'
7945 library_names_spec='$libname${shared_ext} $libname.a'
7946 dynamic_linker='OS/2 ld.exe'
7947 shlibpath_var=LIBPATH
7950 osf3* | osf4* | osf5*)
7954 soname_spec='${libname}${release}${shared_ext}$major'
7955 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7956 shlibpath_var=LD_LIBRARY_PATH
7957 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7958 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7963 soname_spec='${libname}${release}${shared_ext}$major'
7964 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7965 shlibpath_var=LD_LIBRARY_PATH
7972 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7973 soname_spec='${libname}${release}${shared_ext}$major'
7974 shlibpath_var=LD_LIBRARY_PATH
7975 shlibpath_overrides_runpath=yes
7976 hardcode_into_libs=yes
7977 # ldd complains unless libraries are executable
7978 postinstall_cmds='chmod +x $lib'
7983 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7984 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
7985 shlibpath_var=LD_LIBRARY_PATH
7986 shlibpath_overrides_runpath=yes
7987 if test "$with_gnu_ld" = yes; then
7993 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7995 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7996 soname_spec='${libname}${release}${shared_ext}$major'
7997 shlibpath_var=LD_LIBRARY_PATH
7998 case $host_vendor in
8000 shlibpath_overrides_runpath=no
8002 export_dynamic_flag_spec='${wl}-Blargedynsym'
8003 runpath_var=LD_RUN_PATH
8011 shlibpath_overrides_runpath=no
8012 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8018 if test -d /usr/nec ;then
8020 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8021 soname_spec='$libname${shared_ext}.$major'
8022 shlibpath_var=LD_LIBRARY_PATH
8028 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8029 soname_spec='${libname}${release}${shared_ext}$major'
8030 shlibpath_var=LD_LIBRARY_PATH
8037 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8038 echo "${ECHO_T}$dynamic_linker" >&6
8039 test "$dynamic_linker" = no && can_build_shared=no
8041 if test "x$enable_dlopen" != xyes; then
8042 enable_dlopen=unknown
8043 enable_dlopen_self=unknown
8044 enable_dlopen_self_static=unknown
8051 lt_cv_dlopen="load_add_on"
8053 lt_cv_dlopen_self=yes
8057 lt_cv_dlopen="LoadLibrary"
8062 lt_cv_dlopen="dlopen"
8067 # if libdl is installed we need to link against it
8068 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8069 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8070 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8071 echo $ECHO_N "(cached) $ECHO_C" >&6
8073 ac_check_lib_save_LIBS=$LIBS
8075 cat >conftest.$ac_ext <<_ACEOF
8076 #line $LINENO "configure"
8079 cat confdefs.h >>conftest.$ac_ext
8080 cat >>conftest.$ac_ext <<_ACEOF
8081 /* end confdefs.h. */
8083 /* Override any gcc2 internal prototype to avoid an error. */
8087 /* We use char because int might match the return type of a gcc2
8088 builtin and then its argument prototype would still apply. */
8098 rm -f conftest.$ac_objext conftest$ac_exeext
8099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8100 (eval $ac_link) 2>&5
8102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8103 (exit $ac_status); } &&
8104 { ac_try='test -s conftest$ac_exeext'
8105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8109 (exit $ac_status); }; }; then
8110 ac_cv_lib_dl_dlopen=yes
8112 echo "$as_me: failed program was:" >&5
8113 sed 's/^/| /' conftest.$ac_ext >&5
8115 ac_cv_lib_dl_dlopen=no
8117 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8118 LIBS=$ac_check_lib_save_LIBS
8120 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8121 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8122 if test $ac_cv_lib_dl_dlopen = yes; then
8123 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8128 lt_cv_dlopen_self=yes
8135 echo "$as_me:$LINENO: checking for shl_load" >&5
8136 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8137 if test "${ac_cv_func_shl_load+set}" = set; then
8138 echo $ECHO_N "(cached) $ECHO_C" >&6
8140 cat >conftest.$ac_ext <<_ACEOF
8141 #line $LINENO "configure"
8144 cat confdefs.h >>conftest.$ac_ext
8145 cat >>conftest.$ac_ext <<_ACEOF
8146 /* end confdefs.h. */
8147 /* System header to define __stub macros and hopefully few prototypes,
8148 which can conflict with char shl_load (); below.
8149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8150 <limits.h> exists even on freestanding compilers. */
8152 # include <limits.h>
8154 # include <assert.h>
8156 /* Override any gcc2 internal prototype to avoid an error. */
8161 /* We use char because int might match the return type of a gcc2
8162 builtin and then its argument prototype would still apply. */
8164 /* The GNU C library defines this for functions which it implements
8165 to always fail with ENOSYS. Some functions are actually named
8166 something starting with __ and the normal name is an alias. */
8167 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8170 char (*f) () = shl_load;
8179 return f != shl_load;
8184 rm -f conftest.$ac_objext conftest$ac_exeext
8185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8186 (eval $ac_link) 2>&5
8188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8189 (exit $ac_status); } &&
8190 { ac_try='test -s conftest$ac_exeext'
8191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8195 (exit $ac_status); }; }; then
8196 ac_cv_func_shl_load=yes
8198 echo "$as_me: failed program was:" >&5
8199 sed 's/^/| /' conftest.$ac_ext >&5
8201 ac_cv_func_shl_load=no
8203 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8205 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8206 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8207 if test $ac_cv_func_shl_load = yes; then
8208 lt_cv_dlopen="shl_load"
8210 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8211 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8212 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8213 echo $ECHO_N "(cached) $ECHO_C" >&6
8215 ac_check_lib_save_LIBS=$LIBS
8217 cat >conftest.$ac_ext <<_ACEOF
8218 #line $LINENO "configure"
8221 cat confdefs.h >>conftest.$ac_ext
8222 cat >>conftest.$ac_ext <<_ACEOF
8223 /* end confdefs.h. */
8225 /* Override any gcc2 internal prototype to avoid an error. */
8229 /* We use char because int might match the return type of a gcc2
8230 builtin and then its argument prototype would still apply. */
8240 rm -f conftest.$ac_objext conftest$ac_exeext
8241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8242 (eval $ac_link) 2>&5
8244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8245 (exit $ac_status); } &&
8246 { ac_try='test -s conftest$ac_exeext'
8247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8251 (exit $ac_status); }; }; then
8252 ac_cv_lib_dld_shl_load=yes
8254 echo "$as_me: failed program was:" >&5
8255 sed 's/^/| /' conftest.$ac_ext >&5
8257 ac_cv_lib_dld_shl_load=no
8259 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8260 LIBS=$ac_check_lib_save_LIBS
8262 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8263 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8264 if test $ac_cv_lib_dld_shl_load = yes; then
8265 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8267 echo "$as_me:$LINENO: checking for dlopen" >&5
8268 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8269 if test "${ac_cv_func_dlopen+set}" = set; then
8270 echo $ECHO_N "(cached) $ECHO_C" >&6
8272 cat >conftest.$ac_ext <<_ACEOF
8273 #line $LINENO "configure"
8276 cat confdefs.h >>conftest.$ac_ext
8277 cat >>conftest.$ac_ext <<_ACEOF
8278 /* end confdefs.h. */
8279 /* System header to define __stub macros and hopefully few prototypes,
8280 which can conflict with char dlopen (); below.
8281 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8282 <limits.h> exists even on freestanding compilers. */
8284 # include <limits.h>
8286 # include <assert.h>
8288 /* Override any gcc2 internal prototype to avoid an error. */
8293 /* We use char because int might match the return type of a gcc2
8294 builtin and then its argument prototype would still apply. */
8296 /* The GNU C library defines this for functions which it implements
8297 to always fail with ENOSYS. Some functions are actually named
8298 something starting with __ and the normal name is an alias. */
8299 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8302 char (*f) () = dlopen;
8316 rm -f conftest.$ac_objext conftest$ac_exeext
8317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8318 (eval $ac_link) 2>&5
8320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8321 (exit $ac_status); } &&
8322 { ac_try='test -s conftest$ac_exeext'
8323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8327 (exit $ac_status); }; }; then
8328 ac_cv_func_dlopen=yes
8330 echo "$as_me: failed program was:" >&5
8331 sed 's/^/| /' conftest.$ac_ext >&5
8333 ac_cv_func_dlopen=no
8335 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8337 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8338 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8339 if test $ac_cv_func_dlopen = yes; then
8340 lt_cv_dlopen="dlopen"
8342 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8343 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8344 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8345 echo $ECHO_N "(cached) $ECHO_C" >&6
8347 ac_check_lib_save_LIBS=$LIBS
8349 cat >conftest.$ac_ext <<_ACEOF
8350 #line $LINENO "configure"
8353 cat confdefs.h >>conftest.$ac_ext
8354 cat >>conftest.$ac_ext <<_ACEOF
8355 /* end confdefs.h. */
8357 /* Override any gcc2 internal prototype to avoid an error. */
8361 /* We use char because int might match the return type of a gcc2
8362 builtin and then its argument prototype would still apply. */
8372 rm -f conftest.$ac_objext conftest$ac_exeext
8373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8374 (eval $ac_link) 2>&5
8376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8377 (exit $ac_status); } &&
8378 { ac_try='test -s conftest$ac_exeext'
8379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8383 (exit $ac_status); }; }; then
8384 ac_cv_lib_dl_dlopen=yes
8386 echo "$as_me: failed program was:" >&5
8387 sed 's/^/| /' conftest.$ac_ext >&5
8389 ac_cv_lib_dl_dlopen=no
8391 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8392 LIBS=$ac_check_lib_save_LIBS
8394 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8395 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8396 if test $ac_cv_lib_dl_dlopen = yes; then
8397 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8399 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8400 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8401 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8402 echo $ECHO_N "(cached) $ECHO_C" >&6
8404 ac_check_lib_save_LIBS=$LIBS
8406 cat >conftest.$ac_ext <<_ACEOF
8407 #line $LINENO "configure"
8410 cat confdefs.h >>conftest.$ac_ext
8411 cat >>conftest.$ac_ext <<_ACEOF
8412 /* end confdefs.h. */
8414 /* Override any gcc2 internal prototype to avoid an error. */
8418 /* We use char because int might match the return type of a gcc2
8419 builtin and then its argument prototype would still apply. */
8429 rm -f conftest.$ac_objext conftest$ac_exeext
8430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8431 (eval $ac_link) 2>&5
8433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8434 (exit $ac_status); } &&
8435 { ac_try='test -s conftest$ac_exeext'
8436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8440 (exit $ac_status); }; }; then
8441 ac_cv_lib_svld_dlopen=yes
8443 echo "$as_me: failed program was:" >&5
8444 sed 's/^/| /' conftest.$ac_ext >&5
8446 ac_cv_lib_svld_dlopen=no
8448 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8449 LIBS=$ac_check_lib_save_LIBS
8451 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8452 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8453 if test $ac_cv_lib_svld_dlopen = yes; then
8454 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8456 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8457 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8458 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8459 echo $ECHO_N "(cached) $ECHO_C" >&6
8461 ac_check_lib_save_LIBS=$LIBS
8463 cat >conftest.$ac_ext <<_ACEOF
8464 #line $LINENO "configure"
8467 cat confdefs.h >>conftest.$ac_ext
8468 cat >>conftest.$ac_ext <<_ACEOF
8469 /* end confdefs.h. */
8471 /* Override any gcc2 internal prototype to avoid an error. */
8475 /* We use char because int might match the return type of a gcc2
8476 builtin and then its argument prototype would still apply. */
8486 rm -f conftest.$ac_objext conftest$ac_exeext
8487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8488 (eval $ac_link) 2>&5
8490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8491 (exit $ac_status); } &&
8492 { ac_try='test -s conftest$ac_exeext'
8493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8497 (exit $ac_status); }; }; then
8498 ac_cv_lib_dld_dld_link=yes
8500 echo "$as_me: failed program was:" >&5
8501 sed 's/^/| /' conftest.$ac_ext >&5
8503 ac_cv_lib_dld_dld_link=no
8505 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8506 LIBS=$ac_check_lib_save_LIBS
8508 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8509 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8510 if test $ac_cv_lib_dld_dld_link = yes; then
8511 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8532 if test "x$lt_cv_dlopen" != xno; then
8538 case $lt_cv_dlopen in
8540 save_CPPFLAGS="$CPPFLAGS"
8541 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8543 save_LDFLAGS="$LDFLAGS"
8544 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8547 LIBS="$lt_cv_dlopen_libs $LIBS"
8549 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8550 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8551 if test "${lt_cv_dlopen_self+set}" = set; then
8552 echo $ECHO_N "(cached) $ECHO_C" >&6
8554 if test "$cross_compiling" = yes; then :
8555 lt_cv_dlopen_self=cross
8557 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8558 lt_status=$lt_dlunknown
8559 cat > conftest.$ac_ext <<EOF
8560 #line 8560 "configure"
8561 #include "confdefs.h"
8570 # define LT_DLGLOBAL RTLD_GLOBAL
8573 # define LT_DLGLOBAL DL_GLOBAL
8575 # define LT_DLGLOBAL 0
8579 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8580 find out it does not work in some platform. */
8581 #ifndef LT_DLLAZY_OR_NOW
8583 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8586 # define LT_DLLAZY_OR_NOW DL_LAZY
8589 # define LT_DLLAZY_OR_NOW RTLD_NOW
8592 # define LT_DLLAZY_OR_NOW DL_NOW
8594 # define LT_DLLAZY_OR_NOW 0
8602 extern "C" void exit (int);
8605 void fnord() { int i=42;}
8608 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8609 int status = $lt_dlunknown;
8613 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8614 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8615 /* dlclose (self); */
8621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8622 (eval $ac_link) 2>&5
8624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8625 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8626 (./conftest; exit; ) 2>/dev/null
8629 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8630 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8631 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
8634 # compilation failed
8635 lt_cv_dlopen_self=no
8642 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8643 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8645 if test "x$lt_cv_dlopen_self" = xyes; then
8646 LDFLAGS="$LDFLAGS $link_static_flag"
8647 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8648 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8649 if test "${lt_cv_dlopen_self_static+set}" = set; then
8650 echo $ECHO_N "(cached) $ECHO_C" >&6
8652 if test "$cross_compiling" = yes; then :
8653 lt_cv_dlopen_self_static=cross
8655 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8656 lt_status=$lt_dlunknown
8657 cat > conftest.$ac_ext <<EOF
8658 #line 8658 "configure"
8659 #include "confdefs.h"
8668 # define LT_DLGLOBAL RTLD_GLOBAL
8671 # define LT_DLGLOBAL DL_GLOBAL
8673 # define LT_DLGLOBAL 0
8677 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8678 find out it does not work in some platform. */
8679 #ifndef LT_DLLAZY_OR_NOW
8681 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8684 # define LT_DLLAZY_OR_NOW DL_LAZY
8687 # define LT_DLLAZY_OR_NOW RTLD_NOW
8690 # define LT_DLLAZY_OR_NOW DL_NOW
8692 # define LT_DLLAZY_OR_NOW 0
8700 extern "C" void exit (int);
8703 void fnord() { int i=42;}
8706 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8707 int status = $lt_dlunknown;
8711 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8712 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8713 /* dlclose (self); */
8719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8720 (eval $ac_link) 2>&5
8722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8723 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8724 (./conftest; exit; ) 2>/dev/null
8727 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8728 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8729 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
8732 # compilation failed
8733 lt_cv_dlopen_self_static=no
8740 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8741 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8744 CPPFLAGS="$save_CPPFLAGS"
8745 LDFLAGS="$save_LDFLAGS"
8750 case $lt_cv_dlopen_self in
8751 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
8752 *) enable_dlopen_self=unknown ;;
8755 case $lt_cv_dlopen_self_static in
8756 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
8757 *) enable_dlopen_self_static=unknown ;;
8762 # Report which librarie types wil actually be built
8763 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8764 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8765 echo "$as_me:$LINENO: result: $can_build_shared" >&5
8766 echo "${ECHO_T}$can_build_shared" >&6
8768 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8769 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8770 test "$can_build_shared" = "no" && enable_shared=no
8772 # On AIX, shared libraries and static libraries use the same namespace, and
8773 # are all built from PIC.
8776 test "$enable_shared" = yes && enable_static=no
8777 if test -n "$RANLIB"; then
8778 archive_cmds="$archive_cmds~\$RANLIB \$lib"
8779 postinstall_cmds='$RANLIB $lib'
8784 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8785 test "$enable_shared" = yes && enable_static=no
8788 darwin* | rhapsody*)
8789 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8790 archive_cmds_need_lc=no
8792 rhapsody* | darwin1.[012])
8793 allow_undefined_flag='-undefined suppress'
8796 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
8799 # FIXME: Relying on posixy $() will cause problems for
8800 # cross-compilation, but unfortunately the echo tests do not
8801 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
8802 # `"' quotes if we put them in here... so don't!
8803 output_verbose_link_cmd='echo'
8804 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8805 module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
8806 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8807 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}'
8808 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}'
8810 hardcode_automatic=yes
8811 hardcode_shlibpath_var=unsupported
8812 whole_archive_flag_spec='-all_load $convenience'
8813 link_all_deplibs=yes
8817 echo "$as_me:$LINENO: result: $enable_shared" >&5
8818 echo "${ECHO_T}$enable_shared" >&6
8820 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8821 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
8822 # Make sure either enable_shared or enable_static is yes.
8823 test "$enable_shared" = yes || enable_static=yes
8824 echo "$as_me:$LINENO: result: $enable_static" >&5
8825 echo "${ECHO_T}$enable_static" >&6
8827 # The else clause should only fire when bootstrapping the
8828 # libtool distribution, otherwise you forgot to ship ltmain.sh
8829 # with your package, and you will get complaints that there are
8830 # no rules to generate ltmain.sh.
8831 if test -f "$ltmain"; then
8832 # See if we are running on zsh, and set the options which allow our commands through
8833 # without removal of \ escapes.
8834 if test -n "${ZSH_VERSION+set}" ; then
8835 setopt NO_GLOB_SUBST
8837 # Now quote all the things that may contain metacharacters while being
8838 # careful not to overquote the AC_SUBSTed values. We take copies of the
8839 # variables and quote the copies for generation of the libtool script.
8840 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8841 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8842 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8843 deplibs_check_method reload_flag reload_cmds need_locks \
8844 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
8845 lt_cv_sys_global_symbol_to_c_name_address \
8846 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8847 old_postinstall_cmds old_postuninstall_cmds \
8851 lt_prog_compiler_wl \
8852 lt_prog_compiler_pic \
8853 lt_prog_compiler_static \
8854 lt_prog_compiler_no_builtin_flag \
8855 export_dynamic_flag_spec \
8856 thread_safe_flag_spec \
8857 whole_archive_flag_spec \
8858 enable_shared_with_static_runtimes \
8860 old_archive_from_new_cmds \
8865 compiler_lib_search_path \
8867 archive_expsym_cmds \
8869 postuninstall_cmds \
8870 old_archive_from_expsyms_cmds \
8871 allow_undefined_flag \
8873 export_symbols_cmds \
8874 hardcode_libdir_flag_spec \
8875 hardcode_libdir_flag_spec_ld \
8876 hardcode_libdir_separator \
8877 hardcode_automatic \
8879 module_expsym_cmds \
8880 lt_cv_prog_compiler_c_o \
8885 old_archive_cmds | \
8886 old_archive_from_new_cmds | \
8888 archive_expsym_cmds | \
8890 module_expsym_cmds | \
8891 old_archive_from_expsyms_cmds | \
8892 export_symbols_cmds | \
8893 extract_expsyms_cmds | reload_cmds | finish_cmds | \
8894 postinstall_cmds | postuninstall_cmds | \
8895 old_postinstall_cmds | old_postuninstall_cmds | \
8896 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
8897 # Double-quote double-evaled strings.
8898 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
8901 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
8907 *'\$0 --fallback-echo"')
8908 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
8913 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
8915 { echo "$as_me:$LINENO: creating $ofile" >&5
8916 echo "$as_me: creating $ofile" >&6;}
8918 cat <<__EOF__ >> "$cfgfile"
8921 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
8922 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
8923 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8925 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
8926 # Free Software Foundation, Inc.
8928 # This file is part of GNU Libtool:
8929 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8931 # This program is free software; you can redistribute it and/or modify
8932 # it under the terms of the GNU General Public License as published by
8933 # the Free Software Foundation; either version 2 of the License, or
8934 # (at your option) any later version.
8936 # This program is distributed in the hope that it will be useful, but
8937 # WITHOUT ANY WARRANTY; without even the implied warranty of
8938 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8939 # General Public License for more details.
8941 # You should have received a copy of the GNU General Public License
8942 # along with this program; if not, write to the Free Software
8943 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8945 # As a special exception to the GNU General Public License, if you
8946 # distribute this file as part of a program that contains a
8947 # configuration script generated by Autoconf, you may include it under
8948 # the same distribution terms that you use for the rest of that program.
8950 # A sed program that does not truncate output.
8953 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
8954 Xsed="$SED -e s/^X//"
8956 # The HP-UX ksh and POSIX shell print the target directory to stdout
8958 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
8960 # The names of the tagged configurations supported by this script.
8963 # ### BEGIN LIBTOOL CONFIG
8965 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
8967 # Shell to use when invoking shell scripts.
8970 # Whether or not to build shared libraries.
8971 build_libtool_libs=$enable_shared
8973 # Whether or not to build static libraries.
8974 build_old_libs=$enable_static
8976 # Whether or not to add -lc for building shared libraries.
8977 build_libtool_need_lc=$archive_cmds_need_lc
8979 # Whether or not to disallow shared libs when runtime libs are static
8980 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
8982 # Whether or not to optimize for fast installation.
8983 fast_install=$enable_fast_install
8986 host_alias=$host_alias
8989 # An echo program that does not interpret backslashes.
8994 AR_FLAGS=$lt_AR_FLAGS
8999 # A language-specific compiler.
9002 # Is the compiler the GNU C compiler?
9008 # The linker used to build libraries.
9011 # Whether we need hard or soft links.
9014 # A BSD-compatible nm program.
9017 # A symbol stripping program
9020 # Used to examine libraries when file_magic_cmd begins "file"
9021 MAGIC_CMD=$MAGIC_CMD
9023 # Used on cygwin: DLL creation program.
9026 # Used on cygwin: object dumper.
9029 # Used on cygwin: assembler.
9032 # The name of the directory that contains temporary libtool files.
9035 # How to create reloadable object files.
9036 reload_flag=$lt_reload_flag
9037 reload_cmds=$lt_reload_cmds
9039 # How to pass a linker flag through the compiler.
9040 wl=$lt_lt_prog_compiler_wl
9042 # Object file suffix (normally "o").
9045 # Old archive suffix (normally "a").
9048 # Shared library suffix (normally ".so").
9051 # Executable file suffix (normally "").
9054 # Additional compiler flags for building library objects.
9055 pic_flag=$lt_lt_prog_compiler_pic
9058 # What is the maximum length of a command?
9059 max_cmd_len=$lt_cv_sys_max_cmd_len
9061 # Does compiler simultaneously support -c and -o options?
9062 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9064 # Must we lock files when doing compilation ?
9065 need_locks=$lt_need_locks
9067 # Do we need the lib prefix for modules?
9068 need_lib_prefix=$need_lib_prefix
9070 # Do we need a version for libraries?
9071 need_version=$need_version
9073 # Whether dlopen is supported.
9074 dlopen_support=$enable_dlopen
9076 # Whether dlopen of programs is supported.
9077 dlopen_self=$enable_dlopen_self
9079 # Whether dlopen of statically linked programs is supported.
9080 dlopen_self_static=$enable_dlopen_self_static
9082 # Compiler flag to prevent dynamic linking.
9083 link_static_flag=$lt_lt_prog_compiler_static
9085 # Compiler flag to turn off builtin functions.
9086 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9088 # Compiler flag to allow reflexive dlopens.
9089 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9091 # Compiler flag to generate shared objects directly from archives.
9092 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9094 # Compiler flag to generate thread-safe objects.
9095 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9097 # Library versioning type.
9098 version_type=$version_type
9100 # Format of library name prefix.
9101 libname_spec=$lt_libname_spec
9103 # List of archive names. First name is the real one, the rest are links.
9104 # The last name is the one that the linker finds with -lNAME.
9105 library_names_spec=$lt_library_names_spec
9107 # The coded name of the library, if different from the real name.
9108 soname_spec=$lt_soname_spec
9110 # Commands used to build and install an old-style archive.
9112 old_archive_cmds=$lt_old_archive_cmds
9113 old_postinstall_cmds=$lt_old_postinstall_cmds
9114 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9116 # Create an old-style archive from a shared archive.
9117 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9119 # Create a temporary old-style archive to link instead of a shared archive.
9120 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9122 # Commands used to build and install a shared archive.
9123 archive_cmds=$lt_archive_cmds
9124 archive_expsym_cmds=$lt_archive_expsym_cmds
9125 postinstall_cmds=$lt_postinstall_cmds
9126 postuninstall_cmds=$lt_postuninstall_cmds
9128 # Commands used to build a loadable module (assumed same as above if empty)
9129 module_cmds=$lt_module_cmds
9130 module_expsym_cmds=$lt_module_expsym_cmds
9132 # Commands to strip libraries.
9133 old_striplib=$lt_old_striplib
9134 striplib=$lt_striplib
9136 # Dependencies to place before the objects being linked to create a
9138 predep_objects=$lt_predep_objects
9140 # Dependencies to place after the objects being linked to create a
9142 postdep_objects=$lt_postdep_objects
9144 # Dependencies to place before the objects being linked to create a
9148 # Dependencies to place after the objects being linked to create a
9150 postdeps=$lt_postdeps
9152 # The library search path used internally by the compiler when linking
9154 compiler_lib_search_path=$lt_compiler_lib_search_path
9156 # Method to check whether dependent libraries are shared objects.
9157 deplibs_check_method=$lt_deplibs_check_method
9159 # Command to use when deplibs_check_method == file_magic.
9160 file_magic_cmd=$lt_file_magic_cmd
9162 # Flag that allows shared libraries with undefined symbols to be built.
9163 allow_undefined_flag=$lt_allow_undefined_flag
9165 # Flag that forces no undefined symbols.
9166 no_undefined_flag=$lt_no_undefined_flag
9168 # Commands used to finish a libtool library installation in a directory.
9169 finish_cmds=$lt_finish_cmds
9171 # Same as above, but a single script fragment to be evaled but not shown.
9172 finish_eval=$lt_finish_eval
9174 # Take the output of nm and produce a listing of raw symbols and C names.
9175 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9177 # Transform the output of nm in a proper C declaration
9178 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9180 # Transform the output of nm in a C name address pair
9181 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9183 # This is the shared library runtime path variable.
9184 runpath_var=$runpath_var
9186 # This is the shared library path variable.
9187 shlibpath_var=$shlibpath_var
9189 # Is shlibpath searched before the hard-coded library search path?
9190 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9192 # How to hardcode a shared library path into an executable.
9193 hardcode_action=$hardcode_action
9195 # Whether we should hardcode library paths into libraries.
9196 hardcode_into_libs=$hardcode_into_libs
9198 # Flag to hardcode \$libdir into a binary during linking.
9199 # This must work even if \$libdir does not exist.
9200 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9202 # If ld is used when linking, flag to hardcode \$libdir into
9203 # a binary during linking. This must work even if \$libdir does
9205 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9207 # Whether we need a single -rpath flag with a separated argument.
9208 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9210 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9212 hardcode_direct=$hardcode_direct
9214 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9216 hardcode_minus_L=$hardcode_minus_L
9218 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9219 # the resulting binary.
9220 hardcode_shlibpath_var=$hardcode_shlibpath_var
9222 # Set to yes if building a shared library automatically hardcodes DIR into the library
9223 # and all subsequent libraries and executables linked against it.
9224 hardcode_automatic=$hardcode_automatic
9226 # Variables whose values should be saved in libtool wrapper scripts and
9227 # restored at relink time.
9228 variables_saved_for_relink="$variables_saved_for_relink"
9230 # Whether libtool must link a program against all its dependency libraries.
9231 link_all_deplibs=$link_all_deplibs
9233 # Compile-time system search path for libraries
9234 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9236 # Run-time system search path for libraries
9237 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9239 # Fix the shell variable \$srcfile for the compiler.
9240 fix_srcfile_path="$fix_srcfile_path"
9242 # Set to yes if exported symbols are required.
9243 always_export_symbols=$always_export_symbols
9245 # The commands to list exported symbols.
9246 export_symbols_cmds=$lt_export_symbols_cmds
9248 # The commands to extract the exported symbol list from a shared archive.
9249 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9251 # Symbols that should not be listed in the preloaded symbols.
9252 exclude_expsyms=$lt_exclude_expsyms
9254 # Symbols that must always be exported.
9255 include_expsyms=$lt_include_expsyms
9257 # ### END LIBTOOL CONFIG
9264 cat <<\EOF >> "$cfgfile"
9266 # AIX sometimes has problems with the GCC collect2 program. For some
9267 # reason, if we set the COLLECT_NAMES environment variable, the problems
9268 # vanish in a puff of smoke.
9269 if test "X${COLLECT_NAMES+set}" != Xset; then
9271 export COLLECT_NAMES
9277 # We use sed instead of cat because bash on DJGPP gets confused if
9278 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9279 # text mode, it properly converts lines to CR/LF. This bash problem
9280 # is reportedly fixed, but why not run on old versions too?
9281 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9283 mv -f "$cfgfile" "$ofile" || \
9284 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9288 # If there is no Makefile yet, we rely on a make rule to execute
9289 # `config.status --recheck' to rerun these tests and create the
9290 # libtool script then.
9291 test -f Makefile && make "$ltmain"
9296 ac_cpp='$CPP $CPPFLAGS'
9297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9304 # Check whether --with-tags or --without-tags was given.
9305 if test "${with_tags+set}" = set; then
9306 withval="$with_tags"
9310 if test -f "$ltmain" && test -n "$tagnames"; then
9311 if test ! -f "${ofile}"; then
9312 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9313 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9316 if test -z "$LTCC"; then
9317 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9318 if test -z "$LTCC"; then
9319 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9320 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9322 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9323 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9327 # Extract list of available tagged configurations in $ofile.
9328 # Note that this assumes the entire list is on one line.
9329 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9331 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9332 for tagname in $tagnames; do
9334 # Check whether tagname contains only valid characters
9335 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9337 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9338 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9339 { (exit 1); exit 1; }; }
9343 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9345 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9346 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9347 { (exit 1); exit 1; }; }
9350 # Update the list of available tags.
9351 if test -n "$tagname"; then
9352 echo appending configuration tag \"$tagname\" to $ofile
9356 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9358 ac_cpp='$CXXCPP $CPPFLAGS'
9359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9366 archive_cmds_need_lc_CXX=no
9367 allow_undefined_flag_CXX=
9368 always_export_symbols_CXX=no
9369 archive_expsym_cmds_CXX=
9370 export_dynamic_flag_spec_CXX=
9371 hardcode_direct_CXX=no
9372 hardcode_libdir_flag_spec_CXX=
9373 hardcode_libdir_flag_spec_ld_CXX=
9374 hardcode_libdir_separator_CXX=
9375 hardcode_minus_L_CXX=no
9376 hardcode_automatic_CXX=no
9378 module_expsym_cmds_CXX=
9379 link_all_deplibs_CXX=unknown
9380 old_archive_cmds_CXX=$old_archive_cmds
9381 no_undefined_flag_CXX=
9382 whole_archive_flag_spec_CXX=
9383 enable_shared_with_static_runtimes_CXX=no
9385 # Dependencies to place before and after the object being linked:
9387 postdep_objects_CXX=
9390 compiler_lib_search_path_CXX=
9392 # Source file extension for C++ test sources.
9395 # Object file extension for compiled C++ test sources.
9399 # Code to be used in simple compile tests
9400 lt_simple_compile_test_code="int some_variable = 0;\n"
9402 # Code to be used in simple link tests
9403 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
9405 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9407 # If no C compiler was specified, use CC.
9410 # Allow CC to be a program name with arguments.
9414 # Allow CC to be a program name with arguments.
9419 lt_save_with_gnu_ld=$with_gnu_ld
9420 lt_save_path_LD=$lt_cv_path_LD
9421 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9422 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9424 unset lt_cv_prog_gnu_ld
9426 if test -n "${lt_cv_path_LDCXX+set}"; then
9427 lt_cv_path_LD=$lt_cv_path_LDCXX
9431 test -z "${LDCXX+set}" || LD=$LDCXX
9435 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9437 # We don't want -fno-exception wen compiling C++ code, so set the
9438 # no_builtin_flag separately
9439 if test "$GXX" = yes; then
9440 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9442 lt_prog_compiler_no_builtin_flag_CXX=
9445 if test "$GXX" = yes; then
9446 # Set up default GNU C++ configuration
9449 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9450 if test "${with_gnu_ld+set}" = set; then
9451 withval="$with_gnu_ld"
9452 test "$withval" = no || with_gnu_ld=yes
9457 if test "$GCC" = yes; then
9458 # Check if gcc -print-prog-name=ld gives a path.
9459 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9460 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9463 # gcc leaves a trailing carriage return which upsets mingw
9464 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9466 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9469 # Accept absolute paths.
9471 re_direlt='/[^/][^/]*/\.\./'
9472 # Canonicalize the path of ld
9473 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9474 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9475 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9477 test -z "$LD" && LD="$ac_prog"
9480 # If it fails, then pretend we aren't using GCC.
9484 # If it is relative, then search for the first ld in PATH.
9488 elif test "$with_gnu_ld" = yes; then
9489 echo "$as_me:$LINENO: checking for GNU ld" >&5
9490 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9492 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9493 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9495 if test "${lt_cv_path_LD+set}" = set; then
9496 echo $ECHO_N "(cached) $ECHO_C" >&6
9498 if test -z "$LD"; then
9499 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9500 for ac_dir in $PATH; do
9502 test -z "$ac_dir" && ac_dir=.
9503 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9504 lt_cv_path_LD="$ac_dir/$ac_prog"
9505 # Check to see if the program is GNU ld. I'd rather use --version,
9506 # but apparently some GNU ld's only accept -v.
9507 # Break only if it was the GNU/non-GNU ld that we prefer.
9508 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9509 *GNU* | *'with BFD'*)
9510 test "$with_gnu_ld" != no && break
9513 test "$with_gnu_ld" != yes && break
9520 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9525 if test -n "$LD"; then
9526 echo "$as_me:$LINENO: result: $LD" >&5
9527 echo "${ECHO_T}$LD" >&6
9529 echo "$as_me:$LINENO: result: no" >&5
9530 echo "${ECHO_T}no" >&6
9532 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9533 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9534 { (exit 1); exit 1; }; }
9535 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9536 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9537 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9538 echo $ECHO_N "(cached) $ECHO_C" >&6
9540 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9541 case `"$LD" -v 2>&1 </dev/null` in
9542 *GNU* | *'with BFD'*)
9543 lt_cv_prog_gnu_ld=yes
9546 lt_cv_prog_gnu_ld=no
9550 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9551 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9552 with_gnu_ld=$lt_cv_prog_gnu_ld
9556 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9557 # archiving commands below assume that GNU ld is being used.
9558 if test "$with_gnu_ld" = yes; then
9559 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9560 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'
9562 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
9563 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9565 # If archive_cmds runs LD, not CC, wlarc should be empty
9566 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9567 # investigate it a little bit more. (MM)
9570 # ancient GNU ld didn't support --whole-archive et. al.
9571 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9572 grep 'no-whole-archive' > /dev/null; then
9573 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9575 whole_archive_flag_spec_CXX=
9581 # A generic and very simple default shared library creation
9582 # command for GNU C++ for the case where it uses the native
9583 # linker, instead of GNU ld. If possible, this setting should
9584 # overridden to take advantage of the native linker features on
9585 # the platform it is being used on.
9586 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9589 # Commands to make compiler produce verbose output that lists
9590 # what "hidden" libraries, object files and flags are used when
9591 # linking a shared library.
9592 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9600 # PORTME: fill in a description of your system's C++ link characteristics
9601 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9602 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9606 # FIXME: insert proper C++ library support
9610 if test "$host_cpu" = ia64; then
9611 # On IA64, the linker does run time linking by default, so we don't
9612 # have to do anything special.
9613 aix_use_runtimelinking=no
9614 exp_sym_flag='-Bexport'
9617 aix_use_runtimelinking=no
9619 # Test if we are trying to use run time linking or normal
9620 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9621 # need to do runtime linking.
9622 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9623 for ld_flag in $LDFLAGS; do
9626 aix_use_runtimelinking=yes
9633 exp_sym_flag='-bexport'
9634 no_entry_flag='-bnoentry'
9637 # When large executables or shared objects are built, AIX ld can
9638 # have problems creating the table of contents. If linking a library
9639 # or program results in "error TOC overflow" add -mminimal-toc to
9640 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9641 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9644 hardcode_direct_CXX=yes
9645 hardcode_libdir_separator_CXX=':'
9646 link_all_deplibs_CXX=yes
9648 if test "$GXX" = yes; then
9649 case $host_os in aix4.012|aix4.012.*)
9650 # We only want to do this on AIX 4.2 and lower, the check
9651 # below for broken collect2 doesn't work under 4.3+
9652 collect2name=`${CC} -print-prog-name=collect2`
9653 if test -f "$collect2name" && \
9654 strings "$collect2name" | grep resolve_lib_name >/dev/null
9656 # We have reworked collect2
9657 hardcode_direct_CXX=yes
9659 # We have old collect2
9660 hardcode_direct_CXX=unsupported
9661 # It fails to find uninstalled libraries when the uninstalled
9662 # path is not listed in the libpath. Setting hardcode_minus_L
9663 # to unsupported forces relinking
9664 hardcode_minus_L_CXX=yes
9665 hardcode_libdir_flag_spec_CXX='-L$libdir'
9666 hardcode_libdir_separator_CXX=
9669 shared_flag='-shared'
9672 if test "$host_cpu" = ia64; then
9673 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9674 # chokes on -Wl,-G. The following line is correct:
9677 if test "$aix_use_runtimelinking" = yes; then
9678 shared_flag='${wl}-G'
9680 shared_flag='${wl}-bM:SRE'
9685 # It seems that -bexpall does not export symbols beginning with
9686 # underscore (_), so it is better to generate a list of symbols to export.
9687 always_export_symbols_CXX=yes
9688 if test "$aix_use_runtimelinking" = yes; then
9689 # Warning - without using the other runtime loading flags (-brtl),
9690 # -berok will link without error, but may produce a broken library.
9691 allow_undefined_flag_CXX='-berok'
9692 # Determine the default libpath from the value encoded in an empty executable.
9693 cat >conftest.$ac_ext <<_ACEOF
9694 #line $LINENO "configure"
9697 cat confdefs.h >>conftest.$ac_ext
9698 cat >>conftest.$ac_ext <<_ACEOF
9699 /* end confdefs.h. */
9709 rm -f conftest.$ac_objext conftest$ac_exeext
9710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9711 (eval $ac_link) 2>&5
9713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9714 (exit $ac_status); } &&
9715 { ac_try='test -s conftest$ac_exeext'
9716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9720 (exit $ac_status); }; }; then
9722 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9724 # Check for a 64-bit object if we didn't find anything.
9725 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; }
9728 echo "$as_me: failed program was:" >&5
9729 sed 's/^/| /' conftest.$ac_ext >&5
9732 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9733 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9735 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9737 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"
9739 if test "$host_cpu" = ia64; then
9740 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
9741 allow_undefined_flag_CXX="-z nodefs"
9742 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"
9744 # Determine the default libpath from the value encoded in an empty executable.
9745 cat >conftest.$ac_ext <<_ACEOF
9746 #line $LINENO "configure"
9749 cat confdefs.h >>conftest.$ac_ext
9750 cat >>conftest.$ac_ext <<_ACEOF
9751 /* end confdefs.h. */
9761 rm -f conftest.$ac_objext conftest$ac_exeext
9762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9763 (eval $ac_link) 2>&5
9765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9766 (exit $ac_status); } &&
9767 { ac_try='test -s conftest$ac_exeext'
9768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9772 (exit $ac_status); }; }; then
9774 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9776 # Check for a 64-bit object if we didn't find anything.
9777 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; }
9780 echo "$as_me: failed program was:" >&5
9781 sed 's/^/| /' conftest.$ac_ext >&5
9784 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9785 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9787 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9788 # Warning - without using the other run time loading flags,
9789 # -berok will link without error, but may produce a broken library.
9790 no_undefined_flag_CXX=' ${wl}-bernotok'
9791 allow_undefined_flag_CXX=' ${wl}-berok'
9792 # -bexpall does not export symbols beginning with underscore (_)
9793 always_export_symbols_CXX=yes
9794 # Exported symbols can be pulled into shared objects from archives
9795 whole_archive_flag_spec_CXX=' '
9796 archive_cmds_need_lc_CXX=yes
9797 # This is similar to how AIX traditionally builds it's shared libraries.
9798 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'
9803 case $cc_basename in
9805 # FIXME: insert proper C++ library support
9811 cygwin* | mingw* | pw32*)
9812 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
9813 # as there is no search path for DLLs.
9814 hardcode_libdir_flag_spec_CXX='-L$libdir'
9815 allow_undefined_flag_CXX=unsupported
9816 always_export_symbols_CXX=no
9817 enable_shared_with_static_runtimes_CXX=yes
9819 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9820 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'
9821 # If the export-symbols file already is a .def file (1st line
9822 # is EXPORTS), use it as is; otherwise, prepend...
9823 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9824 cp $export_symbols $output_objdir/$soname.def;
9826 echo EXPORTS > $output_objdir/$soname.def;
9827 cat $export_symbols >> $output_objdir/$soname.def;
9829 $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'
9835 darwin* | rhapsody*)
9836 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9837 archive_cmds_need_lc_CXX=no
9839 rhapsody* | darwin1.[012])
9840 allow_undefined_flag_CXX='-undefined suppress'
9843 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9846 lt_int_apple_cc_single_mod=no
9847 output_verbose_link_cmd='echo'
9848 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9849 lt_int_apple_cc_single_mod=yes
9851 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9852 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9854 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'
9856 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9858 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9859 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9860 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}'
9862 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}'
9864 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}'
9865 hardcode_direct_CXX=no
9866 hardcode_automatic_CXX=yes
9867 hardcode_shlibpath_var_CXX=unsupported
9868 whole_archive_flag_spec_CXX='-all_load $convenience'
9869 link_all_deplibs_CXX=yes
9874 case $cc_basename in
9876 # FIXME: insert proper C++ library support
9880 # Green Hills C++ Compiler
9881 # FIXME: insert proper C++ library support
9885 # FIXME: insert proper C++ library support
9891 # C++ shared libraries reported to be fairly broken before switch to ELF
9895 archive_cmds_need_lc_CXX=no
9898 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
9905 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9906 hardcode_libdir_separator_CXX=:
9907 export_dynamic_flag_spec_CXX='${wl}-E'
9908 hardcode_direct_CXX=yes
9909 hardcode_minus_L_CXX=yes # Not in the search PATH,
9910 # but as the default
9911 # location of the library.
9913 case $cc_basename in
9915 # FIXME: insert proper C++ library support
9919 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'
9920 # Commands to make compiler produce verbose output that lists
9921 # what "hidden" libraries, object files and flags are used when
9922 # linking a shared library.
9924 # There doesn't appear to be a way to prevent this compiler from
9925 # explicitly linking system object files so we need to strip them
9926 # from the output so that they don't get included in the library
9928 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'
9931 if test "$GXX" = yes; then
9932 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'
9934 # FIXME: insert proper C++ library support
9941 if test $with_gnu_ld = no; then
9944 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9945 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
9946 hardcode_libdir_separator_CXX=:
9949 hardcode_libdir_flag_spec_CXX='-L$libdir'
9952 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9953 hardcode_libdir_separator_CXX=:
9954 export_dynamic_flag_spec_CXX='${wl}-E'
9960 hardcode_direct_CXX=no
9961 hardcode_shlibpath_var_CXX=no
9964 hardcode_direct_CXX=no
9965 hardcode_shlibpath_var_CXX=no
9966 hardcode_minus_L_CXX=yes # Not in the search PATH,
9967 # but as the default
9968 # location of the library.
9971 hardcode_direct_CXX=yes
9972 hardcode_minus_L_CXX=yes # Not in the search PATH,
9973 # but as the default
9974 # location of the library.
9978 case $cc_basename in
9980 # FIXME: insert proper C++ library support
9986 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
9989 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
9992 # Commands to make compiler produce verbose output that lists
9993 # what "hidden" libraries, object files and flags are used when
9994 # linking a shared library.
9996 # There doesn't appear to be a way to prevent this compiler from
9997 # explicitly linking system object files so we need to strip them
9998 # from the output so that they don't get included in the library
10000 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'
10003 if test "$GXX" = yes; then
10004 if test $with_gnu_ld = no; then
10005 case "$host_cpu" in
10007 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10010 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'
10015 # FIXME: insert proper C++ library support
10022 case $cc_basename in
10025 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'
10027 # Archives containing C++ object files must be created using
10028 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10029 # necessary to make sure instantiated templates are included
10031 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10034 if test "$GXX" = yes; then
10035 if test "$with_gnu_ld" = no; then
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` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
10038 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'
10041 link_all_deplibs_CXX=yes
10044 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10045 hardcode_libdir_separator_CXX=:
10048 case $cc_basename in
10050 # Kuck and Associates, Inc. (KAI) C++ Compiler
10052 # KCC will only create a shared library if the output file
10053 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10054 # to its proper name (with version) after linking.
10055 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'
10056 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'
10057 # Commands to make compiler produce verbose output that lists
10058 # what "hidden" libraries, object files and flags are used when
10059 # linking a shared library.
10061 # There doesn't appear to be a way to prevent this compiler from
10062 # explicitly linking system object files so we need to strip them
10063 # from the output so that they don't get included in the library
10065 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'
10067 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10068 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10070 # Archives containing C++ object files must be created using
10071 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10072 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10077 archive_cmds_need_lc_CXX=no
10078 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10079 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'
10080 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10081 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10082 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10086 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10087 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'
10089 runpath_var=LD_RUN_PATH
10090 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10091 hardcode_libdir_separator_CXX=:
10093 # Commands to make compiler produce verbose output that lists
10094 # what "hidden" libraries, object files and flags are used when
10095 # linking a shared library.
10097 # There doesn't appear to be a way to prevent this compiler from
10098 # explicitly linking system object files so we need to strip them
10099 # from the output so that they don't get included in the library
10101 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'
10106 # FIXME: insert proper C++ library support
10110 # FIXME: insert proper C++ library support
10114 case $cc_basename in
10116 # FIXME: insert proper C++ library support
10120 # FIXME: insert proper C++ library support
10126 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10127 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10129 hardcode_libdir_flag_spec_CXX='-R$libdir'
10130 hardcode_direct_CXX=yes
10131 hardcode_shlibpath_var_CXX=no
10133 # Workaround some broken pre-1.5 toolchains
10134 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10137 case $cc_basename in
10139 # Kuck and Associates, Inc. (KAI) C++ Compiler
10141 # KCC will only create a shared library if the output file
10142 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10143 # to its proper name (with version) after linking.
10144 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'
10146 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10147 hardcode_libdir_separator_CXX=:
10149 # Archives containing C++ object files must be created using
10150 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10151 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10155 # Rational C++ 2.4.1
10156 # FIXME: insert proper C++ library support
10160 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10161 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'
10163 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10164 hardcode_libdir_separator_CXX=:
10166 # Commands to make compiler produce verbose output that lists
10167 # what "hidden" libraries, object files and flags are used when
10168 # linking a shared library.
10170 # There doesn't appear to be a way to prevent this compiler from
10171 # explicitly linking system object files so we need to strip them
10172 # from the output so that they don't get included in the library
10174 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'
10177 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10178 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10179 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'
10181 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10182 hardcode_libdir_separator_CXX=:
10184 # Commands to make compiler produce verbose output that lists
10185 # what "hidden" libraries, object files and flags are used when
10186 # linking a shared library.
10187 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10190 # FIXME: insert proper C++ library support
10197 case $cc_basename in
10199 # Kuck and Associates, Inc. (KAI) C++ Compiler
10201 # KCC will only create a shared library if the output file
10202 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10203 # to its proper name (with version) after linking.
10204 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'
10206 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10207 hardcode_libdir_separator_CXX=:
10209 # Archives containing C++ object files must be created using
10210 # the KAI C++ compiler.
10211 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10214 # Rational C++ 2.4.1
10215 # FIXME: insert proper C++ library support
10219 allow_undefined_flag_CXX=' -expect_unresolved \*'
10220 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'
10221 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10222 echo "-hidden">> $lib.exp~
10223 $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~
10226 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10227 hardcode_libdir_separator_CXX=:
10229 # Commands to make compiler produce verbose output that lists
10230 # what "hidden" libraries, object files and flags are used when
10231 # linking a shared library.
10233 # There doesn't appear to be a way to prevent this compiler from
10234 # explicitly linking system object files so we need to strip them
10235 # from the output so that they don't get included in the library
10237 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'
10240 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10241 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10242 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'
10244 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10245 hardcode_libdir_separator_CXX=:
10247 # Commands to make compiler produce verbose output that lists
10248 # what "hidden" libraries, object files and flags are used when
10249 # linking a shared library.
10250 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10253 # FIXME: insert proper C++ library support
10260 # FIXME: insert proper C++ library support
10264 archive_cmds_need_lc_CXX=no
10265 case $cc_basename in
10267 # FIXME: insert proper C++ library support
10271 # FIXME: insert proper C++ library support
10277 case $cc_basename in
10280 # FIXME: insert proper C++ library support
10285 # FIXME: insert proper C++ library support
10289 # FIXME: insert proper C++ library support
10295 case $cc_basename in
10297 # Sun C++ 4.2, 5.x and Centerline C++
10298 no_undefined_flag_CXX=' -zdefs'
10299 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10300 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10301 $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'
10303 hardcode_libdir_flag_spec_CXX='-R$libdir'
10304 hardcode_shlibpath_var_CXX=no
10306 solaris2.0-5 | solaris2.0-5.*) ;;
10308 # The C++ compiler is used as linker so we must use $wl
10309 # flag to pass the commands to the underlying system
10311 # Supported since Solaris 2.6 (maybe 2.5.1?)
10312 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10315 link_all_deplibs_CXX=yes
10317 # Commands to make compiler produce verbose output that lists
10318 # what "hidden" libraries, object files and flags are used when
10319 # linking a shared library.
10321 # There doesn't appear to be a way to prevent this compiler from
10322 # explicitly linking system object files so we need to strip them
10323 # from the output so that they don't get included in the library
10325 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'
10327 # Archives containing C++ object files must be created using
10328 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10329 # necessary to make sure instantiated templates are included
10331 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10334 # Green Hills C++ Compiler
10335 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10337 # The C++ compiler must be used to create the archive.
10338 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10341 # GNU C++ compiler with Solaris linker
10342 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10343 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10344 if $CC --version | grep -v '^2\.7' > /dev/null; then
10345 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10346 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10347 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10349 # Commands to make compiler produce verbose output that lists
10350 # what "hidden" libraries, object files and flags are used when
10351 # linking a shared library.
10352 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10354 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10356 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10357 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10358 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10360 # Commands to make compiler produce verbose output that lists
10361 # what "hidden" libraries, object files and flags are used when
10362 # linking a shared library.
10363 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10366 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10371 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10372 archive_cmds_need_lc_CXX=no
10375 case $cc_basename in
10377 # NonStop-UX NCC 3.20
10378 # FIXME: insert proper C++ library support
10382 # FIXME: insert proper C++ library support
10388 # FIXME: insert proper C++ library support
10392 # FIXME: insert proper C++ library support
10396 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10397 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10398 test "$ld_shlibs_CXX" = no && can_build_shared=no
10404 ## There is no encapsulation within the following macros, do not change
10405 ## the running order or otherwise move them around unless you know exactly
10406 ## what you are doing...
10408 cat > conftest.$ac_ext <<EOF
10412 Foo (void) { a = 0; }
10418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10419 (eval $ac_compile) 2>&5
10421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10422 (exit $ac_status); }; then
10423 # Parse the compiler output and extract the necessary
10424 # objects, libraries and library flags.
10426 # Sentinel used to keep track of whether or not we are before
10427 # the conftest object file.
10428 pre_test_object_deps_done=no
10430 # The `*' in the case matches for architectures that use `case' in
10431 # $output_verbose_cmd can trigger glob expansion during the loop
10432 # eval without this substitution.
10433 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10435 for p in `eval $output_verbose_link_cmd`; do
10439 # Some compilers place space between "-{L,R}" and the path.
10440 # Remove the space.
10441 if test $p = "-L" \
10442 || test $p = "-R"; then
10449 if test "$pre_test_object_deps_done" = no; then
10452 # Internal compiler library paths should come after those
10453 # provided the user. The postdeps already come after the
10454 # user supplied libs so there is no need to process them.
10455 if test -z "$compiler_lib_search_path_CXX"; then
10456 compiler_lib_search_path_CXX="${prev}${p}"
10458 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10461 # The "-l" case would never come before the object being
10462 # linked, so don't bother handling this case.
10465 if test -z "$postdeps_CXX"; then
10466 postdeps_CXX="${prev}${p}"
10468 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10474 # This assumes that the test object file only shows up
10475 # once in the compiler output.
10476 if test "$p" = "conftest.$objext"; then
10477 pre_test_object_deps_done=yes
10481 if test "$pre_test_object_deps_done" = no; then
10482 if test -z "$predep_objects_CXX"; then
10483 predep_objects_CXX="$p"
10485 predep_objects_CXX="$predep_objects_CXX $p"
10488 if test -z "$postdep_objects_CXX"; then
10489 postdep_objects_CXX="$p"
10491 postdep_objects_CXX="$postdep_objects_CXX $p"
10496 *) ;; # Ignore the rest.
10504 echo "libtool.m4: error: problem compiling CXX test program"
10507 $rm -f confest.$objext
10509 case " $postdeps_CXX " in
10510 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
10513 lt_prog_compiler_wl_CXX=
10514 lt_prog_compiler_pic_CXX=
10515 lt_prog_compiler_static_CXX=
10517 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10518 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10520 # C++ specific cases for pic, static, wl, etc.
10521 if test "$GXX" = yes; then
10522 lt_prog_compiler_wl_CXX='-Wl,'
10523 lt_prog_compiler_static_CXX='-static'
10527 # All AIX code is PIC.
10528 if test "$host_cpu" = ia64; then
10529 # AIX 5 now supports IA64 processor
10530 lt_prog_compiler_static_CXX='-Bstatic'
10534 # FIXME: we need at least 68020 code to build shared libraries, but
10535 # adding the `-m68020' flag to GCC prevents building anything better,
10537 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10539 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10540 # PIC is the default for these OSes.
10542 mingw* | os2* | pw32*)
10543 # This hack is so that the source file can tell whether it is being
10544 # built for inclusion in a dll (and should export symbols for example).
10545 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10547 darwin* | rhapsody*)
10548 # PIC is the default on this platform
10549 # Common symbols not allowed in MH_DYLIB files
10550 lt_prog_compiler_pic_CXX='-fno-common'
10553 # DJGPP does not support shared libraries at all
10554 lt_prog_compiler_pic_CXX=
10557 if test -d /usr/nec; then
10558 lt_prog_compiler_pic_CXX=-Kconform_pic
10562 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10563 # not for PA HP-UX.
10564 case "$host_cpu" in
10568 lt_prog_compiler_pic_CXX='-fPIC'
10573 lt_prog_compiler_pic_CXX='-fPIC'
10579 # All AIX code is PIC.
10580 if test "$host_cpu" = ia64; then
10581 # AIX 5 now supports IA64 processor
10582 lt_prog_compiler_static_CXX='-Bstatic'
10584 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
10588 case $cc_basename in
10590 # Green Hills C++ Compiler
10591 # _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"
10596 case $cc_basename in
10598 lt_prog_compiler_pic_CXX='-KPIC'
10601 # Green Hills C++ Compiler
10602 lt_prog_compiler_pic_CXX='-pic'
10609 # FreeBSD uses GNU C++
10611 hpux9* | hpux10* | hpux11*)
10612 case $cc_basename in
10614 lt_prog_compiler_wl_CXX='-Wl,'
10615 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10616 if test "$host_cpu" != ia64; then
10617 lt_prog_compiler_pic_CXX='+Z'
10621 lt_prog_compiler_wl_CXX='-Wl,'
10622 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10623 case "$host_cpu" in
10628 lt_prog_compiler_pic_CXX='+Z'
10636 irix5* | irix6* | nonstopux*)
10637 case $cc_basename in
10639 lt_prog_compiler_wl_CXX='-Wl,'
10640 lt_prog_compiler_static_CXX='-non_shared'
10641 # CC pic flag -KPIC is the default.
10648 case $cc_basename in
10651 lt_prog_compiler_wl_CXX='--backend -Wl,'
10652 lt_prog_compiler_pic_CXX='-fPIC'
10656 lt_prog_compiler_wl_CXX='-Wl,'
10657 lt_prog_compiler_pic_CXX='-KPIC'
10658 lt_prog_compiler_static_CXX='-static'
10662 # Make sure the PIC flag is empty. It appears that all Alpha
10663 # Linux and Compaq Tru64 Unix objects are PIC.
10664 lt_prog_compiler_pic_CXX=
10665 lt_prog_compiler_static_CXX='-non_shared'
10676 case $cc_basename in
10678 lt_prog_compiler_pic_CXX='-W c,exportall'
10686 osf3* | osf4* | osf5*)
10687 case $cc_basename in
10689 lt_prog_compiler_wl_CXX='--backend -Wl,'
10692 # Rational C++ 2.4.1
10693 lt_prog_compiler_pic_CXX='-pic'
10696 # Digital/Compaq C++
10697 lt_prog_compiler_wl_CXX='-Wl,'
10698 # Make sure the PIC flag is empty. It appears that all Alpha
10699 # Linux and Compaq Tru64 Unix objects are PIC.
10700 lt_prog_compiler_pic_CXX=
10701 lt_prog_compiler_static_CXX='-non_shared'
10710 case $cc_basename in
10712 lt_prog_compiler_pic_CXX='-fPIC'
10719 case $cc_basename in
10721 # Sun C++ 4.2, 5.x and Centerline C++
10722 lt_prog_compiler_pic_CXX='-KPIC'
10723 lt_prog_compiler_static_CXX='-Bstatic'
10724 lt_prog_compiler_wl_CXX='-Qoption ld '
10727 # Green Hills C++ Compiler
10728 lt_prog_compiler_pic_CXX='-PIC'
10735 case $cc_basename in
10738 lt_prog_compiler_pic_CXX='-pic'
10739 lt_prog_compiler_static_CXX='-Bstatic'
10743 lt_prog_compiler_pic_CXX='-pic'
10750 case $cc_basename in
10752 # NonStop-UX NCC 3.20
10753 lt_prog_compiler_pic_CXX='-KPIC'
10764 lt_prog_compiler_can_build_shared_CXX=no
10769 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10770 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
10773 # Check to make sure the PIC flag actually works.
10775 if test -n "$lt_prog_compiler_pic_CXX"; then
10776 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10777 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
10778 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10779 echo $ECHO_N "(cached) $ECHO_C" >&6
10781 lt_prog_compiler_pic_works_CXX=no
10782 ac_outfile=conftest.$ac_objext
10783 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10784 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
10785 # Insert the option either (1) after the last *FLAGS variable, or
10786 # (2) before a word containing "conftest.", or (3) at the end.
10787 # Note that $ac_compile itself does not contain backslashes and begins
10788 # with a dollar sign (not a hyphen), so the echo should work correctly.
10789 # The option is referenced via a variable to avoid confusing sed.
10790 lt_compile=`echo "$ac_compile" | $SED \
10791 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10792 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10793 -e 's:$: $lt_compiler_flag:'`
10794 (eval echo "\"\$as_me:10794: $lt_compile\"" >&5)
10795 (eval "$lt_compile" 2>conftest.err)
10797 cat conftest.err >&5
10798 echo "$as_me:10798: \$? = $ac_status" >&5
10799 if (exit $ac_status) && test -s "$ac_outfile"; then
10800 # The compiler can only warn and ignore the option if not recognized
10801 # So say no if there are warnings
10802 if test ! -s conftest.err; then
10803 lt_prog_compiler_pic_works_CXX=yes
10809 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10810 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
10812 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
10813 case $lt_prog_compiler_pic_CXX in
10815 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
10818 lt_prog_compiler_pic_CXX=
10819 lt_prog_compiler_can_build_shared_CXX=no
10824 # For platforms which do not support PIC, -DPIC is meaningless:
10826 lt_prog_compiler_pic_CXX=
10829 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
10833 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10834 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10835 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
10836 echo $ECHO_N "(cached) $ECHO_C" >&6
10838 lt_cv_prog_compiler_c_o_CXX=no
10839 $rm -r conftest 2>/dev/null
10843 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10845 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10846 # that will create temporary files in the current directory regardless of
10847 # the output directory. Thus, making CWD read-only will cause this test
10848 # to fail, enabling locking or at least warning the user not to do parallel
10852 lt_compiler_flag="-o out/conftest2.$ac_objext"
10853 # Insert the option either (1) after the last *FLAGS variable, or
10854 # (2) before a word containing "conftest.", or (3) at the end.
10855 # Note that $ac_compile itself does not contain backslashes and begins
10856 # with a dollar sign (not a hyphen), so the echo should work correctly.
10857 lt_compile=`echo "$ac_compile" | $SED \
10858 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10859 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10860 -e 's:$: $lt_compiler_flag:'`
10861 (eval echo "\"\$as_me:10861: $lt_compile\"" >&5)
10862 (eval "$lt_compile" 2>out/conftest.err)
10864 cat out/conftest.err >&5
10865 echo "$as_me:10865: \$? = $ac_status" >&5
10866 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10868 # The compiler can only warn and ignore the option if not recognized
10869 # So say no if there are warnings
10870 if test ! -s out/conftest.err; then
10871 lt_cv_prog_compiler_c_o_CXX=yes
10875 $rm conftest* out/*
10882 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10883 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
10886 hard_links="nottested"
10887 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
10888 # do not overwrite the value of need_locks provided by the user
10889 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10890 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10893 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10895 ln conftest.a conftest.b 2>&5 || hard_links=no
10896 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10897 echo "$as_me:$LINENO: result: $hard_links" >&5
10898 echo "${ECHO_T}$hard_links" >&6
10899 if test "$hard_links" = no; then
10900 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10901 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10908 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10909 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10911 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10914 # If we're using GNU nm, then we don't want the "-C" option.
10915 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10916 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10917 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'
10919 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'
10923 export_symbols_cmds_CXX="$ltdll_cmds"
10926 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10929 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10933 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10934 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10935 test "$ld_shlibs_CXX" = no && can_build_shared=no
10937 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10938 if test "$GCC" = yes; then
10939 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10943 # Do we need to explicitly link libc?
10945 case "x$archive_cmds_need_lc_CXX" in
10947 # Assume -lc should be added
10948 archive_cmds_need_lc_CXX=yes
10950 if test "$enable_shared" = yes && test "$GCC" = yes; then
10951 case $archive_cmds_CXX in
10953 # FIXME: we may have to deal with multi-command sequences.
10956 # Test whether the compiler implicitly links with -lc since on some
10957 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10958 # to ld, don't add -lc before -lgcc.
10959 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10960 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10962 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10965 (eval $ac_compile) 2>&5
10967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10968 (exit $ac_status); } 2>conftest.err; then
10971 libobjs=conftest.$ac_objext
10973 wl=$lt_prog_compiler_wl_CXX
10979 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
10980 allow_undefined_flag_CXX=
10981 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10982 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10985 (exit $ac_status); }
10987 archive_cmds_need_lc_CXX=no
10989 archive_cmds_need_lc_CXX=yes
10991 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
10993 cat conftest.err 1>&5
10996 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
10997 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11004 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11005 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11006 hardcode_action_CXX=
11007 if test -n "$hardcode_libdir_flag_spec_CXX" || \
11008 test -n "$runpath_var CXX" || \
11009 test "X$hardcode_automatic_CXX"="Xyes" ; then
11011 # We can hardcode non-existant directories.
11012 if test "$hardcode_direct_CXX" != no &&
11013 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11014 # have to relink, otherwise we might link with an installed library
11015 # when we should be linking with a yet-to-be-installed one
11016 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
11017 test "$hardcode_minus_L_CXX" != no; then
11018 # Linking always hardcodes the temporary library directory.
11019 hardcode_action_CXX=relink
11021 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11022 hardcode_action_CXX=immediate
11025 # We cannot hardcode anything, or else we can only hardcode existing
11027 hardcode_action_CXX=unsupported
11029 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11030 echo "${ECHO_T}$hardcode_action_CXX" >&6
11032 if test "$hardcode_action_CXX" = relink; then
11033 # Fast installation is not supported
11034 enable_fast_install=no
11035 elif test "$shlibpath_overrides_runpath" = yes ||
11036 test "$enable_shared" = no; then
11037 # Fast installation is not necessary
11038 enable_fast_install=needless
11043 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11044 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11045 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11046 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11047 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11048 echo "$as_me:$LINENO: result: yes" >&5
11049 echo "${ECHO_T}yes" >&6
11051 # FIXME - insert some real tests, host_os isn't really good enough
11054 if test -n "$STRIP" ; then
11055 striplib="$STRIP -x"
11056 echo "$as_me:$LINENO: result: yes" >&5
11057 echo "${ECHO_T}yes" >&6
11059 echo "$as_me:$LINENO: result: no" >&5
11060 echo "${ECHO_T}no" >&6
11064 echo "$as_me:$LINENO: result: no" >&5
11065 echo "${ECHO_T}no" >&6
11070 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11071 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11072 library_names_spec=
11073 libname_spec='lib$name'
11077 postuninstall_cmds=
11081 shlibpath_overrides_runpath=unknown
11083 dynamic_linker="$host_os ld.so"
11084 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11085 if test "$GCC" = yes; then
11086 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11087 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11088 # if the path contains ";" then we assume it to be the separator
11089 # otherwise default to the standard path separator (i.e. ":") - it is
11090 # assumed that no part of a normal pathname contains ";" but that should
11091 # okay in the real world where ";" in dirpaths is itself problematic.
11092 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11094 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11097 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11099 need_lib_prefix=unknown
11100 hardcode_into_libs=no
11102 # when you set need_version to no, make sure it does not cause -set_version
11103 # flags to be left without arguments
11104 need_version=unknown
11109 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11110 shlibpath_var=LIBPATH
11112 # AIX 3 has no versioning support, so we append a major version to the name.
11113 soname_spec='${libname}${release}${shared_ext}$major'
11120 hardcode_into_libs=yes
11121 if test "$host_cpu" = ia64; then
11122 # AIX 5 supports IA64
11123 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11124 shlibpath_var=LD_LIBRARY_PATH
11126 # With GCC up to 2.95.x, collect2 would create an import file
11127 # for dependence libraries. The import file would start with
11128 # the line `#! .'. This would cause the generated library to
11129 # depend on `.', always an invalid library. This was fixed in
11130 # development snapshots of GCC prior to 3.0.
11132 aix4 | aix4.[01] | aix4.[01].*)
11133 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11135 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11138 can_build_shared=no
11142 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11143 # soname into executable. Probably we can add versioning support to
11144 # collect2, so additional links can be useful in future.
11145 if test "$aix_use_runtimelinking" = yes; then
11146 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11147 # instead of lib<name>.a to let people know that these are not
11148 # typical AIX shared libraries.
11149 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11151 # We preserve .a as extension for shared libraries through AIX4.2
11152 # and later when we are not doing run time linking.
11153 library_names_spec='${libname}${release}.a $libname.a'
11154 soname_spec='${libname}${release}${shared_ext}$major'
11156 shlibpath_var=LIBPATH
11161 library_names_spec='$libname.ixlibrary $libname.a'
11162 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11163 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'
11167 library_names_spec='${libname}${shared_ext}'
11168 dynamic_linker="$host_os ld.so"
11169 shlibpath_var=LIBRARY_PATH
11175 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11176 soname_spec='${libname}${release}${shared_ext}$major'
11177 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11178 shlibpath_var=LD_LIBRARY_PATH
11179 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11180 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11181 # the default ld.so.conf also contains /usr/contrib/lib and
11182 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11183 # libtool to hard-code these into programs
11186 cygwin* | mingw* | pw32*)
11187 version_type=windows
11192 case $GCC,$host_os in
11193 yes,cygwin* | yes,mingw* | yes,pw32*)
11194 library_names_spec='$libname.dll.a'
11195 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11196 postinstall_cmds='base_file=`basename \${file}`~
11197 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11198 dldir=$destdir/`dirname \$dlpath`~
11199 test -d \$dldir || mkdir -p \$dldir~
11200 $install_prog $dir/$dlname \$dldir/$dlname'
11201 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11202 dlpath=$dir/\$dldll~
11204 shlibpath_overrides_runpath=yes
11208 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11209 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11210 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
11213 # MinGW DLLs use traditional 'lib' prefix
11214 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11215 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11216 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11217 # It is most probably a Windows format PATH printed by
11218 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11219 # path with ; separators, and with drive letters. We can handle the
11220 # drive letters (cygwin fileutils understands them), so leave them,
11221 # especially as we might pass files found there to a mingw objdump,
11222 # which wouldn't understand a cygwinified path. Ahh.
11223 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11225 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11229 # pw32 DLLs use 'pw' prefix rather than 'lib'
11230 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11236 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11239 dynamic_linker='Win32 ld.exe'
11240 # FIXME: first we should search . and the directory the executable is in
11244 darwin* | rhapsody*)
11245 dynamic_linker="$host_os dyld"
11246 version_type=darwin
11249 # FIXME: Relying on posixy $() will cause problems for
11250 # cross-compilation, but unfortunately the echo tests do not
11251 # yet detect zsh echo's removal of \ escapes.
11252 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11253 soname_spec='${libname}${release}${major}$shared_ext'
11254 shlibpath_overrides_runpath=yes
11255 shlibpath_var=DYLD_LIBRARY_PATH
11256 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11257 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11258 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
11259 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"`
11261 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11268 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11269 soname_spec='${libname}${release}${shared_ext}$major'
11270 shlibpath_var=LD_LIBRARY_PATH
11278 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11279 version_type=freebsd-$objformat
11280 case $version_type in
11282 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11287 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11291 shlibpath_var=LD_LIBRARY_PATH
11294 shlibpath_overrides_runpath=yes
11296 freebsd3.01* | freebsdelf3.01*)
11297 shlibpath_overrides_runpath=yes
11298 hardcode_into_libs=yes
11301 shlibpath_overrides_runpath=no
11302 hardcode_into_libs=yes
11311 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11312 soname_spec='${libname}${release}${shared_ext}$major'
11313 shlibpath_var=LD_LIBRARY_PATH
11314 hardcode_into_libs=yes
11317 hpux9* | hpux10* | hpux11*)
11318 # Give a soname corresponding to the major version so that dld.sl refuses to
11319 # link against other versions.
11323 case "$host_cpu" in
11326 hardcode_into_libs=yes
11327 dynamic_linker="$host_os dld.so"
11328 shlibpath_var=LD_LIBRARY_PATH
11329 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11330 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11331 soname_spec='${libname}${release}${shared_ext}$major'
11332 if test "X$HPUX_IA64_MODE" = X32; then
11333 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11335 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11337 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11341 hardcode_into_libs=yes
11342 dynamic_linker="$host_os dld.sl"
11343 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11344 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11345 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11346 soname_spec='${libname}${release}${shared_ext}$major'
11347 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11348 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11352 dynamic_linker="$host_os dld.sl"
11353 shlibpath_var=SHLIB_PATH
11354 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11355 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11356 soname_spec='${libname}${release}${shared_ext}$major'
11359 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11360 postinstall_cmds='chmod 555 $lib'
11363 irix5* | irix6* | nonstopux*)
11365 nonstopux*) version_type=nonstopux ;;
11367 if test "$lt_cv_prog_gnu_ld" = yes; then
11375 soname_spec='${libname}${release}${shared_ext}$major'
11376 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11378 irix5* | nonstopux*)
11379 libsuff= shlibsuff=
11382 case $LD in # libtool.m4 will add one of these switches to LD
11383 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11384 libsuff= shlibsuff= libmagic=32-bit;;
11385 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11386 libsuff=32 shlibsuff=N32 libmagic=N32;;
11387 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11388 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11389 *) libsuff= shlibsuff= libmagic=never-match;;
11393 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11394 shlibpath_overrides_runpath=no
11395 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11396 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11397 hardcode_into_libs=yes
11400 # No shared lib support for Linux oldld, aout, or coff.
11401 linux*oldld* | linux*aout* | linux*coff*)
11405 # This must be Linux ELF.
11410 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11411 soname_spec='${libname}${release}${shared_ext}$major'
11412 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11413 shlibpath_var=LD_LIBRARY_PATH
11414 shlibpath_overrides_runpath=no
11415 # This implies no fast_install, which is unacceptable.
11416 # Some rework will be needed to allow for fast_install
11417 # before this can be enabled.
11418 hardcode_into_libs=yes
11420 # We used to test for /lib/ld.so.1 and disable shared libraries on
11421 # powerpc, because MkLinux only supported shared libraries with the
11422 # GNU dynamic linker. Since this was broken with cross compilers,
11423 # most powerpc-linux boxes support dynamic linking these days and
11424 # people can always --disable-shared, the test was removed, and we
11425 # assume the GNU/Linux dynamic linker is in use.
11426 dynamic_linker='GNU/Linux ld.so'
11433 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11434 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11435 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11436 dynamic_linker='NetBSD (a.out) ld.so'
11438 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11439 soname_spec='${libname}${release}${shared_ext}$major'
11440 dynamic_linker='NetBSD ld.elf_so'
11442 shlibpath_var=LD_LIBRARY_PATH
11443 shlibpath_overrides_runpath=yes
11444 hardcode_into_libs=yes
11449 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11450 shlibpath_var=LD_LIBRARY_PATH
11451 shlibpath_overrides_runpath=yes
11458 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11459 soname_spec='${libname}${release}${shared_ext}$major'
11460 shlibpath_var=LD_LIBRARY_PATH
11461 shlibpath_overrides_runpath=yes
11468 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11469 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11470 shlibpath_var=LD_LIBRARY_PATH
11471 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11473 openbsd2.[89] | openbsd2.[89].*)
11474 shlibpath_overrides_runpath=no
11477 shlibpath_overrides_runpath=yes
11481 shlibpath_overrides_runpath=yes
11486 libname_spec='$name'
11489 library_names_spec='$libname${shared_ext} $libname.a'
11490 dynamic_linker='OS/2 ld.exe'
11491 shlibpath_var=LIBPATH
11494 osf3* | osf4* | osf5*)
11498 soname_spec='${libname}${release}${shared_ext}$major'
11499 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11500 shlibpath_var=LD_LIBRARY_PATH
11501 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11502 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11507 soname_spec='${libname}${release}${shared_ext}$major'
11508 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11509 shlibpath_var=LD_LIBRARY_PATH
11516 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11517 soname_spec='${libname}${release}${shared_ext}$major'
11518 shlibpath_var=LD_LIBRARY_PATH
11519 shlibpath_overrides_runpath=yes
11520 hardcode_into_libs=yes
11521 # ldd complains unless libraries are executable
11522 postinstall_cmds='chmod +x $lib'
11527 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11528 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11529 shlibpath_var=LD_LIBRARY_PATH
11530 shlibpath_overrides_runpath=yes
11531 if test "$with_gnu_ld" = yes; then
11537 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11540 soname_spec='${libname}${release}${shared_ext}$major'
11541 shlibpath_var=LD_LIBRARY_PATH
11542 case $host_vendor in
11544 shlibpath_overrides_runpath=no
11546 export_dynamic_flag_spec='${wl}-Blargedynsym'
11547 runpath_var=LD_RUN_PATH
11555 shlibpath_overrides_runpath=no
11556 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11562 if test -d /usr/nec ;then
11564 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11565 soname_spec='$libname${shared_ext}.$major'
11566 shlibpath_var=LD_LIBRARY_PATH
11572 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11573 soname_spec='${libname}${release}${shared_ext}$major'
11574 shlibpath_var=LD_LIBRARY_PATH
11581 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11582 echo "${ECHO_T}$dynamic_linker" >&6
11583 test "$dynamic_linker" = no && can_build_shared=no
11585 if test "x$enable_dlopen" != xyes; then
11586 enable_dlopen=unknown
11587 enable_dlopen_self=unknown
11588 enable_dlopen_self_static=unknown
11595 lt_cv_dlopen="load_add_on"
11597 lt_cv_dlopen_self=yes
11601 lt_cv_dlopen="LoadLibrary"
11606 lt_cv_dlopen="dlopen"
11611 # if libdl is installed we need to link against it
11612 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11613 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11614 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11615 echo $ECHO_N "(cached) $ECHO_C" >&6
11617 ac_check_lib_save_LIBS=$LIBS
11619 cat >conftest.$ac_ext <<_ACEOF
11620 #line $LINENO "configure"
11623 cat confdefs.h >>conftest.$ac_ext
11624 cat >>conftest.$ac_ext <<_ACEOF
11625 /* end confdefs.h. */
11627 /* Override any gcc2 internal prototype to avoid an error. */
11631 /* We use char because int might match the return type of a gcc2
11632 builtin and then its argument prototype would still apply. */
11642 rm -f conftest.$ac_objext conftest$ac_exeext
11643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11644 (eval $ac_link) 2>&5
11646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11647 (exit $ac_status); } &&
11648 { ac_try='test -s conftest$ac_exeext'
11649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11650 (eval $ac_try) 2>&5
11652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11653 (exit $ac_status); }; }; then
11654 ac_cv_lib_dl_dlopen=yes
11656 echo "$as_me: failed program was:" >&5
11657 sed 's/^/| /' conftest.$ac_ext >&5
11659 ac_cv_lib_dl_dlopen=no
11661 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11662 LIBS=$ac_check_lib_save_LIBS
11664 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11665 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11666 if test $ac_cv_lib_dl_dlopen = yes; then
11667 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11670 lt_cv_dlopen="dyld"
11672 lt_cv_dlopen_self=yes
11679 echo "$as_me:$LINENO: checking for shl_load" >&5
11680 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11681 if test "${ac_cv_func_shl_load+set}" = set; then
11682 echo $ECHO_N "(cached) $ECHO_C" >&6
11684 cat >conftest.$ac_ext <<_ACEOF
11685 #line $LINENO "configure"
11688 cat confdefs.h >>conftest.$ac_ext
11689 cat >>conftest.$ac_ext <<_ACEOF
11690 /* end confdefs.h. */
11691 /* System header to define __stub macros and hopefully few prototypes,
11692 which can conflict with char shl_load (); below.
11693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11694 <limits.h> exists even on freestanding compilers. */
11696 # include <limits.h>
11698 # include <assert.h>
11700 /* Override any gcc2 internal prototype to avoid an error. */
11705 /* We use char because int might match the return type of a gcc2
11706 builtin and then its argument prototype would still apply. */
11708 /* The GNU C library defines this for functions which it implements
11709 to always fail with ENOSYS. Some functions are actually named
11710 something starting with __ and the normal name is an alias. */
11711 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11714 char (*f) () = shl_load;
11723 return f != shl_load;
11728 rm -f conftest.$ac_objext conftest$ac_exeext
11729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11730 (eval $ac_link) 2>&5
11732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11733 (exit $ac_status); } &&
11734 { ac_try='test -s conftest$ac_exeext'
11735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11736 (eval $ac_try) 2>&5
11738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11739 (exit $ac_status); }; }; then
11740 ac_cv_func_shl_load=yes
11742 echo "$as_me: failed program was:" >&5
11743 sed 's/^/| /' conftest.$ac_ext >&5
11745 ac_cv_func_shl_load=no
11747 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11749 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11750 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11751 if test $ac_cv_func_shl_load = yes; then
11752 lt_cv_dlopen="shl_load"
11754 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11755 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11756 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11757 echo $ECHO_N "(cached) $ECHO_C" >&6
11759 ac_check_lib_save_LIBS=$LIBS
11761 cat >conftest.$ac_ext <<_ACEOF
11762 #line $LINENO "configure"
11765 cat confdefs.h >>conftest.$ac_ext
11766 cat >>conftest.$ac_ext <<_ACEOF
11767 /* end confdefs.h. */
11769 /* Override any gcc2 internal prototype to avoid an error. */
11773 /* We use char because int might match the return type of a gcc2
11774 builtin and then its argument prototype would still apply. */
11784 rm -f conftest.$ac_objext conftest$ac_exeext
11785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11786 (eval $ac_link) 2>&5
11788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11789 (exit $ac_status); } &&
11790 { ac_try='test -s conftest$ac_exeext'
11791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11792 (eval $ac_try) 2>&5
11794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11795 (exit $ac_status); }; }; then
11796 ac_cv_lib_dld_shl_load=yes
11798 echo "$as_me: failed program was:" >&5
11799 sed 's/^/| /' conftest.$ac_ext >&5
11801 ac_cv_lib_dld_shl_load=no
11803 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11804 LIBS=$ac_check_lib_save_LIBS
11806 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11807 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11808 if test $ac_cv_lib_dld_shl_load = yes; then
11809 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11811 echo "$as_me:$LINENO: checking for dlopen" >&5
11812 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11813 if test "${ac_cv_func_dlopen+set}" = set; then
11814 echo $ECHO_N "(cached) $ECHO_C" >&6
11816 cat >conftest.$ac_ext <<_ACEOF
11817 #line $LINENO "configure"
11820 cat confdefs.h >>conftest.$ac_ext
11821 cat >>conftest.$ac_ext <<_ACEOF
11822 /* end confdefs.h. */
11823 /* System header to define __stub macros and hopefully few prototypes,
11824 which can conflict with char dlopen (); below.
11825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11826 <limits.h> exists even on freestanding compilers. */
11828 # include <limits.h>
11830 # include <assert.h>
11832 /* Override any gcc2 internal prototype to avoid an error. */
11837 /* We use char because int might match the return type of a gcc2
11838 builtin and then its argument prototype would still apply. */
11840 /* The GNU C library defines this for functions which it implements
11841 to always fail with ENOSYS. Some functions are actually named
11842 something starting with __ and the normal name is an alias. */
11843 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11846 char (*f) () = dlopen;
11855 return f != dlopen;
11860 rm -f conftest.$ac_objext conftest$ac_exeext
11861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11862 (eval $ac_link) 2>&5
11864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11865 (exit $ac_status); } &&
11866 { ac_try='test -s conftest$ac_exeext'
11867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11868 (eval $ac_try) 2>&5
11870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11871 (exit $ac_status); }; }; then
11872 ac_cv_func_dlopen=yes
11874 echo "$as_me: failed program was:" >&5
11875 sed 's/^/| /' conftest.$ac_ext >&5
11877 ac_cv_func_dlopen=no
11879 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11881 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11882 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11883 if test $ac_cv_func_dlopen = yes; then
11884 lt_cv_dlopen="dlopen"
11886 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11887 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11888 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11889 echo $ECHO_N "(cached) $ECHO_C" >&6
11891 ac_check_lib_save_LIBS=$LIBS
11893 cat >conftest.$ac_ext <<_ACEOF
11894 #line $LINENO "configure"
11897 cat confdefs.h >>conftest.$ac_ext
11898 cat >>conftest.$ac_ext <<_ACEOF
11899 /* end confdefs.h. */
11901 /* Override any gcc2 internal prototype to avoid an error. */
11905 /* We use char because int might match the return type of a gcc2
11906 builtin and then its argument prototype would still apply. */
11916 rm -f conftest.$ac_objext conftest$ac_exeext
11917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11918 (eval $ac_link) 2>&5
11920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11921 (exit $ac_status); } &&
11922 { ac_try='test -s conftest$ac_exeext'
11923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11924 (eval $ac_try) 2>&5
11926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11927 (exit $ac_status); }; }; then
11928 ac_cv_lib_dl_dlopen=yes
11930 echo "$as_me: failed program was:" >&5
11931 sed 's/^/| /' conftest.$ac_ext >&5
11933 ac_cv_lib_dl_dlopen=no
11935 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11936 LIBS=$ac_check_lib_save_LIBS
11938 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11939 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11940 if test $ac_cv_lib_dl_dlopen = yes; then
11941 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11943 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11944 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11945 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11946 echo $ECHO_N "(cached) $ECHO_C" >&6
11948 ac_check_lib_save_LIBS=$LIBS
11949 LIBS="-lsvld $LIBS"
11950 cat >conftest.$ac_ext <<_ACEOF
11951 #line $LINENO "configure"
11954 cat confdefs.h >>conftest.$ac_ext
11955 cat >>conftest.$ac_ext <<_ACEOF
11956 /* end confdefs.h. */
11958 /* Override any gcc2 internal prototype to avoid an error. */
11962 /* We use char because int might match the return type of a gcc2
11963 builtin and then its argument prototype would still apply. */
11973 rm -f conftest.$ac_objext conftest$ac_exeext
11974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11975 (eval $ac_link) 2>&5
11977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11978 (exit $ac_status); } &&
11979 { ac_try='test -s conftest$ac_exeext'
11980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11981 (eval $ac_try) 2>&5
11983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11984 (exit $ac_status); }; }; then
11985 ac_cv_lib_svld_dlopen=yes
11987 echo "$as_me: failed program was:" >&5
11988 sed 's/^/| /' conftest.$ac_ext >&5
11990 ac_cv_lib_svld_dlopen=no
11992 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11993 LIBS=$ac_check_lib_save_LIBS
11995 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11996 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11997 if test $ac_cv_lib_svld_dlopen = yes; then
11998 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12000 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12001 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12002 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12003 echo $ECHO_N "(cached) $ECHO_C" >&6
12005 ac_check_lib_save_LIBS=$LIBS
12007 cat >conftest.$ac_ext <<_ACEOF
12008 #line $LINENO "configure"
12011 cat confdefs.h >>conftest.$ac_ext
12012 cat >>conftest.$ac_ext <<_ACEOF
12013 /* end confdefs.h. */
12015 /* Override any gcc2 internal prototype to avoid an error. */
12019 /* We use char because int might match the return type of a gcc2
12020 builtin and then its argument prototype would still apply. */
12030 rm -f conftest.$ac_objext conftest$ac_exeext
12031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12032 (eval $ac_link) 2>&5
12034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12035 (exit $ac_status); } &&
12036 { ac_try='test -s conftest$ac_exeext'
12037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12038 (eval $ac_try) 2>&5
12040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12041 (exit $ac_status); }; }; then
12042 ac_cv_lib_dld_dld_link=yes
12044 echo "$as_me: failed program was:" >&5
12045 sed 's/^/| /' conftest.$ac_ext >&5
12047 ac_cv_lib_dld_dld_link=no
12049 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12050 LIBS=$ac_check_lib_save_LIBS
12052 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12053 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12054 if test $ac_cv_lib_dld_dld_link = yes; then
12055 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12076 if test "x$lt_cv_dlopen" != xno; then
12082 case $lt_cv_dlopen in
12084 save_CPPFLAGS="$CPPFLAGS"
12085 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12087 save_LDFLAGS="$LDFLAGS"
12088 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12091 LIBS="$lt_cv_dlopen_libs $LIBS"
12093 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12094 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12095 if test "${lt_cv_dlopen_self+set}" = set; then
12096 echo $ECHO_N "(cached) $ECHO_C" >&6
12098 if test "$cross_compiling" = yes; then :
12099 lt_cv_dlopen_self=cross
12101 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12102 lt_status=$lt_dlunknown
12103 cat > conftest.$ac_ext <<EOF
12104 #line 12104 "configure"
12105 #include "confdefs.h"
12114 # define LT_DLGLOBAL RTLD_GLOBAL
12117 # define LT_DLGLOBAL DL_GLOBAL
12119 # define LT_DLGLOBAL 0
12123 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12124 find out it does not work in some platform. */
12125 #ifndef LT_DLLAZY_OR_NOW
12127 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12130 # define LT_DLLAZY_OR_NOW DL_LAZY
12133 # define LT_DLLAZY_OR_NOW RTLD_NOW
12136 # define LT_DLLAZY_OR_NOW DL_NOW
12138 # define LT_DLLAZY_OR_NOW 0
12146 extern "C" void exit (int);
12149 void fnord() { int i=42;}
12152 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12153 int status = $lt_dlunknown;
12157 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12158 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12159 /* dlclose (self); */
12165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12166 (eval $ac_link) 2>&5
12168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12169 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12170 (./conftest; exit; ) 2>/dev/null
12172 case x$lt_status in
12173 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12174 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12175 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12178 # compilation failed
12179 lt_cv_dlopen_self=no
12186 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12187 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12189 if test "x$lt_cv_dlopen_self" = xyes; then
12190 LDFLAGS="$LDFLAGS $link_static_flag"
12191 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12192 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12193 if test "${lt_cv_dlopen_self_static+set}" = set; then
12194 echo $ECHO_N "(cached) $ECHO_C" >&6
12196 if test "$cross_compiling" = yes; then :
12197 lt_cv_dlopen_self_static=cross
12199 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12200 lt_status=$lt_dlunknown
12201 cat > conftest.$ac_ext <<EOF
12202 #line 12202 "configure"
12203 #include "confdefs.h"
12212 # define LT_DLGLOBAL RTLD_GLOBAL
12215 # define LT_DLGLOBAL DL_GLOBAL
12217 # define LT_DLGLOBAL 0
12221 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12222 find out it does not work in some platform. */
12223 #ifndef LT_DLLAZY_OR_NOW
12225 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12228 # define LT_DLLAZY_OR_NOW DL_LAZY
12231 # define LT_DLLAZY_OR_NOW RTLD_NOW
12234 # define LT_DLLAZY_OR_NOW DL_NOW
12236 # define LT_DLLAZY_OR_NOW 0
12244 extern "C" void exit (int);
12247 void fnord() { int i=42;}
12250 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12251 int status = $lt_dlunknown;
12255 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12256 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12257 /* dlclose (self); */
12263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12264 (eval $ac_link) 2>&5
12266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12267 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12268 (./conftest; exit; ) 2>/dev/null
12270 case x$lt_status in
12271 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12272 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12273 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12276 # compilation failed
12277 lt_cv_dlopen_self_static=no
12284 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12285 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12288 CPPFLAGS="$save_CPPFLAGS"
12289 LDFLAGS="$save_LDFLAGS"
12294 case $lt_cv_dlopen_self in
12295 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12296 *) enable_dlopen_self=unknown ;;
12299 case $lt_cv_dlopen_self_static in
12300 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12301 *) enable_dlopen_self_static=unknown ;;
12306 # The else clause should only fire when bootstrapping the
12307 # libtool distribution, otherwise you forgot to ship ltmain.sh
12308 # with your package, and you will get complaints that there are
12309 # no rules to generate ltmain.sh.
12310 if test -f "$ltmain"; then
12311 # See if we are running on zsh, and set the options which allow our commands through
12312 # without removal of \ escapes.
12313 if test -n "${ZSH_VERSION+set}" ; then
12314 setopt NO_GLOB_SUBST
12316 # Now quote all the things that may contain metacharacters while being
12317 # careful not to overquote the AC_SUBSTed values. We take copies of the
12318 # variables and quote the copies for generation of the libtool script.
12319 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12320 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12321 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12322 deplibs_check_method reload_flag reload_cmds need_locks \
12323 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12324 lt_cv_sys_global_symbol_to_c_name_address \
12325 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12326 old_postinstall_cmds old_postuninstall_cmds \
12330 lt_prog_compiler_wl_CXX \
12331 lt_prog_compiler_pic_CXX \
12332 lt_prog_compiler_static_CXX \
12333 lt_prog_compiler_no_builtin_flag_CXX \
12334 export_dynamic_flag_spec_CXX \
12335 thread_safe_flag_spec_CXX \
12336 whole_archive_flag_spec_CXX \
12337 enable_shared_with_static_runtimes_CXX \
12338 old_archive_cmds_CXX \
12339 old_archive_from_new_cmds_CXX \
12340 predep_objects_CXX \
12341 postdep_objects_CXX \
12344 compiler_lib_search_path_CXX \
12346 archive_expsym_cmds_CXX \
12347 postinstall_cmds_CXX \
12348 postuninstall_cmds_CXX \
12349 old_archive_from_expsyms_cmds_CXX \
12350 allow_undefined_flag_CXX \
12351 no_undefined_flag_CXX \
12352 export_symbols_cmds_CXX \
12353 hardcode_libdir_flag_spec_CXX \
12354 hardcode_libdir_flag_spec_ld_CXX \
12355 hardcode_libdir_separator_CXX \
12356 hardcode_automatic_CXX \
12358 module_expsym_cmds_CXX \
12359 lt_cv_prog_compiler_c_o_CXX \
12360 exclude_expsyms_CXX \
12361 include_expsyms_CXX; do
12364 old_archive_cmds_CXX | \
12365 old_archive_from_new_cmds_CXX | \
12366 archive_cmds_CXX | \
12367 archive_expsym_cmds_CXX | \
12368 module_cmds_CXX | \
12369 module_expsym_cmds_CXX | \
12370 old_archive_from_expsyms_cmds_CXX | \
12371 export_symbols_cmds_CXX | \
12372 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12373 postinstall_cmds | postuninstall_cmds | \
12374 old_postinstall_cmds | old_postuninstall_cmds | \
12375 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12376 # Double-quote double-evaled strings.
12377 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12380 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12386 *'\$0 --fallback-echo"')
12387 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12393 cat <<__EOF__ >> "$cfgfile"
12394 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12396 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12398 # Shell to use when invoking shell scripts.
12401 # Whether or not to build shared libraries.
12402 build_libtool_libs=$enable_shared
12404 # Whether or not to build static libraries.
12405 build_old_libs=$enable_static
12407 # Whether or not to add -lc for building shared libraries.
12408 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12410 # Whether or not to disallow shared libs when runtime libs are static
12411 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12413 # Whether or not to optimize for fast installation.
12414 fast_install=$enable_fast_install
12417 host_alias=$host_alias
12420 # An echo program that does not interpret backslashes.
12425 AR_FLAGS=$lt_AR_FLAGS
12430 # A language-specific compiler.
12431 CC=$lt_compiler_CXX
12433 # Is the compiler the GNU C compiler?
12439 # The linker used to build libraries.
12442 # Whether we need hard or soft links.
12445 # A BSD-compatible nm program.
12448 # A symbol stripping program
12451 # Used to examine libraries when file_magic_cmd begins "file"
12452 MAGIC_CMD=$MAGIC_CMD
12454 # Used on cygwin: DLL creation program.
12457 # Used on cygwin: object dumper.
12460 # Used on cygwin: assembler.
12463 # The name of the directory that contains temporary libtool files.
12466 # How to create reloadable object files.
12467 reload_flag=$lt_reload_flag
12468 reload_cmds=$lt_reload_cmds
12470 # How to pass a linker flag through the compiler.
12471 wl=$lt_lt_prog_compiler_wl_CXX
12473 # Object file suffix (normally "o").
12474 objext="$ac_objext"
12476 # Old archive suffix (normally "a").
12479 # Shared library suffix (normally ".so").
12482 # Executable file suffix (normally "").
12485 # Additional compiler flags for building library objects.
12486 pic_flag=$lt_lt_prog_compiler_pic_CXX
12489 # What is the maximum length of a command?
12490 max_cmd_len=$lt_cv_sys_max_cmd_len
12492 # Does compiler simultaneously support -c and -o options?
12493 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12495 # Must we lock files when doing compilation ?
12496 need_locks=$lt_need_locks
12498 # Do we need the lib prefix for modules?
12499 need_lib_prefix=$need_lib_prefix
12501 # Do we need a version for libraries?
12502 need_version=$need_version
12504 # Whether dlopen is supported.
12505 dlopen_support=$enable_dlopen
12507 # Whether dlopen of programs is supported.
12508 dlopen_self=$enable_dlopen_self
12510 # Whether dlopen of statically linked programs is supported.
12511 dlopen_self_static=$enable_dlopen_self_static
12513 # Compiler flag to prevent dynamic linking.
12514 link_static_flag=$lt_lt_prog_compiler_static_CXX
12516 # Compiler flag to turn off builtin functions.
12517 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12519 # Compiler flag to allow reflexive dlopens.
12520 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12522 # Compiler flag to generate shared objects directly from archives.
12523 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12525 # Compiler flag to generate thread-safe objects.
12526 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12528 # Library versioning type.
12529 version_type=$version_type
12531 # Format of library name prefix.
12532 libname_spec=$lt_libname_spec
12534 # List of archive names. First name is the real one, the rest are links.
12535 # The last name is the one that the linker finds with -lNAME.
12536 library_names_spec=$lt_library_names_spec
12538 # The coded name of the library, if different from the real name.
12539 soname_spec=$lt_soname_spec
12541 # Commands used to build and install an old-style archive.
12543 old_archive_cmds=$lt_old_archive_cmds_CXX
12544 old_postinstall_cmds=$lt_old_postinstall_cmds
12545 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12547 # Create an old-style archive from a shared archive.
12548 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12550 # Create a temporary old-style archive to link instead of a shared archive.
12551 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12553 # Commands used to build and install a shared archive.
12554 archive_cmds=$lt_archive_cmds_CXX
12555 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12556 postinstall_cmds=$lt_postinstall_cmds
12557 postuninstall_cmds=$lt_postuninstall_cmds
12559 # Commands used to build a loadable module (assumed same as above if empty)
12560 module_cmds=$lt_module_cmds_CXX
12561 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12563 # Commands to strip libraries.
12564 old_striplib=$lt_old_striplib
12565 striplib=$lt_striplib
12567 # Dependencies to place before the objects being linked to create a
12569 predep_objects=$lt_predep_objects_CXX
12571 # Dependencies to place after the objects being linked to create a
12573 postdep_objects=$lt_postdep_objects_CXX
12575 # Dependencies to place before the objects being linked to create a
12577 predeps=$lt_predeps_CXX
12579 # Dependencies to place after the objects being linked to create a
12581 postdeps=$lt_postdeps_CXX
12583 # The library search path used internally by the compiler when linking
12584 # a shared library.
12585 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12587 # Method to check whether dependent libraries are shared objects.
12588 deplibs_check_method=$lt_deplibs_check_method
12590 # Command to use when deplibs_check_method == file_magic.
12591 file_magic_cmd=$lt_file_magic_cmd
12593 # Flag that allows shared libraries with undefined symbols to be built.
12594 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12596 # Flag that forces no undefined symbols.
12597 no_undefined_flag=$lt_no_undefined_flag_CXX
12599 # Commands used to finish a libtool library installation in a directory.
12600 finish_cmds=$lt_finish_cmds
12602 # Same as above, but a single script fragment to be evaled but not shown.
12603 finish_eval=$lt_finish_eval
12605 # Take the output of nm and produce a listing of raw symbols and C names.
12606 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12608 # Transform the output of nm in a proper C declaration
12609 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12611 # Transform the output of nm in a C name address pair
12612 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12614 # This is the shared library runtime path variable.
12615 runpath_var=$runpath_var
12617 # This is the shared library path variable.
12618 shlibpath_var=$shlibpath_var
12620 # Is shlibpath searched before the hard-coded library search path?
12621 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12623 # How to hardcode a shared library path into an executable.
12624 hardcode_action=$hardcode_action_CXX
12626 # Whether we should hardcode library paths into libraries.
12627 hardcode_into_libs=$hardcode_into_libs
12629 # Flag to hardcode \$libdir into a binary during linking.
12630 # This must work even if \$libdir does not exist.
12631 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12633 # If ld is used when linking, flag to hardcode \$libdir into
12634 # a binary during linking. This must work even if \$libdir does
12636 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12638 # Whether we need a single -rpath flag with a separated argument.
12639 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12641 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12642 # resulting binary.
12643 hardcode_direct=$hardcode_direct_CXX
12645 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12646 # resulting binary.
12647 hardcode_minus_L=$hardcode_minus_L_CXX
12649 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12650 # the resulting binary.
12651 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12653 # Set to yes if building a shared library automatically hardcodes DIR into the library
12654 # and all subsequent libraries and executables linked against it.
12655 hardcode_automatic=$hardcode_automatic_CXX
12657 # Variables whose values should be saved in libtool wrapper scripts and
12658 # restored at relink time.
12659 variables_saved_for_relink="$variables_saved_for_relink"
12661 # Whether libtool must link a program against all its dependency libraries.
12662 link_all_deplibs=$link_all_deplibs_CXX
12664 # Compile-time system search path for libraries
12665 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12667 # Run-time system search path for libraries
12668 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12670 # Fix the shell variable \$srcfile for the compiler.
12671 fix_srcfile_path="$fix_srcfile_path_CXX"
12673 # Set to yes if exported symbols are required.
12674 always_export_symbols=$always_export_symbols_CXX
12676 # The commands to list exported symbols.
12677 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12679 # The commands to extract the exported symbol list from a shared archive.
12680 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12682 # Symbols that should not be listed in the preloaded symbols.
12683 exclude_expsyms=$lt_exclude_expsyms_CXX
12685 # Symbols that must always be exported.
12686 include_expsyms=$lt_include_expsyms_CXX
12688 # ### END LIBTOOL TAG CONFIG: $tagname
12694 # If there is no Makefile yet, we rely on a make rule to execute
12695 # `config.status --recheck' to rerun these tests and create the
12696 # libtool script then.
12697 test -f Makefile && make "$ltmain"
12702 ac_cpp='$CPP $CPPFLAGS'
12703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12711 with_gnu_ldcxx=$with_gnu_ld
12712 with_gnu_ld=$lt_save_with_gnu_ld
12713 lt_cv_path_LDCXX=$lt_cv_path_LD
12714 lt_cv_path_LD=$lt_save_path_LD
12715 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12716 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12724 if test -n "$F77" && test "X$F77" != "Xno"; then
12727 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12728 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12729 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12732 archive_cmds_need_lc_F77=no
12733 allow_undefined_flag_F77=
12734 always_export_symbols_F77=no
12735 archive_expsym_cmds_F77=
12736 export_dynamic_flag_spec_F77=
12737 hardcode_direct_F77=no
12738 hardcode_libdir_flag_spec_F77=
12739 hardcode_libdir_flag_spec_ld_F77=
12740 hardcode_libdir_separator_F77=
12741 hardcode_minus_L_F77=no
12742 hardcode_automatic_F77=no
12744 module_expsym_cmds_F77=
12745 link_all_deplibs_F77=unknown
12746 old_archive_cmds_F77=$old_archive_cmds
12747 no_undefined_flag_F77=
12748 whole_archive_flag_spec_F77=
12749 enable_shared_with_static_runtimes_F77=no
12751 # Source file extension for f77 test sources.
12754 # Object file extension for compiled f77 test sources.
12758 # Code to be used in simple compile tests
12759 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12761 # Code to be used in simple link tests
12762 lt_simple_link_test_code=" program t\n end\n"
12764 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12766 # If no C compiler was specified, use CC.
12769 # Allow CC to be a program name with arguments.
12773 # Allow CC to be a program name with arguments.
12778 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12780 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12781 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12782 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12783 echo "${ECHO_T}$can_build_shared" >&6
12785 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12786 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12787 test "$can_build_shared" = "no" && enable_shared=no
12789 # On AIX, shared libraries and static libraries use the same namespace, and
12790 # are all built from PIC.
12793 test "$enable_shared" = yes && enable_static=no
12794 if test -n "$RANLIB"; then
12795 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12796 postinstall_cmds='$RANLIB $lib'
12800 test "$enable_shared" = yes && enable_static=no
12803 echo "$as_me:$LINENO: result: $enable_shared" >&5
12804 echo "${ECHO_T}$enable_shared" >&6
12806 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12807 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12808 # Make sure either enable_shared or enable_static is yes.
12809 test "$enable_shared" = yes || enable_static=yes
12810 echo "$as_me:$LINENO: result: $enable_static" >&5
12811 echo "${ECHO_T}$enable_static" >&6
12813 test "$ld_shlibs_F77" = no && can_build_shared=no
12818 lt_prog_compiler_wl_F77=
12819 lt_prog_compiler_pic_F77=
12820 lt_prog_compiler_static_F77=
12822 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12823 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12825 if test "$GCC" = yes; then
12826 lt_prog_compiler_wl_F77='-Wl,'
12827 lt_prog_compiler_static_F77='-static'
12831 # All AIX code is PIC.
12832 if test "$host_cpu" = ia64; then
12833 # AIX 5 now supports IA64 processor
12834 lt_prog_compiler_static_F77='-Bstatic'
12839 # FIXME: we need at least 68020 code to build shared libraries, but
12840 # adding the `-m68020' flag to GCC prevents building anything better,
12842 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12845 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12846 # PIC is the default for these OSes.
12849 mingw* | pw32* | os2*)
12850 # This hack is so that the source file can tell whether it is being
12851 # built for inclusion in a dll (and should export symbols for example).
12852 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12855 darwin* | rhapsody*)
12856 # PIC is the default on this platform
12857 # Common symbols not allowed in MH_DYLIB files
12858 lt_prog_compiler_pic_F77='-fno-common'
12862 # Just because we use GCC doesn't mean we suddenly get shared libraries
12863 # on systems that don't support them.
12864 lt_prog_compiler_can_build_shared_F77=no
12869 if test -d /usr/nec; then
12870 lt_prog_compiler_pic_F77=-Kconform_pic
12875 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12876 # not for PA HP-UX.
12877 case "$host_cpu" in
12882 lt_prog_compiler_pic_F77='-fPIC'
12888 lt_prog_compiler_pic_F77='-fPIC'
12892 # PORTME Check for flag to pass linker flags through the system compiler.
12895 lt_prog_compiler_wl_F77='-Wl,'
12896 if test "$host_cpu" = ia64; then
12897 # AIX 5 now supports IA64 processor
12898 lt_prog_compiler_static_F77='-Bstatic'
12900 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12904 mingw* | pw32* | os2*)
12905 # This hack is so that the source file can tell whether it is being
12906 # built for inclusion in a dll (and should export symbols for example).
12907 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12910 hpux9* | hpux10* | hpux11*)
12911 lt_prog_compiler_wl_F77='-Wl,'
12912 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12913 # not for PA HP-UX.
12914 case "$host_cpu" in
12919 lt_prog_compiler_pic_F77='+Z'
12922 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12923 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
12926 irix5* | irix6* | nonstopux*)
12927 lt_prog_compiler_wl_F77='-Wl,'
12928 # PIC (with -KPIC) is the default.
12929 lt_prog_compiler_static_F77='-non_shared'
12933 lt_prog_compiler_pic_F77='-KPIC'
12934 lt_prog_compiler_static_F77='-Bstatic'
12940 lt_prog_compiler_wl_F77='-Wl,'
12941 lt_prog_compiler_pic_F77='-KPIC'
12942 lt_prog_compiler_static_F77='-static'
12945 lt_prog_compiler_wl_F77='-Wl,'
12946 # All Alpha code is PIC.
12947 lt_prog_compiler_static_F77='-non_shared'
12952 osf3* | osf4* | osf5*)
12953 lt_prog_compiler_wl_F77='-Wl,'
12954 # All OSF/1 code is PIC.
12955 lt_prog_compiler_static_F77='-non_shared'
12959 lt_prog_compiler_pic_F77='-Kpic'
12960 lt_prog_compiler_static_F77='-dn'
12964 lt_prog_compiler_wl_F77='-Wl,'
12965 lt_prog_compiler_pic_F77='-KPIC'
12966 lt_prog_compiler_static_F77='-Bstatic'
12970 lt_prog_compiler_wl_F77='-Qoption ld '
12971 lt_prog_compiler_pic_F77='-PIC'
12972 lt_prog_compiler_static_F77='-Bstatic'
12975 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12976 lt_prog_compiler_wl_F77='-Wl,'
12977 lt_prog_compiler_pic_F77='-KPIC'
12978 lt_prog_compiler_static_F77='-Bstatic'
12982 if test -d /usr/nec ;then
12983 lt_prog_compiler_pic_F77='-Kconform_pic'
12984 lt_prog_compiler_static_F77='-Bstatic'
12989 lt_prog_compiler_pic_F77='-pic'
12990 lt_prog_compiler_static_F77='-Bstatic'
12994 lt_prog_compiler_can_build_shared_F77=no
12999 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13000 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13003 # Check to make sure the PIC flag actually works.
13005 if test -n "$lt_prog_compiler_pic_F77"; then
13006 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13007 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13008 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13009 echo $ECHO_N "(cached) $ECHO_C" >&6
13011 lt_prog_compiler_pic_works_F77=no
13012 ac_outfile=conftest.$ac_objext
13013 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13014 lt_compiler_flag="$lt_prog_compiler_pic_F77"
13015 # Insert the option either (1) after the last *FLAGS variable, or
13016 # (2) before a word containing "conftest.", or (3) at the end.
13017 # Note that $ac_compile itself does not contain backslashes and begins
13018 # with a dollar sign (not a hyphen), so the echo should work correctly.
13019 # The option is referenced via a variable to avoid confusing sed.
13020 lt_compile=`echo "$ac_compile" | $SED \
13021 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13022 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13023 -e 's:$: $lt_compiler_flag:'`
13024 (eval echo "\"\$as_me:13024: $lt_compile\"" >&5)
13025 (eval "$lt_compile" 2>conftest.err)
13027 cat conftest.err >&5
13028 echo "$as_me:13028: \$? = $ac_status" >&5
13029 if (exit $ac_status) && test -s "$ac_outfile"; then
13030 # The compiler can only warn and ignore the option if not recognized
13031 # So say no if there are warnings
13032 if test ! -s conftest.err; then
13033 lt_prog_compiler_pic_works_F77=yes
13039 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13040 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13042 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13043 case $lt_prog_compiler_pic_F77 in
13045 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13048 lt_prog_compiler_pic_F77=
13049 lt_prog_compiler_can_build_shared_F77=no
13054 # For platforms which do not support PIC, -DPIC is meaningless:
13056 lt_prog_compiler_pic_F77=
13059 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13063 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13064 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13065 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13066 echo $ECHO_N "(cached) $ECHO_C" >&6
13068 lt_cv_prog_compiler_c_o_F77=no
13069 $rm -r conftest 2>/dev/null
13073 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13075 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13076 # that will create temporary files in the current directory regardless of
13077 # the output directory. Thus, making CWD read-only will cause this test
13078 # to fail, enabling locking or at least warning the user not to do parallel
13082 lt_compiler_flag="-o out/conftest2.$ac_objext"
13083 # Insert the option either (1) after the last *FLAGS variable, or
13084 # (2) before a word containing "conftest.", or (3) at the end.
13085 # Note that $ac_compile itself does not contain backslashes and begins
13086 # with a dollar sign (not a hyphen), so the echo should work correctly.
13087 lt_compile=`echo "$ac_compile" | $SED \
13088 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13089 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13090 -e 's:$: $lt_compiler_flag:'`
13091 (eval echo "\"\$as_me:13091: $lt_compile\"" >&5)
13092 (eval "$lt_compile" 2>out/conftest.err)
13094 cat out/conftest.err >&5
13095 echo "$as_me:13095: \$? = $ac_status" >&5
13096 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13098 # The compiler can only warn and ignore the option if not recognized
13099 # So say no if there are warnings
13100 if test ! -s out/conftest.err; then
13101 lt_cv_prog_compiler_c_o_F77=yes
13105 $rm conftest* out/*
13112 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13113 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13116 hard_links="nottested"
13117 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13118 # do not overwrite the value of need_locks provided by the user
13119 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13120 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13123 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13125 ln conftest.a conftest.b 2>&5 || hard_links=no
13126 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13127 echo "$as_me:$LINENO: result: $hard_links" >&5
13128 echo "${ECHO_T}$hard_links" >&6
13129 if test "$hard_links" = no; then
13130 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13131 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13138 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13139 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13142 allow_undefined_flag_F77=
13143 enable_shared_with_static_runtimes_F77=no
13145 archive_expsym_cmds_F77=
13146 old_archive_From_new_cmds_F77=
13147 old_archive_from_expsyms_cmds_F77=
13148 export_dynamic_flag_spec_F77=
13149 whole_archive_flag_spec_F77=
13150 thread_safe_flag_spec_F77=
13151 hardcode_libdir_flag_spec_F77=
13152 hardcode_libdir_flag_spec_ld_F77=
13153 hardcode_libdir_separator_F77=
13154 hardcode_direct_F77=no
13155 hardcode_minus_L_F77=no
13156 hardcode_shlibpath_var_F77=unsupported
13157 link_all_deplibs_F77=unknown
13158 hardcode_automatic_F77=no
13160 module_expsym_cmds_F77=
13161 always_export_symbols_F77=no
13162 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13163 # include_expsyms should be a list of space-separated symbols to be *always*
13164 # included in the symbol list
13165 include_expsyms_F77=
13166 # exclude_expsyms can be an extended regexp of symbols to exclude
13167 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13168 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13169 # as well as any symbol that contains `d'.
13170 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13171 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13172 # platforms (ab)use it in PIC code, but their linkers get confused if
13173 # the symbol is explicitly referenced. Since portable code cannot
13174 # rely on this symbol name, it's probably fine to never include it in
13175 # preloaded symbol tables.
13176 extract_expsyms_cmds=
13179 cygwin* | mingw* | pw32*)
13180 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13181 # When not using gcc, we currently assume that we are using
13182 # Microsoft Visual C++.
13183 if test "$GCC" != yes; then
13193 if test "$with_gnu_ld" = yes; then
13194 # If archive_cmds runs LD, not CC, wlarc should be empty
13197 # See if GNU ld supports shared libraries.
13199 aix3* | aix4* | aix5*)
13200 # On AIX/PPC, the GNU linker is very broken
13201 if test "$host_cpu" != ia64; then
13205 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13206 *** to be unable to reliably create shared libraries on AIX.
13207 *** Therefore, libtool is disabling shared libraries support. If you
13208 *** really care for shared libraries, you may want to modify your PATH
13209 *** so that a non-GNU linker is found, and then restart.
13216 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)'
13217 hardcode_libdir_flag_spec_F77='-L$libdir'
13218 hardcode_minus_L_F77=yes
13220 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13221 # that the semantics of dynamic libraries on AmigaOS, at least up
13222 # to version 4, is to share data among multiple programs linked
13223 # with the same dynamic library. Since this doesn't match the
13224 # behavior of shared libraries on other platforms, we can't use
13230 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13231 allow_undefined_flag_F77=unsupported
13232 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13233 # support --undefined. This deserves some investigation. FIXME
13234 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13240 cygwin* | mingw* | pw32*)
13241 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13242 # as there is no search path for DLLs.
13243 hardcode_libdir_flag_spec_F77='-L$libdir'
13244 allow_undefined_flag_F77=unsupported
13245 always_export_symbols_F77=no
13246 enable_shared_with_static_runtimes_F77=yes
13247 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13249 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13250 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13251 # If the export-symbols file already is a .def file (1st line
13252 # is EXPORTS), use it as is; otherwise, prepend...
13253 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13254 cp $export_symbols $output_objdir/$soname.def;
13256 echo EXPORTS > $output_objdir/$soname.def;
13257 cat $export_symbols >> $output_objdir/$soname.def;
13259 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13266 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13267 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13270 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13271 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13276 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13280 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13281 *** create shared libraries on Solaris systems. Therefore, libtool
13282 *** is disabling shared libraries support. We urge you to upgrade GNU
13283 *** binutils to release 2.9.1 or newer. Another option is to modify
13284 *** your PATH or compiler configuration so that the native linker is
13285 *** used, and then restart.
13288 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13289 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13290 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13297 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13299 hardcode_direct_F77=yes
13300 hardcode_shlibpath_var_F77=no
13304 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13305 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13306 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13313 if test "$ld_shlibs_F77" = yes; then
13314 runpath_var=LD_RUN_PATH
13315 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13316 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13317 # ancient GNU ld didn't support --whole-archive et. al.
13318 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13319 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13321 whole_archive_flag_spec_F77=
13325 # PORTME fill in a description of your system's linker (not GNU ld)
13328 allow_undefined_flag_F77=unsupported
13329 always_export_symbols_F77=yes
13330 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'
13331 # Note: this linker hardcodes the directories in LIBPATH if there
13332 # are no directories specified by -L.
13333 hardcode_minus_L_F77=yes
13334 if test "$GCC" = yes && test -z "$link_static_flag"; then
13335 # Neither direct hardcoding nor static linking is supported with a
13337 hardcode_direct_F77=unsupported
13342 if test "$host_cpu" = ia64; then
13343 # On IA64, the linker does run time linking by default, so we don't
13344 # have to do anything special.
13345 aix_use_runtimelinking=no
13346 exp_sym_flag='-Bexport'
13349 # If we're using GNU nm, then we don't want the "-C" option.
13350 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13351 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13352 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'
13354 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'
13356 aix_use_runtimelinking=no
13358 # Test if we are trying to use run time linking or normal
13359 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13360 # need to do runtime linking.
13361 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13362 for ld_flag in $LDFLAGS; do
13363 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13364 aix_use_runtimelinking=yes
13370 exp_sym_flag='-bexport'
13371 no_entry_flag='-bnoentry'
13374 # When large executables or shared objects are built, AIX ld can
13375 # have problems creating the table of contents. If linking a library
13376 # or program results in "error TOC overflow" add -mminimal-toc to
13377 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13378 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13380 archive_cmds_F77=''
13381 hardcode_direct_F77=yes
13382 hardcode_libdir_separator_F77=':'
13383 link_all_deplibs_F77=yes
13385 if test "$GCC" = yes; then
13386 case $host_os in aix4.012|aix4.012.*)
13387 # We only want to do this on AIX 4.2 and lower, the check
13388 # below for broken collect2 doesn't work under 4.3+
13389 collect2name=`${CC} -print-prog-name=collect2`
13390 if test -f "$collect2name" && \
13391 strings "$collect2name" | grep resolve_lib_name >/dev/null
13393 # We have reworked collect2
13394 hardcode_direct_F77=yes
13396 # We have old collect2
13397 hardcode_direct_F77=unsupported
13398 # It fails to find uninstalled libraries when the uninstalled
13399 # path is not listed in the libpath. Setting hardcode_minus_L
13400 # to unsupported forces relinking
13401 hardcode_minus_L_F77=yes
13402 hardcode_libdir_flag_spec_F77='-L$libdir'
13403 hardcode_libdir_separator_F77=
13406 shared_flag='-shared'
13409 if test "$host_cpu" = ia64; then
13410 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13411 # chokes on -Wl,-G. The following line is correct:
13414 if test "$aix_use_runtimelinking" = yes; then
13415 shared_flag='${wl}-G'
13417 shared_flag='${wl}-bM:SRE'
13422 # It seems that -bexpall does not export symbols beginning with
13423 # underscore (_), so it is better to generate a list of symbols to export.
13424 always_export_symbols_F77=yes
13425 if test "$aix_use_runtimelinking" = yes; then
13426 # Warning - without using the other runtime loading flags (-brtl),
13427 # -berok will link without error, but may produce a broken library.
13428 allow_undefined_flag_F77='-berok'
13429 # Determine the default libpath from the value encoded in an empty executable.
13430 cat >conftest.$ac_ext <<_ACEOF
13435 rm -f conftest.$ac_objext conftest$ac_exeext
13436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13437 (eval $ac_link) 2>&5
13439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13440 (exit $ac_status); } &&
13441 { ac_try='test -s conftest$ac_exeext'
13442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13443 (eval $ac_try) 2>&5
13445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13446 (exit $ac_status); }; }; then
13448 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13450 # Check for a 64-bit object if we didn't find anything.
13451 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; }
13454 echo "$as_me: failed program was:" >&5
13455 sed 's/^/| /' conftest.$ac_ext >&5
13458 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13459 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13461 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13462 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"
13464 if test "$host_cpu" = ia64; then
13465 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13466 allow_undefined_flag_F77="-z nodefs"
13467 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"
13469 # Determine the default libpath from the value encoded in an empty executable.
13470 cat >conftest.$ac_ext <<_ACEOF
13475 rm -f conftest.$ac_objext conftest$ac_exeext
13476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13477 (eval $ac_link) 2>&5
13479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13480 (exit $ac_status); } &&
13481 { ac_try='test -s conftest$ac_exeext'
13482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13483 (eval $ac_try) 2>&5
13485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13486 (exit $ac_status); }; }; then
13488 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13490 # Check for a 64-bit object if we didn't find anything.
13491 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; }
13494 echo "$as_me: failed program was:" >&5
13495 sed 's/^/| /' conftest.$ac_ext >&5
13498 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13499 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13501 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13502 # Warning - without using the other run time loading flags,
13503 # -berok will link without error, but may produce a broken library.
13504 no_undefined_flag_F77=' ${wl}-bernotok'
13505 allow_undefined_flag_F77=' ${wl}-berok'
13506 # -bexpall does not export symbols beginning with underscore (_)
13507 always_export_symbols_F77=yes
13508 # Exported symbols can be pulled into shared objects from archives
13509 whole_archive_flag_spec_F77=' '
13510 archive_cmds_need_lc_F77=yes
13511 # This is similar to how AIX traditionally builds it's shared libraries.
13512 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'
13518 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)'
13519 hardcode_libdir_flag_spec_F77='-L$libdir'
13520 hardcode_minus_L_F77=yes
13521 # see comment about different semantics on the GNU ld section
13526 export_dynamic_flag_spec_F77=-rdynamic
13529 cygwin* | mingw* | pw32*)
13530 # When not using gcc, we currently assume that we are using
13531 # Microsoft Visual C++.
13532 # hardcode_libdir_flag_spec is actually meaningless, as there is
13533 # no search path for DLLs.
13534 hardcode_libdir_flag_spec_F77=' '
13535 allow_undefined_flag_F77=unsupported
13536 # Tell ltmain to make .lib files, not .a files.
13538 # Tell ltmain to make .dll files, not .so files.
13540 # FIXME: Setting linknames here is a bad hack.
13541 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13542 # The linker will automatically build a .lib file if we build a DLL.
13543 old_archive_From_new_cmds_F77='true'
13544 # FIXME: Should let the user specify the lib program.
13545 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13546 fix_srcfile_path='`cygpath -w "$srcfile"`'
13547 enable_shared_with_static_runtimes_F77=yes
13550 darwin* | rhapsody*)
13551 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
13552 archive_cmds_need_lc_F77=no
13554 rhapsody* | darwin1.[012])
13555 allow_undefined_flag_F77='-undefined suppress'
13558 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13561 # FIXME: Relying on posixy $() will cause problems for
13562 # cross-compilation, but unfortunately the echo tests do not
13563 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13564 # `"' quotes if we put them in here... so don't!
13565 lt_int_apple_cc_single_mod=no
13566 output_verbose_link_cmd='echo'
13567 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13568 lt_int_apple_cc_single_mod=yes
13570 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13571 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13573 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'
13575 module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
13576 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13577 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13578 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}'
13580 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}'
13582 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}'
13583 hardcode_direct_F77=no
13584 hardcode_automatic_F77=yes
13585 hardcode_shlibpath_var_F77=unsupported
13586 whole_archive_flag_spec_F77='-all_load $convenience'
13587 link_all_deplibs_F77=yes
13592 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13593 hardcode_libdir_flag_spec_F77='-L$libdir'
13594 hardcode_shlibpath_var_F77=no
13601 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13602 # support. Future versions do this automatically, but an explicit c++rt0.o
13603 # does not break anything, and helps significantly (at the cost of a little
13606 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13607 hardcode_libdir_flag_spec_F77='-R$libdir'
13608 hardcode_direct_F77=yes
13609 hardcode_shlibpath_var_F77=no
13612 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13614 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13615 hardcode_direct_F77=yes
13616 hardcode_minus_L_F77=yes
13617 hardcode_shlibpath_var_F77=no
13620 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13622 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13623 hardcode_libdir_flag_spec_F77='-R$libdir'
13624 hardcode_direct_F77=yes
13625 hardcode_shlibpath_var_F77=no
13629 if test "$GCC" = yes; then
13630 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'
13632 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'
13634 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13635 hardcode_libdir_separator_F77=:
13636 hardcode_direct_F77=yes
13638 # hardcode_minus_L: Not really in the search PATH,
13639 # but as the default location of the library.
13640 hardcode_minus_L_F77=yes
13641 export_dynamic_flag_spec_F77='${wl}-E'
13645 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13646 case "$host_cpu" in
13648 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13651 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13655 case "$host_cpu" in
13657 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13660 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13664 if test "$with_gnu_ld" = no; then
13665 case "$host_cpu" in
13667 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13668 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13669 hardcode_libdir_separator_F77=:
13670 hardcode_direct_F77=no
13671 hardcode_shlibpath_var_F77=no
13674 hardcode_libdir_flag_spec_F77='-L$libdir'
13675 hardcode_direct_F77=no
13676 hardcode_shlibpath_var_F77=no
13678 # hardcode_minus_L: Not really in the search PATH,
13679 # but as the default location of the library.
13680 hardcode_minus_L_F77=yes
13683 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13684 hardcode_libdir_separator_F77=:
13685 hardcode_direct_F77=yes
13686 export_dynamic_flag_spec_F77='${wl}-E'
13688 # hardcode_minus_L: Not really in the search PATH,
13689 # but as the default location of the library.
13690 hardcode_minus_L_F77=yes
13696 irix5* | irix6* | nonstopux*)
13697 if test "$GCC" = yes; then
13698 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'
13700 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'
13701 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13703 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13704 hardcode_libdir_separator_F77=:
13705 link_all_deplibs_F77=yes
13709 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13710 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13712 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13714 hardcode_libdir_flag_spec_F77='-R$libdir'
13715 hardcode_direct_F77=yes
13716 hardcode_shlibpath_var_F77=no
13720 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13721 hardcode_direct_F77=yes
13722 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13723 hardcode_libdir_separator_F77=:
13724 hardcode_shlibpath_var_F77=no
13728 hardcode_direct_F77=yes
13729 hardcode_shlibpath_var_F77=no
13730 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13731 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13732 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13733 export_dynamic_flag_spec_F77='${wl}-E'
13736 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13737 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13738 hardcode_libdir_flag_spec_F77='-R$libdir'
13741 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13742 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13749 hardcode_libdir_flag_spec_F77='-L$libdir'
13750 hardcode_minus_L_F77=yes
13751 allow_undefined_flag_F77=unsupported
13752 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'
13753 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13757 if test "$GCC" = yes; then
13758 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13759 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'
13761 allow_undefined_flag_F77=' -expect_unresolved \*'
13762 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'
13764 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13765 hardcode_libdir_separator_F77=:
13768 osf4* | osf5*) # as osf3* with the addition of -msym flag
13769 if test "$GCC" = yes; then
13770 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13771 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'
13772 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13774 allow_undefined_flag_F77=' -expect_unresolved \*'
13775 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'
13776 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~
13777 $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'
13779 # Both c and cxx compiler support -rpath directly
13780 hardcode_libdir_flag_spec_F77='-rpath $libdir'
13782 hardcode_libdir_separator_F77=:
13786 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13787 hardcode_shlibpath_var_F77=no
13788 export_dynamic_flag_spec_F77='${wl}-Bexport'
13789 runpath_var=LD_RUN_PATH
13790 hardcode_runpath_var=yes
13794 no_undefined_flag_F77=' -z text'
13795 if test "$GCC" = yes; then
13796 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13797 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13798 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13800 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13801 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13802 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13804 hardcode_libdir_flag_spec_F77='-R$libdir'
13805 hardcode_shlibpath_var_F77=no
13807 solaris2.[0-5] | solaris2.[0-5].*) ;;
13808 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13809 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13811 link_all_deplibs_F77=yes
13815 if test "x$host_vendor" = xsequent; then
13816 # Use $CC to link under sequent, because it throws in some extra .o
13817 # files that make .init and .fini sections work.
13818 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13820 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13822 hardcode_libdir_flag_spec_F77='-L$libdir'
13823 hardcode_direct_F77=yes
13824 hardcode_minus_L_F77=yes
13825 hardcode_shlibpath_var_F77=no
13829 case $host_vendor in
13831 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13832 hardcode_direct_F77=yes # is this really true???
13835 ## LD is ld it makes a PLAMLIB
13836 ## CC just makes a GrossModule.
13837 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13838 reload_cmds_F77='$CC -r -o $output$reload_objs'
13839 hardcode_direct_F77=no
13842 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13843 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13846 runpath_var='LD_RUN_PATH'
13847 hardcode_shlibpath_var_F77=no
13851 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13852 hardcode_shlibpath_var_F77=no
13853 export_dynamic_flag_spec_F77='-Bexport'
13857 if test -d /usr/nec; then
13858 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13859 hardcode_shlibpath_var_F77=no
13860 runpath_var=LD_RUN_PATH
13861 hardcode_runpath_var=yes
13867 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13868 hardcode_direct_F77=yes
13869 hardcode_minus_L_F77=no
13870 hardcode_shlibpath_var_F77=no
13871 hardcode_runpath_var=yes
13872 runpath_var=LD_RUN_PATH
13875 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13876 no_undefined_flag_F77='${wl}-z ${wl}text'
13877 if test "$GCC" = yes; then
13878 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13880 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13882 runpath_var='LD_RUN_PATH'
13883 hardcode_shlibpath_var_F77=no
13887 no_undefined_flag_F77=' -z text'
13888 # $CC -shared without GNU ld will not create a library from C++
13889 # object files and a static libstdc++, better avoid it by now
13890 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13891 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13892 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13893 hardcode_libdir_flag_spec_F77=
13894 hardcode_shlibpath_var_F77=no
13895 runpath_var='LD_RUN_PATH'
13899 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13900 hardcode_libdir_flag_spec_F77='-L$libdir'
13901 hardcode_shlibpath_var_F77=no
13910 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
13911 echo "${ECHO_T}$ld_shlibs_F77" >&6
13912 test "$ld_shlibs_F77" = no && can_build_shared=no
13914 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13915 if test "$GCC" = yes; then
13916 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13920 # Do we need to explicitly link libc?
13922 case "x$archive_cmds_need_lc_F77" in
13924 # Assume -lc should be added
13925 archive_cmds_need_lc_F77=yes
13927 if test "$enable_shared" = yes && test "$GCC" = yes; then
13928 case $archive_cmds_F77 in
13930 # FIXME: we may have to deal with multi-command sequences.
13933 # Test whether the compiler implicitly links with -lc since on some
13934 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13935 # to ld, don't add -lc before -lgcc.
13936 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13937 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13939 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13942 (eval $ac_compile) 2>&5
13944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13945 (exit $ac_status); } 2>conftest.err; then
13948 libobjs=conftest.$ac_objext
13950 wl=$lt_prog_compiler_wl_F77
13956 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
13957 allow_undefined_flag_F77=
13958 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13959 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13962 (exit $ac_status); }
13964 archive_cmds_need_lc_F77=no
13966 archive_cmds_need_lc_F77=yes
13968 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
13970 cat conftest.err 1>&5
13973 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
13974 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
13981 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13982 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13983 hardcode_action_F77=
13984 if test -n "$hardcode_libdir_flag_spec_F77" || \
13985 test -n "$runpath_var F77" || \
13986 test "X$hardcode_automatic_F77"="Xyes" ; then
13988 # We can hardcode non-existant directories.
13989 if test "$hardcode_direct_F77" != no &&
13990 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13991 # have to relink, otherwise we might link with an installed library
13992 # when we should be linking with a yet-to-be-installed one
13993 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
13994 test "$hardcode_minus_L_F77" != no; then
13995 # Linking always hardcodes the temporary library directory.
13996 hardcode_action_F77=relink
13998 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13999 hardcode_action_F77=immediate
14002 # We cannot hardcode anything, or else we can only hardcode existing
14004 hardcode_action_F77=unsupported
14006 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14007 echo "${ECHO_T}$hardcode_action_F77" >&6
14009 if test "$hardcode_action_F77" = relink; then
14010 # Fast installation is not supported
14011 enable_fast_install=no
14012 elif test "$shlibpath_overrides_runpath" = yes ||
14013 test "$enable_shared" = no; then
14014 # Fast installation is not necessary
14015 enable_fast_install=needless
14020 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14021 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14022 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14023 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14024 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14025 echo "$as_me:$LINENO: result: yes" >&5
14026 echo "${ECHO_T}yes" >&6
14028 # FIXME - insert some real tests, host_os isn't really good enough
14031 if test -n "$STRIP" ; then
14032 striplib="$STRIP -x"
14033 echo "$as_me:$LINENO: result: yes" >&5
14034 echo "${ECHO_T}yes" >&6
14036 echo "$as_me:$LINENO: result: no" >&5
14037 echo "${ECHO_T}no" >&6
14041 echo "$as_me:$LINENO: result: no" >&5
14042 echo "${ECHO_T}no" >&6
14047 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14048 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14049 library_names_spec=
14050 libname_spec='lib$name'
14054 postuninstall_cmds=
14058 shlibpath_overrides_runpath=unknown
14060 dynamic_linker="$host_os ld.so"
14061 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14062 if test "$GCC" = yes; then
14063 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14064 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14065 # if the path contains ";" then we assume it to be the separator
14066 # otherwise default to the standard path separator (i.e. ":") - it is
14067 # assumed that no part of a normal pathname contains ";" but that should
14068 # okay in the real world where ";" in dirpaths is itself problematic.
14069 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14071 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14074 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14076 need_lib_prefix=unknown
14077 hardcode_into_libs=no
14079 # when you set need_version to no, make sure it does not cause -set_version
14080 # flags to be left without arguments
14081 need_version=unknown
14086 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14087 shlibpath_var=LIBPATH
14089 # AIX 3 has no versioning support, so we append a major version to the name.
14090 soname_spec='${libname}${release}${shared_ext}$major'
14097 hardcode_into_libs=yes
14098 if test "$host_cpu" = ia64; then
14099 # AIX 5 supports IA64
14100 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14101 shlibpath_var=LD_LIBRARY_PATH
14103 # With GCC up to 2.95.x, collect2 would create an import file
14104 # for dependence libraries. The import file would start with
14105 # the line `#! .'. This would cause the generated library to
14106 # depend on `.', always an invalid library. This was fixed in
14107 # development snapshots of GCC prior to 3.0.
14109 aix4 | aix4.[01] | aix4.[01].*)
14110 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14112 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14115 can_build_shared=no
14119 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14120 # soname into executable. Probably we can add versioning support to
14121 # collect2, so additional links can be useful in future.
14122 if test "$aix_use_runtimelinking" = yes; then
14123 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14124 # instead of lib<name>.a to let people know that these are not
14125 # typical AIX shared libraries.
14126 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14128 # We preserve .a as extension for shared libraries through AIX4.2
14129 # and later when we are not doing run time linking.
14130 library_names_spec='${libname}${release}.a $libname.a'
14131 soname_spec='${libname}${release}${shared_ext}$major'
14133 shlibpath_var=LIBPATH
14138 library_names_spec='$libname.ixlibrary $libname.a'
14139 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14140 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'
14144 library_names_spec='${libname}${shared_ext}'
14145 dynamic_linker="$host_os ld.so"
14146 shlibpath_var=LIBRARY_PATH
14152 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14153 soname_spec='${libname}${release}${shared_ext}$major'
14154 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14155 shlibpath_var=LD_LIBRARY_PATH
14156 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14157 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14158 # the default ld.so.conf also contains /usr/contrib/lib and
14159 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14160 # libtool to hard-code these into programs
14163 cygwin* | mingw* | pw32*)
14164 version_type=windows
14169 case $GCC,$host_os in
14170 yes,cygwin* | yes,mingw* | yes,pw32*)
14171 library_names_spec='$libname.dll.a'
14172 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14173 postinstall_cmds='base_file=`basename \${file}`~
14174 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14175 dldir=$destdir/`dirname \$dlpath`~
14176 test -d \$dldir || mkdir -p \$dldir~
14177 $install_prog $dir/$dlname \$dldir/$dlname'
14178 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14179 dlpath=$dir/\$dldll~
14181 shlibpath_overrides_runpath=yes
14185 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14186 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14187 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
14190 # MinGW DLLs use traditional 'lib' prefix
14191 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14192 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14193 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14194 # It is most probably a Windows format PATH printed by
14195 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14196 # path with ; separators, and with drive letters. We can handle the
14197 # drive letters (cygwin fileutils understands them), so leave them,
14198 # especially as we might pass files found there to a mingw objdump,
14199 # which wouldn't understand a cygwinified path. Ahh.
14200 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14202 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14206 # pw32 DLLs use 'pw' prefix rather than 'lib'
14207 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14213 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14216 dynamic_linker='Win32 ld.exe'
14217 # FIXME: first we should search . and the directory the executable is in
14221 darwin* | rhapsody*)
14222 dynamic_linker="$host_os dyld"
14223 version_type=darwin
14226 # FIXME: Relying on posixy $() will cause problems for
14227 # cross-compilation, but unfortunately the echo tests do not
14228 # yet detect zsh echo's removal of \ escapes.
14229 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14230 soname_spec='${libname}${release}${major}$shared_ext'
14231 shlibpath_overrides_runpath=yes
14232 shlibpath_var=DYLD_LIBRARY_PATH
14233 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
14234 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14235 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
14236 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"`
14238 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14245 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14246 soname_spec='${libname}${release}${shared_ext}$major'
14247 shlibpath_var=LD_LIBRARY_PATH
14255 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14256 version_type=freebsd-$objformat
14257 case $version_type in
14259 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14264 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14268 shlibpath_var=LD_LIBRARY_PATH
14271 shlibpath_overrides_runpath=yes
14273 freebsd3.01* | freebsdelf3.01*)
14274 shlibpath_overrides_runpath=yes
14275 hardcode_into_libs=yes
14278 shlibpath_overrides_runpath=no
14279 hardcode_into_libs=yes
14288 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14289 soname_spec='${libname}${release}${shared_ext}$major'
14290 shlibpath_var=LD_LIBRARY_PATH
14291 hardcode_into_libs=yes
14294 hpux9* | hpux10* | hpux11*)
14295 # Give a soname corresponding to the major version so that dld.sl refuses to
14296 # link against other versions.
14300 case "$host_cpu" in
14303 hardcode_into_libs=yes
14304 dynamic_linker="$host_os dld.so"
14305 shlibpath_var=LD_LIBRARY_PATH
14306 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14307 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14308 soname_spec='${libname}${release}${shared_ext}$major'
14309 if test "X$HPUX_IA64_MODE" = X32; then
14310 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14312 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14314 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14318 hardcode_into_libs=yes
14319 dynamic_linker="$host_os dld.sl"
14320 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14321 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14323 soname_spec='${libname}${release}${shared_ext}$major'
14324 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14325 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14329 dynamic_linker="$host_os dld.sl"
14330 shlibpath_var=SHLIB_PATH
14331 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14332 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14333 soname_spec='${libname}${release}${shared_ext}$major'
14336 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14337 postinstall_cmds='chmod 555 $lib'
14340 irix5* | irix6* | nonstopux*)
14342 nonstopux*) version_type=nonstopux ;;
14344 if test "$lt_cv_prog_gnu_ld" = yes; then
14352 soname_spec='${libname}${release}${shared_ext}$major'
14353 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14355 irix5* | nonstopux*)
14356 libsuff= shlibsuff=
14359 case $LD in # libtool.m4 will add one of these switches to LD
14360 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14361 libsuff= shlibsuff= libmagic=32-bit;;
14362 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14363 libsuff=32 shlibsuff=N32 libmagic=N32;;
14364 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14365 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14366 *) libsuff= shlibsuff= libmagic=never-match;;
14370 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14371 shlibpath_overrides_runpath=no
14372 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14373 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14374 hardcode_into_libs=yes
14377 # No shared lib support for Linux oldld, aout, or coff.
14378 linux*oldld* | linux*aout* | linux*coff*)
14382 # This must be Linux ELF.
14387 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14388 soname_spec='${libname}${release}${shared_ext}$major'
14389 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14390 shlibpath_var=LD_LIBRARY_PATH
14391 shlibpath_overrides_runpath=no
14392 # This implies no fast_install, which is unacceptable.
14393 # Some rework will be needed to allow for fast_install
14394 # before this can be enabled.
14395 hardcode_into_libs=yes
14397 # We used to test for /lib/ld.so.1 and disable shared libraries on
14398 # powerpc, because MkLinux only supported shared libraries with the
14399 # GNU dynamic linker. Since this was broken with cross compilers,
14400 # most powerpc-linux boxes support dynamic linking these days and
14401 # people can always --disable-shared, the test was removed, and we
14402 # assume the GNU/Linux dynamic linker is in use.
14403 dynamic_linker='GNU/Linux ld.so'
14410 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14411 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14412 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14413 dynamic_linker='NetBSD (a.out) ld.so'
14415 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14416 soname_spec='${libname}${release}${shared_ext}$major'
14417 dynamic_linker='NetBSD ld.elf_so'
14419 shlibpath_var=LD_LIBRARY_PATH
14420 shlibpath_overrides_runpath=yes
14421 hardcode_into_libs=yes
14426 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14427 shlibpath_var=LD_LIBRARY_PATH
14428 shlibpath_overrides_runpath=yes
14435 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14436 soname_spec='${libname}${release}${shared_ext}$major'
14437 shlibpath_var=LD_LIBRARY_PATH
14438 shlibpath_overrides_runpath=yes
14445 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14446 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14447 shlibpath_var=LD_LIBRARY_PATH
14448 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14450 openbsd2.[89] | openbsd2.[89].*)
14451 shlibpath_overrides_runpath=no
14454 shlibpath_overrides_runpath=yes
14458 shlibpath_overrides_runpath=yes
14463 libname_spec='$name'
14466 library_names_spec='$libname${shared_ext} $libname.a'
14467 dynamic_linker='OS/2 ld.exe'
14468 shlibpath_var=LIBPATH
14471 osf3* | osf4* | osf5*)
14475 soname_spec='${libname}${release}${shared_ext}$major'
14476 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14477 shlibpath_var=LD_LIBRARY_PATH
14478 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14479 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14484 soname_spec='${libname}${release}${shared_ext}$major'
14485 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14486 shlibpath_var=LD_LIBRARY_PATH
14493 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14494 soname_spec='${libname}${release}${shared_ext}$major'
14495 shlibpath_var=LD_LIBRARY_PATH
14496 shlibpath_overrides_runpath=yes
14497 hardcode_into_libs=yes
14498 # ldd complains unless libraries are executable
14499 postinstall_cmds='chmod +x $lib'
14504 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14505 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14506 shlibpath_var=LD_LIBRARY_PATH
14507 shlibpath_overrides_runpath=yes
14508 if test "$with_gnu_ld" = yes; then
14514 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14516 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14517 soname_spec='${libname}${release}${shared_ext}$major'
14518 shlibpath_var=LD_LIBRARY_PATH
14519 case $host_vendor in
14521 shlibpath_overrides_runpath=no
14523 export_dynamic_flag_spec='${wl}-Blargedynsym'
14524 runpath_var=LD_RUN_PATH
14532 shlibpath_overrides_runpath=no
14533 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14539 if test -d /usr/nec ;then
14541 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14542 soname_spec='$libname${shared_ext}.$major'
14543 shlibpath_var=LD_LIBRARY_PATH
14549 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14550 soname_spec='${libname}${release}${shared_ext}$major'
14551 shlibpath_var=LD_LIBRARY_PATH
14558 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14559 echo "${ECHO_T}$dynamic_linker" >&6
14560 test "$dynamic_linker" = no && can_build_shared=no
14563 # The else clause should only fire when bootstrapping the
14564 # libtool distribution, otherwise you forgot to ship ltmain.sh
14565 # with your package, and you will get complaints that there are
14566 # no rules to generate ltmain.sh.
14567 if test -f "$ltmain"; then
14568 # See if we are running on zsh, and set the options which allow our commands through
14569 # without removal of \ escapes.
14570 if test -n "${ZSH_VERSION+set}" ; then
14571 setopt NO_GLOB_SUBST
14573 # Now quote all the things that may contain metacharacters while being
14574 # careful not to overquote the AC_SUBSTed values. We take copies of the
14575 # variables and quote the copies for generation of the libtool script.
14576 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
14577 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14578 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14579 deplibs_check_method reload_flag reload_cmds need_locks \
14580 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14581 lt_cv_sys_global_symbol_to_c_name_address \
14582 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14583 old_postinstall_cmds old_postuninstall_cmds \
14587 lt_prog_compiler_wl_F77 \
14588 lt_prog_compiler_pic_F77 \
14589 lt_prog_compiler_static_F77 \
14590 lt_prog_compiler_no_builtin_flag_F77 \
14591 export_dynamic_flag_spec_F77 \
14592 thread_safe_flag_spec_F77 \
14593 whole_archive_flag_spec_F77 \
14594 enable_shared_with_static_runtimes_F77 \
14595 old_archive_cmds_F77 \
14596 old_archive_from_new_cmds_F77 \
14597 predep_objects_F77 \
14598 postdep_objects_F77 \
14601 compiler_lib_search_path_F77 \
14603 archive_expsym_cmds_F77 \
14604 postinstall_cmds_F77 \
14605 postuninstall_cmds_F77 \
14606 old_archive_from_expsyms_cmds_F77 \
14607 allow_undefined_flag_F77 \
14608 no_undefined_flag_F77 \
14609 export_symbols_cmds_F77 \
14610 hardcode_libdir_flag_spec_F77 \
14611 hardcode_libdir_flag_spec_ld_F77 \
14612 hardcode_libdir_separator_F77 \
14613 hardcode_automatic_F77 \
14615 module_expsym_cmds_F77 \
14616 lt_cv_prog_compiler_c_o_F77 \
14617 exclude_expsyms_F77 \
14618 include_expsyms_F77; do
14621 old_archive_cmds_F77 | \
14622 old_archive_from_new_cmds_F77 | \
14623 archive_cmds_F77 | \
14624 archive_expsym_cmds_F77 | \
14625 module_cmds_F77 | \
14626 module_expsym_cmds_F77 | \
14627 old_archive_from_expsyms_cmds_F77 | \
14628 export_symbols_cmds_F77 | \
14629 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14630 postinstall_cmds | postuninstall_cmds | \
14631 old_postinstall_cmds | old_postuninstall_cmds | \
14632 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14633 # Double-quote double-evaled strings.
14634 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14637 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14643 *'\$0 --fallback-echo"')
14644 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14650 cat <<__EOF__ >> "$cfgfile"
14651 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14653 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14655 # Shell to use when invoking shell scripts.
14658 # Whether or not to build shared libraries.
14659 build_libtool_libs=$enable_shared
14661 # Whether or not to build static libraries.
14662 build_old_libs=$enable_static
14664 # Whether or not to add -lc for building shared libraries.
14665 build_libtool_need_lc=$archive_cmds_need_lc_F77
14667 # Whether or not to disallow shared libs when runtime libs are static
14668 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14670 # Whether or not to optimize for fast installation.
14671 fast_install=$enable_fast_install
14674 host_alias=$host_alias
14677 # An echo program that does not interpret backslashes.
14682 AR_FLAGS=$lt_AR_FLAGS
14687 # A language-specific compiler.
14688 CC=$lt_compiler_F77
14690 # Is the compiler the GNU C compiler?
14696 # The linker used to build libraries.
14699 # Whether we need hard or soft links.
14702 # A BSD-compatible nm program.
14705 # A symbol stripping program
14708 # Used to examine libraries when file_magic_cmd begins "file"
14709 MAGIC_CMD=$MAGIC_CMD
14711 # Used on cygwin: DLL creation program.
14714 # Used on cygwin: object dumper.
14717 # Used on cygwin: assembler.
14720 # The name of the directory that contains temporary libtool files.
14723 # How to create reloadable object files.
14724 reload_flag=$lt_reload_flag
14725 reload_cmds=$lt_reload_cmds
14727 # How to pass a linker flag through the compiler.
14728 wl=$lt_lt_prog_compiler_wl_F77
14730 # Object file suffix (normally "o").
14731 objext="$ac_objext"
14733 # Old archive suffix (normally "a").
14736 # Shared library suffix (normally ".so").
14739 # Executable file suffix (normally "").
14742 # Additional compiler flags for building library objects.
14743 pic_flag=$lt_lt_prog_compiler_pic_F77
14746 # What is the maximum length of a command?
14747 max_cmd_len=$lt_cv_sys_max_cmd_len
14749 # Does compiler simultaneously support -c and -o options?
14750 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
14752 # Must we lock files when doing compilation ?
14753 need_locks=$lt_need_locks
14755 # Do we need the lib prefix for modules?
14756 need_lib_prefix=$need_lib_prefix
14758 # Do we need a version for libraries?
14759 need_version=$need_version
14761 # Whether dlopen is supported.
14762 dlopen_support=$enable_dlopen
14764 # Whether dlopen of programs is supported.
14765 dlopen_self=$enable_dlopen_self
14767 # Whether dlopen of statically linked programs is supported.
14768 dlopen_self_static=$enable_dlopen_self_static
14770 # Compiler flag to prevent dynamic linking.
14771 link_static_flag=$lt_lt_prog_compiler_static_F77
14773 # Compiler flag to turn off builtin functions.
14774 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
14776 # Compiler flag to allow reflexive dlopens.
14777 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
14779 # Compiler flag to generate shared objects directly from archives.
14780 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
14782 # Compiler flag to generate thread-safe objects.
14783 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
14785 # Library versioning type.
14786 version_type=$version_type
14788 # Format of library name prefix.
14789 libname_spec=$lt_libname_spec
14791 # List of archive names. First name is the real one, the rest are links.
14792 # The last name is the one that the linker finds with -lNAME.
14793 library_names_spec=$lt_library_names_spec
14795 # The coded name of the library, if different from the real name.
14796 soname_spec=$lt_soname_spec
14798 # Commands used to build and install an old-style archive.
14800 old_archive_cmds=$lt_old_archive_cmds_F77
14801 old_postinstall_cmds=$lt_old_postinstall_cmds
14802 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14804 # Create an old-style archive from a shared archive.
14805 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
14807 # Create a temporary old-style archive to link instead of a shared archive.
14808 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
14810 # Commands used to build and install a shared archive.
14811 archive_cmds=$lt_archive_cmds_F77
14812 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
14813 postinstall_cmds=$lt_postinstall_cmds
14814 postuninstall_cmds=$lt_postuninstall_cmds
14816 # Commands used to build a loadable module (assumed same as above if empty)
14817 module_cmds=$lt_module_cmds_F77
14818 module_expsym_cmds=$lt_module_expsym_cmds_F77
14820 # Commands to strip libraries.
14821 old_striplib=$lt_old_striplib
14822 striplib=$lt_striplib
14824 # Dependencies to place before the objects being linked to create a
14826 predep_objects=$lt_predep_objects_F77
14828 # Dependencies to place after the objects being linked to create a
14830 postdep_objects=$lt_postdep_objects_F77
14832 # Dependencies to place before the objects being linked to create a
14834 predeps=$lt_predeps_F77
14836 # Dependencies to place after the objects being linked to create a
14838 postdeps=$lt_postdeps_F77
14840 # The library search path used internally by the compiler when linking
14841 # a shared library.
14842 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
14844 # Method to check whether dependent libraries are shared objects.
14845 deplibs_check_method=$lt_deplibs_check_method
14847 # Command to use when deplibs_check_method == file_magic.
14848 file_magic_cmd=$lt_file_magic_cmd
14850 # Flag that allows shared libraries with undefined symbols to be built.
14851 allow_undefined_flag=$lt_allow_undefined_flag_F77
14853 # Flag that forces no undefined symbols.
14854 no_undefined_flag=$lt_no_undefined_flag_F77
14856 # Commands used to finish a libtool library installation in a directory.
14857 finish_cmds=$lt_finish_cmds
14859 # Same as above, but a single script fragment to be evaled but not shown.
14860 finish_eval=$lt_finish_eval
14862 # Take the output of nm and produce a listing of raw symbols and C names.
14863 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14865 # Transform the output of nm in a proper C declaration
14866 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14868 # Transform the output of nm in a C name address pair
14869 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14871 # This is the shared library runtime path variable.
14872 runpath_var=$runpath_var
14874 # This is the shared library path variable.
14875 shlibpath_var=$shlibpath_var
14877 # Is shlibpath searched before the hard-coded library search path?
14878 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14880 # How to hardcode a shared library path into an executable.
14881 hardcode_action=$hardcode_action_F77
14883 # Whether we should hardcode library paths into libraries.
14884 hardcode_into_libs=$hardcode_into_libs
14886 # Flag to hardcode \$libdir into a binary during linking.
14887 # This must work even if \$libdir does not exist.
14888 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
14890 # If ld is used when linking, flag to hardcode \$libdir into
14891 # a binary during linking. This must work even if \$libdir does
14893 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
14895 # Whether we need a single -rpath flag with a separated argument.
14896 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
14898 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14899 # resulting binary.
14900 hardcode_direct=$hardcode_direct_F77
14902 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14903 # resulting binary.
14904 hardcode_minus_L=$hardcode_minus_L_F77
14906 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14907 # the resulting binary.
14908 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
14910 # Set to yes if building a shared library automatically hardcodes DIR into the library
14911 # and all subsequent libraries and executables linked against it.
14912 hardcode_automatic=$hardcode_automatic_F77
14914 # Variables whose values should be saved in libtool wrapper scripts and
14915 # restored at relink time.
14916 variables_saved_for_relink="$variables_saved_for_relink"
14918 # Whether libtool must link a program against all its dependency libraries.
14919 link_all_deplibs=$link_all_deplibs_F77
14921 # Compile-time system search path for libraries
14922 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14924 # Run-time system search path for libraries
14925 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14927 # Fix the shell variable \$srcfile for the compiler.
14928 fix_srcfile_path="$fix_srcfile_path_F77"
14930 # Set to yes if exported symbols are required.
14931 always_export_symbols=$always_export_symbols_F77
14933 # The commands to list exported symbols.
14934 export_symbols_cmds=$lt_export_symbols_cmds_F77
14936 # The commands to extract the exported symbol list from a shared archive.
14937 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14939 # Symbols that should not be listed in the preloaded symbols.
14940 exclude_expsyms=$lt_exclude_expsyms_F77
14942 # Symbols that must always be exported.
14943 include_expsyms=$lt_include_expsyms_F77
14945 # ### END LIBTOOL TAG CONFIG: $tagname
14951 # If there is no Makefile yet, we rely on a make rule to execute
14952 # `config.status --recheck' to rerun these tests and create the
14953 # libtool script then.
14954 test -f Makefile && make "$ltmain"
14959 ac_cpp='$CPP $CPPFLAGS'
14960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14972 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
14976 # Source file extension for Java test sources.
14979 # Object file extension for compiled Java test sources.
14983 # Code to be used in simple compile tests
14984 lt_simple_compile_test_code="class foo {}\n"
14986 # Code to be used in simple link tests
14987 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
14989 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14991 # If no C compiler was specified, use CC.
14994 # Allow CC to be a program name with arguments.
14998 # Allow CC to be a program name with arguments.
15004 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15005 archive_cmds_need_lc_GCJ=no
15008 ## There is no encapsulation within the following macros, do not change
15009 ## the running order or otherwise move them around unless you know exactly
15010 ## what you are doing...
15012 lt_prog_compiler_no_builtin_flag_GCJ=
15014 if test "$GCC" = yes; then
15015 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15017 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15018 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15019 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15020 echo $ECHO_N "(cached) $ECHO_C" >&6
15022 lt_cv_prog_compiler_rtti_exceptions=no
15023 ac_outfile=conftest.$ac_objext
15024 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15025 lt_compiler_flag="-fno-rtti -fno-exceptions"
15026 # Insert the option either (1) after the last *FLAGS variable, or
15027 # (2) before a word containing "conftest.", or (3) at the end.
15028 # Note that $ac_compile itself does not contain backslashes and begins
15029 # with a dollar sign (not a hyphen), so the echo should work correctly.
15030 # The option is referenced via a variable to avoid confusing sed.
15031 lt_compile=`echo "$ac_compile" | $SED \
15032 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15033 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15034 -e 's:$: $lt_compiler_flag:'`
15035 (eval echo "\"\$as_me:15035: $lt_compile\"" >&5)
15036 (eval "$lt_compile" 2>conftest.err)
15038 cat conftest.err >&5
15039 echo "$as_me:15039: \$? = $ac_status" >&5
15040 if (exit $ac_status) && test -s "$ac_outfile"; then
15041 # The compiler can only warn and ignore the option if not recognized
15042 # So say no if there are warnings
15043 if test ! -s conftest.err; then
15044 lt_cv_prog_compiler_rtti_exceptions=yes
15050 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15051 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15053 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15054 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15061 lt_prog_compiler_wl_GCJ=
15062 lt_prog_compiler_pic_GCJ=
15063 lt_prog_compiler_static_GCJ=
15065 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15066 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15068 if test "$GCC" = yes; then
15069 lt_prog_compiler_wl_GCJ='-Wl,'
15070 lt_prog_compiler_static_GCJ='-static'
15074 # All AIX code is PIC.
15075 if test "$host_cpu" = ia64; then
15076 # AIX 5 now supports IA64 processor
15077 lt_prog_compiler_static_GCJ='-Bstatic'
15082 # FIXME: we need at least 68020 code to build shared libraries, but
15083 # adding the `-m68020' flag to GCC prevents building anything better,
15085 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15088 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15089 # PIC is the default for these OSes.
15092 mingw* | pw32* | os2*)
15093 # This hack is so that the source file can tell whether it is being
15094 # built for inclusion in a dll (and should export symbols for example).
15095 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15098 darwin* | rhapsody*)
15099 # PIC is the default on this platform
15100 # Common symbols not allowed in MH_DYLIB files
15101 lt_prog_compiler_pic_GCJ='-fno-common'
15105 # Just because we use GCC doesn't mean we suddenly get shared libraries
15106 # on systems that don't support them.
15107 lt_prog_compiler_can_build_shared_GCJ=no
15112 if test -d /usr/nec; then
15113 lt_prog_compiler_pic_GCJ=-Kconform_pic
15118 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15119 # not for PA HP-UX.
15120 case "$host_cpu" in
15125 lt_prog_compiler_pic_GCJ='-fPIC'
15131 lt_prog_compiler_pic_GCJ='-fPIC'
15135 # PORTME Check for flag to pass linker flags through the system compiler.
15138 lt_prog_compiler_wl_GCJ='-Wl,'
15139 if test "$host_cpu" = ia64; then
15140 # AIX 5 now supports IA64 processor
15141 lt_prog_compiler_static_GCJ='-Bstatic'
15143 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15147 mingw* | pw32* | os2*)
15148 # This hack is so that the source file can tell whether it is being
15149 # built for inclusion in a dll (and should export symbols for example).
15150 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15153 hpux9* | hpux10* | hpux11*)
15154 lt_prog_compiler_wl_GCJ='-Wl,'
15155 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15156 # not for PA HP-UX.
15157 case "$host_cpu" in
15162 lt_prog_compiler_pic_GCJ='+Z'
15165 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15166 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15169 irix5* | irix6* | nonstopux*)
15170 lt_prog_compiler_wl_GCJ='-Wl,'
15171 # PIC (with -KPIC) is the default.
15172 lt_prog_compiler_static_GCJ='-non_shared'
15176 lt_prog_compiler_pic_GCJ='-KPIC'
15177 lt_prog_compiler_static_GCJ='-Bstatic'
15183 lt_prog_compiler_wl_GCJ='-Wl,'
15184 lt_prog_compiler_pic_GCJ='-KPIC'
15185 lt_prog_compiler_static_GCJ='-static'
15188 lt_prog_compiler_wl_GCJ='-Wl,'
15189 # All Alpha code is PIC.
15190 lt_prog_compiler_static_GCJ='-non_shared'
15195 osf3* | osf4* | osf5*)
15196 lt_prog_compiler_wl_GCJ='-Wl,'
15197 # All OSF/1 code is PIC.
15198 lt_prog_compiler_static_GCJ='-non_shared'
15202 lt_prog_compiler_pic_GCJ='-Kpic'
15203 lt_prog_compiler_static_GCJ='-dn'
15207 lt_prog_compiler_wl_GCJ='-Wl,'
15208 lt_prog_compiler_pic_GCJ='-KPIC'
15209 lt_prog_compiler_static_GCJ='-Bstatic'
15213 lt_prog_compiler_wl_GCJ='-Qoption ld '
15214 lt_prog_compiler_pic_GCJ='-PIC'
15215 lt_prog_compiler_static_GCJ='-Bstatic'
15218 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15219 lt_prog_compiler_wl_GCJ='-Wl,'
15220 lt_prog_compiler_pic_GCJ='-KPIC'
15221 lt_prog_compiler_static_GCJ='-Bstatic'
15225 if test -d /usr/nec ;then
15226 lt_prog_compiler_pic_GCJ='-Kconform_pic'
15227 lt_prog_compiler_static_GCJ='-Bstatic'
15232 lt_prog_compiler_pic_GCJ='-pic'
15233 lt_prog_compiler_static_GCJ='-Bstatic'
15237 lt_prog_compiler_can_build_shared_GCJ=no
15242 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15243 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15246 # Check to make sure the PIC flag actually works.
15248 if test -n "$lt_prog_compiler_pic_GCJ"; then
15249 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15250 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15251 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15252 echo $ECHO_N "(cached) $ECHO_C" >&6
15254 lt_prog_compiler_pic_works_GCJ=no
15255 ac_outfile=conftest.$ac_objext
15256 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15257 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15258 # Insert the option either (1) after the last *FLAGS variable, or
15259 # (2) before a word containing "conftest.", or (3) at the end.
15260 # Note that $ac_compile itself does not contain backslashes and begins
15261 # with a dollar sign (not a hyphen), so the echo should work correctly.
15262 # The option is referenced via a variable to avoid confusing sed.
15263 lt_compile=`echo "$ac_compile" | $SED \
15264 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15265 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15266 -e 's:$: $lt_compiler_flag:'`
15267 (eval echo "\"\$as_me:15267: $lt_compile\"" >&5)
15268 (eval "$lt_compile" 2>conftest.err)
15270 cat conftest.err >&5
15271 echo "$as_me:15271: \$? = $ac_status" >&5
15272 if (exit $ac_status) && test -s "$ac_outfile"; then
15273 # The compiler can only warn and ignore the option if not recognized
15274 # So say no if there are warnings
15275 if test ! -s conftest.err; then
15276 lt_prog_compiler_pic_works_GCJ=yes
15282 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15283 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15285 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15286 case $lt_prog_compiler_pic_GCJ in
15288 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15291 lt_prog_compiler_pic_GCJ=
15292 lt_prog_compiler_can_build_shared_GCJ=no
15297 # For platforms which do not support PIC, -DPIC is meaningless:
15299 lt_prog_compiler_pic_GCJ=
15302 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15306 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15307 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15308 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15309 echo $ECHO_N "(cached) $ECHO_C" >&6
15311 lt_cv_prog_compiler_c_o_GCJ=no
15312 $rm -r conftest 2>/dev/null
15316 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15318 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15319 # that will create temporary files in the current directory regardless of
15320 # the output directory. Thus, making CWD read-only will cause this test
15321 # to fail, enabling locking or at least warning the user not to do parallel
15325 lt_compiler_flag="-o out/conftest2.$ac_objext"
15326 # Insert the option either (1) after the last *FLAGS variable, or
15327 # (2) before a word containing "conftest.", or (3) at the end.
15328 # Note that $ac_compile itself does not contain backslashes and begins
15329 # with a dollar sign (not a hyphen), so the echo should work correctly.
15330 lt_compile=`echo "$ac_compile" | $SED \
15331 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15332 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15333 -e 's:$: $lt_compiler_flag:'`
15334 (eval echo "\"\$as_me:15334: $lt_compile\"" >&5)
15335 (eval "$lt_compile" 2>out/conftest.err)
15337 cat out/conftest.err >&5
15338 echo "$as_me:15338: \$? = $ac_status" >&5
15339 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15341 # The compiler can only warn and ignore the option if not recognized
15342 # So say no if there are warnings
15343 if test ! -s out/conftest.err; then
15344 lt_cv_prog_compiler_c_o_GCJ=yes
15348 $rm conftest* out/*
15355 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15356 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15359 hard_links="nottested"
15360 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15361 # do not overwrite the value of need_locks provided by the user
15362 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15363 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15366 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15368 ln conftest.a conftest.b 2>&5 || hard_links=no
15369 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15370 echo "$as_me:$LINENO: result: $hard_links" >&5
15371 echo "${ECHO_T}$hard_links" >&6
15372 if test "$hard_links" = no; then
15373 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15374 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15381 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15382 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15385 allow_undefined_flag_GCJ=
15386 enable_shared_with_static_runtimes_GCJ=no
15388 archive_expsym_cmds_GCJ=
15389 old_archive_From_new_cmds_GCJ=
15390 old_archive_from_expsyms_cmds_GCJ=
15391 export_dynamic_flag_spec_GCJ=
15392 whole_archive_flag_spec_GCJ=
15393 thread_safe_flag_spec_GCJ=
15394 hardcode_libdir_flag_spec_GCJ=
15395 hardcode_libdir_flag_spec_ld_GCJ=
15396 hardcode_libdir_separator_GCJ=
15397 hardcode_direct_GCJ=no
15398 hardcode_minus_L_GCJ=no
15399 hardcode_shlibpath_var_GCJ=unsupported
15400 link_all_deplibs_GCJ=unknown
15401 hardcode_automatic_GCJ=no
15403 module_expsym_cmds_GCJ=
15404 always_export_symbols_GCJ=no
15405 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15406 # include_expsyms should be a list of space-separated symbols to be *always*
15407 # included in the symbol list
15408 include_expsyms_GCJ=
15409 # exclude_expsyms can be an extended regexp of symbols to exclude
15410 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15411 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15412 # as well as any symbol that contains `d'.
15413 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15414 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15415 # platforms (ab)use it in PIC code, but their linkers get confused if
15416 # the symbol is explicitly referenced. Since portable code cannot
15417 # rely on this symbol name, it's probably fine to never include it in
15418 # preloaded symbol tables.
15419 extract_expsyms_cmds=
15422 cygwin* | mingw* | pw32*)
15423 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15424 # When not using gcc, we currently assume that we are using
15425 # Microsoft Visual C++.
15426 if test "$GCC" != yes; then
15436 if test "$with_gnu_ld" = yes; then
15437 # If archive_cmds runs LD, not CC, wlarc should be empty
15440 # See if GNU ld supports shared libraries.
15442 aix3* | aix4* | aix5*)
15443 # On AIX/PPC, the GNU linker is very broken
15444 if test "$host_cpu" != ia64; then
15448 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15449 *** to be unable to reliably create shared libraries on AIX.
15450 *** Therefore, libtool is disabling shared libraries support. If you
15451 *** really care for shared libraries, you may want to modify your PATH
15452 *** so that a non-GNU linker is found, and then restart.
15459 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)'
15460 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15461 hardcode_minus_L_GCJ=yes
15463 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15464 # that the semantics of dynamic libraries on AmigaOS, at least up
15465 # to version 4, is to share data among multiple programs linked
15466 # with the same dynamic library. Since this doesn't match the
15467 # behavior of shared libraries on other platforms, we can't use
15473 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15474 allow_undefined_flag_GCJ=unsupported
15475 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15476 # support --undefined. This deserves some investigation. FIXME
15477 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15483 cygwin* | mingw* | pw32*)
15484 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15485 # as there is no search path for DLLs.
15486 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15487 allow_undefined_flag_GCJ=unsupported
15488 always_export_symbols_GCJ=no
15489 enable_shared_with_static_runtimes_GCJ=yes
15490 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15492 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15493 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15494 # If the export-symbols file already is a .def file (1st line
15495 # is EXPORTS), use it as is; otherwise, prepend...
15496 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15497 cp $export_symbols $output_objdir/$soname.def;
15499 echo EXPORTS > $output_objdir/$soname.def;
15500 cat $export_symbols >> $output_objdir/$soname.def;
15502 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15509 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15510 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15513 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15514 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15519 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15523 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15524 *** create shared libraries on Solaris systems. Therefore, libtool
15525 *** is disabling shared libraries support. We urge you to upgrade GNU
15526 *** binutils to release 2.9.1 or newer. Another option is to modify
15527 *** your PATH or compiler configuration so that the native linker is
15528 *** used, and then restart.
15531 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15532 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15533 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15540 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15542 hardcode_direct_GCJ=yes
15543 hardcode_shlibpath_var_GCJ=no
15547 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15548 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15549 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15556 if test "$ld_shlibs_GCJ" = yes; then
15557 runpath_var=LD_RUN_PATH
15558 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15559 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15560 # ancient GNU ld didn't support --whole-archive et. al.
15561 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15562 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15564 whole_archive_flag_spec_GCJ=
15568 # PORTME fill in a description of your system's linker (not GNU ld)
15571 allow_undefined_flag_GCJ=unsupported
15572 always_export_symbols_GCJ=yes
15573 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'
15574 # Note: this linker hardcodes the directories in LIBPATH if there
15575 # are no directories specified by -L.
15576 hardcode_minus_L_GCJ=yes
15577 if test "$GCC" = yes && test -z "$link_static_flag"; then
15578 # Neither direct hardcoding nor static linking is supported with a
15580 hardcode_direct_GCJ=unsupported
15585 if test "$host_cpu" = ia64; then
15586 # On IA64, the linker does run time linking by default, so we don't
15587 # have to do anything special.
15588 aix_use_runtimelinking=no
15589 exp_sym_flag='-Bexport'
15592 # If we're using GNU nm, then we don't want the "-C" option.
15593 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15594 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15595 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'
15597 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'
15599 aix_use_runtimelinking=no
15601 # Test if we are trying to use run time linking or normal
15602 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15603 # need to do runtime linking.
15604 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15605 for ld_flag in $LDFLAGS; do
15606 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15607 aix_use_runtimelinking=yes
15613 exp_sym_flag='-bexport'
15614 no_entry_flag='-bnoentry'
15617 # When large executables or shared objects are built, AIX ld can
15618 # have problems creating the table of contents. If linking a library
15619 # or program results in "error TOC overflow" add -mminimal-toc to
15620 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15621 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15623 archive_cmds_GCJ=''
15624 hardcode_direct_GCJ=yes
15625 hardcode_libdir_separator_GCJ=':'
15626 link_all_deplibs_GCJ=yes
15628 if test "$GCC" = yes; then
15629 case $host_os in aix4.012|aix4.012.*)
15630 # We only want to do this on AIX 4.2 and lower, the check
15631 # below for broken collect2 doesn't work under 4.3+
15632 collect2name=`${CC} -print-prog-name=collect2`
15633 if test -f "$collect2name" && \
15634 strings "$collect2name" | grep resolve_lib_name >/dev/null
15636 # We have reworked collect2
15637 hardcode_direct_GCJ=yes
15639 # We have old collect2
15640 hardcode_direct_GCJ=unsupported
15641 # It fails to find uninstalled libraries when the uninstalled
15642 # path is not listed in the libpath. Setting hardcode_minus_L
15643 # to unsupported forces relinking
15644 hardcode_minus_L_GCJ=yes
15645 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15646 hardcode_libdir_separator_GCJ=
15649 shared_flag='-shared'
15652 if test "$host_cpu" = ia64; then
15653 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15654 # chokes on -Wl,-G. The following line is correct:
15657 if test "$aix_use_runtimelinking" = yes; then
15658 shared_flag='${wl}-G'
15660 shared_flag='${wl}-bM:SRE'
15665 # It seems that -bexpall does not export symbols beginning with
15666 # underscore (_), so it is better to generate a list of symbols to export.
15667 always_export_symbols_GCJ=yes
15668 if test "$aix_use_runtimelinking" = yes; then
15669 # Warning - without using the other runtime loading flags (-brtl),
15670 # -berok will link without error, but may produce a broken library.
15671 allow_undefined_flag_GCJ='-berok'
15672 # Determine the default libpath from the value encoded in an empty executable.
15673 cat >conftest.$ac_ext <<_ACEOF
15674 #line $LINENO "configure"
15677 cat confdefs.h >>conftest.$ac_ext
15678 cat >>conftest.$ac_ext <<_ACEOF
15679 /* end confdefs.h. */
15689 rm -f conftest.$ac_objext conftest$ac_exeext
15690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15691 (eval $ac_link) 2>&5
15693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15694 (exit $ac_status); } &&
15695 { ac_try='test -s conftest$ac_exeext'
15696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15697 (eval $ac_try) 2>&5
15699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15700 (exit $ac_status); }; }; then
15702 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15704 # Check for a 64-bit object if we didn't find anything.
15705 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; }
15708 echo "$as_me: failed program was:" >&5
15709 sed 's/^/| /' conftest.$ac_ext >&5
15712 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15713 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15715 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15716 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"
15718 if test "$host_cpu" = ia64; then
15719 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
15720 allow_undefined_flag_GCJ="-z nodefs"
15721 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"
15723 # Determine the default libpath from the value encoded in an empty executable.
15724 cat >conftest.$ac_ext <<_ACEOF
15725 #line $LINENO "configure"
15728 cat confdefs.h >>conftest.$ac_ext
15729 cat >>conftest.$ac_ext <<_ACEOF
15730 /* end confdefs.h. */
15740 rm -f conftest.$ac_objext conftest$ac_exeext
15741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15742 (eval $ac_link) 2>&5
15744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15745 (exit $ac_status); } &&
15746 { ac_try='test -s conftest$ac_exeext'
15747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15748 (eval $ac_try) 2>&5
15750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15751 (exit $ac_status); }; }; then
15753 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15755 # Check for a 64-bit object if we didn't find anything.
15756 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; }
15759 echo "$as_me: failed program was:" >&5
15760 sed 's/^/| /' conftest.$ac_ext >&5
15763 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15764 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15766 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15767 # Warning - without using the other run time loading flags,
15768 # -berok will link without error, but may produce a broken library.
15769 no_undefined_flag_GCJ=' ${wl}-bernotok'
15770 allow_undefined_flag_GCJ=' ${wl}-berok'
15771 # -bexpall does not export symbols beginning with underscore (_)
15772 always_export_symbols_GCJ=yes
15773 # Exported symbols can be pulled into shared objects from archives
15774 whole_archive_flag_spec_GCJ=' '
15775 archive_cmds_need_lc_GCJ=yes
15776 # This is similar to how AIX traditionally builds it's shared libraries.
15777 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'
15783 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)'
15784 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15785 hardcode_minus_L_GCJ=yes
15786 # see comment about different semantics on the GNU ld section
15791 export_dynamic_flag_spec_GCJ=-rdynamic
15794 cygwin* | mingw* | pw32*)
15795 # When not using gcc, we currently assume that we are using
15796 # Microsoft Visual C++.
15797 # hardcode_libdir_flag_spec is actually meaningless, as there is
15798 # no search path for DLLs.
15799 hardcode_libdir_flag_spec_GCJ=' '
15800 allow_undefined_flag_GCJ=unsupported
15801 # Tell ltmain to make .lib files, not .a files.
15803 # Tell ltmain to make .dll files, not .so files.
15805 # FIXME: Setting linknames here is a bad hack.
15806 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15807 # The linker will automatically build a .lib file if we build a DLL.
15808 old_archive_From_new_cmds_GCJ='true'
15809 # FIXME: Should let the user specify the lib program.
15810 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
15811 fix_srcfile_path='`cygpath -w "$srcfile"`'
15812 enable_shared_with_static_runtimes_GCJ=yes
15815 darwin* | rhapsody*)
15816 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
15817 archive_cmds_need_lc_GCJ=no
15819 rhapsody* | darwin1.[012])
15820 allow_undefined_flag_GCJ='-undefined suppress'
15823 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
15826 # FIXME: Relying on posixy $() will cause problems for
15827 # cross-compilation, but unfortunately the echo tests do not
15828 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
15829 # `"' quotes if we put them in here... so don't!
15830 lt_int_apple_cc_single_mod=no
15831 output_verbose_link_cmd='echo'
15832 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
15833 lt_int_apple_cc_single_mod=yes
15835 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15836 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15838 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'
15840 module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
15841 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15842 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15843 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}'
15845 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}'
15847 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}'
15848 hardcode_direct_GCJ=no
15849 hardcode_automatic_GCJ=yes
15850 hardcode_shlibpath_var_GCJ=unsupported
15851 whole_archive_flag_spec_GCJ='-all_load $convenience'
15852 link_all_deplibs_GCJ=yes
15857 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15858 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15859 hardcode_shlibpath_var_GCJ=no
15866 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15867 # support. Future versions do this automatically, but an explicit c++rt0.o
15868 # does not break anything, and helps significantly (at the cost of a little
15871 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15872 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15873 hardcode_direct_GCJ=yes
15874 hardcode_shlibpath_var_GCJ=no
15877 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15879 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15880 hardcode_direct_GCJ=yes
15881 hardcode_minus_L_GCJ=yes
15882 hardcode_shlibpath_var_GCJ=no
15885 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15887 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15888 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15889 hardcode_direct_GCJ=yes
15890 hardcode_shlibpath_var_GCJ=no
15894 if test "$GCC" = yes; then
15895 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'
15897 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'
15899 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15900 hardcode_libdir_separator_GCJ=:
15901 hardcode_direct_GCJ=yes
15903 # hardcode_minus_L: Not really in the search PATH,
15904 # but as the default location of the library.
15905 hardcode_minus_L_GCJ=yes
15906 export_dynamic_flag_spec_GCJ='${wl}-E'
15910 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15911 case "$host_cpu" in
15913 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15916 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15920 case "$host_cpu" in
15922 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15925 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15929 if test "$with_gnu_ld" = no; then
15930 case "$host_cpu" in
15932 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15933 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
15934 hardcode_libdir_separator_GCJ=:
15935 hardcode_direct_GCJ=no
15936 hardcode_shlibpath_var_GCJ=no
15939 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15940 hardcode_direct_GCJ=no
15941 hardcode_shlibpath_var_GCJ=no
15943 # hardcode_minus_L: Not really in the search PATH,
15944 # but as the default location of the library.
15945 hardcode_minus_L_GCJ=yes
15948 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15949 hardcode_libdir_separator_GCJ=:
15950 hardcode_direct_GCJ=yes
15951 export_dynamic_flag_spec_GCJ='${wl}-E'
15953 # hardcode_minus_L: Not really in the search PATH,
15954 # but as the default location of the library.
15955 hardcode_minus_L_GCJ=yes
15961 irix5* | irix6* | nonstopux*)
15962 if test "$GCC" = yes; then
15963 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'
15965 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'
15966 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
15968 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15969 hardcode_libdir_separator_GCJ=:
15970 link_all_deplibs_GCJ=yes
15974 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15975 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15977 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15979 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15980 hardcode_direct_GCJ=yes
15981 hardcode_shlibpath_var_GCJ=no
15985 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15986 hardcode_direct_GCJ=yes
15987 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15988 hardcode_libdir_separator_GCJ=:
15989 hardcode_shlibpath_var_GCJ=no
15993 hardcode_direct_GCJ=yes
15994 hardcode_shlibpath_var_GCJ=no
15995 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15996 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15997 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
15998 export_dynamic_flag_spec_GCJ='${wl}-E'
16001 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16002 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16003 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16006 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16007 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16014 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16015 hardcode_minus_L_GCJ=yes
16016 allow_undefined_flag_GCJ=unsupported
16017 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'
16018 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16022 if test "$GCC" = yes; then
16023 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16024 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'
16026 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16027 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'
16029 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16030 hardcode_libdir_separator_GCJ=:
16033 osf4* | osf5*) # as osf3* with the addition of -msym flag
16034 if test "$GCC" = yes; then
16035 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16036 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'
16037 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16039 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16040 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'
16041 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~
16042 $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'
16044 # Both c and cxx compiler support -rpath directly
16045 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16047 hardcode_libdir_separator_GCJ=:
16051 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16052 hardcode_shlibpath_var_GCJ=no
16053 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16054 runpath_var=LD_RUN_PATH
16055 hardcode_runpath_var=yes
16059 no_undefined_flag_GCJ=' -z text'
16060 if test "$GCC" = yes; then
16061 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16062 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16063 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16065 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16066 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16067 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16069 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16070 hardcode_shlibpath_var_GCJ=no
16072 solaris2.[0-5] | solaris2.[0-5].*) ;;
16073 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16074 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16076 link_all_deplibs_GCJ=yes
16080 if test "x$host_vendor" = xsequent; then
16081 # Use $CC to link under sequent, because it throws in some extra .o
16082 # files that make .init and .fini sections work.
16083 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16085 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16087 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16088 hardcode_direct_GCJ=yes
16089 hardcode_minus_L_GCJ=yes
16090 hardcode_shlibpath_var_GCJ=no
16094 case $host_vendor in
16096 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16097 hardcode_direct_GCJ=yes # is this really true???
16100 ## LD is ld it makes a PLAMLIB
16101 ## CC just makes a GrossModule.
16102 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16103 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16104 hardcode_direct_GCJ=no
16107 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16108 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16111 runpath_var='LD_RUN_PATH'
16112 hardcode_shlibpath_var_GCJ=no
16116 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16117 hardcode_shlibpath_var_GCJ=no
16118 export_dynamic_flag_spec_GCJ='-Bexport'
16122 if test -d /usr/nec; then
16123 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16124 hardcode_shlibpath_var_GCJ=no
16125 runpath_var=LD_RUN_PATH
16126 hardcode_runpath_var=yes
16132 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16133 hardcode_direct_GCJ=yes
16134 hardcode_minus_L_GCJ=no
16135 hardcode_shlibpath_var_GCJ=no
16136 hardcode_runpath_var=yes
16137 runpath_var=LD_RUN_PATH
16140 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16141 no_undefined_flag_GCJ='${wl}-z ${wl}text'
16142 if test "$GCC" = yes; then
16143 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16145 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16147 runpath_var='LD_RUN_PATH'
16148 hardcode_shlibpath_var_GCJ=no
16152 no_undefined_flag_GCJ=' -z text'
16153 # $CC -shared without GNU ld will not create a library from C++
16154 # object files and a static libstdc++, better avoid it by now
16155 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16156 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16157 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16158 hardcode_libdir_flag_spec_GCJ=
16159 hardcode_shlibpath_var_GCJ=no
16160 runpath_var='LD_RUN_PATH'
16164 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16165 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16166 hardcode_shlibpath_var_GCJ=no
16175 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16176 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16177 test "$ld_shlibs_GCJ" = no && can_build_shared=no
16179 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16180 if test "$GCC" = yes; then
16181 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16185 # Do we need to explicitly link libc?
16187 case "x$archive_cmds_need_lc_GCJ" in
16189 # Assume -lc should be added
16190 archive_cmds_need_lc_GCJ=yes
16192 if test "$enable_shared" = yes && test "$GCC" = yes; then
16193 case $archive_cmds_GCJ in
16195 # FIXME: we may have to deal with multi-command sequences.
16198 # Test whether the compiler implicitly links with -lc since on some
16199 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16200 # to ld, don't add -lc before -lgcc.
16201 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16202 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16204 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16207 (eval $ac_compile) 2>&5
16209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16210 (exit $ac_status); } 2>conftest.err; then
16213 libobjs=conftest.$ac_objext
16215 wl=$lt_prog_compiler_wl_GCJ
16221 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16222 allow_undefined_flag_GCJ=
16223 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16224 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16227 (exit $ac_status); }
16229 archive_cmds_need_lc_GCJ=no
16231 archive_cmds_need_lc_GCJ=yes
16233 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16235 cat conftest.err 1>&5
16238 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16239 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16246 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16247 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16248 hardcode_action_GCJ=
16249 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
16250 test -n "$runpath_var GCJ" || \
16251 test "X$hardcode_automatic_GCJ"="Xyes" ; then
16253 # We can hardcode non-existant directories.
16254 if test "$hardcode_direct_GCJ" != no &&
16255 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16256 # have to relink, otherwise we might link with an installed library
16257 # when we should be linking with a yet-to-be-installed one
16258 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
16259 test "$hardcode_minus_L_GCJ" != no; then
16260 # Linking always hardcodes the temporary library directory.
16261 hardcode_action_GCJ=relink
16263 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16264 hardcode_action_GCJ=immediate
16267 # We cannot hardcode anything, or else we can only hardcode existing
16269 hardcode_action_GCJ=unsupported
16271 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
16272 echo "${ECHO_T}$hardcode_action_GCJ" >&6
16274 if test "$hardcode_action_GCJ" = relink; then
16275 # Fast installation is not supported
16276 enable_fast_install=no
16277 elif test "$shlibpath_overrides_runpath" = yes ||
16278 test "$enable_shared" = no; then
16279 # Fast installation is not necessary
16280 enable_fast_install=needless
16285 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16286 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16287 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16288 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16289 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16290 echo "$as_me:$LINENO: result: yes" >&5
16291 echo "${ECHO_T}yes" >&6
16293 # FIXME - insert some real tests, host_os isn't really good enough
16296 if test -n "$STRIP" ; then
16297 striplib="$STRIP -x"
16298 echo "$as_me:$LINENO: result: yes" >&5
16299 echo "${ECHO_T}yes" >&6
16301 echo "$as_me:$LINENO: result: no" >&5
16302 echo "${ECHO_T}no" >&6
16306 echo "$as_me:$LINENO: result: no" >&5
16307 echo "${ECHO_T}no" >&6
16312 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16313 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16314 library_names_spec=
16315 libname_spec='lib$name'
16319 postuninstall_cmds=
16323 shlibpath_overrides_runpath=unknown
16325 dynamic_linker="$host_os ld.so"
16326 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16327 if test "$GCC" = yes; then
16328 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16329 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16330 # if the path contains ";" then we assume it to be the separator
16331 # otherwise default to the standard path separator (i.e. ":") - it is
16332 # assumed that no part of a normal pathname contains ";" but that should
16333 # okay in the real world where ";" in dirpaths is itself problematic.
16334 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16336 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16339 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16341 need_lib_prefix=unknown
16342 hardcode_into_libs=no
16344 # when you set need_version to no, make sure it does not cause -set_version
16345 # flags to be left without arguments
16346 need_version=unknown
16351 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16352 shlibpath_var=LIBPATH
16354 # AIX 3 has no versioning support, so we append a major version to the name.
16355 soname_spec='${libname}${release}${shared_ext}$major'
16362 hardcode_into_libs=yes
16363 if test "$host_cpu" = ia64; then
16364 # AIX 5 supports IA64
16365 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16366 shlibpath_var=LD_LIBRARY_PATH
16368 # With GCC up to 2.95.x, collect2 would create an import file
16369 # for dependence libraries. The import file would start with
16370 # the line `#! .'. This would cause the generated library to
16371 # depend on `.', always an invalid library. This was fixed in
16372 # development snapshots of GCC prior to 3.0.
16374 aix4 | aix4.[01] | aix4.[01].*)
16375 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16377 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16380 can_build_shared=no
16384 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16385 # soname into executable. Probably we can add versioning support to
16386 # collect2, so additional links can be useful in future.
16387 if test "$aix_use_runtimelinking" = yes; then
16388 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16389 # instead of lib<name>.a to let people know that these are not
16390 # typical AIX shared libraries.
16391 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16393 # We preserve .a as extension for shared libraries through AIX4.2
16394 # and later when we are not doing run time linking.
16395 library_names_spec='${libname}${release}.a $libname.a'
16396 soname_spec='${libname}${release}${shared_ext}$major'
16398 shlibpath_var=LIBPATH
16403 library_names_spec='$libname.ixlibrary $libname.a'
16404 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16405 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'
16409 library_names_spec='${libname}${shared_ext}'
16410 dynamic_linker="$host_os ld.so"
16411 shlibpath_var=LIBRARY_PATH
16417 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16418 soname_spec='${libname}${release}${shared_ext}$major'
16419 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16420 shlibpath_var=LD_LIBRARY_PATH
16421 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16422 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16423 # the default ld.so.conf also contains /usr/contrib/lib and
16424 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16425 # libtool to hard-code these into programs
16428 cygwin* | mingw* | pw32*)
16429 version_type=windows
16434 case $GCC,$host_os in
16435 yes,cygwin* | yes,mingw* | yes,pw32*)
16436 library_names_spec='$libname.dll.a'
16437 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16438 postinstall_cmds='base_file=`basename \${file}`~
16439 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16440 dldir=$destdir/`dirname \$dlpath`~
16441 test -d \$dldir || mkdir -p \$dldir~
16442 $install_prog $dir/$dlname \$dldir/$dlname'
16443 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16444 dlpath=$dir/\$dldll~
16446 shlibpath_overrides_runpath=yes
16450 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16451 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16452 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
16455 # MinGW DLLs use traditional 'lib' prefix
16456 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16457 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16458 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16459 # It is most probably a Windows format PATH printed by
16460 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16461 # path with ; separators, and with drive letters. We can handle the
16462 # drive letters (cygwin fileutils understands them), so leave them,
16463 # especially as we might pass files found there to a mingw objdump,
16464 # which wouldn't understand a cygwinified path. Ahh.
16465 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16467 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16471 # pw32 DLLs use 'pw' prefix rather than 'lib'
16472 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16478 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16481 dynamic_linker='Win32 ld.exe'
16482 # FIXME: first we should search . and the directory the executable is in
16486 darwin* | rhapsody*)
16487 dynamic_linker="$host_os dyld"
16488 version_type=darwin
16491 # FIXME: Relying on posixy $() will cause problems for
16492 # cross-compilation, but unfortunately the echo tests do not
16493 # yet detect zsh echo's removal of \ escapes.
16494 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16495 soname_spec='${libname}${release}${major}$shared_ext'
16496 shlibpath_overrides_runpath=yes
16497 shlibpath_var=DYLD_LIBRARY_PATH
16498 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
16499 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16500 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
16501 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"`
16503 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16510 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16511 soname_spec='${libname}${release}${shared_ext}$major'
16512 shlibpath_var=LD_LIBRARY_PATH
16520 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16521 version_type=freebsd-$objformat
16522 case $version_type in
16524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16529 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16533 shlibpath_var=LD_LIBRARY_PATH
16536 shlibpath_overrides_runpath=yes
16538 freebsd3.01* | freebsdelf3.01*)
16539 shlibpath_overrides_runpath=yes
16540 hardcode_into_libs=yes
16543 shlibpath_overrides_runpath=no
16544 hardcode_into_libs=yes
16553 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16554 soname_spec='${libname}${release}${shared_ext}$major'
16555 shlibpath_var=LD_LIBRARY_PATH
16556 hardcode_into_libs=yes
16559 hpux9* | hpux10* | hpux11*)
16560 # Give a soname corresponding to the major version so that dld.sl refuses to
16561 # link against other versions.
16565 case "$host_cpu" in
16568 hardcode_into_libs=yes
16569 dynamic_linker="$host_os dld.so"
16570 shlibpath_var=LD_LIBRARY_PATH
16571 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16572 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16573 soname_spec='${libname}${release}${shared_ext}$major'
16574 if test "X$HPUX_IA64_MODE" = X32; then
16575 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16577 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16579 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16583 hardcode_into_libs=yes
16584 dynamic_linker="$host_os dld.sl"
16585 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16586 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16588 soname_spec='${libname}${release}${shared_ext}$major'
16589 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16590 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16594 dynamic_linker="$host_os dld.sl"
16595 shlibpath_var=SHLIB_PATH
16596 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16597 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16598 soname_spec='${libname}${release}${shared_ext}$major'
16601 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16602 postinstall_cmds='chmod 555 $lib'
16605 irix5* | irix6* | nonstopux*)
16607 nonstopux*) version_type=nonstopux ;;
16609 if test "$lt_cv_prog_gnu_ld" = yes; then
16617 soname_spec='${libname}${release}${shared_ext}$major'
16618 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16620 irix5* | nonstopux*)
16621 libsuff= shlibsuff=
16624 case $LD in # libtool.m4 will add one of these switches to LD
16625 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16626 libsuff= shlibsuff= libmagic=32-bit;;
16627 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16628 libsuff=32 shlibsuff=N32 libmagic=N32;;
16629 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16630 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16631 *) libsuff= shlibsuff= libmagic=never-match;;
16635 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16636 shlibpath_overrides_runpath=no
16637 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16638 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16639 hardcode_into_libs=yes
16642 # No shared lib support for Linux oldld, aout, or coff.
16643 linux*oldld* | linux*aout* | linux*coff*)
16647 # This must be Linux ELF.
16652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16653 soname_spec='${libname}${release}${shared_ext}$major'
16654 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16655 shlibpath_var=LD_LIBRARY_PATH
16656 shlibpath_overrides_runpath=no
16657 # This implies no fast_install, which is unacceptable.
16658 # Some rework will be needed to allow for fast_install
16659 # before this can be enabled.
16660 hardcode_into_libs=yes
16662 # We used to test for /lib/ld.so.1 and disable shared libraries on
16663 # powerpc, because MkLinux only supported shared libraries with the
16664 # GNU dynamic linker. Since this was broken with cross compilers,
16665 # most powerpc-linux boxes support dynamic linking these days and
16666 # people can always --disable-shared, the test was removed, and we
16667 # assume the GNU/Linux dynamic linker is in use.
16668 dynamic_linker='GNU/Linux ld.so'
16675 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16676 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16677 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16678 dynamic_linker='NetBSD (a.out) ld.so'
16680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16681 soname_spec='${libname}${release}${shared_ext}$major'
16682 dynamic_linker='NetBSD ld.elf_so'
16684 shlibpath_var=LD_LIBRARY_PATH
16685 shlibpath_overrides_runpath=yes
16686 hardcode_into_libs=yes
16691 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16692 shlibpath_var=LD_LIBRARY_PATH
16693 shlibpath_overrides_runpath=yes
16700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16701 soname_spec='${libname}${release}${shared_ext}$major'
16702 shlibpath_var=LD_LIBRARY_PATH
16703 shlibpath_overrides_runpath=yes
16710 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16711 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16712 shlibpath_var=LD_LIBRARY_PATH
16713 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16715 openbsd2.[89] | openbsd2.[89].*)
16716 shlibpath_overrides_runpath=no
16719 shlibpath_overrides_runpath=yes
16723 shlibpath_overrides_runpath=yes
16728 libname_spec='$name'
16731 library_names_spec='$libname${shared_ext} $libname.a'
16732 dynamic_linker='OS/2 ld.exe'
16733 shlibpath_var=LIBPATH
16736 osf3* | osf4* | osf5*)
16740 soname_spec='${libname}${release}${shared_ext}$major'
16741 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16742 shlibpath_var=LD_LIBRARY_PATH
16743 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16744 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16749 soname_spec='${libname}${release}${shared_ext}$major'
16750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16751 shlibpath_var=LD_LIBRARY_PATH
16758 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16759 soname_spec='${libname}${release}${shared_ext}$major'
16760 shlibpath_var=LD_LIBRARY_PATH
16761 shlibpath_overrides_runpath=yes
16762 hardcode_into_libs=yes
16763 # ldd complains unless libraries are executable
16764 postinstall_cmds='chmod +x $lib'
16769 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16770 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16771 shlibpath_var=LD_LIBRARY_PATH
16772 shlibpath_overrides_runpath=yes
16773 if test "$with_gnu_ld" = yes; then
16779 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16781 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16782 soname_spec='${libname}${release}${shared_ext}$major'
16783 shlibpath_var=LD_LIBRARY_PATH
16784 case $host_vendor in
16786 shlibpath_overrides_runpath=no
16788 export_dynamic_flag_spec='${wl}-Blargedynsym'
16789 runpath_var=LD_RUN_PATH
16797 shlibpath_overrides_runpath=no
16798 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16804 if test -d /usr/nec ;then
16806 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16807 soname_spec='$libname${shared_ext}.$major'
16808 shlibpath_var=LD_LIBRARY_PATH
16814 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16815 soname_spec='${libname}${release}${shared_ext}$major'
16816 shlibpath_var=LD_LIBRARY_PATH
16823 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16824 echo "${ECHO_T}$dynamic_linker" >&6
16825 test "$dynamic_linker" = no && can_build_shared=no
16827 if test "x$enable_dlopen" != xyes; then
16828 enable_dlopen=unknown
16829 enable_dlopen_self=unknown
16830 enable_dlopen_self_static=unknown
16837 lt_cv_dlopen="load_add_on"
16839 lt_cv_dlopen_self=yes
16843 lt_cv_dlopen="LoadLibrary"
16848 lt_cv_dlopen="dlopen"
16853 # if libdl is installed we need to link against it
16854 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16855 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16856 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16857 echo $ECHO_N "(cached) $ECHO_C" >&6
16859 ac_check_lib_save_LIBS=$LIBS
16861 cat >conftest.$ac_ext <<_ACEOF
16862 #line $LINENO "configure"
16865 cat confdefs.h >>conftest.$ac_ext
16866 cat >>conftest.$ac_ext <<_ACEOF
16867 /* end confdefs.h. */
16869 /* Override any gcc2 internal prototype to avoid an error. */
16873 /* We use char because int might match the return type of a gcc2
16874 builtin and then its argument prototype would still apply. */
16884 rm -f conftest.$ac_objext conftest$ac_exeext
16885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16886 (eval $ac_link) 2>&5
16888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16889 (exit $ac_status); } &&
16890 { ac_try='test -s conftest$ac_exeext'
16891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16892 (eval $ac_try) 2>&5
16894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16895 (exit $ac_status); }; }; then
16896 ac_cv_lib_dl_dlopen=yes
16898 echo "$as_me: failed program was:" >&5
16899 sed 's/^/| /' conftest.$ac_ext >&5
16901 ac_cv_lib_dl_dlopen=no
16903 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16904 LIBS=$ac_check_lib_save_LIBS
16906 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16907 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16908 if test $ac_cv_lib_dl_dlopen = yes; then
16909 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16912 lt_cv_dlopen="dyld"
16914 lt_cv_dlopen_self=yes
16921 echo "$as_me:$LINENO: checking for shl_load" >&5
16922 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
16923 if test "${ac_cv_func_shl_load+set}" = set; then
16924 echo $ECHO_N "(cached) $ECHO_C" >&6
16926 cat >conftest.$ac_ext <<_ACEOF
16927 #line $LINENO "configure"
16930 cat confdefs.h >>conftest.$ac_ext
16931 cat >>conftest.$ac_ext <<_ACEOF
16932 /* end confdefs.h. */
16933 /* System header to define __stub macros and hopefully few prototypes,
16934 which can conflict with char shl_load (); below.
16935 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16936 <limits.h> exists even on freestanding compilers. */
16938 # include <limits.h>
16940 # include <assert.h>
16942 /* Override any gcc2 internal prototype to avoid an error. */
16947 /* We use char because int might match the return type of a gcc2
16948 builtin and then its argument prototype would still apply. */
16950 /* The GNU C library defines this for functions which it implements
16951 to always fail with ENOSYS. Some functions are actually named
16952 something starting with __ and the normal name is an alias. */
16953 #if defined (__stub_shl_load) || defined (__stub___shl_load)
16956 char (*f) () = shl_load;
16965 return f != shl_load;
16970 rm -f conftest.$ac_objext conftest$ac_exeext
16971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16972 (eval $ac_link) 2>&5
16974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16975 (exit $ac_status); } &&
16976 { ac_try='test -s conftest$ac_exeext'
16977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16978 (eval $ac_try) 2>&5
16980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16981 (exit $ac_status); }; }; then
16982 ac_cv_func_shl_load=yes
16984 echo "$as_me: failed program was:" >&5
16985 sed 's/^/| /' conftest.$ac_ext >&5
16987 ac_cv_func_shl_load=no
16989 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16991 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
16992 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
16993 if test $ac_cv_func_shl_load = yes; then
16994 lt_cv_dlopen="shl_load"
16996 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
16997 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
16998 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
16999 echo $ECHO_N "(cached) $ECHO_C" >&6
17001 ac_check_lib_save_LIBS=$LIBS
17003 cat >conftest.$ac_ext <<_ACEOF
17004 #line $LINENO "configure"
17007 cat confdefs.h >>conftest.$ac_ext
17008 cat >>conftest.$ac_ext <<_ACEOF
17009 /* end confdefs.h. */
17011 /* Override any gcc2 internal prototype to avoid an error. */
17015 /* We use char because int might match the return type of a gcc2
17016 builtin and then its argument prototype would still apply. */
17026 rm -f conftest.$ac_objext conftest$ac_exeext
17027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17028 (eval $ac_link) 2>&5
17030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17031 (exit $ac_status); } &&
17032 { ac_try='test -s conftest$ac_exeext'
17033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17034 (eval $ac_try) 2>&5
17036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17037 (exit $ac_status); }; }; then
17038 ac_cv_lib_dld_shl_load=yes
17040 echo "$as_me: failed program was:" >&5
17041 sed 's/^/| /' conftest.$ac_ext >&5
17043 ac_cv_lib_dld_shl_load=no
17045 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17046 LIBS=$ac_check_lib_save_LIBS
17048 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17049 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17050 if test $ac_cv_lib_dld_shl_load = yes; then
17051 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17053 echo "$as_me:$LINENO: checking for dlopen" >&5
17054 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17055 if test "${ac_cv_func_dlopen+set}" = set; then
17056 echo $ECHO_N "(cached) $ECHO_C" >&6
17058 cat >conftest.$ac_ext <<_ACEOF
17059 #line $LINENO "configure"
17062 cat confdefs.h >>conftest.$ac_ext
17063 cat >>conftest.$ac_ext <<_ACEOF
17064 /* end confdefs.h. */
17065 /* System header to define __stub macros and hopefully few prototypes,
17066 which can conflict with char dlopen (); below.
17067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17068 <limits.h> exists even on freestanding compilers. */
17070 # include <limits.h>
17072 # include <assert.h>
17074 /* Override any gcc2 internal prototype to avoid an error. */
17079 /* We use char because int might match the return type of a gcc2
17080 builtin and then its argument prototype would still apply. */
17082 /* The GNU C library defines this for functions which it implements
17083 to always fail with ENOSYS. Some functions are actually named
17084 something starting with __ and the normal name is an alias. */
17085 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17088 char (*f) () = dlopen;
17097 return f != dlopen;
17102 rm -f conftest.$ac_objext conftest$ac_exeext
17103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17104 (eval $ac_link) 2>&5
17106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17107 (exit $ac_status); } &&
17108 { ac_try='test -s conftest$ac_exeext'
17109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17110 (eval $ac_try) 2>&5
17112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17113 (exit $ac_status); }; }; then
17114 ac_cv_func_dlopen=yes
17116 echo "$as_me: failed program was:" >&5
17117 sed 's/^/| /' conftest.$ac_ext >&5
17119 ac_cv_func_dlopen=no
17121 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17123 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17124 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17125 if test $ac_cv_func_dlopen = yes; then
17126 lt_cv_dlopen="dlopen"
17128 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17129 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17130 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17131 echo $ECHO_N "(cached) $ECHO_C" >&6
17133 ac_check_lib_save_LIBS=$LIBS
17135 cat >conftest.$ac_ext <<_ACEOF
17136 #line $LINENO "configure"
17139 cat confdefs.h >>conftest.$ac_ext
17140 cat >>conftest.$ac_ext <<_ACEOF
17141 /* end confdefs.h. */
17143 /* Override any gcc2 internal prototype to avoid an error. */
17147 /* We use char because int might match the return type of a gcc2
17148 builtin and then its argument prototype would still apply. */
17158 rm -f conftest.$ac_objext conftest$ac_exeext
17159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17160 (eval $ac_link) 2>&5
17162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17163 (exit $ac_status); } &&
17164 { ac_try='test -s conftest$ac_exeext'
17165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17166 (eval $ac_try) 2>&5
17168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169 (exit $ac_status); }; }; then
17170 ac_cv_lib_dl_dlopen=yes
17172 echo "$as_me: failed program was:" >&5
17173 sed 's/^/| /' conftest.$ac_ext >&5
17175 ac_cv_lib_dl_dlopen=no
17177 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17178 LIBS=$ac_check_lib_save_LIBS
17180 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17181 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17182 if test $ac_cv_lib_dl_dlopen = yes; then
17183 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17185 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17186 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17187 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17188 echo $ECHO_N "(cached) $ECHO_C" >&6
17190 ac_check_lib_save_LIBS=$LIBS
17191 LIBS="-lsvld $LIBS"
17192 cat >conftest.$ac_ext <<_ACEOF
17193 #line $LINENO "configure"
17196 cat confdefs.h >>conftest.$ac_ext
17197 cat >>conftest.$ac_ext <<_ACEOF
17198 /* end confdefs.h. */
17200 /* Override any gcc2 internal prototype to avoid an error. */
17204 /* We use char because int might match the return type of a gcc2
17205 builtin and then its argument prototype would still apply. */
17215 rm -f conftest.$ac_objext conftest$ac_exeext
17216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17217 (eval $ac_link) 2>&5
17219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17220 (exit $ac_status); } &&
17221 { ac_try='test -s conftest$ac_exeext'
17222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17223 (eval $ac_try) 2>&5
17225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17226 (exit $ac_status); }; }; then
17227 ac_cv_lib_svld_dlopen=yes
17229 echo "$as_me: failed program was:" >&5
17230 sed 's/^/| /' conftest.$ac_ext >&5
17232 ac_cv_lib_svld_dlopen=no
17234 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17235 LIBS=$ac_check_lib_save_LIBS
17237 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17238 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17239 if test $ac_cv_lib_svld_dlopen = yes; then
17240 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17242 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17243 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17244 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17245 echo $ECHO_N "(cached) $ECHO_C" >&6
17247 ac_check_lib_save_LIBS=$LIBS
17249 cat >conftest.$ac_ext <<_ACEOF
17250 #line $LINENO "configure"
17253 cat confdefs.h >>conftest.$ac_ext
17254 cat >>conftest.$ac_ext <<_ACEOF
17255 /* end confdefs.h. */
17257 /* Override any gcc2 internal prototype to avoid an error. */
17261 /* We use char because int might match the return type of a gcc2
17262 builtin and then its argument prototype would still apply. */
17272 rm -f conftest.$ac_objext conftest$ac_exeext
17273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17274 (eval $ac_link) 2>&5
17276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17277 (exit $ac_status); } &&
17278 { ac_try='test -s conftest$ac_exeext'
17279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17280 (eval $ac_try) 2>&5
17282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17283 (exit $ac_status); }; }; then
17284 ac_cv_lib_dld_dld_link=yes
17286 echo "$as_me: failed program was:" >&5
17287 sed 's/^/| /' conftest.$ac_ext >&5
17289 ac_cv_lib_dld_dld_link=no
17291 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17292 LIBS=$ac_check_lib_save_LIBS
17294 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17295 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17296 if test $ac_cv_lib_dld_dld_link = yes; then
17297 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17318 if test "x$lt_cv_dlopen" != xno; then
17324 case $lt_cv_dlopen in
17326 save_CPPFLAGS="$CPPFLAGS"
17327 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17329 save_LDFLAGS="$LDFLAGS"
17330 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17333 LIBS="$lt_cv_dlopen_libs $LIBS"
17335 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17336 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17337 if test "${lt_cv_dlopen_self+set}" = set; then
17338 echo $ECHO_N "(cached) $ECHO_C" >&6
17340 if test "$cross_compiling" = yes; then :
17341 lt_cv_dlopen_self=cross
17343 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17344 lt_status=$lt_dlunknown
17345 cat > conftest.$ac_ext <<EOF
17346 #line 17346 "configure"
17347 #include "confdefs.h"
17356 # define LT_DLGLOBAL RTLD_GLOBAL
17359 # define LT_DLGLOBAL DL_GLOBAL
17361 # define LT_DLGLOBAL 0
17365 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17366 find out it does not work in some platform. */
17367 #ifndef LT_DLLAZY_OR_NOW
17369 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17372 # define LT_DLLAZY_OR_NOW DL_LAZY
17375 # define LT_DLLAZY_OR_NOW RTLD_NOW
17378 # define LT_DLLAZY_OR_NOW DL_NOW
17380 # define LT_DLLAZY_OR_NOW 0
17388 extern "C" void exit (int);
17391 void fnord() { int i=42;}
17394 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17395 int status = $lt_dlunknown;
17399 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17400 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17401 /* dlclose (self); */
17407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17408 (eval $ac_link) 2>&5
17410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17411 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17412 (./conftest; exit; ) 2>/dev/null
17414 case x$lt_status in
17415 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17416 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17417 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
17420 # compilation failed
17421 lt_cv_dlopen_self=no
17428 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17429 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17431 if test "x$lt_cv_dlopen_self" = xyes; then
17432 LDFLAGS="$LDFLAGS $link_static_flag"
17433 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17434 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17435 if test "${lt_cv_dlopen_self_static+set}" = set; then
17436 echo $ECHO_N "(cached) $ECHO_C" >&6
17438 if test "$cross_compiling" = yes; then :
17439 lt_cv_dlopen_self_static=cross
17441 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17442 lt_status=$lt_dlunknown
17443 cat > conftest.$ac_ext <<EOF
17444 #line 17444 "configure"
17445 #include "confdefs.h"
17454 # define LT_DLGLOBAL RTLD_GLOBAL
17457 # define LT_DLGLOBAL DL_GLOBAL
17459 # define LT_DLGLOBAL 0
17463 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17464 find out it does not work in some platform. */
17465 #ifndef LT_DLLAZY_OR_NOW
17467 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17470 # define LT_DLLAZY_OR_NOW DL_LAZY
17473 # define LT_DLLAZY_OR_NOW RTLD_NOW
17476 # define LT_DLLAZY_OR_NOW DL_NOW
17478 # define LT_DLLAZY_OR_NOW 0
17486 extern "C" void exit (int);
17489 void fnord() { int i=42;}
17492 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17493 int status = $lt_dlunknown;
17497 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17498 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17499 /* dlclose (self); */
17505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17506 (eval $ac_link) 2>&5
17508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17509 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17510 (./conftest; exit; ) 2>/dev/null
17512 case x$lt_status in
17513 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17514 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17515 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
17518 # compilation failed
17519 lt_cv_dlopen_self_static=no
17526 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17527 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17530 CPPFLAGS="$save_CPPFLAGS"
17531 LDFLAGS="$save_LDFLAGS"
17536 case $lt_cv_dlopen_self in
17537 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17538 *) enable_dlopen_self=unknown ;;
17541 case $lt_cv_dlopen_self_static in
17542 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17543 *) enable_dlopen_self_static=unknown ;;
17548 # The else clause should only fire when bootstrapping the
17549 # libtool distribution, otherwise you forgot to ship ltmain.sh
17550 # with your package, and you will get complaints that there are
17551 # no rules to generate ltmain.sh.
17552 if test -f "$ltmain"; then
17553 # See if we are running on zsh, and set the options which allow our commands through
17554 # without removal of \ escapes.
17555 if test -n "${ZSH_VERSION+set}" ; then
17556 setopt NO_GLOB_SUBST
17558 # Now quote all the things that may contain metacharacters while being
17559 # careful not to overquote the AC_SUBSTed values. We take copies of the
17560 # variables and quote the copies for generation of the libtool script.
17561 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17562 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17563 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17564 deplibs_check_method reload_flag reload_cmds need_locks \
17565 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17566 lt_cv_sys_global_symbol_to_c_name_address \
17567 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17568 old_postinstall_cmds old_postuninstall_cmds \
17572 lt_prog_compiler_wl_GCJ \
17573 lt_prog_compiler_pic_GCJ \
17574 lt_prog_compiler_static_GCJ \
17575 lt_prog_compiler_no_builtin_flag_GCJ \
17576 export_dynamic_flag_spec_GCJ \
17577 thread_safe_flag_spec_GCJ \
17578 whole_archive_flag_spec_GCJ \
17579 enable_shared_with_static_runtimes_GCJ \
17580 old_archive_cmds_GCJ \
17581 old_archive_from_new_cmds_GCJ \
17582 predep_objects_GCJ \
17583 postdep_objects_GCJ \
17586 compiler_lib_search_path_GCJ \
17588 archive_expsym_cmds_GCJ \
17589 postinstall_cmds_GCJ \
17590 postuninstall_cmds_GCJ \
17591 old_archive_from_expsyms_cmds_GCJ \
17592 allow_undefined_flag_GCJ \
17593 no_undefined_flag_GCJ \
17594 export_symbols_cmds_GCJ \
17595 hardcode_libdir_flag_spec_GCJ \
17596 hardcode_libdir_flag_spec_ld_GCJ \
17597 hardcode_libdir_separator_GCJ \
17598 hardcode_automatic_GCJ \
17600 module_expsym_cmds_GCJ \
17601 lt_cv_prog_compiler_c_o_GCJ \
17602 exclude_expsyms_GCJ \
17603 include_expsyms_GCJ; do
17606 old_archive_cmds_GCJ | \
17607 old_archive_from_new_cmds_GCJ | \
17608 archive_cmds_GCJ | \
17609 archive_expsym_cmds_GCJ | \
17610 module_cmds_GCJ | \
17611 module_expsym_cmds_GCJ | \
17612 old_archive_from_expsyms_cmds_GCJ | \
17613 export_symbols_cmds_GCJ | \
17614 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17615 postinstall_cmds | postuninstall_cmds | \
17616 old_postinstall_cmds | old_postuninstall_cmds | \
17617 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17618 # Double-quote double-evaled strings.
17619 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17622 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17628 *'\$0 --fallback-echo"')
17629 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17635 cat <<__EOF__ >> "$cfgfile"
17636 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17638 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17640 # Shell to use when invoking shell scripts.
17643 # Whether or not to build shared libraries.
17644 build_libtool_libs=$enable_shared
17646 # Whether or not to build static libraries.
17647 build_old_libs=$enable_static
17649 # Whether or not to add -lc for building shared libraries.
17650 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17652 # Whether or not to disallow shared libs when runtime libs are static
17653 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17655 # Whether or not to optimize for fast installation.
17656 fast_install=$enable_fast_install
17659 host_alias=$host_alias
17662 # An echo program that does not interpret backslashes.
17667 AR_FLAGS=$lt_AR_FLAGS
17672 # A language-specific compiler.
17673 CC=$lt_compiler_GCJ
17675 # Is the compiler the GNU C compiler?
17681 # The linker used to build libraries.
17684 # Whether we need hard or soft links.
17687 # A BSD-compatible nm program.
17690 # A symbol stripping program
17693 # Used to examine libraries when file_magic_cmd begins "file"
17694 MAGIC_CMD=$MAGIC_CMD
17696 # Used on cygwin: DLL creation program.
17699 # Used on cygwin: object dumper.
17702 # Used on cygwin: assembler.
17705 # The name of the directory that contains temporary libtool files.
17708 # How to create reloadable object files.
17709 reload_flag=$lt_reload_flag
17710 reload_cmds=$lt_reload_cmds
17712 # How to pass a linker flag through the compiler.
17713 wl=$lt_lt_prog_compiler_wl_GCJ
17715 # Object file suffix (normally "o").
17716 objext="$ac_objext"
17718 # Old archive suffix (normally "a").
17721 # Shared library suffix (normally ".so").
17724 # Executable file suffix (normally "").
17727 # Additional compiler flags for building library objects.
17728 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17731 # What is the maximum length of a command?
17732 max_cmd_len=$lt_cv_sys_max_cmd_len
17734 # Does compiler simultaneously support -c and -o options?
17735 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17737 # Must we lock files when doing compilation ?
17738 need_locks=$lt_need_locks
17740 # Do we need the lib prefix for modules?
17741 need_lib_prefix=$need_lib_prefix
17743 # Do we need a version for libraries?
17744 need_version=$need_version
17746 # Whether dlopen is supported.
17747 dlopen_support=$enable_dlopen
17749 # Whether dlopen of programs is supported.
17750 dlopen_self=$enable_dlopen_self
17752 # Whether dlopen of statically linked programs is supported.
17753 dlopen_self_static=$enable_dlopen_self_static
17755 # Compiler flag to prevent dynamic linking.
17756 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17758 # Compiler flag to turn off builtin functions.
17759 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17761 # Compiler flag to allow reflexive dlopens.
17762 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17764 # Compiler flag to generate shared objects directly from archives.
17765 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17767 # Compiler flag to generate thread-safe objects.
17768 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17770 # Library versioning type.
17771 version_type=$version_type
17773 # Format of library name prefix.
17774 libname_spec=$lt_libname_spec
17776 # List of archive names. First name is the real one, the rest are links.
17777 # The last name is the one that the linker finds with -lNAME.
17778 library_names_spec=$lt_library_names_spec
17780 # The coded name of the library, if different from the real name.
17781 soname_spec=$lt_soname_spec
17783 # Commands used to build and install an old-style archive.
17785 old_archive_cmds=$lt_old_archive_cmds_GCJ
17786 old_postinstall_cmds=$lt_old_postinstall_cmds
17787 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17789 # Create an old-style archive from a shared archive.
17790 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17792 # Create a temporary old-style archive to link instead of a shared archive.
17793 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17795 # Commands used to build and install a shared archive.
17796 archive_cmds=$lt_archive_cmds_GCJ
17797 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17798 postinstall_cmds=$lt_postinstall_cmds
17799 postuninstall_cmds=$lt_postuninstall_cmds
17801 # Commands used to build a loadable module (assumed same as above if empty)
17802 module_cmds=$lt_module_cmds_GCJ
17803 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17805 # Commands to strip libraries.
17806 old_striplib=$lt_old_striplib
17807 striplib=$lt_striplib
17809 # Dependencies to place before the objects being linked to create a
17811 predep_objects=$lt_predep_objects_GCJ
17813 # Dependencies to place after the objects being linked to create a
17815 postdep_objects=$lt_postdep_objects_GCJ
17817 # Dependencies to place before the objects being linked to create a
17819 predeps=$lt_predeps_GCJ
17821 # Dependencies to place after the objects being linked to create a
17823 postdeps=$lt_postdeps_GCJ
17825 # The library search path used internally by the compiler when linking
17826 # a shared library.
17827 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17829 # Method to check whether dependent libraries are shared objects.
17830 deplibs_check_method=$lt_deplibs_check_method
17832 # Command to use when deplibs_check_method == file_magic.
17833 file_magic_cmd=$lt_file_magic_cmd
17835 # Flag that allows shared libraries with undefined symbols to be built.
17836 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17838 # Flag that forces no undefined symbols.
17839 no_undefined_flag=$lt_no_undefined_flag_GCJ
17841 # Commands used to finish a libtool library installation in a directory.
17842 finish_cmds=$lt_finish_cmds
17844 # Same as above, but a single script fragment to be evaled but not shown.
17845 finish_eval=$lt_finish_eval
17847 # Take the output of nm and produce a listing of raw symbols and C names.
17848 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17850 # Transform the output of nm in a proper C declaration
17851 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17853 # Transform the output of nm in a C name address pair
17854 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17856 # This is the shared library runtime path variable.
17857 runpath_var=$runpath_var
17859 # This is the shared library path variable.
17860 shlibpath_var=$shlibpath_var
17862 # Is shlibpath searched before the hard-coded library search path?
17863 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17865 # How to hardcode a shared library path into an executable.
17866 hardcode_action=$hardcode_action_GCJ
17868 # Whether we should hardcode library paths into libraries.
17869 hardcode_into_libs=$hardcode_into_libs
17871 # Flag to hardcode \$libdir into a binary during linking.
17872 # This must work even if \$libdir does not exist.
17873 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17875 # If ld is used when linking, flag to hardcode \$libdir into
17876 # a binary during linking. This must work even if \$libdir does
17878 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17880 # Whether we need a single -rpath flag with a separated argument.
17881 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17883 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17884 # resulting binary.
17885 hardcode_direct=$hardcode_direct_GCJ
17887 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17888 # resulting binary.
17889 hardcode_minus_L=$hardcode_minus_L_GCJ
17891 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17892 # the resulting binary.
17893 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17895 # Set to yes if building a shared library automatically hardcodes DIR into the library
17896 # and all subsequent libraries and executables linked against it.
17897 hardcode_automatic=$hardcode_automatic_GCJ
17899 # Variables whose values should be saved in libtool wrapper scripts and
17900 # restored at relink time.
17901 variables_saved_for_relink="$variables_saved_for_relink"
17903 # Whether libtool must link a program against all its dependency libraries.
17904 link_all_deplibs=$link_all_deplibs_GCJ
17906 # Compile-time system search path for libraries
17907 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17909 # Run-time system search path for libraries
17910 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17912 # Fix the shell variable \$srcfile for the compiler.
17913 fix_srcfile_path="$fix_srcfile_path_GCJ"
17915 # Set to yes if exported symbols are required.
17916 always_export_symbols=$always_export_symbols_GCJ
17918 # The commands to list exported symbols.
17919 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17921 # The commands to extract the exported symbol list from a shared archive.
17922 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17924 # Symbols that should not be listed in the preloaded symbols.
17925 exclude_expsyms=$lt_exclude_expsyms_GCJ
17927 # Symbols that must always be exported.
17928 include_expsyms=$lt_include_expsyms_GCJ
17930 # ### END LIBTOOL TAG CONFIG: $tagname
17936 # If there is no Makefile yet, we rely on a make rule to execute
17937 # `config.status --recheck' to rerun these tests and create the
17938 # libtool script then.
17939 test -f Makefile && make "$ltmain"
17944 ac_cpp='$CPP $CPPFLAGS'
17945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17960 # Source file extension for RC test sources.
17963 # Object file extension for compiled RC test sources.
17967 # Code to be used in simple compile tests
17968 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
17970 # Code to be used in simple link tests
17971 lt_simple_link_test_code="$lt_simple_compile_test_code"
17973 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17975 # If no C compiler was specified, use CC.
17978 # Allow CC to be a program name with arguments.
17982 # Allow CC to be a program name with arguments.
17987 lt_cv_prog_compiler_c_o_RC=yes
17989 # The else clause should only fire when bootstrapping the
17990 # libtool distribution, otherwise you forgot to ship ltmain.sh
17991 # with your package, and you will get complaints that there are
17992 # no rules to generate ltmain.sh.
17993 if test -f "$ltmain"; then
17994 # See if we are running on zsh, and set the options which allow our commands through
17995 # without removal of \ escapes.
17996 if test -n "${ZSH_VERSION+set}" ; then
17997 setopt NO_GLOB_SUBST
17999 # Now quote all the things that may contain metacharacters while being
18000 # careful not to overquote the AC_SUBSTed values. We take copies of the
18001 # variables and quote the copies for generation of the libtool script.
18002 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18003 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18004 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18005 deplibs_check_method reload_flag reload_cmds need_locks \
18006 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18007 lt_cv_sys_global_symbol_to_c_name_address \
18008 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18009 old_postinstall_cmds old_postuninstall_cmds \
18013 lt_prog_compiler_wl_RC \
18014 lt_prog_compiler_pic_RC \
18015 lt_prog_compiler_static_RC \
18016 lt_prog_compiler_no_builtin_flag_RC \
18017 export_dynamic_flag_spec_RC \
18018 thread_safe_flag_spec_RC \
18019 whole_archive_flag_spec_RC \
18020 enable_shared_with_static_runtimes_RC \
18021 old_archive_cmds_RC \
18022 old_archive_from_new_cmds_RC \
18023 predep_objects_RC \
18024 postdep_objects_RC \
18027 compiler_lib_search_path_RC \
18029 archive_expsym_cmds_RC \
18030 postinstall_cmds_RC \
18031 postuninstall_cmds_RC \
18032 old_archive_from_expsyms_cmds_RC \
18033 allow_undefined_flag_RC \
18034 no_undefined_flag_RC \
18035 export_symbols_cmds_RC \
18036 hardcode_libdir_flag_spec_RC \
18037 hardcode_libdir_flag_spec_ld_RC \
18038 hardcode_libdir_separator_RC \
18039 hardcode_automatic_RC \
18041 module_expsym_cmds_RC \
18042 lt_cv_prog_compiler_c_o_RC \
18043 exclude_expsyms_RC \
18044 include_expsyms_RC; do
18047 old_archive_cmds_RC | \
18048 old_archive_from_new_cmds_RC | \
18049 archive_cmds_RC | \
18050 archive_expsym_cmds_RC | \
18052 module_expsym_cmds_RC | \
18053 old_archive_from_expsyms_cmds_RC | \
18054 export_symbols_cmds_RC | \
18055 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18056 postinstall_cmds | postuninstall_cmds | \
18057 old_postinstall_cmds | old_postuninstall_cmds | \
18058 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18059 # Double-quote double-evaled strings.
18060 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18063 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18069 *'\$0 --fallback-echo"')
18070 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18076 cat <<__EOF__ >> "$cfgfile"
18077 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18079 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18081 # Shell to use when invoking shell scripts.
18084 # Whether or not to build shared libraries.
18085 build_libtool_libs=$enable_shared
18087 # Whether or not to build static libraries.
18088 build_old_libs=$enable_static
18090 # Whether or not to add -lc for building shared libraries.
18091 build_libtool_need_lc=$archive_cmds_need_lc_RC
18093 # Whether or not to disallow shared libs when runtime libs are static
18094 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18096 # Whether or not to optimize for fast installation.
18097 fast_install=$enable_fast_install
18100 host_alias=$host_alias
18103 # An echo program that does not interpret backslashes.
18108 AR_FLAGS=$lt_AR_FLAGS
18113 # A language-specific compiler.
18116 # Is the compiler the GNU C compiler?
18122 # The linker used to build libraries.
18125 # Whether we need hard or soft links.
18128 # A BSD-compatible nm program.
18131 # A symbol stripping program
18134 # Used to examine libraries when file_magic_cmd begins "file"
18135 MAGIC_CMD=$MAGIC_CMD
18137 # Used on cygwin: DLL creation program.
18140 # Used on cygwin: object dumper.
18143 # Used on cygwin: assembler.
18146 # The name of the directory that contains temporary libtool files.
18149 # How to create reloadable object files.
18150 reload_flag=$lt_reload_flag
18151 reload_cmds=$lt_reload_cmds
18153 # How to pass a linker flag through the compiler.
18154 wl=$lt_lt_prog_compiler_wl_RC
18156 # Object file suffix (normally "o").
18157 objext="$ac_objext"
18159 # Old archive suffix (normally "a").
18162 # Shared library suffix (normally ".so").
18165 # Executable file suffix (normally "").
18168 # Additional compiler flags for building library objects.
18169 pic_flag=$lt_lt_prog_compiler_pic_RC
18172 # What is the maximum length of a command?
18173 max_cmd_len=$lt_cv_sys_max_cmd_len
18175 # Does compiler simultaneously support -c and -o options?
18176 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18178 # Must we lock files when doing compilation ?
18179 need_locks=$lt_need_locks
18181 # Do we need the lib prefix for modules?
18182 need_lib_prefix=$need_lib_prefix
18184 # Do we need a version for libraries?
18185 need_version=$need_version
18187 # Whether dlopen is supported.
18188 dlopen_support=$enable_dlopen
18190 # Whether dlopen of programs is supported.
18191 dlopen_self=$enable_dlopen_self
18193 # Whether dlopen of statically linked programs is supported.
18194 dlopen_self_static=$enable_dlopen_self_static
18196 # Compiler flag to prevent dynamic linking.
18197 link_static_flag=$lt_lt_prog_compiler_static_RC
18199 # Compiler flag to turn off builtin functions.
18200 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18202 # Compiler flag to allow reflexive dlopens.
18203 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18205 # Compiler flag to generate shared objects directly from archives.
18206 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18208 # Compiler flag to generate thread-safe objects.
18209 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18211 # Library versioning type.
18212 version_type=$version_type
18214 # Format of library name prefix.
18215 libname_spec=$lt_libname_spec
18217 # List of archive names. First name is the real one, the rest are links.
18218 # The last name is the one that the linker finds with -lNAME.
18219 library_names_spec=$lt_library_names_spec
18221 # The coded name of the library, if different from the real name.
18222 soname_spec=$lt_soname_spec
18224 # Commands used to build and install an old-style archive.
18226 old_archive_cmds=$lt_old_archive_cmds_RC
18227 old_postinstall_cmds=$lt_old_postinstall_cmds
18228 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18230 # Create an old-style archive from a shared archive.
18231 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18233 # Create a temporary old-style archive to link instead of a shared archive.
18234 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18236 # Commands used to build and install a shared archive.
18237 archive_cmds=$lt_archive_cmds_RC
18238 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18239 postinstall_cmds=$lt_postinstall_cmds
18240 postuninstall_cmds=$lt_postuninstall_cmds
18242 # Commands used to build a loadable module (assumed same as above if empty)
18243 module_cmds=$lt_module_cmds_RC
18244 module_expsym_cmds=$lt_module_expsym_cmds_RC
18246 # Commands to strip libraries.
18247 old_striplib=$lt_old_striplib
18248 striplib=$lt_striplib
18250 # Dependencies to place before the objects being linked to create a
18252 predep_objects=$lt_predep_objects_RC
18254 # Dependencies to place after the objects being linked to create a
18256 postdep_objects=$lt_postdep_objects_RC
18258 # Dependencies to place before the objects being linked to create a
18260 predeps=$lt_predeps_RC
18262 # Dependencies to place after the objects being linked to create a
18264 postdeps=$lt_postdeps_RC
18266 # The library search path used internally by the compiler when linking
18267 # a shared library.
18268 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18270 # Method to check whether dependent libraries are shared objects.
18271 deplibs_check_method=$lt_deplibs_check_method
18273 # Command to use when deplibs_check_method == file_magic.
18274 file_magic_cmd=$lt_file_magic_cmd
18276 # Flag that allows shared libraries with undefined symbols to be built.
18277 allow_undefined_flag=$lt_allow_undefined_flag_RC
18279 # Flag that forces no undefined symbols.
18280 no_undefined_flag=$lt_no_undefined_flag_RC
18282 # Commands used to finish a libtool library installation in a directory.
18283 finish_cmds=$lt_finish_cmds
18285 # Same as above, but a single script fragment to be evaled but not shown.
18286 finish_eval=$lt_finish_eval
18288 # Take the output of nm and produce a listing of raw symbols and C names.
18289 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18291 # Transform the output of nm in a proper C declaration
18292 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18294 # Transform the output of nm in a C name address pair
18295 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18297 # This is the shared library runtime path variable.
18298 runpath_var=$runpath_var
18300 # This is the shared library path variable.
18301 shlibpath_var=$shlibpath_var
18303 # Is shlibpath searched before the hard-coded library search path?
18304 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18306 # How to hardcode a shared library path into an executable.
18307 hardcode_action=$hardcode_action_RC
18309 # Whether we should hardcode library paths into libraries.
18310 hardcode_into_libs=$hardcode_into_libs
18312 # Flag to hardcode \$libdir into a binary during linking.
18313 # This must work even if \$libdir does not exist.
18314 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18316 # If ld is used when linking, flag to hardcode \$libdir into
18317 # a binary during linking. This must work even if \$libdir does
18319 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18321 # Whether we need a single -rpath flag with a separated argument.
18322 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18324 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18325 # resulting binary.
18326 hardcode_direct=$hardcode_direct_RC
18328 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18329 # resulting binary.
18330 hardcode_minus_L=$hardcode_minus_L_RC
18332 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18333 # the resulting binary.
18334 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18336 # Set to yes if building a shared library automatically hardcodes DIR into the library
18337 # and all subsequent libraries and executables linked against it.
18338 hardcode_automatic=$hardcode_automatic_RC
18340 # Variables whose values should be saved in libtool wrapper scripts and
18341 # restored at relink time.
18342 variables_saved_for_relink="$variables_saved_for_relink"
18344 # Whether libtool must link a program against all its dependency libraries.
18345 link_all_deplibs=$link_all_deplibs_RC
18347 # Compile-time system search path for libraries
18348 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18350 # Run-time system search path for libraries
18351 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18353 # Fix the shell variable \$srcfile for the compiler.
18354 fix_srcfile_path="$fix_srcfile_path_RC"
18356 # Set to yes if exported symbols are required.
18357 always_export_symbols=$always_export_symbols_RC
18359 # The commands to list exported symbols.
18360 export_symbols_cmds=$lt_export_symbols_cmds_RC
18362 # The commands to extract the exported symbol list from a shared archive.
18363 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18365 # Symbols that should not be listed in the preloaded symbols.
18366 exclude_expsyms=$lt_exclude_expsyms_RC
18368 # Symbols that must always be exported.
18369 include_expsyms=$lt_include_expsyms_RC
18371 # ### END LIBTOOL TAG CONFIG: $tagname
18377 # If there is no Makefile yet, we rely on a make rule to execute
18378 # `config.status --recheck' to rerun these tests and create the
18379 # libtool script then.
18380 test -f Makefile && make "$ltmain"
18385 ac_cpp='$CPP $CPPFLAGS'
18386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18395 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18396 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18397 { (exit 1); exit 1; }; }
18401 # Append the new tag name to the list of available tags.
18402 if test -n "$tagname" ; then
18403 available_tags="$available_tags $tagname"
18409 # Now substitute the updated list of available tags.
18410 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18411 mv "${ofile}T" "$ofile"
18415 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18416 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18417 { (exit 1); exit 1; }; }
18423 # This can be used to rebuild libtool when needed
18424 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18426 # Always use our own libtool.
18427 LIBTOOL='$(SHELL) $(top_builddir)/mklib'
18429 # Prevent multiple expansion
18451 # Extract the first word of "pwd", so it can be a program name with args.
18452 set dummy pwd; ac_word=$2
18453 echo "$as_me:$LINENO: checking for $ac_word" >&5
18454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18455 if test "${ac_cv_path_RPWD+set}" = set; then
18456 echo $ECHO_N "(cached) $ECHO_C" >&6
18460 ac_cv_path_RPWD="$RPWD" # Let the user override the test with a path.
18463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18464 for as_dir in $PATH
18467 test -z "$as_dir" && as_dir=.
18468 for ac_exec_ext in '' $ac_executable_extensions; do
18469 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18470 ac_cv_path_RPWD="$as_dir/$ac_word$ac_exec_ext"
18471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18480 RPWD=$ac_cv_path_RPWD
18482 if test -n "$RPWD"; then
18483 echo "$as_me:$LINENO: result: $RPWD" >&5
18484 echo "${ECHO_T}$RPWD" >&6
18486 echo "$as_me:$LINENO: result: no" >&5
18487 echo "${ECHO_T}no" >&6
18490 # Extract the first word of "ar", so it can be a program name with args.
18491 set dummy ar; ac_word=$2
18492 echo "$as_me:$LINENO: checking for $ac_word" >&5
18493 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18494 if test "${ac_cv_path_AR+set}" = set; then
18495 echo $ECHO_N "(cached) $ECHO_C" >&6
18499 ac_cv_path_AR="$AR" # Let the user override the test with a path.
18502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18503 for as_dir in $PATH
18506 test -z "$as_dir" && as_dir=.
18507 for ac_exec_ext in '' $ac_executable_extensions; do
18508 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18509 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
18510 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18521 if test -n "$AR"; then
18522 echo "$as_me:$LINENO: result: $AR" >&5
18523 echo "${ECHO_T}$AR" >&6
18525 echo "$as_me:$LINENO: result: no" >&5
18526 echo "${ECHO_T}no" >&6
18529 # Extract the first word of "sed", so it can be a program name with args.
18530 set dummy sed; ac_word=$2
18531 echo "$as_me:$LINENO: checking for $ac_word" >&5
18532 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18533 if test "${ac_cv_path_SED+set}" = set; then
18534 echo $ECHO_N "(cached) $ECHO_C" >&6
18538 ac_cv_path_SED="$SED" # Let the user override the test with a path.
18541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18542 for as_dir in $PATH
18545 test -z "$as_dir" && as_dir=.
18546 for ac_exec_ext in '' $ac_executable_extensions; do
18547 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18548 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
18549 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18558 SED=$ac_cv_path_SED
18560 if test -n "$SED"; then
18561 echo "$as_me:$LINENO: result: $SED" >&5
18562 echo "${ECHO_T}$SED" >&6
18564 echo "$as_me:$LINENO: result: no" >&5
18565 echo "${ECHO_T}no" >&6
18568 # Extract the first word of "rm", so it can be a program name with args.
18569 set dummy rm; ac_word=$2
18570 echo "$as_me:$LINENO: checking for $ac_word" >&5
18571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18572 if test "${ac_cv_path_RM+set}" = set; then
18573 echo $ECHO_N "(cached) $ECHO_C" >&6
18577 ac_cv_path_RM="$RM" # Let the user override the test with a path.
18580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18581 for as_dir in $PATH
18584 test -z "$as_dir" && as_dir=.
18585 for ac_exec_ext in '' $ac_executable_extensions; do
18586 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18587 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
18588 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18599 if test -n "$RM"; then
18600 echo "$as_me:$LINENO: result: $RM" >&5
18601 echo "${ECHO_T}$RM" >&6
18603 echo "$as_me:$LINENO: result: no" >&5
18604 echo "${ECHO_T}no" >&6
18607 # Extract the first word of "echo", so it can be a program name with args.
18608 set dummy echo; ac_word=$2
18609 echo "$as_me:$LINENO: checking for $ac_word" >&5
18610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18611 if test "${ac_cv_path_ECHO+set}" = set; then
18612 echo $ECHO_N "(cached) $ECHO_C" >&6
18616 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
18619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18620 for as_dir in $PATH
18623 test -z "$as_dir" && as_dir=.
18624 for ac_exec_ext in '' $ac_executable_extensions; do
18625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18626 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
18627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18636 ECHO=$ac_cv_path_ECHO
18638 if test -n "$ECHO"; then
18639 echo "$as_me:$LINENO: result: $ECHO" >&5
18640 echo "${ECHO_T}$ECHO" >&6
18642 echo "$as_me:$LINENO: result: no" >&5
18643 echo "${ECHO_T}no" >&6
18646 # Extract the first word of "mkdir", so it can be a program name with args.
18647 set dummy mkdir; ac_word=$2
18648 echo "$as_me:$LINENO: checking for $ac_word" >&5
18649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18650 if test "${ac_cv_path_MKDIR+set}" = set; then
18651 echo $ECHO_N "(cached) $ECHO_C" >&6
18655 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
18658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18659 for as_dir in $PATH
18662 test -z "$as_dir" && as_dir=.
18663 for ac_exec_ext in '' $ac_executable_extensions; do
18664 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18665 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
18666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18675 MKDIR=$ac_cv_path_MKDIR
18677 if test -n "$MKDIR"; then
18678 echo "$as_me:$LINENO: result: $MKDIR" >&5
18679 echo "${ECHO_T}$MKDIR" >&6
18681 echo "$as_me:$LINENO: result: no" >&5
18682 echo "${ECHO_T}no" >&6
18685 # Extract the first word of "date", so it can be a program name with args.
18686 set dummy date; ac_word=$2
18687 echo "$as_me:$LINENO: checking for $ac_word" >&5
18688 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18689 if test "${ac_cv_path_DATE+set}" = set; then
18690 echo $ECHO_N "(cached) $ECHO_C" >&6
18694 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
18697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18698 for as_dir in $PATH
18701 test -z "$as_dir" && as_dir=.
18702 for ac_exec_ext in '' $ac_executable_extensions; do
18703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18704 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
18705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18714 DATE=$ac_cv_path_DATE
18716 if test -n "$DATE"; then
18717 echo "$as_me:$LINENO: result: $DATE" >&5
18718 echo "${ECHO_T}$DATE" >&6
18720 echo "$as_me:$LINENO: result: no" >&5
18721 echo "${ECHO_T}no" >&6
18724 # Extract the first word of "mv", so it can be a program name with args.
18725 set dummy mv; ac_word=$2
18726 echo "$as_me:$LINENO: checking for $ac_word" >&5
18727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18728 if test "${ac_cv_path_MV+set}" = set; then
18729 echo $ECHO_N "(cached) $ECHO_C" >&6
18733 ac_cv_path_MV="$MV" # Let the user override the test with a path.
18736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18737 for as_dir in $PATH
18740 test -z "$as_dir" && as_dir=.
18741 for ac_exec_ext in '' $ac_executable_extensions; do
18742 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18743 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
18744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18755 if test -n "$MV"; then
18756 echo "$as_me:$LINENO: result: $MV" >&5
18757 echo "${ECHO_T}$MV" >&6
18759 echo "$as_me:$LINENO: result: no" >&5
18760 echo "${ECHO_T}no" >&6
18763 # Extract the first word of "dot", so it can be a program name with args.
18764 set dummy dot; ac_word=$2
18765 echo "$as_me:$LINENO: checking for $ac_word" >&5
18766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18767 if test "${ac_cv_path_DOT+set}" = set; then
18768 echo $ECHO_N "(cached) $ECHO_C" >&6
18772 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18776 for as_dir in $PATH
18779 test -z "$as_dir" && as_dir=.
18780 for ac_exec_ext in '' $ac_executable_extensions; do
18781 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18782 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18783 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18792 DOT=$ac_cv_path_DOT
18794 if test -n "$DOT"; then
18795 echo "$as_me:$LINENO: result: $DOT" >&5
18796 echo "${ECHO_T}$DOT" >&6
18798 echo "$as_me:$LINENO: result: no" >&5
18799 echo "${ECHO_T}no" >&6
18802 # Extract the first word of "etags", so it can be a program name with args.
18803 set dummy etags; ac_word=$2
18804 echo "$as_me:$LINENO: checking for $ac_word" >&5
18805 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18806 if test "${ac_cv_path_ETAGS+set}" = set; then
18807 echo $ECHO_N "(cached) $ECHO_C" >&6
18811 ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
18814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18815 for as_dir in $PATH
18818 test -z "$as_dir" && as_dir=.
18819 for ac_exec_ext in '' $ac_executable_extensions; do
18820 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18821 ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext"
18822 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18831 ETAGS=$ac_cv_path_ETAGS
18833 if test -n "$ETAGS"; then
18834 echo "$as_me:$LINENO: result: $ETAGS" >&5
18835 echo "${ECHO_T}$ETAGS" >&6
18837 echo "$as_me:$LINENO: result: no" >&5
18838 echo "${ECHO_T}no" >&6
18841 # Extract the first word of "purify", so it can be a program name with args.
18842 set dummy purify; ac_word=$2
18843 echo "$as_me:$LINENO: checking for $ac_word" >&5
18844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18845 if test "${ac_cv_path_PURIFY+set}" = set; then
18846 echo $ECHO_N "(cached) $ECHO_C" >&6
18850 ac_cv_path_PURIFY="$PURIFY" # Let the user override the test with a path.
18853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18854 for as_dir in $PATH
18857 test -z "$as_dir" && as_dir=.
18858 for ac_exec_ext in '' $ac_executable_extensions; do
18859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18860 ac_cv_path_PURIFY="$as_dir/$ac_word$ac_exec_ext"
18861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18870 PURIFY=$ac_cv_path_PURIFY
18872 if test -n "$PURIFY"; then
18873 echo "$as_me:$LINENO: result: $PURIFY" >&5
18874 echo "${ECHO_T}$PURIFY" >&6
18876 echo "$as_me:$LINENO: result: no" >&5
18877 echo "${ECHO_T}no" >&6
18880 # Extract the first word of "python", so it can be a program name with args.
18881 set dummy python; ac_word=$2
18882 echo "$as_me:$LINENO: checking for $ac_word" >&5
18883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18884 if test "${ac_cv_path_PYTHON+set}" = set; then
18885 echo $ECHO_N "(cached) $ECHO_C" >&6
18889 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
18892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18893 for as_dir in $PATH
18896 test -z "$as_dir" && as_dir=.
18897 for ac_exec_ext in '' $ac_executable_extensions; do
18898 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18899 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
18900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18909 PYTHON=$ac_cv_path_PYTHON
18911 if test -n "$PYTHON"; then
18912 echo "$as_me:$LINENO: result: $PYTHON" >&5
18913 echo "${ECHO_T}$PYTHON" >&6
18915 echo "$as_me:$LINENO: result: no" >&5
18916 echo "${ECHO_T}no" >&6
18919 # Extract the first word of "qmtest", so it can be a program name with args.
18920 set dummy qmtest; ac_word=$2
18921 echo "$as_me:$LINENO: checking for $ac_word" >&5
18922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18923 if test "${ac_cv_path_QMTEST+set}" = set; then
18924 echo $ECHO_N "(cached) $ECHO_C" >&6
18928 ac_cv_path_QMTEST="$QMTEST" # Let the user override the test with a path.
18931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18932 for as_dir in $PATH
18935 test -z "$as_dir" && as_dir=.
18936 for ac_exec_ext in '' $ac_executable_extensions; do
18937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18938 ac_cv_path_QMTEST="$as_dir/$ac_word$ac_exec_ext"
18939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18948 QMTEST=$ac_cv_path_QMTEST
18950 if test -n "$QMTEST"; then
18951 echo "$as_me:$LINENO: result: $QMTEST" >&5
18952 echo "${ECHO_T}$QMTEST" >&6
18954 echo "$as_me:$LINENO: result: no" >&5
18955 echo "${ECHO_T}no" >&6
18959 pyversion=`$PYTHON -V 2>&1 | cut -d\ -f2`
18960 pymajor=`echo $pyversion | cut -d. -f1`
18961 pyminor=`echo $pyversion | cut -d. -f2`
18963 if test "$pymajor" -ge "2"
18965 if test "$pymajor" -eq "2"
18967 if test "$pyminor" -lt "2"
18969 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
18970 echo "$as_me: error: Python 2.2 or greater required" >&2;}
18971 { (exit 1); exit 1; }; }
18975 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
18976 echo "$as_me: error: Python 2.2 or greater required" >&2;}
18977 { (exit 1); exit 1; }; }
18984 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
18985 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
18986 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
18987 echo $ECHO_N "(cached) $ECHO_C" >&6
18989 ac_check_lib_save_LIBS=$LIBS
18991 cat >conftest.$ac_ext <<_ACEOF
18992 #line $LINENO "configure"
18995 cat confdefs.h >>conftest.$ac_ext
18996 cat >>conftest.$ac_ext <<_ACEOF
18997 /* end confdefs.h. */
18999 /* Override any gcc2 internal prototype to avoid an error. */
19003 /* We use char because int might match the return type of a gcc2
19004 builtin and then its argument prototype would still apply. */
19014 rm -f conftest.$ac_objext conftest$ac_exeext
19015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19016 (eval $ac_link) 2>&5
19018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19019 (exit $ac_status); } &&
19020 { ac_try='test -s conftest$ac_exeext'
19021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19022 (eval $ac_try) 2>&5
19024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19025 (exit $ac_status); }; }; then
19026 ac_cv_lib_elf_elf_begin=yes
19028 echo "$as_me: failed program was:" >&5
19029 sed 's/^/| /' conftest.$ac_ext >&5
19031 ac_cv_lib_elf_elf_begin=no
19033 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19034 LIBS=$ac_check_lib_save_LIBS
19036 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
19037 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
19038 if test $ac_cv_lib_elf_elf_begin = yes; then
19039 cat >>confdefs.h <<_ACEOF
19040 #define HAVE_LIBELF 1
19048 echo "$as_me:$LINENO: checking for library containing dlopen" >&5
19049 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
19050 if test "${ac_cv_search_dlopen+set}" = set; then
19051 echo $ECHO_N "(cached) $ECHO_C" >&6
19053 ac_func_search_save_LIBS=$LIBS
19054 ac_cv_search_dlopen=no
19055 cat >conftest.$ac_ext <<_ACEOF
19056 #line $LINENO "configure"
19059 cat confdefs.h >>conftest.$ac_ext
19060 cat >>conftest.$ac_ext <<_ACEOF
19061 /* end confdefs.h. */
19063 /* Override any gcc2 internal prototype to avoid an error. */
19067 /* We use char because int might match the return type of a gcc2
19068 builtin and then its argument prototype would still apply. */
19078 rm -f conftest.$ac_objext conftest$ac_exeext
19079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19080 (eval $ac_link) 2>&5
19082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19083 (exit $ac_status); } &&
19084 { ac_try='test -s conftest$ac_exeext'
19085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19086 (eval $ac_try) 2>&5
19088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19089 (exit $ac_status); }; }; then
19090 ac_cv_search_dlopen="none required"
19092 echo "$as_me: failed program was:" >&5
19093 sed 's/^/| /' conftest.$ac_ext >&5
19096 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19097 if test "$ac_cv_search_dlopen" = no; then
19098 for ac_lib in dl; do
19099 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19100 cat >conftest.$ac_ext <<_ACEOF
19101 #line $LINENO "configure"
19104 cat confdefs.h >>conftest.$ac_ext
19105 cat >>conftest.$ac_ext <<_ACEOF
19106 /* end confdefs.h. */
19108 /* Override any gcc2 internal prototype to avoid an error. */
19112 /* We use char because int might match the return type of a gcc2
19113 builtin and then its argument prototype would still apply. */
19123 rm -f conftest.$ac_objext conftest$ac_exeext
19124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19125 (eval $ac_link) 2>&5
19127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128 (exit $ac_status); } &&
19129 { ac_try='test -s conftest$ac_exeext'
19130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19131 (eval $ac_try) 2>&5
19133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19134 (exit $ac_status); }; }; then
19135 ac_cv_search_dlopen="-l$ac_lib"
19138 echo "$as_me: failed program was:" >&5
19139 sed 's/^/| /' conftest.$ac_ext >&5
19142 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19145 LIBS=$ac_func_search_save_LIBS
19147 echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
19148 echo "${ECHO_T}$ac_cv_search_dlopen" >&6
19149 if test "$ac_cv_search_dlopen" != no; then
19150 test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
19153 { { echo "$as_me:$LINENO: error: dlopen() required but not found" >&5
19154 echo "$as_me: error: dlopen() required but not found" >&2;}
19155 { (exit 1); exit 1; }; }
19159 echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
19160 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6
19161 if test "${ac_cv_search_mallinfo+set}" = set; then
19162 echo $ECHO_N "(cached) $ECHO_C" >&6
19164 ac_func_search_save_LIBS=$LIBS
19165 ac_cv_search_mallinfo=no
19166 cat >conftest.$ac_ext <<_ACEOF
19167 #line $LINENO "configure"
19170 cat confdefs.h >>conftest.$ac_ext
19171 cat >>conftest.$ac_ext <<_ACEOF
19172 /* end confdefs.h. */
19174 /* Override any gcc2 internal prototype to avoid an error. */
19178 /* We use char because int might match the return type of a gcc2
19179 builtin and then its argument prototype would still apply. */
19189 rm -f conftest.$ac_objext conftest$ac_exeext
19190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19191 (eval $ac_link) 2>&5
19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19194 (exit $ac_status); } &&
19195 { ac_try='test -s conftest$ac_exeext'
19196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19197 (eval $ac_try) 2>&5
19199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19200 (exit $ac_status); }; }; then
19201 ac_cv_search_mallinfo="none required"
19203 echo "$as_me: failed program was:" >&5
19204 sed 's/^/| /' conftest.$ac_ext >&5
19207 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19208 if test "$ac_cv_search_mallinfo" = no; then
19209 for ac_lib in malloc; do
19210 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19211 cat >conftest.$ac_ext <<_ACEOF
19212 #line $LINENO "configure"
19215 cat confdefs.h >>conftest.$ac_ext
19216 cat >>conftest.$ac_ext <<_ACEOF
19217 /* end confdefs.h. */
19219 /* Override any gcc2 internal prototype to avoid an error. */
19223 /* We use char because int might match the return type of a gcc2
19224 builtin and then its argument prototype would still apply. */
19234 rm -f conftest.$ac_objext conftest$ac_exeext
19235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19236 (eval $ac_link) 2>&5
19238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19239 (exit $ac_status); } &&
19240 { ac_try='test -s conftest$ac_exeext'
19241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19242 (eval $ac_try) 2>&5
19244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19245 (exit $ac_status); }; }; then
19246 ac_cv_search_mallinfo="-l$ac_lib"
19249 echo "$as_me: failed program was:" >&5
19250 sed 's/^/| /' conftest.$ac_ext >&5
19253 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19256 LIBS=$ac_func_search_save_LIBS
19258 echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
19259 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6
19260 if test "$ac_cv_search_mallinfo" != no; then
19261 test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS"
19262 cat >>confdefs.h <<\_ACEOF
19263 #define HAVE_MALLINFO 1
19270 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19271 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19272 if test "${ac_cv_header_stdc+set}" = set; then
19273 echo $ECHO_N "(cached) $ECHO_C" >&6
19275 cat >conftest.$ac_ext <<_ACEOF
19276 #line $LINENO "configure"
19279 cat confdefs.h >>conftest.$ac_ext
19280 cat >>conftest.$ac_ext <<_ACEOF
19281 /* end confdefs.h. */
19282 #include <stdlib.h>
19283 #include <stdarg.h>
19284 #include <string.h>
19295 rm -f conftest.$ac_objext
19296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19297 (eval $ac_compile) 2>&5
19299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19300 (exit $ac_status); } &&
19301 { ac_try='test -s conftest.$ac_objext'
19302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19303 (eval $ac_try) 2>&5
19305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19306 (exit $ac_status); }; }; then
19307 ac_cv_header_stdc=yes
19309 echo "$as_me: failed program was:" >&5
19310 sed 's/^/| /' conftest.$ac_ext >&5
19312 ac_cv_header_stdc=no
19314 rm -f conftest.$ac_objext conftest.$ac_ext
19316 if test $ac_cv_header_stdc = yes; then
19317 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19318 cat >conftest.$ac_ext <<_ACEOF
19319 #line $LINENO "configure"
19322 cat confdefs.h >>conftest.$ac_ext
19323 cat >>conftest.$ac_ext <<_ACEOF
19324 /* end confdefs.h. */
19325 #include <string.h>
19328 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19329 $EGREP "memchr" >/dev/null 2>&1; then
19332 ac_cv_header_stdc=no
19338 if test $ac_cv_header_stdc = yes; then
19339 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19340 cat >conftest.$ac_ext <<_ACEOF
19341 #line $LINENO "configure"
19344 cat confdefs.h >>conftest.$ac_ext
19345 cat >>conftest.$ac_ext <<_ACEOF
19346 /* end confdefs.h. */
19347 #include <stdlib.h>
19350 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19351 $EGREP "free" >/dev/null 2>&1; then
19354 ac_cv_header_stdc=no
19360 if test $ac_cv_header_stdc = yes; then
19361 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19362 if test "$cross_compiling" = yes; then
19365 cat >conftest.$ac_ext <<_ACEOF
19366 #line $LINENO "configure"
19369 cat confdefs.h >>conftest.$ac_ext
19370 cat >>conftest.$ac_ext <<_ACEOF
19371 /* end confdefs.h. */
19373 #if ((' ' & 0x0FF) == 0x020)
19374 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19375 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19377 # define ISLOWER(c) \
19378 (('a' <= (c) && (c) <= 'i') \
19379 || ('j' <= (c) && (c) <= 'r') \
19380 || ('s' <= (c) && (c) <= 'z'))
19381 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19384 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19389 for (i = 0; i < 256; i++)
19390 if (XOR (islower (i), ISLOWER (i))
19391 || toupper (i) != TOUPPER (i))
19396 rm -f conftest$ac_exeext
19397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19398 (eval $ac_link) 2>&5
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19403 (eval $ac_try) 2>&5
19405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19406 (exit $ac_status); }; }; then
19409 echo "$as_me: program exited with status $ac_status" >&5
19410 echo "$as_me: failed program was:" >&5
19411 sed 's/^/| /' conftest.$ac_ext >&5
19413 ( exit $ac_status )
19414 ac_cv_header_stdc=no
19416 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19420 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19421 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19422 if test $ac_cv_header_stdc = yes; then
19424 cat >>confdefs.h <<\_ACEOF
19425 #define STDC_HEADERS 1
19430 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19431 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
19432 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19433 echo $ECHO_N "(cached) $ECHO_C" >&6
19435 cat >conftest.$ac_ext <<_ACEOF
19436 #line $LINENO "configure"
19439 cat confdefs.h >>conftest.$ac_ext
19440 cat >>conftest.$ac_ext <<_ACEOF
19441 /* end confdefs.h. */
19442 #include <sys/types.h>
19443 #include <sys/wait.h>
19444 #ifndef WEXITSTATUS
19445 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
19448 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19456 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19461 rm -f conftest.$ac_objext
19462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19463 (eval $ac_compile) 2>&5
19465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19466 (exit $ac_status); } &&
19467 { ac_try='test -s conftest.$ac_objext'
19468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19469 (eval $ac_try) 2>&5
19471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19472 (exit $ac_status); }; }; then
19473 ac_cv_header_sys_wait_h=yes
19475 echo "$as_me: failed program was:" >&5
19476 sed 's/^/| /' conftest.$ac_ext >&5
19478 ac_cv_header_sys_wait_h=no
19480 rm -f conftest.$ac_objext conftest.$ac_ext
19482 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19483 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
19484 if test $ac_cv_header_sys_wait_h = yes; then
19486 cat >>confdefs.h <<\_ACEOF
19487 #define HAVE_SYS_WAIT_H 1
19501 for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h
19503 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19504 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19505 echo "$as_me:$LINENO: checking for $ac_header" >&5
19506 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19507 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19508 echo $ECHO_N "(cached) $ECHO_C" >&6
19510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19511 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19513 # Is the header compilable?
19514 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19515 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19516 cat >conftest.$ac_ext <<_ACEOF
19517 #line $LINENO "configure"
19520 cat confdefs.h >>conftest.$ac_ext
19521 cat >>conftest.$ac_ext <<_ACEOF
19522 /* end confdefs.h. */
19523 $ac_includes_default
19524 #include <$ac_header>
19526 rm -f conftest.$ac_objext
19527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19528 (eval $ac_compile) 2>&5
19530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19531 (exit $ac_status); } &&
19532 { ac_try='test -s conftest.$ac_objext'
19533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19534 (eval $ac_try) 2>&5
19536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19537 (exit $ac_status); }; }; then
19538 ac_header_compiler=yes
19540 echo "$as_me: failed program was:" >&5
19541 sed 's/^/| /' conftest.$ac_ext >&5
19543 ac_header_compiler=no
19545 rm -f conftest.$ac_objext conftest.$ac_ext
19546 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19547 echo "${ECHO_T}$ac_header_compiler" >&6
19549 # Is the header present?
19550 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19551 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19552 cat >conftest.$ac_ext <<_ACEOF
19553 #line $LINENO "configure"
19556 cat confdefs.h >>conftest.$ac_ext
19557 cat >>conftest.$ac_ext <<_ACEOF
19558 /* end confdefs.h. */
19559 #include <$ac_header>
19561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19562 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19564 grep -v '^ *+' conftest.er1 >conftest.err
19566 cat conftest.err >&5
19567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19568 (exit $ac_status); } >/dev/null; then
19569 if test -s conftest.err; then
19570 ac_cpp_err=$ac_c_preproc_warn_flag
19577 if test -z "$ac_cpp_err"; then
19578 ac_header_preproc=yes
19580 echo "$as_me: failed program was:" >&5
19581 sed 's/^/| /' conftest.$ac_ext >&5
19583 ac_header_preproc=no
19585 rm -f conftest.err conftest.$ac_ext
19586 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19587 echo "${ECHO_T}$ac_header_preproc" >&6
19589 # So? What about this header?
19590 case $ac_header_compiler:$ac_header_preproc in
19592 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19593 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19594 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19595 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19598 ## ------------------------------------ ##
19599 ## Report this to bug-autoconf@gnu.org. ##
19600 ## ------------------------------------ ##
19603 sed "s/^/$as_me: WARNING: /" >&2
19606 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19607 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19608 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19609 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19610 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19611 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19614 ## ------------------------------------ ##
19615 ## Report this to bug-autoconf@gnu.org. ##
19616 ## ------------------------------------ ##
19619 sed "s/^/$as_me: WARNING: /" >&2
19622 echo "$as_me:$LINENO: checking for $ac_header" >&5
19623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19625 echo $ECHO_N "(cached) $ECHO_C" >&6
19627 eval "$as_ac_Header=$ac_header_preproc"
19629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19630 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19634 cat >>confdefs.h <<_ACEOF
19635 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19647 for ac_header in malloc.h strings.h sys/mman.h sys/resource.h
19649 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19651 echo "$as_me:$LINENO: checking for $ac_header" >&5
19652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19654 echo $ECHO_N "(cached) $ECHO_C" >&6
19656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19659 # Is the header compilable?
19660 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19661 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19662 cat >conftest.$ac_ext <<_ACEOF
19663 #line $LINENO "configure"
19666 cat confdefs.h >>conftest.$ac_ext
19667 cat >>conftest.$ac_ext <<_ACEOF
19668 /* end confdefs.h. */
19669 $ac_includes_default
19670 #include <$ac_header>
19672 rm -f conftest.$ac_objext
19673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19674 (eval $ac_compile) 2>&5
19676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19677 (exit $ac_status); } &&
19678 { ac_try='test -s conftest.$ac_objext'
19679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19680 (eval $ac_try) 2>&5
19682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19683 (exit $ac_status); }; }; then
19684 ac_header_compiler=yes
19686 echo "$as_me: failed program was:" >&5
19687 sed 's/^/| /' conftest.$ac_ext >&5
19689 ac_header_compiler=no
19691 rm -f conftest.$ac_objext conftest.$ac_ext
19692 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19693 echo "${ECHO_T}$ac_header_compiler" >&6
19695 # Is the header present?
19696 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19697 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19698 cat >conftest.$ac_ext <<_ACEOF
19699 #line $LINENO "configure"
19702 cat confdefs.h >>conftest.$ac_ext
19703 cat >>conftest.$ac_ext <<_ACEOF
19704 /* end confdefs.h. */
19705 #include <$ac_header>
19707 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19708 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19710 grep -v '^ *+' conftest.er1 >conftest.err
19712 cat conftest.err >&5
19713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714 (exit $ac_status); } >/dev/null; then
19715 if test -s conftest.err; then
19716 ac_cpp_err=$ac_c_preproc_warn_flag
19723 if test -z "$ac_cpp_err"; then
19724 ac_header_preproc=yes
19726 echo "$as_me: failed program was:" >&5
19727 sed 's/^/| /' conftest.$ac_ext >&5
19729 ac_header_preproc=no
19731 rm -f conftest.err conftest.$ac_ext
19732 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19733 echo "${ECHO_T}$ac_header_preproc" >&6
19735 # So? What about this header?
19736 case $ac_header_compiler:$ac_header_preproc in
19738 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19739 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19740 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19741 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19744 ## ------------------------------------ ##
19745 ## Report this to bug-autoconf@gnu.org. ##
19746 ## ------------------------------------ ##
19749 sed "s/^/$as_me: WARNING: /" >&2
19752 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19753 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19754 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19755 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19756 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19757 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19760 ## ------------------------------------ ##
19761 ## Report this to bug-autoconf@gnu.org. ##
19762 ## ------------------------------------ ##
19765 sed "s/^/$as_me: WARNING: /" >&2
19768 echo "$as_me:$LINENO: checking for $ac_header" >&5
19769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19771 echo $ECHO_N "(cached) $ECHO_C" >&6
19773 eval "$as_ac_Header=$ac_header_preproc"
19775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19776 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19779 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19780 cat >>confdefs.h <<_ACEOF
19781 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19791 for ac_header in dlfcn.h link.h
19793 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19794 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19795 echo "$as_me:$LINENO: checking for $ac_header" >&5
19796 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19797 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19798 echo $ECHO_N "(cached) $ECHO_C" >&6
19800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19801 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19803 # Is the header compilable?
19804 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19805 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19806 cat >conftest.$ac_ext <<_ACEOF
19807 #line $LINENO "configure"
19810 cat confdefs.h >>conftest.$ac_ext
19811 cat >>conftest.$ac_ext <<_ACEOF
19812 /* end confdefs.h. */
19813 $ac_includes_default
19814 #include <$ac_header>
19816 rm -f conftest.$ac_objext
19817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19818 (eval $ac_compile) 2>&5
19820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19821 (exit $ac_status); } &&
19822 { ac_try='test -s conftest.$ac_objext'
19823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19824 (eval $ac_try) 2>&5
19826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19827 (exit $ac_status); }; }; then
19828 ac_header_compiler=yes
19830 echo "$as_me: failed program was:" >&5
19831 sed 's/^/| /' conftest.$ac_ext >&5
19833 ac_header_compiler=no
19835 rm -f conftest.$ac_objext conftest.$ac_ext
19836 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19837 echo "${ECHO_T}$ac_header_compiler" >&6
19839 # Is the header present?
19840 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19841 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19842 cat >conftest.$ac_ext <<_ACEOF
19843 #line $LINENO "configure"
19846 cat confdefs.h >>conftest.$ac_ext
19847 cat >>conftest.$ac_ext <<_ACEOF
19848 /* end confdefs.h. */
19849 #include <$ac_header>
19851 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19852 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19854 grep -v '^ *+' conftest.er1 >conftest.err
19856 cat conftest.err >&5
19857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19858 (exit $ac_status); } >/dev/null; then
19859 if test -s conftest.err; then
19860 ac_cpp_err=$ac_c_preproc_warn_flag
19867 if test -z "$ac_cpp_err"; then
19868 ac_header_preproc=yes
19870 echo "$as_me: failed program was:" >&5
19871 sed 's/^/| /' conftest.$ac_ext >&5
19873 ac_header_preproc=no
19875 rm -f conftest.err conftest.$ac_ext
19876 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19877 echo "${ECHO_T}$ac_header_preproc" >&6
19879 # So? What about this header?
19880 case $ac_header_compiler:$ac_header_preproc in
19882 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19883 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19884 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19885 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19888 ## ------------------------------------ ##
19889 ## Report this to bug-autoconf@gnu.org. ##
19890 ## ------------------------------------ ##
19893 sed "s/^/$as_me: WARNING: /" >&2
19896 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19897 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19898 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19899 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19900 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19901 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19904 ## ------------------------------------ ##
19905 ## Report this to bug-autoconf@gnu.org. ##
19906 ## ------------------------------------ ##
19909 sed "s/^/$as_me: WARNING: /" >&2
19912 echo "$as_me:$LINENO: checking for $ac_header" >&5
19913 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19914 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19915 echo $ECHO_N "(cached) $ECHO_C" >&6
19917 eval "$as_ac_Header=$ac_header_preproc"
19919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19920 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19923 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19924 cat >>confdefs.h <<_ACEOF
19925 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19934 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19935 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
19936 if test "${ac_cv_c_const+set}" = set; then
19937 echo $ECHO_N "(cached) $ECHO_C" >&6
19939 cat >conftest.$ac_ext <<_ACEOF
19940 #line $LINENO "configure"
19943 cat confdefs.h >>conftest.$ac_ext
19944 cat >>conftest.$ac_ext <<_ACEOF
19945 /* end confdefs.h. */
19950 /* FIXME: Include the comments suggested by Paul. */
19951 #ifndef __cplusplus
19952 /* Ultrix mips cc rejects this. */
19953 typedef int charset[2];
19955 /* SunOS 4.1.1 cc rejects this. */
19956 char const *const *ccp;
19958 /* NEC SVR4.0.2 mips cc rejects this. */
19959 struct point {int x, y;};
19960 static struct point const zero = {0,0};
19961 /* AIX XL C 1.02.0.0 rejects this.
19962 It does not let you subtract one const X* pointer from another in
19963 an arm of an if-expression whose if-part is not a constant
19965 const char *g = "string";
19966 ccp = &g + (g ? g-g : 0);
19967 /* HPUX 7.0 cc rejects these. */
19970 ccp = (char const *const *) p;
19971 { /* SCO 3.2v4 cc rejects this. */
19973 char const *s = 0 ? (char *) 0 : (char const *) 0;
19977 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19978 int x[] = {25, 17};
19979 const int *foo = &x[0];
19982 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19983 typedef const int *iptr;
19987 { /* AIX XL C 1.02.0.0 rejects this saying
19988 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19989 struct s { int j; const int *ap[3]; };
19990 struct s *b; b->j = 5;
19992 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19993 const int foo = 10;
20001 rm -f conftest.$ac_objext
20002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20003 (eval $ac_compile) 2>&5
20005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006 (exit $ac_status); } &&
20007 { ac_try='test -s conftest.$ac_objext'
20008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20009 (eval $ac_try) 2>&5
20011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20012 (exit $ac_status); }; }; then
20015 echo "$as_me: failed program was:" >&5
20016 sed 's/^/| /' conftest.$ac_ext >&5
20020 rm -f conftest.$ac_objext conftest.$ac_ext
20022 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20023 echo "${ECHO_T}$ac_cv_c_const" >&6
20024 if test $ac_cv_c_const = no; then
20026 cat >>confdefs.h <<\_ACEOF
20032 echo "$as_me:$LINENO: checking for inline" >&5
20033 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20034 if test "${ac_cv_c_inline+set}" = set; then
20035 echo $ECHO_N "(cached) $ECHO_C" >&6
20038 for ac_kw in inline __inline__ __inline; do
20039 cat >conftest.$ac_ext <<_ACEOF
20040 #line $LINENO "configure"
20043 cat confdefs.h >>conftest.$ac_ext
20044 cat >>conftest.$ac_ext <<_ACEOF
20045 /* end confdefs.h. */
20046 #ifndef __cplusplus
20048 static $ac_kw foo_t static_foo () {return 0; }
20049 $ac_kw foo_t foo () {return 0; }
20053 rm -f conftest.$ac_objext
20054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20055 (eval $ac_compile) 2>&5
20057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20058 (exit $ac_status); } &&
20059 { ac_try='test -s conftest.$ac_objext'
20060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20061 (eval $ac_try) 2>&5
20063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20064 (exit $ac_status); }; }; then
20065 ac_cv_c_inline=$ac_kw; break
20067 echo "$as_me: failed program was:" >&5
20068 sed 's/^/| /' conftest.$ac_ext >&5
20071 rm -f conftest.$ac_objext conftest.$ac_ext
20075 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20076 echo "${ECHO_T}$ac_cv_c_inline" >&6
20077 case $ac_cv_c_inline in
20080 cat >>confdefs.h <<\_ACEOF
20084 *) cat >>confdefs.h <<_ACEOF
20085 #define inline $ac_cv_c_inline
20091 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20092 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20093 if test "${ac_cv_c_bigendian+set}" = set; then
20094 echo $ECHO_N "(cached) $ECHO_C" >&6
20096 # See if sys/param.h defines the BYTE_ORDER macro.
20097 cat >conftest.$ac_ext <<_ACEOF
20098 #line $LINENO "configure"
20101 cat confdefs.h >>conftest.$ac_ext
20102 cat >>conftest.$ac_ext <<_ACEOF
20103 /* end confdefs.h. */
20104 #include <sys/types.h>
20105 #include <sys/param.h>
20110 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20111 bogus endian macros
20118 rm -f conftest.$ac_objext
20119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20120 (eval $ac_compile) 2>&5
20122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20123 (exit $ac_status); } &&
20124 { ac_try='test -s conftest.$ac_objext'
20125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20126 (eval $ac_try) 2>&5
20128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129 (exit $ac_status); }; }; then
20130 # It does; now see whether it defined to BIG_ENDIAN or not.
20131 cat >conftest.$ac_ext <<_ACEOF
20132 #line $LINENO "configure"
20135 cat confdefs.h >>conftest.$ac_ext
20136 cat >>conftest.$ac_ext <<_ACEOF
20137 /* end confdefs.h. */
20138 #include <sys/types.h>
20139 #include <sys/param.h>
20144 #if BYTE_ORDER != BIG_ENDIAN
20152 rm -f conftest.$ac_objext
20153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20154 (eval $ac_compile) 2>&5
20156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20157 (exit $ac_status); } &&
20158 { ac_try='test -s conftest.$ac_objext'
20159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20160 (eval $ac_try) 2>&5
20162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20163 (exit $ac_status); }; }; then
20164 ac_cv_c_bigendian=yes
20166 echo "$as_me: failed program was:" >&5
20167 sed 's/^/| /' conftest.$ac_ext >&5
20169 ac_cv_c_bigendian=no
20171 rm -f conftest.$ac_objext conftest.$ac_ext
20173 echo "$as_me: failed program was:" >&5
20174 sed 's/^/| /' conftest.$ac_ext >&5
20176 # It does not; compile a test program.
20177 if test "$cross_compiling" = yes; then
20178 # try to guess the endianness by grepping values into an object file
20179 ac_cv_c_bigendian=unknown
20180 cat >conftest.$ac_ext <<_ACEOF
20181 #line $LINENO "configure"
20184 cat confdefs.h >>conftest.$ac_ext
20185 cat >>conftest.$ac_ext <<_ACEOF
20186 /* end confdefs.h. */
20187 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20188 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20189 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20190 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20191 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20192 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20196 _ascii (); _ebcdic ();
20201 rm -f conftest.$ac_objext
20202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20203 (eval $ac_compile) 2>&5
20205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206 (exit $ac_status); } &&
20207 { ac_try='test -s conftest.$ac_objext'
20208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20209 (eval $ac_try) 2>&5
20211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20212 (exit $ac_status); }; }; then
20213 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
20214 ac_cv_c_bigendian=yes
20216 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
20217 if test "$ac_cv_c_bigendian" = unknown; then
20218 ac_cv_c_bigendian=no
20220 # finding both strings is unlikely to happen, but who knows?
20221 ac_cv_c_bigendian=unknown
20225 echo "$as_me: failed program was:" >&5
20226 sed 's/^/| /' conftest.$ac_ext >&5
20229 rm -f conftest.$ac_objext conftest.$ac_ext
20231 cat >conftest.$ac_ext <<_ACEOF
20232 #line $LINENO "configure"
20235 cat confdefs.h >>conftest.$ac_ext
20236 cat >>conftest.$ac_ext <<_ACEOF
20237 /* end confdefs.h. */
20241 /* Are we little or big endian? From Harbison&Steele. */
20245 char c[sizeof (long)];
20248 exit (u.c[sizeof (long) - 1] == 1);
20251 rm -f conftest$ac_exeext
20252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20253 (eval $ac_link) 2>&5
20255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20256 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20258 (eval $ac_try) 2>&5
20260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20261 (exit $ac_status); }; }; then
20262 ac_cv_c_bigendian=no
20264 echo "$as_me: program exited with status $ac_status" >&5
20265 echo "$as_me: failed program was:" >&5
20266 sed 's/^/| /' conftest.$ac_ext >&5
20268 ( exit $ac_status )
20269 ac_cv_c_bigendian=yes
20271 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20274 rm -f conftest.$ac_objext conftest.$ac_ext
20276 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20277 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20278 case $ac_cv_c_bigendian in
20280 cat >>confdefs.h <<\_ACEOF
20281 #define ENDIAN_BIG 1
20285 cat >>confdefs.h <<\_ACEOF
20286 #define ENDIAN_LITTLE 1
20290 { { echo "$as_me:$LINENO: error: unknown endianness
20291 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20292 echo "$as_me: error: unknown endianness
20293 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20294 { (exit 1); exit 1; }; } ;;
20298 echo "$as_me:$LINENO: checking for pid_t" >&5
20299 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20300 if test "${ac_cv_type_pid_t+set}" = set; then
20301 echo $ECHO_N "(cached) $ECHO_C" >&6
20303 cat >conftest.$ac_ext <<_ACEOF
20304 #line $LINENO "configure"
20307 cat confdefs.h >>conftest.$ac_ext
20308 cat >>conftest.$ac_ext <<_ACEOF
20309 /* end confdefs.h. */
20310 $ac_includes_default
20316 if (sizeof (pid_t))
20322 rm -f conftest.$ac_objext
20323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20324 (eval $ac_compile) 2>&5
20326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20327 (exit $ac_status); } &&
20328 { ac_try='test -s conftest.$ac_objext'
20329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20330 (eval $ac_try) 2>&5
20332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20333 (exit $ac_status); }; }; then
20334 ac_cv_type_pid_t=yes
20336 echo "$as_me: failed program was:" >&5
20337 sed 's/^/| /' conftest.$ac_ext >&5
20339 ac_cv_type_pid_t=no
20341 rm -f conftest.$ac_objext conftest.$ac_ext
20343 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20344 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20345 if test $ac_cv_type_pid_t = yes; then
20349 cat >>confdefs.h <<_ACEOF
20355 echo "$as_me:$LINENO: checking for size_t" >&5
20356 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20357 if test "${ac_cv_type_size_t+set}" = set; then
20358 echo $ECHO_N "(cached) $ECHO_C" >&6
20360 cat >conftest.$ac_ext <<_ACEOF
20361 #line $LINENO "configure"
20364 cat confdefs.h >>conftest.$ac_ext
20365 cat >>conftest.$ac_ext <<_ACEOF
20366 /* end confdefs.h. */
20367 $ac_includes_default
20373 if (sizeof (size_t))
20379 rm -f conftest.$ac_objext
20380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20381 (eval $ac_compile) 2>&5
20383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20384 (exit $ac_status); } &&
20385 { ac_try='test -s conftest.$ac_objext'
20386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20387 (eval $ac_try) 2>&5
20389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20390 (exit $ac_status); }; }; then
20391 ac_cv_type_size_t=yes
20393 echo "$as_me: failed program was:" >&5
20394 sed 's/^/| /' conftest.$ac_ext >&5
20396 ac_cv_type_size_t=no
20398 rm -f conftest.$ac_objext conftest.$ac_ext
20400 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20401 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20402 if test $ac_cv_type_size_t = yes; then
20406 cat >>confdefs.h <<_ACEOF
20407 #define size_t unsigned
20412 echo "$as_me:$LINENO: checking for int64_t" >&5
20413 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
20414 if test "${ac_cv_type_int64_t+set}" = set; then
20415 echo $ECHO_N "(cached) $ECHO_C" >&6
20417 cat >conftest.$ac_ext <<_ACEOF
20418 #line $LINENO "configure"
20421 cat confdefs.h >>conftest.$ac_ext
20422 cat >>conftest.$ac_ext <<_ACEOF
20423 /* end confdefs.h. */
20424 $ac_includes_default
20430 if (sizeof (int64_t))
20436 rm -f conftest.$ac_objext
20437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20438 (eval $ac_compile) 2>&5
20440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20441 (exit $ac_status); } &&
20442 { ac_try='test -s conftest.$ac_objext'
20443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20444 (eval $ac_try) 2>&5
20446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447 (exit $ac_status); }; }; then
20448 ac_cv_type_int64_t=yes
20450 echo "$as_me: failed program was:" >&5
20451 sed 's/^/| /' conftest.$ac_ext >&5
20453 ac_cv_type_int64_t=no
20455 rm -f conftest.$ac_objext conftest.$ac_ext
20457 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
20458 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
20459 if test $ac_cv_type_int64_t = yes; then
20461 cat >>confdefs.h <<_ACEOF
20462 #define HAVE_INT64_T 1
20467 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
20468 echo "$as_me: error: Type int64_t required but not found" >&2;}
20469 { (exit 1); exit 1; }; }
20472 echo "$as_me:$LINENO: checking for uint64_t" >&5
20473 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
20474 if test "${ac_cv_type_uint64_t+set}" = set; then
20475 echo $ECHO_N "(cached) $ECHO_C" >&6
20477 cat >conftest.$ac_ext <<_ACEOF
20478 #line $LINENO "configure"
20481 cat confdefs.h >>conftest.$ac_ext
20482 cat >>conftest.$ac_ext <<_ACEOF
20483 /* end confdefs.h. */
20484 $ac_includes_default
20488 if ((uint64_t *) 0)
20490 if (sizeof (uint64_t))
20496 rm -f conftest.$ac_objext
20497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20498 (eval $ac_compile) 2>&5
20500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20501 (exit $ac_status); } &&
20502 { ac_try='test -s conftest.$ac_objext'
20503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20504 (eval $ac_try) 2>&5
20506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20507 (exit $ac_status); }; }; then
20508 ac_cv_type_uint64_t=yes
20510 echo "$as_me: failed program was:" >&5
20511 sed 's/^/| /' conftest.$ac_ext >&5
20513 ac_cv_type_uint64_t=no
20515 rm -f conftest.$ac_objext conftest.$ac_ext
20517 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
20518 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
20519 if test $ac_cv_type_uint64_t = yes; then
20521 cat >>confdefs.h <<_ACEOF
20522 #define HAVE_UINT64_T 1
20527 { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5
20528 echo "$as_me: error: Type uint64_t required but not found" >&2;}
20529 { (exit 1); exit 1; }; }
20532 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20533 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20534 if test "${ac_cv_header_time+set}" = set; then
20535 echo $ECHO_N "(cached) $ECHO_C" >&6
20537 cat >conftest.$ac_ext <<_ACEOF
20538 #line $LINENO "configure"
20541 cat confdefs.h >>conftest.$ac_ext
20542 cat >>conftest.$ac_ext <<_ACEOF
20543 /* end confdefs.h. */
20544 #include <sys/types.h>
20545 #include <sys/time.h>
20551 if ((struct tm *) 0)
20557 rm -f conftest.$ac_objext
20558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20559 (eval $ac_compile) 2>&5
20561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20562 (exit $ac_status); } &&
20563 { ac_try='test -s conftest.$ac_objext'
20564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20565 (eval $ac_try) 2>&5
20567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20568 (exit $ac_status); }; }; then
20569 ac_cv_header_time=yes
20571 echo "$as_me: failed program was:" >&5
20572 sed 's/^/| /' conftest.$ac_ext >&5
20574 ac_cv_header_time=no
20576 rm -f conftest.$ac_objext conftest.$ac_ext
20578 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20579 echo "${ECHO_T}$ac_cv_header_time" >&6
20580 if test $ac_cv_header_time = yes; then
20582 cat >>confdefs.h <<\_ACEOF
20583 #define TIME_WITH_SYS_TIME 1
20588 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20589 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
20590 if test "${ac_cv_struct_tm+set}" = set; then
20591 echo $ECHO_N "(cached) $ECHO_C" >&6
20593 cat >conftest.$ac_ext <<_ACEOF
20594 #line $LINENO "configure"
20597 cat confdefs.h >>conftest.$ac_ext
20598 cat >>conftest.$ac_ext <<_ACEOF
20599 /* end confdefs.h. */
20600 #include <sys/types.h>
20606 struct tm *tp; tp->tm_sec;
20611 rm -f conftest.$ac_objext
20612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20613 (eval $ac_compile) 2>&5
20615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20616 (exit $ac_status); } &&
20617 { ac_try='test -s conftest.$ac_objext'
20618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20619 (eval $ac_try) 2>&5
20621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20622 (exit $ac_status); }; }; then
20623 ac_cv_struct_tm=time.h
20625 echo "$as_me: failed program was:" >&5
20626 sed 's/^/| /' conftest.$ac_ext >&5
20628 ac_cv_struct_tm=sys/time.h
20630 rm -f conftest.$ac_objext conftest.$ac_ext
20632 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20633 echo "${ECHO_T}$ac_cv_struct_tm" >&6
20634 if test $ac_cv_struct_tm = sys/time.h; then
20636 cat >>confdefs.h <<\_ACEOF
20637 #define TM_IN_SYS_TIME 1
20643 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
20644 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
20645 if test "${ac_cv_cxx_namespaces+set}" = set; then
20646 echo $ECHO_N "(cached) $ECHO_C" >&6
20651 ac_cpp='$CXXCPP $CPPFLAGS'
20652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20656 cat >conftest.$ac_ext <<_ACEOF
20657 #line $LINENO "configure"
20660 cat confdefs.h >>conftest.$ac_ext
20661 cat >>conftest.$ac_ext <<_ACEOF
20662 /* end confdefs.h. */
20663 namespace Outer { namespace Inner { int i = 0; }}
20667 using namespace Outer::Inner; return i;
20672 rm -f conftest.$ac_objext
20673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20674 (eval $ac_compile) 2>&5
20676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20677 (exit $ac_status); } &&
20678 { ac_try='test -s conftest.$ac_objext'
20679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20680 (eval $ac_try) 2>&5
20682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20683 (exit $ac_status); }; }; then
20684 ac_cv_cxx_namespaces=yes
20686 echo "$as_me: failed program was:" >&5
20687 sed 's/^/| /' conftest.$ac_ext >&5
20689 ac_cv_cxx_namespaces=no
20691 rm -f conftest.$ac_objext conftest.$ac_ext
20693 ac_cpp='$CPP $CPPFLAGS'
20694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20700 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
20701 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
20702 if test "$ac_cv_cxx_namespaces" = yes; then
20704 cat >>confdefs.h <<\_ACEOF
20705 #define HAVE_NAMESPACES
20710 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_map" >&5
20711 echo $ECHO_N "checking whether the compiler has ext/hash_map... $ECHO_C" >&6
20712 if test "${ac_cv_cxx_have_ext_hash_map+set}" = set; then
20713 echo $ECHO_N "(cached) $ECHO_C" >&6
20719 ac_cpp='$CXXCPP $CPPFLAGS'
20720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20724 cat >conftest.$ac_ext <<_ACEOF
20725 #line $LINENO "configure"
20728 cat confdefs.h >>conftest.$ac_ext
20729 cat >>conftest.$ac_ext <<_ACEOF
20730 /* end confdefs.h. */
20731 #include <ext/hash_map>
20732 #ifdef HAVE_NAMESPACES
20733 using namespace std;
20738 hash_map<int, int> t; return 0;
20743 rm -f conftest.$ac_objext
20744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20745 (eval $ac_compile) 2>&5
20747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20748 (exit $ac_status); } &&
20749 { ac_try='test -s conftest.$ac_objext'
20750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20751 (eval $ac_try) 2>&5
20753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20754 (exit $ac_status); }; }; then
20755 ac_cv_cxx_have_ext_hash_map=std
20757 echo "$as_me: failed program was:" >&5
20758 sed 's/^/| /' conftest.$ac_ext >&5
20760 ac_cv_cxx_have_ext_hash_map=no
20762 rm -f conftest.$ac_objext conftest.$ac_ext
20763 cat >conftest.$ac_ext <<_ACEOF
20764 #line $LINENO "configure"
20767 cat confdefs.h >>conftest.$ac_ext
20768 cat >>conftest.$ac_ext <<_ACEOF
20769 /* end confdefs.h. */
20770 #include <ext/hash_map>
20771 #ifdef HAVE_NAMESPACES
20772 using namespace __gnu_cxx;
20777 hash_map<int, int> t; return 0;
20782 rm -f conftest.$ac_objext
20783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20784 (eval $ac_compile) 2>&5
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); } &&
20788 { ac_try='test -s conftest.$ac_objext'
20789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20790 (eval $ac_try) 2>&5
20792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20793 (exit $ac_status); }; }; then
20794 ac_cv_cxx_have_ext_hash_map=gnu
20796 echo "$as_me: failed program was:" >&5
20797 sed 's/^/| /' conftest.$ac_ext >&5
20799 ac_cv_cxx_have_ext_hash_map=no
20801 rm -f conftest.$ac_objext conftest.$ac_ext
20803 ac_cpp='$CPP $CPPFLAGS'
20804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20810 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_map" >&5
20811 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_map" >&6
20812 if test "$ac_cv_cxx_have_ext_hash_map" = std; then
20814 cat >>confdefs.h <<\_ACEOF
20815 #define HAVE_STD_EXT_HASH_MAP
20819 if test "$ac_cv_cxx_have_ext_hash_map" = gnu; then
20821 cat >>confdefs.h <<\_ACEOF
20822 #define HAVE_GNU_EXT_HASH_MAP
20827 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_set" >&5
20828 echo $ECHO_N "checking whether the compiler has ext/hash_set... $ECHO_C" >&6
20829 if test "${ac_cv_cxx_have_ext_hash_set+set}" = set; then
20830 echo $ECHO_N "(cached) $ECHO_C" >&6
20836 ac_cpp='$CXXCPP $CPPFLAGS'
20837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20841 cat >conftest.$ac_ext <<_ACEOF
20842 #line $LINENO "configure"
20845 cat confdefs.h >>conftest.$ac_ext
20846 cat >>conftest.$ac_ext <<_ACEOF
20847 /* end confdefs.h. */
20848 #include <ext/hash_set>
20849 #ifdef HAVE_NAMESPACES
20850 using namespace std;
20855 hash_set<int> t; return 0;
20860 rm -f conftest.$ac_objext
20861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20862 (eval $ac_compile) 2>&5
20864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20865 (exit $ac_status); } &&
20866 { ac_try='test -s conftest.$ac_objext'
20867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20868 (eval $ac_try) 2>&5
20870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20871 (exit $ac_status); }; }; then
20872 ac_cv_cxx_have_ext_hash_set=std
20874 echo "$as_me: failed program was:" >&5
20875 sed 's/^/| /' conftest.$ac_ext >&5
20877 ac_cv_cxx_have_ext_hash_set=no
20879 rm -f conftest.$ac_objext conftest.$ac_ext
20880 cat >conftest.$ac_ext <<_ACEOF
20881 #line $LINENO "configure"
20884 cat confdefs.h >>conftest.$ac_ext
20885 cat >>conftest.$ac_ext <<_ACEOF
20886 /* end confdefs.h. */
20887 #include <ext/hash_set>
20888 #ifdef HAVE_NAMESPACES
20889 using namespace __gnu_cxx;
20894 hash_set<int> t; return 0;
20899 rm -f conftest.$ac_objext
20900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20901 (eval $ac_compile) 2>&5
20903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20904 (exit $ac_status); } &&
20905 { ac_try='test -s conftest.$ac_objext'
20906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20907 (eval $ac_try) 2>&5
20909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20910 (exit $ac_status); }; }; then
20911 ac_cv_cxx_have_ext_hash_set=gnu
20913 echo "$as_me: failed program was:" >&5
20914 sed 's/^/| /' conftest.$ac_ext >&5
20916 ac_cv_cxx_have_ext_hash_set=no
20918 rm -f conftest.$ac_objext conftest.$ac_ext
20920 ac_cpp='$CPP $CPPFLAGS'
20921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20927 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_set" >&5
20928 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_set" >&6
20929 if test "$ac_cv_cxx_have_ext_hash_set" = std; then
20931 cat >>confdefs.h <<\_ACEOF
20932 #define HAVE_STD_EXT_HASH_SET
20936 if test "$ac_cv_cxx_have_ext_hash_set" = gnu; then
20938 cat >>confdefs.h <<\_ACEOF
20939 #define HAVE_GNU_EXT_HASH_SET
20944 echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5
20945 echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6
20946 if test "${ac_cv_cxx_have_ext_slist+set}" = set; then
20947 echo $ECHO_N "(cached) $ECHO_C" >&6
20953 ac_cpp='$CXXCPP $CPPFLAGS'
20954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20958 cat >conftest.$ac_ext <<_ACEOF
20959 #line $LINENO "configure"
20962 cat confdefs.h >>conftest.$ac_ext
20963 cat >>conftest.$ac_ext <<_ACEOF
20964 /* end confdefs.h. */
20965 #include <ext/slist>
20966 #ifdef HAVE_NAMESPACES
20967 using namespace std;
20972 slist<int> s; return 0;
20977 rm -f conftest.$ac_objext
20978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20979 (eval $ac_compile) 2>&5
20981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20982 (exit $ac_status); } &&
20983 { ac_try='test -s conftest.$ac_objext'
20984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20985 (eval $ac_try) 2>&5
20987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20988 (exit $ac_status); }; }; then
20989 ac_cv_cxx_have_ext_slist=std
20991 echo "$as_me: failed program was:" >&5
20992 sed 's/^/| /' conftest.$ac_ext >&5
20994 ac_cv_cxx_have_ext_slist=no
20996 rm -f conftest.$ac_objext conftest.$ac_ext
20997 cat >conftest.$ac_ext <<_ACEOF
20998 #line $LINENO "configure"
21001 cat confdefs.h >>conftest.$ac_ext
21002 cat >>conftest.$ac_ext <<_ACEOF
21003 /* end confdefs.h. */
21004 #include <ext/slist>
21005 #ifdef HAVE_NAMESPACES
21006 using namespace __gnu_cxx;
21011 slist<int> s; return 0;
21016 rm -f conftest.$ac_objext
21017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21018 (eval $ac_compile) 2>&5
21020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21021 (exit $ac_status); } &&
21022 { ac_try='test -s conftest.$ac_objext'
21023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21024 (eval $ac_try) 2>&5
21026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21027 (exit $ac_status); }; }; then
21028 ac_cv_cxx_have_ext_slist=gnu
21030 echo "$as_me: failed program was:" >&5
21031 sed 's/^/| /' conftest.$ac_ext >&5
21033 ac_cv_cxx_have_ext_slist=no
21035 rm -f conftest.$ac_objext conftest.$ac_ext
21038 ac_cpp='$CPP $CPPFLAGS'
21039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21045 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5
21046 echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6
21047 if test "$ac_cv_cxx_have_ext_slist" = std; then
21049 cat >>confdefs.h <<\_ACEOF
21050 #define HAVE_EXT_SLIST std
21054 if test "$ac_cv_cxx_have_ext_slist" = gnu; then
21056 cat >>confdefs.h <<\_ACEOF
21057 #define HAVE_EXT_SLIST gnu
21062 echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
21063 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6
21064 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
21065 echo $ECHO_N "(cached) $ECHO_C" >&6
21071 ac_cpp='$CXXCPP $CPPFLAGS'
21072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21076 cat >conftest.$ac_ext <<_ACEOF
21077 #line $LINENO "configure"
21080 cat confdefs.h >>conftest.$ac_ext
21081 cat >>conftest.$ac_ext <<_ACEOF
21082 /* end confdefs.h. */
21083 #include <iterator>
21084 #ifdef HAVE_NAMESPACES
21085 using namespace std;
21090 iterator<int,int,int> t; return 0;
21095 rm -f conftest.$ac_objext
21096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21097 (eval $ac_compile) 2>&5
21099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21100 (exit $ac_status); } &&
21101 { ac_try='test -s conftest.$ac_objext'
21102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21103 (eval $ac_try) 2>&5
21105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21106 (exit $ac_status); }; }; then
21107 ac_cv_cxx_have_std_iterator=yes
21109 echo "$as_me: failed program was:" >&5
21110 sed 's/^/| /' conftest.$ac_ext >&5
21112 ac_cv_cxx_have_std_iterator=no
21114 rm -f conftest.$ac_objext conftest.$ac_ext
21116 ac_cpp='$CPP $CPPFLAGS'
21117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21123 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
21124 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6
21125 if test "$ac_cv_cxx_have_std_iterator" = yes; then
21127 cat >>confdefs.h <<\_ACEOF
21128 #define HAVE_STD_ITERATOR
21133 echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
21134 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6
21135 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
21136 echo $ECHO_N "(cached) $ECHO_C" >&6
21142 ac_cpp='$CXXCPP $CPPFLAGS'
21143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21147 cat >conftest.$ac_ext <<_ACEOF
21148 #line $LINENO "configure"
21151 cat confdefs.h >>conftest.$ac_ext
21152 cat >>conftest.$ac_ext <<_ACEOF
21153 /* end confdefs.h. */
21154 #include <iterator>
21155 #ifdef HAVE_NAMESPACES
21156 using namespace std;
21161 bidirectional_iterator<int,int> t; return 0;
21166 rm -f conftest.$ac_objext
21167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21168 (eval $ac_compile) 2>&5
21170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21171 (exit $ac_status); } &&
21172 { ac_try='test -s conftest.$ac_objext'
21173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21174 (eval $ac_try) 2>&5
21176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21177 (exit $ac_status); }; }; then
21178 ac_cv_cxx_have_bi_iterator=yes
21180 echo "$as_me: failed program was:" >&5
21181 sed 's/^/| /' conftest.$ac_ext >&5
21183 ac_cv_cxx_have_bi_iterator=no
21185 rm -f conftest.$ac_objext conftest.$ac_ext
21187 ac_cpp='$CPP $CPPFLAGS'
21188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21194 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
21195 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6
21196 if test "$ac_cv_cxx_have_bi_iterator" = yes; then
21198 cat >>confdefs.h <<\_ACEOF
21199 #define HAVE_BI_ITERATOR
21204 echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
21205 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6
21206 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
21207 echo $ECHO_N "(cached) $ECHO_C" >&6
21213 ac_cpp='$CXXCPP $CPPFLAGS'
21214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21218 cat >conftest.$ac_ext <<_ACEOF
21219 #line $LINENO "configure"
21222 cat confdefs.h >>conftest.$ac_ext
21223 cat >>conftest.$ac_ext <<_ACEOF
21224 /* end confdefs.h. */
21225 #include <iterator>
21226 #ifdef HAVE_NAMESPACES
21227 using namespace std;
21232 forward_iterator<int,int> t; return 0;
21237 rm -f conftest.$ac_objext
21238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21239 (eval $ac_compile) 2>&5
21241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21242 (exit $ac_status); } &&
21243 { ac_try='test -s conftest.$ac_objext'
21244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21245 (eval $ac_try) 2>&5
21247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21248 (exit $ac_status); }; }; then
21249 ac_cv_cxx_have_fwd_iterator=yes
21251 echo "$as_me: failed program was:" >&5
21252 sed 's/^/| /' conftest.$ac_ext >&5
21254 ac_cv_cxx_have_fwd_iterator=no
21256 rm -f conftest.$ac_objext conftest.$ac_ext
21258 ac_cpp='$CPP $CPPFLAGS'
21259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21265 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
21266 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6
21267 if test "$ac_cv_cxx_have_fwd_iterator" = yes; then
21269 cat >>confdefs.h <<\_ACEOF
21270 #define HAVE_FWD_ITERATOR
21276 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21277 # for constant arguments. Useless!
21278 echo "$as_me:$LINENO: checking for working alloca.h" >&5
21279 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
21280 if test "${ac_cv_working_alloca_h+set}" = set; then
21281 echo $ECHO_N "(cached) $ECHO_C" >&6
21283 cat >conftest.$ac_ext <<_ACEOF
21284 #line $LINENO "configure"
21287 cat confdefs.h >>conftest.$ac_ext
21288 cat >>conftest.$ac_ext <<_ACEOF
21289 /* end confdefs.h. */
21290 #include <alloca.h>
21294 char *p = (char *) alloca (2 * sizeof (int));
21299 rm -f conftest.$ac_objext conftest$ac_exeext
21300 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21301 (eval $ac_link) 2>&5
21303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21304 (exit $ac_status); } &&
21305 { ac_try='test -s conftest$ac_exeext'
21306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21307 (eval $ac_try) 2>&5
21309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21310 (exit $ac_status); }; }; then
21311 ac_cv_working_alloca_h=yes
21313 echo "$as_me: failed program was:" >&5
21314 sed 's/^/| /' conftest.$ac_ext >&5
21316 ac_cv_working_alloca_h=no
21318 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21320 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21321 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
21322 if test $ac_cv_working_alloca_h = yes; then
21324 cat >>confdefs.h <<\_ACEOF
21325 #define HAVE_ALLOCA_H 1
21330 echo "$as_me:$LINENO: checking for alloca" >&5
21331 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
21332 if test "${ac_cv_func_alloca_works+set}" = set; then
21333 echo $ECHO_N "(cached) $ECHO_C" >&6
21335 cat >conftest.$ac_ext <<_ACEOF
21336 #line $LINENO "configure"
21339 cat confdefs.h >>conftest.$ac_ext
21340 cat >>conftest.$ac_ext <<_ACEOF
21341 /* end confdefs.h. */
21343 # define alloca __builtin_alloca
21346 # include <malloc.h>
21347 # define alloca _alloca
21350 # include <alloca.h>
21355 # ifndef alloca /* predefined by HP cc +Olibcalls */
21366 char *p = (char *) alloca (1);
21371 rm -f conftest.$ac_objext conftest$ac_exeext
21372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21373 (eval $ac_link) 2>&5
21375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21376 (exit $ac_status); } &&
21377 { ac_try='test -s conftest$ac_exeext'
21378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21379 (eval $ac_try) 2>&5
21381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21382 (exit $ac_status); }; }; then
21383 ac_cv_func_alloca_works=yes
21385 echo "$as_me: failed program was:" >&5
21386 sed 's/^/| /' conftest.$ac_ext >&5
21388 ac_cv_func_alloca_works=no
21390 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21392 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21393 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
21395 if test $ac_cv_func_alloca_works = yes; then
21397 cat >>confdefs.h <<\_ACEOF
21398 #define HAVE_ALLOCA 1
21402 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21403 # that cause trouble. Some versions do not even contain alloca or
21404 # contain a buggy version. If you still want to use their alloca,
21405 # use ar to extract alloca.o from them instead of compiling alloca.c.
21407 ALLOCA=alloca.$ac_objext
21409 cat >>confdefs.h <<\_ACEOF
21414 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21415 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
21416 if test "${ac_cv_os_cray+set}" = set; then
21417 echo $ECHO_N "(cached) $ECHO_C" >&6
21419 cat >conftest.$ac_ext <<_ACEOF
21420 #line $LINENO "configure"
21423 cat confdefs.h >>conftest.$ac_ext
21424 cat >>conftest.$ac_ext <<_ACEOF
21425 /* end confdefs.h. */
21426 #if defined(CRAY) && ! defined(CRAY2)
21433 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21434 $EGREP "webecray" >/dev/null 2>&1; then
21442 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
21443 echo "${ECHO_T}$ac_cv_os_cray" >&6
21444 if test $ac_cv_os_cray = yes; then
21445 for ac_func in _getb67 GETB67 getb67; do
21446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21447 echo "$as_me:$LINENO: checking for $ac_func" >&5
21448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21449 if eval "test \"\${$as_ac_var+set}\" = set"; then
21450 echo $ECHO_N "(cached) $ECHO_C" >&6
21452 cat >conftest.$ac_ext <<_ACEOF
21453 #line $LINENO "configure"
21456 cat confdefs.h >>conftest.$ac_ext
21457 cat >>conftest.$ac_ext <<_ACEOF
21458 /* end confdefs.h. */
21459 /* System header to define __stub macros and hopefully few prototypes,
21460 which can conflict with char $ac_func (); below.
21461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21462 <limits.h> exists even on freestanding compilers. */
21464 # include <limits.h>
21466 # include <assert.h>
21468 /* Override any gcc2 internal prototype to avoid an error. */
21473 /* We use char because int might match the return type of a gcc2
21474 builtin and then its argument prototype would still apply. */
21476 /* The GNU C library defines this for functions which it implements
21477 to always fail with ENOSYS. Some functions are actually named
21478 something starting with __ and the normal name is an alias. */
21479 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21482 char (*f) () = $ac_func;
21491 return f != $ac_func;
21496 rm -f conftest.$ac_objext conftest$ac_exeext
21497 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21498 (eval $ac_link) 2>&5
21500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21501 (exit $ac_status); } &&
21502 { ac_try='test -s conftest$ac_exeext'
21503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21504 (eval $ac_try) 2>&5
21506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21507 (exit $ac_status); }; }; then
21508 eval "$as_ac_var=yes"
21510 echo "$as_me: failed program was:" >&5
21511 sed 's/^/| /' conftest.$ac_ext >&5
21513 eval "$as_ac_var=no"
21515 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21519 if test `eval echo '${'$as_ac_var'}'` = yes; then
21521 cat >>confdefs.h <<_ACEOF
21522 #define CRAY_STACKSEG_END $ac_func
21531 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21532 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
21533 if test "${ac_cv_c_stack_direction+set}" = set; then
21534 echo $ECHO_N "(cached) $ECHO_C" >&6
21536 if test "$cross_compiling" = yes; then
21537 ac_cv_c_stack_direction=0
21539 cat >conftest.$ac_ext <<_ACEOF
21540 #line $LINENO "configure"
21543 cat confdefs.h >>conftest.$ac_ext
21544 cat >>conftest.$ac_ext <<_ACEOF
21545 /* end confdefs.h. */
21547 find_stack_direction ()
21549 static char *addr = 0;
21554 return find_stack_direction ();
21557 return (&dummy > addr) ? 1 : -1;
21563 exit (find_stack_direction () < 0);
21566 rm -f conftest$ac_exeext
21567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21568 (eval $ac_link) 2>&5
21570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21571 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21573 (eval $ac_try) 2>&5
21575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21576 (exit $ac_status); }; }; then
21577 ac_cv_c_stack_direction=1
21579 echo "$as_me: program exited with status $ac_status" >&5
21580 echo "$as_me: failed program was:" >&5
21581 sed 's/^/| /' conftest.$ac_ext >&5
21583 ( exit $ac_status )
21584 ac_cv_c_stack_direction=-1
21586 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21589 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21590 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
21592 cat >>confdefs.h <<_ACEOF
21593 #define STACK_DIRECTION $ac_cv_c_stack_direction
21599 if test $ac_cv_c_compiler_gnu = yes; then
21600 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
21601 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
21602 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
21603 echo $ECHO_N "(cached) $ECHO_C" >&6
21605 ac_pattern="Autoconf.*'x'"
21606 cat >conftest.$ac_ext <<_ACEOF
21607 #line $LINENO "configure"
21610 cat confdefs.h >>conftest.$ac_ext
21611 cat >>conftest.$ac_ext <<_ACEOF
21612 /* end confdefs.h. */
21616 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21617 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21618 ac_cv_prog_gcc_traditional=yes
21620 ac_cv_prog_gcc_traditional=no
21625 if test $ac_cv_prog_gcc_traditional = no; then
21626 cat >conftest.$ac_ext <<_ACEOF
21627 #line $LINENO "configure"
21630 cat confdefs.h >>conftest.$ac_ext
21631 cat >>conftest.$ac_ext <<_ACEOF
21632 /* end confdefs.h. */
21633 #include <termio.h>
21636 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21637 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21638 ac_cv_prog_gcc_traditional=yes
21644 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
21645 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
21646 if test $ac_cv_prog_gcc_traditional = yes; then
21647 CC="$CC -traditional"
21651 echo "$as_me:$LINENO: checking for working memcmp" >&5
21652 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
21653 if test "${ac_cv_func_memcmp_working+set}" = set; then
21654 echo $ECHO_N "(cached) $ECHO_C" >&6
21656 if test "$cross_compiling" = yes; then
21657 ac_cv_func_memcmp_working=no
21659 cat >conftest.$ac_ext <<_ACEOF
21660 #line $LINENO "configure"
21663 cat confdefs.h >>conftest.$ac_ext
21664 cat >>conftest.$ac_ext <<_ACEOF
21665 /* end confdefs.h. */
21671 /* Some versions of memcmp are not 8-bit clean. */
21672 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
21673 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
21676 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
21677 or more and with at least one buffer not starting on a 4-byte boundary.
21678 William Lewis provided this test program. */
21683 for (i = 0; i < 4; i++)
21687 strcpy (a, "--------01111111");
21688 strcpy (b, "--------10000000");
21689 if (memcmp (a, b, 16) >= 0)
21699 rm -f conftest$ac_exeext
21700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21701 (eval $ac_link) 2>&5
21703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21704 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21706 (eval $ac_try) 2>&5
21708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21709 (exit $ac_status); }; }; then
21710 ac_cv_func_memcmp_working=yes
21712 echo "$as_me: program exited with status $ac_status" >&5
21713 echo "$as_me: failed program was:" >&5
21714 sed 's/^/| /' conftest.$ac_ext >&5
21716 ( exit $ac_status )
21717 ac_cv_func_memcmp_working=no
21719 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21722 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
21723 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
21724 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
21728 for ac_header in stdlib.h unistd.h
21730 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21732 echo "$as_me:$LINENO: checking for $ac_header" >&5
21733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21735 echo $ECHO_N "(cached) $ECHO_C" >&6
21737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21738 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21740 # Is the header compilable?
21741 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21742 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21743 cat >conftest.$ac_ext <<_ACEOF
21744 #line $LINENO "configure"
21747 cat confdefs.h >>conftest.$ac_ext
21748 cat >>conftest.$ac_ext <<_ACEOF
21749 /* end confdefs.h. */
21750 $ac_includes_default
21751 #include <$ac_header>
21753 rm -f conftest.$ac_objext
21754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21755 (eval $ac_compile) 2>&5
21757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21758 (exit $ac_status); } &&
21759 { ac_try='test -s conftest.$ac_objext'
21760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21761 (eval $ac_try) 2>&5
21763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21764 (exit $ac_status); }; }; then
21765 ac_header_compiler=yes
21767 echo "$as_me: failed program was:" >&5
21768 sed 's/^/| /' conftest.$ac_ext >&5
21770 ac_header_compiler=no
21772 rm -f conftest.$ac_objext conftest.$ac_ext
21773 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21774 echo "${ECHO_T}$ac_header_compiler" >&6
21776 # Is the header present?
21777 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21778 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21779 cat >conftest.$ac_ext <<_ACEOF
21780 #line $LINENO "configure"
21783 cat confdefs.h >>conftest.$ac_ext
21784 cat >>conftest.$ac_ext <<_ACEOF
21785 /* end confdefs.h. */
21786 #include <$ac_header>
21788 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21789 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21791 grep -v '^ *+' conftest.er1 >conftest.err
21793 cat conftest.err >&5
21794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21795 (exit $ac_status); } >/dev/null; then
21796 if test -s conftest.err; then
21797 ac_cpp_err=$ac_c_preproc_warn_flag
21804 if test -z "$ac_cpp_err"; then
21805 ac_header_preproc=yes
21807 echo "$as_me: failed program was:" >&5
21808 sed 's/^/| /' conftest.$ac_ext >&5
21810 ac_header_preproc=no
21812 rm -f conftest.err conftest.$ac_ext
21813 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21814 echo "${ECHO_T}$ac_header_preproc" >&6
21816 # So? What about this header?
21817 case $ac_header_compiler:$ac_header_preproc in
21819 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21820 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21821 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21822 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21825 ## ------------------------------------ ##
21826 ## Report this to bug-autoconf@gnu.org. ##
21827 ## ------------------------------------ ##
21830 sed "s/^/$as_me: WARNING: /" >&2
21833 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21834 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21835 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21836 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21837 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21838 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21841 ## ------------------------------------ ##
21842 ## Report this to bug-autoconf@gnu.org. ##
21843 ## ------------------------------------ ##
21846 sed "s/^/$as_me: WARNING: /" >&2
21849 echo "$as_me:$LINENO: checking for $ac_header" >&5
21850 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21852 echo $ECHO_N "(cached) $ECHO_C" >&6
21854 eval "$as_ac_Header=$ac_header_preproc"
21856 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21857 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21860 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21861 cat >>confdefs.h <<_ACEOF
21862 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21870 for ac_func in getpagesize
21872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21873 echo "$as_me:$LINENO: checking for $ac_func" >&5
21874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21875 if eval "test \"\${$as_ac_var+set}\" = set"; then
21876 echo $ECHO_N "(cached) $ECHO_C" >&6
21878 cat >conftest.$ac_ext <<_ACEOF
21879 #line $LINENO "configure"
21882 cat confdefs.h >>conftest.$ac_ext
21883 cat >>conftest.$ac_ext <<_ACEOF
21884 /* end confdefs.h. */
21885 /* System header to define __stub macros and hopefully few prototypes,
21886 which can conflict with char $ac_func (); below.
21887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21888 <limits.h> exists even on freestanding compilers. */
21890 # include <limits.h>
21892 # include <assert.h>
21894 /* Override any gcc2 internal prototype to avoid an error. */
21899 /* We use char because int might match the return type of a gcc2
21900 builtin and then its argument prototype would still apply. */
21902 /* The GNU C library defines this for functions which it implements
21903 to always fail with ENOSYS. Some functions are actually named
21904 something starting with __ and the normal name is an alias. */
21905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21908 char (*f) () = $ac_func;
21917 return f != $ac_func;
21922 rm -f conftest.$ac_objext conftest$ac_exeext
21923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21924 (eval $ac_link) 2>&5
21926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21927 (exit $ac_status); } &&
21928 { ac_try='test -s conftest$ac_exeext'
21929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21930 (eval $ac_try) 2>&5
21932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21933 (exit $ac_status); }; }; then
21934 eval "$as_ac_var=yes"
21936 echo "$as_me: failed program was:" >&5
21937 sed 's/^/| /' conftest.$ac_ext >&5
21939 eval "$as_ac_var=no"
21941 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21943 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21944 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21945 if test `eval echo '${'$as_ac_var'}'` = yes; then
21946 cat >>confdefs.h <<_ACEOF
21947 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21953 echo "$as_me:$LINENO: checking for working mmap" >&5
21954 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
21955 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
21956 echo $ECHO_N "(cached) $ECHO_C" >&6
21958 if test "$cross_compiling" = yes; then
21959 ac_cv_func_mmap_fixed_mapped=no
21961 cat >conftest.$ac_ext <<_ACEOF
21962 #line $LINENO "configure"
21965 cat confdefs.h >>conftest.$ac_ext
21966 cat >>conftest.$ac_ext <<_ACEOF
21967 /* end confdefs.h. */
21968 $ac_includes_default
21969 /* malloc might have been renamed as rpl_malloc. */
21972 /* Thanks to Mike Haertel and Jim Avera for this test.
21973 Here is a matrix of mmap possibilities:
21974 mmap private not fixed
21975 mmap private fixed at somewhere currently unmapped
21976 mmap private fixed at somewhere already mapped
21977 mmap shared not fixed
21978 mmap shared fixed at somewhere currently unmapped
21979 mmap shared fixed at somewhere already mapped
21980 For private mappings, we should verify that changes cannot be read()
21981 back from the file, nor mmap's back from the file at a different
21982 address. (There have been systems where private was not correctly
21983 implemented like the infamous i386 svr4.0, and systems where the
21984 VM page cache was not coherent with the file system buffer cache
21985 like early versions of FreeBSD and possibly contemporary NetBSD.)
21986 For shared mappings, we should conversely verify that changes get
21987 propagated back to all the places they're supposed to be.
21989 Grep wants private fixed already mapped.
21990 The main things grep needs to know about mmap are:
21991 * does it exist and is it safe to write into the mmap'd area
21992 * how to use it (BSD variants) */
21995 #include <sys/mman.h>
21997 #if !STDC_HEADERS && !HAVE_STDLIB_H
22001 /* This mess was copied from the GNU getpagesize.h. */
22002 #if !HAVE_GETPAGESIZE
22003 /* Assume that all systems that can run configure have sys/param.h. */
22004 # if !HAVE_SYS_PARAM_H
22005 # define HAVE_SYS_PARAM_H 1
22008 # ifdef _SC_PAGESIZE
22009 # define getpagesize() sysconf(_SC_PAGESIZE)
22010 # else /* no _SC_PAGESIZE */
22011 # if HAVE_SYS_PARAM_H
22012 # include <sys/param.h>
22013 # ifdef EXEC_PAGESIZE
22014 # define getpagesize() EXEC_PAGESIZE
22015 # else /* no EXEC_PAGESIZE */
22017 # define getpagesize() NBPG * CLSIZE
22020 # endif /* no CLSIZE */
22021 # else /* no NBPG */
22023 # define getpagesize() NBPC
22024 # else /* no NBPC */
22026 # define getpagesize() PAGESIZE
22027 # endif /* PAGESIZE */
22028 # endif /* no NBPC */
22029 # endif /* no NBPG */
22030 # endif /* no EXEC_PAGESIZE */
22031 # else /* no HAVE_SYS_PARAM_H */
22032 # define getpagesize() 8192 /* punt totally */
22033 # endif /* no HAVE_SYS_PARAM_H */
22034 # endif /* no _SC_PAGESIZE */
22036 #endif /* no HAVE_GETPAGESIZE */
22041 char *data, *data2, *data3;
22045 pagesize = getpagesize ();
22047 /* First, make a file with some known garbage in it. */
22048 data = (char *) malloc (pagesize);
22051 for (i = 0; i < pagesize; ++i)
22052 *(data + i) = rand ();
22054 fd = creat ("conftest.mmap", 0600);
22057 if (write (fd, data, pagesize) != pagesize)
22061 /* Next, try to mmap the file at a fixed address which already has
22062 something else allocated at it. If we can, also make sure that
22063 we see the same garbage. */
22064 fd = open ("conftest.mmap", O_RDWR);
22067 data2 = (char *) malloc (2 * pagesize);
22070 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
22071 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22072 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22074 for (i = 0; i < pagesize; ++i)
22075 if (*(data + i) != *(data2 + i))
22078 /* Finally, make sure that changes to the mapped area do not
22079 percolate back to the file as seen by read(). (This is a bug on
22080 some variants of i386 svr4.0.) */
22081 for (i = 0; i < pagesize; ++i)
22082 *(data2 + i) = *(data2 + i) + 1;
22083 data3 = (char *) malloc (pagesize);
22086 if (read (fd, data3, pagesize) != pagesize)
22088 for (i = 0; i < pagesize; ++i)
22089 if (*(data + i) != *(data3 + i))
22095 rm -f conftest$ac_exeext
22096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22097 (eval $ac_link) 2>&5
22099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22100 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22102 (eval $ac_try) 2>&5
22104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22105 (exit $ac_status); }; }; then
22106 ac_cv_func_mmap_fixed_mapped=yes
22108 echo "$as_me: program exited with status $ac_status" >&5
22109 echo "$as_me: failed program was:" >&5
22110 sed 's/^/| /' conftest.$ac_ext >&5
22112 ( exit $ac_status )
22113 ac_cv_func_mmap_fixed_mapped=no
22115 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22118 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22119 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22120 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22122 cat >>confdefs.h <<\_ACEOF
22123 #define HAVE_MMAP 1
22127 rm -f conftest.mmap
22129 echo "$as_me:$LINENO: checking for mmap of files" >&5
22130 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6
22131 if test "${ac_cv_func_mmap_file+set}" = set; then
22132 echo $ECHO_N "(cached) $ECHO_C" >&6
22137 ac_cpp='$CPP $CPPFLAGS'
22138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22142 if test "$cross_compiling" = yes; then
22143 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22144 See \`config.log' for more details." >&5
22145 echo "$as_me: error: cannot run test program while cross compiling
22146 See \`config.log' for more details." >&2;}
22147 { (exit 1); exit 1; }; }
22149 cat >conftest.$ac_ext <<_ACEOF
22150 #line $LINENO "configure"
22153 cat confdefs.h >>conftest.$ac_ext
22154 cat >>conftest.$ac_ext <<_ACEOF
22155 /* end confdefs.h. */
22157 #ifdef HAVE_SYS_MMAN_H
22158 #include <sys/mman.h>
22161 #ifdef HAVE_SYS_TYPES_H
22162 #include <sys/types.h>
22165 #ifdef HAVE_FCNTL_H
22171 fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != MAP_FAILED);}
22173 rm -f conftest$ac_exeext
22174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22175 (eval $ac_link) 2>&5
22177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22178 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22180 (eval $ac_try) 2>&5
22182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22183 (exit $ac_status); }; }; then
22184 ac_cv_func_mmap_file=yes
22186 echo "$as_me: program exited with status $ac_status" >&5
22187 echo "$as_me: failed program was:" >&5
22188 sed 's/^/| /' conftest.$ac_ext >&5
22190 ( exit $ac_status )
22191 ac_cv_func_mmap_file=no
22193 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22196 ac_cpp='$CPP $CPPFLAGS'
22197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22203 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
22204 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
22205 if test "$ac_cv_func_mmap_file" = yes; then
22206 cat >>confdefs.h <<\_ACEOF
22207 #define HAVE_MMAP_FILE 1
22214 if test ${ac_cv_func_mmap_file} = "no"
22216 { { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5
22217 echo "$as_me: error: mmap() of files required but not found" >&2;}
22218 { (exit 1); exit 1; }; }
22220 echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
22221 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6
22222 if test "${ac_cv_header_mmap_anon+set}" = set; then
22223 echo $ECHO_N "(cached) $ECHO_C" >&6
22228 ac_cpp='$CPP $CPPFLAGS'
22229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22233 cat >conftest.$ac_ext <<_ACEOF
22234 #line $LINENO "configure"
22237 cat confdefs.h >>conftest.$ac_ext
22238 cat >>conftest.$ac_ext <<_ACEOF
22239 /* end confdefs.h. */
22240 #include <sys/mman.h>
22241 #include <unistd.h>
22246 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
22251 rm -f conftest.$ac_objext
22252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22253 (eval $ac_compile) 2>&5
22255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22256 (exit $ac_status); } &&
22257 { ac_try='test -s conftest.$ac_objext'
22258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22259 (eval $ac_try) 2>&5
22261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22262 (exit $ac_status); }; }; then
22263 ac_cv_header_mmap_anon=yes
22265 echo "$as_me: failed program was:" >&5
22266 sed 's/^/| /' conftest.$ac_ext >&5
22268 ac_cv_header_mmap_anon=no
22270 rm -f conftest.$ac_objext conftest.$ac_ext
22272 ac_cpp='$CPP $CPPFLAGS'
22273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22279 echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
22280 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6
22281 if test "$ac_cv_header_mmap_anon" = yes; then
22282 cat >>confdefs.h <<\_ACEOF
22283 #define HAVE_MMAP_ANONYMOUS 1
22288 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
22289 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
22290 if test "${ac_cv_type_signal+set}" = set; then
22291 echo $ECHO_N "(cached) $ECHO_C" >&6
22293 cat >conftest.$ac_ext <<_ACEOF
22294 #line $LINENO "configure"
22297 cat confdefs.h >>conftest.$ac_ext
22298 cat >>conftest.$ac_ext <<_ACEOF
22299 /* end confdefs.h. */
22300 #include <sys/types.h>
22301 #include <signal.h>
22306 extern "C" void (*signal (int, void (*)(int)))(int);
22308 void (*signal ()) ();
22319 rm -f conftest.$ac_objext
22320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22321 (eval $ac_compile) 2>&5
22323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22324 (exit $ac_status); } &&
22325 { ac_try='test -s conftest.$ac_objext'
22326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22327 (eval $ac_try) 2>&5
22329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22330 (exit $ac_status); }; }; then
22331 ac_cv_type_signal=void
22333 echo "$as_me: failed program was:" >&5
22334 sed 's/^/| /' conftest.$ac_ext >&5
22336 ac_cv_type_signal=int
22338 rm -f conftest.$ac_objext conftest.$ac_ext
22340 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
22341 echo "${ECHO_T}$ac_cv_type_signal" >&6
22343 cat >>confdefs.h <<_ACEOF
22344 #define RETSIGTYPE $ac_cv_type_signal
22357 for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol
22359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22360 echo "$as_me:$LINENO: checking for $ac_func" >&5
22361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22362 if eval "test \"\${$as_ac_var+set}\" = set"; then
22363 echo $ECHO_N "(cached) $ECHO_C" >&6
22365 cat >conftest.$ac_ext <<_ACEOF
22366 #line $LINENO "configure"
22369 cat confdefs.h >>conftest.$ac_ext
22370 cat >>conftest.$ac_ext <<_ACEOF
22371 /* end confdefs.h. */
22372 /* System header to define __stub macros and hopefully few prototypes,
22373 which can conflict with char $ac_func (); below.
22374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22375 <limits.h> exists even on freestanding compilers. */
22377 # include <limits.h>
22379 # include <assert.h>
22381 /* Override any gcc2 internal prototype to avoid an error. */
22386 /* We use char because int might match the return type of a gcc2
22387 builtin and then its argument prototype would still apply. */
22389 /* The GNU C library defines this for functions which it implements
22390 to always fail with ENOSYS. Some functions are actually named
22391 something starting with __ and the normal name is an alias. */
22392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22395 char (*f) () = $ac_func;
22404 return f != $ac_func;
22409 rm -f conftest.$ac_objext conftest$ac_exeext
22410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22411 (eval $ac_link) 2>&5
22413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22414 (exit $ac_status); } &&
22415 { ac_try='test -s conftest$ac_exeext'
22416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22417 (eval $ac_try) 2>&5
22419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22420 (exit $ac_status); }; }; then
22421 eval "$as_ac_var=yes"
22423 echo "$as_me: failed program was:" >&5
22424 sed 's/^/| /' conftest.$ac_ext >&5
22426 eval "$as_ac_var=no"
22428 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22432 if test `eval echo '${'$as_ac_var'}'` = yes; then
22433 cat >>confdefs.h <<_ACEOF
22434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22442 echo "$as_me:$LINENO: checking for mmap" >&5
22443 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
22444 if test "${ac_cv_func_mmap+set}" = set; then
22445 echo $ECHO_N "(cached) $ECHO_C" >&6
22447 cat >conftest.$ac_ext <<_ACEOF
22448 #line $LINENO "configure"
22451 cat confdefs.h >>conftest.$ac_ext
22452 cat >>conftest.$ac_ext <<_ACEOF
22453 /* end confdefs.h. */
22454 /* System header to define __stub macros and hopefully few prototypes,
22455 which can conflict with char mmap (); below.
22456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22457 <limits.h> exists even on freestanding compilers. */
22459 # include <limits.h>
22461 # include <assert.h>
22463 /* Override any gcc2 internal prototype to avoid an error. */
22468 /* We use char because int might match the return type of a gcc2
22469 builtin and then its argument prototype would still apply. */
22471 /* The GNU C library defines this for functions which it implements
22472 to always fail with ENOSYS. Some functions are actually named
22473 something starting with __ and the normal name is an alias. */
22474 #if defined (__stub_mmap) || defined (__stub___mmap)
22477 char (*f) () = mmap;
22491 rm -f conftest.$ac_objext conftest$ac_exeext
22492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22493 (eval $ac_link) 2>&5
22495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22496 (exit $ac_status); } &&
22497 { ac_try='test -s conftest$ac_exeext'
22498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22499 (eval $ac_try) 2>&5
22501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22502 (exit $ac_status); }; }; then
22503 ac_cv_func_mmap=yes
22505 echo "$as_me: failed program was:" >&5
22506 sed 's/^/| /' conftest.$ac_ext >&5
22510 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22512 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
22513 echo "${ECHO_T}$ac_cv_func_mmap" >&6
22514 if test $ac_cv_func_mmap = yes; then
22517 { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5
22518 echo "$as_me: error: Function mmap() required but not found" >&2;}
22519 { (exit 1); exit 1; }; }
22522 echo "$as_me:$LINENO: checking for mprotect" >&5
22523 echo $ECHO_N "checking for mprotect... $ECHO_C" >&6
22524 if test "${ac_cv_func_mprotect+set}" = set; then
22525 echo $ECHO_N "(cached) $ECHO_C" >&6
22527 cat >conftest.$ac_ext <<_ACEOF
22528 #line $LINENO "configure"
22531 cat confdefs.h >>conftest.$ac_ext
22532 cat >>conftest.$ac_ext <<_ACEOF
22533 /* end confdefs.h. */
22534 /* System header to define __stub macros and hopefully few prototypes,
22535 which can conflict with char mprotect (); below.
22536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22537 <limits.h> exists even on freestanding compilers. */
22539 # include <limits.h>
22541 # include <assert.h>
22543 /* Override any gcc2 internal prototype to avoid an error. */
22548 /* We use char because int might match the return type of a gcc2
22549 builtin and then its argument prototype would still apply. */
22551 /* The GNU C library defines this for functions which it implements
22552 to always fail with ENOSYS. Some functions are actually named
22553 something starting with __ and the normal name is an alias. */
22554 #if defined (__stub_mprotect) || defined (__stub___mprotect)
22557 char (*f) () = mprotect;
22566 return f != mprotect;
22571 rm -f conftest.$ac_objext conftest$ac_exeext
22572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22573 (eval $ac_link) 2>&5
22575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576 (exit $ac_status); } &&
22577 { ac_try='test -s conftest$ac_exeext'
22578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22579 (eval $ac_try) 2>&5
22581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22582 (exit $ac_status); }; }; then
22583 ac_cv_func_mprotect=yes
22585 echo "$as_me: failed program was:" >&5
22586 sed 's/^/| /' conftest.$ac_ext >&5
22588 ac_cv_func_mprotect=no
22590 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22592 echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
22593 echo "${ECHO_T}$ac_cv_func_mprotect" >&6
22594 if test $ac_cv_func_mprotect = yes; then
22597 { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5
22598 echo "$as_me: error: Function mprotect() required but not found" >&2;}
22599 { (exit 1); exit 1; }; }
22604 # Check whether --enable-purify or --disable-purify was given.
22605 if test "${enable_purify+set}" = set; then
22606 enableval="$enable_purify"
22611 if test ${enableval} = "no"
22616 ENABLE_PURIFY=ENABLE_PURIFY=1
22620 # Check whether --enable-optimized or --disable-optimized was given.
22621 if test "${enable_optimized+set}" = set; then
22622 enableval="$enable_optimized"
22627 if test ${enableval} = "no"
22632 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
22636 # Check whether --enable-spec or --disable-spec was given.
22637 if test "${enable_spec+set}" = set; then
22638 enableval="$enable_spec"
22643 if test ${enableval} = "no"
22648 USE_SPEC=USE_SPEC=1
22652 # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given.
22653 if test "${enable_precompiled_bytecode+set}" = set; then
22654 enableval="$enable_precompiled_bytecode"
22659 if test ${enableval} = "no"
22664 UPB=USE_PRECOMPILED_BYTECODE=1
22669 # Check whether --enable-llc_diffs or --disable-llc_diffs was given.
22670 if test "${enable_llc_diffs+set}" = set; then
22671 enableval="$enable_llc_diffs"
22676 if test ${enableval} = "no"
22678 DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1
22685 # Check whether --enable-jit or --disable-jit was given.
22686 if test "${enable_jit+set}" = set; then
22687 enableval="$enable_jit"
22693 if test ${enableval} = "no"
22700 JIT=TARGET_HAS_JIT=1
22704 JIT=TARGET_HAS_JIT=1
22716 # Check whether --with-spec or --without-spec was given.
22717 if test "${with_spec+set}" = set; then
22718 withval="$with_spec"
22722 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22727 # Check whether --with-llvmgccdir or --without-llvmgccdir was given.
22728 if test "${with_llvmgccdir+set}" = set; then
22729 withval="$with_llvmgccdir"
22730 LLVMGCCDIR=$withval
22735 # Check whether --with-bcrepos or --without-bcrepos was given.
22736 if test "${with_bcrepos+set}" = set; then
22737 withval="$with_bcrepos"
22741 BCR=/home/vadve/lattner/LLVMPrograms
22746 # Check whether --with-papi or --without-papi was given.
22747 if test "${with_papi+set}" = set; then
22748 withval="$with_papi"
22752 PAPIDIR=/home/vadve/shared/Sparc/papi-2.3.4.1
22757 # Check whether --with-purify or --without-purify was given.
22758 if test "${with_purify+set}" = set; then
22759 withval="$with_purify"
22765 ac_config_files="$ac_config_files Makefile.config"
22766 cat >confcache <<\_ACEOF
22767 # This file is a shell script that caches the results of configure
22768 # tests run on this system so they can be shared between configure
22769 # scripts and configure runs, see configure's option --config-cache.
22770 # It is not useful on other systems. If it contains results you don't
22771 # want to keep, you may remove or edit it.
22773 # config.status only pays attention to the cache file if you give it
22774 # the --recheck option to rerun configure.
22776 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22777 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22778 # following values.
22782 # The following way of writing the cache mishandles newlines in values,
22783 # but we know of no workaround that is simple, portable, and efficient.
22784 # So, don't put newlines in cache variables' values.
22785 # Ultrix sh set writes to stderr and can't be redirected directly,
22786 # and sets the high bit in the cache file unless we assign to the vars.
22789 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22791 # `set' does not quote correctly, so add quotes (double-quote
22792 # substitution turns \\\\ into \\, and sed turns \\ into \).
22795 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22798 # `set' quotes correctly as required by POSIX, so do not add quotes.
22800 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22807 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22809 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22811 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22812 if test -w $cache_file; then
22813 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22814 cat confcache >$cache_file
22816 echo "not updating unwritable cache $cache_file"
22821 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22822 # Let make expand exec_prefix.
22823 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22825 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22826 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22827 # trailing colons and then remove the whole line if VPATH becomes empty
22828 # (actually we leave an empty line to preserve line numbers).
22829 if test "x$srcdir" = x.; then
22830 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22831 s/:*\$(srcdir):*/:/;
22832 s/:*\${srcdir}:*/:/;
22834 s/^\([^=]*=[ ]*\):*/\1/;
22840 DEFS=-DHAVE_CONFIG_H
22844 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22845 # 1. Remove the extension, and $U if already installed.
22846 ac_i=`echo "$ac_i" |
22847 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22849 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
22850 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
22852 LIBOBJS=$ac_libobjs
22854 LTLIBOBJS=$ac_ltlibobjs
22858 : ${CONFIG_STATUS=./config.status}
22859 ac_clean_files_save=$ac_clean_files
22860 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22861 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22862 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22863 cat >$CONFIG_STATUS <<_ACEOF
22865 # Generated by $as_me.
22866 # Run this file to recreate the current configuration.
22867 # Compiler output produced by configure, useful for debugging
22868 # configure, is in config.log if it exists.
22871 ac_cs_recheck=false
22873 SHELL=\${CONFIG_SHELL-$SHELL}
22876 cat >>$CONFIG_STATUS <<\_ACEOF
22877 ## --------------------- ##
22878 ## M4sh Initialization. ##
22879 ## --------------------- ##
22881 # Be Bourne compatible
22882 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22885 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22886 # is contrary to our usage. Disable this feature.
22887 alias -g '${1+"$@"}'='"$@"'
22888 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22892 # Support unset when possible.
22893 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
22900 # Work around bugs in pre-3.0 UWIN ksh.
22901 $as_unset ENV MAIL MAILPATH
22908 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22909 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22910 LC_TELEPHONE LC_TIME
22912 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
22913 eval $as_var=C; export $as_var
22919 # Required to use basename.
22920 if expr a : '\(a\)' >/dev/null 2>&1; then
22926 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
22927 as_basename=basename
22933 # Name of the executable.
22934 as_me=`$as_basename "$0" ||
22935 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22936 X"$0" : 'X\(//\)$' \| \
22937 X"$0" : 'X\(/\)$' \| \
22938 . : '\(.\)' 2>/dev/null ||
22940 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22941 /^X\/\(\/\/\)$/{ s//\1/; q; }
22942 /^X\/\(\/\).*/{ s//\1/; q; }
22946 # PATH needs CR, and LINENO needs CR and PATH.
22947 # Avoid depending upon Character Ranges.
22948 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22949 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22950 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22951 as_cr_digits='0123456789'
22952 as_cr_alnum=$as_cr_Letters$as_cr_digits
22954 # The user is always right.
22955 if test "${PATH_SEPARATOR+set}" != set; then
22956 echo "#! /bin/sh" >conf$$.sh
22957 echo "exit 0" >>conf$$.sh
22959 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22968 as_lineno_1=$LINENO
22969 as_lineno_2=$LINENO
22970 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22971 test "x$as_lineno_1" != "x$as_lineno_2" &&
22972 test "x$as_lineno_3" = "x$as_lineno_2" || {
22973 # Find who we are. Look in the path if we contain no path at all
22976 *[\\/]* ) as_myself=$0 ;;
22977 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22978 for as_dir in $PATH
22981 test -z "$as_dir" && as_dir=.
22982 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22987 # We did not find ourselves, most probably we were run as `sh COMMAND'
22988 # in which case we are not to be found in the path.
22989 if test "x$as_myself" = x; then
22992 if test ! -f "$as_myself"; then
22993 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22994 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22995 { (exit 1); exit 1; }; }
22997 case $CONFIG_SHELL in
22999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23000 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
23003 test -z "$as_dir" && as_dir=.
23004 for as_base in sh bash ksh sh5; do
23007 if ("$as_dir/$as_base" -c '
23008 as_lineno_1=$LINENO
23009 as_lineno_2=$LINENO
23010 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23011 test "x$as_lineno_1" != "x$as_lineno_2" &&
23012 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
23013 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23014 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23015 CONFIG_SHELL=$as_dir/$as_base
23016 export CONFIG_SHELL
23017 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23025 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23026 # uniformly replaced by the line number. The first 'sed' inserts a
23027 # line-number line before each line; the second 'sed' does the real
23028 # work. The second script uses 'N' to pair each line-number line
23029 # with the numbered line, and appends trailing '-' during
23030 # substitution so that $LINENO is not a special case at line end.
23031 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23032 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23033 sed '=' <$as_myself |
23038 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23041 s,^['$as_cr_digits']*\n,,
23042 ' >$as_me.lineno &&
23043 chmod +x $as_me.lineno ||
23044 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23045 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23046 { (exit 1); exit 1; }; }
23048 # Don't try to exec as it changes $[0], causing all sort of problems
23049 # (the dirname of $[0] is not the place where we might find the
23050 # original and so on. Autoconf is especially sensible to this).
23052 # Exit status is that of the last command.
23057 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23058 *c*,-n*) ECHO_N= ECHO_C='
23060 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23061 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23064 if expr a : '\(a\)' >/dev/null 2>&1; then
23070 rm -f conf$$ conf$$.exe conf$$.file
23072 if ln -s conf$$.file conf$$ 2>/dev/null; then
23073 # We could just check for DJGPP; but this test a) works b) is more generic
23074 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23075 if test -f conf$$.exe; then
23076 # Don't use ln at all; we don't have any links
23081 elif ln conf$$.file conf$$ 2>/dev/null; then
23086 rm -f conf$$ conf$$.exe conf$$.file
23088 if mkdir -p . 2>/dev/null; then
23094 as_executable_p="test -f"
23096 # Sed expression to map a string onto a valid CPP name.
23097 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23099 # Sed expression to map a string onto a valid variable name.
23100 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
23104 # We need space, tab and new line, in precisely that order.
23114 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23115 # report actual input values of CONFIG_FILES etc. instead of their
23116 # values after options handling. Logging --version etc. is OK.
23120 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23121 ## Running $as_me. ##
23126 This file was extended by [LLVM] $as_me [1.0], which was
23127 generated by GNU Autoconf 2.57. Invocation command line was
23129 CONFIG_FILES = $CONFIG_FILES
23130 CONFIG_HEADERS = $CONFIG_HEADERS
23131 CONFIG_LINKS = $CONFIG_LINKS
23132 CONFIG_COMMANDS = $CONFIG_COMMANDS
23136 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23140 # Files that config.status was made for.
23141 if test -n "$ac_config_files"; then
23142 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23145 if test -n "$ac_config_headers"; then
23146 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23149 if test -n "$ac_config_links"; then
23150 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23153 if test -n "$ac_config_commands"; then
23154 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23157 cat >>$CONFIG_STATUS <<\_ACEOF
23160 \`$as_me' instantiates files from templates according to the
23161 current configuration.
23163 Usage: $0 [OPTIONS] [FILE]...
23165 -h, --help print this help, then exit
23166 -V, --version print version number, then exit
23167 -q, --quiet do not print progress messages
23168 -d, --debug don't remove temporary files
23169 --recheck update $as_me by reconfiguring in the same conditions
23170 --file=FILE[:TEMPLATE]
23171 instantiate the configuration file FILE
23172 --header=FILE[:TEMPLATE]
23173 instantiate the configuration header FILE
23175 Configuration files:
23178 Configuration headers:
23181 Configuration commands:
23184 Report bugs to <bug-autoconf@gnu.org>."
23187 cat >>$CONFIG_STATUS <<_ACEOF
23189 [LLVM] config.status [1.0]
23190 configured by $0, generated by GNU Autoconf 2.57,
23191 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23193 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
23194 Free Software Foundation, Inc.
23195 This config.status script is free software; the Free Software Foundation
23196 gives unlimited permission to copy, distribute and modify it."
23201 cat >>$CONFIG_STATUS <<\_ACEOF
23202 # If no file are specified by the user, then we need to provide default
23203 # value. By we need to know if files were specified by the user.
23209 ac_option=`expr "x$1" : 'x\([^=]*\)='`
23210 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23218 *) # This is not an option, so the user has probably given explicit
23221 ac_need_defaults=false;;
23225 # Handling of the options.
23227 cat >>$CONFIG_STATUS <<\_ACEOF
23228 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23230 --version | --vers* | -V )
23231 echo "$ac_cs_version"; exit 0 ;;
23233 # Conflict between --help and --header
23234 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23235 Try \`$0 --help' for more information." >&5
23236 echo "$as_me: error: ambiguous option: $1
23237 Try \`$0 --help' for more information." >&2;}
23238 { (exit 1); exit 1; }; };;
23239 --help | --hel | -h )
23240 echo "$ac_cs_usage"; exit 0 ;;
23241 --debug | --d* | -d )
23243 --file | --fil | --fi | --f )
23245 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23246 ac_need_defaults=false;;
23247 --header | --heade | --head | --hea )
23249 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23250 ac_need_defaults=false;;
23251 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23252 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23255 # This is an error.
23256 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23257 Try \`$0 --help' for more information." >&5
23258 echo "$as_me: error: unrecognized option: $1
23259 Try \`$0 --help' for more information." >&2;}
23260 { (exit 1); exit 1; }; } ;;
23262 *) ac_config_targets="$ac_config_targets $1" ;;
23268 ac_configure_extra_args=
23270 if $ac_cs_silent; then
23272 ac_configure_extra_args="$ac_configure_extra_args --silent"
23276 cat >>$CONFIG_STATUS <<_ACEOF
23277 if \$ac_cs_recheck; then
23278 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23279 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23284 cat >>$CONFIG_STATUS <<_ACEOF
23286 # INIT-COMMANDS section.
23289 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
23290 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common`
23291 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.rules`
23292 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
23293 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/Makefile`
23294 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/DataStructure/Makefile`
23295 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/IPA/Makefile`
23296 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/LiveVar/Makefile`
23297 ${srcdir}/autoconf/mkinstalldirs `dirname lib/AsmParser/Makefile`
23298 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Makefile`
23299 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Reader/Makefile`
23300 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Writer/Makefile`
23301 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CWriter/Makefile`
23302 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/Makefile`
23303 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSched/Makefile`
23304 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSelection/Makefile`
23305 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/ModuloScheduling/Makefile`
23306 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/RegAlloc/Makefile`
23307 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/SelectionDAG/Makefile`
23308 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Makefile`
23309 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Interpreter/Makefile`
23310 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/JIT/Makefile`
23311 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Support/Makefile`
23312 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Makefile`
23313 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Sparc/Makefile`
23314 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/X86/Makefile`
23315 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Makefile`
23316 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Hello/Makefile`
23317 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/IPO/Makefile`
23318 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/Makefile`
23319 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/ProfilePaths/Makefile`
23320 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Scalar/Makefile`
23321 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Utils/Makefile`
23322 ${srcdir}/autoconf/mkinstalldirs `dirname lib/VMCore/Makefile`
23323 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile`
23324 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/Makefile`
23325 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/crtend/Makefile`
23326 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libc/Makefile`
23327 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libcurses/Makefile`
23328 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libexception/Makefile`
23329 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libg/Makefile`
23330 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libgcc/Makefile`
23331 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libm/Makefile`
23332 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libmalloc/Makefile`
23333 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libtermcap/Makefile`
23334 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libucb/Makefile`
23335 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutempter/Makefile`
23336 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutil/Makefile`
23337 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libdummy/Makefile`
23338 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libtrace/Makefile`
23339 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile`
23340 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests`
23341 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile`
23342 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.programs`
23343 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.Makefile`
23344 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.report`
23345 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.report`
23346 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.report`
23347 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.example.Makefile`
23348 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.Makefile`
23349 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.buildrepo.Makefile`
23350 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.Makefile`
23351 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.report`
23352 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.Makefile`
23353 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.report`
23354 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.typesafe.Makefile`
23355 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.gnuplot`
23356 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.Makefile`
23357 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/Makefile`
23358 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile`
23359 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile.spec`
23360 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/Makefile`
23361 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/179.art/Makefile`
23362 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/183.equake/Makefile`
23363 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/188.ammp/Makefile`
23364 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/Makefile`
23365 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/164.gzip/Makefile`
23366 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/175.vpr/Makefile`
23367 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/176.gcc/Makefile`
23368 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/181.mcf/Makefile`
23369 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/186.crafty/Makefile`
23370 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/197.parser/Makefile`
23371 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/254.gap/Makefile`
23372 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/255.vortex/Makefile`
23373 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile`
23374 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/300.twolf/Makefile`
23375 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/LLVMSource/Makefile`
23376 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile`
23377 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile.multisrc`
23378 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Makefile`
23379 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Burg/Makefile`
23380 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/aha/Makefile`
23381 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/sgefa/Makefile`
23382 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Makefile`
23383 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile`
23384 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/Makefile`
23385 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile`
23386 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile`
23387 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile`
23388 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile`
23389 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile`
23390 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile`
23391 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile`
23392 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile`
23393 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile`
23394 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile`
23395 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/Makefile`
23396 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile`
23397 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile`
23398 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile`
23399 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/health/Makefile`
23400 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile`
23401 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile`
23402 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/power/Makefile`
23403 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile`
23404 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile`
23405 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile`
23406 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile`
23407 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile`
23408 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile`
23409 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile`
23410 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile`
23411 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile`
23412 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile`
23413 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile`
23414 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/sim/Makefile`
23415 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Makefile`
23416 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Flex/Makefile`
23417 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Larn/Makefile`
23418 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Moria-5.5.2/Makefile`
23419 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Povray31/Makefile`
23420 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/m4/Makefile`
23421 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile`
23422 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile.singlesrc`
23423 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Gizmos/Makefile`
23424 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Makefile`
23425 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile`
23426 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Shootout/Makefile`
23427 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Stanford/Makefile`
23428 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Misc/Makefile`
23429 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/CustomChecked/Makefile`
23430 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/Makefile`
23431 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile`
23432 ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
23433 ${srcdir}/autoconf/mkinstalldirs `dirname tools/analyze/Makefile`
23434 ${srcdir}/autoconf/mkinstalldirs `dirname tools/as/Makefile`
23435 ${srcdir}/autoconf/mkinstalldirs `dirname tools/bugpoint/Makefile`
23436 ${srcdir}/autoconf/mkinstalldirs `dirname tools/dis/Makefile`
23437 ${srcdir}/autoconf/mkinstalldirs `dirname tools/extract/Makefile`
23438 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccas/Makefile`
23439 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccld/Makefile`
23440 ${srcdir}/autoconf/mkinstalldirs `dirname tools/link/Makefile`
23441 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llc/Makefile`
23442 ${srcdir}/autoconf/mkinstalldirs `dirname tools/lli/Makefile`
23443 ${srcdir}/autoconf/mkinstalldirs `dirname tools/opt/Makefile`
23444 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llee/Makefile`
23445 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-as/Makefile`
23446 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-ar/Makefile`
23447 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-dis/Makefile`
23448 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Makefile`
23449 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Makefile`
23450 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Doc/Makefile`
23451 ${srcdir}/autoconf/mkinstalldirs `dirname utils/TableGen/Makefile`
23452 ${srcdir}/autoconf/mkinstalldirs `dirname www/docs/Makefile`
23453 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile`
23454 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile`
23455 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.common`
23456 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.config`
23457 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/Makefile`
23458 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/sample/Makefile`
23459 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/Makefile`
23460 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/sample/Makefile`
23461 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile`
23462 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile.common`
23463 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/Makefile`
23464 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/ModuleMaker/Makefile`
23470 cat >>$CONFIG_STATUS <<\_ACEOF
23471 for ac_config_target in $ac_config_targets
23473 case "$ac_config_target" in
23474 # Handling of arguments.
23475 "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
23476 "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23477 "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;;
23478 "Makefile.rules" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.rules" ;;
23479 "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
23480 "lib/Analysis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/Makefile" ;;
23481 "lib/Analysis/DataStructure/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/DataStructure/Makefile" ;;
23482 "lib/Analysis/IPA/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/IPA/Makefile" ;;
23483 "lib/Analysis/LiveVar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/LiveVar/Makefile" ;;
23484 "lib/AsmParser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/AsmParser/Makefile" ;;
23485 "lib/Bytecode/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Makefile" ;;
23486 "lib/Bytecode/Reader/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Reader/Makefile" ;;
23487 "lib/Bytecode/Writer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Writer/Makefile" ;;
23488 "lib/CWriter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CWriter/Makefile" ;;
23489 "lib/CodeGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/Makefile" ;;
23490 "lib/CodeGen/InstrSched/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSched/Makefile" ;;
23491 "lib/CodeGen/InstrSelection/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSelection/Makefile" ;;
23492 "lib/CodeGen/ModuloScheduling/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/ModuloScheduling/Makefile" ;;
23493 "lib/CodeGen/RegAlloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/RegAlloc/Makefile" ;;
23494 "lib/CodeGen/SelectionDAG/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/SelectionDAG/Makefile" ;;
23495 "lib/ExecutionEngine/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Makefile" ;;
23496 "lib/ExecutionEngine/Interpreter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Interpreter/Makefile" ;;
23497 "lib/ExecutionEngine/JIT/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/JIT/Makefile" ;;
23498 "lib/Support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Support/Makefile" ;;
23499 "lib/Target/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Makefile" ;;
23500 "lib/Target/Sparc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Sparc/Makefile" ;;
23501 "lib/Target/X86/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/X86/Makefile" ;;
23502 "lib/Transforms/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Makefile" ;;
23503 "lib/Transforms/Hello/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Hello/Makefile" ;;
23504 "lib/Transforms/IPO/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/IPO/Makefile" ;;
23505 "lib/Transforms/Instrumentation/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/Makefile" ;;
23506 "lib/Transforms/Instrumentation/ProfilePaths/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/ProfilePaths/Makefile" ;;
23507 "lib/Transforms/Scalar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Scalar/Makefile" ;;
23508 "lib/Transforms/Utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Utils/Makefile" ;;
23509 "lib/VMCore/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/VMCore/Makefile" ;;
23510 "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;;
23511 "runtime/GCCLibraries/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/Makefile" ;;
23512 "runtime/GCCLibraries/crtend/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/crtend/Makefile" ;;
23513 "runtime/GCCLibraries/libc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libc/Makefile" ;;
23514 "runtime/GCCLibraries/libcurses/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libcurses/Makefile" ;;
23515 "runtime/GCCLibraries/libexception/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libexception/Makefile" ;;
23516 "runtime/GCCLibraries/libg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libg/Makefile" ;;
23517 "runtime/GCCLibraries/libgcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libgcc/Makefile" ;;
23518 "runtime/GCCLibraries/libm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libm/Makefile" ;;
23519 "runtime/GCCLibraries/libmalloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libmalloc/Makefile" ;;
23520 "runtime/GCCLibraries/libtermcap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libtermcap/Makefile" ;;
23521 "runtime/GCCLibraries/libucb/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libucb/Makefile" ;;
23522 "runtime/GCCLibraries/libutempter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutempter/Makefile" ;;
23523 "runtime/GCCLibraries/libutil/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutil/Makefile" ;;
23524 "runtime/libdummy/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libdummy/Makefile" ;;
23525 "runtime/libtrace/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libtrace/Makefile" ;;
23526 "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;;
23527 "test/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile.tests" ;;
23528 "test/Programs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile" ;;
23529 "test/Programs/Makefile.programs" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.programs" ;;
23530 "test/Programs/TEST.aa.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.Makefile" ;;
23531 "test/Programs/TEST.dsgraph.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.report" ;;
23532 "test/Programs/TEST.micro.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.report" ;;
23533 "test/Programs/TEST.aa.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.report" ;;
23534 "test/Programs/TEST.example.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.example.Makefile" ;;
23535 "test/Programs/TEST.nightly.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.Makefile" ;;
23536 "test/Programs/TEST.buildrepo.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.buildrepo.Makefile" ;;
23537 "test/Programs/TEST.jit.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.Makefile" ;;
23538 "test/Programs/TEST.nightly.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.report" ;;
23539 "test/Programs/TEST.dsgraph.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.Makefile" ;;
23540 "test/Programs/TEST.jit.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.report" ;;
23541 "test/Programs/TEST.typesafe.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.typesafe.Makefile" ;;
23542 "test/Programs/TEST.dsgraph.gnuplot" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.gnuplot" ;;
23543 "test/Programs/TEST.micro.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.Makefile" ;;
23544 "test/Programs/External/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/Makefile" ;;
23545 "test/Programs/External/SPEC/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile" ;;
23546 "test/Programs/External/SPEC/Makefile.spec" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile.spec" ;;
23547 "test/Programs/External/SPEC/CFP2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/Makefile" ;;
23548 "test/Programs/External/SPEC/CFP2000/179.art/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/179.art/Makefile" ;;
23549 "test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ;;
23550 "test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ;;
23551 "test/Programs/External/SPEC/CINT2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/Makefile" ;;
23552 "test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ;;
23553 "test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ;;
23554 "test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ;;
23555 "test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ;;
23556 "test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ;;
23557 "test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ;;
23558 "test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ;;
23559 "test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ;;
23560 "test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ;;
23561 "test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ;;
23562 "test/Programs/LLVMSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/LLVMSource/Makefile" ;;
23563 "test/Programs/MultiSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile" ;;
23564 "test/Programs/MultiSource/Makefile.multisrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile.multisrc" ;;
23565 "test/Programs/MultiSource/Applications/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Makefile" ;;
23566 "test/Programs/MultiSource/Applications/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Burg/Makefile" ;;
23567 "test/Programs/MultiSource/Applications/aha/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/aha/Makefile" ;;
23568 "test/Programs/MultiSource/Applications/sgefa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/sgefa/Makefile" ;;
23569 "test/Programs/MultiSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Makefile" ;;
23570 "test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ;;
23571 "test/Programs/MultiSource/Benchmarks/McCat/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/Makefile" ;;
23572 "test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ;;
23573 "test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ;;
23574 "test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ;;
23575 "test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ;;
23576 "test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ;;
23577 "test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ;;
23578 "test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ;;
23579 "test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ;;
23580 "test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ;;
23581 "test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ;;
23582 "test/Programs/MultiSource/Benchmarks/Olden/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/Makefile" ;;
23583 "test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ;;
23584 "test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ;;
23585 "test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ;;
23586 "test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ;;
23587 "test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ;;
23588 "test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ;;
23589 "test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ;;
23590 "test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ;;
23591 "test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ;;
23592 "test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ;;
23593 "test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ;;
23594 "test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ;;
23595 "test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ;;
23596 "test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ;;
23597 "test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ;;
23598 "test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ;;
23599 "test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ;;
23600 "test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ;;
23601 "test/Programs/MultiSource/Benchmarks/sim/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/sim/Makefile" ;;
23602 "test/Programs/NoSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Makefile" ;;
23603 "test/Programs/NoSource/Flex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Flex/Makefile" ;;
23604 "test/Programs/NoSource/Larn/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Larn/Makefile" ;;
23605 "test/Programs/NoSource/Moria-5.5.2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Moria-5.5.2/Makefile" ;;
23606 "test/Programs/NoSource/Povray31/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Povray31/Makefile" ;;
23607 "test/Programs/NoSource/m4/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/m4/Makefile" ;;
23608 "test/Programs/SingleSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile" ;;
23609 "test/Programs/SingleSource/Makefile.singlesrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile.singlesrc" ;;
23610 "test/Programs/SingleSource/Gizmos/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Gizmos/Makefile" ;;
23611 "test/Programs/SingleSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Makefile" ;;
23612 "test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ;;
23613 "test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ;;
23614 "test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ;;
23615 "test/Programs/SingleSource/Benchmarks/Misc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Misc/Makefile" ;;
23616 "test/Programs/SingleSource/CustomChecked/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/CustomChecked/Makefile" ;;
23617 "test/Programs/SingleSource/UnitTests/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/Makefile" ;;
23618 "test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ;;
23619 "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
23620 "tools/analyze/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/analyze/Makefile" ;;
23621 "tools/as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/as/Makefile" ;;
23622 "tools/bugpoint/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/bugpoint/Makefile" ;;
23623 "tools/dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/dis/Makefile" ;;
23624 "tools/extract/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/extract/Makefile" ;;
23625 "tools/gccas/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccas/Makefile" ;;
23626 "tools/gccld/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccld/Makefile" ;;
23627 "tools/link/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/link/Makefile" ;;
23628 "tools/llc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llc/Makefile" ;;
23629 "tools/lli/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/lli/Makefile" ;;
23630 "tools/opt/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/opt/Makefile" ;;
23631 "tools/llee/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llee/Makefile" ;;
23632 "tools/llvm-as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-as/Makefile" ;;
23633 "tools/llvm-ar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-ar/Makefile" ;;
23634 "tools/llvm-dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-dis/Makefile" ;;
23635 "utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Makefile" ;;
23636 "utils/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Makefile" ;;
23637 "utils/Burg/Doc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Doc/Makefile" ;;
23638 "utils/TableGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/TableGen/Makefile" ;;
23639 "www/docs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS www/docs/Makefile" ;;
23640 "projects/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Makefile" ;;
23641 "projects/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile" ;;
23642 "projects/sample/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.common" ;;
23643 "projects/sample/Makefile.config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.config" ;;
23644 "projects/sample/lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/Makefile" ;;
23645 "projects/sample/lib/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/sample/Makefile" ;;
23646 "projects/sample/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/Makefile" ;;
23647 "projects/sample/tools/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/sample/Makefile" ;;
23648 "projects/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile" ;;
23649 "projects/ModuleMaker/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile.common" ;;
23650 "projects/ModuleMaker/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/Makefile" ;;
23651 "projects/ModuleMaker/tools/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/ModuleMaker/Makefile" ;;
23652 "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;;
23653 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23654 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23655 { (exit 1); exit 1; }; };;
23659 # If the user did not use the arguments to specify the items to instantiate,
23660 # then the envvar interface is used. Set only those that are not.
23661 # We use the long form for the default assignment because of an extremely
23662 # bizarre bug on SunOS 4.1.3.
23663 if $ac_need_defaults; then
23664 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23665 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23666 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23669 # Have a temporary directory for convenience. Make it in the build tree
23670 # simply because there is no reason to put it here, and in addition,
23671 # creating and moving files from /tmp can sometimes cause problems.
23672 # Create a temporary directory, and hook for its removal unless debugging.
23675 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23676 trap '{ (exit 1); exit 1; }' 1 2 13 15
23679 # Create a (secure) tmp directory for tmp files.
23682 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23683 test -n "$tmp" && test -d "$tmp"
23686 tmp=./confstat$$-$RANDOM
23687 (umask 077 && mkdir $tmp)
23690 echo "$me: cannot create a temporary directory in ." >&2
23691 { (exit 1); exit 1; }
23696 cat >>$CONFIG_STATUS <<_ACEOF
23699 # CONFIG_FILES section.
23702 # No need to generate the scripts if there are no CONFIG_FILES.
23703 # This happens for instance when ./config.status config.h
23704 if test -n "\$CONFIG_FILES"; then
23705 # Protect against being on the right side of a sed subst in config.status.
23706 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23707 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23708 s,@SHELL@,$SHELL,;t t
23709 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23710 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23711 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23712 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23713 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23714 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23715 s,@exec_prefix@,$exec_prefix,;t t
23716 s,@prefix@,$prefix,;t t
23717 s,@program_transform_name@,$program_transform_name,;t t
23718 s,@bindir@,$bindir,;t t
23719 s,@sbindir@,$sbindir,;t t
23720 s,@libexecdir@,$libexecdir,;t t
23721 s,@datadir@,$datadir,;t t
23722 s,@sysconfdir@,$sysconfdir,;t t
23723 s,@sharedstatedir@,$sharedstatedir,;t t
23724 s,@localstatedir@,$localstatedir,;t t
23725 s,@libdir@,$libdir,;t t
23726 s,@includedir@,$includedir,;t t
23727 s,@oldincludedir@,$oldincludedir,;t t
23728 s,@infodir@,$infodir,;t t
23729 s,@mandir@,$mandir,;t t
23730 s,@build_alias@,$build_alias,;t t
23731 s,@host_alias@,$host_alias,;t t
23732 s,@target_alias@,$target_alias,;t t
23733 s,@DEFS@,$DEFS,;t t
23734 s,@ECHO_C@,$ECHO_C,;t t
23735 s,@ECHO_N@,$ECHO_N,;t t
23736 s,@ECHO_T@,$ECHO_T,;t t
23737 s,@LIBS@,$LIBS,;t t
23738 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23739 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23740 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23741 s,@build@,$build,;t t
23742 s,@build_cpu@,$build_cpu,;t t
23743 s,@build_vendor@,$build_vendor,;t t
23744 s,@build_os@,$build_os,;t t
23745 s,@host@,$host,;t t
23746 s,@host_cpu@,$host_cpu,;t t
23747 s,@host_vendor@,$host_vendor,;t t
23748 s,@host_os@,$host_os,;t t
23749 s,@target@,$target,;t t
23750 s,@target_cpu@,$target_cpu,;t t
23751 s,@target_vendor@,$target_vendor,;t t
23752 s,@target_os@,$target_os,;t t
23754 s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t
23755 s,@ARCH@,$ARCH,;t t
23757 s,@CXXFLAGS@,$CXXFLAGS,;t t
23758 s,@LDFLAGS@,$LDFLAGS,;t t
23759 s,@CPPFLAGS@,$CPPFLAGS,;t t
23760 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
23761 s,@EXEEXT@,$EXEEXT,;t t
23762 s,@OBJEXT@,$OBJEXT,;t t
23764 s,@CFLAGS@,$CFLAGS,;t t
23765 s,@ac_ct_CC@,$ac_ct_CC,;t t
23767 s,@ifGNUmake@,$ifGNUmake,;t t
23769 s,@LEXLIB@,$LEXLIB,;t t
23770 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
23771 s,@YACC@,$YACC,;t t
23772 s,@EGREP@,$EGREP,;t t
23773 s,@LN_S@,$LN_S,;t t
23774 s,@ECHO@,$ECHO,;t t
23776 s,@ac_ct_AR@,$ac_ct_AR,;t t
23777 s,@RANLIB@,$RANLIB,;t t
23778 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23779 s,@STRIP@,$STRIP,;t t
23780 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23781 s,@CXXCPP@,$CXXCPP,;t t
23783 s,@FFLAGS@,$FFLAGS,;t t
23784 s,@ac_ct_F77@,$ac_ct_F77,;t t
23785 s,@LIBTOOL@,$LIBTOOL,;t t
23786 s,@RPWD@,$RPWD,;t t
23789 s,@MKDIR@,$MKDIR,;t t
23790 s,@DATE@,$DATE,;t t
23793 s,@ETAGS@,$ETAGS,;t t
23794 s,@PURIFY@,$PURIFY,;t t
23795 s,@PYTHON@,$PYTHON,;t t
23796 s,@QMTEST@,$QMTEST,;t t
23797 s,@ALLOCA@,$ALLOCA,;t t
23798 s,@LIBOBJS@,$LIBOBJS,;t t
23799 s,@MMAP_FILE@,$MMAP_FILE,;t t
23800 s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t
23801 s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t
23802 s,@USE_SPEC@,$USE_SPEC,;t t
23804 s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t
23806 s,@SPEC_ROOT@,$SPEC_ROOT,;t t
23808 s,@PAPIDIR@,$PAPIDIR,;t t
23809 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23814 cat >>$CONFIG_STATUS <<\_ACEOF
23815 # Split the substitutions into bite-sized pieces for seds with
23816 # small command number limits, like on Digital OSF/1 and HP-UX.
23817 ac_max_sed_lines=48
23818 ac_sed_frag=1 # Number of current file.
23819 ac_beg=1 # First line for current file.
23820 ac_end=$ac_max_sed_lines # Line after last line for current file.
23823 while $ac_more_lines; do
23824 if test $ac_beg -gt 1; then
23825 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23827 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23829 if test ! -s $tmp/subs.frag; then
23830 ac_more_lines=false
23832 # The purpose of the label and of the branching condition is to
23833 # speed up the sed processing (if there are no `@' at all, there
23834 # is no need to browse any of the substitutions).
23835 # These are the two extra sed commands mentioned above.
23837 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23838 if test -z "$ac_sed_cmds"; then
23839 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
23841 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23843 ac_sed_frag=`expr $ac_sed_frag + 1`
23845 ac_end=`expr $ac_end + $ac_max_sed_lines`
23848 if test -z "$ac_sed_cmds"; then
23851 fi # test -n "$CONFIG_FILES"
23854 cat >>$CONFIG_STATUS <<\_ACEOF
23855 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23856 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23858 - | *:- | *:-:* ) # input from stdin
23860 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23861 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23862 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23863 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23864 * ) ac_file_in=$ac_file.in ;;
23867 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23868 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23869 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23870 X"$ac_file" : 'X\(//\)[^/]' \| \
23871 X"$ac_file" : 'X\(//\)$' \| \
23872 X"$ac_file" : 'X\(/\)' \| \
23873 . : '\(.\)' 2>/dev/null ||
23875 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23876 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23877 /^X\(\/\/\)$/{ s//\1/; q; }
23878 /^X\(\/\).*/{ s//\1/; q; }
23880 { if $as_mkdir_p; then
23885 while test ! -d "$as_dir"; do
23886 as_dirs="$as_dir $as_dirs"
23887 as_dir=`(dirname "$as_dir") 2>/dev/null ||
23888 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23889 X"$as_dir" : 'X\(//\)[^/]' \| \
23890 X"$as_dir" : 'X\(//\)$' \| \
23891 X"$as_dir" : 'X\(/\)' \| \
23892 . : '\(.\)' 2>/dev/null ||
23894 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23895 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23896 /^X\(\/\/\)$/{ s//\1/; q; }
23897 /^X\(\/\).*/{ s//\1/; q; }
23900 test ! -n "$as_dirs" || mkdir $as_dirs
23901 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23902 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23903 { (exit 1); exit 1; }; }; }
23907 if test "$ac_dir" != .; then
23908 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23909 # A "../" for each directory in $ac_dir_suffix.
23910 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23912 ac_dir_suffix= ac_top_builddir=
23916 .) # No --srcdir option. We are building in place.
23918 if test -z "$ac_top_builddir"; then
23921 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23923 [\\/]* | ?:[\\/]* ) # Absolute path.
23924 ac_srcdir=$srcdir$ac_dir_suffix;
23925 ac_top_srcdir=$srcdir ;;
23926 *) # Relative path.
23927 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23928 ac_top_srcdir=$ac_top_builddir$srcdir ;;
23930 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
23932 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
23933 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
23934 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
23935 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
23939 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23940 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
23943 if test x"$ac_file" != x-; then
23944 { echo "$as_me:$LINENO: creating $ac_file" >&5
23945 echo "$as_me: creating $ac_file" >&6;}
23948 # Let's still pretend it is `configure' which instantiates (i.e., don't
23949 # use $as_me), people would be surprised to read:
23950 # /* config.h. Generated by config.status. */
23951 if test x"$ac_file" = x-; then
23954 configure_input="$ac_file. "
23956 configure_input=$configure_input"Generated from `echo $ac_file_in |
23957 sed 's,.*/,,'` by configure."
23959 # First look for the input files in the build tree, otherwise in the
23961 ac_file_inputs=`IFS=:
23962 for f in $ac_file_in; do
23964 -) echo $tmp/stdin ;;
23966 # Absolute (can't be DOS-style, as IFS=:)
23967 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23968 echo "$as_me: error: cannot find input file: $f" >&2;}
23969 { (exit 1); exit 1; }; }
23972 if test -f "$f"; then
23975 elif test -f "$srcdir/$f"; then
23980 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23981 echo "$as_me: error: cannot find input file: $f" >&2;}
23982 { (exit 1); exit 1; }; }
23985 done` || { (exit 1); exit 1; }
23987 cat >>$CONFIG_STATUS <<_ACEOF
23991 cat >>$CONFIG_STATUS <<\_ACEOF
23993 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23994 s,@configure_input@,$configure_input,;t t
23995 s,@srcdir@,$ac_srcdir,;t t
23996 s,@abs_srcdir@,$ac_abs_srcdir,;t t
23997 s,@top_srcdir@,$ac_top_srcdir,;t t
23998 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
23999 s,@builddir@,$ac_builddir,;t t
24000 s,@abs_builddir@,$ac_abs_builddir,;t t
24001 s,@top_builddir@,$ac_top_builddir,;t t
24002 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
24003 s,@INSTALL@,$ac_INSTALL,;t t
24004 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24006 if test x"$ac_file" != x-; then
24007 mv $tmp/out $ac_file
24015 cat >>$CONFIG_STATUS <<\_ACEOF
24018 # CONFIG_HEADER section.
24021 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24022 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24024 # ac_d sets the value in "#define NAME VALUE" lines.
24025 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24026 ac_dB='[ ].*$,\1#\2'
24029 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24030 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24031 ac_uB='$,\1#\2define\3'
24035 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24036 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24038 - | *:- | *:-:* ) # input from stdin
24040 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24041 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24042 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24043 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24044 * ) ac_file_in=$ac_file.in ;;
24047 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24048 echo "$as_me: creating $ac_file" >&6;}
24050 # First look for the input files in the build tree, otherwise in the
24052 ac_file_inputs=`IFS=:
24053 for f in $ac_file_in; do
24055 -) echo $tmp/stdin ;;
24057 # Absolute (can't be DOS-style, as IFS=:)
24058 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24059 echo "$as_me: error: cannot find input file: $f" >&2;}
24060 { (exit 1); exit 1; }; }
24063 if test -f "$f"; then
24066 elif test -f "$srcdir/$f"; then
24071 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24072 echo "$as_me: error: cannot find input file: $f" >&2;}
24073 { (exit 1); exit 1; }; }
24076 done` || { (exit 1); exit 1; }
24077 # Remove the trailing spaces.
24078 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24082 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24083 # `conftest.undefs', that substitutes the proper values into
24084 # config.h.in to produce config.h. The first handles `#define'
24085 # templates, and the second `#undef' templates.
24086 # And first: Protect against being on the right side of a sed subst in
24087 # config.status. Protect against being in an unquoted here document
24088 # in config.status.
24089 rm -f conftest.defines conftest.undefs
24090 # Using a here document instead of a string reduces the quoting nightmare.
24091 # Putting comments in sed scripts is not portable.
24093 # `end' is used to avoid that the second main sed command (meant for
24094 # 0-ary CPP macros) applies to n-ary macro definitions.
24095 # See the Autoconf documentation for `clear'.
24096 cat >confdef2sed.sed <<\_ACEOF
24101 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24103 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24106 # If some macros were called several times there might be several times
24107 # the same #defines, which is useless. Nevertheless, we may not want to
24108 # sort them, since we want the *last* AC-DEFINE to be honored.
24109 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24110 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24111 rm -f confdef2sed.sed
24113 # This sed command replaces #undef with comments. This is necessary, for
24114 # example, in the case of _POSIX_SOURCE, which is predefined and required
24115 # on some systems where configure will not decide to define it.
24116 cat >>conftest.undefs <<\_ACEOF
24117 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24120 # Break up conftest.defines because some shells have a limit on the size
24121 # of here documents, and old seds have small limits too (100 cmds).
24122 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24123 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24124 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24125 echo ' :' >>$CONFIG_STATUS
24126 rm -f conftest.tail
24127 while grep . conftest.defines >/dev/null
24129 # Write a limited-size here document to $tmp/defines.sed.
24130 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24131 # Speed up: don't consider the non `#define' lines.
24132 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24133 # Work around the forget-to-reset-the-flag bug.
24134 echo 't clr' >>$CONFIG_STATUS
24135 echo ': clr' >>$CONFIG_STATUS
24136 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24138 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24140 mv $tmp/out $tmp/in
24142 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24143 rm -f conftest.defines
24144 mv conftest.tail conftest.defines
24146 rm -f conftest.defines
24147 echo ' fi # grep' >>$CONFIG_STATUS
24148 echo >>$CONFIG_STATUS
24150 # Break up conftest.undefs because some shells have a limit on the size
24151 # of here documents, and old seds have small limits too (100 cmds).
24152 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24153 rm -f conftest.tail
24154 while grep . conftest.undefs >/dev/null
24156 # Write a limited-size here document to $tmp/undefs.sed.
24157 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24158 # Speed up: don't consider the non `#undef'
24159 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24160 # Work around the forget-to-reset-the-flag bug.
24161 echo 't clr' >>$CONFIG_STATUS
24162 echo ': clr' >>$CONFIG_STATUS
24163 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24165 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24167 mv $tmp/out $tmp/in
24169 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24170 rm -f conftest.undefs
24171 mv conftest.tail conftest.undefs
24173 rm -f conftest.undefs
24175 cat >>$CONFIG_STATUS <<\_ACEOF
24176 # Let's still pretend it is `configure' which instantiates (i.e., don't
24177 # use $as_me), people would be surprised to read:
24178 # /* config.h. Generated by config.status. */
24179 if test x"$ac_file" = x-; then
24180 echo "/* Generated by configure. */" >$tmp/config.h
24182 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24184 cat $tmp/in >>$tmp/config.h
24186 if test x"$ac_file" != x-; then
24187 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24188 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24189 echo "$as_me: $ac_file is unchanged" >&6;}
24191 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24192 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24193 X"$ac_file" : 'X\(//\)[^/]' \| \
24194 X"$ac_file" : 'X\(//\)$' \| \
24195 X"$ac_file" : 'X\(/\)' \| \
24196 . : '\(.\)' 2>/dev/null ||
24198 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24199 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24200 /^X\(\/\/\)$/{ s//\1/; q; }
24201 /^X\(\/\).*/{ s//\1/; q; }
24203 { if $as_mkdir_p; then
24208 while test ! -d "$as_dir"; do
24209 as_dirs="$as_dir $as_dirs"
24210 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24211 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24212 X"$as_dir" : 'X\(//\)[^/]' \| \
24213 X"$as_dir" : 'X\(//\)$' \| \
24214 X"$as_dir" : 'X\(/\)' \| \
24215 . : '\(.\)' 2>/dev/null ||
24217 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24218 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24219 /^X\(\/\/\)$/{ s//\1/; q; }
24220 /^X\(\/\).*/{ s//\1/; q; }
24223 test ! -n "$as_dirs" || mkdir $as_dirs
24224 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24225 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24226 { (exit 1); exit 1; }; }; }
24229 mv $tmp/config.h $ac_file
24233 rm -f $tmp/config.h
24237 cat >>$CONFIG_STATUS <<\_ACEOF
24240 # CONFIG_COMMANDS section.
24242 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24243 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24244 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24245 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24246 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24247 X"$ac_dest" : 'X\(//\)[^/]' \| \
24248 X"$ac_dest" : 'X\(//\)$' \| \
24249 X"$ac_dest" : 'X\(/\)' \| \
24250 . : '\(.\)' 2>/dev/null ||
24252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24253 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24254 /^X\(\/\/\)$/{ s//\1/; q; }
24255 /^X\(\/\).*/{ s//\1/; q; }
24259 if test "$ac_dir" != .; then
24260 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24261 # A "../" for each directory in $ac_dir_suffix.
24262 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24264 ac_dir_suffix= ac_top_builddir=
24268 .) # No --srcdir option. We are building in place.
24270 if test -z "$ac_top_builddir"; then
24273 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24275 [\\/]* | ?:[\\/]* ) # Absolute path.
24276 ac_srcdir=$srcdir$ac_dir_suffix;
24277 ac_top_srcdir=$srcdir ;;
24278 *) # Relative path.
24279 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24280 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24282 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24284 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24285 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24286 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24287 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24290 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24291 echo "$as_me: executing $ac_dest commands" >&6;}
24293 Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
24294 Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common ;;
24295 Makefile.rules ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.rules Makefile.rules ;;
24296 lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
24297 lib/Analysis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/Makefile lib/Analysis/Makefile ;;
24298 lib/Analysis/DataStructure/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/DataStructure/Makefile lib/Analysis/DataStructure/Makefile ;;
24299 lib/Analysis/IPA/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/IPA/Makefile lib/Analysis/IPA/Makefile ;;
24300 lib/Analysis/LiveVar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/LiveVar/Makefile lib/Analysis/LiveVar/Makefile ;;
24301 lib/AsmParser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/AsmParser/Makefile lib/AsmParser/Makefile ;;
24302 lib/Bytecode/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Makefile lib/Bytecode/Makefile ;;
24303 lib/Bytecode/Reader/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Reader/Makefile lib/Bytecode/Reader/Makefile ;;
24304 lib/Bytecode/Writer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Writer/Makefile lib/Bytecode/Writer/Makefile ;;
24305 lib/CWriter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CWriter/Makefile lib/CWriter/Makefile ;;
24306 lib/CodeGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/Makefile lib/CodeGen/Makefile ;;
24307 lib/CodeGen/InstrSched/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSched/Makefile lib/CodeGen/InstrSched/Makefile ;;
24308 lib/CodeGen/InstrSelection/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSelection/Makefile lib/CodeGen/InstrSelection/Makefile ;;
24309 lib/CodeGen/ModuloScheduling/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/ModuloScheduling/Makefile lib/CodeGen/ModuloScheduling/Makefile ;;
24310 lib/CodeGen/RegAlloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/RegAlloc/Makefile lib/CodeGen/RegAlloc/Makefile ;;
24311 lib/CodeGen/SelectionDAG/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/SelectionDAG/Makefile lib/CodeGen/SelectionDAG/Makefile ;;
24312 lib/ExecutionEngine/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Makefile lib/ExecutionEngine/Makefile ;;
24313 lib/ExecutionEngine/Interpreter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Interpreter/Makefile lib/ExecutionEngine/Interpreter/Makefile ;;
24314 lib/ExecutionEngine/JIT/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/JIT/Makefile lib/ExecutionEngine/JIT/Makefile ;;
24315 lib/Support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Support/Makefile lib/Support/Makefile ;;
24316 lib/Target/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Makefile lib/Target/Makefile ;;
24317 lib/Target/Sparc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Sparc/Makefile lib/Target/Sparc/Makefile ;;
24318 lib/Target/X86/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/X86/Makefile lib/Target/X86/Makefile ;;
24319 lib/Transforms/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Makefile lib/Transforms/Makefile ;;
24320 lib/Transforms/Hello/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Hello/Makefile lib/Transforms/Hello/Makefile ;;
24321 lib/Transforms/IPO/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/IPO/Makefile lib/Transforms/IPO/Makefile ;;
24322 lib/Transforms/Instrumentation/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/Makefile lib/Transforms/Instrumentation/Makefile ;;
24323 lib/Transforms/Instrumentation/ProfilePaths/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/ProfilePaths/Makefile lib/Transforms/Instrumentation/ProfilePaths/Makefile ;;
24324 lib/Transforms/Scalar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Scalar/Makefile lib/Transforms/Scalar/Makefile ;;
24325 lib/Transforms/Utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Utils/Makefile lib/Transforms/Utils/Makefile ;;
24326 lib/VMCore/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/VMCore/Makefile lib/VMCore/Makefile ;;
24327 runtime/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/Makefile runtime/Makefile ;;
24328 runtime/GCCLibraries/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/Makefile runtime/GCCLibraries/Makefile ;;
24329 runtime/GCCLibraries/crtend/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/crtend/Makefile runtime/GCCLibraries/crtend/Makefile ;;
24330 runtime/GCCLibraries/libc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libc/Makefile runtime/GCCLibraries/libc/Makefile ;;
24331 runtime/GCCLibraries/libcurses/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libcurses/Makefile runtime/GCCLibraries/libcurses/Makefile ;;
24332 runtime/GCCLibraries/libexception/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libexception/Makefile runtime/GCCLibraries/libexception/Makefile ;;
24333 runtime/GCCLibraries/libg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libg/Makefile runtime/GCCLibraries/libg/Makefile ;;
24334 runtime/GCCLibraries/libgcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libgcc/Makefile runtime/GCCLibraries/libgcc/Makefile ;;
24335 runtime/GCCLibraries/libm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libm/Makefile runtime/GCCLibraries/libm/Makefile ;;
24336 runtime/GCCLibraries/libmalloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libmalloc/Makefile runtime/GCCLibraries/libmalloc/Makefile ;;
24337 runtime/GCCLibraries/libtermcap/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libtermcap/Makefile runtime/GCCLibraries/libtermcap/Makefile ;;
24338 runtime/GCCLibraries/libucb/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libucb/Makefile runtime/GCCLibraries/libucb/Makefile ;;
24339 runtime/GCCLibraries/libutempter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutempter/Makefile runtime/GCCLibraries/libutempter/Makefile ;;
24340 runtime/GCCLibraries/libutil/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutil/Makefile runtime/GCCLibraries/libutil/Makefile ;;
24341 runtime/libdummy/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libdummy/Makefile runtime/libdummy/Makefile ;;
24342 runtime/libtrace/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libtrace/Makefile runtime/libtrace/Makefile ;;
24343 test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;;
24344 test/Makefile.tests ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile.tests test/Makefile.tests ;;
24345 test/Programs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile test/Programs/Makefile ;;
24346 test/Programs/Makefile.programs ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.programs test/Programs/Makefile.programs ;;
24347 test/Programs/TEST.aa.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.Makefile test/Programs/TEST.aa.Makefile ;;
24348 test/Programs/TEST.dsgraph.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.report test/Programs/TEST.dsgraph.report ;;
24349 test/Programs/TEST.micro.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.report test/Programs/TEST.micro.report ;;
24350 test/Programs/TEST.aa.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.report test/Programs/TEST.aa.report ;;
24351 test/Programs/TEST.example.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.example.Makefile test/Programs/TEST.example.Makefile ;;
24352 test/Programs/TEST.nightly.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.Makefile test/Programs/TEST.nightly.Makefile ;;
24353 test/Programs/TEST.buildrepo.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.buildrepo.Makefile test/Programs/TEST.buildrepo.Makefile ;;
24354 test/Programs/TEST.jit.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.Makefile test/Programs/TEST.jit.Makefile ;;
24355 test/Programs/TEST.nightly.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.report test/Programs/TEST.nightly.report ;;
24356 test/Programs/TEST.dsgraph.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.Makefile test/Programs/TEST.dsgraph.Makefile ;;
24357 test/Programs/TEST.jit.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.report test/Programs/TEST.jit.report ;;
24358 test/Programs/TEST.typesafe.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.typesafe.Makefile test/Programs/TEST.typesafe.Makefile ;;
24359 test/Programs/TEST.dsgraph.gnuplot ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.gnuplot test/Programs/TEST.dsgraph.gnuplot ;;
24360 test/Programs/TEST.micro.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.Makefile test/Programs/TEST.micro.Makefile ;;
24361 test/Programs/External/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/Makefile test/Programs/External/Makefile ;;
24362 test/Programs/External/SPEC/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile test/Programs/External/SPEC/Makefile ;;
24363 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 ;;
24364 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 ;;
24365 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 ;;
24366 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 ;;
24367 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 ;;
24368 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 ;;
24369 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 ;;
24370 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 ;;
24371 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 ;;
24372 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 ;;
24373 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 ;;
24374 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 ;;
24375 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 ;;
24376 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 ;;
24377 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 ;;
24378 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 ;;
24379 test/Programs/LLVMSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/LLVMSource/Makefile test/Programs/LLVMSource/Makefile ;;
24380 test/Programs/MultiSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile test/Programs/MultiSource/Makefile ;;
24381 test/Programs/MultiSource/Makefile.multisrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile.multisrc test/Programs/MultiSource/Makefile.multisrc ;;
24382 test/Programs/MultiSource/Applications/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/Makefile test/Programs/MultiSource/Applications/Makefile ;;
24383 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 ;;
24384 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 ;;
24385 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 ;;
24386 test/Programs/MultiSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Makefile test/Programs/MultiSource/Benchmarks/Makefile ;;
24387 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 ;;
24388 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 ;;
24389 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 ;;
24390 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 ;;
24391 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 ;;
24392 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 ;;
24393 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 ;;
24394 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 ;;
24395 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 ;;
24396 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 ;;
24397 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 ;;
24398 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 ;;
24399 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 ;;
24400 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 ;;
24401 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 ;;
24402 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 ;;
24403 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 ;;
24404 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 ;;
24405 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 ;;
24406 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 ;;
24407 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 ;;
24408 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 ;;
24409 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 ;;
24410 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 ;;
24411 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 ;;
24412 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 ;;
24413 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 ;;
24414 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 ;;
24415 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 ;;
24416 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 ;;
24417 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 ;;
24418 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 ;;
24419 test/Programs/NoSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Makefile test/Programs/NoSource/Makefile ;;
24420 test/Programs/NoSource/Flex/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Flex/Makefile test/Programs/NoSource/Flex/Makefile ;;
24421 test/Programs/NoSource/Larn/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Larn/Makefile test/Programs/NoSource/Larn/Makefile ;;
24422 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 ;;
24423 test/Programs/NoSource/Povray31/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Povray31/Makefile test/Programs/NoSource/Povray31/Makefile ;;
24424 test/Programs/NoSource/m4/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/m4/Makefile test/Programs/NoSource/m4/Makefile ;;
24425 test/Programs/SingleSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile test/Programs/SingleSource/Makefile ;;
24426 test/Programs/SingleSource/Makefile.singlesrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile.singlesrc test/Programs/SingleSource/Makefile.singlesrc ;;
24427 test/Programs/SingleSource/Gizmos/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Gizmos/Makefile test/Programs/SingleSource/Gizmos/Makefile ;;
24428 test/Programs/SingleSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Makefile test/Programs/SingleSource/Benchmarks/Makefile ;;
24429 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 ;;
24430 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 ;;
24431 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 ;;
24432 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 ;;
24433 test/Programs/SingleSource/CustomChecked/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/CustomChecked/Makefile test/Programs/SingleSource/CustomChecked/Makefile ;;
24434 test/Programs/SingleSource/UnitTests/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/Makefile test/Programs/SingleSource/UnitTests/Makefile ;;
24435 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 ;;
24436 tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
24437 tools/analyze/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/analyze/Makefile tools/analyze/Makefile ;;
24438 tools/as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/as/Makefile tools/as/Makefile ;;
24439 tools/bugpoint/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/bugpoint/Makefile tools/bugpoint/Makefile ;;
24440 tools/dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/dis/Makefile tools/dis/Makefile ;;
24441 tools/extract/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/extract/Makefile tools/extract/Makefile ;;
24442 tools/gccas/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccas/Makefile tools/gccas/Makefile ;;
24443 tools/gccld/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccld/Makefile tools/gccld/Makefile ;;
24444 tools/link/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/link/Makefile tools/link/Makefile ;;
24445 tools/llc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llc/Makefile tools/llc/Makefile ;;
24446 tools/lli/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/lli/Makefile tools/lli/Makefile ;;
24447 tools/opt/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/opt/Makefile tools/opt/Makefile ;;
24448 tools/llee/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llee/Makefile tools/llee/Makefile ;;
24449 tools/llvm-as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-as/Makefile tools/llvm-as/Makefile ;;
24450 tools/llvm-ar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-ar/Makefile tools/llvm-ar/Makefile ;;
24451 tools/llvm-dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-dis/Makefile tools/llvm-dis/Makefile ;;
24452 utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Makefile utils/Makefile ;;
24453 utils/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Makefile utils/Burg/Makefile ;;
24454 utils/Burg/Doc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Doc/Makefile utils/Burg/Doc/Makefile ;;
24455 utils/TableGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/TableGen/Makefile utils/TableGen/Makefile ;;
24456 www/docs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/www/docs/Makefile www/docs/Makefile ;;
24457 projects/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Makefile projects/Makefile ;;
24458 projects/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile projects/sample/Makefile ;;
24459 projects/sample/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.common projects/sample/Makefile.common ;;
24460 projects/sample/Makefile.config ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.config projects/sample/Makefile.config ;;
24461 projects/sample/lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/Makefile projects/sample/lib/Makefile ;;
24462 projects/sample/lib/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/sample/Makefile projects/sample/lib/sample/Makefile ;;
24463 projects/sample/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/Makefile projects/sample/tools/Makefile ;;
24464 projects/sample/tools/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/sample/Makefile projects/sample/tools/sample/Makefile ;;
24465 projects/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile projects/ModuleMaker/Makefile ;;
24466 projects/ModuleMaker/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile.common projects/ModuleMaker/Makefile.common ;;
24467 projects/ModuleMaker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/Makefile projects/ModuleMaker/tools/Makefile ;;
24468 projects/ModuleMaker/tools/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/ModuleMaker/Makefile projects/ModuleMaker/tools/ModuleMaker/Makefile ;;
24473 cat >>$CONFIG_STATUS <<\_ACEOF
24475 { (exit 0); exit 0; }
24477 chmod +x $CONFIG_STATUS
24478 ac_clean_files=$ac_clean_files_save
24481 # configure is writing to config.log, and then calls config.status.
24482 # config.status does its own redirection, appending to config.log.
24483 # Unfortunately, on DOS this fails, as config.log is still kept open
24484 # by configure, so config.status won't be able to write to it; its
24485 # output is simply discarded. So we exec the FD to /dev/null,
24486 # effectively closing config.log, so it can be properly (re)opened and
24487 # appended to by config.status. When coming back to configure, we
24488 # need to make the FD available again.
24489 if test "$no_create" != yes; then
24491 ac_config_status_args=
24492 test "$silent" = yes &&
24493 ac_config_status_args="$ac_config_status_args --quiet"
24495 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24497 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24498 # would make configure fail if this is the last instruction.
24499 $ac_cs_success || { (exit 1); exit 1; }