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 ac_config_headers="$ac_config_headers include/Config/config.h"
1514 ac_config_commands="$ac_config_commands Makefile"
1517 ac_config_commands="$ac_config_commands Makefile.common"
1520 ac_config_commands="$ac_config_commands Makefile.rules"
1523 ac_config_commands="$ac_config_commands lib/Makefile"
1526 ac_config_commands="$ac_config_commands lib/Analysis/Makefile"
1529 ac_config_commands="$ac_config_commands lib/Analysis/DataStructure/Makefile"
1532 ac_config_commands="$ac_config_commands lib/Analysis/IPA/Makefile"
1535 ac_config_commands="$ac_config_commands lib/Analysis/LiveVar/Makefile"
1538 ac_config_commands="$ac_config_commands lib/AsmParser/Makefile"
1541 ac_config_commands="$ac_config_commands lib/Bytecode/Makefile"
1544 ac_config_commands="$ac_config_commands lib/Bytecode/Reader/Makefile"
1547 ac_config_commands="$ac_config_commands lib/Bytecode/Writer/Makefile"
1550 ac_config_commands="$ac_config_commands lib/CWriter/Makefile"
1553 ac_config_commands="$ac_config_commands lib/CodeGen/Makefile"
1556 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSched/Makefile"
1559 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSelection/Makefile"
1562 ac_config_commands="$ac_config_commands lib/CodeGen/ModuloScheduling/Makefile"
1565 ac_config_commands="$ac_config_commands lib/CodeGen/RegAlloc/Makefile"
1568 ac_config_commands="$ac_config_commands lib/CodeGen/SelectionDAG/Makefile"
1571 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Makefile"
1574 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Interpreter/Makefile"
1577 ac_config_commands="$ac_config_commands lib/ExecutionEngine/JIT/Makefile"
1580 ac_config_commands="$ac_config_commands lib/Support/Makefile"
1583 ac_config_commands="$ac_config_commands lib/Target/Makefile"
1586 ac_config_commands="$ac_config_commands lib/Target/Sparc/Makefile"
1589 ac_config_commands="$ac_config_commands lib/Target/X86/Makefile"
1592 ac_config_commands="$ac_config_commands lib/Transforms/Makefile"
1595 ac_config_commands="$ac_config_commands lib/Transforms/Hello/Makefile"
1598 ac_config_commands="$ac_config_commands lib/Transforms/IPO/Makefile"
1601 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/Makefile"
1604 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/ProfilePaths/Makefile"
1607 ac_config_commands="$ac_config_commands lib/Transforms/Scalar/Makefile"
1610 ac_config_commands="$ac_config_commands lib/Transforms/Utils/Makefile"
1613 ac_config_commands="$ac_config_commands lib/VMCore/Makefile"
1616 ac_config_commands="$ac_config_commands runtime/Makefile"
1619 ac_config_commands="$ac_config_commands runtime/GCCLibraries/Makefile"
1622 ac_config_commands="$ac_config_commands runtime/GCCLibraries/crtend/Makefile"
1625 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libc/Makefile"
1628 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libcurses/Makefile"
1631 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libexception/Makefile"
1634 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libg/Makefile"
1637 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libgcc/Makefile"
1640 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libm/Makefile"
1643 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libmalloc/Makefile"
1646 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libtermcap/Makefile"
1649 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libucb/Makefile"
1652 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutempter/Makefile"
1655 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutil/Makefile"
1658 ac_config_commands="$ac_config_commands runtime/libdummy/Makefile"
1661 ac_config_commands="$ac_config_commands runtime/libtrace/Makefile"
1664 ac_config_commands="$ac_config_commands test/Makefile"
1667 ac_config_commands="$ac_config_commands test/Makefile.tests"
1670 ac_config_commands="$ac_config_commands test/Programs/Makefile"
1673 ac_config_commands="$ac_config_commands test/Programs/Makefile.programs"
1676 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.Makefile"
1679 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.report"
1682 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.report"
1685 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.report"
1688 ac_config_commands="$ac_config_commands test/Programs/TEST.example.Makefile"
1691 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.Makefile"
1694 ac_config_commands="$ac_config_commands test/Programs/TEST.buildrepo.Makefile"
1697 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.Makefile"
1700 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.report"
1703 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.Makefile"
1706 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.report"
1709 ac_config_commands="$ac_config_commands test/Programs/TEST.typesafe.Makefile"
1712 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.gnuplot"
1715 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.Makefile"
1718 ac_config_commands="$ac_config_commands test/Programs/External/Makefile"
1721 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile"
1724 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile.spec"
1727 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/Makefile"
1730 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/179.art/Makefile"
1733 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/183.equake/Makefile"
1736 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/188.ammp/Makefile"
1739 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/Makefile"
1742 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/164.gzip/Makefile"
1745 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/175.vpr/Makefile"
1748 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/176.gcc/Makefile"
1751 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/181.mcf/Makefile"
1754 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/186.crafty/Makefile"
1757 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/197.parser/Makefile"
1760 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/254.gap/Makefile"
1763 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/255.vortex/Makefile"
1766 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile"
1769 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/300.twolf/Makefile"
1772 ac_config_commands="$ac_config_commands test/Programs/LLVMSource/Makefile"
1775 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile"
1778 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile.multisrc"
1781 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Makefile"
1784 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Burg/Makefile"
1787 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/aha/Makefile"
1790 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/sgefa/Makefile"
1793 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Makefile"
1796 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile"
1799 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/Makefile"
1802 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile"
1805 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile"
1808 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile"
1811 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile"
1814 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile"
1817 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile"
1820 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile"
1823 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile"
1826 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile"
1829 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile"
1832 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/Makefile"
1835 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile"
1838 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile"
1841 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile"
1844 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/health/Makefile"
1847 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile"
1850 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile"
1853 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/power/Makefile"
1856 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile"
1859 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile"
1862 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile"
1865 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile"
1868 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile"
1871 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile"
1874 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile"
1877 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile"
1880 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile"
1883 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile"
1886 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile"
1889 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/sim/Makefile"
1892 ac_config_commands="$ac_config_commands test/Programs/NoSource/Makefile"
1895 ac_config_commands="$ac_config_commands test/Programs/NoSource/Flex/Makefile"
1898 ac_config_commands="$ac_config_commands test/Programs/NoSource/Larn/Makefile"
1901 ac_config_commands="$ac_config_commands test/Programs/NoSource/Moria-5.5.2/Makefile"
1904 ac_config_commands="$ac_config_commands test/Programs/NoSource/Povray31/Makefile"
1907 ac_config_commands="$ac_config_commands test/Programs/NoSource/m4/Makefile"
1910 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile"
1913 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile.singlesrc"
1916 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Gizmos/Makefile"
1919 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Makefile"
1922 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile"
1925 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Shootout/Makefile"
1928 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Stanford/Makefile"
1931 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Misc/Makefile"
1934 ac_config_commands="$ac_config_commands test/Programs/SingleSource/CustomChecked/Makefile"
1937 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/Makefile"
1940 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile"
1943 ac_config_commands="$ac_config_commands tools/Makefile"
1946 ac_config_commands="$ac_config_commands tools/analyze/Makefile"
1949 ac_config_commands="$ac_config_commands tools/as/Makefile"
1952 ac_config_commands="$ac_config_commands tools/bugpoint/Makefile"
1955 ac_config_commands="$ac_config_commands tools/dis/Makefile"
1958 ac_config_commands="$ac_config_commands tools/extract/Makefile"
1961 ac_config_commands="$ac_config_commands tools/gccas/Makefile"
1964 ac_config_commands="$ac_config_commands tools/gccld/Makefile"
1967 ac_config_commands="$ac_config_commands tools/link/Makefile"
1970 ac_config_commands="$ac_config_commands tools/llc/Makefile"
1973 ac_config_commands="$ac_config_commands tools/lli/Makefile"
1976 ac_config_commands="$ac_config_commands tools/opt/Makefile"
1979 ac_config_commands="$ac_config_commands tools/llee/Makefile"
1982 ac_config_commands="$ac_config_commands tools/llvm-as/Makefile"
1985 ac_config_commands="$ac_config_commands tools/llvm-ar/Makefile"
1988 ac_config_commands="$ac_config_commands tools/llvm-dis/Makefile"
1991 ac_config_commands="$ac_config_commands utils/Makefile"
1994 ac_config_commands="$ac_config_commands utils/Burg/Makefile"
1997 ac_config_commands="$ac_config_commands utils/Burg/Doc/Makefile"
2000 ac_config_commands="$ac_config_commands utils/TableGen/Makefile"
2003 ac_config_commands="$ac_config_commands www/docs/Makefile"
2006 ac_config_commands="$ac_config_commands projects/Makefile"
2009 ac_config_commands="$ac_config_commands projects/sample/Makefile"
2012 ac_config_commands="$ac_config_commands projects/sample/Makefile.common"
2015 ac_config_commands="$ac_config_commands projects/sample/Makefile.config"
2018 ac_config_commands="$ac_config_commands projects/sample/lib/Makefile"
2021 ac_config_commands="$ac_config_commands projects/sample/lib/sample/Makefile"
2024 ac_config_commands="$ac_config_commands projects/sample/tools/Makefile"
2027 ac_config_commands="$ac_config_commands projects/sample/tools/sample/Makefile"
2030 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile"
2033 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile.common"
2036 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/Makefile"
2039 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/ModuleMaker/Makefile"
2044 # Find a good install program. We prefer a C program (faster),
2045 # so one script is as good as another. But avoid the broken or
2046 # incompatible versions:
2047 # SysV /etc/install, /usr/sbin/install
2048 # SunOS /usr/etc/install
2049 # IRIX /sbin/install
2051 # AmigaOS /C/install, which installs bootblocks on floppy discs
2052 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2053 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2054 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2055 # ./install, which can be erroneously created by make from ./install.sh.
2056 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2057 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2058 if test -z "$INSTALL"; then
2059 if test "${ac_cv_path_install+set}" = set; then
2060 echo $ECHO_N "(cached) $ECHO_C" >&6
2062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2066 test -z "$as_dir" && as_dir=.
2067 # Account for people who put trailing slashes in PATH elements.
2069 ./ | .// | /cC/* | \
2070 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2073 # OSF1 and SCO ODT 3.0 have their own names for install.
2074 # Don't use installbsd from OSF since it installs stuff as root
2076 for ac_prog in ginstall scoinst install; do
2077 for ac_exec_ext in '' $ac_executable_extensions; do
2078 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2079 if test $ac_prog = install &&
2080 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2081 # AIX install. It has an incompatible calling convention.
2083 elif test $ac_prog = install &&
2084 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2085 # program-specific install script used by HP pwplus--don't use.
2088 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2100 if test "${ac_cv_path_install+set}" = set; then
2101 INSTALL=$ac_cv_path_install
2103 # As a last resort, use the slow shell script. We don't cache a
2104 # path for INSTALL within a source directory, because that will
2105 # break other packages using the cache if that directory is
2106 # removed, or if the path is relative.
2107 INSTALL=$ac_install_sh
2110 echo "$as_me:$LINENO: result: $INSTALL" >&5
2111 echo "${ECHO_T}$INSTALL" >&6
2113 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2114 # It thinks the first close brace ends the variable substitution.
2115 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2117 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2119 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2122 # Make sure we can run config.sub.
2123 $ac_config_sub sun4 >/dev/null 2>&1 ||
2124 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2125 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2126 { (exit 1); exit 1; }; }
2128 echo "$as_me:$LINENO: checking build system type" >&5
2129 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2130 if test "${ac_cv_build+set}" = set; then
2131 echo $ECHO_N "(cached) $ECHO_C" >&6
2133 ac_cv_build_alias=$build_alias
2134 test -z "$ac_cv_build_alias" &&
2135 ac_cv_build_alias=`$ac_config_guess`
2136 test -z "$ac_cv_build_alias" &&
2137 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2138 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2139 { (exit 1); exit 1; }; }
2140 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2141 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2142 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2143 { (exit 1); exit 1; }; }
2146 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2147 echo "${ECHO_T}$ac_cv_build" >&6
2149 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2150 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2151 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2154 echo "$as_me:$LINENO: checking host system type" >&5
2155 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2156 if test "${ac_cv_host+set}" = set; then
2157 echo $ECHO_N "(cached) $ECHO_C" >&6
2159 ac_cv_host_alias=$host_alias
2160 test -z "$ac_cv_host_alias" &&
2161 ac_cv_host_alias=$ac_cv_build_alias
2162 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2163 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2164 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2165 { (exit 1); exit 1; }; }
2168 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2169 echo "${ECHO_T}$ac_cv_host" >&6
2171 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2172 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2173 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2176 echo "$as_me:$LINENO: checking target system type" >&5
2177 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2178 if test "${ac_cv_target+set}" = set; then
2179 echo $ECHO_N "(cached) $ECHO_C" >&6
2181 ac_cv_target_alias=$target_alias
2182 test "x$ac_cv_target_alias" = "x" &&
2183 ac_cv_target_alias=$ac_cv_host_alias
2184 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2185 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2186 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2187 { (exit 1); exit 1; }; }
2190 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2191 echo "${ECHO_T}$ac_cv_target" >&6
2192 target=$ac_cv_target
2193 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2194 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2195 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2198 # The aliases save the names the user supplied, while $host etc.
2199 # will get canonicalized.
2200 test -n "$target_alias" &&
2201 test "$program_prefix$program_suffix$program_transform_name" = \
2203 program_prefix=${target_alias}-
2208 LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/
2214 LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/
2224 *sparc*solaris*) target=sparcv9-sun-solaris2.8
2233 *sparc*solaris*) ARCH=Sparc
2240 ac_cpp='$CXXCPP $CPPFLAGS'
2241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2244 if test -n "$ac_tool_prefix"; then
2245 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2247 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2248 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2249 echo "$as_me:$LINENO: checking for $ac_word" >&5
2250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2251 if test "${ac_cv_prog_CXX+set}" = set; then
2252 echo $ECHO_N "(cached) $ECHO_C" >&6
2254 if test -n "$CXX"; then
2255 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2261 test -z "$as_dir" && as_dir=.
2262 for ac_exec_ext in '' $ac_executable_extensions; do
2263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2264 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2274 if test -n "$CXX"; then
2275 echo "$as_me:$LINENO: result: $CXX" >&5
2276 echo "${ECHO_T}$CXX" >&6
2278 echo "$as_me:$LINENO: result: no" >&5
2279 echo "${ECHO_T}no" >&6
2282 test -n "$CXX" && break
2285 if test -z "$CXX"; then
2287 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2289 # Extract the first word of "$ac_prog", so it can be a program name with args.
2290 set dummy $ac_prog; ac_word=$2
2291 echo "$as_me:$LINENO: checking for $ac_word" >&5
2292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2293 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2294 echo $ECHO_N "(cached) $ECHO_C" >&6
2296 if test -n "$ac_ct_CXX"; then
2297 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2303 test -z "$as_dir" && as_dir=.
2304 for ac_exec_ext in '' $ac_executable_extensions; do
2305 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2306 ac_cv_prog_ac_ct_CXX="$ac_prog"
2307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2315 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2316 if test -n "$ac_ct_CXX"; then
2317 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2318 echo "${ECHO_T}$ac_ct_CXX" >&6
2320 echo "$as_me:$LINENO: result: no" >&5
2321 echo "${ECHO_T}no" >&6
2324 test -n "$ac_ct_CXX" && break
2326 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2332 # Provide some information about the compiler.
2333 echo "$as_me:$LINENO:" \
2334 "checking for C++ compiler version" >&5
2335 ac_compiler=`set X $ac_compile; echo $2`
2336 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2337 (eval $ac_compiler --version </dev/null >&5) 2>&5
2339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2340 (exit $ac_status); }
2341 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2342 (eval $ac_compiler -v </dev/null >&5) 2>&5
2344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2345 (exit $ac_status); }
2346 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2347 (eval $ac_compiler -V </dev/null >&5) 2>&5
2349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350 (exit $ac_status); }
2352 cat >conftest.$ac_ext <<_ACEOF
2353 #line $LINENO "configure"
2356 cat confdefs.h >>conftest.$ac_ext
2357 cat >>conftest.$ac_ext <<_ACEOF
2358 /* end confdefs.h. */
2368 ac_clean_files_save=$ac_clean_files
2369 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2370 # Try to create an executable without -o first, disregard a.out.
2371 # It will help us diagnose broken compilers, and finding out an intuition
2373 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
2374 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
2375 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2376 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2377 (eval $ac_link_default) 2>&5
2379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2380 (exit $ac_status); }; then
2381 # Find the output, starting from the most likely. This scheme is
2382 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2385 # Be careful to initialize this variable, since it used to be cached.
2386 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2388 # b.out is created by i960 compilers.
2389 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2391 test -f "$ac_file" || continue
2393 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2396 # This is the source file.
2399 # We found the default executable, but exeext='' is most
2403 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2404 # FIXME: I believe we export ac_cv_exeext for Libtool,
2405 # but it would be cool to find out if it's true. Does anybody
2406 # maintain Libtool? --akim.
2414 echo "$as_me: failed program was:" >&5
2415 sed 's/^/| /' conftest.$ac_ext >&5
2417 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2418 See \`config.log' for more details." >&5
2419 echo "$as_me: error: C++ compiler cannot create executables
2420 See \`config.log' for more details." >&2;}
2421 { (exit 77); exit 77; }; }
2424 ac_exeext=$ac_cv_exeext
2425 echo "$as_me:$LINENO: result: $ac_file" >&5
2426 echo "${ECHO_T}$ac_file" >&6
2428 # Check the compiler produces executables we can run. If not, either
2429 # the compiler is broken, or we cross compile.
2430 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2431 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2432 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2433 # If not cross compiling, check that we can run a simple program.
2434 if test "$cross_compiling" != yes; then
2435 if { ac_try='./$ac_file'
2436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2440 (exit $ac_status); }; }; then
2443 if test "$cross_compiling" = maybe; then
2446 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2447 If you meant to cross compile, use \`--host'.
2448 See \`config.log' for more details." >&5
2449 echo "$as_me: error: cannot run C++ compiled programs.
2450 If you meant to cross compile, use \`--host'.
2451 See \`config.log' for more details." >&2;}
2452 { (exit 1); exit 1; }; }
2456 echo "$as_me:$LINENO: result: yes" >&5
2457 echo "${ECHO_T}yes" >&6
2459 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2460 ac_clean_files=$ac_clean_files_save
2461 # Check the compiler produces executables we can run. If not, either
2462 # the compiler is broken, or we cross compile.
2463 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2464 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2465 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2466 echo "${ECHO_T}$cross_compiling" >&6
2468 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2469 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2471 (eval $ac_link) 2>&5
2473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2474 (exit $ac_status); }; then
2475 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2476 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2477 # work properly (i.e., refer to `conftest.exe'), while it won't with
2479 for ac_file in conftest.exe conftest conftest.*; do
2480 test -f "$ac_file" || continue
2482 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2483 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2490 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2491 See \`config.log' for more details." >&5
2492 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2493 See \`config.log' for more details." >&2;}
2494 { (exit 1); exit 1; }; }
2497 rm -f conftest$ac_cv_exeext
2498 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2499 echo "${ECHO_T}$ac_cv_exeext" >&6
2501 rm -f conftest.$ac_ext
2502 EXEEXT=$ac_cv_exeext
2504 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2505 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2506 if test "${ac_cv_objext+set}" = set; then
2507 echo $ECHO_N "(cached) $ECHO_C" >&6
2509 cat >conftest.$ac_ext <<_ACEOF
2510 #line $LINENO "configure"
2513 cat confdefs.h >>conftest.$ac_ext
2514 cat >>conftest.$ac_ext <<_ACEOF
2515 /* end confdefs.h. */
2525 rm -f conftest.o conftest.obj
2526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2527 (eval $ac_compile) 2>&5
2529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2530 (exit $ac_status); }; then
2531 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2533 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2534 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2539 echo "$as_me: failed program was:" >&5
2540 sed 's/^/| /' conftest.$ac_ext >&5
2542 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2543 See \`config.log' for more details." >&5
2544 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2545 See \`config.log' for more details." >&2;}
2546 { (exit 1); exit 1; }; }
2549 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2551 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2552 echo "${ECHO_T}$ac_cv_objext" >&6
2553 OBJEXT=$ac_cv_objext
2555 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2556 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2557 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2558 echo $ECHO_N "(cached) $ECHO_C" >&6
2560 cat >conftest.$ac_ext <<_ACEOF
2561 #line $LINENO "configure"
2564 cat confdefs.h >>conftest.$ac_ext
2565 cat >>conftest.$ac_ext <<_ACEOF
2566 /* end confdefs.h. */
2579 rm -f conftest.$ac_objext
2580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2581 (eval $ac_compile) 2>&5
2583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2584 (exit $ac_status); } &&
2585 { ac_try='test -s conftest.$ac_objext'
2586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590 (exit $ac_status); }; }; then
2593 echo "$as_me: failed program was:" >&5
2594 sed 's/^/| /' conftest.$ac_ext >&5
2598 rm -f conftest.$ac_objext conftest.$ac_ext
2599 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2602 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2603 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2604 GXX=`test $ac_compiler_gnu = yes && echo yes`
2605 ac_test_CXXFLAGS=${CXXFLAGS+set}
2606 ac_save_CXXFLAGS=$CXXFLAGS
2608 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2609 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2610 if test "${ac_cv_prog_cxx_g+set}" = set; then
2611 echo $ECHO_N "(cached) $ECHO_C" >&6
2613 cat >conftest.$ac_ext <<_ACEOF
2614 #line $LINENO "configure"
2617 cat confdefs.h >>conftest.$ac_ext
2618 cat >>conftest.$ac_ext <<_ACEOF
2619 /* end confdefs.h. */
2629 rm -f conftest.$ac_objext
2630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2631 (eval $ac_compile) 2>&5
2633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2634 (exit $ac_status); } &&
2635 { ac_try='test -s conftest.$ac_objext'
2636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); }; }; then
2641 ac_cv_prog_cxx_g=yes
2643 echo "$as_me: failed program was:" >&5
2644 sed 's/^/| /' conftest.$ac_ext >&5
2648 rm -f conftest.$ac_objext conftest.$ac_ext
2650 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2651 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2652 if test "$ac_test_CXXFLAGS" = set; then
2653 CXXFLAGS=$ac_save_CXXFLAGS
2654 elif test $ac_cv_prog_cxx_g = yes; then
2655 if test "$GXX" = yes; then
2661 if test "$GXX" = yes; then
2667 for ac_declaration in \
2669 '#include <stdlib.h>' \
2670 'extern "C" void std::exit (int) throw (); using std::exit;' \
2671 'extern "C" void std::exit (int); using std::exit;' \
2672 'extern "C" void exit (int) throw ();' \
2673 'extern "C" void exit (int);' \
2676 cat >conftest.$ac_ext <<_ACEOF
2677 #line $LINENO "configure"
2680 cat confdefs.h >>conftest.$ac_ext
2681 cat >>conftest.$ac_ext <<_ACEOF
2682 /* end confdefs.h. */
2693 rm -f conftest.$ac_objext
2694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2695 (eval $ac_compile) 2>&5
2697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2698 (exit $ac_status); } &&
2699 { ac_try='test -s conftest.$ac_objext'
2700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2704 (exit $ac_status); }; }; then
2707 echo "$as_me: failed program was:" >&5
2708 sed 's/^/| /' conftest.$ac_ext >&5
2712 rm -f conftest.$ac_objext conftest.$ac_ext
2713 cat >conftest.$ac_ext <<_ACEOF
2714 #line $LINENO "configure"
2717 cat confdefs.h >>conftest.$ac_ext
2718 cat >>conftest.$ac_ext <<_ACEOF
2719 /* end confdefs.h. */
2729 rm -f conftest.$ac_objext
2730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2731 (eval $ac_compile) 2>&5
2733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2734 (exit $ac_status); } &&
2735 { ac_try='test -s conftest.$ac_objext'
2736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2740 (exit $ac_status); }; }; then
2743 echo "$as_me: failed program was:" >&5
2744 sed 's/^/| /' conftest.$ac_ext >&5
2747 rm -f conftest.$ac_objext conftest.$ac_ext
2750 if test -n "$ac_declaration"; then
2751 echo '#ifdef __cplusplus' >>confdefs.h
2752 echo $ac_declaration >>confdefs.h
2753 echo '#endif' >>confdefs.h
2757 ac_cpp='$CPP $CPPFLAGS'
2758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2763 ac_cpp='$CPP $CPPFLAGS'
2764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2767 if test -n "$ac_tool_prefix"; then
2770 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2771 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2772 echo "$as_me:$LINENO: checking for $ac_word" >&5
2773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2774 if test "${ac_cv_prog_CC+set}" = set; then
2775 echo $ECHO_N "(cached) $ECHO_C" >&6
2777 if test -n "$CC"; then
2778 ac_cv_prog_CC="$CC" # Let the user override the test.
2780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2784 test -z "$as_dir" && as_dir=.
2785 for ac_exec_ext in '' $ac_executable_extensions; do
2786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2787 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2797 if test -n "$CC"; then
2798 echo "$as_me:$LINENO: result: $CC" >&5
2799 echo "${ECHO_T}$CC" >&6
2801 echo "$as_me:$LINENO: result: no" >&5
2802 echo "${ECHO_T}no" >&6
2805 test -n "$CC" && break
2808 if test -z "$CC"; then
2812 # Extract the first word of "$ac_prog", so it can be a program name with args.
2813 set dummy $ac_prog; ac_word=$2
2814 echo "$as_me:$LINENO: checking for $ac_word" >&5
2815 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2816 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2817 echo $ECHO_N "(cached) $ECHO_C" >&6
2819 if test -n "$ac_ct_CC"; then
2820 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2826 test -z "$as_dir" && as_dir=.
2827 for ac_exec_ext in '' $ac_executable_extensions; do
2828 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2829 ac_cv_prog_ac_ct_CC="$ac_prog"
2830 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2838 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2839 if test -n "$ac_ct_CC"; then
2840 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2841 echo "${ECHO_T}$ac_ct_CC" >&6
2843 echo "$as_me:$LINENO: result: no" >&5
2844 echo "${ECHO_T}no" >&6
2847 test -n "$ac_ct_CC" && break
2854 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2855 See \`config.log' for more details." >&5
2856 echo "$as_me: error: no acceptable C compiler found in \$PATH
2857 See \`config.log' for more details." >&2;}
2858 { (exit 1); exit 1; }; }
2860 # Provide some information about the compiler.
2861 echo "$as_me:$LINENO:" \
2862 "checking for C compiler version" >&5
2863 ac_compiler=`set X $ac_compile; echo $2`
2864 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2865 (eval $ac_compiler --version </dev/null >&5) 2>&5
2867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2868 (exit $ac_status); }
2869 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2870 (eval $ac_compiler -v </dev/null >&5) 2>&5
2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2873 (exit $ac_status); }
2874 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2875 (eval $ac_compiler -V </dev/null >&5) 2>&5
2877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2878 (exit $ac_status); }
2880 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2881 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2882 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2883 echo $ECHO_N "(cached) $ECHO_C" >&6
2885 cat >conftest.$ac_ext <<_ACEOF
2886 #line $LINENO "configure"
2889 cat confdefs.h >>conftest.$ac_ext
2890 cat >>conftest.$ac_ext <<_ACEOF
2891 /* end confdefs.h. */
2904 rm -f conftest.$ac_objext
2905 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2906 (eval $ac_compile) 2>&5
2908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2909 (exit $ac_status); } &&
2910 { ac_try='test -s conftest.$ac_objext'
2911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); }; }; then
2918 echo "$as_me: failed program was:" >&5
2919 sed 's/^/| /' conftest.$ac_ext >&5
2923 rm -f conftest.$ac_objext conftest.$ac_ext
2924 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2927 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2928 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2929 GCC=`test $ac_compiler_gnu = yes && echo yes`
2930 ac_test_CFLAGS=${CFLAGS+set}
2931 ac_save_CFLAGS=$CFLAGS
2933 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2934 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2935 if test "${ac_cv_prog_cc_g+set}" = set; then
2936 echo $ECHO_N "(cached) $ECHO_C" >&6
2938 cat >conftest.$ac_ext <<_ACEOF
2939 #line $LINENO "configure"
2942 cat confdefs.h >>conftest.$ac_ext
2943 cat >>conftest.$ac_ext <<_ACEOF
2944 /* end confdefs.h. */
2954 rm -f conftest.$ac_objext
2955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2956 (eval $ac_compile) 2>&5
2958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2959 (exit $ac_status); } &&
2960 { ac_try='test -s conftest.$ac_objext'
2961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965 (exit $ac_status); }; }; then
2968 echo "$as_me: failed program was:" >&5
2969 sed 's/^/| /' conftest.$ac_ext >&5
2973 rm -f conftest.$ac_objext conftest.$ac_ext
2975 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2976 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2977 if test "$ac_test_CFLAGS" = set; then
2978 CFLAGS=$ac_save_CFLAGS
2979 elif test $ac_cv_prog_cc_g = yes; then
2980 if test "$GCC" = yes; then
2986 if test "$GCC" = yes; then
2992 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2993 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2994 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2995 echo $ECHO_N "(cached) $ECHO_C" >&6
2997 ac_cv_prog_cc_stdc=no
2999 cat >conftest.$ac_ext <<_ACEOF
3000 #line $LINENO "configure"
3003 cat confdefs.h >>conftest.$ac_ext
3004 cat >>conftest.$ac_ext <<_ACEOF
3005 /* end confdefs.h. */
3008 #include <sys/types.h>
3009 #include <sys/stat.h>
3010 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3011 struct buf { int x; };
3012 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3013 static char *e (p, i)
3019 static char *f (char * (*g) (char **, int), char **p, ...)
3024 s = g (p, va_arg (v,int));
3028 int test (int i, double x);
3029 struct s1 {int (*f) (int a);};
3030 struct s2 {int (*f) (double a);};
3031 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3037 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3042 # Don't try gcc -ansi; that turns off useful extensions and
3043 # breaks some systems' header files.
3044 # AIX -qlanglvl=ansi
3045 # Ultrix and OSF/1 -std1
3046 # HP-UX 10.20 and later -Ae
3047 # HP-UX older versions -Aa -D_HPUX_SOURCE
3048 # SVR4 -Xc -D__EXTENSIONS__
3049 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3051 CC="$ac_save_CC $ac_arg"
3052 rm -f conftest.$ac_objext
3053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3054 (eval $ac_compile) 2>&5
3056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057 (exit $ac_status); } &&
3058 { ac_try='test -s conftest.$ac_objext'
3059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3063 (exit $ac_status); }; }; then
3064 ac_cv_prog_cc_stdc=$ac_arg
3067 echo "$as_me: failed program was:" >&5
3068 sed 's/^/| /' conftest.$ac_ext >&5
3071 rm -f conftest.$ac_objext
3073 rm -f conftest.$ac_ext conftest.$ac_objext
3078 case "x$ac_cv_prog_cc_stdc" in
3080 echo "$as_me:$LINENO: result: none needed" >&5
3081 echo "${ECHO_T}none needed" >&6 ;;
3083 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3084 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3085 CC="$CC $ac_cv_prog_cc_stdc" ;;
3088 # Some people use a C++ compiler to compile C. Since we use `exit',
3089 # in C++ we need to declare it. In case someone uses the same compiler
3090 # for both compiling C and C++ we need to have the C++ compiler decide
3091 # the declaration of exit, since it's the most demanding environment.
3092 cat >conftest.$ac_ext <<_ACEOF
3097 rm -f conftest.$ac_objext
3098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3099 (eval $ac_compile) 2>&5
3101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102 (exit $ac_status); } &&
3103 { ac_try='test -s conftest.$ac_objext'
3104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3108 (exit $ac_status); }; }; then
3109 for ac_declaration in \
3111 '#include <stdlib.h>' \
3112 'extern "C" void std::exit (int) throw (); using std::exit;' \
3113 'extern "C" void std::exit (int); using std::exit;' \
3114 'extern "C" void exit (int) throw ();' \
3115 'extern "C" void exit (int);' \
3118 cat >conftest.$ac_ext <<_ACEOF
3119 #line $LINENO "configure"
3122 cat confdefs.h >>conftest.$ac_ext
3123 cat >>conftest.$ac_ext <<_ACEOF
3124 /* end confdefs.h. */
3135 rm -f conftest.$ac_objext
3136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3137 (eval $ac_compile) 2>&5
3139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140 (exit $ac_status); } &&
3141 { ac_try='test -s conftest.$ac_objext'
3142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3146 (exit $ac_status); }; }; then
3149 echo "$as_me: failed program was:" >&5
3150 sed 's/^/| /' conftest.$ac_ext >&5
3154 rm -f conftest.$ac_objext conftest.$ac_ext
3155 cat >conftest.$ac_ext <<_ACEOF
3156 #line $LINENO "configure"
3159 cat confdefs.h >>conftest.$ac_ext
3160 cat >>conftest.$ac_ext <<_ACEOF
3161 /* end confdefs.h. */
3171 rm -f conftest.$ac_objext
3172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3173 (eval $ac_compile) 2>&5
3175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176 (exit $ac_status); } &&
3177 { ac_try='test -s conftest.$ac_objext'
3178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3182 (exit $ac_status); }; }; then
3185 echo "$as_me: failed program was:" >&5
3186 sed 's/^/| /' conftest.$ac_ext >&5
3189 rm -f conftest.$ac_objext conftest.$ac_ext
3192 if test -n "$ac_declaration"; then
3193 echo '#ifdef __cplusplus' >>confdefs.h
3194 echo $ac_declaration >>confdefs.h
3195 echo '#endif' >>confdefs.h
3199 echo "$as_me: failed program was:" >&5
3200 sed 's/^/| /' conftest.$ac_ext >&5
3203 rm -f conftest.$ac_objext conftest.$ac_ext
3205 ac_cpp='$CPP $CPPFLAGS'
3206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3211 ac_cpp='$CPP $CPPFLAGS'
3212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3215 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3216 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3217 # On Suns, sometimes $CPP names a directory.
3218 if test -n "$CPP" && test -d "$CPP"; then
3221 if test -z "$CPP"; then
3222 if test "${ac_cv_prog_CPP+set}" = set; then
3223 echo $ECHO_N "(cached) $ECHO_C" >&6
3225 # Double quotes because CPP needs to be expanded
3226 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3229 for ac_c_preproc_warn_flag in '' yes
3231 # Use a header file that comes with gcc, so configuring glibc
3232 # with a fresh cross-compiler works.
3233 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3234 # <limits.h> exists even on freestanding compilers.
3235 # On the NeXT, cc -E runs the code through the compiler's parser,
3236 # not just through cpp. "Syntax error" is here to catch this case.
3237 cat >conftest.$ac_ext <<_ACEOF
3238 #line $LINENO "configure"
3241 cat confdefs.h >>conftest.$ac_ext
3242 cat >>conftest.$ac_ext <<_ACEOF
3243 /* end confdefs.h. */
3245 # include <limits.h>
3247 # include <assert.h>
3251 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3252 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3254 grep -v '^ *+' conftest.er1 >conftest.err
3256 cat conftest.err >&5
3257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3258 (exit $ac_status); } >/dev/null; then
3259 if test -s conftest.err; then
3260 ac_cpp_err=$ac_c_preproc_warn_flag
3267 if test -z "$ac_cpp_err"; then
3270 echo "$as_me: failed program was:" >&5
3271 sed 's/^/| /' conftest.$ac_ext >&5
3273 # Broken: fails on valid input.
3276 rm -f conftest.err conftest.$ac_ext
3278 # OK, works on sane cases. Now check whether non-existent headers
3279 # can be detected and how.
3280 cat >conftest.$ac_ext <<_ACEOF
3281 #line $LINENO "configure"
3284 cat confdefs.h >>conftest.$ac_ext
3285 cat >>conftest.$ac_ext <<_ACEOF
3286 /* end confdefs.h. */
3287 #include <ac_nonexistent.h>
3289 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3290 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3292 grep -v '^ *+' conftest.er1 >conftest.err
3294 cat conftest.err >&5
3295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296 (exit $ac_status); } >/dev/null; then
3297 if test -s conftest.err; then
3298 ac_cpp_err=$ac_c_preproc_warn_flag
3305 if test -z "$ac_cpp_err"; then
3306 # Broken: success on invalid input.
3309 echo "$as_me: failed program was:" >&5
3310 sed 's/^/| /' conftest.$ac_ext >&5
3312 # Passes both tests.
3316 rm -f conftest.err conftest.$ac_ext
3319 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3320 rm -f conftest.err conftest.$ac_ext
3321 if $ac_preproc_ok; then
3333 echo "$as_me:$LINENO: result: $CPP" >&5
3334 echo "${ECHO_T}$CPP" >&6
3336 for ac_c_preproc_warn_flag in '' yes
3338 # Use a header file that comes with gcc, so configuring glibc
3339 # with a fresh cross-compiler works.
3340 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3341 # <limits.h> exists even on freestanding compilers.
3342 # On the NeXT, cc -E runs the code through the compiler's parser,
3343 # not just through cpp. "Syntax error" is here to catch this case.
3344 cat >conftest.$ac_ext <<_ACEOF
3345 #line $LINENO "configure"
3348 cat confdefs.h >>conftest.$ac_ext
3349 cat >>conftest.$ac_ext <<_ACEOF
3350 /* end confdefs.h. */
3352 # include <limits.h>
3354 # include <assert.h>
3358 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3359 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3361 grep -v '^ *+' conftest.er1 >conftest.err
3363 cat conftest.err >&5
3364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365 (exit $ac_status); } >/dev/null; then
3366 if test -s conftest.err; then
3367 ac_cpp_err=$ac_c_preproc_warn_flag
3374 if test -z "$ac_cpp_err"; then
3377 echo "$as_me: failed program was:" >&5
3378 sed 's/^/| /' conftest.$ac_ext >&5
3380 # Broken: fails on valid input.
3383 rm -f conftest.err conftest.$ac_ext
3385 # OK, works on sane cases. Now check whether non-existent headers
3386 # can be detected and how.
3387 cat >conftest.$ac_ext <<_ACEOF
3388 #line $LINENO "configure"
3391 cat confdefs.h >>conftest.$ac_ext
3392 cat >>conftest.$ac_ext <<_ACEOF
3393 /* end confdefs.h. */
3394 #include <ac_nonexistent.h>
3396 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3397 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3399 grep -v '^ *+' conftest.er1 >conftest.err
3401 cat conftest.err >&5
3402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3403 (exit $ac_status); } >/dev/null; then
3404 if test -s conftest.err; then
3405 ac_cpp_err=$ac_c_preproc_warn_flag
3412 if test -z "$ac_cpp_err"; then
3413 # Broken: success on invalid input.
3416 echo "$as_me: failed program was:" >&5
3417 sed 's/^/| /' conftest.$ac_ext >&5
3419 # Passes both tests.
3423 rm -f conftest.err conftest.$ac_ext
3426 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3427 rm -f conftest.err conftest.$ac_ext
3428 if $ac_preproc_ok; then
3431 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3432 See \`config.log' for more details." >&5
3433 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3434 See \`config.log' for more details." >&2;}
3435 { (exit 1); exit 1; }; }
3439 ac_cpp='$CPP $CPPFLAGS'
3440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3445 if test "$GCC" != "yes"
3447 { { echo "$as_me:$LINENO: error: gcc required but not found" >&5
3448 echo "$as_me: error: gcc required but not found" >&2;}
3449 { (exit 1); exit 1; }; }
3452 if test "$GXX" != "yes"
3454 { { echo "$as_me:$LINENO: error: g++ required but not found" >&5
3455 echo "$as_me: error: g++ required but not found" >&2;}
3456 { (exit 1); exit 1; }; }
3459 gccmajor=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1`
3460 if test "$gccmajor" -lt "3"
3462 { { echo "$as_me:$LINENO: error: gcc 3.x required" >&5
3463 echo "$as_me: error: gcc 3.x required" >&2;}
3464 { (exit 1); exit 1; }; }
3467 echo "$as_me:$LINENO: checking for GNU make" >&5
3468 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
3469 if test "${_cv_gnu_make_command+set}" = set; then
3470 echo $ECHO_N "(cached) $ECHO_C" >&6
3472 _cv_gnu_make_command='' ;
3473 for a in "$MAKE" make gmake gnumake ; do
3474 if test -z "$a" ; then continue ; fi ;
3475 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
3476 _cv_gnu_make_command=$a ;
3482 echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5
3483 echo "${ECHO_T}$_cv_gnu_make_command" >&6 ;
3484 if test "x$_cv_gnu_make_command" != "x" ; then
3488 echo "$as_me:$LINENO: result: \"Not found\"" >&5
3489 echo "${ECHO_T}\"Not found\"" >&6;
3493 if test -z "$_cv_gnu_make_command"
3495 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
3496 echo "$as_me: error: GNU Make required but not found" >&2;}
3497 { (exit 1); exit 1; }; }
3501 echo "$as_me:$LINENO: checking " >&5
3502 echo $ECHO_N "checking ... $ECHO_C" >&6
3503 if test "${ac_cv_has_flex+set}" = set; then
3504 echo $ECHO_N "(cached) $ECHO_C" >&6
3506 for ac_prog in flex lex
3508 # Extract the first word of "$ac_prog", so it can be a program name with args.
3509 set dummy $ac_prog; ac_word=$2
3510 echo "$as_me:$LINENO: checking for $ac_word" >&5
3511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3512 if test "${ac_cv_prog_LEX+set}" = set; then
3513 echo $ECHO_N "(cached) $ECHO_C" >&6
3515 if test -n "$LEX"; then
3516 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3522 test -z "$as_dir" && as_dir=.
3523 for ac_exec_ext in '' $ac_executable_extensions; do
3524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3525 ac_cv_prog_LEX="$ac_prog"
3526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3535 if test -n "$LEX"; then
3536 echo "$as_me:$LINENO: result: $LEX" >&5
3537 echo "${ECHO_T}$LEX" >&6
3539 echo "$as_me:$LINENO: result: no" >&5
3540 echo "${ECHO_T}no" >&6
3543 test -n "$LEX" && break
3545 test -n "$LEX" || LEX=":"
3547 if test -z "$LEXLIB"
3549 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3550 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3551 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3552 echo $ECHO_N "(cached) $ECHO_C" >&6
3554 ac_check_lib_save_LIBS=$LIBS
3556 cat >conftest.$ac_ext <<_ACEOF
3557 #line $LINENO "configure"
3560 cat confdefs.h >>conftest.$ac_ext
3561 cat >>conftest.$ac_ext <<_ACEOF
3562 /* end confdefs.h. */
3564 /* Override any gcc2 internal prototype to avoid an error. */
3568 /* We use char because int might match the return type of a gcc2
3569 builtin and then its argument prototype would still apply. */
3579 rm -f conftest.$ac_objext conftest$ac_exeext
3580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3581 (eval $ac_link) 2>&5
3583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3584 (exit $ac_status); } &&
3585 { ac_try='test -s conftest$ac_exeext'
3586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590 (exit $ac_status); }; }; then
3591 ac_cv_lib_fl_yywrap=yes
3593 echo "$as_me: failed program was:" >&5
3594 sed 's/^/| /' conftest.$ac_ext >&5
3596 ac_cv_lib_fl_yywrap=no
3598 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3599 LIBS=$ac_check_lib_save_LIBS
3601 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3602 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3603 if test $ac_cv_lib_fl_yywrap = yes; then
3606 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3607 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3608 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3609 echo $ECHO_N "(cached) $ECHO_C" >&6
3611 ac_check_lib_save_LIBS=$LIBS
3613 cat >conftest.$ac_ext <<_ACEOF
3614 #line $LINENO "configure"
3617 cat confdefs.h >>conftest.$ac_ext
3618 cat >>conftest.$ac_ext <<_ACEOF
3619 /* end confdefs.h. */
3621 /* Override any gcc2 internal prototype to avoid an error. */
3625 /* We use char because int might match the return type of a gcc2
3626 builtin and then its argument prototype would still apply. */
3636 rm -f conftest.$ac_objext conftest$ac_exeext
3637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3638 (eval $ac_link) 2>&5
3640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3641 (exit $ac_status); } &&
3642 { ac_try='test -s conftest$ac_exeext'
3643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3647 (exit $ac_status); }; }; then
3648 ac_cv_lib_l_yywrap=yes
3650 echo "$as_me: failed program was:" >&5
3651 sed 's/^/| /' conftest.$ac_ext >&5
3653 ac_cv_lib_l_yywrap=no
3655 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3656 LIBS=$ac_check_lib_save_LIBS
3658 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3659 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3660 if test $ac_cv_lib_l_yywrap = yes; then
3668 if test "x$LEX" != "x:"; then
3669 echo "$as_me:$LINENO: checking lex output file root" >&5
3670 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3671 if test "${ac_cv_prog_lex_root+set}" = set; then
3672 echo $ECHO_N "(cached) $ECHO_C" >&6
3674 # The minimal lex program is just a single line: %%. But some broken lexes
3675 # (Solaris, I think it was) want two %% lines, so accommodate them.
3676 cat >conftest.l <<_ACEOF
3680 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3681 (eval $LEX conftest.l) 2>&5
3683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3684 (exit $ac_status); }
3685 if test -f lex.yy.c; then
3686 ac_cv_prog_lex_root=lex.yy
3687 elif test -f lexyy.c; then
3688 ac_cv_prog_lex_root=lexyy
3690 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3691 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3692 { (exit 1); exit 1; }; }
3695 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3696 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3698 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3700 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3701 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3702 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3703 echo $ECHO_N "(cached) $ECHO_C" >&6
3705 # POSIX says lex can declare yytext either as a pointer or an array; the
3706 # default is implementation-dependent. Figure out which it is, since
3707 # not all implementations provide the %pointer and %array declarations.
3708 ac_cv_prog_lex_yytext_pointer=no
3709 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3711 LIBS="$LIBS $LEXLIB"
3712 cat >conftest.$ac_ext <<_ACEOF
3713 `cat $LEX_OUTPUT_ROOT.c`
3715 rm -f conftest.$ac_objext conftest$ac_exeext
3716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3717 (eval $ac_link) 2>&5
3719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3720 (exit $ac_status); } &&
3721 { ac_try='test -s conftest$ac_exeext'
3722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3726 (exit $ac_status); }; }; then
3727 ac_cv_prog_lex_yytext_pointer=yes
3729 echo "$as_me: failed program was:" >&5
3730 sed 's/^/| /' conftest.$ac_ext >&5
3733 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3735 rm -f "${LEX_OUTPUT_ROOT}.c"
3738 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3739 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3740 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3742 cat >>confdefs.h <<\_ACEOF
3743 #define YYTEXT_POINTER 1
3751 echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
3752 echo "${ECHO_T}$ac_cv_has_flex" >&6
3753 if test "$LEX" != "flex"; then
3754 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
3755 echo "$as_me: error: flex not found but required" >&2;}
3756 { (exit 1); exit 1; }; }
3759 echo "$as_me:$LINENO: checking " >&5
3760 echo $ECHO_N "checking ... $ECHO_C" >&6
3761 if test "${ac_cv_has_bison+set}" = set; then
3762 echo $ECHO_N "(cached) $ECHO_C" >&6
3764 for ac_prog in 'bison -y' byacc
3766 # Extract the first word of "$ac_prog", so it can be a program name with args.
3767 set dummy $ac_prog; ac_word=$2
3768 echo "$as_me:$LINENO: checking for $ac_word" >&5
3769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3770 if test "${ac_cv_prog_YACC+set}" = set; then
3771 echo $ECHO_N "(cached) $ECHO_C" >&6
3773 if test -n "$YACC"; then
3774 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3780 test -z "$as_dir" && as_dir=.
3781 for ac_exec_ext in '' $ac_executable_extensions; do
3782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3783 ac_cv_prog_YACC="$ac_prog"
3784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3792 YACC=$ac_cv_prog_YACC
3793 if test -n "$YACC"; then
3794 echo "$as_me:$LINENO: result: $YACC" >&5
3795 echo "${ECHO_T}$YACC" >&6
3797 echo "$as_me:$LINENO: result: no" >&5
3798 echo "${ECHO_T}no" >&6
3801 test -n "$YACC" && break
3803 test -n "$YACC" || YACC="yacc"
3807 echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5
3808 echo "${ECHO_T}$ac_cv_has_bison" >&6
3809 if test "$YACC" != "bison -y"; then
3810 { { echo "$as_me:$LINENO: error: bison not found but required" >&5
3811 echo "$as_me: error: bison not found but required" >&2;}
3812 { (exit 1); exit 1; }; }
3819 # Check whether --enable-shared or --disable-shared was given.
3820 if test "${enable_shared+set}" = set; then
3821 enableval="$enable_shared"
3822 p=${PACKAGE-default}
3824 yes) enable_shared=yes ;;
3825 no) enable_shared=no ;;
3828 # Look at the argument we got. We use all the common list separators.
3829 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3830 for pkg in $enableval; do
3832 if test "X$pkg" = "X$p"; then
3843 # Check whether --enable-static or --disable-static was given.
3844 if test "${enable_static+set}" = set; then
3845 enableval="$enable_static"
3846 p=${PACKAGE-default}
3848 yes) enable_static=yes ;;
3849 no) enable_static=no ;;
3852 # Look at the argument we got. We use all the common list separators.
3853 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3854 for pkg in $enableval; do
3856 if test "X$pkg" = "X$p"; then
3867 # Check whether --enable-fast-install or --disable-fast-install was given.
3868 if test "${enable_fast_install+set}" = set; then
3869 enableval="$enable_fast_install"
3870 p=${PACKAGE-default}
3872 yes) enable_fast_install=yes ;;
3873 no) enable_fast_install=no ;;
3875 enable_fast_install=no
3876 # Look at the argument we got. We use all the common list separators.
3877 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3878 for pkg in $enableval; do
3880 if test "X$pkg" = "X$p"; then
3881 enable_fast_install=yes
3888 enable_fast_install=yes
3891 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3892 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3893 if test "${lt_cv_path_SED+set}" = set; then
3894 echo $ECHO_N "(cached) $ECHO_C" >&6
3896 # Loop through the user's path and test for sed and gsed.
3897 # Then use that list of sed's as ones to test for truncation.
3898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3902 test -z "$as_dir" && as_dir=.
3903 for lt_ac_prog in sed gsed; do
3904 for ac_exec_ext in '' $ac_executable_extensions; do
3905 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3906 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3913 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3914 # along with /bin/sed that truncates output.
3915 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3916 test ! -f $lt_ac_sed && break
3917 cat /dev/null > conftest.in
3919 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3920 # Check for GNU sed and select it if it is found.
3921 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3922 lt_cv_path_SED=$lt_ac_sed
3926 cat conftest.in conftest.in >conftest.tmp
3927 mv conftest.tmp conftest.in
3928 cp conftest.in conftest.nl
3930 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3931 cmp -s conftest.out conftest.nl || break
3932 # 10000 chars as input seems more than enough
3933 test $lt_ac_count -gt 10 && break
3934 lt_ac_count=`expr $lt_ac_count + 1`
3935 if test $lt_ac_count -gt $lt_ac_max; then
3936 lt_ac_max=$lt_ac_count
3937 lt_cv_path_SED=$lt_ac_sed
3945 echo "$as_me:$LINENO: result: $SED" >&5
3946 echo "${ECHO_T}$SED" >&6
3948 echo "$as_me:$LINENO: checking for egrep" >&5
3949 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3950 if test "${ac_cv_prog_egrep+set}" = set; then
3951 echo $ECHO_N "(cached) $ECHO_C" >&6
3953 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3954 then ac_cv_prog_egrep='grep -E'
3955 else ac_cv_prog_egrep='egrep'
3958 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3959 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3960 EGREP=$ac_cv_prog_egrep
3964 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3965 if test "${with_gnu_ld+set}" = set; then
3966 withval="$with_gnu_ld"
3967 test "$withval" = no || with_gnu_ld=yes
3972 if test "$GCC" = yes; then
3973 # Check if gcc -print-prog-name=ld gives a path.
3974 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3975 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3978 # gcc leaves a trailing carriage return which upsets mingw
3979 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3981 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3984 # Accept absolute paths.
3986 re_direlt='/[^/][^/]*/\.\./'
3987 # Canonicalize the path of ld
3988 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3989 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3990 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3992 test -z "$LD" && LD="$ac_prog"
3995 # If it fails, then pretend we aren't using GCC.
3999 # If it is relative, then search for the first ld in PATH.
4003 elif test "$with_gnu_ld" = yes; then
4004 echo "$as_me:$LINENO: checking for GNU ld" >&5
4005 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4007 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4008 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4010 if test "${lt_cv_path_LD+set}" = set; then
4011 echo $ECHO_N "(cached) $ECHO_C" >&6
4013 if test -z "$LD"; then
4014 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4015 for ac_dir in $PATH; do
4017 test -z "$ac_dir" && ac_dir=.
4018 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4019 lt_cv_path_LD="$ac_dir/$ac_prog"
4020 # Check to see if the program is GNU ld. I'd rather use --version,
4021 # but apparently some GNU ld's only accept -v.
4022 # Break only if it was the GNU/non-GNU ld that we prefer.
4023 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4024 *GNU* | *'with BFD'*)
4025 test "$with_gnu_ld" != no && break
4028 test "$with_gnu_ld" != yes && break
4035 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4040 if test -n "$LD"; then
4041 echo "$as_me:$LINENO: result: $LD" >&5
4042 echo "${ECHO_T}$LD" >&6
4044 echo "$as_me:$LINENO: result: no" >&5
4045 echo "${ECHO_T}no" >&6
4047 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4048 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4049 { (exit 1); exit 1; }; }
4050 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4051 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4052 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4053 echo $ECHO_N "(cached) $ECHO_C" >&6
4055 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4056 case `"$LD" -v 2>&1 </dev/null` in
4057 *GNU* | *'with BFD'*)
4058 lt_cv_prog_gnu_ld=yes
4061 lt_cv_prog_gnu_ld=no
4065 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4066 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4067 with_gnu_ld=$lt_cv_prog_gnu_ld
4070 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4071 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4072 if test "${lt_cv_ld_reload_flag+set}" = set; then
4073 echo $ECHO_N "(cached) $ECHO_C" >&6
4075 lt_cv_ld_reload_flag='-r'
4077 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4078 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4079 reload_flag=$lt_cv_ld_reload_flag
4080 case $reload_flag in
4082 *) reload_flag=" $reload_flag" ;;
4084 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4086 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4087 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4088 if test "${lt_cv_path_NM+set}" = set; then
4089 echo $ECHO_N "(cached) $ECHO_C" >&6
4091 if test -n "$NM"; then
4092 # Let the user override the test.
4095 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4096 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4098 test -z "$ac_dir" && ac_dir=.
4099 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4100 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4101 # Check to see if the nm accepts a BSD-compat flag.
4102 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4103 # nm: unknown option "B" ignored
4104 # Tru64's nm complains that /dev/null is an invalid object file
4105 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4106 */dev/null* | *'Invalid file or object type'*)
4107 lt_cv_path_NM="$tmp_nm -B"
4111 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4113 lt_cv_path_NM="$tmp_nm -p"
4117 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4118 continue # so that we can try to find one that supports BSD flags
4125 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4128 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4129 echo "${ECHO_T}$lt_cv_path_NM" >&6
4132 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4133 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4135 if test "$LN_S" = "ln -s"; then
4136 echo "$as_me:$LINENO: result: yes" >&5
4137 echo "${ECHO_T}yes" >&6
4139 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4140 echo "${ECHO_T}no, using $LN_S" >&6
4143 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4144 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4145 if test "${lt_cv_deplibs_check_method+set}" = set; then
4146 echo $ECHO_N "(cached) $ECHO_C" >&6
4148 lt_cv_file_magic_cmd='$MAGIC_CMD'
4149 lt_cv_file_magic_test_file=
4150 lt_cv_deplibs_check_method='unknown'
4151 # Need to set the preceding variable on all platforms that support
4152 # interlibrary dependencies.
4153 # 'none' -- dependencies not supported.
4154 # `unknown' -- same as none, but documents that we really don't know.
4155 # 'pass_all' -- all dependencies passed with no checks.
4156 # 'test_compile' -- check by making test program.
4157 # 'file_magic [[regex]]' -- check by looking for files in library path
4158 # which responds to the $file_magic_cmd with a given extended regex.
4159 # If you have `file' or equivalent on your system and you're not sure
4160 # whether `pass_all' will *always* work, you probably want this one.
4164 lt_cv_deplibs_check_method=pass_all
4168 lt_cv_deplibs_check_method=pass_all
4172 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4173 lt_cv_file_magic_cmd='/usr/bin/file -L'
4174 lt_cv_file_magic_test_file=/shlib/libc.so
4177 cygwin* | mingw* | pw32*)
4178 # win32_libid is a shell function defined in ltmain.sh
4179 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4180 lt_cv_file_magic_cmd='win32_libid'
4183 darwin* | rhapsody*)
4184 # this will be overwritten by pass_all, but leave it in just in case
4185 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4186 lt_cv_file_magic_cmd='/usr/bin/file -L'
4188 rhapsody* | darwin1.[012])
4189 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4192 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4195 lt_cv_deplibs_check_method=pass_all
4199 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4202 # Not sure whether the presence of OpenBSD here was a mistake.
4203 # Let's accept both of them until this is cleared up.
4204 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4205 lt_cv_file_magic_cmd=/usr/bin/file
4206 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4210 lt_cv_deplibs_check_method=pass_all
4215 lt_cv_deplibs_check_method=pass_all
4218 hpux10.20* | hpux11*)
4219 lt_cv_file_magic_cmd=/usr/bin/file
4222 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4223 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4226 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]'
4227 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4230 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4231 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4236 irix5* | irix6* | nonstopux*)
4238 irix5* | nonstopux*)
4239 # this will be overridden with pass_all, but let us keep it just in case
4240 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4244 *-32|*"-32 ") libmagic=32-bit;;
4245 *-n32|*"-n32 ") libmagic=N32;;
4246 *-64|*"-64 ") libmagic=64-bit;;
4247 *) libmagic=never-match;;
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 ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4253 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4254 lt_cv_deplibs_check_method=pass_all
4257 # This must be Linux ELF.
4260 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
4261 lt_cv_deplibs_check_method=pass_all ;;
4263 # glibc up to 2.1.1 does not perform some relocations on ARM
4264 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4266 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4270 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4271 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4273 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4278 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4279 lt_cv_file_magic_cmd=/usr/bin/file
4280 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4284 lt_cv_deplibs_check_method=unknown
4288 lt_cv_file_magic_cmd=/usr/bin/file
4289 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4290 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4291 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4293 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4297 osf3* | osf4* | osf5*)
4298 # this will be overridden with pass_all, but let us keep it just in case
4299 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4300 lt_cv_file_magic_test_file=/shlib/libc.so
4301 lt_cv_deplibs_check_method=pass_all
4305 lt_cv_deplibs_check_method=pass_all
4309 lt_cv_deplibs_check_method=pass_all
4310 lt_cv_file_magic_test_file=/lib/libc.so
4313 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4314 case $host_vendor in
4316 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]'
4317 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4320 lt_cv_deplibs_check_method=pass_all
4323 lt_cv_file_magic_cmd='/bin/file'
4324 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4327 lt_cv_file_magic_cmd='/bin/file'
4328 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4329 lt_cv_file_magic_test_file=/lib/libc.so
4332 lt_cv_deplibs_check_method=pass_all
4337 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4338 lt_cv_deplibs_check_method=pass_all
4343 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4344 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4345 file_magic_cmd=$lt_cv_file_magic_cmd
4346 deplibs_check_method=$lt_cv_deplibs_check_method
4347 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4352 # If no C compiler was specified, use CC.
4355 # Allow CC to be a program name with arguments.
4358 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4359 if test "${enable_libtool_lock+set}" = set; then
4360 enableval="$enable_libtool_lock"
4363 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4365 # Some flags need to be propagated to the compiler or linker for good
4369 # Find out which ABI we are using.
4370 echo 'int i;' > conftest.$ac_ext
4371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4372 (eval $ac_compile) 2>&5
4374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4375 (exit $ac_status); }; then
4376 case `/usr/bin/file conftest.$ac_objext` in
4388 # Find out which ABI we are using.
4389 echo '#line 4386 "configure"' > conftest.$ac_ext
4390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4391 (eval $ac_compile) 2>&5
4393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4394 (exit $ac_status); }; then
4395 if test "$lt_cv_prog_gnu_ld" = yes; then
4396 case `/usr/bin/file conftest.$ac_objext` in
4398 LD="${LD-ld} -melf32bsmip"
4401 LD="${LD-ld} -melf32bmipn32"
4404 LD="${LD-ld} -melf64bmip"
4408 case `/usr/bin/file conftest.$ac_objext` in
4424 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4425 # Find out which ABI we are using.
4426 echo 'int i;' > conftest.$ac_ext
4427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4428 (eval $ac_compile) 2>&5
4430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4431 (exit $ac_status); }; then
4432 case "`/usr/bin/file conftest.o`" in
4436 LD="${LD-ld} -m elf_i386"
4439 LD="${LD-ld} -m elf32ppclinux"
4442 LD="${LD-ld} -m elf_s390"
4445 LD="${LD-ld} -m elf32_sparc"
4452 LD="${LD-ld} -m elf_x86_64"
4454 ppc*-*linux*|powerpc*-*linux*)
4455 LD="${LD-ld} -m elf64ppc"
4458 LD="${LD-ld} -m elf64_s390"
4461 LD="${LD-ld} -m elf64_sparc"
4471 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4472 SAVE_CFLAGS="$CFLAGS"
4473 CFLAGS="$CFLAGS -belf"
4474 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4475 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4476 if test "${lt_cv_cc_needs_belf+set}" = set; then
4477 echo $ECHO_N "(cached) $ECHO_C" >&6
4480 ac_cpp='$CPP $CPPFLAGS'
4481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4485 cat >conftest.$ac_ext <<_ACEOF
4486 #line $LINENO "configure"
4489 cat confdefs.h >>conftest.$ac_ext
4490 cat >>conftest.$ac_ext <<_ACEOF
4491 /* end confdefs.h. */
4501 rm -f conftest.$ac_objext conftest$ac_exeext
4502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4503 (eval $ac_link) 2>&5
4505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4506 (exit $ac_status); } &&
4507 { ac_try='test -s conftest$ac_exeext'
4508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4512 (exit $ac_status); }; }; then
4513 lt_cv_cc_needs_belf=yes
4515 echo "$as_me: failed program was:" >&5
4516 sed 's/^/| /' conftest.$ac_ext >&5
4518 lt_cv_cc_needs_belf=no
4520 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4522 ac_cpp='$CPP $CPPFLAGS'
4523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4528 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4529 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4530 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4531 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4532 CFLAGS="$SAVE_CFLAGS"
4538 need_locks="$enable_libtool_lock"
4542 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4543 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4544 if test "${ac_cv_header_stdc+set}" = set; then
4545 echo $ECHO_N "(cached) $ECHO_C" >&6
4547 cat >conftest.$ac_ext <<_ACEOF
4548 #line $LINENO "configure"
4551 cat confdefs.h >>conftest.$ac_ext
4552 cat >>conftest.$ac_ext <<_ACEOF
4553 /* end confdefs.h. */
4567 rm -f conftest.$ac_objext
4568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4569 (eval $ac_compile) 2>&5
4571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572 (exit $ac_status); } &&
4573 { ac_try='test -s conftest.$ac_objext'
4574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4578 (exit $ac_status); }; }; then
4579 ac_cv_header_stdc=yes
4581 echo "$as_me: failed program was:" >&5
4582 sed 's/^/| /' conftest.$ac_ext >&5
4584 ac_cv_header_stdc=no
4586 rm -f conftest.$ac_objext conftest.$ac_ext
4588 if test $ac_cv_header_stdc = yes; then
4589 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4590 cat >conftest.$ac_ext <<_ACEOF
4591 #line $LINENO "configure"
4594 cat confdefs.h >>conftest.$ac_ext
4595 cat >>conftest.$ac_ext <<_ACEOF
4596 /* end confdefs.h. */
4600 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4601 $EGREP "memchr" >/dev/null 2>&1; then
4604 ac_cv_header_stdc=no
4610 if test $ac_cv_header_stdc = yes; then
4611 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4612 cat >conftest.$ac_ext <<_ACEOF
4613 #line $LINENO "configure"
4616 cat confdefs.h >>conftest.$ac_ext
4617 cat >>conftest.$ac_ext <<_ACEOF
4618 /* end confdefs.h. */
4622 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4623 $EGREP "free" >/dev/null 2>&1; then
4626 ac_cv_header_stdc=no
4632 if test $ac_cv_header_stdc = yes; then
4633 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4634 if test "$cross_compiling" = yes; then
4637 cat >conftest.$ac_ext <<_ACEOF
4638 #line $LINENO "configure"
4641 cat confdefs.h >>conftest.$ac_ext
4642 cat >>conftest.$ac_ext <<_ACEOF
4643 /* end confdefs.h. */
4645 #if ((' ' & 0x0FF) == 0x020)
4646 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4647 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4649 # define ISLOWER(c) \
4650 (('a' <= (c) && (c) <= 'i') \
4651 || ('j' <= (c) && (c) <= 'r') \
4652 || ('s' <= (c) && (c) <= 'z'))
4653 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4656 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4661 for (i = 0; i < 256; i++)
4662 if (XOR (islower (i), ISLOWER (i))
4663 || toupper (i) != TOUPPER (i))
4668 rm -f conftest$ac_exeext
4669 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4670 (eval $ac_link) 2>&5
4672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4673 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4678 (exit $ac_status); }; }; then
4681 echo "$as_me: program exited with status $ac_status" >&5
4682 echo "$as_me: failed program was:" >&5
4683 sed 's/^/| /' conftest.$ac_ext >&5
4686 ac_cv_header_stdc=no
4688 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4692 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4693 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4694 if test $ac_cv_header_stdc = yes; then
4696 cat >>confdefs.h <<\_ACEOF
4697 #define STDC_HEADERS 1
4702 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4712 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4713 inttypes.h stdint.h unistd.h
4715 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4716 echo "$as_me:$LINENO: checking for $ac_header" >&5
4717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4718 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4719 echo $ECHO_N "(cached) $ECHO_C" >&6
4721 cat >conftest.$ac_ext <<_ACEOF
4722 #line $LINENO "configure"
4725 cat confdefs.h >>conftest.$ac_ext
4726 cat >>conftest.$ac_ext <<_ACEOF
4727 /* end confdefs.h. */
4728 $ac_includes_default
4730 #include <$ac_header>
4732 rm -f conftest.$ac_objext
4733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4734 (eval $ac_compile) 2>&5
4736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4737 (exit $ac_status); } &&
4738 { ac_try='test -s conftest.$ac_objext'
4739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4743 (exit $ac_status); }; }; then
4744 eval "$as_ac_Header=yes"
4746 echo "$as_me: failed program was:" >&5
4747 sed 's/^/| /' conftest.$ac_ext >&5
4749 eval "$as_ac_Header=no"
4751 rm -f conftest.$ac_objext conftest.$ac_ext
4753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4754 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4755 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4756 cat >>confdefs.h <<_ACEOF
4757 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4766 for ac_header in dlfcn.h
4768 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4769 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4770 echo "$as_me:$LINENO: checking for $ac_header" >&5
4771 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4772 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4773 echo $ECHO_N "(cached) $ECHO_C" >&6
4775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4776 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4778 # Is the header compilable?
4779 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4780 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4781 cat >conftest.$ac_ext <<_ACEOF
4782 #line $LINENO "configure"
4785 cat confdefs.h >>conftest.$ac_ext
4786 cat >>conftest.$ac_ext <<_ACEOF
4787 /* end confdefs.h. */
4788 $ac_includes_default
4789 #include <$ac_header>
4791 rm -f conftest.$ac_objext
4792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4793 (eval $ac_compile) 2>&5
4795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4796 (exit $ac_status); } &&
4797 { ac_try='test -s conftest.$ac_objext'
4798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4802 (exit $ac_status); }; }; then
4803 ac_header_compiler=yes
4805 echo "$as_me: failed program was:" >&5
4806 sed 's/^/| /' conftest.$ac_ext >&5
4808 ac_header_compiler=no
4810 rm -f conftest.$ac_objext conftest.$ac_ext
4811 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4812 echo "${ECHO_T}$ac_header_compiler" >&6
4814 # Is the header present?
4815 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4816 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4817 cat >conftest.$ac_ext <<_ACEOF
4818 #line $LINENO "configure"
4821 cat confdefs.h >>conftest.$ac_ext
4822 cat >>conftest.$ac_ext <<_ACEOF
4823 /* end confdefs.h. */
4824 #include <$ac_header>
4826 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4827 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4829 grep -v '^ *+' conftest.er1 >conftest.err
4831 cat conftest.err >&5
4832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4833 (exit $ac_status); } >/dev/null; then
4834 if test -s conftest.err; then
4835 ac_cpp_err=$ac_c_preproc_warn_flag
4842 if test -z "$ac_cpp_err"; then
4843 ac_header_preproc=yes
4845 echo "$as_me: failed program was:" >&5
4846 sed 's/^/| /' conftest.$ac_ext >&5
4848 ac_header_preproc=no
4850 rm -f conftest.err conftest.$ac_ext
4851 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4852 echo "${ECHO_T}$ac_header_preproc" >&6
4854 # So? What about this header?
4855 case $ac_header_compiler:$ac_header_preproc in
4857 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4858 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4859 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4860 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4863 ## ------------------------------------ ##
4864 ## Report this to bug-autoconf@gnu.org. ##
4865 ## ------------------------------------ ##
4868 sed "s/^/$as_me: WARNING: /" >&2
4871 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4872 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4873 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4874 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4875 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4876 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4879 ## ------------------------------------ ##
4880 ## Report this to bug-autoconf@gnu.org. ##
4881 ## ------------------------------------ ##
4884 sed "s/^/$as_me: WARNING: /" >&2
4887 echo "$as_me:$LINENO: checking for $ac_header" >&5
4888 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4890 echo $ECHO_N "(cached) $ECHO_C" >&6
4892 eval "$as_ac_Header=$ac_header_preproc"
4894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4895 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4898 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4899 cat >>confdefs.h <<_ACEOF
4900 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4908 ac_cpp='$CXXCPP $CPPFLAGS'
4909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4912 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4913 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4914 if test -z "$CXXCPP"; then
4915 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4916 echo $ECHO_N "(cached) $ECHO_C" >&6
4918 # Double quotes because CXXCPP needs to be expanded
4919 for CXXCPP in "$CXX -E" "/lib/cpp"
4922 for ac_cxx_preproc_warn_flag in '' yes
4924 # Use a header file that comes with gcc, so configuring glibc
4925 # with a fresh cross-compiler works.
4926 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4927 # <limits.h> exists even on freestanding compilers.
4928 # On the NeXT, cc -E runs the code through the compiler's parser,
4929 # not just through cpp. "Syntax error" is here to catch this case.
4930 cat >conftest.$ac_ext <<_ACEOF
4931 #line $LINENO "configure"
4934 cat confdefs.h >>conftest.$ac_ext
4935 cat >>conftest.$ac_ext <<_ACEOF
4936 /* end confdefs.h. */
4938 # include <limits.h>
4940 # include <assert.h>
4944 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4945 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4947 grep -v '^ *+' conftest.er1 >conftest.err
4949 cat conftest.err >&5
4950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4951 (exit $ac_status); } >/dev/null; then
4952 if test -s conftest.err; then
4953 ac_cpp_err=$ac_cxx_preproc_warn_flag
4960 if test -z "$ac_cpp_err"; then
4963 echo "$as_me: failed program was:" >&5
4964 sed 's/^/| /' conftest.$ac_ext >&5
4966 # Broken: fails on valid input.
4969 rm -f conftest.err conftest.$ac_ext
4971 # OK, works on sane cases. Now check whether non-existent headers
4972 # can be detected and how.
4973 cat >conftest.$ac_ext <<_ACEOF
4974 #line $LINENO "configure"
4977 cat confdefs.h >>conftest.$ac_ext
4978 cat >>conftest.$ac_ext <<_ACEOF
4979 /* end confdefs.h. */
4980 #include <ac_nonexistent.h>
4982 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4983 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4985 grep -v '^ *+' conftest.er1 >conftest.err
4987 cat conftest.err >&5
4988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4989 (exit $ac_status); } >/dev/null; then
4990 if test -s conftest.err; then
4991 ac_cpp_err=$ac_cxx_preproc_warn_flag
4998 if test -z "$ac_cpp_err"; then
4999 # Broken: success on invalid input.
5002 echo "$as_me: failed program was:" >&5
5003 sed 's/^/| /' conftest.$ac_ext >&5
5005 # Passes both tests.
5009 rm -f conftest.err conftest.$ac_ext
5012 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5013 rm -f conftest.err conftest.$ac_ext
5014 if $ac_preproc_ok; then
5019 ac_cv_prog_CXXCPP=$CXXCPP
5022 CXXCPP=$ac_cv_prog_CXXCPP
5024 ac_cv_prog_CXXCPP=$CXXCPP
5026 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5027 echo "${ECHO_T}$CXXCPP" >&6
5029 for ac_cxx_preproc_warn_flag in '' yes
5031 # Use a header file that comes with gcc, so configuring glibc
5032 # with a fresh cross-compiler works.
5033 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5034 # <limits.h> exists even on freestanding compilers.
5035 # On the NeXT, cc -E runs the code through the compiler's parser,
5036 # not just through cpp. "Syntax error" is here to catch this case.
5037 cat >conftest.$ac_ext <<_ACEOF
5038 #line $LINENO "configure"
5041 cat confdefs.h >>conftest.$ac_ext
5042 cat >>conftest.$ac_ext <<_ACEOF
5043 /* end confdefs.h. */
5045 # include <limits.h>
5047 # include <assert.h>
5051 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5052 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5054 grep -v '^ *+' conftest.er1 >conftest.err
5056 cat conftest.err >&5
5057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5058 (exit $ac_status); } >/dev/null; then
5059 if test -s conftest.err; then
5060 ac_cpp_err=$ac_cxx_preproc_warn_flag
5067 if test -z "$ac_cpp_err"; then
5070 echo "$as_me: failed program was:" >&5
5071 sed 's/^/| /' conftest.$ac_ext >&5
5073 # Broken: fails on valid input.
5076 rm -f conftest.err conftest.$ac_ext
5078 # OK, works on sane cases. Now check whether non-existent headers
5079 # can be detected and how.
5080 cat >conftest.$ac_ext <<_ACEOF
5081 #line $LINENO "configure"
5084 cat confdefs.h >>conftest.$ac_ext
5085 cat >>conftest.$ac_ext <<_ACEOF
5086 /* end confdefs.h. */
5087 #include <ac_nonexistent.h>
5089 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5090 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5092 grep -v '^ *+' conftest.er1 >conftest.err
5094 cat conftest.err >&5
5095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096 (exit $ac_status); } >/dev/null; then
5097 if test -s conftest.err; then
5098 ac_cpp_err=$ac_cxx_preproc_warn_flag
5105 if test -z "$ac_cpp_err"; then
5106 # Broken: success on invalid input.
5109 echo "$as_me: failed program was:" >&5
5110 sed 's/^/| /' conftest.$ac_ext >&5
5112 # Passes both tests.
5116 rm -f conftest.err conftest.$ac_ext
5119 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5120 rm -f conftest.err conftest.$ac_ext
5121 if $ac_preproc_ok; then
5124 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5125 See \`config.log' for more details." >&5
5126 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5127 See \`config.log' for more details." >&2;}
5128 { (exit 1); exit 1; }; }
5132 ac_cpp='$CXXCPP $CPPFLAGS'
5133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5139 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5140 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5141 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5142 if test -n "$ac_tool_prefix"; then
5143 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5145 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5146 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5147 echo "$as_me:$LINENO: checking for $ac_word" >&5
5148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5149 if test "${ac_cv_prog_F77+set}" = set; then
5150 echo $ECHO_N "(cached) $ECHO_C" >&6
5152 if test -n "$F77"; then
5153 ac_cv_prog_F77="$F77" # Let the user override the test.
5155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5159 test -z "$as_dir" && as_dir=.
5160 for ac_exec_ext in '' $ac_executable_extensions; do
5161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5162 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5172 if test -n "$F77"; then
5173 echo "$as_me:$LINENO: result: $F77" >&5
5174 echo "${ECHO_T}$F77" >&6
5176 echo "$as_me:$LINENO: result: no" >&5
5177 echo "${ECHO_T}no" >&6
5180 test -n "$F77" && break
5183 if test -z "$F77"; then
5185 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5187 # Extract the first word of "$ac_prog", so it can be a program name with args.
5188 set dummy $ac_prog; ac_word=$2
5189 echo "$as_me:$LINENO: checking for $ac_word" >&5
5190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5191 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5192 echo $ECHO_N "(cached) $ECHO_C" >&6
5194 if test -n "$ac_ct_F77"; then
5195 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5201 test -z "$as_dir" && as_dir=.
5202 for ac_exec_ext in '' $ac_executable_extensions; do
5203 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5204 ac_cv_prog_ac_ct_F77="$ac_prog"
5205 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5213 ac_ct_F77=$ac_cv_prog_ac_ct_F77
5214 if test -n "$ac_ct_F77"; then
5215 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5216 echo "${ECHO_T}$ac_ct_F77" >&6
5218 echo "$as_me:$LINENO: result: no" >&5
5219 echo "${ECHO_T}no" >&6
5222 test -n "$ac_ct_F77" && break
5229 # Provide some information about the compiler.
5230 echo "$as_me:5227:" \
5231 "checking for Fortran 77 compiler version" >&5
5232 ac_compiler=`set X $ac_compile; echo $2`
5233 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5234 (eval $ac_compiler --version </dev/null >&5) 2>&5
5236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5237 (exit $ac_status); }
5238 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5239 (eval $ac_compiler -v </dev/null >&5) 2>&5
5241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5242 (exit $ac_status); }
5243 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5244 (eval $ac_compiler -V </dev/null >&5) 2>&5
5246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5247 (exit $ac_status); }
5249 # If we don't use `.F' as extension, the preprocessor is not run on the
5253 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5254 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5255 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5256 echo $ECHO_N "(cached) $ECHO_C" >&6
5258 cat >conftest.$ac_ext <<_ACEOF
5266 rm -f conftest.$ac_objext
5267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5268 (eval $ac_compile) 2>&5
5270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271 (exit $ac_status); } &&
5272 { ac_try='test -s conftest.$ac_objext'
5273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5277 (exit $ac_status); }; }; then
5280 echo "$as_me: failed program was:" >&5
5281 sed 's/^/| /' conftest.$ac_ext >&5
5285 rm -f conftest.$ac_objext conftest.$ac_ext
5286 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5289 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5290 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5292 G77=`test $ac_compiler_gnu = yes && echo yes`
5293 ac_test_FFLAGS=${FFLAGS+set}
5294 ac_save_FFLAGS=$FFLAGS
5296 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5297 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5298 if test "${ac_cv_prog_f77_g+set}" = set; then
5299 echo $ECHO_N "(cached) $ECHO_C" >&6
5302 cat >conftest.$ac_ext <<_ACEOF
5307 rm -f conftest.$ac_objext
5308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5309 (eval $ac_compile) 2>&5
5311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5312 (exit $ac_status); } &&
5313 { ac_try='test -s conftest.$ac_objext'
5314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5318 (exit $ac_status); }; }; then
5319 ac_cv_prog_f77_g=yes
5321 echo "$as_me: failed program was:" >&5
5322 sed 's/^/| /' conftest.$ac_ext >&5
5326 rm -f conftest.$ac_objext conftest.$ac_ext
5329 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5330 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5331 if test "$ac_test_FFLAGS" = set; then
5332 FFLAGS=$ac_save_FFLAGS
5333 elif test $ac_cv_prog_f77_g = yes; then
5334 if test "$G77" = yes; then
5340 if test "$G77" = yes; then
5347 ac_cpp='$CPP $CPPFLAGS'
5348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5354 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5356 # find the maximum length of command line arguments
5357 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5358 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5359 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5360 echo $ECHO_N "(cached) $ECHO_C" >&6
5367 # On DJGPP, this test can blow up pretty badly due to problems in libc
5368 # (any single argument exceeding 2000 bytes causes a buffer overrun
5369 # during glob expansion). Even if it were fixed, the result of this
5370 # check would be larger than it should be.
5371 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5375 # Under GNU Hurd, this test is not required because there is
5376 # no limit to the length of command line arguments.
5377 # Libtool will interpret -1 as no limit whatsoever
5378 lt_cv_sys_max_cmd_len=-1;
5382 # On Win9x/ME, this test blows up -- it succeeds, but takes
5383 # about 5 minutes as the teststring grows exponentially.
5384 # Worse, since 9x/ME are not pre-emptively multitasking,
5385 # you end up with a "frozen" computer, even though with patience
5386 # the test eventually succeeds (with a max line length of 256k).
5387 # Instead, let's just punt: use the minimum linelength reported by
5388 # all of the supported platforms: 8192 (on NT/2K/XP).
5389 lt_cv_sys_max_cmd_len=8192;
5393 # If test is not a shell built-in, we'll probably end up computing a
5394 # maximum length that is only half of the actual maximum length, but
5396 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5397 = "XX$testring") >/dev/null 2>&1 &&
5398 new_result=`expr "X$testring" : ".*" 2>&1` &&
5399 lt_cv_sys_max_cmd_len=$new_result &&
5400 test $i != 17 # 1/2 MB should be enough
5403 testring=$testring$testring
5406 # Add a significant safety factor because C++ compilers can tack on massive
5407 # amounts of additional arguments before passing them to the linker.
5408 # It appears as though 1/2 is a usable value.
5409 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5415 if test -n $lt_cv_sys_max_cmd_len ; then
5416 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5417 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5419 echo "$as_me:$LINENO: result: none" >&5
5420 echo "${ECHO_T}none" >&6
5426 # Check for command to grab the raw symbol name followed by C symbol from nm.
5427 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5428 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5429 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5430 echo $ECHO_N "(cached) $ECHO_C" >&6
5433 # These are sane defaults that work on at least a few old systems.
5434 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5436 # Character class describing NM global symbol codes.
5437 symcode='[BCDEGRST]'
5439 # Regexp to match symbols that can be accessed directly from C.
5440 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5442 # Transform the above into a raw symbol and a C symbol.
5443 symxfrm='\1 \2\3 \3'
5445 # Transform an extracted symbol line into a proper C declaration
5446 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5448 # Transform an extracted symbol line into symbol name and symbol address
5449 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'"
5451 # Define system-specific variables.
5456 cygwin* | mingw* | pw32*)
5457 symcode='[ABCDGISTW]'
5459 hpux*) # Its linker distinguishes data from code symbols
5460 if test "$host_cpu" = ia64; then
5461 symcode='[ABCDEGRST]'
5463 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5464 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'"
5467 symcode='[BCDEGRST]'
5470 symcode='[BCDEGQRST]'
5480 # Handle CRLF in mingw tool chain
5484 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5488 # If we're using GNU nm, then use its standard symbol codes.
5489 case `$NM -V 2>&1` in
5490 *GNU* | *'with BFD'*)
5491 symcode='[ABCDGISTW]' ;;
5494 # Try without a prefix undercore, then with it.
5495 for ac_symprfx in "" "_"; do
5497 # Write the raw and C identifiers.
5498 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5500 # Check to see that the pipe works correctly.
5504 cat > conftest.$ac_ext <<EOF
5509 void nm_test_func(){}
5513 int main(){nm_test_var='a';nm_test_func();return(0);}
5516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5517 (eval $ac_compile) 2>&5
5519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5520 (exit $ac_status); }; then
5521 # Now try to grab the symbols.
5523 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5524 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5527 (exit $ac_status); } && test -s "$nlist"; then
5528 # Try sorting and uniquifying the output.
5529 if sort "$nlist" | uniq > "$nlist"T; then
5530 mv -f "$nlist"T "$nlist"
5535 # Make sure that we snagged all the symbols we need.
5536 if grep ' nm_test_var$' "$nlist" >/dev/null; then
5537 if grep ' nm_test_func$' "$nlist" >/dev/null; then
5538 cat <<EOF > conftest.$ac_ext
5544 # Now generate the symbol file.
5545 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5547 cat <<EOF >> conftest.$ac_ext
5548 #if defined (__STDC__) && __STDC__
5549 # define lt_ptr_t void *
5551 # define lt_ptr_t char *
5555 /* The mapping between symbol names and symbols. */
5560 lt_preloaded_symbols[] =
5563 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5564 cat <<\EOF >> conftest.$ac_ext
5572 # Now try linking the two files.
5573 mv conftest.$ac_objext conftstm.$ac_objext
5574 lt_save_LIBS="$LIBS"
5575 lt_save_CFLAGS="$CFLAGS"
5576 LIBS="conftstm.$ac_objext"
5577 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5579 (eval $ac_link) 2>&5
5581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5582 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5585 LIBS="$lt_save_LIBS"
5586 CFLAGS="$lt_save_CFLAGS"
5588 echo "cannot find nm_test_func in $nlist" >&5
5591 echo "cannot find nm_test_var in $nlist" >&5
5594 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5597 echo "$progname: failed program was:" >&5
5598 cat conftest.$ac_ext >&5
5600 rm -f conftest* conftst*
5602 # Do not use the global_symbol_pipe unless it works.
5603 if test "$pipe_works" = yes; then
5606 lt_cv_sys_global_symbol_pipe=
5612 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5613 lt_cv_sys_global_symbol_to_cdecl=
5615 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5616 echo "$as_me:$LINENO: result: failed" >&5
5617 echo "${ECHO_T}failed" >&6
5619 echo "$as_me:$LINENO: result: ok" >&5
5620 echo "${ECHO_T}ok" >&6
5623 echo "$as_me:$LINENO: checking for objdir" >&5
5624 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5625 if test "${lt_cv_objdir+set}" = set; then
5626 echo $ECHO_N "(cached) $ECHO_C" >&6
5628 rm -f .libs 2>/dev/null
5629 mkdir .libs 2>/dev/null
5630 if test -d .libs; then
5633 # MS-DOS does not allow filenames that begin with a dot.
5636 rmdir .libs 2>/dev/null
5638 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5639 echo "${ECHO_T}$lt_cv_objdir" >&6
5640 objdir=$lt_cv_objdir
5648 # AIX sometimes has problems with the GCC collect2 program. For some
5649 # reason, if we set the COLLECT_NAMES environment variable, the problems
5650 # vanish in a puff of smoke.
5651 if test "X${COLLECT_NAMES+set}" != Xset; then
5653 export COLLECT_NAMES
5658 # Sed substitution that helps us do robust quoting. It backslashifies
5659 # metacharacters that are still active within double-quoted strings.
5660 Xsed='sed -e s/^X//'
5661 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5663 # Same as above, but do not quote variable references.
5664 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5666 # Sed substitution to delay expansion of an escaped shell variable in a
5667 # double_quote_subst'ed string.
5668 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5670 # Sed substitution to avoid accidental globbing in evaled expressions
5671 no_glob_subst='s/\*/\\\*/g'
5678 can_build_shared=yes
5680 # All known linkers require a `.a' archive for static linking (except M$VC,
5681 # which needs '.lib').
5683 ltmain="$ac_aux_dir/ltmain.sh"
5684 ofile="$default_ofile"
5685 with_gnu_ld="$lt_cv_prog_gnu_ld"
5687 if test -n "$ac_tool_prefix"; then
5688 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5689 set dummy ${ac_tool_prefix}ar; ac_word=$2
5690 echo "$as_me:$LINENO: checking for $ac_word" >&5
5691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5692 if test "${ac_cv_prog_AR+set}" = set; then
5693 echo $ECHO_N "(cached) $ECHO_C" >&6
5695 if test -n "$AR"; then
5696 ac_cv_prog_AR="$AR" # Let the user override the test.
5698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5702 test -z "$as_dir" && as_dir=.
5703 for ac_exec_ext in '' $ac_executable_extensions; do
5704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5705 ac_cv_prog_AR="${ac_tool_prefix}ar"
5706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5715 if test -n "$AR"; then
5716 echo "$as_me:$LINENO: result: $AR" >&5
5717 echo "${ECHO_T}$AR" >&6
5719 echo "$as_me:$LINENO: result: no" >&5
5720 echo "${ECHO_T}no" >&6
5724 if test -z "$ac_cv_prog_AR"; then
5726 # Extract the first word of "ar", so it can be a program name with args.
5727 set dummy ar; ac_word=$2
5728 echo "$as_me:$LINENO: checking for $ac_word" >&5
5729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5730 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5731 echo $ECHO_N "(cached) $ECHO_C" >&6
5733 if test -n "$ac_ct_AR"; then
5734 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5740 test -z "$as_dir" && as_dir=.
5741 for ac_exec_ext in '' $ac_executable_extensions; do
5742 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5743 ac_cv_prog_ac_ct_AR="ar"
5744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5750 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5753 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5754 if test -n "$ac_ct_AR"; then
5755 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5756 echo "${ECHO_T}$ac_ct_AR" >&6
5758 echo "$as_me:$LINENO: result: no" >&5
5759 echo "${ECHO_T}no" >&6
5767 if test -n "$ac_tool_prefix"; then
5768 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5769 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5770 echo "$as_me:$LINENO: checking for $ac_word" >&5
5771 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5772 if test "${ac_cv_prog_RANLIB+set}" = set; then
5773 echo $ECHO_N "(cached) $ECHO_C" >&6
5775 if test -n "$RANLIB"; then
5776 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5782 test -z "$as_dir" && as_dir=.
5783 for ac_exec_ext in '' $ac_executable_extensions; do
5784 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5785 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5786 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5794 RANLIB=$ac_cv_prog_RANLIB
5795 if test -n "$RANLIB"; then
5796 echo "$as_me:$LINENO: result: $RANLIB" >&5
5797 echo "${ECHO_T}$RANLIB" >&6
5799 echo "$as_me:$LINENO: result: no" >&5
5800 echo "${ECHO_T}no" >&6
5804 if test -z "$ac_cv_prog_RANLIB"; then
5805 ac_ct_RANLIB=$RANLIB
5806 # Extract the first word of "ranlib", so it can be a program name with args.
5807 set dummy ranlib; ac_word=$2
5808 echo "$as_me:$LINENO: checking for $ac_word" >&5
5809 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5810 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5811 echo $ECHO_N "(cached) $ECHO_C" >&6
5813 if test -n "$ac_ct_RANLIB"; then
5814 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5820 test -z "$as_dir" && as_dir=.
5821 for ac_exec_ext in '' $ac_executable_extensions; do
5822 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5823 ac_cv_prog_ac_ct_RANLIB="ranlib"
5824 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5830 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5833 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5834 if test -n "$ac_ct_RANLIB"; then
5835 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5836 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5838 echo "$as_me:$LINENO: result: no" >&5
5839 echo "${ECHO_T}no" >&6
5842 RANLIB=$ac_ct_RANLIB
5844 RANLIB="$ac_cv_prog_RANLIB"
5847 if test -n "$ac_tool_prefix"; then
5848 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5849 set dummy ${ac_tool_prefix}strip; ac_word=$2
5850 echo "$as_me:$LINENO: checking for $ac_word" >&5
5851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5852 if test "${ac_cv_prog_STRIP+set}" = set; then
5853 echo $ECHO_N "(cached) $ECHO_C" >&6
5855 if test -n "$STRIP"; then
5856 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5862 test -z "$as_dir" && as_dir=.
5863 for ac_exec_ext in '' $ac_executable_extensions; do
5864 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5865 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5874 STRIP=$ac_cv_prog_STRIP
5875 if test -n "$STRIP"; then
5876 echo "$as_me:$LINENO: result: $STRIP" >&5
5877 echo "${ECHO_T}$STRIP" >&6
5879 echo "$as_me:$LINENO: result: no" >&5
5880 echo "${ECHO_T}no" >&6
5884 if test -z "$ac_cv_prog_STRIP"; then
5886 # Extract the first word of "strip", so it can be a program name with args.
5887 set dummy strip; ac_word=$2
5888 echo "$as_me:$LINENO: checking for $ac_word" >&5
5889 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5890 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5891 echo $ECHO_N "(cached) $ECHO_C" >&6
5893 if test -n "$ac_ct_STRIP"; then
5894 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5900 test -z "$as_dir" && as_dir=.
5901 for ac_exec_ext in '' $ac_executable_extensions; do
5902 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5903 ac_cv_prog_ac_ct_STRIP="strip"
5904 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5910 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5913 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5914 if test -n "$ac_ct_STRIP"; then
5915 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5916 echo "${ECHO_T}$ac_ct_STRIP" >&6
5918 echo "$as_me:$LINENO: result: no" >&5
5919 echo "${ECHO_T}no" >&6
5924 STRIP="$ac_cv_prog_STRIP"
5929 old_CFLAGS="$CFLAGS"
5931 # Set sane defaults for various variables
5932 test -z "$AR" && AR=ar
5933 test -z "$AR_FLAGS" && AR_FLAGS=cru
5934 test -z "$AS" && AS=as
5935 test -z "$CC" && CC=cc
5936 test -z "$LTCC" && LTCC=$CC
5937 test -z "$DLLTOOL" && DLLTOOL=dlltool
5938 test -z "$LD" && LD=ld
5939 test -z "$LN_S" && LN_S="ln -s"
5940 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5941 test -z "$NM" && NM=nm
5942 test -z "$SED" && SED=sed
5943 test -z "$OBJDUMP" && OBJDUMP=objdump
5944 test -z "$RANLIB" && RANLIB=:
5945 test -z "$STRIP" && STRIP=:
5946 test -z "$ac_objext" && ac_objext=o
5948 # Determine commands to create old-style static archives.
5949 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5950 old_postinstall_cmds='chmod 644 $oldlib'
5951 old_postuninstall_cmds=
5953 if test -n "$RANLIB"; then
5956 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5959 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
5962 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5965 # Only perform the check for file, if the check method requires it
5966 case $deplibs_check_method in
5968 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5969 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5970 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5971 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5972 echo $ECHO_N "(cached) $ECHO_C" >&6
5976 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5979 lt_save_MAGIC_CMD="$MAGIC_CMD"
5980 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5981 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
5982 for ac_dir in $ac_dummy; do
5984 test -z "$ac_dir" && ac_dir=.
5985 if test -f $ac_dir/${ac_tool_prefix}file; then
5986 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
5987 if test -n "$file_magic_test_file"; then
5988 case $deplibs_check_method in
5990 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5991 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5992 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5993 $EGREP "$file_magic_regex" > /dev/null; then
5998 *** Warning: the command libtool uses to detect shared libraries,
5999 *** $file_magic_cmd, produces output that libtool cannot recognize.
6000 *** The result is that libtool may fail to recognize shared libraries
6001 *** as such. This will affect the creation of libtool libraries that
6002 *** depend on shared libraries, but programs linked with such libtool
6003 *** libraries will work regardless of this problem. Nevertheless, you
6004 *** may want to report the problem to your system manager and/or to
6005 *** bug-libtool@gnu.org
6015 MAGIC_CMD="$lt_save_MAGIC_CMD"
6020 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6021 if test -n "$MAGIC_CMD"; then
6022 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6023 echo "${ECHO_T}$MAGIC_CMD" >&6
6025 echo "$as_me:$LINENO: result: no" >&5
6026 echo "${ECHO_T}no" >&6
6029 if test -z "$lt_cv_path_MAGIC_CMD"; then
6030 if test -n "$ac_tool_prefix"; then
6031 echo "$as_me:$LINENO: checking for file" >&5
6032 echo $ECHO_N "checking for file... $ECHO_C" >&6
6033 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6034 echo $ECHO_N "(cached) $ECHO_C" >&6
6038 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6041 lt_save_MAGIC_CMD="$MAGIC_CMD"
6042 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6043 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6044 for ac_dir in $ac_dummy; do
6046 test -z "$ac_dir" && ac_dir=.
6047 if test -f $ac_dir/file; then
6048 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6049 if test -n "$file_magic_test_file"; then
6050 case $deplibs_check_method in
6052 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6053 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6054 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6055 $EGREP "$file_magic_regex" > /dev/null; then
6060 *** Warning: the command libtool uses to detect shared libraries,
6061 *** $file_magic_cmd, produces output that libtool cannot recognize.
6062 *** The result is that libtool may fail to recognize shared libraries
6063 *** as such. This will affect the creation of libtool libraries that
6064 *** depend on shared libraries, but programs linked with such libtool
6065 *** libraries will work regardless of this problem. Nevertheless, you
6066 *** may want to report the problem to your system manager and/or to
6067 *** bug-libtool@gnu.org
6077 MAGIC_CMD="$lt_save_MAGIC_CMD"
6082 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6083 if test -n "$MAGIC_CMD"; then
6084 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6085 echo "${ECHO_T}$MAGIC_CMD" >&6
6087 echo "$as_me:$LINENO: result: no" >&5
6088 echo "${ECHO_T}no" >&6
6103 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6104 if test "${enable_libtool_lock+set}" = set; then
6105 enableval="$enable_libtool_lock"
6108 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6111 # Check whether --with-pic or --without-pic was given.
6112 if test "${with_pic+set}" = set; then
6118 test -z "$pic_mode" && pic_mode=default
6120 # Use C for the default configuration in the libtool script
6124 ac_cpp='$CPP $CPPFLAGS'
6125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6130 # Source file extension for C test sources.
6133 # Object file extension for compiled C test sources.
6137 # Code to be used in simple compile tests
6138 lt_simple_compile_test_code="int some_variable = 0;\n"
6140 # Code to be used in simple link tests
6141 lt_simple_link_test_code='int main(){return(0);}\n'
6144 # If no C compiler was specified, use CC.
6147 # Allow CC to be a program name with arguments.
6152 # Check for any special shared library compilation flags.
6155 if test "$GCC" = no; then
6158 lt_prog_cc_shlib='-belf'
6162 if test -n "$lt_prog_cc_shlib"; then
6163 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6164 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6165 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
6167 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6168 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6169 lt_cv_prog_cc_can_build_shared=no
6175 # Check to make sure the static flag actually works.
6177 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6178 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6179 if test "${lt_prog_compiler_static_works+set}" = set; then
6180 echo $ECHO_N "(cached) $ECHO_C" >&6
6182 lt_prog_compiler_static_works=no
6183 save_LDFLAGS="$LDFLAGS"
6184 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6185 printf "$lt_simple_link_test_code" > conftest.$ac_ext
6186 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6187 # The compiler can only warn and ignore the option if not recognized
6188 # So say no if there are warnings
6189 if test -s conftest.err; then
6190 # Append any errors to the config.log.
6191 cat conftest.err 1>&5
6193 lt_prog_compiler_static_works=yes
6197 LDFLAGS="$save_LDFLAGS"
6200 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6201 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6203 if test x"$lt_prog_compiler_static_works" = xyes; then
6206 lt_prog_compiler_static=
6212 ## There is no encapsulation within the following macros, do not change
6213 ## the running order or otherwise move them around unless you know exactly
6214 ## what you are doing...
6216 lt_prog_compiler_no_builtin_flag=
6218 if test "$GCC" = yes; then
6219 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6221 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6222 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6223 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6224 echo $ECHO_N "(cached) $ECHO_C" >&6
6226 lt_cv_prog_compiler_rtti_exceptions=no
6227 ac_outfile=conftest.$ac_objext
6228 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6229 lt_compiler_flag="-fno-rtti -fno-exceptions"
6230 # Insert the option either (1) after the last *FLAGS variable, or
6231 # (2) before a word containing "conftest.", or (3) at the end.
6232 # Note that $ac_compile itself does not contain backslashes and begins
6233 # with a dollar sign (not a hyphen), so the echo should work correctly.
6234 # The option is referenced via a variable to avoid confusing sed.
6235 lt_compile=`echo "$ac_compile" | $SED \
6236 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6237 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6238 -e 's:$: $lt_compiler_flag:'`
6239 (eval echo "\"\$as_me:6236: $lt_compile\"" >&5)
6240 (eval "$lt_compile" 2>conftest.err)
6242 cat conftest.err >&5
6243 echo "$as_me:6240: \$? = $ac_status" >&5
6244 if (exit $ac_status) && test -s "$ac_outfile"; then
6245 # The compiler can only warn and ignore the option if not recognized
6246 # So say no if there are warnings
6247 if test ! -s conftest.err; then
6248 lt_cv_prog_compiler_rtti_exceptions=yes
6254 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6255 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6257 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6258 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6265 lt_prog_compiler_wl=
6266 lt_prog_compiler_pic=
6267 lt_prog_compiler_static=
6269 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6270 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6272 if test "$GCC" = yes; then
6273 lt_prog_compiler_wl='-Wl,'
6274 lt_prog_compiler_static='-static'
6278 # All AIX code is PIC.
6279 if test "$host_cpu" = ia64; then
6280 # AIX 5 now supports IA64 processor
6281 lt_prog_compiler_static='-Bstatic'
6286 # FIXME: we need at least 68020 code to build shared libraries, but
6287 # adding the `-m68020' flag to GCC prevents building anything better,
6289 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6292 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6293 # PIC is the default for these OSes.
6296 mingw* | pw32* | os2*)
6297 # This hack is so that the source file can tell whether it is being
6298 # built for inclusion in a dll (and should export symbols for example).
6299 lt_prog_compiler_pic='-DDLL_EXPORT'
6302 darwin* | rhapsody*)
6303 # PIC is the default on this platform
6304 # Common symbols not allowed in MH_DYLIB files
6305 lt_prog_compiler_pic='-fno-common'
6309 # Just because we use GCC doesn't mean we suddenly get shared libraries
6310 # on systems that don't support them.
6311 lt_prog_compiler_can_build_shared=no
6316 if test -d /usr/nec; then
6317 lt_prog_compiler_pic=-Kconform_pic
6322 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6329 lt_prog_compiler_pic='-fPIC'
6335 lt_prog_compiler_pic='-fPIC'
6339 # PORTME Check for flag to pass linker flags through the system compiler.
6342 lt_prog_compiler_wl='-Wl,'
6343 if test "$host_cpu" = ia64; then
6344 # AIX 5 now supports IA64 processor
6345 lt_prog_compiler_static='-Bstatic'
6347 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6351 mingw* | pw32* | os2*)
6352 # This hack is so that the source file can tell whether it is being
6353 # built for inclusion in a dll (and should export symbols for example).
6354 lt_prog_compiler_pic='-DDLL_EXPORT'
6357 hpux9* | hpux10* | hpux11*)
6358 lt_prog_compiler_wl='-Wl,'
6359 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6366 lt_prog_compiler_pic='+Z'
6369 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6370 lt_prog_compiler_static='${wl}-a ${wl}archive'
6373 irix5* | irix6* | nonstopux*)
6374 lt_prog_compiler_wl='-Wl,'
6375 # PIC (with -KPIC) is the default.
6376 lt_prog_compiler_static='-non_shared'
6380 lt_prog_compiler_pic='-KPIC'
6381 lt_prog_compiler_static='-Bstatic'
6387 lt_prog_compiler_wl='-Wl,'
6388 lt_prog_compiler_pic='-KPIC'
6389 lt_prog_compiler_static='-static'
6392 lt_prog_compiler_wl='-Wl,'
6393 # All Alpha code is PIC.
6394 lt_prog_compiler_static='-non_shared'
6399 osf3* | osf4* | osf5*)
6400 lt_prog_compiler_wl='-Wl,'
6401 # All OSF/1 code is PIC.
6402 lt_prog_compiler_static='-non_shared'
6406 lt_prog_compiler_pic='-Kpic'
6407 lt_prog_compiler_static='-dn'
6411 lt_prog_compiler_wl='-Wl,'
6412 lt_prog_compiler_pic='-KPIC'
6413 lt_prog_compiler_static='-Bstatic'
6417 lt_prog_compiler_wl='-Qoption ld '
6418 lt_prog_compiler_pic='-PIC'
6419 lt_prog_compiler_static='-Bstatic'
6422 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6423 lt_prog_compiler_wl='-Wl,'
6424 lt_prog_compiler_pic='-KPIC'
6425 lt_prog_compiler_static='-Bstatic'
6429 if test -d /usr/nec ;then
6430 lt_prog_compiler_pic='-Kconform_pic'
6431 lt_prog_compiler_static='-Bstatic'
6436 lt_prog_compiler_pic='-pic'
6437 lt_prog_compiler_static='-Bstatic'
6441 lt_prog_compiler_can_build_shared=no
6446 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6447 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6450 # Check to make sure the PIC flag actually works.
6452 if test -n "$lt_prog_compiler_pic"; then
6453 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6454 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6455 if test "${lt_prog_compiler_pic_works+set}" = set; then
6456 echo $ECHO_N "(cached) $ECHO_C" >&6
6458 lt_prog_compiler_pic_works=no
6459 ac_outfile=conftest.$ac_objext
6460 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6461 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6462 # Insert the option either (1) after the last *FLAGS variable, or
6463 # (2) before a word containing "conftest.", or (3) at the end.
6464 # Note that $ac_compile itself does not contain backslashes and begins
6465 # with a dollar sign (not a hyphen), so the echo should work correctly.
6466 # The option is referenced via a variable to avoid confusing sed.
6467 lt_compile=`echo "$ac_compile" | $SED \
6468 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6469 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6470 -e 's:$: $lt_compiler_flag:'`
6471 (eval echo "\"\$as_me:6468: $lt_compile\"" >&5)
6472 (eval "$lt_compile" 2>conftest.err)
6474 cat conftest.err >&5
6475 echo "$as_me:6472: \$? = $ac_status" >&5
6476 if (exit $ac_status) && test -s "$ac_outfile"; then
6477 # The compiler can only warn and ignore the option if not recognized
6478 # So say no if there are warnings
6479 if test ! -s conftest.err; then
6480 lt_prog_compiler_pic_works=yes
6486 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6487 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6489 if test x"$lt_prog_compiler_pic_works" = xyes; then
6490 case $lt_prog_compiler_pic in
6492 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6495 lt_prog_compiler_pic=
6496 lt_prog_compiler_can_build_shared=no
6501 # For platforms which do not support PIC, -DPIC is meaningless:
6503 lt_prog_compiler_pic=
6506 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6510 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6511 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6512 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6513 echo $ECHO_N "(cached) $ECHO_C" >&6
6515 lt_cv_prog_compiler_c_o=no
6516 $rm -r conftest 2>/dev/null
6520 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6522 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6523 # that will create temporary files in the current directory regardless of
6524 # the output directory. Thus, making CWD read-only will cause this test
6525 # to fail, enabling locking or at least warning the user not to do parallel
6529 lt_compiler_flag="-o out/conftest2.$ac_objext"
6530 # Insert the option either (1) after the last *FLAGS variable, or
6531 # (2) before a word containing "conftest.", or (3) at the end.
6532 # Note that $ac_compile itself does not contain backslashes and begins
6533 # with a dollar sign (not a hyphen), so the echo should work correctly.
6534 lt_compile=`echo "$ac_compile" | $SED \
6535 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6536 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6537 -e 's:$: $lt_compiler_flag:'`
6538 (eval echo "\"\$as_me:6535: $lt_compile\"" >&5)
6539 (eval "$lt_compile" 2>out/conftest.err)
6541 cat out/conftest.err >&5
6542 echo "$as_me:6539: \$? = $ac_status" >&5
6543 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6545 # The compiler can only warn and ignore the option if not recognized
6546 # So say no if there are warnings
6547 if test ! -s out/conftest.err; then
6548 lt_cv_prog_compiler_c_o=yes
6559 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6560 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6563 hard_links="nottested"
6564 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6565 # do not overwrite the value of need_locks provided by the user
6566 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6567 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6570 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6572 ln conftest.a conftest.b 2>&5 || hard_links=no
6573 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6574 echo "$as_me:$LINENO: result: $hard_links" >&5
6575 echo "${ECHO_T}$hard_links" >&6
6576 if test "$hard_links" = no; then
6577 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6578 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6585 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6586 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6589 allow_undefined_flag=
6590 enable_shared_with_static_runtimes=no
6592 archive_expsym_cmds=
6593 old_archive_From_new_cmds=
6594 old_archive_from_expsyms_cmds=
6595 export_dynamic_flag_spec=
6596 whole_archive_flag_spec=
6597 thread_safe_flag_spec=
6598 hardcode_libdir_flag_spec=
6599 hardcode_libdir_flag_spec_ld=
6600 hardcode_libdir_separator=
6603 hardcode_shlibpath_var=unsupported
6604 link_all_deplibs=unknown
6605 hardcode_automatic=no
6608 always_export_symbols=no
6609 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6610 # include_expsyms should be a list of space-separated symbols to be *always*
6611 # included in the symbol list
6613 # exclude_expsyms can be an extended regexp of symbols to exclude
6614 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6615 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6616 # as well as any symbol that contains `d'.
6617 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6618 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6619 # platforms (ab)use it in PIC code, but their linkers get confused if
6620 # the symbol is explicitly referenced. Since portable code cannot
6621 # rely on this symbol name, it's probably fine to never include it in
6622 # preloaded symbol tables.
6623 extract_expsyms_cmds=
6626 cygwin* | mingw* | pw32*)
6627 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6628 # When not using gcc, we currently assume that we are using
6629 # Microsoft Visual C++.
6630 if test "$GCC" != yes; then
6640 if test "$with_gnu_ld" = yes; then
6641 # If archive_cmds runs LD, not CC, wlarc should be empty
6644 # See if GNU ld supports shared libraries.
6646 aix3* | aix4* | aix5*)
6647 # On AIX/PPC, the GNU linker is very broken
6648 if test "$host_cpu" != ia64; then
6652 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6653 *** to be unable to reliably create shared libraries on AIX.
6654 *** Therefore, libtool is disabling shared libraries support. If you
6655 *** really care for shared libraries, you may want to modify your PATH
6656 *** so that a non-GNU linker is found, and then restart.
6663 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)'
6664 hardcode_libdir_flag_spec='-L$libdir'
6665 hardcode_minus_L=yes
6667 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6668 # that the semantics of dynamic libraries on AmigaOS, at least up
6669 # to version 4, is to share data among multiple programs linked
6670 # with the same dynamic library. Since this doesn't match the
6671 # behavior of shared libraries on other platforms, we can't use
6677 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6678 allow_undefined_flag=unsupported
6679 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6680 # support --undefined. This deserves some investigation. FIXME
6681 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6687 cygwin* | mingw* | pw32*)
6688 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6689 # as there is no search path for DLLs.
6690 hardcode_libdir_flag_spec='-L$libdir'
6691 allow_undefined_flag=unsupported
6692 always_export_symbols=no
6693 enable_shared_with_static_runtimes=yes
6694 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6696 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6697 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6698 # If the export-symbols file already is a .def file (1st line
6699 # is EXPORTS), use it as is; otherwise, prepend...
6700 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6701 cp $export_symbols $output_objdir/$soname.def;
6703 echo EXPORTS > $output_objdir/$soname.def;
6704 cat $export_symbols >> $output_objdir/$soname.def;
6706 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6713 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6714 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6717 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6718 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6723 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6727 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6728 *** create shared libraries on Solaris systems. Therefore, libtool
6729 *** is disabling shared libraries support. We urge you to upgrade GNU
6730 *** binutils to release 2.9.1 or newer. Another option is to modify
6731 *** your PATH or compiler configuration so that the native linker is
6732 *** used, and then restart.
6735 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6736 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6737 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6744 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6747 hardcode_shlibpath_var=no
6751 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6752 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6753 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6760 if test "$ld_shlibs" = yes; then
6761 runpath_var=LD_RUN_PATH
6762 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6763 export_dynamic_flag_spec='${wl}--export-dynamic'
6764 # ancient GNU ld didn't support --whole-archive et. al.
6765 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6766 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6768 whole_archive_flag_spec=
6772 # PORTME fill in a description of your system's linker (not GNU ld)
6775 allow_undefined_flag=unsupported
6776 always_export_symbols=yes
6777 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'
6778 # Note: this linker hardcodes the directories in LIBPATH if there
6779 # are no directories specified by -L.
6780 hardcode_minus_L=yes
6781 if test "$GCC" = yes && test -z "$link_static_flag"; then
6782 # Neither direct hardcoding nor static linking is supported with a
6784 hardcode_direct=unsupported
6789 if test "$host_cpu" = ia64; then
6790 # On IA64, the linker does run time linking by default, so we don't
6791 # have to do anything special.
6792 aix_use_runtimelinking=no
6793 exp_sym_flag='-Bexport'
6796 # If we're using GNU nm, then we don't want the "-C" option.
6797 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6798 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6799 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'
6801 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'
6803 aix_use_runtimelinking=no
6805 # Test if we are trying to use run time linking or normal
6806 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6807 # need to do runtime linking.
6808 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6809 for ld_flag in $LDFLAGS; do
6810 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6811 aix_use_runtimelinking=yes
6817 exp_sym_flag='-bexport'
6818 no_entry_flag='-bnoentry'
6821 # When large executables or shared objects are built, AIX ld can
6822 # have problems creating the table of contents. If linking a library
6823 # or program results in "error TOC overflow" add -mminimal-toc to
6824 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6825 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6829 hardcode_libdir_separator=':'
6830 link_all_deplibs=yes
6832 if test "$GCC" = yes; then
6833 case $host_os in aix4.012|aix4.012.*)
6834 # We only want to do this on AIX 4.2 and lower, the check
6835 # below for broken collect2 doesn't work under 4.3+
6836 collect2name=`${CC} -print-prog-name=collect2`
6837 if test -f "$collect2name" && \
6838 strings "$collect2name" | grep resolve_lib_name >/dev/null
6840 # We have reworked collect2
6843 # We have old collect2
6844 hardcode_direct=unsupported
6845 # It fails to find uninstalled libraries when the uninstalled
6846 # path is not listed in the libpath. Setting hardcode_minus_L
6847 # to unsupported forces relinking
6848 hardcode_minus_L=yes
6849 hardcode_libdir_flag_spec='-L$libdir'
6850 hardcode_libdir_separator=
6853 shared_flag='-shared'
6856 if test "$host_cpu" = ia64; then
6857 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6858 # chokes on -Wl,-G. The following line is correct:
6861 if test "$aix_use_runtimelinking" = yes; then
6862 shared_flag='${wl}-G'
6864 shared_flag='${wl}-bM:SRE'
6869 # It seems that -bexpall does not export symbols beginning with
6870 # underscore (_), so it is better to generate a list of symbols to export.
6871 always_export_symbols=yes
6872 if test "$aix_use_runtimelinking" = yes; then
6873 # Warning - without using the other runtime loading flags (-brtl),
6874 # -berok will link without error, but may produce a broken library.
6875 allow_undefined_flag='-berok'
6876 # Determine the default libpath from the value encoded in an empty executable.
6877 cat >conftest.$ac_ext <<_ACEOF
6878 #line $LINENO "configure"
6881 cat confdefs.h >>conftest.$ac_ext
6882 cat >>conftest.$ac_ext <<_ACEOF
6883 /* end confdefs.h. */
6893 rm -f conftest.$ac_objext conftest$ac_exeext
6894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6895 (eval $ac_link) 2>&5
6897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6898 (exit $ac_status); } &&
6899 { ac_try='test -s conftest$ac_exeext'
6900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6904 (exit $ac_status); }; }; then
6906 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6908 # Check for a 64-bit object if we didn't find anything.
6909 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; }
6912 echo "$as_me: failed program was:" >&5
6913 sed 's/^/| /' conftest.$ac_ext >&5
6916 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6917 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6919 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6920 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"
6922 if test "$host_cpu" = ia64; then
6923 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6924 allow_undefined_flag="-z nodefs"
6925 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"
6927 # Determine the default libpath from the value encoded in an empty executable.
6928 cat >conftest.$ac_ext <<_ACEOF
6929 #line $LINENO "configure"
6932 cat confdefs.h >>conftest.$ac_ext
6933 cat >>conftest.$ac_ext <<_ACEOF
6934 /* end confdefs.h. */
6944 rm -f conftest.$ac_objext conftest$ac_exeext
6945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6946 (eval $ac_link) 2>&5
6948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6949 (exit $ac_status); } &&
6950 { ac_try='test -s conftest$ac_exeext'
6951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6955 (exit $ac_status); }; }; then
6957 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6959 # Check for a 64-bit object if we didn't find anything.
6960 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; }
6963 echo "$as_me: failed program was:" >&5
6964 sed 's/^/| /' conftest.$ac_ext >&5
6967 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6968 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6970 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6971 # Warning - without using the other run time loading flags,
6972 # -berok will link without error, but may produce a broken library.
6973 no_undefined_flag=' ${wl}-bernotok'
6974 allow_undefined_flag=' ${wl}-berok'
6975 # -bexpall does not export symbols beginning with underscore (_)
6976 always_export_symbols=yes
6977 # Exported symbols can be pulled into shared objects from archives
6978 whole_archive_flag_spec=' '
6979 archive_cmds_need_lc=yes
6980 # This is similar to how AIX traditionally builds it's shared libraries.
6981 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'
6987 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)'
6988 hardcode_libdir_flag_spec='-L$libdir'
6989 hardcode_minus_L=yes
6990 # see comment about different semantics on the GNU ld section
6995 export_dynamic_flag_spec=-rdynamic
6998 cygwin* | mingw* | pw32*)
6999 # When not using gcc, we currently assume that we are using
7000 # Microsoft Visual C++.
7001 # hardcode_libdir_flag_spec is actually meaningless, as there is
7002 # no search path for DLLs.
7003 hardcode_libdir_flag_spec=' '
7004 allow_undefined_flag=unsupported
7005 # Tell ltmain to make .lib files, not .a files.
7007 # Tell ltmain to make .dll files, not .so files.
7009 # FIXME: Setting linknames here is a bad hack.
7010 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7011 # The linker will automatically build a .lib file if we build a DLL.
7012 old_archive_From_new_cmds='true'
7013 # FIXME: Should let the user specify the lib program.
7014 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
7015 fix_srcfile_path='`cygpath -w "$srcfile"`'
7016 enable_shared_with_static_runtimes=yes
7019 darwin* | rhapsody*)
7020 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7021 archive_cmds_need_lc=no
7023 rhapsody* | darwin1.[012])
7024 allow_undefined_flag='-undefined suppress'
7027 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
7030 # FIXME: Relying on posixy $() will cause problems for
7031 # cross-compilation, but unfortunately the echo tests do not
7032 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
7033 # `"' quotes if we put them in here... so don't!
7034 lt_int_apple_cc_single_mod=no
7035 output_verbose_link_cmd='echo'
7036 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7037 lt_int_apple_cc_single_mod=yes
7039 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7040 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7042 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'
7044 module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7045 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7046 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7047 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}'
7049 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}'
7051 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}'
7053 hardcode_automatic=yes
7054 hardcode_shlibpath_var=unsupported
7055 whole_archive_flag_spec='-all_load $convenience'
7056 link_all_deplibs=yes
7061 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7062 hardcode_libdir_flag_spec='-L$libdir'
7063 hardcode_shlibpath_var=no
7070 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7071 # support. Future versions do this automatically, but an explicit c++rt0.o
7072 # does not break anything, and helps significantly (at the cost of a little
7075 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7076 hardcode_libdir_flag_spec='-R$libdir'
7078 hardcode_shlibpath_var=no
7081 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7083 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7085 hardcode_minus_L=yes
7086 hardcode_shlibpath_var=no
7089 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7091 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7092 hardcode_libdir_flag_spec='-R$libdir'
7094 hardcode_shlibpath_var=no
7098 if test "$GCC" = yes; then
7099 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'
7101 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'
7103 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7104 hardcode_libdir_separator=:
7107 # hardcode_minus_L: Not really in the search PATH,
7108 # but as the default location of the library.
7109 hardcode_minus_L=yes
7110 export_dynamic_flag_spec='${wl}-E'
7114 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7117 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7120 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7126 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7129 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7133 if test "$with_gnu_ld" = no; then
7136 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7137 hardcode_libdir_flag_spec_ld='+b $libdir'
7138 hardcode_libdir_separator=:
7140 hardcode_shlibpath_var=no
7143 hardcode_libdir_flag_spec='-L$libdir'
7145 hardcode_shlibpath_var=no
7147 # hardcode_minus_L: Not really in the search PATH,
7148 # but as the default location of the library.
7149 hardcode_minus_L=yes
7152 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7153 hardcode_libdir_separator=:
7155 export_dynamic_flag_spec='${wl}-E'
7157 # hardcode_minus_L: Not really in the search PATH,
7158 # but as the default location of the library.
7159 hardcode_minus_L=yes
7165 irix5* | irix6* | nonstopux*)
7166 if test "$GCC" = yes; then
7167 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'
7169 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'
7170 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7172 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7173 hardcode_libdir_separator=:
7174 link_all_deplibs=yes
7178 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7179 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7181 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7183 hardcode_libdir_flag_spec='-R$libdir'
7185 hardcode_shlibpath_var=no
7189 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7191 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7192 hardcode_libdir_separator=:
7193 hardcode_shlibpath_var=no
7198 hardcode_shlibpath_var=no
7199 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7200 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7201 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7202 export_dynamic_flag_spec='${wl}-E'
7205 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7206 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7207 hardcode_libdir_flag_spec='-R$libdir'
7210 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7211 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7218 hardcode_libdir_flag_spec='-L$libdir'
7219 hardcode_minus_L=yes
7220 allow_undefined_flag=unsupported
7221 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'
7222 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7226 if test "$GCC" = yes; then
7227 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7228 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'
7230 allow_undefined_flag=' -expect_unresolved \*'
7231 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'
7233 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7234 hardcode_libdir_separator=:
7237 osf4* | osf5*) # as osf3* with the addition of -msym flag
7238 if test "$GCC" = yes; then
7239 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7240 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'
7241 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7243 allow_undefined_flag=' -expect_unresolved \*'
7244 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'
7245 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7246 $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'
7248 # Both c and cxx compiler support -rpath directly
7249 hardcode_libdir_flag_spec='-rpath $libdir'
7251 hardcode_libdir_separator=:
7255 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7256 hardcode_shlibpath_var=no
7257 export_dynamic_flag_spec='${wl}-Bexport'
7258 runpath_var=LD_RUN_PATH
7259 hardcode_runpath_var=yes
7263 no_undefined_flag=' -z text'
7264 if test "$GCC" = yes; then
7265 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7266 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7267 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7269 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7270 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7271 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7273 hardcode_libdir_flag_spec='-R$libdir'
7274 hardcode_shlibpath_var=no
7276 solaris2.[0-5] | solaris2.[0-5].*) ;;
7277 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7278 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7280 link_all_deplibs=yes
7284 if test "x$host_vendor" = xsequent; then
7285 # Use $CC to link under sequent, because it throws in some extra .o
7286 # files that make .init and .fini sections work.
7287 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7289 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7291 hardcode_libdir_flag_spec='-L$libdir'
7293 hardcode_minus_L=yes
7294 hardcode_shlibpath_var=no
7298 case $host_vendor in
7300 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7301 hardcode_direct=yes # is this really true???
7304 ## LD is ld it makes a PLAMLIB
7305 ## CC just makes a GrossModule.
7306 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7307 reload_cmds='$CC -r -o $output$reload_objs'
7311 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7312 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7315 runpath_var='LD_RUN_PATH'
7316 hardcode_shlibpath_var=no
7320 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7321 hardcode_shlibpath_var=no
7322 export_dynamic_flag_spec='-Bexport'
7326 if test -d /usr/nec; then
7327 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7328 hardcode_shlibpath_var=no
7329 runpath_var=LD_RUN_PATH
7330 hardcode_runpath_var=yes
7336 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7339 hardcode_shlibpath_var=no
7340 hardcode_runpath_var=yes
7341 runpath_var=LD_RUN_PATH
7344 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7345 no_undefined_flag='${wl}-z ${wl}text'
7346 if test "$GCC" = yes; then
7347 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7349 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7351 runpath_var='LD_RUN_PATH'
7352 hardcode_shlibpath_var=no
7356 no_undefined_flag=' -z text'
7357 # $CC -shared without GNU ld will not create a library from C++
7358 # object files and a static libstdc++, better avoid it by now
7359 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7360 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7361 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7362 hardcode_libdir_flag_spec=
7363 hardcode_shlibpath_var=no
7364 runpath_var='LD_RUN_PATH'
7368 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7369 hardcode_libdir_flag_spec='-L$libdir'
7370 hardcode_shlibpath_var=no
7379 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7380 echo "${ECHO_T}$ld_shlibs" >&6
7381 test "$ld_shlibs" = no && can_build_shared=no
7383 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7384 if test "$GCC" = yes; then
7385 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7389 # Do we need to explicitly link libc?
7391 case "x$archive_cmds_need_lc" in
7393 # Assume -lc should be added
7394 archive_cmds_need_lc=yes
7396 if test "$enable_shared" = yes && test "$GCC" = yes; then
7397 case $archive_cmds in
7399 # FIXME: we may have to deal with multi-command sequences.
7402 # Test whether the compiler implicitly links with -lc since on some
7403 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7404 # to ld, don't add -lc before -lgcc.
7405 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7406 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7408 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7411 (eval $ac_compile) 2>&5
7413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7414 (exit $ac_status); } 2>conftest.err; then
7417 libobjs=conftest.$ac_objext
7419 wl=$lt_prog_compiler_wl
7425 lt_save_allow_undefined_flag=$allow_undefined_flag
7426 allow_undefined_flag=
7427 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7428 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7431 (exit $ac_status); }
7433 archive_cmds_need_lc=no
7435 archive_cmds_need_lc=yes
7437 allow_undefined_flag=$lt_save_allow_undefined_flag
7439 cat conftest.err 1>&5
7442 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7443 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7450 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7451 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7453 if test -n "$hardcode_libdir_flag_spec" || \
7454 test -n "$runpath_var " || \
7455 test "X$hardcode_automatic"="Xyes" ; then
7457 # We can hardcode non-existant directories.
7458 if test "$hardcode_direct" != no &&
7459 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7460 # have to relink, otherwise we might link with an installed library
7461 # when we should be linking with a yet-to-be-installed one
7462 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7463 test "$hardcode_minus_L" != no; then
7464 # Linking always hardcodes the temporary library directory.
7465 hardcode_action=relink
7467 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7468 hardcode_action=immediate
7471 # We cannot hardcode anything, or else we can only hardcode existing
7473 hardcode_action=unsupported
7475 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7476 echo "${ECHO_T}$hardcode_action" >&6
7478 if test "$hardcode_action" = relink; then
7479 # Fast installation is not supported
7480 enable_fast_install=no
7481 elif test "$shlibpath_overrides_runpath" = yes ||
7482 test "$enable_shared" = no; then
7483 # Fast installation is not necessary
7484 enable_fast_install=needless
7489 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7490 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7491 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7492 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7493 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7494 echo "$as_me:$LINENO: result: yes" >&5
7495 echo "${ECHO_T}yes" >&6
7497 # FIXME - insert some real tests, host_os isn't really good enough
7500 if test -n "$STRIP" ; then
7501 striplib="$STRIP -x"
7502 echo "$as_me:$LINENO: result: yes" >&5
7503 echo "${ECHO_T}yes" >&6
7505 echo "$as_me:$LINENO: result: no" >&5
7506 echo "${ECHO_T}no" >&6
7510 echo "$as_me:$LINENO: result: no" >&5
7511 echo "${ECHO_T}no" >&6
7516 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7517 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7519 libname_spec='lib$name'
7527 shlibpath_overrides_runpath=unknown
7529 dynamic_linker="$host_os ld.so"
7530 sys_lib_dlsearch_path_spec="/lib /usr/lib"
7531 if test "$GCC" = yes; then
7532 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7533 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7534 # if the path contains ";" then we assume it to be the separator
7535 # otherwise default to the standard path separator (i.e. ":") - it is
7536 # assumed that no part of a normal pathname contains ";" but that should
7537 # okay in the real world where ";" in dirpaths is itself problematic.
7538 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7540 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7543 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7545 need_lib_prefix=unknown
7546 hardcode_into_libs=no
7548 # when you set need_version to no, make sure it does not cause -set_version
7549 # flags to be left without arguments
7550 need_version=unknown
7555 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7556 shlibpath_var=LIBPATH
7558 # AIX 3 has no versioning support, so we append a major version to the name.
7559 soname_spec='${libname}${release}${shared_ext}$major'
7566 hardcode_into_libs=yes
7567 if test "$host_cpu" = ia64; then
7568 # AIX 5 supports IA64
7569 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7570 shlibpath_var=LD_LIBRARY_PATH
7572 # With GCC up to 2.95.x, collect2 would create an import file
7573 # for dependence libraries. The import file would start with
7574 # the line `#! .'. This would cause the generated library to
7575 # depend on `.', always an invalid library. This was fixed in
7576 # development snapshots of GCC prior to 3.0.
7578 aix4 | aix4.[01] | aix4.[01].*)
7579 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7581 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7588 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7589 # soname into executable. Probably we can add versioning support to
7590 # collect2, so additional links can be useful in future.
7591 if test "$aix_use_runtimelinking" = yes; then
7592 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7593 # instead of lib<name>.a to let people know that these are not
7594 # typical AIX shared libraries.
7595 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7597 # We preserve .a as extension for shared libraries through AIX4.2
7598 # and later when we are not doing run time linking.
7599 library_names_spec='${libname}${release}.a $libname.a'
7600 soname_spec='${libname}${release}${shared_ext}$major'
7602 shlibpath_var=LIBPATH
7607 library_names_spec='$libname.ixlibrary $libname.a'
7608 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7609 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'
7613 library_names_spec='${libname}${shared_ext}'
7614 dynamic_linker="$host_os ld.so"
7615 shlibpath_var=LIBRARY_PATH
7621 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7622 soname_spec='${libname}${release}${shared_ext}$major'
7623 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7624 shlibpath_var=LD_LIBRARY_PATH
7625 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7626 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7627 # the default ld.so.conf also contains /usr/contrib/lib and
7628 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7629 # libtool to hard-code these into programs
7632 cygwin* | mingw* | pw32*)
7633 version_type=windows
7638 case $GCC,$host_os in
7639 yes,cygwin* | yes,mingw* | yes,pw32*)
7640 library_names_spec='$libname.dll.a'
7641 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7642 postinstall_cmds='base_file=`basename \${file}`~
7643 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7644 dldir=$destdir/`dirname \$dlpath`~
7645 test -d \$dldir || mkdir -p \$dldir~
7646 $install_prog $dir/$dlname \$dldir/$dlname'
7647 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7648 dlpath=$dir/\$dldll~
7650 shlibpath_overrides_runpath=yes
7654 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7655 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7656 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
7659 # MinGW DLLs use traditional 'lib' prefix
7660 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7661 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7662 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7663 # It is most probably a Windows format PATH printed by
7664 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7665 # path with ; separators, and with drive letters. We can handle the
7666 # drive letters (cygwin fileutils understands them), so leave them,
7667 # especially as we might pass files found there to a mingw objdump,
7668 # which wouldn't understand a cygwinified path. Ahh.
7669 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7671 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7675 # pw32 DLLs use 'pw' prefix rather than 'lib'
7676 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7682 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7685 dynamic_linker='Win32 ld.exe'
7686 # FIXME: first we should search . and the directory the executable is in
7690 darwin* | rhapsody*)
7691 dynamic_linker="$host_os dyld"
7695 # FIXME: Relying on posixy $() will cause problems for
7696 # cross-compilation, but unfortunately the echo tests do not
7697 # yet detect zsh echo's removal of \ escapes.
7698 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7699 soname_spec='${libname}${release}${major}$shared_ext'
7700 shlibpath_overrides_runpath=yes
7701 shlibpath_var=DYLD_LIBRARY_PATH
7702 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
7703 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7704 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7705 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"`
7707 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7714 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7715 soname_spec='${libname}${release}${shared_ext}$major'
7716 shlibpath_var=LD_LIBRARY_PATH
7724 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7725 version_type=freebsd-$objformat
7726 case $version_type in
7728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7733 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7737 shlibpath_var=LD_LIBRARY_PATH
7740 shlibpath_overrides_runpath=yes
7742 freebsd3.01* | freebsdelf3.01*)
7743 shlibpath_overrides_runpath=yes
7744 hardcode_into_libs=yes
7747 shlibpath_overrides_runpath=no
7748 hardcode_into_libs=yes
7757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7758 soname_spec='${libname}${release}${shared_ext}$major'
7759 shlibpath_var=LD_LIBRARY_PATH
7760 hardcode_into_libs=yes
7763 hpux9* | hpux10* | hpux11*)
7764 # Give a soname corresponding to the major version so that dld.sl refuses to
7765 # link against other versions.
7772 hardcode_into_libs=yes
7773 dynamic_linker="$host_os dld.so"
7774 shlibpath_var=LD_LIBRARY_PATH
7775 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7776 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7777 soname_spec='${libname}${release}${shared_ext}$major'
7778 if test "X$HPUX_IA64_MODE" = X32; then
7779 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7781 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7783 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7787 hardcode_into_libs=yes
7788 dynamic_linker="$host_os dld.sl"
7789 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7790 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7791 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7792 soname_spec='${libname}${release}${shared_ext}$major'
7793 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7794 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7798 dynamic_linker="$host_os dld.sl"
7799 shlibpath_var=SHLIB_PATH
7800 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
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'
7805 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7806 postinstall_cmds='chmod 555 $lib'
7809 irix5* | irix6* | nonstopux*)
7811 nonstopux*) version_type=nonstopux ;;
7813 if test "$lt_cv_prog_gnu_ld" = yes; then
7821 soname_spec='${libname}${release}${shared_ext}$major'
7822 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7824 irix5* | nonstopux*)
7828 case $LD in # libtool.m4 will add one of these switches to LD
7829 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7830 libsuff= shlibsuff= libmagic=32-bit;;
7831 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7832 libsuff=32 shlibsuff=N32 libmagic=N32;;
7833 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7834 libsuff=64 shlibsuff=64 libmagic=64-bit;;
7835 *) libsuff= shlibsuff= libmagic=never-match;;
7839 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7840 shlibpath_overrides_runpath=no
7841 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7842 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7843 hardcode_into_libs=yes
7846 # No shared lib support for Linux oldld, aout, or coff.
7847 linux*oldld* | linux*aout* | linux*coff*)
7851 # This must be Linux ELF.
7856 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7857 soname_spec='${libname}${release}${shared_ext}$major'
7858 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7859 shlibpath_var=LD_LIBRARY_PATH
7860 shlibpath_overrides_runpath=no
7861 # This implies no fast_install, which is unacceptable.
7862 # Some rework will be needed to allow for fast_install
7863 # before this can be enabled.
7864 hardcode_into_libs=yes
7866 # We used to test for /lib/ld.so.1 and disable shared libraries on
7867 # powerpc, because MkLinux only supported shared libraries with the
7868 # GNU dynamic linker. Since this was broken with cross compilers,
7869 # most powerpc-linux boxes support dynamic linking these days and
7870 # people can always --disable-shared, the test was removed, and we
7871 # assume the GNU/Linux dynamic linker is in use.
7872 dynamic_linker='GNU/Linux ld.so'
7879 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7880 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7881 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7882 dynamic_linker='NetBSD (a.out) ld.so'
7884 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
7885 soname_spec='${libname}${release}${shared_ext}$major'
7886 dynamic_linker='NetBSD ld.elf_so'
7888 shlibpath_var=LD_LIBRARY_PATH
7889 shlibpath_overrides_runpath=yes
7890 hardcode_into_libs=yes
7895 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7896 shlibpath_var=LD_LIBRARY_PATH
7897 shlibpath_overrides_runpath=yes
7904 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7905 soname_spec='${libname}${release}${shared_ext}$major'
7906 shlibpath_var=LD_LIBRARY_PATH
7907 shlibpath_overrides_runpath=yes
7914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7915 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7916 shlibpath_var=LD_LIBRARY_PATH
7917 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7919 openbsd2.[89] | openbsd2.[89].*)
7920 shlibpath_overrides_runpath=no
7923 shlibpath_overrides_runpath=yes
7927 shlibpath_overrides_runpath=yes
7932 libname_spec='$name'
7935 library_names_spec='$libname${shared_ext} $libname.a'
7936 dynamic_linker='OS/2 ld.exe'
7937 shlibpath_var=LIBPATH
7940 osf3* | osf4* | osf5*)
7944 soname_spec='${libname}${release}${shared_ext}$major'
7945 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7946 shlibpath_var=LD_LIBRARY_PATH
7947 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7948 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7953 soname_spec='${libname}${release}${shared_ext}$major'
7954 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7955 shlibpath_var=LD_LIBRARY_PATH
7962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7963 soname_spec='${libname}${release}${shared_ext}$major'
7964 shlibpath_var=LD_LIBRARY_PATH
7965 shlibpath_overrides_runpath=yes
7966 hardcode_into_libs=yes
7967 # ldd complains unless libraries are executable
7968 postinstall_cmds='chmod +x $lib'
7973 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7974 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
7975 shlibpath_var=LD_LIBRARY_PATH
7976 shlibpath_overrides_runpath=yes
7977 if test "$with_gnu_ld" = yes; then
7983 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7985 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7986 soname_spec='${libname}${release}${shared_ext}$major'
7987 shlibpath_var=LD_LIBRARY_PATH
7988 case $host_vendor in
7990 shlibpath_overrides_runpath=no
7992 export_dynamic_flag_spec='${wl}-Blargedynsym'
7993 runpath_var=LD_RUN_PATH
8001 shlibpath_overrides_runpath=no
8002 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8008 if test -d /usr/nec ;then
8010 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8011 soname_spec='$libname${shared_ext}.$major'
8012 shlibpath_var=LD_LIBRARY_PATH
8018 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8019 soname_spec='${libname}${release}${shared_ext}$major'
8020 shlibpath_var=LD_LIBRARY_PATH
8027 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8028 echo "${ECHO_T}$dynamic_linker" >&6
8029 test "$dynamic_linker" = no && can_build_shared=no
8031 if test "x$enable_dlopen" != xyes; then
8032 enable_dlopen=unknown
8033 enable_dlopen_self=unknown
8034 enable_dlopen_self_static=unknown
8041 lt_cv_dlopen="load_add_on"
8043 lt_cv_dlopen_self=yes
8047 lt_cv_dlopen="LoadLibrary"
8052 lt_cv_dlopen="dlopen"
8057 # if libdl is installed we need to link against it
8058 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8059 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8060 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8061 echo $ECHO_N "(cached) $ECHO_C" >&6
8063 ac_check_lib_save_LIBS=$LIBS
8065 cat >conftest.$ac_ext <<_ACEOF
8066 #line $LINENO "configure"
8069 cat confdefs.h >>conftest.$ac_ext
8070 cat >>conftest.$ac_ext <<_ACEOF
8071 /* end confdefs.h. */
8073 /* Override any gcc2 internal prototype to avoid an error. */
8077 /* We use char because int might match the return type of a gcc2
8078 builtin and then its argument prototype would still apply. */
8088 rm -f conftest.$ac_objext conftest$ac_exeext
8089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8090 (eval $ac_link) 2>&5
8092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8093 (exit $ac_status); } &&
8094 { ac_try='test -s conftest$ac_exeext'
8095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8099 (exit $ac_status); }; }; then
8100 ac_cv_lib_dl_dlopen=yes
8102 echo "$as_me: failed program was:" >&5
8103 sed 's/^/| /' conftest.$ac_ext >&5
8105 ac_cv_lib_dl_dlopen=no
8107 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8108 LIBS=$ac_check_lib_save_LIBS
8110 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8111 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8112 if test $ac_cv_lib_dl_dlopen = yes; then
8113 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8118 lt_cv_dlopen_self=yes
8125 echo "$as_me:$LINENO: checking for shl_load" >&5
8126 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8127 if test "${ac_cv_func_shl_load+set}" = set; then
8128 echo $ECHO_N "(cached) $ECHO_C" >&6
8130 cat >conftest.$ac_ext <<_ACEOF
8131 #line $LINENO "configure"
8134 cat confdefs.h >>conftest.$ac_ext
8135 cat >>conftest.$ac_ext <<_ACEOF
8136 /* end confdefs.h. */
8137 /* System header to define __stub macros and hopefully few prototypes,
8138 which can conflict with char shl_load (); below.
8139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8140 <limits.h> exists even on freestanding compilers. */
8142 # include <limits.h>
8144 # include <assert.h>
8146 /* Override any gcc2 internal prototype to avoid an error. */
8151 /* We use char because int might match the return type of a gcc2
8152 builtin and then its argument prototype would still apply. */
8154 /* The GNU C library defines this for functions which it implements
8155 to always fail with ENOSYS. Some functions are actually named
8156 something starting with __ and the normal name is an alias. */
8157 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8160 char (*f) () = shl_load;
8169 return f != shl_load;
8174 rm -f conftest.$ac_objext conftest$ac_exeext
8175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8176 (eval $ac_link) 2>&5
8178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8179 (exit $ac_status); } &&
8180 { ac_try='test -s conftest$ac_exeext'
8181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8185 (exit $ac_status); }; }; then
8186 ac_cv_func_shl_load=yes
8188 echo "$as_me: failed program was:" >&5
8189 sed 's/^/| /' conftest.$ac_ext >&5
8191 ac_cv_func_shl_load=no
8193 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8195 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8196 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8197 if test $ac_cv_func_shl_load = yes; then
8198 lt_cv_dlopen="shl_load"
8200 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8201 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8202 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8203 echo $ECHO_N "(cached) $ECHO_C" >&6
8205 ac_check_lib_save_LIBS=$LIBS
8207 cat >conftest.$ac_ext <<_ACEOF
8208 #line $LINENO "configure"
8211 cat confdefs.h >>conftest.$ac_ext
8212 cat >>conftest.$ac_ext <<_ACEOF
8213 /* end confdefs.h. */
8215 /* Override any gcc2 internal prototype to avoid an error. */
8219 /* We use char because int might match the return type of a gcc2
8220 builtin and then its argument prototype would still apply. */
8230 rm -f conftest.$ac_objext conftest$ac_exeext
8231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8232 (eval $ac_link) 2>&5
8234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8235 (exit $ac_status); } &&
8236 { ac_try='test -s conftest$ac_exeext'
8237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8241 (exit $ac_status); }; }; then
8242 ac_cv_lib_dld_shl_load=yes
8244 echo "$as_me: failed program was:" >&5
8245 sed 's/^/| /' conftest.$ac_ext >&5
8247 ac_cv_lib_dld_shl_load=no
8249 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8250 LIBS=$ac_check_lib_save_LIBS
8252 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8253 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8254 if test $ac_cv_lib_dld_shl_load = yes; then
8255 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8257 echo "$as_me:$LINENO: checking for dlopen" >&5
8258 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8259 if test "${ac_cv_func_dlopen+set}" = set; then
8260 echo $ECHO_N "(cached) $ECHO_C" >&6
8262 cat >conftest.$ac_ext <<_ACEOF
8263 #line $LINENO "configure"
8266 cat confdefs.h >>conftest.$ac_ext
8267 cat >>conftest.$ac_ext <<_ACEOF
8268 /* end confdefs.h. */
8269 /* System header to define __stub macros and hopefully few prototypes,
8270 which can conflict with char dlopen (); below.
8271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8272 <limits.h> exists even on freestanding compilers. */
8274 # include <limits.h>
8276 # include <assert.h>
8278 /* Override any gcc2 internal prototype to avoid an error. */
8283 /* We use char because int might match the return type of a gcc2
8284 builtin and then its argument prototype would still apply. */
8286 /* The GNU C library defines this for functions which it implements
8287 to always fail with ENOSYS. Some functions are actually named
8288 something starting with __ and the normal name is an alias. */
8289 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8292 char (*f) () = dlopen;
8306 rm -f conftest.$ac_objext conftest$ac_exeext
8307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8308 (eval $ac_link) 2>&5
8310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8311 (exit $ac_status); } &&
8312 { ac_try='test -s conftest$ac_exeext'
8313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8317 (exit $ac_status); }; }; then
8318 ac_cv_func_dlopen=yes
8320 echo "$as_me: failed program was:" >&5
8321 sed 's/^/| /' conftest.$ac_ext >&5
8323 ac_cv_func_dlopen=no
8325 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8327 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8328 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8329 if test $ac_cv_func_dlopen = yes; then
8330 lt_cv_dlopen="dlopen"
8332 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8333 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8334 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8335 echo $ECHO_N "(cached) $ECHO_C" >&6
8337 ac_check_lib_save_LIBS=$LIBS
8339 cat >conftest.$ac_ext <<_ACEOF
8340 #line $LINENO "configure"
8343 cat confdefs.h >>conftest.$ac_ext
8344 cat >>conftest.$ac_ext <<_ACEOF
8345 /* end confdefs.h. */
8347 /* Override any gcc2 internal prototype to avoid an error. */
8351 /* We use char because int might match the return type of a gcc2
8352 builtin and then its argument prototype would still apply. */
8362 rm -f conftest.$ac_objext conftest$ac_exeext
8363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8364 (eval $ac_link) 2>&5
8366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8367 (exit $ac_status); } &&
8368 { ac_try='test -s conftest$ac_exeext'
8369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8373 (exit $ac_status); }; }; then
8374 ac_cv_lib_dl_dlopen=yes
8376 echo "$as_me: failed program was:" >&5
8377 sed 's/^/| /' conftest.$ac_ext >&5
8379 ac_cv_lib_dl_dlopen=no
8381 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8382 LIBS=$ac_check_lib_save_LIBS
8384 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8385 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8386 if test $ac_cv_lib_dl_dlopen = yes; then
8387 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8389 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8390 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8391 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8392 echo $ECHO_N "(cached) $ECHO_C" >&6
8394 ac_check_lib_save_LIBS=$LIBS
8396 cat >conftest.$ac_ext <<_ACEOF
8397 #line $LINENO "configure"
8400 cat confdefs.h >>conftest.$ac_ext
8401 cat >>conftest.$ac_ext <<_ACEOF
8402 /* end confdefs.h. */
8404 /* Override any gcc2 internal prototype to avoid an error. */
8408 /* We use char because int might match the return type of a gcc2
8409 builtin and then its argument prototype would still apply. */
8419 rm -f conftest.$ac_objext conftest$ac_exeext
8420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8421 (eval $ac_link) 2>&5
8423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8424 (exit $ac_status); } &&
8425 { ac_try='test -s conftest$ac_exeext'
8426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8430 (exit $ac_status); }; }; then
8431 ac_cv_lib_svld_dlopen=yes
8433 echo "$as_me: failed program was:" >&5
8434 sed 's/^/| /' conftest.$ac_ext >&5
8436 ac_cv_lib_svld_dlopen=no
8438 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8439 LIBS=$ac_check_lib_save_LIBS
8441 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8442 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8443 if test $ac_cv_lib_svld_dlopen = yes; then
8444 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8446 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8447 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8448 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8449 echo $ECHO_N "(cached) $ECHO_C" >&6
8451 ac_check_lib_save_LIBS=$LIBS
8453 cat >conftest.$ac_ext <<_ACEOF
8454 #line $LINENO "configure"
8457 cat confdefs.h >>conftest.$ac_ext
8458 cat >>conftest.$ac_ext <<_ACEOF
8459 /* end confdefs.h. */
8461 /* Override any gcc2 internal prototype to avoid an error. */
8465 /* We use char because int might match the return type of a gcc2
8466 builtin and then its argument prototype would still apply. */
8476 rm -f conftest.$ac_objext conftest$ac_exeext
8477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8478 (eval $ac_link) 2>&5
8480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8481 (exit $ac_status); } &&
8482 { ac_try='test -s conftest$ac_exeext'
8483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8487 (exit $ac_status); }; }; then
8488 ac_cv_lib_dld_dld_link=yes
8490 echo "$as_me: failed program was:" >&5
8491 sed 's/^/| /' conftest.$ac_ext >&5
8493 ac_cv_lib_dld_dld_link=no
8495 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8496 LIBS=$ac_check_lib_save_LIBS
8498 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8499 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8500 if test $ac_cv_lib_dld_dld_link = yes; then
8501 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8522 if test "x$lt_cv_dlopen" != xno; then
8528 case $lt_cv_dlopen in
8530 save_CPPFLAGS="$CPPFLAGS"
8531 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8533 save_LDFLAGS="$LDFLAGS"
8534 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8537 LIBS="$lt_cv_dlopen_libs $LIBS"
8539 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8540 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8541 if test "${lt_cv_dlopen_self+set}" = set; then
8542 echo $ECHO_N "(cached) $ECHO_C" >&6
8544 if test "$cross_compiling" = yes; then :
8545 lt_cv_dlopen_self=cross
8547 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8548 lt_status=$lt_dlunknown
8549 cat > conftest.$ac_ext <<EOF
8550 #line 8547 "configure"
8551 #include "confdefs.h"
8560 # define LT_DLGLOBAL RTLD_GLOBAL
8563 # define LT_DLGLOBAL DL_GLOBAL
8565 # define LT_DLGLOBAL 0
8569 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8570 find out it does not work in some platform. */
8571 #ifndef LT_DLLAZY_OR_NOW
8573 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8576 # define LT_DLLAZY_OR_NOW DL_LAZY
8579 # define LT_DLLAZY_OR_NOW RTLD_NOW
8582 # define LT_DLLAZY_OR_NOW DL_NOW
8584 # define LT_DLLAZY_OR_NOW 0
8592 extern "C" void exit (int);
8595 void fnord() { int i=42;}
8598 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8599 int status = $lt_dlunknown;
8603 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8604 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8605 /* dlclose (self); */
8611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8612 (eval $ac_link) 2>&5
8614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8615 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8616 (./conftest; exit; ) 2>/dev/null
8619 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8620 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8621 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
8624 # compilation failed
8625 lt_cv_dlopen_self=no
8632 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8633 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8635 if test "x$lt_cv_dlopen_self" = xyes; then
8636 LDFLAGS="$LDFLAGS $link_static_flag"
8637 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8638 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8639 if test "${lt_cv_dlopen_self_static+set}" = set; then
8640 echo $ECHO_N "(cached) $ECHO_C" >&6
8642 if test "$cross_compiling" = yes; then :
8643 lt_cv_dlopen_self_static=cross
8645 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8646 lt_status=$lt_dlunknown
8647 cat > conftest.$ac_ext <<EOF
8648 #line 8645 "configure"
8649 #include "confdefs.h"
8658 # define LT_DLGLOBAL RTLD_GLOBAL
8661 # define LT_DLGLOBAL DL_GLOBAL
8663 # define LT_DLGLOBAL 0
8667 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8668 find out it does not work in some platform. */
8669 #ifndef LT_DLLAZY_OR_NOW
8671 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8674 # define LT_DLLAZY_OR_NOW DL_LAZY
8677 # define LT_DLLAZY_OR_NOW RTLD_NOW
8680 # define LT_DLLAZY_OR_NOW DL_NOW
8682 # define LT_DLLAZY_OR_NOW 0
8690 extern "C" void exit (int);
8693 void fnord() { int i=42;}
8696 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8697 int status = $lt_dlunknown;
8701 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8702 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8703 /* dlclose (self); */
8709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8710 (eval $ac_link) 2>&5
8712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8713 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8714 (./conftest; exit; ) 2>/dev/null
8717 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8718 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8719 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
8722 # compilation failed
8723 lt_cv_dlopen_self_static=no
8730 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8731 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8734 CPPFLAGS="$save_CPPFLAGS"
8735 LDFLAGS="$save_LDFLAGS"
8740 case $lt_cv_dlopen_self in
8741 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
8742 *) enable_dlopen_self=unknown ;;
8745 case $lt_cv_dlopen_self_static in
8746 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
8747 *) enable_dlopen_self_static=unknown ;;
8752 # Report which librarie types wil actually be built
8753 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8754 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8755 echo "$as_me:$LINENO: result: $can_build_shared" >&5
8756 echo "${ECHO_T}$can_build_shared" >&6
8758 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8759 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8760 test "$can_build_shared" = "no" && enable_shared=no
8762 # On AIX, shared libraries and static libraries use the same namespace, and
8763 # are all built from PIC.
8766 test "$enable_shared" = yes && enable_static=no
8767 if test -n "$RANLIB"; then
8768 archive_cmds="$archive_cmds~\$RANLIB \$lib"
8769 postinstall_cmds='$RANLIB $lib'
8774 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8775 test "$enable_shared" = yes && enable_static=no
8778 darwin* | rhapsody*)
8779 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8780 archive_cmds_need_lc=no
8782 rhapsody* | darwin1.[012])
8783 allow_undefined_flag='-undefined suppress'
8786 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
8789 # FIXME: Relying on posixy $() will cause problems for
8790 # cross-compilation, but unfortunately the echo tests do not
8791 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
8792 # `"' quotes if we put them in here... so don't!
8793 output_verbose_link_cmd='echo'
8794 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8795 module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
8796 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8797 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}'
8798 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}'
8800 hardcode_automatic=yes
8801 hardcode_shlibpath_var=unsupported
8802 whole_archive_flag_spec='-all_load $convenience'
8803 link_all_deplibs=yes
8807 echo "$as_me:$LINENO: result: $enable_shared" >&5
8808 echo "${ECHO_T}$enable_shared" >&6
8810 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8811 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
8812 # Make sure either enable_shared or enable_static is yes.
8813 test "$enable_shared" = yes || enable_static=yes
8814 echo "$as_me:$LINENO: result: $enable_static" >&5
8815 echo "${ECHO_T}$enable_static" >&6
8817 # The else clause should only fire when bootstrapping the
8818 # libtool distribution, otherwise you forgot to ship ltmain.sh
8819 # with your package, and you will get complaints that there are
8820 # no rules to generate ltmain.sh.
8821 if test -f "$ltmain"; then
8822 # See if we are running on zsh, and set the options which allow our commands through
8823 # without removal of \ escapes.
8824 if test -n "${ZSH_VERSION+set}" ; then
8825 setopt NO_GLOB_SUBST
8827 # Now quote all the things that may contain metacharacters while being
8828 # careful not to overquote the AC_SUBSTed values. We take copies of the
8829 # variables and quote the copies for generation of the libtool script.
8830 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8831 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8832 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8833 deplibs_check_method reload_flag reload_cmds need_locks \
8834 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
8835 lt_cv_sys_global_symbol_to_c_name_address \
8836 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8837 old_postinstall_cmds old_postuninstall_cmds \
8841 lt_prog_compiler_wl \
8842 lt_prog_compiler_pic \
8843 lt_prog_compiler_static \
8844 lt_prog_compiler_no_builtin_flag \
8845 export_dynamic_flag_spec \
8846 thread_safe_flag_spec \
8847 whole_archive_flag_spec \
8848 enable_shared_with_static_runtimes \
8850 old_archive_from_new_cmds \
8855 compiler_lib_search_path \
8857 archive_expsym_cmds \
8859 postuninstall_cmds \
8860 old_archive_from_expsyms_cmds \
8861 allow_undefined_flag \
8863 export_symbols_cmds \
8864 hardcode_libdir_flag_spec \
8865 hardcode_libdir_flag_spec_ld \
8866 hardcode_libdir_separator \
8867 hardcode_automatic \
8869 module_expsym_cmds \
8870 lt_cv_prog_compiler_c_o \
8875 old_archive_cmds | \
8876 old_archive_from_new_cmds | \
8878 archive_expsym_cmds | \
8880 module_expsym_cmds | \
8881 old_archive_from_expsyms_cmds | \
8882 export_symbols_cmds | \
8883 extract_expsyms_cmds | reload_cmds | finish_cmds | \
8884 postinstall_cmds | postuninstall_cmds | \
8885 old_postinstall_cmds | old_postuninstall_cmds | \
8886 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
8887 # Double-quote double-evaled strings.
8888 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
8891 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
8897 *'\$0 --fallback-echo"')
8898 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
8903 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
8905 { echo "$as_me:$LINENO: creating $ofile" >&5
8906 echo "$as_me: creating $ofile" >&6;}
8908 cat <<__EOF__ >> "$cfgfile"
8911 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
8912 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
8913 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8915 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
8916 # Free Software Foundation, Inc.
8918 # This file is part of GNU Libtool:
8919 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8921 # This program is free software; you can redistribute it and/or modify
8922 # it under the terms of the GNU General Public License as published by
8923 # the Free Software Foundation; either version 2 of the License, or
8924 # (at your option) any later version.
8926 # This program is distributed in the hope that it will be useful, but
8927 # WITHOUT ANY WARRANTY; without even the implied warranty of
8928 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8929 # General Public License for more details.
8931 # You should have received a copy of the GNU General Public License
8932 # along with this program; if not, write to the Free Software
8933 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8935 # As a special exception to the GNU General Public License, if you
8936 # distribute this file as part of a program that contains a
8937 # configuration script generated by Autoconf, you may include it under
8938 # the same distribution terms that you use for the rest of that program.
8940 # A sed program that does not truncate output.
8943 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
8944 Xsed="$SED -e s/^X//"
8946 # The HP-UX ksh and POSIX shell print the target directory to stdout
8948 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
8950 # The names of the tagged configurations supported by this script.
8953 # ### BEGIN LIBTOOL CONFIG
8955 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
8957 # Shell to use when invoking shell scripts.
8960 # Whether or not to build shared libraries.
8961 build_libtool_libs=$enable_shared
8963 # Whether or not to build static libraries.
8964 build_old_libs=$enable_static
8966 # Whether or not to add -lc for building shared libraries.
8967 build_libtool_need_lc=$archive_cmds_need_lc
8969 # Whether or not to disallow shared libs when runtime libs are static
8970 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
8972 # Whether or not to optimize for fast installation.
8973 fast_install=$enable_fast_install
8976 host_alias=$host_alias
8979 # An echo program that does not interpret backslashes.
8984 AR_FLAGS=$lt_AR_FLAGS
8989 # A language-specific compiler.
8992 # Is the compiler the GNU C compiler?
8998 # The linker used to build libraries.
9001 # Whether we need hard or soft links.
9004 # A BSD-compatible nm program.
9007 # A symbol stripping program
9010 # Used to examine libraries when file_magic_cmd begins "file"
9011 MAGIC_CMD=$MAGIC_CMD
9013 # Used on cygwin: DLL creation program.
9016 # Used on cygwin: object dumper.
9019 # Used on cygwin: assembler.
9022 # The name of the directory that contains temporary libtool files.
9025 # How to create reloadable object files.
9026 reload_flag=$lt_reload_flag
9027 reload_cmds=$lt_reload_cmds
9029 # How to pass a linker flag through the compiler.
9030 wl=$lt_lt_prog_compiler_wl
9032 # Object file suffix (normally "o").
9035 # Old archive suffix (normally "a").
9038 # Shared library suffix (normally ".so").
9041 # Executable file suffix (normally "").
9044 # Additional compiler flags for building library objects.
9045 pic_flag=$lt_lt_prog_compiler_pic
9048 # What is the maximum length of a command?
9049 max_cmd_len=$lt_cv_sys_max_cmd_len
9051 # Does compiler simultaneously support -c and -o options?
9052 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9054 # Must we lock files when doing compilation ?
9055 need_locks=$lt_need_locks
9057 # Do we need the lib prefix for modules?
9058 need_lib_prefix=$need_lib_prefix
9060 # Do we need a version for libraries?
9061 need_version=$need_version
9063 # Whether dlopen is supported.
9064 dlopen_support=$enable_dlopen
9066 # Whether dlopen of programs is supported.
9067 dlopen_self=$enable_dlopen_self
9069 # Whether dlopen of statically linked programs is supported.
9070 dlopen_self_static=$enable_dlopen_self_static
9072 # Compiler flag to prevent dynamic linking.
9073 link_static_flag=$lt_lt_prog_compiler_static
9075 # Compiler flag to turn off builtin functions.
9076 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9078 # Compiler flag to allow reflexive dlopens.
9079 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9081 # Compiler flag to generate shared objects directly from archives.
9082 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9084 # Compiler flag to generate thread-safe objects.
9085 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9087 # Library versioning type.
9088 version_type=$version_type
9090 # Format of library name prefix.
9091 libname_spec=$lt_libname_spec
9093 # List of archive names. First name is the real one, the rest are links.
9094 # The last name is the one that the linker finds with -lNAME.
9095 library_names_spec=$lt_library_names_spec
9097 # The coded name of the library, if different from the real name.
9098 soname_spec=$lt_soname_spec
9100 # Commands used to build and install an old-style archive.
9102 old_archive_cmds=$lt_old_archive_cmds
9103 old_postinstall_cmds=$lt_old_postinstall_cmds
9104 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9106 # Create an old-style archive from a shared archive.
9107 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9109 # Create a temporary old-style archive to link instead of a shared archive.
9110 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9112 # Commands used to build and install a shared archive.
9113 archive_cmds=$lt_archive_cmds
9114 archive_expsym_cmds=$lt_archive_expsym_cmds
9115 postinstall_cmds=$lt_postinstall_cmds
9116 postuninstall_cmds=$lt_postuninstall_cmds
9118 # Commands used to build a loadable module (assumed same as above if empty)
9119 module_cmds=$lt_module_cmds
9120 module_expsym_cmds=$lt_module_expsym_cmds
9122 # Commands to strip libraries.
9123 old_striplib=$lt_old_striplib
9124 striplib=$lt_striplib
9126 # Dependencies to place before the objects being linked to create a
9128 predep_objects=$lt_predep_objects
9130 # Dependencies to place after the objects being linked to create a
9132 postdep_objects=$lt_postdep_objects
9134 # Dependencies to place before the objects being linked to create a
9138 # Dependencies to place after the objects being linked to create a
9140 postdeps=$lt_postdeps
9142 # The library search path used internally by the compiler when linking
9144 compiler_lib_search_path=$lt_compiler_lib_search_path
9146 # Method to check whether dependent libraries are shared objects.
9147 deplibs_check_method=$lt_deplibs_check_method
9149 # Command to use when deplibs_check_method == file_magic.
9150 file_magic_cmd=$lt_file_magic_cmd
9152 # Flag that allows shared libraries with undefined symbols to be built.
9153 allow_undefined_flag=$lt_allow_undefined_flag
9155 # Flag that forces no undefined symbols.
9156 no_undefined_flag=$lt_no_undefined_flag
9158 # Commands used to finish a libtool library installation in a directory.
9159 finish_cmds=$lt_finish_cmds
9161 # Same as above, but a single script fragment to be evaled but not shown.
9162 finish_eval=$lt_finish_eval
9164 # Take the output of nm and produce a listing of raw symbols and C names.
9165 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9167 # Transform the output of nm in a proper C declaration
9168 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9170 # Transform the output of nm in a C name address pair
9171 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9173 # This is the shared library runtime path variable.
9174 runpath_var=$runpath_var
9176 # This is the shared library path variable.
9177 shlibpath_var=$shlibpath_var
9179 # Is shlibpath searched before the hard-coded library search path?
9180 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9182 # How to hardcode a shared library path into an executable.
9183 hardcode_action=$hardcode_action
9185 # Whether we should hardcode library paths into libraries.
9186 hardcode_into_libs=$hardcode_into_libs
9188 # Flag to hardcode \$libdir into a binary during linking.
9189 # This must work even if \$libdir does not exist.
9190 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9192 # If ld is used when linking, flag to hardcode \$libdir into
9193 # a binary during linking. This must work even if \$libdir does
9195 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9197 # Whether we need a single -rpath flag with a separated argument.
9198 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9200 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9202 hardcode_direct=$hardcode_direct
9204 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9206 hardcode_minus_L=$hardcode_minus_L
9208 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9209 # the resulting binary.
9210 hardcode_shlibpath_var=$hardcode_shlibpath_var
9212 # Set to yes if building a shared library automatically hardcodes DIR into the library
9213 # and all subsequent libraries and executables linked against it.
9214 hardcode_automatic=$hardcode_automatic
9216 # Variables whose values should be saved in libtool wrapper scripts and
9217 # restored at relink time.
9218 variables_saved_for_relink="$variables_saved_for_relink"
9220 # Whether libtool must link a program against all its dependency libraries.
9221 link_all_deplibs=$link_all_deplibs
9223 # Compile-time system search path for libraries
9224 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9226 # Run-time system search path for libraries
9227 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9229 # Fix the shell variable \$srcfile for the compiler.
9230 fix_srcfile_path="$fix_srcfile_path"
9232 # Set to yes if exported symbols are required.
9233 always_export_symbols=$always_export_symbols
9235 # The commands to list exported symbols.
9236 export_symbols_cmds=$lt_export_symbols_cmds
9238 # The commands to extract the exported symbol list from a shared archive.
9239 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9241 # Symbols that should not be listed in the preloaded symbols.
9242 exclude_expsyms=$lt_exclude_expsyms
9244 # Symbols that must always be exported.
9245 include_expsyms=$lt_include_expsyms
9247 # ### END LIBTOOL CONFIG
9254 cat <<\EOF >> "$cfgfile"
9256 # AIX sometimes has problems with the GCC collect2 program. For some
9257 # reason, if we set the COLLECT_NAMES environment variable, the problems
9258 # vanish in a puff of smoke.
9259 if test "X${COLLECT_NAMES+set}" != Xset; then
9261 export COLLECT_NAMES
9267 # We use sed instead of cat because bash on DJGPP gets confused if
9268 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9269 # text mode, it properly converts lines to CR/LF. This bash problem
9270 # is reportedly fixed, but why not run on old versions too?
9271 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9273 mv -f "$cfgfile" "$ofile" || \
9274 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9278 # If there is no Makefile yet, we rely on a make rule to execute
9279 # `config.status --recheck' to rerun these tests and create the
9280 # libtool script then.
9281 test -f Makefile && make "$ltmain"
9286 ac_cpp='$CPP $CPPFLAGS'
9287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9294 # Check whether --with-tags or --without-tags was given.
9295 if test "${with_tags+set}" = set; then
9296 withval="$with_tags"
9300 if test -f "$ltmain" && test -n "$tagnames"; then
9301 if test ! -f "${ofile}"; then
9302 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9303 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9306 if test -z "$LTCC"; then
9307 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9308 if test -z "$LTCC"; then
9309 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9310 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9312 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9313 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9317 # Extract list of available tagged configurations in $ofile.
9318 # Note that this assumes the entire list is on one line.
9319 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9321 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9322 for tagname in $tagnames; do
9324 # Check whether tagname contains only valid characters
9325 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9327 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9328 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9329 { (exit 1); exit 1; }; }
9333 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9335 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9336 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9337 { (exit 1); exit 1; }; }
9340 # Update the list of available tags.
9341 if test -n "$tagname"; then
9342 echo appending configuration tag \"$tagname\" to $ofile
9346 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9348 ac_cpp='$CXXCPP $CPPFLAGS'
9349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9356 archive_cmds_need_lc_CXX=no
9357 allow_undefined_flag_CXX=
9358 always_export_symbols_CXX=no
9359 archive_expsym_cmds_CXX=
9360 export_dynamic_flag_spec_CXX=
9361 hardcode_direct_CXX=no
9362 hardcode_libdir_flag_spec_CXX=
9363 hardcode_libdir_flag_spec_ld_CXX=
9364 hardcode_libdir_separator_CXX=
9365 hardcode_minus_L_CXX=no
9366 hardcode_automatic_CXX=no
9368 module_expsym_cmds_CXX=
9369 link_all_deplibs_CXX=unknown
9370 old_archive_cmds_CXX=$old_archive_cmds
9371 no_undefined_flag_CXX=
9372 whole_archive_flag_spec_CXX=
9373 enable_shared_with_static_runtimes_CXX=no
9375 # Dependencies to place before and after the object being linked:
9377 postdep_objects_CXX=
9380 compiler_lib_search_path_CXX=
9382 # Source file extension for C++ test sources.
9385 # Object file extension for compiled C++ test sources.
9389 # Code to be used in simple compile tests
9390 lt_simple_compile_test_code="int some_variable = 0;\n"
9392 # Code to be used in simple link tests
9393 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
9395 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9397 # If no C compiler was specified, use CC.
9400 # Allow CC to be a program name with arguments.
9404 # Allow CC to be a program name with arguments.
9409 lt_save_with_gnu_ld=$with_gnu_ld
9410 lt_save_path_LD=$lt_cv_path_LD
9411 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9412 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9414 unset lt_cv_prog_gnu_ld
9416 if test -n "${lt_cv_path_LDCXX+set}"; then
9417 lt_cv_path_LD=$lt_cv_path_LDCXX
9421 test -z "${LDCXX+set}" || LD=$LDCXX
9425 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9427 # We don't want -fno-exception wen compiling C++ code, so set the
9428 # no_builtin_flag separately
9429 if test "$GXX" = yes; then
9430 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9432 lt_prog_compiler_no_builtin_flag_CXX=
9435 if test "$GXX" = yes; then
9436 # Set up default GNU C++ configuration
9439 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9440 if test "${with_gnu_ld+set}" = set; then
9441 withval="$with_gnu_ld"
9442 test "$withval" = no || with_gnu_ld=yes
9447 if test "$GCC" = yes; then
9448 # Check if gcc -print-prog-name=ld gives a path.
9449 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9450 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9453 # gcc leaves a trailing carriage return which upsets mingw
9454 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9456 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9459 # Accept absolute paths.
9461 re_direlt='/[^/][^/]*/\.\./'
9462 # Canonicalize the path of ld
9463 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9464 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9465 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9467 test -z "$LD" && LD="$ac_prog"
9470 # If it fails, then pretend we aren't using GCC.
9474 # If it is relative, then search for the first ld in PATH.
9478 elif test "$with_gnu_ld" = yes; then
9479 echo "$as_me:$LINENO: checking for GNU ld" >&5
9480 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9482 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9483 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9485 if test "${lt_cv_path_LD+set}" = set; then
9486 echo $ECHO_N "(cached) $ECHO_C" >&6
9488 if test -z "$LD"; then
9489 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9490 for ac_dir in $PATH; do
9492 test -z "$ac_dir" && ac_dir=.
9493 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9494 lt_cv_path_LD="$ac_dir/$ac_prog"
9495 # Check to see if the program is GNU ld. I'd rather use --version,
9496 # but apparently some GNU ld's only accept -v.
9497 # Break only if it was the GNU/non-GNU ld that we prefer.
9498 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9499 *GNU* | *'with BFD'*)
9500 test "$with_gnu_ld" != no && break
9503 test "$with_gnu_ld" != yes && break
9510 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9515 if test -n "$LD"; then
9516 echo "$as_me:$LINENO: result: $LD" >&5
9517 echo "${ECHO_T}$LD" >&6
9519 echo "$as_me:$LINENO: result: no" >&5
9520 echo "${ECHO_T}no" >&6
9522 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9523 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9524 { (exit 1); exit 1; }; }
9525 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9526 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9527 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9528 echo $ECHO_N "(cached) $ECHO_C" >&6
9530 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9531 case `"$LD" -v 2>&1 </dev/null` in
9532 *GNU* | *'with BFD'*)
9533 lt_cv_prog_gnu_ld=yes
9536 lt_cv_prog_gnu_ld=no
9540 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9541 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9542 with_gnu_ld=$lt_cv_prog_gnu_ld
9546 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9547 # archiving commands below assume that GNU ld is being used.
9548 if test "$with_gnu_ld" = yes; then
9549 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9550 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'
9552 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
9553 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9555 # If archive_cmds runs LD, not CC, wlarc should be empty
9556 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9557 # investigate it a little bit more. (MM)
9560 # ancient GNU ld didn't support --whole-archive et. al.
9561 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9562 grep 'no-whole-archive' > /dev/null; then
9563 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9565 whole_archive_flag_spec_CXX=
9571 # A generic and very simple default shared library creation
9572 # command for GNU C++ for the case where it uses the native
9573 # linker, instead of GNU ld. If possible, this setting should
9574 # overridden to take advantage of the native linker features on
9575 # the platform it is being used on.
9576 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9579 # Commands to make compiler produce verbose output that lists
9580 # what "hidden" libraries, object files and flags are used when
9581 # linking a shared library.
9582 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9590 # PORTME: fill in a description of your system's C++ link characteristics
9591 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9592 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9596 # FIXME: insert proper C++ library support
9600 if test "$host_cpu" = ia64; then
9601 # On IA64, the linker does run time linking by default, so we don't
9602 # have to do anything special.
9603 aix_use_runtimelinking=no
9604 exp_sym_flag='-Bexport'
9607 aix_use_runtimelinking=no
9609 # Test if we are trying to use run time linking or normal
9610 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9611 # need to do runtime linking.
9612 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9613 for ld_flag in $LDFLAGS; do
9616 aix_use_runtimelinking=yes
9623 exp_sym_flag='-bexport'
9624 no_entry_flag='-bnoentry'
9627 # When large executables or shared objects are built, AIX ld can
9628 # have problems creating the table of contents. If linking a library
9629 # or program results in "error TOC overflow" add -mminimal-toc to
9630 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9631 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9634 hardcode_direct_CXX=yes
9635 hardcode_libdir_separator_CXX=':'
9636 link_all_deplibs_CXX=yes
9638 if test "$GXX" = yes; then
9639 case $host_os in aix4.012|aix4.012.*)
9640 # We only want to do this on AIX 4.2 and lower, the check
9641 # below for broken collect2 doesn't work under 4.3+
9642 collect2name=`${CC} -print-prog-name=collect2`
9643 if test -f "$collect2name" && \
9644 strings "$collect2name" | grep resolve_lib_name >/dev/null
9646 # We have reworked collect2
9647 hardcode_direct_CXX=yes
9649 # We have old collect2
9650 hardcode_direct_CXX=unsupported
9651 # It fails to find uninstalled libraries when the uninstalled
9652 # path is not listed in the libpath. Setting hardcode_minus_L
9653 # to unsupported forces relinking
9654 hardcode_minus_L_CXX=yes
9655 hardcode_libdir_flag_spec_CXX='-L$libdir'
9656 hardcode_libdir_separator_CXX=
9659 shared_flag='-shared'
9662 if test "$host_cpu" = ia64; then
9663 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9664 # chokes on -Wl,-G. The following line is correct:
9667 if test "$aix_use_runtimelinking" = yes; then
9668 shared_flag='${wl}-G'
9670 shared_flag='${wl}-bM:SRE'
9675 # It seems that -bexpall does not export symbols beginning with
9676 # underscore (_), so it is better to generate a list of symbols to export.
9677 always_export_symbols_CXX=yes
9678 if test "$aix_use_runtimelinking" = yes; then
9679 # Warning - without using the other runtime loading flags (-brtl),
9680 # -berok will link without error, but may produce a broken library.
9681 allow_undefined_flag_CXX='-berok'
9682 # Determine the default libpath from the value encoded in an empty executable.
9683 cat >conftest.$ac_ext <<_ACEOF
9684 #line $LINENO "configure"
9687 cat confdefs.h >>conftest.$ac_ext
9688 cat >>conftest.$ac_ext <<_ACEOF
9689 /* end confdefs.h. */
9699 rm -f conftest.$ac_objext conftest$ac_exeext
9700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9701 (eval $ac_link) 2>&5
9703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9704 (exit $ac_status); } &&
9705 { ac_try='test -s conftest$ac_exeext'
9706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9710 (exit $ac_status); }; }; then
9712 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9714 # Check for a 64-bit object if we didn't find anything.
9715 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; }
9718 echo "$as_me: failed program was:" >&5
9719 sed 's/^/| /' conftest.$ac_ext >&5
9722 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9723 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9725 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9727 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"
9729 if test "$host_cpu" = ia64; then
9730 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
9731 allow_undefined_flag_CXX="-z nodefs"
9732 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"
9734 # Determine the default libpath from the value encoded in an empty executable.
9735 cat >conftest.$ac_ext <<_ACEOF
9736 #line $LINENO "configure"
9739 cat confdefs.h >>conftest.$ac_ext
9740 cat >>conftest.$ac_ext <<_ACEOF
9741 /* end confdefs.h. */
9751 rm -f conftest.$ac_objext conftest$ac_exeext
9752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9753 (eval $ac_link) 2>&5
9755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9756 (exit $ac_status); } &&
9757 { ac_try='test -s conftest$ac_exeext'
9758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9762 (exit $ac_status); }; }; then
9764 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9766 # Check for a 64-bit object if we didn't find anything.
9767 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; }
9770 echo "$as_me: failed program was:" >&5
9771 sed 's/^/| /' conftest.$ac_ext >&5
9774 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9775 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9777 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9778 # Warning - without using the other run time loading flags,
9779 # -berok will link without error, but may produce a broken library.
9780 no_undefined_flag_CXX=' ${wl}-bernotok'
9781 allow_undefined_flag_CXX=' ${wl}-berok'
9782 # -bexpall does not export symbols beginning with underscore (_)
9783 always_export_symbols_CXX=yes
9784 # Exported symbols can be pulled into shared objects from archives
9785 whole_archive_flag_spec_CXX=' '
9786 archive_cmds_need_lc_CXX=yes
9787 # This is similar to how AIX traditionally builds it's shared libraries.
9788 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'
9793 case $cc_basename in
9795 # FIXME: insert proper C++ library support
9801 cygwin* | mingw* | pw32*)
9802 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
9803 # as there is no search path for DLLs.
9804 hardcode_libdir_flag_spec_CXX='-L$libdir'
9805 allow_undefined_flag_CXX=unsupported
9806 always_export_symbols_CXX=no
9807 enable_shared_with_static_runtimes_CXX=yes
9809 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9810 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'
9811 # If the export-symbols file already is a .def file (1st line
9812 # is EXPORTS), use it as is; otherwise, prepend...
9813 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9814 cp $export_symbols $output_objdir/$soname.def;
9816 echo EXPORTS > $output_objdir/$soname.def;
9817 cat $export_symbols >> $output_objdir/$soname.def;
9819 $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'
9825 darwin* | rhapsody*)
9826 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9827 archive_cmds_need_lc_CXX=no
9829 rhapsody* | darwin1.[012])
9830 allow_undefined_flag_CXX='-undefined suppress'
9833 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9836 lt_int_apple_cc_single_mod=no
9837 output_verbose_link_cmd='echo'
9838 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9839 lt_int_apple_cc_single_mod=yes
9841 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9842 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9844 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'
9846 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9848 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9849 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9850 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}'
9852 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}'
9854 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}'
9855 hardcode_direct_CXX=no
9856 hardcode_automatic_CXX=yes
9857 hardcode_shlibpath_var_CXX=unsupported
9858 whole_archive_flag_spec_CXX='-all_load $convenience'
9859 link_all_deplibs_CXX=yes
9864 case $cc_basename in
9866 # FIXME: insert proper C++ library support
9870 # Green Hills C++ Compiler
9871 # FIXME: insert proper C++ library support
9875 # FIXME: insert proper C++ library support
9881 # C++ shared libraries reported to be fairly broken before switch to ELF
9885 archive_cmds_need_lc_CXX=no
9888 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
9895 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9896 hardcode_libdir_separator_CXX=:
9897 export_dynamic_flag_spec_CXX='${wl}-E'
9898 hardcode_direct_CXX=yes
9899 hardcode_minus_L_CXX=yes # Not in the search PATH,
9900 # but as the default
9901 # location of the library.
9903 case $cc_basename in
9905 # FIXME: insert proper C++ library support
9909 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'
9910 # Commands to make compiler produce verbose output that lists
9911 # what "hidden" libraries, object files and flags are used when
9912 # linking a shared library.
9914 # There doesn't appear to be a way to prevent this compiler from
9915 # explicitly linking system object files so we need to strip them
9916 # from the output so that they don't get included in the library
9918 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'
9921 if test "$GXX" = yes; then
9922 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'
9924 # FIXME: insert proper C++ library support
9931 if test $with_gnu_ld = no; then
9934 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9935 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
9936 hardcode_libdir_separator_CXX=:
9939 hardcode_libdir_flag_spec_CXX='-L$libdir'
9942 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9943 hardcode_libdir_separator_CXX=:
9944 export_dynamic_flag_spec_CXX='${wl}-E'
9950 hardcode_direct_CXX=no
9951 hardcode_shlibpath_var_CXX=no
9954 hardcode_direct_CXX=no
9955 hardcode_shlibpath_var_CXX=no
9956 hardcode_minus_L_CXX=yes # Not in the search PATH,
9957 # but as the default
9958 # location of the library.
9961 hardcode_direct_CXX=yes
9962 hardcode_minus_L_CXX=yes # Not in the search PATH,
9963 # but as the default
9964 # location of the library.
9968 case $cc_basename in
9970 # FIXME: insert proper C++ library support
9976 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
9979 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
9982 # Commands to make compiler produce verbose output that lists
9983 # what "hidden" libraries, object files and flags are used when
9984 # linking a shared library.
9986 # There doesn't appear to be a way to prevent this compiler from
9987 # explicitly linking system object files so we need to strip them
9988 # from the output so that they don't get included in the library
9990 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'
9993 if test "$GXX" = yes; then
9994 if test $with_gnu_ld = no; then
9997 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10000 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'
10005 # FIXME: insert proper C++ library support
10012 case $cc_basename in
10015 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'
10017 # Archives containing C++ object files must be created using
10018 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10019 # necessary to make sure instantiated templates are included
10021 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10024 if test "$GXX" = yes; then
10025 if test "$with_gnu_ld" = no; then
10026 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'
10028 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'
10031 link_all_deplibs_CXX=yes
10034 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10035 hardcode_libdir_separator_CXX=:
10038 case $cc_basename in
10040 # Kuck and Associates, Inc. (KAI) C++ Compiler
10042 # KCC will only create a shared library if the output file
10043 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10044 # to its proper name (with version) after linking.
10045 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'
10046 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'
10047 # Commands to make compiler produce verbose output that lists
10048 # what "hidden" libraries, object files and flags are used when
10049 # linking a shared library.
10051 # There doesn't appear to be a way to prevent this compiler from
10052 # explicitly linking system object files so we need to strip them
10053 # from the output so that they don't get included in the library
10055 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'
10057 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10058 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10060 # Archives containing C++ object files must be created using
10061 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10062 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10067 archive_cmds_need_lc_CXX=no
10068 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10069 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'
10070 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10071 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10072 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10076 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10077 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
10079 runpath_var=LD_RUN_PATH
10080 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10081 hardcode_libdir_separator_CXX=:
10083 # Commands to make compiler produce verbose output that lists
10084 # what "hidden" libraries, object files and flags are used when
10085 # linking a shared library.
10087 # There doesn't appear to be a way to prevent this compiler from
10088 # explicitly linking system object files so we need to strip them
10089 # from the output so that they don't get included in the library
10091 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'
10096 # FIXME: insert proper C++ library support
10100 # FIXME: insert proper C++ library support
10104 case $cc_basename in
10106 # FIXME: insert proper C++ library support
10110 # FIXME: insert proper C++ library support
10116 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10117 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10119 hardcode_libdir_flag_spec_CXX='-R$libdir'
10120 hardcode_direct_CXX=yes
10121 hardcode_shlibpath_var_CXX=no
10123 # Workaround some broken pre-1.5 toolchains
10124 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10127 case $cc_basename in
10129 # Kuck and Associates, Inc. (KAI) C++ Compiler
10131 # KCC will only create a shared library if the output file
10132 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10133 # to its proper name (with version) after linking.
10134 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'
10136 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10137 hardcode_libdir_separator_CXX=:
10139 # Archives containing C++ object files must be created using
10140 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10141 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10145 # Rational C++ 2.4.1
10146 # FIXME: insert proper C++ library support
10150 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10151 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'
10153 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10154 hardcode_libdir_separator_CXX=:
10156 # Commands to make compiler produce verbose output that lists
10157 # what "hidden" libraries, object files and flags are used when
10158 # linking a shared library.
10160 # There doesn't appear to be a way to prevent this compiler from
10161 # explicitly linking system object files so we need to strip them
10162 # from the output so that they don't get included in the library
10164 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'
10167 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10168 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10169 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'
10171 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10172 hardcode_libdir_separator_CXX=:
10174 # Commands to make compiler produce verbose output that lists
10175 # what "hidden" libraries, object files and flags are used when
10176 # linking a shared library.
10177 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10180 # FIXME: insert proper C++ library support
10187 case $cc_basename in
10189 # Kuck and Associates, Inc. (KAI) C++ Compiler
10191 # KCC will only create a shared library if the output file
10192 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10193 # to its proper name (with version) after linking.
10194 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'
10196 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10197 hardcode_libdir_separator_CXX=:
10199 # Archives containing C++ object files must be created using
10200 # the KAI C++ compiler.
10201 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10204 # Rational C++ 2.4.1
10205 # FIXME: insert proper C++ library support
10209 allow_undefined_flag_CXX=' -expect_unresolved \*'
10210 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'
10211 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10212 echo "-hidden">> $lib.exp~
10213 $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~
10216 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10217 hardcode_libdir_separator_CXX=:
10219 # Commands to make compiler produce verbose output that lists
10220 # what "hidden" libraries, object files and flags are used when
10221 # linking a shared library.
10223 # There doesn't appear to be a way to prevent this compiler from
10224 # explicitly linking system object files so we need to strip them
10225 # from the output so that they don't get included in the library
10227 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'
10230 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10231 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10232 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'
10234 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10235 hardcode_libdir_separator_CXX=:
10237 # Commands to make compiler produce verbose output that lists
10238 # what "hidden" libraries, object files and flags are used when
10239 # linking a shared library.
10240 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10243 # FIXME: insert proper C++ library support
10250 # FIXME: insert proper C++ library support
10254 archive_cmds_need_lc_CXX=no
10255 case $cc_basename in
10257 # FIXME: insert proper C++ library support
10261 # FIXME: insert proper C++ library support
10267 case $cc_basename in
10270 # FIXME: insert proper C++ library support
10275 # FIXME: insert proper C++ library support
10279 # FIXME: insert proper C++ library support
10285 case $cc_basename in
10287 # Sun C++ 4.2, 5.x and Centerline C++
10288 no_undefined_flag_CXX=' -zdefs'
10289 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10290 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10291 $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'
10293 hardcode_libdir_flag_spec_CXX='-R$libdir'
10294 hardcode_shlibpath_var_CXX=no
10296 solaris2.0-5 | solaris2.0-5.*) ;;
10298 # The C++ compiler is used as linker so we must use $wl
10299 # flag to pass the commands to the underlying system
10301 # Supported since Solaris 2.6 (maybe 2.5.1?)
10302 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10305 link_all_deplibs_CXX=yes
10307 # Commands to make compiler produce verbose output that lists
10308 # what "hidden" libraries, object files and flags are used when
10309 # linking a shared library.
10311 # There doesn't appear to be a way to prevent this compiler from
10312 # explicitly linking system object files so we need to strip them
10313 # from the output so that they don't get included in the library
10315 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'
10317 # Archives containing C++ object files must be created using
10318 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10319 # necessary to make sure instantiated templates are included
10321 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10324 # Green Hills C++ Compiler
10325 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10327 # The C++ compiler must be used to create the archive.
10328 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10331 # GNU C++ compiler with Solaris linker
10332 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10333 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10334 if $CC --version | grep -v '^2\.7' > /dev/null; then
10335 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10336 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10337 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10339 # Commands to make compiler produce verbose output that lists
10340 # what "hidden" libraries, object files and flags are used when
10341 # linking a shared library.
10342 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10344 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10346 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10347 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10348 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10350 # Commands to make compiler produce verbose output that lists
10351 # what "hidden" libraries, object files and flags are used when
10352 # linking a shared library.
10353 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10356 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10361 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10362 archive_cmds_need_lc_CXX=no
10365 case $cc_basename in
10367 # NonStop-UX NCC 3.20
10368 # FIXME: insert proper C++ library support
10372 # FIXME: insert proper C++ library support
10378 # FIXME: insert proper C++ library support
10382 # FIXME: insert proper C++ library support
10386 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10387 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10388 test "$ld_shlibs_CXX" = no && can_build_shared=no
10394 ## There is no encapsulation within the following macros, do not change
10395 ## the running order or otherwise move them around unless you know exactly
10396 ## what you are doing...
10398 cat > conftest.$ac_ext <<EOF
10402 Foo (void) { a = 0; }
10408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10409 (eval $ac_compile) 2>&5
10411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10412 (exit $ac_status); }; then
10413 # Parse the compiler output and extract the necessary
10414 # objects, libraries and library flags.
10416 # Sentinel used to keep track of whether or not we are before
10417 # the conftest object file.
10418 pre_test_object_deps_done=no
10420 # The `*' in the case matches for architectures that use `case' in
10421 # $output_verbose_cmd can trigger glob expansion during the loop
10422 # eval without this substitution.
10423 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10425 for p in `eval $output_verbose_link_cmd`; do
10429 # Some compilers place space between "-{L,R}" and the path.
10430 # Remove the space.
10431 if test $p = "-L" \
10432 || test $p = "-R"; then
10439 if test "$pre_test_object_deps_done" = no; then
10442 # Internal compiler library paths should come after those
10443 # provided the user. The postdeps already come after the
10444 # user supplied libs so there is no need to process them.
10445 if test -z "$compiler_lib_search_path_CXX"; then
10446 compiler_lib_search_path_CXX="${prev}${p}"
10448 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10451 # The "-l" case would never come before the object being
10452 # linked, so don't bother handling this case.
10455 if test -z "$postdeps_CXX"; then
10456 postdeps_CXX="${prev}${p}"
10458 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10464 # This assumes that the test object file only shows up
10465 # once in the compiler output.
10466 if test "$p" = "conftest.$objext"; then
10467 pre_test_object_deps_done=yes
10471 if test "$pre_test_object_deps_done" = no; then
10472 if test -z "$predep_objects_CXX"; then
10473 predep_objects_CXX="$p"
10475 predep_objects_CXX="$predep_objects_CXX $p"
10478 if test -z "$postdep_objects_CXX"; then
10479 postdep_objects_CXX="$p"
10481 postdep_objects_CXX="$postdep_objects_CXX $p"
10486 *) ;; # Ignore the rest.
10494 echo "libtool.m4: error: problem compiling CXX test program"
10497 $rm -f confest.$objext
10499 case " $postdeps_CXX " in
10500 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
10503 lt_prog_compiler_wl_CXX=
10504 lt_prog_compiler_pic_CXX=
10505 lt_prog_compiler_static_CXX=
10507 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10508 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10510 # C++ specific cases for pic, static, wl, etc.
10511 if test "$GXX" = yes; then
10512 lt_prog_compiler_wl_CXX='-Wl,'
10513 lt_prog_compiler_static_CXX='-static'
10517 # All AIX code is PIC.
10518 if test "$host_cpu" = ia64; then
10519 # AIX 5 now supports IA64 processor
10520 lt_prog_compiler_static_CXX='-Bstatic'
10524 # FIXME: we need at least 68020 code to build shared libraries, but
10525 # adding the `-m68020' flag to GCC prevents building anything better,
10527 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10529 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10530 # PIC is the default for these OSes.
10532 mingw* | os2* | pw32*)
10533 # This hack is so that the source file can tell whether it is being
10534 # built for inclusion in a dll (and should export symbols for example).
10535 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10537 darwin* | rhapsody*)
10538 # PIC is the default on this platform
10539 # Common symbols not allowed in MH_DYLIB files
10540 lt_prog_compiler_pic_CXX='-fno-common'
10543 # DJGPP does not support shared libraries at all
10544 lt_prog_compiler_pic_CXX=
10547 if test -d /usr/nec; then
10548 lt_prog_compiler_pic_CXX=-Kconform_pic
10552 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10553 # not for PA HP-UX.
10554 case "$host_cpu" in
10558 lt_prog_compiler_pic_CXX='-fPIC'
10563 lt_prog_compiler_pic_CXX='-fPIC'
10569 # All AIX code is PIC.
10570 if test "$host_cpu" = ia64; then
10571 # AIX 5 now supports IA64 processor
10572 lt_prog_compiler_static_CXX='-Bstatic'
10574 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
10578 case $cc_basename in
10580 # Green Hills C++ Compiler
10581 # _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"
10586 case $cc_basename in
10588 lt_prog_compiler_pic_CXX='-KPIC'
10591 # Green Hills C++ Compiler
10592 lt_prog_compiler_pic_CXX='-pic'
10599 # FreeBSD uses GNU C++
10601 hpux9* | hpux10* | hpux11*)
10602 case $cc_basename in
10604 lt_prog_compiler_wl_CXX='-Wl,'
10605 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10606 if test "$host_cpu" != ia64; then
10607 lt_prog_compiler_pic_CXX='+Z'
10611 lt_prog_compiler_wl_CXX='-Wl,'
10612 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10613 case "$host_cpu" in
10618 lt_prog_compiler_pic_CXX='+Z'
10626 irix5* | irix6* | nonstopux*)
10627 case $cc_basename in
10629 lt_prog_compiler_wl_CXX='-Wl,'
10630 lt_prog_compiler_static_CXX='-non_shared'
10631 # CC pic flag -KPIC is the default.
10638 case $cc_basename in
10641 lt_prog_compiler_wl_CXX='--backend -Wl,'
10642 lt_prog_compiler_pic_CXX='-fPIC'
10646 lt_prog_compiler_wl_CXX='-Wl,'
10647 lt_prog_compiler_pic_CXX='-KPIC'
10648 lt_prog_compiler_static_CXX='-static'
10652 # Make sure the PIC flag is empty. It appears that all Alpha
10653 # Linux and Compaq Tru64 Unix objects are PIC.
10654 lt_prog_compiler_pic_CXX=
10655 lt_prog_compiler_static_CXX='-non_shared'
10666 case $cc_basename in
10668 lt_prog_compiler_pic_CXX='-W c,exportall'
10676 osf3* | osf4* | osf5*)
10677 case $cc_basename in
10679 lt_prog_compiler_wl_CXX='--backend -Wl,'
10682 # Rational C++ 2.4.1
10683 lt_prog_compiler_pic_CXX='-pic'
10686 # Digital/Compaq C++
10687 lt_prog_compiler_wl_CXX='-Wl,'
10688 # Make sure the PIC flag is empty. It appears that all Alpha
10689 # Linux and Compaq Tru64 Unix objects are PIC.
10690 lt_prog_compiler_pic_CXX=
10691 lt_prog_compiler_static_CXX='-non_shared'
10700 case $cc_basename in
10702 lt_prog_compiler_pic_CXX='-fPIC'
10709 case $cc_basename in
10711 # Sun C++ 4.2, 5.x and Centerline C++
10712 lt_prog_compiler_pic_CXX='-KPIC'
10713 lt_prog_compiler_static_CXX='-Bstatic'
10714 lt_prog_compiler_wl_CXX='-Qoption ld '
10717 # Green Hills C++ Compiler
10718 lt_prog_compiler_pic_CXX='-PIC'
10725 case $cc_basename in
10728 lt_prog_compiler_pic_CXX='-pic'
10729 lt_prog_compiler_static_CXX='-Bstatic'
10733 lt_prog_compiler_pic_CXX='-pic'
10740 case $cc_basename in
10742 # NonStop-UX NCC 3.20
10743 lt_prog_compiler_pic_CXX='-KPIC'
10754 lt_prog_compiler_can_build_shared_CXX=no
10759 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10760 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
10763 # Check to make sure the PIC flag actually works.
10765 if test -n "$lt_prog_compiler_pic_CXX"; then
10766 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10767 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
10768 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10769 echo $ECHO_N "(cached) $ECHO_C" >&6
10771 lt_prog_compiler_pic_works_CXX=no
10772 ac_outfile=conftest.$ac_objext
10773 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10774 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
10775 # Insert the option either (1) after the last *FLAGS variable, or
10776 # (2) before a word containing "conftest.", or (3) at the end.
10777 # Note that $ac_compile itself does not contain backslashes and begins
10778 # with a dollar sign (not a hyphen), so the echo should work correctly.
10779 # The option is referenced via a variable to avoid confusing sed.
10780 lt_compile=`echo "$ac_compile" | $SED \
10781 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10782 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10783 -e 's:$: $lt_compiler_flag:'`
10784 (eval echo "\"\$as_me:10781: $lt_compile\"" >&5)
10785 (eval "$lt_compile" 2>conftest.err)
10787 cat conftest.err >&5
10788 echo "$as_me:10785: \$? = $ac_status" >&5
10789 if (exit $ac_status) && test -s "$ac_outfile"; then
10790 # The compiler can only warn and ignore the option if not recognized
10791 # So say no if there are warnings
10792 if test ! -s conftest.err; then
10793 lt_prog_compiler_pic_works_CXX=yes
10799 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10800 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
10802 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
10803 case $lt_prog_compiler_pic_CXX in
10805 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
10808 lt_prog_compiler_pic_CXX=
10809 lt_prog_compiler_can_build_shared_CXX=no
10814 # For platforms which do not support PIC, -DPIC is meaningless:
10816 lt_prog_compiler_pic_CXX=
10819 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
10823 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10824 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10825 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
10826 echo $ECHO_N "(cached) $ECHO_C" >&6
10828 lt_cv_prog_compiler_c_o_CXX=no
10829 $rm -r conftest 2>/dev/null
10833 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10835 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10836 # that will create temporary files in the current directory regardless of
10837 # the output directory. Thus, making CWD read-only will cause this test
10838 # to fail, enabling locking or at least warning the user not to do parallel
10842 lt_compiler_flag="-o out/conftest2.$ac_objext"
10843 # Insert the option either (1) after the last *FLAGS variable, or
10844 # (2) before a word containing "conftest.", or (3) at the end.
10845 # Note that $ac_compile itself does not contain backslashes and begins
10846 # with a dollar sign (not a hyphen), so the echo should work correctly.
10847 lt_compile=`echo "$ac_compile" | $SED \
10848 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10849 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10850 -e 's:$: $lt_compiler_flag:'`
10851 (eval echo "\"\$as_me:10848: $lt_compile\"" >&5)
10852 (eval "$lt_compile" 2>out/conftest.err)
10854 cat out/conftest.err >&5
10855 echo "$as_me:10852: \$? = $ac_status" >&5
10856 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10858 # The compiler can only warn and ignore the option if not recognized
10859 # So say no if there are warnings
10860 if test ! -s out/conftest.err; then
10861 lt_cv_prog_compiler_c_o_CXX=yes
10865 $rm conftest* out/*
10872 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10873 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
10876 hard_links="nottested"
10877 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
10878 # do not overwrite the value of need_locks provided by the user
10879 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10880 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10883 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10885 ln conftest.a conftest.b 2>&5 || hard_links=no
10886 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10887 echo "$as_me:$LINENO: result: $hard_links" >&5
10888 echo "${ECHO_T}$hard_links" >&6
10889 if test "$hard_links" = no; then
10890 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10891 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10898 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10899 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10901 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10904 # If we're using GNU nm, then we don't want the "-C" option.
10905 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10906 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10907 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'
10909 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'
10913 export_symbols_cmds_CXX="$ltdll_cmds"
10916 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10919 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10923 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10924 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10925 test "$ld_shlibs_CXX" = no && can_build_shared=no
10927 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10928 if test "$GCC" = yes; then
10929 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10933 # Do we need to explicitly link libc?
10935 case "x$archive_cmds_need_lc_CXX" in
10937 # Assume -lc should be added
10938 archive_cmds_need_lc_CXX=yes
10940 if test "$enable_shared" = yes && test "$GCC" = yes; then
10941 case $archive_cmds_CXX in
10943 # FIXME: we may have to deal with multi-command sequences.
10946 # Test whether the compiler implicitly links with -lc since on some
10947 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10948 # to ld, don't add -lc before -lgcc.
10949 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10950 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10952 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10955 (eval $ac_compile) 2>&5
10957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10958 (exit $ac_status); } 2>conftest.err; then
10961 libobjs=conftest.$ac_objext
10963 wl=$lt_prog_compiler_wl_CXX
10969 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
10970 allow_undefined_flag_CXX=
10971 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10972 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10975 (exit $ac_status); }
10977 archive_cmds_need_lc_CXX=no
10979 archive_cmds_need_lc_CXX=yes
10981 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
10983 cat conftest.err 1>&5
10986 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
10987 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
10994 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10995 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10996 hardcode_action_CXX=
10997 if test -n "$hardcode_libdir_flag_spec_CXX" || \
10998 test -n "$runpath_var CXX" || \
10999 test "X$hardcode_automatic_CXX"="Xyes" ; then
11001 # We can hardcode non-existant directories.
11002 if test "$hardcode_direct_CXX" != no &&
11003 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11004 # have to relink, otherwise we might link with an installed library
11005 # when we should be linking with a yet-to-be-installed one
11006 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
11007 test "$hardcode_minus_L_CXX" != no; then
11008 # Linking always hardcodes the temporary library directory.
11009 hardcode_action_CXX=relink
11011 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11012 hardcode_action_CXX=immediate
11015 # We cannot hardcode anything, or else we can only hardcode existing
11017 hardcode_action_CXX=unsupported
11019 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11020 echo "${ECHO_T}$hardcode_action_CXX" >&6
11022 if test "$hardcode_action_CXX" = relink; then
11023 # Fast installation is not supported
11024 enable_fast_install=no
11025 elif test "$shlibpath_overrides_runpath" = yes ||
11026 test "$enable_shared" = no; then
11027 # Fast installation is not necessary
11028 enable_fast_install=needless
11033 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11034 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11035 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11036 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11037 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11038 echo "$as_me:$LINENO: result: yes" >&5
11039 echo "${ECHO_T}yes" >&6
11041 # FIXME - insert some real tests, host_os isn't really good enough
11044 if test -n "$STRIP" ; then
11045 striplib="$STRIP -x"
11046 echo "$as_me:$LINENO: result: yes" >&5
11047 echo "${ECHO_T}yes" >&6
11049 echo "$as_me:$LINENO: result: no" >&5
11050 echo "${ECHO_T}no" >&6
11054 echo "$as_me:$LINENO: result: no" >&5
11055 echo "${ECHO_T}no" >&6
11060 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11061 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11062 library_names_spec=
11063 libname_spec='lib$name'
11067 postuninstall_cmds=
11071 shlibpath_overrides_runpath=unknown
11073 dynamic_linker="$host_os ld.so"
11074 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11075 if test "$GCC" = yes; then
11076 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11077 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11078 # if the path contains ";" then we assume it to be the separator
11079 # otherwise default to the standard path separator (i.e. ":") - it is
11080 # assumed that no part of a normal pathname contains ";" but that should
11081 # okay in the real world where ";" in dirpaths is itself problematic.
11082 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11084 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11087 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11089 need_lib_prefix=unknown
11090 hardcode_into_libs=no
11092 # when you set need_version to no, make sure it does not cause -set_version
11093 # flags to be left without arguments
11094 need_version=unknown
11099 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11100 shlibpath_var=LIBPATH
11102 # AIX 3 has no versioning support, so we append a major version to the name.
11103 soname_spec='${libname}${release}${shared_ext}$major'
11110 hardcode_into_libs=yes
11111 if test "$host_cpu" = ia64; then
11112 # AIX 5 supports IA64
11113 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11114 shlibpath_var=LD_LIBRARY_PATH
11116 # With GCC up to 2.95.x, collect2 would create an import file
11117 # for dependence libraries. The import file would start with
11118 # the line `#! .'. This would cause the generated library to
11119 # depend on `.', always an invalid library. This was fixed in
11120 # development snapshots of GCC prior to 3.0.
11122 aix4 | aix4.[01] | aix4.[01].*)
11123 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11125 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11128 can_build_shared=no
11132 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11133 # soname into executable. Probably we can add versioning support to
11134 # collect2, so additional links can be useful in future.
11135 if test "$aix_use_runtimelinking" = yes; then
11136 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11137 # instead of lib<name>.a to let people know that these are not
11138 # typical AIX shared libraries.
11139 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11141 # We preserve .a as extension for shared libraries through AIX4.2
11142 # and later when we are not doing run time linking.
11143 library_names_spec='${libname}${release}.a $libname.a'
11144 soname_spec='${libname}${release}${shared_ext}$major'
11146 shlibpath_var=LIBPATH
11151 library_names_spec='$libname.ixlibrary $libname.a'
11152 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11153 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'
11157 library_names_spec='${libname}${shared_ext}'
11158 dynamic_linker="$host_os ld.so"
11159 shlibpath_var=LIBRARY_PATH
11165 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11166 soname_spec='${libname}${release}${shared_ext}$major'
11167 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11168 shlibpath_var=LD_LIBRARY_PATH
11169 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11170 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11171 # the default ld.so.conf also contains /usr/contrib/lib and
11172 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11173 # libtool to hard-code these into programs
11176 cygwin* | mingw* | pw32*)
11177 version_type=windows
11182 case $GCC,$host_os in
11183 yes,cygwin* | yes,mingw* | yes,pw32*)
11184 library_names_spec='$libname.dll.a'
11185 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11186 postinstall_cmds='base_file=`basename \${file}`~
11187 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11188 dldir=$destdir/`dirname \$dlpath`~
11189 test -d \$dldir || mkdir -p \$dldir~
11190 $install_prog $dir/$dlname \$dldir/$dlname'
11191 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11192 dlpath=$dir/\$dldll~
11194 shlibpath_overrides_runpath=yes
11198 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11199 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11200 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
11203 # MinGW DLLs use traditional 'lib' prefix
11204 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11205 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11206 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11207 # It is most probably a Windows format PATH printed by
11208 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11209 # path with ; separators, and with drive letters. We can handle the
11210 # drive letters (cygwin fileutils understands them), so leave them,
11211 # especially as we might pass files found there to a mingw objdump,
11212 # which wouldn't understand a cygwinified path. Ahh.
11213 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11215 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11219 # pw32 DLLs use 'pw' prefix rather than 'lib'
11220 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11226 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11229 dynamic_linker='Win32 ld.exe'
11230 # FIXME: first we should search . and the directory the executable is in
11234 darwin* | rhapsody*)
11235 dynamic_linker="$host_os dyld"
11236 version_type=darwin
11239 # FIXME: Relying on posixy $() will cause problems for
11240 # cross-compilation, but unfortunately the echo tests do not
11241 # yet detect zsh echo's removal of \ escapes.
11242 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11243 soname_spec='${libname}${release}${major}$shared_ext'
11244 shlibpath_overrides_runpath=yes
11245 shlibpath_var=DYLD_LIBRARY_PATH
11246 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11247 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11248 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
11249 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"`
11251 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11258 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11259 soname_spec='${libname}${release}${shared_ext}$major'
11260 shlibpath_var=LD_LIBRARY_PATH
11268 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11269 version_type=freebsd-$objformat
11270 case $version_type in
11272 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11277 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11281 shlibpath_var=LD_LIBRARY_PATH
11284 shlibpath_overrides_runpath=yes
11286 freebsd3.01* | freebsdelf3.01*)
11287 shlibpath_overrides_runpath=yes
11288 hardcode_into_libs=yes
11291 shlibpath_overrides_runpath=no
11292 hardcode_into_libs=yes
11301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11302 soname_spec='${libname}${release}${shared_ext}$major'
11303 shlibpath_var=LD_LIBRARY_PATH
11304 hardcode_into_libs=yes
11307 hpux9* | hpux10* | hpux11*)
11308 # Give a soname corresponding to the major version so that dld.sl refuses to
11309 # link against other versions.
11313 case "$host_cpu" in
11316 hardcode_into_libs=yes
11317 dynamic_linker="$host_os dld.so"
11318 shlibpath_var=LD_LIBRARY_PATH
11319 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11321 soname_spec='${libname}${release}${shared_ext}$major'
11322 if test "X$HPUX_IA64_MODE" = X32; then
11323 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11325 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11327 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11331 hardcode_into_libs=yes
11332 dynamic_linker="$host_os dld.sl"
11333 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11334 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11335 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11336 soname_spec='${libname}${release}${shared_ext}$major'
11337 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11338 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11342 dynamic_linker="$host_os dld.sl"
11343 shlibpath_var=SHLIB_PATH
11344 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
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'
11349 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11350 postinstall_cmds='chmod 555 $lib'
11353 irix5* | irix6* | nonstopux*)
11355 nonstopux*) version_type=nonstopux ;;
11357 if test "$lt_cv_prog_gnu_ld" = yes; then
11365 soname_spec='${libname}${release}${shared_ext}$major'
11366 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11368 irix5* | nonstopux*)
11369 libsuff= shlibsuff=
11372 case $LD in # libtool.m4 will add one of these switches to LD
11373 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11374 libsuff= shlibsuff= libmagic=32-bit;;
11375 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11376 libsuff=32 shlibsuff=N32 libmagic=N32;;
11377 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11378 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11379 *) libsuff= shlibsuff= libmagic=never-match;;
11383 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11384 shlibpath_overrides_runpath=no
11385 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11386 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11387 hardcode_into_libs=yes
11390 # No shared lib support for Linux oldld, aout, or coff.
11391 linux*oldld* | linux*aout* | linux*coff*)
11395 # This must be Linux ELF.
11400 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11401 soname_spec='${libname}${release}${shared_ext}$major'
11402 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11403 shlibpath_var=LD_LIBRARY_PATH
11404 shlibpath_overrides_runpath=no
11405 # This implies no fast_install, which is unacceptable.
11406 # Some rework will be needed to allow for fast_install
11407 # before this can be enabled.
11408 hardcode_into_libs=yes
11410 # We used to test for /lib/ld.so.1 and disable shared libraries on
11411 # powerpc, because MkLinux only supported shared libraries with the
11412 # GNU dynamic linker. Since this was broken with cross compilers,
11413 # most powerpc-linux boxes support dynamic linking these days and
11414 # people can always --disable-shared, the test was removed, and we
11415 # assume the GNU/Linux dynamic linker is in use.
11416 dynamic_linker='GNU/Linux ld.so'
11423 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11424 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11425 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11426 dynamic_linker='NetBSD (a.out) ld.so'
11428 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11429 soname_spec='${libname}${release}${shared_ext}$major'
11430 dynamic_linker='NetBSD ld.elf_so'
11432 shlibpath_var=LD_LIBRARY_PATH
11433 shlibpath_overrides_runpath=yes
11434 hardcode_into_libs=yes
11439 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11440 shlibpath_var=LD_LIBRARY_PATH
11441 shlibpath_overrides_runpath=yes
11448 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11449 soname_spec='${libname}${release}${shared_ext}$major'
11450 shlibpath_var=LD_LIBRARY_PATH
11451 shlibpath_overrides_runpath=yes
11458 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11459 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11460 shlibpath_var=LD_LIBRARY_PATH
11461 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11463 openbsd2.[89] | openbsd2.[89].*)
11464 shlibpath_overrides_runpath=no
11467 shlibpath_overrides_runpath=yes
11471 shlibpath_overrides_runpath=yes
11476 libname_spec='$name'
11479 library_names_spec='$libname${shared_ext} $libname.a'
11480 dynamic_linker='OS/2 ld.exe'
11481 shlibpath_var=LIBPATH
11484 osf3* | osf4* | osf5*)
11488 soname_spec='${libname}${release}${shared_ext}$major'
11489 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11490 shlibpath_var=LD_LIBRARY_PATH
11491 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11492 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11497 soname_spec='${libname}${release}${shared_ext}$major'
11498 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11499 shlibpath_var=LD_LIBRARY_PATH
11506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11507 soname_spec='${libname}${release}${shared_ext}$major'
11508 shlibpath_var=LD_LIBRARY_PATH
11509 shlibpath_overrides_runpath=yes
11510 hardcode_into_libs=yes
11511 # ldd complains unless libraries are executable
11512 postinstall_cmds='chmod +x $lib'
11517 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11518 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11519 shlibpath_var=LD_LIBRARY_PATH
11520 shlibpath_overrides_runpath=yes
11521 if test "$with_gnu_ld" = yes; then
11527 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11529 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11530 soname_spec='${libname}${release}${shared_ext}$major'
11531 shlibpath_var=LD_LIBRARY_PATH
11532 case $host_vendor in
11534 shlibpath_overrides_runpath=no
11536 export_dynamic_flag_spec='${wl}-Blargedynsym'
11537 runpath_var=LD_RUN_PATH
11545 shlibpath_overrides_runpath=no
11546 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11552 if test -d /usr/nec ;then
11554 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11555 soname_spec='$libname${shared_ext}.$major'
11556 shlibpath_var=LD_LIBRARY_PATH
11562 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11563 soname_spec='${libname}${release}${shared_ext}$major'
11564 shlibpath_var=LD_LIBRARY_PATH
11571 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11572 echo "${ECHO_T}$dynamic_linker" >&6
11573 test "$dynamic_linker" = no && can_build_shared=no
11575 if test "x$enable_dlopen" != xyes; then
11576 enable_dlopen=unknown
11577 enable_dlopen_self=unknown
11578 enable_dlopen_self_static=unknown
11585 lt_cv_dlopen="load_add_on"
11587 lt_cv_dlopen_self=yes
11591 lt_cv_dlopen="LoadLibrary"
11596 lt_cv_dlopen="dlopen"
11601 # if libdl is installed we need to link against it
11602 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11603 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11604 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11605 echo $ECHO_N "(cached) $ECHO_C" >&6
11607 ac_check_lib_save_LIBS=$LIBS
11609 cat >conftest.$ac_ext <<_ACEOF
11610 #line $LINENO "configure"
11613 cat confdefs.h >>conftest.$ac_ext
11614 cat >>conftest.$ac_ext <<_ACEOF
11615 /* end confdefs.h. */
11617 /* Override any gcc2 internal prototype to avoid an error. */
11621 /* We use char because int might match the return type of a gcc2
11622 builtin and then its argument prototype would still apply. */
11632 rm -f conftest.$ac_objext conftest$ac_exeext
11633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11634 (eval $ac_link) 2>&5
11636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11637 (exit $ac_status); } &&
11638 { ac_try='test -s conftest$ac_exeext'
11639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11640 (eval $ac_try) 2>&5
11642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11643 (exit $ac_status); }; }; then
11644 ac_cv_lib_dl_dlopen=yes
11646 echo "$as_me: failed program was:" >&5
11647 sed 's/^/| /' conftest.$ac_ext >&5
11649 ac_cv_lib_dl_dlopen=no
11651 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11652 LIBS=$ac_check_lib_save_LIBS
11654 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11655 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11656 if test $ac_cv_lib_dl_dlopen = yes; then
11657 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11660 lt_cv_dlopen="dyld"
11662 lt_cv_dlopen_self=yes
11669 echo "$as_me:$LINENO: checking for shl_load" >&5
11670 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11671 if test "${ac_cv_func_shl_load+set}" = set; then
11672 echo $ECHO_N "(cached) $ECHO_C" >&6
11674 cat >conftest.$ac_ext <<_ACEOF
11675 #line $LINENO "configure"
11678 cat confdefs.h >>conftest.$ac_ext
11679 cat >>conftest.$ac_ext <<_ACEOF
11680 /* end confdefs.h. */
11681 /* System header to define __stub macros and hopefully few prototypes,
11682 which can conflict with char shl_load (); below.
11683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11684 <limits.h> exists even on freestanding compilers. */
11686 # include <limits.h>
11688 # include <assert.h>
11690 /* Override any gcc2 internal prototype to avoid an error. */
11695 /* We use char because int might match the return type of a gcc2
11696 builtin and then its argument prototype would still apply. */
11698 /* The GNU C library defines this for functions which it implements
11699 to always fail with ENOSYS. Some functions are actually named
11700 something starting with __ and the normal name is an alias. */
11701 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11704 char (*f) () = shl_load;
11713 return f != shl_load;
11718 rm -f conftest.$ac_objext conftest$ac_exeext
11719 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11720 (eval $ac_link) 2>&5
11722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11723 (exit $ac_status); } &&
11724 { ac_try='test -s conftest$ac_exeext'
11725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11726 (eval $ac_try) 2>&5
11728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11729 (exit $ac_status); }; }; then
11730 ac_cv_func_shl_load=yes
11732 echo "$as_me: failed program was:" >&5
11733 sed 's/^/| /' conftest.$ac_ext >&5
11735 ac_cv_func_shl_load=no
11737 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11739 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11740 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11741 if test $ac_cv_func_shl_load = yes; then
11742 lt_cv_dlopen="shl_load"
11744 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11745 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11746 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11747 echo $ECHO_N "(cached) $ECHO_C" >&6
11749 ac_check_lib_save_LIBS=$LIBS
11751 cat >conftest.$ac_ext <<_ACEOF
11752 #line $LINENO "configure"
11755 cat confdefs.h >>conftest.$ac_ext
11756 cat >>conftest.$ac_ext <<_ACEOF
11757 /* end confdefs.h. */
11759 /* Override any gcc2 internal prototype to avoid an error. */
11763 /* We use char because int might match the return type of a gcc2
11764 builtin and then its argument prototype would still apply. */
11774 rm -f conftest.$ac_objext conftest$ac_exeext
11775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11776 (eval $ac_link) 2>&5
11778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11779 (exit $ac_status); } &&
11780 { ac_try='test -s conftest$ac_exeext'
11781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11782 (eval $ac_try) 2>&5
11784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11785 (exit $ac_status); }; }; then
11786 ac_cv_lib_dld_shl_load=yes
11788 echo "$as_me: failed program was:" >&5
11789 sed 's/^/| /' conftest.$ac_ext >&5
11791 ac_cv_lib_dld_shl_load=no
11793 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11794 LIBS=$ac_check_lib_save_LIBS
11796 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11797 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11798 if test $ac_cv_lib_dld_shl_load = yes; then
11799 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11801 echo "$as_me:$LINENO: checking for dlopen" >&5
11802 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11803 if test "${ac_cv_func_dlopen+set}" = set; then
11804 echo $ECHO_N "(cached) $ECHO_C" >&6
11806 cat >conftest.$ac_ext <<_ACEOF
11807 #line $LINENO "configure"
11810 cat confdefs.h >>conftest.$ac_ext
11811 cat >>conftest.$ac_ext <<_ACEOF
11812 /* end confdefs.h. */
11813 /* System header to define __stub macros and hopefully few prototypes,
11814 which can conflict with char dlopen (); below.
11815 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11816 <limits.h> exists even on freestanding compilers. */
11818 # include <limits.h>
11820 # include <assert.h>
11822 /* Override any gcc2 internal prototype to avoid an error. */
11827 /* We use char because int might match the return type of a gcc2
11828 builtin and then its argument prototype would still apply. */
11830 /* The GNU C library defines this for functions which it implements
11831 to always fail with ENOSYS. Some functions are actually named
11832 something starting with __ and the normal name is an alias. */
11833 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11836 char (*f) () = dlopen;
11845 return f != dlopen;
11850 rm -f conftest.$ac_objext conftest$ac_exeext
11851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11852 (eval $ac_link) 2>&5
11854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11855 (exit $ac_status); } &&
11856 { ac_try='test -s conftest$ac_exeext'
11857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11858 (eval $ac_try) 2>&5
11860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11861 (exit $ac_status); }; }; then
11862 ac_cv_func_dlopen=yes
11864 echo "$as_me: failed program was:" >&5
11865 sed 's/^/| /' conftest.$ac_ext >&5
11867 ac_cv_func_dlopen=no
11869 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11871 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11872 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11873 if test $ac_cv_func_dlopen = yes; then
11874 lt_cv_dlopen="dlopen"
11876 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11877 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11878 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11879 echo $ECHO_N "(cached) $ECHO_C" >&6
11881 ac_check_lib_save_LIBS=$LIBS
11883 cat >conftest.$ac_ext <<_ACEOF
11884 #line $LINENO "configure"
11887 cat confdefs.h >>conftest.$ac_ext
11888 cat >>conftest.$ac_ext <<_ACEOF
11889 /* end confdefs.h. */
11891 /* Override any gcc2 internal prototype to avoid an error. */
11895 /* We use char because int might match the return type of a gcc2
11896 builtin and then its argument prototype would still apply. */
11906 rm -f conftest.$ac_objext conftest$ac_exeext
11907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11908 (eval $ac_link) 2>&5
11910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11911 (exit $ac_status); } &&
11912 { ac_try='test -s conftest$ac_exeext'
11913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11914 (eval $ac_try) 2>&5
11916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11917 (exit $ac_status); }; }; then
11918 ac_cv_lib_dl_dlopen=yes
11920 echo "$as_me: failed program was:" >&5
11921 sed 's/^/| /' conftest.$ac_ext >&5
11923 ac_cv_lib_dl_dlopen=no
11925 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11926 LIBS=$ac_check_lib_save_LIBS
11928 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11929 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11930 if test $ac_cv_lib_dl_dlopen = yes; then
11931 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11933 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11934 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11935 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11936 echo $ECHO_N "(cached) $ECHO_C" >&6
11938 ac_check_lib_save_LIBS=$LIBS
11939 LIBS="-lsvld $LIBS"
11940 cat >conftest.$ac_ext <<_ACEOF
11941 #line $LINENO "configure"
11944 cat confdefs.h >>conftest.$ac_ext
11945 cat >>conftest.$ac_ext <<_ACEOF
11946 /* end confdefs.h. */
11948 /* Override any gcc2 internal prototype to avoid an error. */
11952 /* We use char because int might match the return type of a gcc2
11953 builtin and then its argument prototype would still apply. */
11963 rm -f conftest.$ac_objext conftest$ac_exeext
11964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11965 (eval $ac_link) 2>&5
11967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11968 (exit $ac_status); } &&
11969 { ac_try='test -s conftest$ac_exeext'
11970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11971 (eval $ac_try) 2>&5
11973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11974 (exit $ac_status); }; }; then
11975 ac_cv_lib_svld_dlopen=yes
11977 echo "$as_me: failed program was:" >&5
11978 sed 's/^/| /' conftest.$ac_ext >&5
11980 ac_cv_lib_svld_dlopen=no
11982 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11983 LIBS=$ac_check_lib_save_LIBS
11985 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11986 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11987 if test $ac_cv_lib_svld_dlopen = yes; then
11988 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11990 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11991 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11992 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11993 echo $ECHO_N "(cached) $ECHO_C" >&6
11995 ac_check_lib_save_LIBS=$LIBS
11997 cat >conftest.$ac_ext <<_ACEOF
11998 #line $LINENO "configure"
12001 cat confdefs.h >>conftest.$ac_ext
12002 cat >>conftest.$ac_ext <<_ACEOF
12003 /* end confdefs.h. */
12005 /* Override any gcc2 internal prototype to avoid an error. */
12009 /* We use char because int might match the return type of a gcc2
12010 builtin and then its argument prototype would still apply. */
12020 rm -f conftest.$ac_objext conftest$ac_exeext
12021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12022 (eval $ac_link) 2>&5
12024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12025 (exit $ac_status); } &&
12026 { ac_try='test -s conftest$ac_exeext'
12027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12028 (eval $ac_try) 2>&5
12030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12031 (exit $ac_status); }; }; then
12032 ac_cv_lib_dld_dld_link=yes
12034 echo "$as_me: failed program was:" >&5
12035 sed 's/^/| /' conftest.$ac_ext >&5
12037 ac_cv_lib_dld_dld_link=no
12039 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12040 LIBS=$ac_check_lib_save_LIBS
12042 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12043 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12044 if test $ac_cv_lib_dld_dld_link = yes; then
12045 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12066 if test "x$lt_cv_dlopen" != xno; then
12072 case $lt_cv_dlopen in
12074 save_CPPFLAGS="$CPPFLAGS"
12075 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12077 save_LDFLAGS="$LDFLAGS"
12078 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12081 LIBS="$lt_cv_dlopen_libs $LIBS"
12083 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12084 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12085 if test "${lt_cv_dlopen_self+set}" = set; then
12086 echo $ECHO_N "(cached) $ECHO_C" >&6
12088 if test "$cross_compiling" = yes; then :
12089 lt_cv_dlopen_self=cross
12091 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12092 lt_status=$lt_dlunknown
12093 cat > conftest.$ac_ext <<EOF
12094 #line 12091 "configure"
12095 #include "confdefs.h"
12104 # define LT_DLGLOBAL RTLD_GLOBAL
12107 # define LT_DLGLOBAL DL_GLOBAL
12109 # define LT_DLGLOBAL 0
12113 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12114 find out it does not work in some platform. */
12115 #ifndef LT_DLLAZY_OR_NOW
12117 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12120 # define LT_DLLAZY_OR_NOW DL_LAZY
12123 # define LT_DLLAZY_OR_NOW RTLD_NOW
12126 # define LT_DLLAZY_OR_NOW DL_NOW
12128 # define LT_DLLAZY_OR_NOW 0
12136 extern "C" void exit (int);
12139 void fnord() { int i=42;}
12142 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12143 int status = $lt_dlunknown;
12147 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12148 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12149 /* dlclose (self); */
12155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12156 (eval $ac_link) 2>&5
12158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12159 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12160 (./conftest; exit; ) 2>/dev/null
12162 case x$lt_status in
12163 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12164 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12165 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12168 # compilation failed
12169 lt_cv_dlopen_self=no
12176 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12177 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12179 if test "x$lt_cv_dlopen_self" = xyes; then
12180 LDFLAGS="$LDFLAGS $link_static_flag"
12181 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12182 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12183 if test "${lt_cv_dlopen_self_static+set}" = set; then
12184 echo $ECHO_N "(cached) $ECHO_C" >&6
12186 if test "$cross_compiling" = yes; then :
12187 lt_cv_dlopen_self_static=cross
12189 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12190 lt_status=$lt_dlunknown
12191 cat > conftest.$ac_ext <<EOF
12192 #line 12189 "configure"
12193 #include "confdefs.h"
12202 # define LT_DLGLOBAL RTLD_GLOBAL
12205 # define LT_DLGLOBAL DL_GLOBAL
12207 # define LT_DLGLOBAL 0
12211 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12212 find out it does not work in some platform. */
12213 #ifndef LT_DLLAZY_OR_NOW
12215 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12218 # define LT_DLLAZY_OR_NOW DL_LAZY
12221 # define LT_DLLAZY_OR_NOW RTLD_NOW
12224 # define LT_DLLAZY_OR_NOW DL_NOW
12226 # define LT_DLLAZY_OR_NOW 0
12234 extern "C" void exit (int);
12237 void fnord() { int i=42;}
12240 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12241 int status = $lt_dlunknown;
12245 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12246 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12247 /* dlclose (self); */
12253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12254 (eval $ac_link) 2>&5
12256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12257 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12258 (./conftest; exit; ) 2>/dev/null
12260 case x$lt_status in
12261 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12262 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12263 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12266 # compilation failed
12267 lt_cv_dlopen_self_static=no
12274 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12275 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12278 CPPFLAGS="$save_CPPFLAGS"
12279 LDFLAGS="$save_LDFLAGS"
12284 case $lt_cv_dlopen_self in
12285 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12286 *) enable_dlopen_self=unknown ;;
12289 case $lt_cv_dlopen_self_static in
12290 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12291 *) enable_dlopen_self_static=unknown ;;
12296 # The else clause should only fire when bootstrapping the
12297 # libtool distribution, otherwise you forgot to ship ltmain.sh
12298 # with your package, and you will get complaints that there are
12299 # no rules to generate ltmain.sh.
12300 if test -f "$ltmain"; then
12301 # See if we are running on zsh, and set the options which allow our commands through
12302 # without removal of \ escapes.
12303 if test -n "${ZSH_VERSION+set}" ; then
12304 setopt NO_GLOB_SUBST
12306 # Now quote all the things that may contain metacharacters while being
12307 # careful not to overquote the AC_SUBSTed values. We take copies of the
12308 # variables and quote the copies for generation of the libtool script.
12309 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12310 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12311 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12312 deplibs_check_method reload_flag reload_cmds need_locks \
12313 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12314 lt_cv_sys_global_symbol_to_c_name_address \
12315 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12316 old_postinstall_cmds old_postuninstall_cmds \
12320 lt_prog_compiler_wl_CXX \
12321 lt_prog_compiler_pic_CXX \
12322 lt_prog_compiler_static_CXX \
12323 lt_prog_compiler_no_builtin_flag_CXX \
12324 export_dynamic_flag_spec_CXX \
12325 thread_safe_flag_spec_CXX \
12326 whole_archive_flag_spec_CXX \
12327 enable_shared_with_static_runtimes_CXX \
12328 old_archive_cmds_CXX \
12329 old_archive_from_new_cmds_CXX \
12330 predep_objects_CXX \
12331 postdep_objects_CXX \
12334 compiler_lib_search_path_CXX \
12336 archive_expsym_cmds_CXX \
12337 postinstall_cmds_CXX \
12338 postuninstall_cmds_CXX \
12339 old_archive_from_expsyms_cmds_CXX \
12340 allow_undefined_flag_CXX \
12341 no_undefined_flag_CXX \
12342 export_symbols_cmds_CXX \
12343 hardcode_libdir_flag_spec_CXX \
12344 hardcode_libdir_flag_spec_ld_CXX \
12345 hardcode_libdir_separator_CXX \
12346 hardcode_automatic_CXX \
12348 module_expsym_cmds_CXX \
12349 lt_cv_prog_compiler_c_o_CXX \
12350 exclude_expsyms_CXX \
12351 include_expsyms_CXX; do
12354 old_archive_cmds_CXX | \
12355 old_archive_from_new_cmds_CXX | \
12356 archive_cmds_CXX | \
12357 archive_expsym_cmds_CXX | \
12358 module_cmds_CXX | \
12359 module_expsym_cmds_CXX | \
12360 old_archive_from_expsyms_cmds_CXX | \
12361 export_symbols_cmds_CXX | \
12362 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12363 postinstall_cmds | postuninstall_cmds | \
12364 old_postinstall_cmds | old_postuninstall_cmds | \
12365 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12366 # Double-quote double-evaled strings.
12367 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12370 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12376 *'\$0 --fallback-echo"')
12377 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12383 cat <<__EOF__ >> "$cfgfile"
12384 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12386 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12388 # Shell to use when invoking shell scripts.
12391 # Whether or not to build shared libraries.
12392 build_libtool_libs=$enable_shared
12394 # Whether or not to build static libraries.
12395 build_old_libs=$enable_static
12397 # Whether or not to add -lc for building shared libraries.
12398 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12400 # Whether or not to disallow shared libs when runtime libs are static
12401 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12403 # Whether or not to optimize for fast installation.
12404 fast_install=$enable_fast_install
12407 host_alias=$host_alias
12410 # An echo program that does not interpret backslashes.
12415 AR_FLAGS=$lt_AR_FLAGS
12420 # A language-specific compiler.
12421 CC=$lt_compiler_CXX
12423 # Is the compiler the GNU C compiler?
12429 # The linker used to build libraries.
12432 # Whether we need hard or soft links.
12435 # A BSD-compatible nm program.
12438 # A symbol stripping program
12441 # Used to examine libraries when file_magic_cmd begins "file"
12442 MAGIC_CMD=$MAGIC_CMD
12444 # Used on cygwin: DLL creation program.
12447 # Used on cygwin: object dumper.
12450 # Used on cygwin: assembler.
12453 # The name of the directory that contains temporary libtool files.
12456 # How to create reloadable object files.
12457 reload_flag=$lt_reload_flag
12458 reload_cmds=$lt_reload_cmds
12460 # How to pass a linker flag through the compiler.
12461 wl=$lt_lt_prog_compiler_wl_CXX
12463 # Object file suffix (normally "o").
12464 objext="$ac_objext"
12466 # Old archive suffix (normally "a").
12469 # Shared library suffix (normally ".so").
12472 # Executable file suffix (normally "").
12475 # Additional compiler flags for building library objects.
12476 pic_flag=$lt_lt_prog_compiler_pic_CXX
12479 # What is the maximum length of a command?
12480 max_cmd_len=$lt_cv_sys_max_cmd_len
12482 # Does compiler simultaneously support -c and -o options?
12483 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12485 # Must we lock files when doing compilation ?
12486 need_locks=$lt_need_locks
12488 # Do we need the lib prefix for modules?
12489 need_lib_prefix=$need_lib_prefix
12491 # Do we need a version for libraries?
12492 need_version=$need_version
12494 # Whether dlopen is supported.
12495 dlopen_support=$enable_dlopen
12497 # Whether dlopen of programs is supported.
12498 dlopen_self=$enable_dlopen_self
12500 # Whether dlopen of statically linked programs is supported.
12501 dlopen_self_static=$enable_dlopen_self_static
12503 # Compiler flag to prevent dynamic linking.
12504 link_static_flag=$lt_lt_prog_compiler_static_CXX
12506 # Compiler flag to turn off builtin functions.
12507 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12509 # Compiler flag to allow reflexive dlopens.
12510 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12512 # Compiler flag to generate shared objects directly from archives.
12513 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12515 # Compiler flag to generate thread-safe objects.
12516 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12518 # Library versioning type.
12519 version_type=$version_type
12521 # Format of library name prefix.
12522 libname_spec=$lt_libname_spec
12524 # List of archive names. First name is the real one, the rest are links.
12525 # The last name is the one that the linker finds with -lNAME.
12526 library_names_spec=$lt_library_names_spec
12528 # The coded name of the library, if different from the real name.
12529 soname_spec=$lt_soname_spec
12531 # Commands used to build and install an old-style archive.
12533 old_archive_cmds=$lt_old_archive_cmds_CXX
12534 old_postinstall_cmds=$lt_old_postinstall_cmds
12535 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12537 # Create an old-style archive from a shared archive.
12538 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12540 # Create a temporary old-style archive to link instead of a shared archive.
12541 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12543 # Commands used to build and install a shared archive.
12544 archive_cmds=$lt_archive_cmds_CXX
12545 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12546 postinstall_cmds=$lt_postinstall_cmds
12547 postuninstall_cmds=$lt_postuninstall_cmds
12549 # Commands used to build a loadable module (assumed same as above if empty)
12550 module_cmds=$lt_module_cmds_CXX
12551 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12553 # Commands to strip libraries.
12554 old_striplib=$lt_old_striplib
12555 striplib=$lt_striplib
12557 # Dependencies to place before the objects being linked to create a
12559 predep_objects=$lt_predep_objects_CXX
12561 # Dependencies to place after the objects being linked to create a
12563 postdep_objects=$lt_postdep_objects_CXX
12565 # Dependencies to place before the objects being linked to create a
12567 predeps=$lt_predeps_CXX
12569 # Dependencies to place after the objects being linked to create a
12571 postdeps=$lt_postdeps_CXX
12573 # The library search path used internally by the compiler when linking
12574 # a shared library.
12575 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12577 # Method to check whether dependent libraries are shared objects.
12578 deplibs_check_method=$lt_deplibs_check_method
12580 # Command to use when deplibs_check_method == file_magic.
12581 file_magic_cmd=$lt_file_magic_cmd
12583 # Flag that allows shared libraries with undefined symbols to be built.
12584 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12586 # Flag that forces no undefined symbols.
12587 no_undefined_flag=$lt_no_undefined_flag_CXX
12589 # Commands used to finish a libtool library installation in a directory.
12590 finish_cmds=$lt_finish_cmds
12592 # Same as above, but a single script fragment to be evaled but not shown.
12593 finish_eval=$lt_finish_eval
12595 # Take the output of nm and produce a listing of raw symbols and C names.
12596 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12598 # Transform the output of nm in a proper C declaration
12599 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12601 # Transform the output of nm in a C name address pair
12602 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12604 # This is the shared library runtime path variable.
12605 runpath_var=$runpath_var
12607 # This is the shared library path variable.
12608 shlibpath_var=$shlibpath_var
12610 # Is shlibpath searched before the hard-coded library search path?
12611 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12613 # How to hardcode a shared library path into an executable.
12614 hardcode_action=$hardcode_action_CXX
12616 # Whether we should hardcode library paths into libraries.
12617 hardcode_into_libs=$hardcode_into_libs
12619 # Flag to hardcode \$libdir into a binary during linking.
12620 # This must work even if \$libdir does not exist.
12621 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12623 # If ld is used when linking, flag to hardcode \$libdir into
12624 # a binary during linking. This must work even if \$libdir does
12626 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12628 # Whether we need a single -rpath flag with a separated argument.
12629 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12631 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12632 # resulting binary.
12633 hardcode_direct=$hardcode_direct_CXX
12635 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12636 # resulting binary.
12637 hardcode_minus_L=$hardcode_minus_L_CXX
12639 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12640 # the resulting binary.
12641 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12643 # Set to yes if building a shared library automatically hardcodes DIR into the library
12644 # and all subsequent libraries and executables linked against it.
12645 hardcode_automatic=$hardcode_automatic_CXX
12647 # Variables whose values should be saved in libtool wrapper scripts and
12648 # restored at relink time.
12649 variables_saved_for_relink="$variables_saved_for_relink"
12651 # Whether libtool must link a program against all its dependency libraries.
12652 link_all_deplibs=$link_all_deplibs_CXX
12654 # Compile-time system search path for libraries
12655 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12657 # Run-time system search path for libraries
12658 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12660 # Fix the shell variable \$srcfile for the compiler.
12661 fix_srcfile_path="$fix_srcfile_path_CXX"
12663 # Set to yes if exported symbols are required.
12664 always_export_symbols=$always_export_symbols_CXX
12666 # The commands to list exported symbols.
12667 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12669 # The commands to extract the exported symbol list from a shared archive.
12670 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12672 # Symbols that should not be listed in the preloaded symbols.
12673 exclude_expsyms=$lt_exclude_expsyms_CXX
12675 # Symbols that must always be exported.
12676 include_expsyms=$lt_include_expsyms_CXX
12678 # ### END LIBTOOL TAG CONFIG: $tagname
12684 # If there is no Makefile yet, we rely on a make rule to execute
12685 # `config.status --recheck' to rerun these tests and create the
12686 # libtool script then.
12687 test -f Makefile && make "$ltmain"
12692 ac_cpp='$CPP $CPPFLAGS'
12693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12701 with_gnu_ldcxx=$with_gnu_ld
12702 with_gnu_ld=$lt_save_with_gnu_ld
12703 lt_cv_path_LDCXX=$lt_cv_path_LD
12704 lt_cv_path_LD=$lt_save_path_LD
12705 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12706 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12714 if test -n "$F77" && test "X$F77" != "Xno"; then
12717 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12718 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12719 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12722 archive_cmds_need_lc_F77=no
12723 allow_undefined_flag_F77=
12724 always_export_symbols_F77=no
12725 archive_expsym_cmds_F77=
12726 export_dynamic_flag_spec_F77=
12727 hardcode_direct_F77=no
12728 hardcode_libdir_flag_spec_F77=
12729 hardcode_libdir_flag_spec_ld_F77=
12730 hardcode_libdir_separator_F77=
12731 hardcode_minus_L_F77=no
12732 hardcode_automatic_F77=no
12734 module_expsym_cmds_F77=
12735 link_all_deplibs_F77=unknown
12736 old_archive_cmds_F77=$old_archive_cmds
12737 no_undefined_flag_F77=
12738 whole_archive_flag_spec_F77=
12739 enable_shared_with_static_runtimes_F77=no
12741 # Source file extension for f77 test sources.
12744 # Object file extension for compiled f77 test sources.
12748 # Code to be used in simple compile tests
12749 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12751 # Code to be used in simple link tests
12752 lt_simple_link_test_code=" program t\n end\n"
12754 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12756 # If no C compiler was specified, use CC.
12759 # Allow CC to be a program name with arguments.
12763 # Allow CC to be a program name with arguments.
12768 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12770 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12771 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12772 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12773 echo "${ECHO_T}$can_build_shared" >&6
12775 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12776 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12777 test "$can_build_shared" = "no" && enable_shared=no
12779 # On AIX, shared libraries and static libraries use the same namespace, and
12780 # are all built from PIC.
12783 test "$enable_shared" = yes && enable_static=no
12784 if test -n "$RANLIB"; then
12785 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12786 postinstall_cmds='$RANLIB $lib'
12790 test "$enable_shared" = yes && enable_static=no
12793 echo "$as_me:$LINENO: result: $enable_shared" >&5
12794 echo "${ECHO_T}$enable_shared" >&6
12796 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12797 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12798 # Make sure either enable_shared or enable_static is yes.
12799 test "$enable_shared" = yes || enable_static=yes
12800 echo "$as_me:$LINENO: result: $enable_static" >&5
12801 echo "${ECHO_T}$enable_static" >&6
12803 test "$ld_shlibs_F77" = no && can_build_shared=no
12808 lt_prog_compiler_wl_F77=
12809 lt_prog_compiler_pic_F77=
12810 lt_prog_compiler_static_F77=
12812 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12813 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12815 if test "$GCC" = yes; then
12816 lt_prog_compiler_wl_F77='-Wl,'
12817 lt_prog_compiler_static_F77='-static'
12821 # All AIX code is PIC.
12822 if test "$host_cpu" = ia64; then
12823 # AIX 5 now supports IA64 processor
12824 lt_prog_compiler_static_F77='-Bstatic'
12829 # FIXME: we need at least 68020 code to build shared libraries, but
12830 # adding the `-m68020' flag to GCC prevents building anything better,
12832 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12835 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12836 # PIC is the default for these OSes.
12839 mingw* | pw32* | os2*)
12840 # This hack is so that the source file can tell whether it is being
12841 # built for inclusion in a dll (and should export symbols for example).
12842 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12845 darwin* | rhapsody*)
12846 # PIC is the default on this platform
12847 # Common symbols not allowed in MH_DYLIB files
12848 lt_prog_compiler_pic_F77='-fno-common'
12852 # Just because we use GCC doesn't mean we suddenly get shared libraries
12853 # on systems that don't support them.
12854 lt_prog_compiler_can_build_shared_F77=no
12859 if test -d /usr/nec; then
12860 lt_prog_compiler_pic_F77=-Kconform_pic
12865 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12866 # not for PA HP-UX.
12867 case "$host_cpu" in
12872 lt_prog_compiler_pic_F77='-fPIC'
12878 lt_prog_compiler_pic_F77='-fPIC'
12882 # PORTME Check for flag to pass linker flags through the system compiler.
12885 lt_prog_compiler_wl_F77='-Wl,'
12886 if test "$host_cpu" = ia64; then
12887 # AIX 5 now supports IA64 processor
12888 lt_prog_compiler_static_F77='-Bstatic'
12890 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12894 mingw* | pw32* | os2*)
12895 # This hack is so that the source file can tell whether it is being
12896 # built for inclusion in a dll (and should export symbols for example).
12897 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12900 hpux9* | hpux10* | hpux11*)
12901 lt_prog_compiler_wl_F77='-Wl,'
12902 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12903 # not for PA HP-UX.
12904 case "$host_cpu" in
12909 lt_prog_compiler_pic_F77='+Z'
12912 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12913 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
12916 irix5* | irix6* | nonstopux*)
12917 lt_prog_compiler_wl_F77='-Wl,'
12918 # PIC (with -KPIC) is the default.
12919 lt_prog_compiler_static_F77='-non_shared'
12923 lt_prog_compiler_pic_F77='-KPIC'
12924 lt_prog_compiler_static_F77='-Bstatic'
12930 lt_prog_compiler_wl_F77='-Wl,'
12931 lt_prog_compiler_pic_F77='-KPIC'
12932 lt_prog_compiler_static_F77='-static'
12935 lt_prog_compiler_wl_F77='-Wl,'
12936 # All Alpha code is PIC.
12937 lt_prog_compiler_static_F77='-non_shared'
12942 osf3* | osf4* | osf5*)
12943 lt_prog_compiler_wl_F77='-Wl,'
12944 # All OSF/1 code is PIC.
12945 lt_prog_compiler_static_F77='-non_shared'
12949 lt_prog_compiler_pic_F77='-Kpic'
12950 lt_prog_compiler_static_F77='-dn'
12954 lt_prog_compiler_wl_F77='-Wl,'
12955 lt_prog_compiler_pic_F77='-KPIC'
12956 lt_prog_compiler_static_F77='-Bstatic'
12960 lt_prog_compiler_wl_F77='-Qoption ld '
12961 lt_prog_compiler_pic_F77='-PIC'
12962 lt_prog_compiler_static_F77='-Bstatic'
12965 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12966 lt_prog_compiler_wl_F77='-Wl,'
12967 lt_prog_compiler_pic_F77='-KPIC'
12968 lt_prog_compiler_static_F77='-Bstatic'
12972 if test -d /usr/nec ;then
12973 lt_prog_compiler_pic_F77='-Kconform_pic'
12974 lt_prog_compiler_static_F77='-Bstatic'
12979 lt_prog_compiler_pic_F77='-pic'
12980 lt_prog_compiler_static_F77='-Bstatic'
12984 lt_prog_compiler_can_build_shared_F77=no
12989 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
12990 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
12993 # Check to make sure the PIC flag actually works.
12995 if test -n "$lt_prog_compiler_pic_F77"; then
12996 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
12997 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
12998 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
12999 echo $ECHO_N "(cached) $ECHO_C" >&6
13001 lt_prog_compiler_pic_works_F77=no
13002 ac_outfile=conftest.$ac_objext
13003 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13004 lt_compiler_flag="$lt_prog_compiler_pic_F77"
13005 # Insert the option either (1) after the last *FLAGS variable, or
13006 # (2) before a word containing "conftest.", or (3) at the end.
13007 # Note that $ac_compile itself does not contain backslashes and begins
13008 # with a dollar sign (not a hyphen), so the echo should work correctly.
13009 # The option is referenced via a variable to avoid confusing sed.
13010 lt_compile=`echo "$ac_compile" | $SED \
13011 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13012 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13013 -e 's:$: $lt_compiler_flag:'`
13014 (eval echo "\"\$as_me:13011: $lt_compile\"" >&5)
13015 (eval "$lt_compile" 2>conftest.err)
13017 cat conftest.err >&5
13018 echo "$as_me:13015: \$? = $ac_status" >&5
13019 if (exit $ac_status) && test -s "$ac_outfile"; then
13020 # The compiler can only warn and ignore the option if not recognized
13021 # So say no if there are warnings
13022 if test ! -s conftest.err; then
13023 lt_prog_compiler_pic_works_F77=yes
13029 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13030 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13032 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13033 case $lt_prog_compiler_pic_F77 in
13035 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13038 lt_prog_compiler_pic_F77=
13039 lt_prog_compiler_can_build_shared_F77=no
13044 # For platforms which do not support PIC, -DPIC is meaningless:
13046 lt_prog_compiler_pic_F77=
13049 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13053 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13054 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13055 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13056 echo $ECHO_N "(cached) $ECHO_C" >&6
13058 lt_cv_prog_compiler_c_o_F77=no
13059 $rm -r conftest 2>/dev/null
13063 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13065 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13066 # that will create temporary files in the current directory regardless of
13067 # the output directory. Thus, making CWD read-only will cause this test
13068 # to fail, enabling locking or at least warning the user not to do parallel
13072 lt_compiler_flag="-o out/conftest2.$ac_objext"
13073 # Insert the option either (1) after the last *FLAGS variable, or
13074 # (2) before a word containing "conftest.", or (3) at the end.
13075 # Note that $ac_compile itself does not contain backslashes and begins
13076 # with a dollar sign (not a hyphen), so the echo should work correctly.
13077 lt_compile=`echo "$ac_compile" | $SED \
13078 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13079 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13080 -e 's:$: $lt_compiler_flag:'`
13081 (eval echo "\"\$as_me:13078: $lt_compile\"" >&5)
13082 (eval "$lt_compile" 2>out/conftest.err)
13084 cat out/conftest.err >&5
13085 echo "$as_me:13082: \$? = $ac_status" >&5
13086 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13088 # The compiler can only warn and ignore the option if not recognized
13089 # So say no if there are warnings
13090 if test ! -s out/conftest.err; then
13091 lt_cv_prog_compiler_c_o_F77=yes
13095 $rm conftest* out/*
13102 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13103 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13106 hard_links="nottested"
13107 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13108 # do not overwrite the value of need_locks provided by the user
13109 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13110 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13113 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13115 ln conftest.a conftest.b 2>&5 || hard_links=no
13116 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13117 echo "$as_me:$LINENO: result: $hard_links" >&5
13118 echo "${ECHO_T}$hard_links" >&6
13119 if test "$hard_links" = no; then
13120 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13121 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13128 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13129 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13132 allow_undefined_flag_F77=
13133 enable_shared_with_static_runtimes_F77=no
13135 archive_expsym_cmds_F77=
13136 old_archive_From_new_cmds_F77=
13137 old_archive_from_expsyms_cmds_F77=
13138 export_dynamic_flag_spec_F77=
13139 whole_archive_flag_spec_F77=
13140 thread_safe_flag_spec_F77=
13141 hardcode_libdir_flag_spec_F77=
13142 hardcode_libdir_flag_spec_ld_F77=
13143 hardcode_libdir_separator_F77=
13144 hardcode_direct_F77=no
13145 hardcode_minus_L_F77=no
13146 hardcode_shlibpath_var_F77=unsupported
13147 link_all_deplibs_F77=unknown
13148 hardcode_automatic_F77=no
13150 module_expsym_cmds_F77=
13151 always_export_symbols_F77=no
13152 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13153 # include_expsyms should be a list of space-separated symbols to be *always*
13154 # included in the symbol list
13155 include_expsyms_F77=
13156 # exclude_expsyms can be an extended regexp of symbols to exclude
13157 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13158 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13159 # as well as any symbol that contains `d'.
13160 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13161 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13162 # platforms (ab)use it in PIC code, but their linkers get confused if
13163 # the symbol is explicitly referenced. Since portable code cannot
13164 # rely on this symbol name, it's probably fine to never include it in
13165 # preloaded symbol tables.
13166 extract_expsyms_cmds=
13169 cygwin* | mingw* | pw32*)
13170 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13171 # When not using gcc, we currently assume that we are using
13172 # Microsoft Visual C++.
13173 if test "$GCC" != yes; then
13183 if test "$with_gnu_ld" = yes; then
13184 # If archive_cmds runs LD, not CC, wlarc should be empty
13187 # See if GNU ld supports shared libraries.
13189 aix3* | aix4* | aix5*)
13190 # On AIX/PPC, the GNU linker is very broken
13191 if test "$host_cpu" != ia64; then
13195 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13196 *** to be unable to reliably create shared libraries on AIX.
13197 *** Therefore, libtool is disabling shared libraries support. If you
13198 *** really care for shared libraries, you may want to modify your PATH
13199 *** so that a non-GNU linker is found, and then restart.
13206 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)'
13207 hardcode_libdir_flag_spec_F77='-L$libdir'
13208 hardcode_minus_L_F77=yes
13210 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13211 # that the semantics of dynamic libraries on AmigaOS, at least up
13212 # to version 4, is to share data among multiple programs linked
13213 # with the same dynamic library. Since this doesn't match the
13214 # behavior of shared libraries on other platforms, we can't use
13220 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13221 allow_undefined_flag_F77=unsupported
13222 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13223 # support --undefined. This deserves some investigation. FIXME
13224 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13230 cygwin* | mingw* | pw32*)
13231 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13232 # as there is no search path for DLLs.
13233 hardcode_libdir_flag_spec_F77='-L$libdir'
13234 allow_undefined_flag_F77=unsupported
13235 always_export_symbols_F77=no
13236 enable_shared_with_static_runtimes_F77=yes
13237 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13239 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13240 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13241 # If the export-symbols file already is a .def file (1st line
13242 # is EXPORTS), use it as is; otherwise, prepend...
13243 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13244 cp $export_symbols $output_objdir/$soname.def;
13246 echo EXPORTS > $output_objdir/$soname.def;
13247 cat $export_symbols >> $output_objdir/$soname.def;
13249 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13256 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13257 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13260 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13261 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13266 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13270 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13271 *** create shared libraries on Solaris systems. Therefore, libtool
13272 *** is disabling shared libraries support. We urge you to upgrade GNU
13273 *** binutils to release 2.9.1 or newer. Another option is to modify
13274 *** your PATH or compiler configuration so that the native linker is
13275 *** used, and then restart.
13278 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13279 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13280 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13287 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13289 hardcode_direct_F77=yes
13290 hardcode_shlibpath_var_F77=no
13294 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13295 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13296 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13303 if test "$ld_shlibs_F77" = yes; then
13304 runpath_var=LD_RUN_PATH
13305 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13306 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13307 # ancient GNU ld didn't support --whole-archive et. al.
13308 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13309 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13311 whole_archive_flag_spec_F77=
13315 # PORTME fill in a description of your system's linker (not GNU ld)
13318 allow_undefined_flag_F77=unsupported
13319 always_export_symbols_F77=yes
13320 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'
13321 # Note: this linker hardcodes the directories in LIBPATH if there
13322 # are no directories specified by -L.
13323 hardcode_minus_L_F77=yes
13324 if test "$GCC" = yes && test -z "$link_static_flag"; then
13325 # Neither direct hardcoding nor static linking is supported with a
13327 hardcode_direct_F77=unsupported
13332 if test "$host_cpu" = ia64; then
13333 # On IA64, the linker does run time linking by default, so we don't
13334 # have to do anything special.
13335 aix_use_runtimelinking=no
13336 exp_sym_flag='-Bexport'
13339 # If we're using GNU nm, then we don't want the "-C" option.
13340 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13341 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13342 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'
13344 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'
13346 aix_use_runtimelinking=no
13348 # Test if we are trying to use run time linking or normal
13349 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13350 # need to do runtime linking.
13351 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13352 for ld_flag in $LDFLAGS; do
13353 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13354 aix_use_runtimelinking=yes
13360 exp_sym_flag='-bexport'
13361 no_entry_flag='-bnoentry'
13364 # When large executables or shared objects are built, AIX ld can
13365 # have problems creating the table of contents. If linking a library
13366 # or program results in "error TOC overflow" add -mminimal-toc to
13367 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13368 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13370 archive_cmds_F77=''
13371 hardcode_direct_F77=yes
13372 hardcode_libdir_separator_F77=':'
13373 link_all_deplibs_F77=yes
13375 if test "$GCC" = yes; then
13376 case $host_os in aix4.012|aix4.012.*)
13377 # We only want to do this on AIX 4.2 and lower, the check
13378 # below for broken collect2 doesn't work under 4.3+
13379 collect2name=`${CC} -print-prog-name=collect2`
13380 if test -f "$collect2name" && \
13381 strings "$collect2name" | grep resolve_lib_name >/dev/null
13383 # We have reworked collect2
13384 hardcode_direct_F77=yes
13386 # We have old collect2
13387 hardcode_direct_F77=unsupported
13388 # It fails to find uninstalled libraries when the uninstalled
13389 # path is not listed in the libpath. Setting hardcode_minus_L
13390 # to unsupported forces relinking
13391 hardcode_minus_L_F77=yes
13392 hardcode_libdir_flag_spec_F77='-L$libdir'
13393 hardcode_libdir_separator_F77=
13396 shared_flag='-shared'
13399 if test "$host_cpu" = ia64; then
13400 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13401 # chokes on -Wl,-G. The following line is correct:
13404 if test "$aix_use_runtimelinking" = yes; then
13405 shared_flag='${wl}-G'
13407 shared_flag='${wl}-bM:SRE'
13412 # It seems that -bexpall does not export symbols beginning with
13413 # underscore (_), so it is better to generate a list of symbols to export.
13414 always_export_symbols_F77=yes
13415 if test "$aix_use_runtimelinking" = yes; then
13416 # Warning - without using the other runtime loading flags (-brtl),
13417 # -berok will link without error, but may produce a broken library.
13418 allow_undefined_flag_F77='-berok'
13419 # Determine the default libpath from the value encoded in an empty executable.
13420 cat >conftest.$ac_ext <<_ACEOF
13425 rm -f conftest.$ac_objext conftest$ac_exeext
13426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13427 (eval $ac_link) 2>&5
13429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13430 (exit $ac_status); } &&
13431 { ac_try='test -s conftest$ac_exeext'
13432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13433 (eval $ac_try) 2>&5
13435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13436 (exit $ac_status); }; }; then
13438 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13440 # Check for a 64-bit object if we didn't find anything.
13441 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; }
13444 echo "$as_me: failed program was:" >&5
13445 sed 's/^/| /' conftest.$ac_ext >&5
13448 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13449 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13451 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13452 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"
13454 if test "$host_cpu" = ia64; then
13455 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13456 allow_undefined_flag_F77="-z nodefs"
13457 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"
13459 # Determine the default libpath from the value encoded in an empty executable.
13460 cat >conftest.$ac_ext <<_ACEOF
13465 rm -f conftest.$ac_objext conftest$ac_exeext
13466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13467 (eval $ac_link) 2>&5
13469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13470 (exit $ac_status); } &&
13471 { ac_try='test -s conftest$ac_exeext'
13472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13473 (eval $ac_try) 2>&5
13475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13476 (exit $ac_status); }; }; then
13478 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13480 # Check for a 64-bit object if we didn't find anything.
13481 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; }
13484 echo "$as_me: failed program was:" >&5
13485 sed 's/^/| /' conftest.$ac_ext >&5
13488 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13489 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13491 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13492 # Warning - without using the other run time loading flags,
13493 # -berok will link without error, but may produce a broken library.
13494 no_undefined_flag_F77=' ${wl}-bernotok'
13495 allow_undefined_flag_F77=' ${wl}-berok'
13496 # -bexpall does not export symbols beginning with underscore (_)
13497 always_export_symbols_F77=yes
13498 # Exported symbols can be pulled into shared objects from archives
13499 whole_archive_flag_spec_F77=' '
13500 archive_cmds_need_lc_F77=yes
13501 # This is similar to how AIX traditionally builds it's shared libraries.
13502 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'
13508 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)'
13509 hardcode_libdir_flag_spec_F77='-L$libdir'
13510 hardcode_minus_L_F77=yes
13511 # see comment about different semantics on the GNU ld section
13516 export_dynamic_flag_spec_F77=-rdynamic
13519 cygwin* | mingw* | pw32*)
13520 # When not using gcc, we currently assume that we are using
13521 # Microsoft Visual C++.
13522 # hardcode_libdir_flag_spec is actually meaningless, as there is
13523 # no search path for DLLs.
13524 hardcode_libdir_flag_spec_F77=' '
13525 allow_undefined_flag_F77=unsupported
13526 # Tell ltmain to make .lib files, not .a files.
13528 # Tell ltmain to make .dll files, not .so files.
13530 # FIXME: Setting linknames here is a bad hack.
13531 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13532 # The linker will automatically build a .lib file if we build a DLL.
13533 old_archive_From_new_cmds_F77='true'
13534 # FIXME: Should let the user specify the lib program.
13535 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13536 fix_srcfile_path='`cygpath -w "$srcfile"`'
13537 enable_shared_with_static_runtimes_F77=yes
13540 darwin* | rhapsody*)
13541 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
13542 archive_cmds_need_lc_F77=no
13544 rhapsody* | darwin1.[012])
13545 allow_undefined_flag_F77='-undefined suppress'
13548 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13551 # FIXME: Relying on posixy $() will cause problems for
13552 # cross-compilation, but unfortunately the echo tests do not
13553 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13554 # `"' quotes if we put them in here... so don't!
13555 lt_int_apple_cc_single_mod=no
13556 output_verbose_link_cmd='echo'
13557 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13558 lt_int_apple_cc_single_mod=yes
13560 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13561 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13563 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'
13565 module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
13566 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13567 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13568 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}'
13570 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}'
13572 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}'
13573 hardcode_direct_F77=no
13574 hardcode_automatic_F77=yes
13575 hardcode_shlibpath_var_F77=unsupported
13576 whole_archive_flag_spec_F77='-all_load $convenience'
13577 link_all_deplibs_F77=yes
13582 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13583 hardcode_libdir_flag_spec_F77='-L$libdir'
13584 hardcode_shlibpath_var_F77=no
13591 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13592 # support. Future versions do this automatically, but an explicit c++rt0.o
13593 # does not break anything, and helps significantly (at the cost of a little
13596 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13597 hardcode_libdir_flag_spec_F77='-R$libdir'
13598 hardcode_direct_F77=yes
13599 hardcode_shlibpath_var_F77=no
13602 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13604 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13605 hardcode_direct_F77=yes
13606 hardcode_minus_L_F77=yes
13607 hardcode_shlibpath_var_F77=no
13610 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13612 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13613 hardcode_libdir_flag_spec_F77='-R$libdir'
13614 hardcode_direct_F77=yes
13615 hardcode_shlibpath_var_F77=no
13619 if test "$GCC" = yes; then
13620 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'
13622 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'
13624 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13625 hardcode_libdir_separator_F77=:
13626 hardcode_direct_F77=yes
13628 # hardcode_minus_L: Not really in the search PATH,
13629 # but as the default location of the library.
13630 hardcode_minus_L_F77=yes
13631 export_dynamic_flag_spec_F77='${wl}-E'
13635 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13636 case "$host_cpu" in
13638 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13641 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13645 case "$host_cpu" in
13647 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13650 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13654 if test "$with_gnu_ld" = no; then
13655 case "$host_cpu" in
13657 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13658 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13659 hardcode_libdir_separator_F77=:
13660 hardcode_direct_F77=no
13661 hardcode_shlibpath_var_F77=no
13664 hardcode_libdir_flag_spec_F77='-L$libdir'
13665 hardcode_direct_F77=no
13666 hardcode_shlibpath_var_F77=no
13668 # hardcode_minus_L: Not really in the search PATH,
13669 # but as the default location of the library.
13670 hardcode_minus_L_F77=yes
13673 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13674 hardcode_libdir_separator_F77=:
13675 hardcode_direct_F77=yes
13676 export_dynamic_flag_spec_F77='${wl}-E'
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
13686 irix5* | irix6* | nonstopux*)
13687 if test "$GCC" = yes; then
13688 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'
13690 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'
13691 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13693 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13694 hardcode_libdir_separator_F77=:
13695 link_all_deplibs_F77=yes
13699 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13700 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13702 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13704 hardcode_libdir_flag_spec_F77='-R$libdir'
13705 hardcode_direct_F77=yes
13706 hardcode_shlibpath_var_F77=no
13710 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13711 hardcode_direct_F77=yes
13712 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13713 hardcode_libdir_separator_F77=:
13714 hardcode_shlibpath_var_F77=no
13718 hardcode_direct_F77=yes
13719 hardcode_shlibpath_var_F77=no
13720 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13721 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13722 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13723 export_dynamic_flag_spec_F77='${wl}-E'
13726 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13727 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13728 hardcode_libdir_flag_spec_F77='-R$libdir'
13731 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13732 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13739 hardcode_libdir_flag_spec_F77='-L$libdir'
13740 hardcode_minus_L_F77=yes
13741 allow_undefined_flag_F77=unsupported
13742 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'
13743 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13747 if test "$GCC" = yes; then
13748 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13749 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'
13751 allow_undefined_flag_F77=' -expect_unresolved \*'
13752 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'
13754 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13755 hardcode_libdir_separator_F77=:
13758 osf4* | osf5*) # as osf3* with the addition of -msym flag
13759 if test "$GCC" = yes; then
13760 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13761 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'
13762 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13764 allow_undefined_flag_F77=' -expect_unresolved \*'
13765 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'
13766 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~
13767 $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'
13769 # Both c and cxx compiler support -rpath directly
13770 hardcode_libdir_flag_spec_F77='-rpath $libdir'
13772 hardcode_libdir_separator_F77=:
13776 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13777 hardcode_shlibpath_var_F77=no
13778 export_dynamic_flag_spec_F77='${wl}-Bexport'
13779 runpath_var=LD_RUN_PATH
13780 hardcode_runpath_var=yes
13784 no_undefined_flag_F77=' -z text'
13785 if test "$GCC" = yes; then
13786 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13787 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13788 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13790 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13791 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13792 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13794 hardcode_libdir_flag_spec_F77='-R$libdir'
13795 hardcode_shlibpath_var_F77=no
13797 solaris2.[0-5] | solaris2.[0-5].*) ;;
13798 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13799 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13801 link_all_deplibs_F77=yes
13805 if test "x$host_vendor" = xsequent; then
13806 # Use $CC to link under sequent, because it throws in some extra .o
13807 # files that make .init and .fini sections work.
13808 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13810 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13812 hardcode_libdir_flag_spec_F77='-L$libdir'
13813 hardcode_direct_F77=yes
13814 hardcode_minus_L_F77=yes
13815 hardcode_shlibpath_var_F77=no
13819 case $host_vendor in
13821 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13822 hardcode_direct_F77=yes # is this really true???
13825 ## LD is ld it makes a PLAMLIB
13826 ## CC just makes a GrossModule.
13827 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13828 reload_cmds_F77='$CC -r -o $output$reload_objs'
13829 hardcode_direct_F77=no
13832 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13833 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13836 runpath_var='LD_RUN_PATH'
13837 hardcode_shlibpath_var_F77=no
13841 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13842 hardcode_shlibpath_var_F77=no
13843 export_dynamic_flag_spec_F77='-Bexport'
13847 if test -d /usr/nec; then
13848 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13849 hardcode_shlibpath_var_F77=no
13850 runpath_var=LD_RUN_PATH
13851 hardcode_runpath_var=yes
13857 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13858 hardcode_direct_F77=yes
13859 hardcode_minus_L_F77=no
13860 hardcode_shlibpath_var_F77=no
13861 hardcode_runpath_var=yes
13862 runpath_var=LD_RUN_PATH
13865 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13866 no_undefined_flag_F77='${wl}-z ${wl}text'
13867 if test "$GCC" = yes; then
13868 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13870 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13872 runpath_var='LD_RUN_PATH'
13873 hardcode_shlibpath_var_F77=no
13877 no_undefined_flag_F77=' -z text'
13878 # $CC -shared without GNU ld will not create a library from C++
13879 # object files and a static libstdc++, better avoid it by now
13880 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13881 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13882 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13883 hardcode_libdir_flag_spec_F77=
13884 hardcode_shlibpath_var_F77=no
13885 runpath_var='LD_RUN_PATH'
13889 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13890 hardcode_libdir_flag_spec_F77='-L$libdir'
13891 hardcode_shlibpath_var_F77=no
13900 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
13901 echo "${ECHO_T}$ld_shlibs_F77" >&6
13902 test "$ld_shlibs_F77" = no && can_build_shared=no
13904 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13905 if test "$GCC" = yes; then
13906 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13910 # Do we need to explicitly link libc?
13912 case "x$archive_cmds_need_lc_F77" in
13914 # Assume -lc should be added
13915 archive_cmds_need_lc_F77=yes
13917 if test "$enable_shared" = yes && test "$GCC" = yes; then
13918 case $archive_cmds_F77 in
13920 # FIXME: we may have to deal with multi-command sequences.
13923 # Test whether the compiler implicitly links with -lc since on some
13924 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13925 # to ld, don't add -lc before -lgcc.
13926 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13927 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13929 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13932 (eval $ac_compile) 2>&5
13934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13935 (exit $ac_status); } 2>conftest.err; then
13938 libobjs=conftest.$ac_objext
13940 wl=$lt_prog_compiler_wl_F77
13946 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
13947 allow_undefined_flag_F77=
13948 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13949 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13952 (exit $ac_status); }
13954 archive_cmds_need_lc_F77=no
13956 archive_cmds_need_lc_F77=yes
13958 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
13960 cat conftest.err 1>&5
13963 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
13964 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
13971 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13972 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13973 hardcode_action_F77=
13974 if test -n "$hardcode_libdir_flag_spec_F77" || \
13975 test -n "$runpath_var F77" || \
13976 test "X$hardcode_automatic_F77"="Xyes" ; then
13978 # We can hardcode non-existant directories.
13979 if test "$hardcode_direct_F77" != no &&
13980 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13981 # have to relink, otherwise we might link with an installed library
13982 # when we should be linking with a yet-to-be-installed one
13983 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
13984 test "$hardcode_minus_L_F77" != no; then
13985 # Linking always hardcodes the temporary library directory.
13986 hardcode_action_F77=relink
13988 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13989 hardcode_action_F77=immediate
13992 # We cannot hardcode anything, or else we can only hardcode existing
13994 hardcode_action_F77=unsupported
13996 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
13997 echo "${ECHO_T}$hardcode_action_F77" >&6
13999 if test "$hardcode_action_F77" = relink; then
14000 # Fast installation is not supported
14001 enable_fast_install=no
14002 elif test "$shlibpath_overrides_runpath" = yes ||
14003 test "$enable_shared" = no; then
14004 # Fast installation is not necessary
14005 enable_fast_install=needless
14010 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14011 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14012 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14013 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14014 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14015 echo "$as_me:$LINENO: result: yes" >&5
14016 echo "${ECHO_T}yes" >&6
14018 # FIXME - insert some real tests, host_os isn't really good enough
14021 if test -n "$STRIP" ; then
14022 striplib="$STRIP -x"
14023 echo "$as_me:$LINENO: result: yes" >&5
14024 echo "${ECHO_T}yes" >&6
14026 echo "$as_me:$LINENO: result: no" >&5
14027 echo "${ECHO_T}no" >&6
14031 echo "$as_me:$LINENO: result: no" >&5
14032 echo "${ECHO_T}no" >&6
14037 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14038 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14039 library_names_spec=
14040 libname_spec='lib$name'
14044 postuninstall_cmds=
14048 shlibpath_overrides_runpath=unknown
14050 dynamic_linker="$host_os ld.so"
14051 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14052 if test "$GCC" = yes; then
14053 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14054 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14055 # if the path contains ";" then we assume it to be the separator
14056 # otherwise default to the standard path separator (i.e. ":") - it is
14057 # assumed that no part of a normal pathname contains ";" but that should
14058 # okay in the real world where ";" in dirpaths is itself problematic.
14059 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14061 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14064 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14066 need_lib_prefix=unknown
14067 hardcode_into_libs=no
14069 # when you set need_version to no, make sure it does not cause -set_version
14070 # flags to be left without arguments
14071 need_version=unknown
14076 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14077 shlibpath_var=LIBPATH
14079 # AIX 3 has no versioning support, so we append a major version to the name.
14080 soname_spec='${libname}${release}${shared_ext}$major'
14087 hardcode_into_libs=yes
14088 if test "$host_cpu" = ia64; then
14089 # AIX 5 supports IA64
14090 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14091 shlibpath_var=LD_LIBRARY_PATH
14093 # With GCC up to 2.95.x, collect2 would create an import file
14094 # for dependence libraries. The import file would start with
14095 # the line `#! .'. This would cause the generated library to
14096 # depend on `.', always an invalid library. This was fixed in
14097 # development snapshots of GCC prior to 3.0.
14099 aix4 | aix4.[01] | aix4.[01].*)
14100 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14102 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14105 can_build_shared=no
14109 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14110 # soname into executable. Probably we can add versioning support to
14111 # collect2, so additional links can be useful in future.
14112 if test "$aix_use_runtimelinking" = yes; then
14113 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14114 # instead of lib<name>.a to let people know that these are not
14115 # typical AIX shared libraries.
14116 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14118 # We preserve .a as extension for shared libraries through AIX4.2
14119 # and later when we are not doing run time linking.
14120 library_names_spec='${libname}${release}.a $libname.a'
14121 soname_spec='${libname}${release}${shared_ext}$major'
14123 shlibpath_var=LIBPATH
14128 library_names_spec='$libname.ixlibrary $libname.a'
14129 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14130 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'
14134 library_names_spec='${libname}${shared_ext}'
14135 dynamic_linker="$host_os ld.so"
14136 shlibpath_var=LIBRARY_PATH
14142 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14143 soname_spec='${libname}${release}${shared_ext}$major'
14144 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14145 shlibpath_var=LD_LIBRARY_PATH
14146 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14147 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14148 # the default ld.so.conf also contains /usr/contrib/lib and
14149 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14150 # libtool to hard-code these into programs
14153 cygwin* | mingw* | pw32*)
14154 version_type=windows
14159 case $GCC,$host_os in
14160 yes,cygwin* | yes,mingw* | yes,pw32*)
14161 library_names_spec='$libname.dll.a'
14162 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14163 postinstall_cmds='base_file=`basename \${file}`~
14164 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14165 dldir=$destdir/`dirname \$dlpath`~
14166 test -d \$dldir || mkdir -p \$dldir~
14167 $install_prog $dir/$dlname \$dldir/$dlname'
14168 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14169 dlpath=$dir/\$dldll~
14171 shlibpath_overrides_runpath=yes
14175 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14176 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14177 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
14180 # MinGW DLLs use traditional 'lib' prefix
14181 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14182 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14183 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14184 # It is most probably a Windows format PATH printed by
14185 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14186 # path with ; separators, and with drive letters. We can handle the
14187 # drive letters (cygwin fileutils understands them), so leave them,
14188 # especially as we might pass files found there to a mingw objdump,
14189 # which wouldn't understand a cygwinified path. Ahh.
14190 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14192 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14196 # pw32 DLLs use 'pw' prefix rather than 'lib'
14197 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14203 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14206 dynamic_linker='Win32 ld.exe'
14207 # FIXME: first we should search . and the directory the executable is in
14211 darwin* | rhapsody*)
14212 dynamic_linker="$host_os dyld"
14213 version_type=darwin
14216 # FIXME: Relying on posixy $() will cause problems for
14217 # cross-compilation, but unfortunately the echo tests do not
14218 # yet detect zsh echo's removal of \ escapes.
14219 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14220 soname_spec='${libname}${release}${major}$shared_ext'
14221 shlibpath_overrides_runpath=yes
14222 shlibpath_var=DYLD_LIBRARY_PATH
14223 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
14224 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14225 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
14226 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"`
14228 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14235 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14236 soname_spec='${libname}${release}${shared_ext}$major'
14237 shlibpath_var=LD_LIBRARY_PATH
14245 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14246 version_type=freebsd-$objformat
14247 case $version_type in
14249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14254 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14258 shlibpath_var=LD_LIBRARY_PATH
14261 shlibpath_overrides_runpath=yes
14263 freebsd3.01* | freebsdelf3.01*)
14264 shlibpath_overrides_runpath=yes
14265 hardcode_into_libs=yes
14268 shlibpath_overrides_runpath=no
14269 hardcode_into_libs=yes
14278 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14279 soname_spec='${libname}${release}${shared_ext}$major'
14280 shlibpath_var=LD_LIBRARY_PATH
14281 hardcode_into_libs=yes
14284 hpux9* | hpux10* | hpux11*)
14285 # Give a soname corresponding to the major version so that dld.sl refuses to
14286 # link against other versions.
14290 case "$host_cpu" in
14293 hardcode_into_libs=yes
14294 dynamic_linker="$host_os dld.so"
14295 shlibpath_var=LD_LIBRARY_PATH
14296 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14297 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14298 soname_spec='${libname}${release}${shared_ext}$major'
14299 if test "X$HPUX_IA64_MODE" = X32; then
14300 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14302 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14304 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14308 hardcode_into_libs=yes
14309 dynamic_linker="$host_os dld.sl"
14310 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14311 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14313 soname_spec='${libname}${release}${shared_ext}$major'
14314 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14315 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14319 dynamic_linker="$host_os dld.sl"
14320 shlibpath_var=SHLIB_PATH
14321 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
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'
14326 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14327 postinstall_cmds='chmod 555 $lib'
14330 irix5* | irix6* | nonstopux*)
14332 nonstopux*) version_type=nonstopux ;;
14334 if test "$lt_cv_prog_gnu_ld" = yes; then
14342 soname_spec='${libname}${release}${shared_ext}$major'
14343 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14345 irix5* | nonstopux*)
14346 libsuff= shlibsuff=
14349 case $LD in # libtool.m4 will add one of these switches to LD
14350 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14351 libsuff= shlibsuff= libmagic=32-bit;;
14352 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14353 libsuff=32 shlibsuff=N32 libmagic=N32;;
14354 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14355 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14356 *) libsuff= shlibsuff= libmagic=never-match;;
14360 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14361 shlibpath_overrides_runpath=no
14362 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14363 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14364 hardcode_into_libs=yes
14367 # No shared lib support for Linux oldld, aout, or coff.
14368 linux*oldld* | linux*aout* | linux*coff*)
14372 # This must be Linux ELF.
14377 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14378 soname_spec='${libname}${release}${shared_ext}$major'
14379 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14380 shlibpath_var=LD_LIBRARY_PATH
14381 shlibpath_overrides_runpath=no
14382 # This implies no fast_install, which is unacceptable.
14383 # Some rework will be needed to allow for fast_install
14384 # before this can be enabled.
14385 hardcode_into_libs=yes
14387 # We used to test for /lib/ld.so.1 and disable shared libraries on
14388 # powerpc, because MkLinux only supported shared libraries with the
14389 # GNU dynamic linker. Since this was broken with cross compilers,
14390 # most powerpc-linux boxes support dynamic linking these days and
14391 # people can always --disable-shared, the test was removed, and we
14392 # assume the GNU/Linux dynamic linker is in use.
14393 dynamic_linker='GNU/Linux ld.so'
14400 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14402 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14403 dynamic_linker='NetBSD (a.out) ld.so'
14405 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14406 soname_spec='${libname}${release}${shared_ext}$major'
14407 dynamic_linker='NetBSD ld.elf_so'
14409 shlibpath_var=LD_LIBRARY_PATH
14410 shlibpath_overrides_runpath=yes
14411 hardcode_into_libs=yes
14416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14417 shlibpath_var=LD_LIBRARY_PATH
14418 shlibpath_overrides_runpath=yes
14425 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14426 soname_spec='${libname}${release}${shared_ext}$major'
14427 shlibpath_var=LD_LIBRARY_PATH
14428 shlibpath_overrides_runpath=yes
14435 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14436 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14437 shlibpath_var=LD_LIBRARY_PATH
14438 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14440 openbsd2.[89] | openbsd2.[89].*)
14441 shlibpath_overrides_runpath=no
14444 shlibpath_overrides_runpath=yes
14448 shlibpath_overrides_runpath=yes
14453 libname_spec='$name'
14456 library_names_spec='$libname${shared_ext} $libname.a'
14457 dynamic_linker='OS/2 ld.exe'
14458 shlibpath_var=LIBPATH
14461 osf3* | osf4* | osf5*)
14465 soname_spec='${libname}${release}${shared_ext}$major'
14466 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14467 shlibpath_var=LD_LIBRARY_PATH
14468 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14469 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14474 soname_spec='${libname}${release}${shared_ext}$major'
14475 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14476 shlibpath_var=LD_LIBRARY_PATH
14483 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14484 soname_spec='${libname}${release}${shared_ext}$major'
14485 shlibpath_var=LD_LIBRARY_PATH
14486 shlibpath_overrides_runpath=yes
14487 hardcode_into_libs=yes
14488 # ldd complains unless libraries are executable
14489 postinstall_cmds='chmod +x $lib'
14494 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14495 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14496 shlibpath_var=LD_LIBRARY_PATH
14497 shlibpath_overrides_runpath=yes
14498 if test "$with_gnu_ld" = yes; then
14504 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14507 soname_spec='${libname}${release}${shared_ext}$major'
14508 shlibpath_var=LD_LIBRARY_PATH
14509 case $host_vendor in
14511 shlibpath_overrides_runpath=no
14513 export_dynamic_flag_spec='${wl}-Blargedynsym'
14514 runpath_var=LD_RUN_PATH
14522 shlibpath_overrides_runpath=no
14523 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14529 if test -d /usr/nec ;then
14531 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14532 soname_spec='$libname${shared_ext}.$major'
14533 shlibpath_var=LD_LIBRARY_PATH
14539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14540 soname_spec='${libname}${release}${shared_ext}$major'
14541 shlibpath_var=LD_LIBRARY_PATH
14548 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14549 echo "${ECHO_T}$dynamic_linker" >&6
14550 test "$dynamic_linker" = no && can_build_shared=no
14553 # The else clause should only fire when bootstrapping the
14554 # libtool distribution, otherwise you forgot to ship ltmain.sh
14555 # with your package, and you will get complaints that there are
14556 # no rules to generate ltmain.sh.
14557 if test -f "$ltmain"; then
14558 # See if we are running on zsh, and set the options which allow our commands through
14559 # without removal of \ escapes.
14560 if test -n "${ZSH_VERSION+set}" ; then
14561 setopt NO_GLOB_SUBST
14563 # Now quote all the things that may contain metacharacters while being
14564 # careful not to overquote the AC_SUBSTed values. We take copies of the
14565 # variables and quote the copies for generation of the libtool script.
14566 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
14567 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14568 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14569 deplibs_check_method reload_flag reload_cmds need_locks \
14570 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14571 lt_cv_sys_global_symbol_to_c_name_address \
14572 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14573 old_postinstall_cmds old_postuninstall_cmds \
14577 lt_prog_compiler_wl_F77 \
14578 lt_prog_compiler_pic_F77 \
14579 lt_prog_compiler_static_F77 \
14580 lt_prog_compiler_no_builtin_flag_F77 \
14581 export_dynamic_flag_spec_F77 \
14582 thread_safe_flag_spec_F77 \
14583 whole_archive_flag_spec_F77 \
14584 enable_shared_with_static_runtimes_F77 \
14585 old_archive_cmds_F77 \
14586 old_archive_from_new_cmds_F77 \
14587 predep_objects_F77 \
14588 postdep_objects_F77 \
14591 compiler_lib_search_path_F77 \
14593 archive_expsym_cmds_F77 \
14594 postinstall_cmds_F77 \
14595 postuninstall_cmds_F77 \
14596 old_archive_from_expsyms_cmds_F77 \
14597 allow_undefined_flag_F77 \
14598 no_undefined_flag_F77 \
14599 export_symbols_cmds_F77 \
14600 hardcode_libdir_flag_spec_F77 \
14601 hardcode_libdir_flag_spec_ld_F77 \
14602 hardcode_libdir_separator_F77 \
14603 hardcode_automatic_F77 \
14605 module_expsym_cmds_F77 \
14606 lt_cv_prog_compiler_c_o_F77 \
14607 exclude_expsyms_F77 \
14608 include_expsyms_F77; do
14611 old_archive_cmds_F77 | \
14612 old_archive_from_new_cmds_F77 | \
14613 archive_cmds_F77 | \
14614 archive_expsym_cmds_F77 | \
14615 module_cmds_F77 | \
14616 module_expsym_cmds_F77 | \
14617 old_archive_from_expsyms_cmds_F77 | \
14618 export_symbols_cmds_F77 | \
14619 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14620 postinstall_cmds | postuninstall_cmds | \
14621 old_postinstall_cmds | old_postuninstall_cmds | \
14622 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14623 # Double-quote double-evaled strings.
14624 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14627 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14633 *'\$0 --fallback-echo"')
14634 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14640 cat <<__EOF__ >> "$cfgfile"
14641 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14643 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14645 # Shell to use when invoking shell scripts.
14648 # Whether or not to build shared libraries.
14649 build_libtool_libs=$enable_shared
14651 # Whether or not to build static libraries.
14652 build_old_libs=$enable_static
14654 # Whether or not to add -lc for building shared libraries.
14655 build_libtool_need_lc=$archive_cmds_need_lc_F77
14657 # Whether or not to disallow shared libs when runtime libs are static
14658 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14660 # Whether or not to optimize for fast installation.
14661 fast_install=$enable_fast_install
14664 host_alias=$host_alias
14667 # An echo program that does not interpret backslashes.
14672 AR_FLAGS=$lt_AR_FLAGS
14677 # A language-specific compiler.
14678 CC=$lt_compiler_F77
14680 # Is the compiler the GNU C compiler?
14686 # The linker used to build libraries.
14689 # Whether we need hard or soft links.
14692 # A BSD-compatible nm program.
14695 # A symbol stripping program
14698 # Used to examine libraries when file_magic_cmd begins "file"
14699 MAGIC_CMD=$MAGIC_CMD
14701 # Used on cygwin: DLL creation program.
14704 # Used on cygwin: object dumper.
14707 # Used on cygwin: assembler.
14710 # The name of the directory that contains temporary libtool files.
14713 # How to create reloadable object files.
14714 reload_flag=$lt_reload_flag
14715 reload_cmds=$lt_reload_cmds
14717 # How to pass a linker flag through the compiler.
14718 wl=$lt_lt_prog_compiler_wl_F77
14720 # Object file suffix (normally "o").
14721 objext="$ac_objext"
14723 # Old archive suffix (normally "a").
14726 # Shared library suffix (normally ".so").
14729 # Executable file suffix (normally "").
14732 # Additional compiler flags for building library objects.
14733 pic_flag=$lt_lt_prog_compiler_pic_F77
14736 # What is the maximum length of a command?
14737 max_cmd_len=$lt_cv_sys_max_cmd_len
14739 # Does compiler simultaneously support -c and -o options?
14740 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
14742 # Must we lock files when doing compilation ?
14743 need_locks=$lt_need_locks
14745 # Do we need the lib prefix for modules?
14746 need_lib_prefix=$need_lib_prefix
14748 # Do we need a version for libraries?
14749 need_version=$need_version
14751 # Whether dlopen is supported.
14752 dlopen_support=$enable_dlopen
14754 # Whether dlopen of programs is supported.
14755 dlopen_self=$enable_dlopen_self
14757 # Whether dlopen of statically linked programs is supported.
14758 dlopen_self_static=$enable_dlopen_self_static
14760 # Compiler flag to prevent dynamic linking.
14761 link_static_flag=$lt_lt_prog_compiler_static_F77
14763 # Compiler flag to turn off builtin functions.
14764 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
14766 # Compiler flag to allow reflexive dlopens.
14767 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
14769 # Compiler flag to generate shared objects directly from archives.
14770 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
14772 # Compiler flag to generate thread-safe objects.
14773 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
14775 # Library versioning type.
14776 version_type=$version_type
14778 # Format of library name prefix.
14779 libname_spec=$lt_libname_spec
14781 # List of archive names. First name is the real one, the rest are links.
14782 # The last name is the one that the linker finds with -lNAME.
14783 library_names_spec=$lt_library_names_spec
14785 # The coded name of the library, if different from the real name.
14786 soname_spec=$lt_soname_spec
14788 # Commands used to build and install an old-style archive.
14790 old_archive_cmds=$lt_old_archive_cmds_F77
14791 old_postinstall_cmds=$lt_old_postinstall_cmds
14792 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14794 # Create an old-style archive from a shared archive.
14795 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
14797 # Create a temporary old-style archive to link instead of a shared archive.
14798 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
14800 # Commands used to build and install a shared archive.
14801 archive_cmds=$lt_archive_cmds_F77
14802 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
14803 postinstall_cmds=$lt_postinstall_cmds
14804 postuninstall_cmds=$lt_postuninstall_cmds
14806 # Commands used to build a loadable module (assumed same as above if empty)
14807 module_cmds=$lt_module_cmds_F77
14808 module_expsym_cmds=$lt_module_expsym_cmds_F77
14810 # Commands to strip libraries.
14811 old_striplib=$lt_old_striplib
14812 striplib=$lt_striplib
14814 # Dependencies to place before the objects being linked to create a
14816 predep_objects=$lt_predep_objects_F77
14818 # Dependencies to place after the objects being linked to create a
14820 postdep_objects=$lt_postdep_objects_F77
14822 # Dependencies to place before the objects being linked to create a
14824 predeps=$lt_predeps_F77
14826 # Dependencies to place after the objects being linked to create a
14828 postdeps=$lt_postdeps_F77
14830 # The library search path used internally by the compiler when linking
14831 # a shared library.
14832 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
14834 # Method to check whether dependent libraries are shared objects.
14835 deplibs_check_method=$lt_deplibs_check_method
14837 # Command to use when deplibs_check_method == file_magic.
14838 file_magic_cmd=$lt_file_magic_cmd
14840 # Flag that allows shared libraries with undefined symbols to be built.
14841 allow_undefined_flag=$lt_allow_undefined_flag_F77
14843 # Flag that forces no undefined symbols.
14844 no_undefined_flag=$lt_no_undefined_flag_F77
14846 # Commands used to finish a libtool library installation in a directory.
14847 finish_cmds=$lt_finish_cmds
14849 # Same as above, but a single script fragment to be evaled but not shown.
14850 finish_eval=$lt_finish_eval
14852 # Take the output of nm and produce a listing of raw symbols and C names.
14853 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14855 # Transform the output of nm in a proper C declaration
14856 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14858 # Transform the output of nm in a C name address pair
14859 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14861 # This is the shared library runtime path variable.
14862 runpath_var=$runpath_var
14864 # This is the shared library path variable.
14865 shlibpath_var=$shlibpath_var
14867 # Is shlibpath searched before the hard-coded library search path?
14868 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14870 # How to hardcode a shared library path into an executable.
14871 hardcode_action=$hardcode_action_F77
14873 # Whether we should hardcode library paths into libraries.
14874 hardcode_into_libs=$hardcode_into_libs
14876 # Flag to hardcode \$libdir into a binary during linking.
14877 # This must work even if \$libdir does not exist.
14878 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
14880 # If ld is used when linking, flag to hardcode \$libdir into
14881 # a binary during linking. This must work even if \$libdir does
14883 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
14885 # Whether we need a single -rpath flag with a separated argument.
14886 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
14888 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14889 # resulting binary.
14890 hardcode_direct=$hardcode_direct_F77
14892 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14893 # resulting binary.
14894 hardcode_minus_L=$hardcode_minus_L_F77
14896 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14897 # the resulting binary.
14898 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
14900 # Set to yes if building a shared library automatically hardcodes DIR into the library
14901 # and all subsequent libraries and executables linked against it.
14902 hardcode_automatic=$hardcode_automatic_F77
14904 # Variables whose values should be saved in libtool wrapper scripts and
14905 # restored at relink time.
14906 variables_saved_for_relink="$variables_saved_for_relink"
14908 # Whether libtool must link a program against all its dependency libraries.
14909 link_all_deplibs=$link_all_deplibs_F77
14911 # Compile-time system search path for libraries
14912 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14914 # Run-time system search path for libraries
14915 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14917 # Fix the shell variable \$srcfile for the compiler.
14918 fix_srcfile_path="$fix_srcfile_path_F77"
14920 # Set to yes if exported symbols are required.
14921 always_export_symbols=$always_export_symbols_F77
14923 # The commands to list exported symbols.
14924 export_symbols_cmds=$lt_export_symbols_cmds_F77
14926 # The commands to extract the exported symbol list from a shared archive.
14927 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14929 # Symbols that should not be listed in the preloaded symbols.
14930 exclude_expsyms=$lt_exclude_expsyms_F77
14932 # Symbols that must always be exported.
14933 include_expsyms=$lt_include_expsyms_F77
14935 # ### END LIBTOOL TAG CONFIG: $tagname
14941 # If there is no Makefile yet, we rely on a make rule to execute
14942 # `config.status --recheck' to rerun these tests and create the
14943 # libtool script then.
14944 test -f Makefile && make "$ltmain"
14949 ac_cpp='$CPP $CPPFLAGS'
14950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14962 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
14966 # Source file extension for Java test sources.
14969 # Object file extension for compiled Java test sources.
14973 # Code to be used in simple compile tests
14974 lt_simple_compile_test_code="class foo {}\n"
14976 # Code to be used in simple link tests
14977 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
14979 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14981 # If no C compiler was specified, use CC.
14984 # Allow CC to be a program name with arguments.
14988 # Allow CC to be a program name with arguments.
14994 # GCJ did not exist at the time GCC didn't implicitly link libc in.
14995 archive_cmds_need_lc_GCJ=no
14998 ## There is no encapsulation within the following macros, do not change
14999 ## the running order or otherwise move them around unless you know exactly
15000 ## what you are doing...
15002 lt_prog_compiler_no_builtin_flag_GCJ=
15004 if test "$GCC" = yes; then
15005 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15007 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15008 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15009 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15010 echo $ECHO_N "(cached) $ECHO_C" >&6
15012 lt_cv_prog_compiler_rtti_exceptions=no
15013 ac_outfile=conftest.$ac_objext
15014 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15015 lt_compiler_flag="-fno-rtti -fno-exceptions"
15016 # Insert the option either (1) after the last *FLAGS variable, or
15017 # (2) before a word containing "conftest.", or (3) at the end.
15018 # Note that $ac_compile itself does not contain backslashes and begins
15019 # with a dollar sign (not a hyphen), so the echo should work correctly.
15020 # The option is referenced via a variable to avoid confusing sed.
15021 lt_compile=`echo "$ac_compile" | $SED \
15022 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15023 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15024 -e 's:$: $lt_compiler_flag:'`
15025 (eval echo "\"\$as_me:15022: $lt_compile\"" >&5)
15026 (eval "$lt_compile" 2>conftest.err)
15028 cat conftest.err >&5
15029 echo "$as_me:15026: \$? = $ac_status" >&5
15030 if (exit $ac_status) && test -s "$ac_outfile"; then
15031 # The compiler can only warn and ignore the option if not recognized
15032 # So say no if there are warnings
15033 if test ! -s conftest.err; then
15034 lt_cv_prog_compiler_rtti_exceptions=yes
15040 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15041 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15043 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15044 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15051 lt_prog_compiler_wl_GCJ=
15052 lt_prog_compiler_pic_GCJ=
15053 lt_prog_compiler_static_GCJ=
15055 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15056 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15058 if test "$GCC" = yes; then
15059 lt_prog_compiler_wl_GCJ='-Wl,'
15060 lt_prog_compiler_static_GCJ='-static'
15064 # All AIX code is PIC.
15065 if test "$host_cpu" = ia64; then
15066 # AIX 5 now supports IA64 processor
15067 lt_prog_compiler_static_GCJ='-Bstatic'
15072 # FIXME: we need at least 68020 code to build shared libraries, but
15073 # adding the `-m68020' flag to GCC prevents building anything better,
15075 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15078 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15079 # PIC is the default for these OSes.
15082 mingw* | pw32* | os2*)
15083 # This hack is so that the source file can tell whether it is being
15084 # built for inclusion in a dll (and should export symbols for example).
15085 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15088 darwin* | rhapsody*)
15089 # PIC is the default on this platform
15090 # Common symbols not allowed in MH_DYLIB files
15091 lt_prog_compiler_pic_GCJ='-fno-common'
15095 # Just because we use GCC doesn't mean we suddenly get shared libraries
15096 # on systems that don't support them.
15097 lt_prog_compiler_can_build_shared_GCJ=no
15102 if test -d /usr/nec; then
15103 lt_prog_compiler_pic_GCJ=-Kconform_pic
15108 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15109 # not for PA HP-UX.
15110 case "$host_cpu" in
15115 lt_prog_compiler_pic_GCJ='-fPIC'
15121 lt_prog_compiler_pic_GCJ='-fPIC'
15125 # PORTME Check for flag to pass linker flags through the system compiler.
15128 lt_prog_compiler_wl_GCJ='-Wl,'
15129 if test "$host_cpu" = ia64; then
15130 # AIX 5 now supports IA64 processor
15131 lt_prog_compiler_static_GCJ='-Bstatic'
15133 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15137 mingw* | pw32* | os2*)
15138 # This hack is so that the source file can tell whether it is being
15139 # built for inclusion in a dll (and should export symbols for example).
15140 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15143 hpux9* | hpux10* | hpux11*)
15144 lt_prog_compiler_wl_GCJ='-Wl,'
15145 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15146 # not for PA HP-UX.
15147 case "$host_cpu" in
15152 lt_prog_compiler_pic_GCJ='+Z'
15155 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15156 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15159 irix5* | irix6* | nonstopux*)
15160 lt_prog_compiler_wl_GCJ='-Wl,'
15161 # PIC (with -KPIC) is the default.
15162 lt_prog_compiler_static_GCJ='-non_shared'
15166 lt_prog_compiler_pic_GCJ='-KPIC'
15167 lt_prog_compiler_static_GCJ='-Bstatic'
15173 lt_prog_compiler_wl_GCJ='-Wl,'
15174 lt_prog_compiler_pic_GCJ='-KPIC'
15175 lt_prog_compiler_static_GCJ='-static'
15178 lt_prog_compiler_wl_GCJ='-Wl,'
15179 # All Alpha code is PIC.
15180 lt_prog_compiler_static_GCJ='-non_shared'
15185 osf3* | osf4* | osf5*)
15186 lt_prog_compiler_wl_GCJ='-Wl,'
15187 # All OSF/1 code is PIC.
15188 lt_prog_compiler_static_GCJ='-non_shared'
15192 lt_prog_compiler_pic_GCJ='-Kpic'
15193 lt_prog_compiler_static_GCJ='-dn'
15197 lt_prog_compiler_wl_GCJ='-Wl,'
15198 lt_prog_compiler_pic_GCJ='-KPIC'
15199 lt_prog_compiler_static_GCJ='-Bstatic'
15203 lt_prog_compiler_wl_GCJ='-Qoption ld '
15204 lt_prog_compiler_pic_GCJ='-PIC'
15205 lt_prog_compiler_static_GCJ='-Bstatic'
15208 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15209 lt_prog_compiler_wl_GCJ='-Wl,'
15210 lt_prog_compiler_pic_GCJ='-KPIC'
15211 lt_prog_compiler_static_GCJ='-Bstatic'
15215 if test -d /usr/nec ;then
15216 lt_prog_compiler_pic_GCJ='-Kconform_pic'
15217 lt_prog_compiler_static_GCJ='-Bstatic'
15222 lt_prog_compiler_pic_GCJ='-pic'
15223 lt_prog_compiler_static_GCJ='-Bstatic'
15227 lt_prog_compiler_can_build_shared_GCJ=no
15232 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15233 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15236 # Check to make sure the PIC flag actually works.
15238 if test -n "$lt_prog_compiler_pic_GCJ"; then
15239 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15240 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15241 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15242 echo $ECHO_N "(cached) $ECHO_C" >&6
15244 lt_prog_compiler_pic_works_GCJ=no
15245 ac_outfile=conftest.$ac_objext
15246 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15247 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15248 # Insert the option either (1) after the last *FLAGS variable, or
15249 # (2) before a word containing "conftest.", or (3) at the end.
15250 # Note that $ac_compile itself does not contain backslashes and begins
15251 # with a dollar sign (not a hyphen), so the echo should work correctly.
15252 # The option is referenced via a variable to avoid confusing sed.
15253 lt_compile=`echo "$ac_compile" | $SED \
15254 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15255 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15256 -e 's:$: $lt_compiler_flag:'`
15257 (eval echo "\"\$as_me:15254: $lt_compile\"" >&5)
15258 (eval "$lt_compile" 2>conftest.err)
15260 cat conftest.err >&5
15261 echo "$as_me:15258: \$? = $ac_status" >&5
15262 if (exit $ac_status) && test -s "$ac_outfile"; then
15263 # The compiler can only warn and ignore the option if not recognized
15264 # So say no if there are warnings
15265 if test ! -s conftest.err; then
15266 lt_prog_compiler_pic_works_GCJ=yes
15272 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15273 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15275 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15276 case $lt_prog_compiler_pic_GCJ in
15278 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15281 lt_prog_compiler_pic_GCJ=
15282 lt_prog_compiler_can_build_shared_GCJ=no
15287 # For platforms which do not support PIC, -DPIC is meaningless:
15289 lt_prog_compiler_pic_GCJ=
15292 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15296 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15297 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15298 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15299 echo $ECHO_N "(cached) $ECHO_C" >&6
15301 lt_cv_prog_compiler_c_o_GCJ=no
15302 $rm -r conftest 2>/dev/null
15306 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15308 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15309 # that will create temporary files in the current directory regardless of
15310 # the output directory. Thus, making CWD read-only will cause this test
15311 # to fail, enabling locking or at least warning the user not to do parallel
15315 lt_compiler_flag="-o out/conftest2.$ac_objext"
15316 # Insert the option either (1) after the last *FLAGS variable, or
15317 # (2) before a word containing "conftest.", or (3) at the end.
15318 # Note that $ac_compile itself does not contain backslashes and begins
15319 # with a dollar sign (not a hyphen), so the echo should work correctly.
15320 lt_compile=`echo "$ac_compile" | $SED \
15321 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15322 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15323 -e 's:$: $lt_compiler_flag:'`
15324 (eval echo "\"\$as_me:15321: $lt_compile\"" >&5)
15325 (eval "$lt_compile" 2>out/conftest.err)
15327 cat out/conftest.err >&5
15328 echo "$as_me:15325: \$? = $ac_status" >&5
15329 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15331 # The compiler can only warn and ignore the option if not recognized
15332 # So say no if there are warnings
15333 if test ! -s out/conftest.err; then
15334 lt_cv_prog_compiler_c_o_GCJ=yes
15338 $rm conftest* out/*
15345 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15346 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15349 hard_links="nottested"
15350 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15351 # do not overwrite the value of need_locks provided by the user
15352 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15353 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15356 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15358 ln conftest.a conftest.b 2>&5 || hard_links=no
15359 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15360 echo "$as_me:$LINENO: result: $hard_links" >&5
15361 echo "${ECHO_T}$hard_links" >&6
15362 if test "$hard_links" = no; then
15363 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15364 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15371 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15372 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15375 allow_undefined_flag_GCJ=
15376 enable_shared_with_static_runtimes_GCJ=no
15378 archive_expsym_cmds_GCJ=
15379 old_archive_From_new_cmds_GCJ=
15380 old_archive_from_expsyms_cmds_GCJ=
15381 export_dynamic_flag_spec_GCJ=
15382 whole_archive_flag_spec_GCJ=
15383 thread_safe_flag_spec_GCJ=
15384 hardcode_libdir_flag_spec_GCJ=
15385 hardcode_libdir_flag_spec_ld_GCJ=
15386 hardcode_libdir_separator_GCJ=
15387 hardcode_direct_GCJ=no
15388 hardcode_minus_L_GCJ=no
15389 hardcode_shlibpath_var_GCJ=unsupported
15390 link_all_deplibs_GCJ=unknown
15391 hardcode_automatic_GCJ=no
15393 module_expsym_cmds_GCJ=
15394 always_export_symbols_GCJ=no
15395 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15396 # include_expsyms should be a list of space-separated symbols to be *always*
15397 # included in the symbol list
15398 include_expsyms_GCJ=
15399 # exclude_expsyms can be an extended regexp of symbols to exclude
15400 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15401 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15402 # as well as any symbol that contains `d'.
15403 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15404 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15405 # platforms (ab)use it in PIC code, but their linkers get confused if
15406 # the symbol is explicitly referenced. Since portable code cannot
15407 # rely on this symbol name, it's probably fine to never include it in
15408 # preloaded symbol tables.
15409 extract_expsyms_cmds=
15412 cygwin* | mingw* | pw32*)
15413 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15414 # When not using gcc, we currently assume that we are using
15415 # Microsoft Visual C++.
15416 if test "$GCC" != yes; then
15426 if test "$with_gnu_ld" = yes; then
15427 # If archive_cmds runs LD, not CC, wlarc should be empty
15430 # See if GNU ld supports shared libraries.
15432 aix3* | aix4* | aix5*)
15433 # On AIX/PPC, the GNU linker is very broken
15434 if test "$host_cpu" != ia64; then
15438 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15439 *** to be unable to reliably create shared libraries on AIX.
15440 *** Therefore, libtool is disabling shared libraries support. If you
15441 *** really care for shared libraries, you may want to modify your PATH
15442 *** so that a non-GNU linker is found, and then restart.
15449 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)'
15450 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15451 hardcode_minus_L_GCJ=yes
15453 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15454 # that the semantics of dynamic libraries on AmigaOS, at least up
15455 # to version 4, is to share data among multiple programs linked
15456 # with the same dynamic library. Since this doesn't match the
15457 # behavior of shared libraries on other platforms, we can't use
15463 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15464 allow_undefined_flag_GCJ=unsupported
15465 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15466 # support --undefined. This deserves some investigation. FIXME
15467 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15473 cygwin* | mingw* | pw32*)
15474 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15475 # as there is no search path for DLLs.
15476 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15477 allow_undefined_flag_GCJ=unsupported
15478 always_export_symbols_GCJ=no
15479 enable_shared_with_static_runtimes_GCJ=yes
15480 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15482 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15483 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15484 # If the export-symbols file already is a .def file (1st line
15485 # is EXPORTS), use it as is; otherwise, prepend...
15486 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15487 cp $export_symbols $output_objdir/$soname.def;
15489 echo EXPORTS > $output_objdir/$soname.def;
15490 cat $export_symbols >> $output_objdir/$soname.def;
15492 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15499 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15500 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15503 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15504 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15509 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15513 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15514 *** create shared libraries on Solaris systems. Therefore, libtool
15515 *** is disabling shared libraries support. We urge you to upgrade GNU
15516 *** binutils to release 2.9.1 or newer. Another option is to modify
15517 *** your PATH or compiler configuration so that the native linker is
15518 *** used, and then restart.
15521 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15522 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15523 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15530 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15532 hardcode_direct_GCJ=yes
15533 hardcode_shlibpath_var_GCJ=no
15537 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15538 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15539 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15546 if test "$ld_shlibs_GCJ" = yes; then
15547 runpath_var=LD_RUN_PATH
15548 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15549 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15550 # ancient GNU ld didn't support --whole-archive et. al.
15551 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15552 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15554 whole_archive_flag_spec_GCJ=
15558 # PORTME fill in a description of your system's linker (not GNU ld)
15561 allow_undefined_flag_GCJ=unsupported
15562 always_export_symbols_GCJ=yes
15563 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'
15564 # Note: this linker hardcodes the directories in LIBPATH if there
15565 # are no directories specified by -L.
15566 hardcode_minus_L_GCJ=yes
15567 if test "$GCC" = yes && test -z "$link_static_flag"; then
15568 # Neither direct hardcoding nor static linking is supported with a
15570 hardcode_direct_GCJ=unsupported
15575 if test "$host_cpu" = ia64; then
15576 # On IA64, the linker does run time linking by default, so we don't
15577 # have to do anything special.
15578 aix_use_runtimelinking=no
15579 exp_sym_flag='-Bexport'
15582 # If we're using GNU nm, then we don't want the "-C" option.
15583 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15584 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15585 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'
15587 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'
15589 aix_use_runtimelinking=no
15591 # Test if we are trying to use run time linking or normal
15592 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15593 # need to do runtime linking.
15594 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15595 for ld_flag in $LDFLAGS; do
15596 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15597 aix_use_runtimelinking=yes
15603 exp_sym_flag='-bexport'
15604 no_entry_flag='-bnoentry'
15607 # When large executables or shared objects are built, AIX ld can
15608 # have problems creating the table of contents. If linking a library
15609 # or program results in "error TOC overflow" add -mminimal-toc to
15610 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15611 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15613 archive_cmds_GCJ=''
15614 hardcode_direct_GCJ=yes
15615 hardcode_libdir_separator_GCJ=':'
15616 link_all_deplibs_GCJ=yes
15618 if test "$GCC" = yes; then
15619 case $host_os in aix4.012|aix4.012.*)
15620 # We only want to do this on AIX 4.2 and lower, the check
15621 # below for broken collect2 doesn't work under 4.3+
15622 collect2name=`${CC} -print-prog-name=collect2`
15623 if test -f "$collect2name" && \
15624 strings "$collect2name" | grep resolve_lib_name >/dev/null
15626 # We have reworked collect2
15627 hardcode_direct_GCJ=yes
15629 # We have old collect2
15630 hardcode_direct_GCJ=unsupported
15631 # It fails to find uninstalled libraries when the uninstalled
15632 # path is not listed in the libpath. Setting hardcode_minus_L
15633 # to unsupported forces relinking
15634 hardcode_minus_L_GCJ=yes
15635 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15636 hardcode_libdir_separator_GCJ=
15639 shared_flag='-shared'
15642 if test "$host_cpu" = ia64; then
15643 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15644 # chokes on -Wl,-G. The following line is correct:
15647 if test "$aix_use_runtimelinking" = yes; then
15648 shared_flag='${wl}-G'
15650 shared_flag='${wl}-bM:SRE'
15655 # It seems that -bexpall does not export symbols beginning with
15656 # underscore (_), so it is better to generate a list of symbols to export.
15657 always_export_symbols_GCJ=yes
15658 if test "$aix_use_runtimelinking" = yes; then
15659 # Warning - without using the other runtime loading flags (-brtl),
15660 # -berok will link without error, but may produce a broken library.
15661 allow_undefined_flag_GCJ='-berok'
15662 # Determine the default libpath from the value encoded in an empty executable.
15663 cat >conftest.$ac_ext <<_ACEOF
15664 #line $LINENO "configure"
15667 cat confdefs.h >>conftest.$ac_ext
15668 cat >>conftest.$ac_ext <<_ACEOF
15669 /* end confdefs.h. */
15679 rm -f conftest.$ac_objext conftest$ac_exeext
15680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15681 (eval $ac_link) 2>&5
15683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15684 (exit $ac_status); } &&
15685 { ac_try='test -s conftest$ac_exeext'
15686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15687 (eval $ac_try) 2>&5
15689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15690 (exit $ac_status); }; }; then
15692 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15694 # Check for a 64-bit object if we didn't find anything.
15695 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; }
15698 echo "$as_me: failed program was:" >&5
15699 sed 's/^/| /' conftest.$ac_ext >&5
15702 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15703 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15705 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15706 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"
15708 if test "$host_cpu" = ia64; then
15709 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
15710 allow_undefined_flag_GCJ="-z nodefs"
15711 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"
15713 # Determine the default libpath from the value encoded in an empty executable.
15714 cat >conftest.$ac_ext <<_ACEOF
15715 #line $LINENO "configure"
15718 cat confdefs.h >>conftest.$ac_ext
15719 cat >>conftest.$ac_ext <<_ACEOF
15720 /* end confdefs.h. */
15730 rm -f conftest.$ac_objext conftest$ac_exeext
15731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15732 (eval $ac_link) 2>&5
15734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15735 (exit $ac_status); } &&
15736 { ac_try='test -s conftest$ac_exeext'
15737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15738 (eval $ac_try) 2>&5
15740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15741 (exit $ac_status); }; }; then
15743 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15745 # Check for a 64-bit object if we didn't find anything.
15746 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; }
15749 echo "$as_me: failed program was:" >&5
15750 sed 's/^/| /' conftest.$ac_ext >&5
15753 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15754 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15756 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15757 # Warning - without using the other run time loading flags,
15758 # -berok will link without error, but may produce a broken library.
15759 no_undefined_flag_GCJ=' ${wl}-bernotok'
15760 allow_undefined_flag_GCJ=' ${wl}-berok'
15761 # -bexpall does not export symbols beginning with underscore (_)
15762 always_export_symbols_GCJ=yes
15763 # Exported symbols can be pulled into shared objects from archives
15764 whole_archive_flag_spec_GCJ=' '
15765 archive_cmds_need_lc_GCJ=yes
15766 # This is similar to how AIX traditionally builds it's shared libraries.
15767 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'
15773 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)'
15774 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15775 hardcode_minus_L_GCJ=yes
15776 # see comment about different semantics on the GNU ld section
15781 export_dynamic_flag_spec_GCJ=-rdynamic
15784 cygwin* | mingw* | pw32*)
15785 # When not using gcc, we currently assume that we are using
15786 # Microsoft Visual C++.
15787 # hardcode_libdir_flag_spec is actually meaningless, as there is
15788 # no search path for DLLs.
15789 hardcode_libdir_flag_spec_GCJ=' '
15790 allow_undefined_flag_GCJ=unsupported
15791 # Tell ltmain to make .lib files, not .a files.
15793 # Tell ltmain to make .dll files, not .so files.
15795 # FIXME: Setting linknames here is a bad hack.
15796 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15797 # The linker will automatically build a .lib file if we build a DLL.
15798 old_archive_From_new_cmds_GCJ='true'
15799 # FIXME: Should let the user specify the lib program.
15800 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
15801 fix_srcfile_path='`cygpath -w "$srcfile"`'
15802 enable_shared_with_static_runtimes_GCJ=yes
15805 darwin* | rhapsody*)
15806 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
15807 archive_cmds_need_lc_GCJ=no
15809 rhapsody* | darwin1.[012])
15810 allow_undefined_flag_GCJ='-undefined suppress'
15813 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
15816 # FIXME: Relying on posixy $() will cause problems for
15817 # cross-compilation, but unfortunately the echo tests do not
15818 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
15819 # `"' quotes if we put them in here... so don't!
15820 lt_int_apple_cc_single_mod=no
15821 output_verbose_link_cmd='echo'
15822 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
15823 lt_int_apple_cc_single_mod=yes
15825 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15826 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15828 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'
15830 module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
15831 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15832 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15833 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}'
15835 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}'
15837 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}'
15838 hardcode_direct_GCJ=no
15839 hardcode_automatic_GCJ=yes
15840 hardcode_shlibpath_var_GCJ=unsupported
15841 whole_archive_flag_spec_GCJ='-all_load $convenience'
15842 link_all_deplibs_GCJ=yes
15847 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15848 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15849 hardcode_shlibpath_var_GCJ=no
15856 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15857 # support. Future versions do this automatically, but an explicit c++rt0.o
15858 # does not break anything, and helps significantly (at the cost of a little
15861 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15862 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15863 hardcode_direct_GCJ=yes
15864 hardcode_shlibpath_var_GCJ=no
15867 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15869 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15870 hardcode_direct_GCJ=yes
15871 hardcode_minus_L_GCJ=yes
15872 hardcode_shlibpath_var_GCJ=no
15875 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15877 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15878 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15879 hardcode_direct_GCJ=yes
15880 hardcode_shlibpath_var_GCJ=no
15884 if test "$GCC" = yes; then
15885 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'
15887 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'
15889 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15890 hardcode_libdir_separator_GCJ=:
15891 hardcode_direct_GCJ=yes
15893 # hardcode_minus_L: Not really in the search PATH,
15894 # but as the default location of the library.
15895 hardcode_minus_L_GCJ=yes
15896 export_dynamic_flag_spec_GCJ='${wl}-E'
15900 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15901 case "$host_cpu" in
15903 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15906 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15910 case "$host_cpu" in
15912 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15915 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15919 if test "$with_gnu_ld" = no; then
15920 case "$host_cpu" in
15922 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15923 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
15924 hardcode_libdir_separator_GCJ=:
15925 hardcode_direct_GCJ=no
15926 hardcode_shlibpath_var_GCJ=no
15929 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15930 hardcode_direct_GCJ=no
15931 hardcode_shlibpath_var_GCJ=no
15933 # hardcode_minus_L: Not really in the search PATH,
15934 # but as the default location of the library.
15935 hardcode_minus_L_GCJ=yes
15938 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15939 hardcode_libdir_separator_GCJ=:
15940 hardcode_direct_GCJ=yes
15941 export_dynamic_flag_spec_GCJ='${wl}-E'
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
15951 irix5* | irix6* | nonstopux*)
15952 if test "$GCC" = yes; then
15953 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'
15955 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'
15956 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
15958 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15959 hardcode_libdir_separator_GCJ=:
15960 link_all_deplibs_GCJ=yes
15964 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15965 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15967 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15969 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15970 hardcode_direct_GCJ=yes
15971 hardcode_shlibpath_var_GCJ=no
15975 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15976 hardcode_direct_GCJ=yes
15977 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15978 hardcode_libdir_separator_GCJ=:
15979 hardcode_shlibpath_var_GCJ=no
15983 hardcode_direct_GCJ=yes
15984 hardcode_shlibpath_var_GCJ=no
15985 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15986 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15987 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
15988 export_dynamic_flag_spec_GCJ='${wl}-E'
15991 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15992 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15993 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15996 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15997 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16004 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16005 hardcode_minus_L_GCJ=yes
16006 allow_undefined_flag_GCJ=unsupported
16007 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'
16008 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16012 if test "$GCC" = yes; then
16013 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16014 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'
16016 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16017 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'
16019 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16020 hardcode_libdir_separator_GCJ=:
16023 osf4* | osf5*) # as osf3* with the addition of -msym flag
16024 if test "$GCC" = yes; then
16025 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16026 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'
16027 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16029 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16030 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'
16031 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~
16032 $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'
16034 # Both c and cxx compiler support -rpath directly
16035 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16037 hardcode_libdir_separator_GCJ=:
16041 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16042 hardcode_shlibpath_var_GCJ=no
16043 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16044 runpath_var=LD_RUN_PATH
16045 hardcode_runpath_var=yes
16049 no_undefined_flag_GCJ=' -z text'
16050 if test "$GCC" = yes; then
16051 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16052 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16053 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16055 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16056 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16057 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16059 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16060 hardcode_shlibpath_var_GCJ=no
16062 solaris2.[0-5] | solaris2.[0-5].*) ;;
16063 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16064 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16066 link_all_deplibs_GCJ=yes
16070 if test "x$host_vendor" = xsequent; then
16071 # Use $CC to link under sequent, because it throws in some extra .o
16072 # files that make .init and .fini sections work.
16073 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16075 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16077 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16078 hardcode_direct_GCJ=yes
16079 hardcode_minus_L_GCJ=yes
16080 hardcode_shlibpath_var_GCJ=no
16084 case $host_vendor in
16086 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16087 hardcode_direct_GCJ=yes # is this really true???
16090 ## LD is ld it makes a PLAMLIB
16091 ## CC just makes a GrossModule.
16092 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16093 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16094 hardcode_direct_GCJ=no
16097 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16098 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16101 runpath_var='LD_RUN_PATH'
16102 hardcode_shlibpath_var_GCJ=no
16106 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16107 hardcode_shlibpath_var_GCJ=no
16108 export_dynamic_flag_spec_GCJ='-Bexport'
16112 if test -d /usr/nec; then
16113 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16114 hardcode_shlibpath_var_GCJ=no
16115 runpath_var=LD_RUN_PATH
16116 hardcode_runpath_var=yes
16122 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16123 hardcode_direct_GCJ=yes
16124 hardcode_minus_L_GCJ=no
16125 hardcode_shlibpath_var_GCJ=no
16126 hardcode_runpath_var=yes
16127 runpath_var=LD_RUN_PATH
16130 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16131 no_undefined_flag_GCJ='${wl}-z ${wl}text'
16132 if test "$GCC" = yes; then
16133 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16135 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16137 runpath_var='LD_RUN_PATH'
16138 hardcode_shlibpath_var_GCJ=no
16142 no_undefined_flag_GCJ=' -z text'
16143 # $CC -shared without GNU ld will not create a library from C++
16144 # object files and a static libstdc++, better avoid it by now
16145 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16146 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16147 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16148 hardcode_libdir_flag_spec_GCJ=
16149 hardcode_shlibpath_var_GCJ=no
16150 runpath_var='LD_RUN_PATH'
16154 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16155 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16156 hardcode_shlibpath_var_GCJ=no
16165 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16166 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16167 test "$ld_shlibs_GCJ" = no && can_build_shared=no
16169 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16170 if test "$GCC" = yes; then
16171 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16175 # Do we need to explicitly link libc?
16177 case "x$archive_cmds_need_lc_GCJ" in
16179 # Assume -lc should be added
16180 archive_cmds_need_lc_GCJ=yes
16182 if test "$enable_shared" = yes && test "$GCC" = yes; then
16183 case $archive_cmds_GCJ in
16185 # FIXME: we may have to deal with multi-command sequences.
16188 # Test whether the compiler implicitly links with -lc since on some
16189 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16190 # to ld, don't add -lc before -lgcc.
16191 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16192 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16194 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16197 (eval $ac_compile) 2>&5
16199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16200 (exit $ac_status); } 2>conftest.err; then
16203 libobjs=conftest.$ac_objext
16205 wl=$lt_prog_compiler_wl_GCJ
16211 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16212 allow_undefined_flag_GCJ=
16213 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16214 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16217 (exit $ac_status); }
16219 archive_cmds_need_lc_GCJ=no
16221 archive_cmds_need_lc_GCJ=yes
16223 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16225 cat conftest.err 1>&5
16228 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16229 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16236 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16237 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16238 hardcode_action_GCJ=
16239 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
16240 test -n "$runpath_var GCJ" || \
16241 test "X$hardcode_automatic_GCJ"="Xyes" ; then
16243 # We can hardcode non-existant directories.
16244 if test "$hardcode_direct_GCJ" != no &&
16245 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16246 # have to relink, otherwise we might link with an installed library
16247 # when we should be linking with a yet-to-be-installed one
16248 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
16249 test "$hardcode_minus_L_GCJ" != no; then
16250 # Linking always hardcodes the temporary library directory.
16251 hardcode_action_GCJ=relink
16253 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16254 hardcode_action_GCJ=immediate
16257 # We cannot hardcode anything, or else we can only hardcode existing
16259 hardcode_action_GCJ=unsupported
16261 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
16262 echo "${ECHO_T}$hardcode_action_GCJ" >&6
16264 if test "$hardcode_action_GCJ" = relink; then
16265 # Fast installation is not supported
16266 enable_fast_install=no
16267 elif test "$shlibpath_overrides_runpath" = yes ||
16268 test "$enable_shared" = no; then
16269 # Fast installation is not necessary
16270 enable_fast_install=needless
16275 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16276 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16277 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16278 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16279 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16280 echo "$as_me:$LINENO: result: yes" >&5
16281 echo "${ECHO_T}yes" >&6
16283 # FIXME - insert some real tests, host_os isn't really good enough
16286 if test -n "$STRIP" ; then
16287 striplib="$STRIP -x"
16288 echo "$as_me:$LINENO: result: yes" >&5
16289 echo "${ECHO_T}yes" >&6
16291 echo "$as_me:$LINENO: result: no" >&5
16292 echo "${ECHO_T}no" >&6
16296 echo "$as_me:$LINENO: result: no" >&5
16297 echo "${ECHO_T}no" >&6
16302 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16303 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16304 library_names_spec=
16305 libname_spec='lib$name'
16309 postuninstall_cmds=
16313 shlibpath_overrides_runpath=unknown
16315 dynamic_linker="$host_os ld.so"
16316 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16317 if test "$GCC" = yes; then
16318 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16319 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16320 # if the path contains ";" then we assume it to be the separator
16321 # otherwise default to the standard path separator (i.e. ":") - it is
16322 # assumed that no part of a normal pathname contains ";" but that should
16323 # okay in the real world where ";" in dirpaths is itself problematic.
16324 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16326 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16329 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16331 need_lib_prefix=unknown
16332 hardcode_into_libs=no
16334 # when you set need_version to no, make sure it does not cause -set_version
16335 # flags to be left without arguments
16336 need_version=unknown
16341 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16342 shlibpath_var=LIBPATH
16344 # AIX 3 has no versioning support, so we append a major version to the name.
16345 soname_spec='${libname}${release}${shared_ext}$major'
16352 hardcode_into_libs=yes
16353 if test "$host_cpu" = ia64; then
16354 # AIX 5 supports IA64
16355 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16356 shlibpath_var=LD_LIBRARY_PATH
16358 # With GCC up to 2.95.x, collect2 would create an import file
16359 # for dependence libraries. The import file would start with
16360 # the line `#! .'. This would cause the generated library to
16361 # depend on `.', always an invalid library. This was fixed in
16362 # development snapshots of GCC prior to 3.0.
16364 aix4 | aix4.[01] | aix4.[01].*)
16365 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16367 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16370 can_build_shared=no
16374 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16375 # soname into executable. Probably we can add versioning support to
16376 # collect2, so additional links can be useful in future.
16377 if test "$aix_use_runtimelinking" = yes; then
16378 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16379 # instead of lib<name>.a to let people know that these are not
16380 # typical AIX shared libraries.
16381 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16383 # We preserve .a as extension for shared libraries through AIX4.2
16384 # and later when we are not doing run time linking.
16385 library_names_spec='${libname}${release}.a $libname.a'
16386 soname_spec='${libname}${release}${shared_ext}$major'
16388 shlibpath_var=LIBPATH
16393 library_names_spec='$libname.ixlibrary $libname.a'
16394 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16395 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'
16399 library_names_spec='${libname}${shared_ext}'
16400 dynamic_linker="$host_os ld.so"
16401 shlibpath_var=LIBRARY_PATH
16407 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16408 soname_spec='${libname}${release}${shared_ext}$major'
16409 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16410 shlibpath_var=LD_LIBRARY_PATH
16411 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16412 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16413 # the default ld.so.conf also contains /usr/contrib/lib and
16414 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16415 # libtool to hard-code these into programs
16418 cygwin* | mingw* | pw32*)
16419 version_type=windows
16424 case $GCC,$host_os in
16425 yes,cygwin* | yes,mingw* | yes,pw32*)
16426 library_names_spec='$libname.dll.a'
16427 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16428 postinstall_cmds='base_file=`basename \${file}`~
16429 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16430 dldir=$destdir/`dirname \$dlpath`~
16431 test -d \$dldir || mkdir -p \$dldir~
16432 $install_prog $dir/$dlname \$dldir/$dlname'
16433 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16434 dlpath=$dir/\$dldll~
16436 shlibpath_overrides_runpath=yes
16440 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16441 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16442 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
16445 # MinGW DLLs use traditional 'lib' prefix
16446 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16447 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16448 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16449 # It is most probably a Windows format PATH printed by
16450 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16451 # path with ; separators, and with drive letters. We can handle the
16452 # drive letters (cygwin fileutils understands them), so leave them,
16453 # especially as we might pass files found there to a mingw objdump,
16454 # which wouldn't understand a cygwinified path. Ahh.
16455 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16457 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16461 # pw32 DLLs use 'pw' prefix rather than 'lib'
16462 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16468 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16471 dynamic_linker='Win32 ld.exe'
16472 # FIXME: first we should search . and the directory the executable is in
16476 darwin* | rhapsody*)
16477 dynamic_linker="$host_os dyld"
16478 version_type=darwin
16481 # FIXME: Relying on posixy $() will cause problems for
16482 # cross-compilation, but unfortunately the echo tests do not
16483 # yet detect zsh echo's removal of \ escapes.
16484 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16485 soname_spec='${libname}${release}${major}$shared_ext'
16486 shlibpath_overrides_runpath=yes
16487 shlibpath_var=DYLD_LIBRARY_PATH
16488 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
16489 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16490 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
16491 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"`
16493 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16500 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16501 soname_spec='${libname}${release}${shared_ext}$major'
16502 shlibpath_var=LD_LIBRARY_PATH
16510 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16511 version_type=freebsd-$objformat
16512 case $version_type in
16514 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16519 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16523 shlibpath_var=LD_LIBRARY_PATH
16526 shlibpath_overrides_runpath=yes
16528 freebsd3.01* | freebsdelf3.01*)
16529 shlibpath_overrides_runpath=yes
16530 hardcode_into_libs=yes
16533 shlibpath_overrides_runpath=no
16534 hardcode_into_libs=yes
16543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16544 soname_spec='${libname}${release}${shared_ext}$major'
16545 shlibpath_var=LD_LIBRARY_PATH
16546 hardcode_into_libs=yes
16549 hpux9* | hpux10* | hpux11*)
16550 # Give a soname corresponding to the major version so that dld.sl refuses to
16551 # link against other versions.
16555 case "$host_cpu" in
16558 hardcode_into_libs=yes
16559 dynamic_linker="$host_os dld.so"
16560 shlibpath_var=LD_LIBRARY_PATH
16561 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16562 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16563 soname_spec='${libname}${release}${shared_ext}$major'
16564 if test "X$HPUX_IA64_MODE" = X32; then
16565 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16567 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16569 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16573 hardcode_into_libs=yes
16574 dynamic_linker="$host_os dld.sl"
16575 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16576 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16577 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16578 soname_spec='${libname}${release}${shared_ext}$major'
16579 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16580 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16584 dynamic_linker="$host_os dld.sl"
16585 shlibpath_var=SHLIB_PATH
16586 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
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'
16591 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16592 postinstall_cmds='chmod 555 $lib'
16595 irix5* | irix6* | nonstopux*)
16597 nonstopux*) version_type=nonstopux ;;
16599 if test "$lt_cv_prog_gnu_ld" = yes; then
16607 soname_spec='${libname}${release}${shared_ext}$major'
16608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16610 irix5* | nonstopux*)
16611 libsuff= shlibsuff=
16614 case $LD in # libtool.m4 will add one of these switches to LD
16615 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16616 libsuff= shlibsuff= libmagic=32-bit;;
16617 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16618 libsuff=32 shlibsuff=N32 libmagic=N32;;
16619 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16620 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16621 *) libsuff= shlibsuff= libmagic=never-match;;
16625 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16626 shlibpath_overrides_runpath=no
16627 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16628 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16629 hardcode_into_libs=yes
16632 # No shared lib support for Linux oldld, aout, or coff.
16633 linux*oldld* | linux*aout* | linux*coff*)
16637 # This must be Linux ELF.
16642 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16643 soname_spec='${libname}${release}${shared_ext}$major'
16644 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16645 shlibpath_var=LD_LIBRARY_PATH
16646 shlibpath_overrides_runpath=no
16647 # This implies no fast_install, which is unacceptable.
16648 # Some rework will be needed to allow for fast_install
16649 # before this can be enabled.
16650 hardcode_into_libs=yes
16652 # We used to test for /lib/ld.so.1 and disable shared libraries on
16653 # powerpc, because MkLinux only supported shared libraries with the
16654 # GNU dynamic linker. Since this was broken with cross compilers,
16655 # most powerpc-linux boxes support dynamic linking these days and
16656 # people can always --disable-shared, the test was removed, and we
16657 # assume the GNU/Linux dynamic linker is in use.
16658 dynamic_linker='GNU/Linux ld.so'
16665 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16666 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16667 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16668 dynamic_linker='NetBSD (a.out) ld.so'
16670 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16671 soname_spec='${libname}${release}${shared_ext}$major'
16672 dynamic_linker='NetBSD ld.elf_so'
16674 shlibpath_var=LD_LIBRARY_PATH
16675 shlibpath_overrides_runpath=yes
16676 hardcode_into_libs=yes
16681 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16682 shlibpath_var=LD_LIBRARY_PATH
16683 shlibpath_overrides_runpath=yes
16690 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16691 soname_spec='${libname}${release}${shared_ext}$major'
16692 shlibpath_var=LD_LIBRARY_PATH
16693 shlibpath_overrides_runpath=yes
16700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16701 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16702 shlibpath_var=LD_LIBRARY_PATH
16703 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16705 openbsd2.[89] | openbsd2.[89].*)
16706 shlibpath_overrides_runpath=no
16709 shlibpath_overrides_runpath=yes
16713 shlibpath_overrides_runpath=yes
16718 libname_spec='$name'
16721 library_names_spec='$libname${shared_ext} $libname.a'
16722 dynamic_linker='OS/2 ld.exe'
16723 shlibpath_var=LIBPATH
16726 osf3* | osf4* | osf5*)
16730 soname_spec='${libname}${release}${shared_ext}$major'
16731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16732 shlibpath_var=LD_LIBRARY_PATH
16733 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16734 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16739 soname_spec='${libname}${release}${shared_ext}$major'
16740 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16741 shlibpath_var=LD_LIBRARY_PATH
16748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16749 soname_spec='${libname}${release}${shared_ext}$major'
16750 shlibpath_var=LD_LIBRARY_PATH
16751 shlibpath_overrides_runpath=yes
16752 hardcode_into_libs=yes
16753 # ldd complains unless libraries are executable
16754 postinstall_cmds='chmod +x $lib'
16759 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16760 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16761 shlibpath_var=LD_LIBRARY_PATH
16762 shlibpath_overrides_runpath=yes
16763 if test "$with_gnu_ld" = yes; then
16769 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16772 soname_spec='${libname}${release}${shared_ext}$major'
16773 shlibpath_var=LD_LIBRARY_PATH
16774 case $host_vendor in
16776 shlibpath_overrides_runpath=no
16778 export_dynamic_flag_spec='${wl}-Blargedynsym'
16779 runpath_var=LD_RUN_PATH
16787 shlibpath_overrides_runpath=no
16788 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16794 if test -d /usr/nec ;then
16796 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16797 soname_spec='$libname${shared_ext}.$major'
16798 shlibpath_var=LD_LIBRARY_PATH
16804 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16805 soname_spec='${libname}${release}${shared_ext}$major'
16806 shlibpath_var=LD_LIBRARY_PATH
16813 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16814 echo "${ECHO_T}$dynamic_linker" >&6
16815 test "$dynamic_linker" = no && can_build_shared=no
16817 if test "x$enable_dlopen" != xyes; then
16818 enable_dlopen=unknown
16819 enable_dlopen_self=unknown
16820 enable_dlopen_self_static=unknown
16827 lt_cv_dlopen="load_add_on"
16829 lt_cv_dlopen_self=yes
16833 lt_cv_dlopen="LoadLibrary"
16838 lt_cv_dlopen="dlopen"
16843 # if libdl is installed we need to link against it
16844 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16845 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16846 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16847 echo $ECHO_N "(cached) $ECHO_C" >&6
16849 ac_check_lib_save_LIBS=$LIBS
16851 cat >conftest.$ac_ext <<_ACEOF
16852 #line $LINENO "configure"
16855 cat confdefs.h >>conftest.$ac_ext
16856 cat >>conftest.$ac_ext <<_ACEOF
16857 /* end confdefs.h. */
16859 /* Override any gcc2 internal prototype to avoid an error. */
16863 /* We use char because int might match the return type of a gcc2
16864 builtin and then its argument prototype would still apply. */
16874 rm -f conftest.$ac_objext conftest$ac_exeext
16875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16876 (eval $ac_link) 2>&5
16878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16879 (exit $ac_status); } &&
16880 { ac_try='test -s conftest$ac_exeext'
16881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16882 (eval $ac_try) 2>&5
16884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16885 (exit $ac_status); }; }; then
16886 ac_cv_lib_dl_dlopen=yes
16888 echo "$as_me: failed program was:" >&5
16889 sed 's/^/| /' conftest.$ac_ext >&5
16891 ac_cv_lib_dl_dlopen=no
16893 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16894 LIBS=$ac_check_lib_save_LIBS
16896 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16897 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16898 if test $ac_cv_lib_dl_dlopen = yes; then
16899 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16902 lt_cv_dlopen="dyld"
16904 lt_cv_dlopen_self=yes
16911 echo "$as_me:$LINENO: checking for shl_load" >&5
16912 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
16913 if test "${ac_cv_func_shl_load+set}" = set; then
16914 echo $ECHO_N "(cached) $ECHO_C" >&6
16916 cat >conftest.$ac_ext <<_ACEOF
16917 #line $LINENO "configure"
16920 cat confdefs.h >>conftest.$ac_ext
16921 cat >>conftest.$ac_ext <<_ACEOF
16922 /* end confdefs.h. */
16923 /* System header to define __stub macros and hopefully few prototypes,
16924 which can conflict with char shl_load (); below.
16925 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16926 <limits.h> exists even on freestanding compilers. */
16928 # include <limits.h>
16930 # include <assert.h>
16932 /* Override any gcc2 internal prototype to avoid an error. */
16937 /* We use char because int might match the return type of a gcc2
16938 builtin and then its argument prototype would still apply. */
16940 /* The GNU C library defines this for functions which it implements
16941 to always fail with ENOSYS. Some functions are actually named
16942 something starting with __ and the normal name is an alias. */
16943 #if defined (__stub_shl_load) || defined (__stub___shl_load)
16946 char (*f) () = shl_load;
16955 return f != shl_load;
16960 rm -f conftest.$ac_objext conftest$ac_exeext
16961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16962 (eval $ac_link) 2>&5
16964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16965 (exit $ac_status); } &&
16966 { ac_try='test -s conftest$ac_exeext'
16967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16968 (eval $ac_try) 2>&5
16970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16971 (exit $ac_status); }; }; then
16972 ac_cv_func_shl_load=yes
16974 echo "$as_me: failed program was:" >&5
16975 sed 's/^/| /' conftest.$ac_ext >&5
16977 ac_cv_func_shl_load=no
16979 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16981 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
16982 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
16983 if test $ac_cv_func_shl_load = yes; then
16984 lt_cv_dlopen="shl_load"
16986 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
16987 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
16988 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
16989 echo $ECHO_N "(cached) $ECHO_C" >&6
16991 ac_check_lib_save_LIBS=$LIBS
16993 cat >conftest.$ac_ext <<_ACEOF
16994 #line $LINENO "configure"
16997 cat confdefs.h >>conftest.$ac_ext
16998 cat >>conftest.$ac_ext <<_ACEOF
16999 /* end confdefs.h. */
17001 /* Override any gcc2 internal prototype to avoid an error. */
17005 /* We use char because int might match the return type of a gcc2
17006 builtin and then its argument prototype would still apply. */
17016 rm -f conftest.$ac_objext conftest$ac_exeext
17017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17018 (eval $ac_link) 2>&5
17020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17021 (exit $ac_status); } &&
17022 { ac_try='test -s conftest$ac_exeext'
17023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17024 (eval $ac_try) 2>&5
17026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17027 (exit $ac_status); }; }; then
17028 ac_cv_lib_dld_shl_load=yes
17030 echo "$as_me: failed program was:" >&5
17031 sed 's/^/| /' conftest.$ac_ext >&5
17033 ac_cv_lib_dld_shl_load=no
17035 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17036 LIBS=$ac_check_lib_save_LIBS
17038 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17039 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17040 if test $ac_cv_lib_dld_shl_load = yes; then
17041 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17043 echo "$as_me:$LINENO: checking for dlopen" >&5
17044 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17045 if test "${ac_cv_func_dlopen+set}" = set; then
17046 echo $ECHO_N "(cached) $ECHO_C" >&6
17048 cat >conftest.$ac_ext <<_ACEOF
17049 #line $LINENO "configure"
17052 cat confdefs.h >>conftest.$ac_ext
17053 cat >>conftest.$ac_ext <<_ACEOF
17054 /* end confdefs.h. */
17055 /* System header to define __stub macros and hopefully few prototypes,
17056 which can conflict with char dlopen (); below.
17057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17058 <limits.h> exists even on freestanding compilers. */
17060 # include <limits.h>
17062 # include <assert.h>
17064 /* Override any gcc2 internal prototype to avoid an error. */
17069 /* We use char because int might match the return type of a gcc2
17070 builtin and then its argument prototype would still apply. */
17072 /* The GNU C library defines this for functions which it implements
17073 to always fail with ENOSYS. Some functions are actually named
17074 something starting with __ and the normal name is an alias. */
17075 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17078 char (*f) () = dlopen;
17087 return f != dlopen;
17092 rm -f conftest.$ac_objext conftest$ac_exeext
17093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17094 (eval $ac_link) 2>&5
17096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17097 (exit $ac_status); } &&
17098 { ac_try='test -s conftest$ac_exeext'
17099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17100 (eval $ac_try) 2>&5
17102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17103 (exit $ac_status); }; }; then
17104 ac_cv_func_dlopen=yes
17106 echo "$as_me: failed program was:" >&5
17107 sed 's/^/| /' conftest.$ac_ext >&5
17109 ac_cv_func_dlopen=no
17111 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17113 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17114 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17115 if test $ac_cv_func_dlopen = yes; then
17116 lt_cv_dlopen="dlopen"
17118 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17119 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17120 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17121 echo $ECHO_N "(cached) $ECHO_C" >&6
17123 ac_check_lib_save_LIBS=$LIBS
17125 cat >conftest.$ac_ext <<_ACEOF
17126 #line $LINENO "configure"
17129 cat confdefs.h >>conftest.$ac_ext
17130 cat >>conftest.$ac_ext <<_ACEOF
17131 /* end confdefs.h. */
17133 /* Override any gcc2 internal prototype to avoid an error. */
17137 /* We use char because int might match the return type of a gcc2
17138 builtin and then its argument prototype would still apply. */
17148 rm -f conftest.$ac_objext conftest$ac_exeext
17149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17150 (eval $ac_link) 2>&5
17152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153 (exit $ac_status); } &&
17154 { ac_try='test -s conftest$ac_exeext'
17155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17156 (eval $ac_try) 2>&5
17158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17159 (exit $ac_status); }; }; then
17160 ac_cv_lib_dl_dlopen=yes
17162 echo "$as_me: failed program was:" >&5
17163 sed 's/^/| /' conftest.$ac_ext >&5
17165 ac_cv_lib_dl_dlopen=no
17167 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17168 LIBS=$ac_check_lib_save_LIBS
17170 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17171 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17172 if test $ac_cv_lib_dl_dlopen = yes; then
17173 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17175 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17176 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17177 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17178 echo $ECHO_N "(cached) $ECHO_C" >&6
17180 ac_check_lib_save_LIBS=$LIBS
17181 LIBS="-lsvld $LIBS"
17182 cat >conftest.$ac_ext <<_ACEOF
17183 #line $LINENO "configure"
17186 cat confdefs.h >>conftest.$ac_ext
17187 cat >>conftest.$ac_ext <<_ACEOF
17188 /* end confdefs.h. */
17190 /* Override any gcc2 internal prototype to avoid an error. */
17194 /* We use char because int might match the return type of a gcc2
17195 builtin and then its argument prototype would still apply. */
17205 rm -f conftest.$ac_objext conftest$ac_exeext
17206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17207 (eval $ac_link) 2>&5
17209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17210 (exit $ac_status); } &&
17211 { ac_try='test -s conftest$ac_exeext'
17212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17213 (eval $ac_try) 2>&5
17215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17216 (exit $ac_status); }; }; then
17217 ac_cv_lib_svld_dlopen=yes
17219 echo "$as_me: failed program was:" >&5
17220 sed 's/^/| /' conftest.$ac_ext >&5
17222 ac_cv_lib_svld_dlopen=no
17224 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17225 LIBS=$ac_check_lib_save_LIBS
17227 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17228 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17229 if test $ac_cv_lib_svld_dlopen = yes; then
17230 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17232 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17233 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17234 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17235 echo $ECHO_N "(cached) $ECHO_C" >&6
17237 ac_check_lib_save_LIBS=$LIBS
17239 cat >conftest.$ac_ext <<_ACEOF
17240 #line $LINENO "configure"
17243 cat confdefs.h >>conftest.$ac_ext
17244 cat >>conftest.$ac_ext <<_ACEOF
17245 /* end confdefs.h. */
17247 /* Override any gcc2 internal prototype to avoid an error. */
17251 /* We use char because int might match the return type of a gcc2
17252 builtin and then its argument prototype would still apply. */
17262 rm -f conftest.$ac_objext conftest$ac_exeext
17263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17264 (eval $ac_link) 2>&5
17266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17267 (exit $ac_status); } &&
17268 { ac_try='test -s conftest$ac_exeext'
17269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17270 (eval $ac_try) 2>&5
17272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17273 (exit $ac_status); }; }; then
17274 ac_cv_lib_dld_dld_link=yes
17276 echo "$as_me: failed program was:" >&5
17277 sed 's/^/| /' conftest.$ac_ext >&5
17279 ac_cv_lib_dld_dld_link=no
17281 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17282 LIBS=$ac_check_lib_save_LIBS
17284 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17285 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17286 if test $ac_cv_lib_dld_dld_link = yes; then
17287 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17308 if test "x$lt_cv_dlopen" != xno; then
17314 case $lt_cv_dlopen in
17316 save_CPPFLAGS="$CPPFLAGS"
17317 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17319 save_LDFLAGS="$LDFLAGS"
17320 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17323 LIBS="$lt_cv_dlopen_libs $LIBS"
17325 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17326 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17327 if test "${lt_cv_dlopen_self+set}" = set; then
17328 echo $ECHO_N "(cached) $ECHO_C" >&6
17330 if test "$cross_compiling" = yes; then :
17331 lt_cv_dlopen_self=cross
17333 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17334 lt_status=$lt_dlunknown
17335 cat > conftest.$ac_ext <<EOF
17336 #line 17333 "configure"
17337 #include "confdefs.h"
17346 # define LT_DLGLOBAL RTLD_GLOBAL
17349 # define LT_DLGLOBAL DL_GLOBAL
17351 # define LT_DLGLOBAL 0
17355 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17356 find out it does not work in some platform. */
17357 #ifndef LT_DLLAZY_OR_NOW
17359 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17362 # define LT_DLLAZY_OR_NOW DL_LAZY
17365 # define LT_DLLAZY_OR_NOW RTLD_NOW
17368 # define LT_DLLAZY_OR_NOW DL_NOW
17370 # define LT_DLLAZY_OR_NOW 0
17378 extern "C" void exit (int);
17381 void fnord() { int i=42;}
17384 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17385 int status = $lt_dlunknown;
17389 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17390 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17391 /* dlclose (self); */
17397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17398 (eval $ac_link) 2>&5
17400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17401 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17402 (./conftest; exit; ) 2>/dev/null
17404 case x$lt_status in
17405 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17406 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17407 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
17410 # compilation failed
17411 lt_cv_dlopen_self=no
17418 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17419 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17421 if test "x$lt_cv_dlopen_self" = xyes; then
17422 LDFLAGS="$LDFLAGS $link_static_flag"
17423 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17424 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17425 if test "${lt_cv_dlopen_self_static+set}" = set; then
17426 echo $ECHO_N "(cached) $ECHO_C" >&6
17428 if test "$cross_compiling" = yes; then :
17429 lt_cv_dlopen_self_static=cross
17431 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17432 lt_status=$lt_dlunknown
17433 cat > conftest.$ac_ext <<EOF
17434 #line 17431 "configure"
17435 #include "confdefs.h"
17444 # define LT_DLGLOBAL RTLD_GLOBAL
17447 # define LT_DLGLOBAL DL_GLOBAL
17449 # define LT_DLGLOBAL 0
17453 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17454 find out it does not work in some platform. */
17455 #ifndef LT_DLLAZY_OR_NOW
17457 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17460 # define LT_DLLAZY_OR_NOW DL_LAZY
17463 # define LT_DLLAZY_OR_NOW RTLD_NOW
17466 # define LT_DLLAZY_OR_NOW DL_NOW
17468 # define LT_DLLAZY_OR_NOW 0
17476 extern "C" void exit (int);
17479 void fnord() { int i=42;}
17482 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17483 int status = $lt_dlunknown;
17487 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17488 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17489 /* dlclose (self); */
17495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17496 (eval $ac_link) 2>&5
17498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17500 (./conftest; exit; ) 2>/dev/null
17502 case x$lt_status in
17503 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17504 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17505 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
17508 # compilation failed
17509 lt_cv_dlopen_self_static=no
17516 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17517 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17520 CPPFLAGS="$save_CPPFLAGS"
17521 LDFLAGS="$save_LDFLAGS"
17526 case $lt_cv_dlopen_self in
17527 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17528 *) enable_dlopen_self=unknown ;;
17531 case $lt_cv_dlopen_self_static in
17532 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17533 *) enable_dlopen_self_static=unknown ;;
17538 # The else clause should only fire when bootstrapping the
17539 # libtool distribution, otherwise you forgot to ship ltmain.sh
17540 # with your package, and you will get complaints that there are
17541 # no rules to generate ltmain.sh.
17542 if test -f "$ltmain"; then
17543 # See if we are running on zsh, and set the options which allow our commands through
17544 # without removal of \ escapes.
17545 if test -n "${ZSH_VERSION+set}" ; then
17546 setopt NO_GLOB_SUBST
17548 # Now quote all the things that may contain metacharacters while being
17549 # careful not to overquote the AC_SUBSTed values. We take copies of the
17550 # variables and quote the copies for generation of the libtool script.
17551 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17552 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17553 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17554 deplibs_check_method reload_flag reload_cmds need_locks \
17555 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17556 lt_cv_sys_global_symbol_to_c_name_address \
17557 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17558 old_postinstall_cmds old_postuninstall_cmds \
17562 lt_prog_compiler_wl_GCJ \
17563 lt_prog_compiler_pic_GCJ \
17564 lt_prog_compiler_static_GCJ \
17565 lt_prog_compiler_no_builtin_flag_GCJ \
17566 export_dynamic_flag_spec_GCJ \
17567 thread_safe_flag_spec_GCJ \
17568 whole_archive_flag_spec_GCJ \
17569 enable_shared_with_static_runtimes_GCJ \
17570 old_archive_cmds_GCJ \
17571 old_archive_from_new_cmds_GCJ \
17572 predep_objects_GCJ \
17573 postdep_objects_GCJ \
17576 compiler_lib_search_path_GCJ \
17578 archive_expsym_cmds_GCJ \
17579 postinstall_cmds_GCJ \
17580 postuninstall_cmds_GCJ \
17581 old_archive_from_expsyms_cmds_GCJ \
17582 allow_undefined_flag_GCJ \
17583 no_undefined_flag_GCJ \
17584 export_symbols_cmds_GCJ \
17585 hardcode_libdir_flag_spec_GCJ \
17586 hardcode_libdir_flag_spec_ld_GCJ \
17587 hardcode_libdir_separator_GCJ \
17588 hardcode_automatic_GCJ \
17590 module_expsym_cmds_GCJ \
17591 lt_cv_prog_compiler_c_o_GCJ \
17592 exclude_expsyms_GCJ \
17593 include_expsyms_GCJ; do
17596 old_archive_cmds_GCJ | \
17597 old_archive_from_new_cmds_GCJ | \
17598 archive_cmds_GCJ | \
17599 archive_expsym_cmds_GCJ | \
17600 module_cmds_GCJ | \
17601 module_expsym_cmds_GCJ | \
17602 old_archive_from_expsyms_cmds_GCJ | \
17603 export_symbols_cmds_GCJ | \
17604 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17605 postinstall_cmds | postuninstall_cmds | \
17606 old_postinstall_cmds | old_postuninstall_cmds | \
17607 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17608 # Double-quote double-evaled strings.
17609 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17612 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17618 *'\$0 --fallback-echo"')
17619 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17625 cat <<__EOF__ >> "$cfgfile"
17626 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17628 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17630 # Shell to use when invoking shell scripts.
17633 # Whether or not to build shared libraries.
17634 build_libtool_libs=$enable_shared
17636 # Whether or not to build static libraries.
17637 build_old_libs=$enable_static
17639 # Whether or not to add -lc for building shared libraries.
17640 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17642 # Whether or not to disallow shared libs when runtime libs are static
17643 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17645 # Whether or not to optimize for fast installation.
17646 fast_install=$enable_fast_install
17649 host_alias=$host_alias
17652 # An echo program that does not interpret backslashes.
17657 AR_FLAGS=$lt_AR_FLAGS
17662 # A language-specific compiler.
17663 CC=$lt_compiler_GCJ
17665 # Is the compiler the GNU C compiler?
17671 # The linker used to build libraries.
17674 # Whether we need hard or soft links.
17677 # A BSD-compatible nm program.
17680 # A symbol stripping program
17683 # Used to examine libraries when file_magic_cmd begins "file"
17684 MAGIC_CMD=$MAGIC_CMD
17686 # Used on cygwin: DLL creation program.
17689 # Used on cygwin: object dumper.
17692 # Used on cygwin: assembler.
17695 # The name of the directory that contains temporary libtool files.
17698 # How to create reloadable object files.
17699 reload_flag=$lt_reload_flag
17700 reload_cmds=$lt_reload_cmds
17702 # How to pass a linker flag through the compiler.
17703 wl=$lt_lt_prog_compiler_wl_GCJ
17705 # Object file suffix (normally "o").
17706 objext="$ac_objext"
17708 # Old archive suffix (normally "a").
17711 # Shared library suffix (normally ".so").
17714 # Executable file suffix (normally "").
17717 # Additional compiler flags for building library objects.
17718 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17721 # What is the maximum length of a command?
17722 max_cmd_len=$lt_cv_sys_max_cmd_len
17724 # Does compiler simultaneously support -c and -o options?
17725 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17727 # Must we lock files when doing compilation ?
17728 need_locks=$lt_need_locks
17730 # Do we need the lib prefix for modules?
17731 need_lib_prefix=$need_lib_prefix
17733 # Do we need a version for libraries?
17734 need_version=$need_version
17736 # Whether dlopen is supported.
17737 dlopen_support=$enable_dlopen
17739 # Whether dlopen of programs is supported.
17740 dlopen_self=$enable_dlopen_self
17742 # Whether dlopen of statically linked programs is supported.
17743 dlopen_self_static=$enable_dlopen_self_static
17745 # Compiler flag to prevent dynamic linking.
17746 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17748 # Compiler flag to turn off builtin functions.
17749 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17751 # Compiler flag to allow reflexive dlopens.
17752 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17754 # Compiler flag to generate shared objects directly from archives.
17755 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17757 # Compiler flag to generate thread-safe objects.
17758 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17760 # Library versioning type.
17761 version_type=$version_type
17763 # Format of library name prefix.
17764 libname_spec=$lt_libname_spec
17766 # List of archive names. First name is the real one, the rest are links.
17767 # The last name is the one that the linker finds with -lNAME.
17768 library_names_spec=$lt_library_names_spec
17770 # The coded name of the library, if different from the real name.
17771 soname_spec=$lt_soname_spec
17773 # Commands used to build and install an old-style archive.
17775 old_archive_cmds=$lt_old_archive_cmds_GCJ
17776 old_postinstall_cmds=$lt_old_postinstall_cmds
17777 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17779 # Create an old-style archive from a shared archive.
17780 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17782 # Create a temporary old-style archive to link instead of a shared archive.
17783 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17785 # Commands used to build and install a shared archive.
17786 archive_cmds=$lt_archive_cmds_GCJ
17787 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17788 postinstall_cmds=$lt_postinstall_cmds
17789 postuninstall_cmds=$lt_postuninstall_cmds
17791 # Commands used to build a loadable module (assumed same as above if empty)
17792 module_cmds=$lt_module_cmds_GCJ
17793 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17795 # Commands to strip libraries.
17796 old_striplib=$lt_old_striplib
17797 striplib=$lt_striplib
17799 # Dependencies to place before the objects being linked to create a
17801 predep_objects=$lt_predep_objects_GCJ
17803 # Dependencies to place after the objects being linked to create a
17805 postdep_objects=$lt_postdep_objects_GCJ
17807 # Dependencies to place before the objects being linked to create a
17809 predeps=$lt_predeps_GCJ
17811 # Dependencies to place after the objects being linked to create a
17813 postdeps=$lt_postdeps_GCJ
17815 # The library search path used internally by the compiler when linking
17816 # a shared library.
17817 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17819 # Method to check whether dependent libraries are shared objects.
17820 deplibs_check_method=$lt_deplibs_check_method
17822 # Command to use when deplibs_check_method == file_magic.
17823 file_magic_cmd=$lt_file_magic_cmd
17825 # Flag that allows shared libraries with undefined symbols to be built.
17826 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17828 # Flag that forces no undefined symbols.
17829 no_undefined_flag=$lt_no_undefined_flag_GCJ
17831 # Commands used to finish a libtool library installation in a directory.
17832 finish_cmds=$lt_finish_cmds
17834 # Same as above, but a single script fragment to be evaled but not shown.
17835 finish_eval=$lt_finish_eval
17837 # Take the output of nm and produce a listing of raw symbols and C names.
17838 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17840 # Transform the output of nm in a proper C declaration
17841 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17843 # Transform the output of nm in a C name address pair
17844 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17846 # This is the shared library runtime path variable.
17847 runpath_var=$runpath_var
17849 # This is the shared library path variable.
17850 shlibpath_var=$shlibpath_var
17852 # Is shlibpath searched before the hard-coded library search path?
17853 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17855 # How to hardcode a shared library path into an executable.
17856 hardcode_action=$hardcode_action_GCJ
17858 # Whether we should hardcode library paths into libraries.
17859 hardcode_into_libs=$hardcode_into_libs
17861 # Flag to hardcode \$libdir into a binary during linking.
17862 # This must work even if \$libdir does not exist.
17863 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17865 # If ld is used when linking, flag to hardcode \$libdir into
17866 # a binary during linking. This must work even if \$libdir does
17868 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17870 # Whether we need a single -rpath flag with a separated argument.
17871 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17873 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17874 # resulting binary.
17875 hardcode_direct=$hardcode_direct_GCJ
17877 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17878 # resulting binary.
17879 hardcode_minus_L=$hardcode_minus_L_GCJ
17881 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17882 # the resulting binary.
17883 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17885 # Set to yes if building a shared library automatically hardcodes DIR into the library
17886 # and all subsequent libraries and executables linked against it.
17887 hardcode_automatic=$hardcode_automatic_GCJ
17889 # Variables whose values should be saved in libtool wrapper scripts and
17890 # restored at relink time.
17891 variables_saved_for_relink="$variables_saved_for_relink"
17893 # Whether libtool must link a program against all its dependency libraries.
17894 link_all_deplibs=$link_all_deplibs_GCJ
17896 # Compile-time system search path for libraries
17897 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17899 # Run-time system search path for libraries
17900 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17902 # Fix the shell variable \$srcfile for the compiler.
17903 fix_srcfile_path="$fix_srcfile_path_GCJ"
17905 # Set to yes if exported symbols are required.
17906 always_export_symbols=$always_export_symbols_GCJ
17908 # The commands to list exported symbols.
17909 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17911 # The commands to extract the exported symbol list from a shared archive.
17912 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17914 # Symbols that should not be listed in the preloaded symbols.
17915 exclude_expsyms=$lt_exclude_expsyms_GCJ
17917 # Symbols that must always be exported.
17918 include_expsyms=$lt_include_expsyms_GCJ
17920 # ### END LIBTOOL TAG CONFIG: $tagname
17926 # If there is no Makefile yet, we rely on a make rule to execute
17927 # `config.status --recheck' to rerun these tests and create the
17928 # libtool script then.
17929 test -f Makefile && make "$ltmain"
17934 ac_cpp='$CPP $CPPFLAGS'
17935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17950 # Source file extension for RC test sources.
17953 # Object file extension for compiled RC test sources.
17957 # Code to be used in simple compile tests
17958 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
17960 # Code to be used in simple link tests
17961 lt_simple_link_test_code="$lt_simple_compile_test_code"
17963 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17965 # If no C compiler was specified, use CC.
17968 # Allow CC to be a program name with arguments.
17972 # Allow CC to be a program name with arguments.
17977 lt_cv_prog_compiler_c_o_RC=yes
17979 # The else clause should only fire when bootstrapping the
17980 # libtool distribution, otherwise you forgot to ship ltmain.sh
17981 # with your package, and you will get complaints that there are
17982 # no rules to generate ltmain.sh.
17983 if test -f "$ltmain"; then
17984 # See if we are running on zsh, and set the options which allow our commands through
17985 # without removal of \ escapes.
17986 if test -n "${ZSH_VERSION+set}" ; then
17987 setopt NO_GLOB_SUBST
17989 # Now quote all the things that may contain metacharacters while being
17990 # careful not to overquote the AC_SUBSTed values. We take copies of the
17991 # variables and quote the copies for generation of the libtool script.
17992 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17993 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17994 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17995 deplibs_check_method reload_flag reload_cmds need_locks \
17996 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17997 lt_cv_sys_global_symbol_to_c_name_address \
17998 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17999 old_postinstall_cmds old_postuninstall_cmds \
18003 lt_prog_compiler_wl_RC \
18004 lt_prog_compiler_pic_RC \
18005 lt_prog_compiler_static_RC \
18006 lt_prog_compiler_no_builtin_flag_RC \
18007 export_dynamic_flag_spec_RC \
18008 thread_safe_flag_spec_RC \
18009 whole_archive_flag_spec_RC \
18010 enable_shared_with_static_runtimes_RC \
18011 old_archive_cmds_RC \
18012 old_archive_from_new_cmds_RC \
18013 predep_objects_RC \
18014 postdep_objects_RC \
18017 compiler_lib_search_path_RC \
18019 archive_expsym_cmds_RC \
18020 postinstall_cmds_RC \
18021 postuninstall_cmds_RC \
18022 old_archive_from_expsyms_cmds_RC \
18023 allow_undefined_flag_RC \
18024 no_undefined_flag_RC \
18025 export_symbols_cmds_RC \
18026 hardcode_libdir_flag_spec_RC \
18027 hardcode_libdir_flag_spec_ld_RC \
18028 hardcode_libdir_separator_RC \
18029 hardcode_automatic_RC \
18031 module_expsym_cmds_RC \
18032 lt_cv_prog_compiler_c_o_RC \
18033 exclude_expsyms_RC \
18034 include_expsyms_RC; do
18037 old_archive_cmds_RC | \
18038 old_archive_from_new_cmds_RC | \
18039 archive_cmds_RC | \
18040 archive_expsym_cmds_RC | \
18042 module_expsym_cmds_RC | \
18043 old_archive_from_expsyms_cmds_RC | \
18044 export_symbols_cmds_RC | \
18045 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18046 postinstall_cmds | postuninstall_cmds | \
18047 old_postinstall_cmds | old_postuninstall_cmds | \
18048 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18049 # Double-quote double-evaled strings.
18050 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18053 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18059 *'\$0 --fallback-echo"')
18060 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18066 cat <<__EOF__ >> "$cfgfile"
18067 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18069 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18071 # Shell to use when invoking shell scripts.
18074 # Whether or not to build shared libraries.
18075 build_libtool_libs=$enable_shared
18077 # Whether or not to build static libraries.
18078 build_old_libs=$enable_static
18080 # Whether or not to add -lc for building shared libraries.
18081 build_libtool_need_lc=$archive_cmds_need_lc_RC
18083 # Whether or not to disallow shared libs when runtime libs are static
18084 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18086 # Whether or not to optimize for fast installation.
18087 fast_install=$enable_fast_install
18090 host_alias=$host_alias
18093 # An echo program that does not interpret backslashes.
18098 AR_FLAGS=$lt_AR_FLAGS
18103 # A language-specific compiler.
18106 # Is the compiler the GNU C compiler?
18112 # The linker used to build libraries.
18115 # Whether we need hard or soft links.
18118 # A BSD-compatible nm program.
18121 # A symbol stripping program
18124 # Used to examine libraries when file_magic_cmd begins "file"
18125 MAGIC_CMD=$MAGIC_CMD
18127 # Used on cygwin: DLL creation program.
18130 # Used on cygwin: object dumper.
18133 # Used on cygwin: assembler.
18136 # The name of the directory that contains temporary libtool files.
18139 # How to create reloadable object files.
18140 reload_flag=$lt_reload_flag
18141 reload_cmds=$lt_reload_cmds
18143 # How to pass a linker flag through the compiler.
18144 wl=$lt_lt_prog_compiler_wl_RC
18146 # Object file suffix (normally "o").
18147 objext="$ac_objext"
18149 # Old archive suffix (normally "a").
18152 # Shared library suffix (normally ".so").
18155 # Executable file suffix (normally "").
18158 # Additional compiler flags for building library objects.
18159 pic_flag=$lt_lt_prog_compiler_pic_RC
18162 # What is the maximum length of a command?
18163 max_cmd_len=$lt_cv_sys_max_cmd_len
18165 # Does compiler simultaneously support -c and -o options?
18166 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18168 # Must we lock files when doing compilation ?
18169 need_locks=$lt_need_locks
18171 # Do we need the lib prefix for modules?
18172 need_lib_prefix=$need_lib_prefix
18174 # Do we need a version for libraries?
18175 need_version=$need_version
18177 # Whether dlopen is supported.
18178 dlopen_support=$enable_dlopen
18180 # Whether dlopen of programs is supported.
18181 dlopen_self=$enable_dlopen_self
18183 # Whether dlopen of statically linked programs is supported.
18184 dlopen_self_static=$enable_dlopen_self_static
18186 # Compiler flag to prevent dynamic linking.
18187 link_static_flag=$lt_lt_prog_compiler_static_RC
18189 # Compiler flag to turn off builtin functions.
18190 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18192 # Compiler flag to allow reflexive dlopens.
18193 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18195 # Compiler flag to generate shared objects directly from archives.
18196 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18198 # Compiler flag to generate thread-safe objects.
18199 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18201 # Library versioning type.
18202 version_type=$version_type
18204 # Format of library name prefix.
18205 libname_spec=$lt_libname_spec
18207 # List of archive names. First name is the real one, the rest are links.
18208 # The last name is the one that the linker finds with -lNAME.
18209 library_names_spec=$lt_library_names_spec
18211 # The coded name of the library, if different from the real name.
18212 soname_spec=$lt_soname_spec
18214 # Commands used to build and install an old-style archive.
18216 old_archive_cmds=$lt_old_archive_cmds_RC
18217 old_postinstall_cmds=$lt_old_postinstall_cmds
18218 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18220 # Create an old-style archive from a shared archive.
18221 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18223 # Create a temporary old-style archive to link instead of a shared archive.
18224 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18226 # Commands used to build and install a shared archive.
18227 archive_cmds=$lt_archive_cmds_RC
18228 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18229 postinstall_cmds=$lt_postinstall_cmds
18230 postuninstall_cmds=$lt_postuninstall_cmds
18232 # Commands used to build a loadable module (assumed same as above if empty)
18233 module_cmds=$lt_module_cmds_RC
18234 module_expsym_cmds=$lt_module_expsym_cmds_RC
18236 # Commands to strip libraries.
18237 old_striplib=$lt_old_striplib
18238 striplib=$lt_striplib
18240 # Dependencies to place before the objects being linked to create a
18242 predep_objects=$lt_predep_objects_RC
18244 # Dependencies to place after the objects being linked to create a
18246 postdep_objects=$lt_postdep_objects_RC
18248 # Dependencies to place before the objects being linked to create a
18250 predeps=$lt_predeps_RC
18252 # Dependencies to place after the objects being linked to create a
18254 postdeps=$lt_postdeps_RC
18256 # The library search path used internally by the compiler when linking
18257 # a shared library.
18258 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18260 # Method to check whether dependent libraries are shared objects.
18261 deplibs_check_method=$lt_deplibs_check_method
18263 # Command to use when deplibs_check_method == file_magic.
18264 file_magic_cmd=$lt_file_magic_cmd
18266 # Flag that allows shared libraries with undefined symbols to be built.
18267 allow_undefined_flag=$lt_allow_undefined_flag_RC
18269 # Flag that forces no undefined symbols.
18270 no_undefined_flag=$lt_no_undefined_flag_RC
18272 # Commands used to finish a libtool library installation in a directory.
18273 finish_cmds=$lt_finish_cmds
18275 # Same as above, but a single script fragment to be evaled but not shown.
18276 finish_eval=$lt_finish_eval
18278 # Take the output of nm and produce a listing of raw symbols and C names.
18279 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18281 # Transform the output of nm in a proper C declaration
18282 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18284 # Transform the output of nm in a C name address pair
18285 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18287 # This is the shared library runtime path variable.
18288 runpath_var=$runpath_var
18290 # This is the shared library path variable.
18291 shlibpath_var=$shlibpath_var
18293 # Is shlibpath searched before the hard-coded library search path?
18294 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18296 # How to hardcode a shared library path into an executable.
18297 hardcode_action=$hardcode_action_RC
18299 # Whether we should hardcode library paths into libraries.
18300 hardcode_into_libs=$hardcode_into_libs
18302 # Flag to hardcode \$libdir into a binary during linking.
18303 # This must work even if \$libdir does not exist.
18304 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18306 # If ld is used when linking, flag to hardcode \$libdir into
18307 # a binary during linking. This must work even if \$libdir does
18309 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18311 # Whether we need a single -rpath flag with a separated argument.
18312 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18314 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18315 # resulting binary.
18316 hardcode_direct=$hardcode_direct_RC
18318 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18319 # resulting binary.
18320 hardcode_minus_L=$hardcode_minus_L_RC
18322 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18323 # the resulting binary.
18324 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18326 # Set to yes if building a shared library automatically hardcodes DIR into the library
18327 # and all subsequent libraries and executables linked against it.
18328 hardcode_automatic=$hardcode_automatic_RC
18330 # Variables whose values should be saved in libtool wrapper scripts and
18331 # restored at relink time.
18332 variables_saved_for_relink="$variables_saved_for_relink"
18334 # Whether libtool must link a program against all its dependency libraries.
18335 link_all_deplibs=$link_all_deplibs_RC
18337 # Compile-time system search path for libraries
18338 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18340 # Run-time system search path for libraries
18341 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18343 # Fix the shell variable \$srcfile for the compiler.
18344 fix_srcfile_path="$fix_srcfile_path_RC"
18346 # Set to yes if exported symbols are required.
18347 always_export_symbols=$always_export_symbols_RC
18349 # The commands to list exported symbols.
18350 export_symbols_cmds=$lt_export_symbols_cmds_RC
18352 # The commands to extract the exported symbol list from a shared archive.
18353 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18355 # Symbols that should not be listed in the preloaded symbols.
18356 exclude_expsyms=$lt_exclude_expsyms_RC
18358 # Symbols that must always be exported.
18359 include_expsyms=$lt_include_expsyms_RC
18361 # ### END LIBTOOL TAG CONFIG: $tagname
18367 # If there is no Makefile yet, we rely on a make rule to execute
18368 # `config.status --recheck' to rerun these tests and create the
18369 # libtool script then.
18370 test -f Makefile && make "$ltmain"
18375 ac_cpp='$CPP $CPPFLAGS'
18376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18385 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18386 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18387 { (exit 1); exit 1; }; }
18391 # Append the new tag name to the list of available tags.
18392 if test -n "$tagname" ; then
18393 available_tags="$available_tags $tagname"
18399 # Now substitute the updated list of available tags.
18400 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18401 mv "${ofile}T" "$ofile"
18405 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18406 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18407 { (exit 1); exit 1; }; }
18413 # This can be used to rebuild libtool when needed
18414 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18416 # Always use our own libtool.
18417 LIBTOOL='$(SHELL) $(top_builddir)/mklib'
18419 # Prevent multiple expansion
18441 # Extract the first word of "pwd", so it can be a program name with args.
18442 set dummy pwd; ac_word=$2
18443 echo "$as_me:$LINENO: checking for $ac_word" >&5
18444 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18445 if test "${ac_cv_path_RPWD+set}" = set; then
18446 echo $ECHO_N "(cached) $ECHO_C" >&6
18450 ac_cv_path_RPWD="$RPWD" # Let the user override the test with a path.
18453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18454 for as_dir in $PATH
18457 test -z "$as_dir" && as_dir=.
18458 for ac_exec_ext in '' $ac_executable_extensions; do
18459 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18460 ac_cv_path_RPWD="$as_dir/$ac_word$ac_exec_ext"
18461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18470 RPWD=$ac_cv_path_RPWD
18472 if test -n "$RPWD"; then
18473 echo "$as_me:$LINENO: result: $RPWD" >&5
18474 echo "${ECHO_T}$RPWD" >&6
18476 echo "$as_me:$LINENO: result: no" >&5
18477 echo "${ECHO_T}no" >&6
18480 # Extract the first word of "ar", so it can be a program name with args.
18481 set dummy ar; ac_word=$2
18482 echo "$as_me:$LINENO: checking for $ac_word" >&5
18483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18484 if test "${ac_cv_path_AR+set}" = set; then
18485 echo $ECHO_N "(cached) $ECHO_C" >&6
18489 ac_cv_path_AR="$AR" # Let the user override the test with a path.
18492 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18493 for as_dir in $PATH
18496 test -z "$as_dir" && as_dir=.
18497 for ac_exec_ext in '' $ac_executable_extensions; do
18498 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18499 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
18500 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18511 if test -n "$AR"; then
18512 echo "$as_me:$LINENO: result: $AR" >&5
18513 echo "${ECHO_T}$AR" >&6
18515 echo "$as_me:$LINENO: result: no" >&5
18516 echo "${ECHO_T}no" >&6
18519 # Extract the first word of "sed", so it can be a program name with args.
18520 set dummy sed; ac_word=$2
18521 echo "$as_me:$LINENO: checking for $ac_word" >&5
18522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18523 if test "${ac_cv_path_SED+set}" = set; then
18524 echo $ECHO_N "(cached) $ECHO_C" >&6
18528 ac_cv_path_SED="$SED" # Let the user override the test with a path.
18531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18532 for as_dir in $PATH
18535 test -z "$as_dir" && as_dir=.
18536 for ac_exec_ext in '' $ac_executable_extensions; do
18537 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18538 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
18539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18548 SED=$ac_cv_path_SED
18550 if test -n "$SED"; then
18551 echo "$as_me:$LINENO: result: $SED" >&5
18552 echo "${ECHO_T}$SED" >&6
18554 echo "$as_me:$LINENO: result: no" >&5
18555 echo "${ECHO_T}no" >&6
18558 # Extract the first word of "rm", so it can be a program name with args.
18559 set dummy rm; ac_word=$2
18560 echo "$as_me:$LINENO: checking for $ac_word" >&5
18561 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18562 if test "${ac_cv_path_RM+set}" = set; then
18563 echo $ECHO_N "(cached) $ECHO_C" >&6
18567 ac_cv_path_RM="$RM" # Let the user override the test with a path.
18570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18571 for as_dir in $PATH
18574 test -z "$as_dir" && as_dir=.
18575 for ac_exec_ext in '' $ac_executable_extensions; do
18576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18577 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
18578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18589 if test -n "$RM"; then
18590 echo "$as_me:$LINENO: result: $RM" >&5
18591 echo "${ECHO_T}$RM" >&6
18593 echo "$as_me:$LINENO: result: no" >&5
18594 echo "${ECHO_T}no" >&6
18597 # Extract the first word of "echo", so it can be a program name with args.
18598 set dummy echo; ac_word=$2
18599 echo "$as_me:$LINENO: checking for $ac_word" >&5
18600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18601 if test "${ac_cv_path_ECHO+set}" = set; then
18602 echo $ECHO_N "(cached) $ECHO_C" >&6
18606 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
18609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18610 for as_dir in $PATH
18613 test -z "$as_dir" && as_dir=.
18614 for ac_exec_ext in '' $ac_executable_extensions; do
18615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18616 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
18617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18626 ECHO=$ac_cv_path_ECHO
18628 if test -n "$ECHO"; then
18629 echo "$as_me:$LINENO: result: $ECHO" >&5
18630 echo "${ECHO_T}$ECHO" >&6
18632 echo "$as_me:$LINENO: result: no" >&5
18633 echo "${ECHO_T}no" >&6
18636 # Extract the first word of "mkdir", so it can be a program name with args.
18637 set dummy mkdir; ac_word=$2
18638 echo "$as_me:$LINENO: checking for $ac_word" >&5
18639 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18640 if test "${ac_cv_path_MKDIR+set}" = set; then
18641 echo $ECHO_N "(cached) $ECHO_C" >&6
18645 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
18648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18649 for as_dir in $PATH
18652 test -z "$as_dir" && as_dir=.
18653 for ac_exec_ext in '' $ac_executable_extensions; do
18654 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18655 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
18656 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18665 MKDIR=$ac_cv_path_MKDIR
18667 if test -n "$MKDIR"; then
18668 echo "$as_me:$LINENO: result: $MKDIR" >&5
18669 echo "${ECHO_T}$MKDIR" >&6
18671 echo "$as_me:$LINENO: result: no" >&5
18672 echo "${ECHO_T}no" >&6
18675 # Extract the first word of "date", so it can be a program name with args.
18676 set dummy date; ac_word=$2
18677 echo "$as_me:$LINENO: checking for $ac_word" >&5
18678 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18679 if test "${ac_cv_path_DATE+set}" = set; then
18680 echo $ECHO_N "(cached) $ECHO_C" >&6
18684 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
18687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18688 for as_dir in $PATH
18691 test -z "$as_dir" && as_dir=.
18692 for ac_exec_ext in '' $ac_executable_extensions; do
18693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18694 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
18695 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18704 DATE=$ac_cv_path_DATE
18706 if test -n "$DATE"; then
18707 echo "$as_me:$LINENO: result: $DATE" >&5
18708 echo "${ECHO_T}$DATE" >&6
18710 echo "$as_me:$LINENO: result: no" >&5
18711 echo "${ECHO_T}no" >&6
18714 # Extract the first word of "mv", so it can be a program name with args.
18715 set dummy mv; ac_word=$2
18716 echo "$as_me:$LINENO: checking for $ac_word" >&5
18717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18718 if test "${ac_cv_path_MV+set}" = set; then
18719 echo $ECHO_N "(cached) $ECHO_C" >&6
18723 ac_cv_path_MV="$MV" # Let the user override the test with a path.
18726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18727 for as_dir in $PATH
18730 test -z "$as_dir" && as_dir=.
18731 for ac_exec_ext in '' $ac_executable_extensions; do
18732 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18733 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
18734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18745 if test -n "$MV"; then
18746 echo "$as_me:$LINENO: result: $MV" >&5
18747 echo "${ECHO_T}$MV" >&6
18749 echo "$as_me:$LINENO: result: no" >&5
18750 echo "${ECHO_T}no" >&6
18753 # Extract the first word of "dot", so it can be a program name with args.
18754 set dummy dot; ac_word=$2
18755 echo "$as_me:$LINENO: checking for $ac_word" >&5
18756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18757 if test "${ac_cv_path_DOT+set}" = set; then
18758 echo $ECHO_N "(cached) $ECHO_C" >&6
18762 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18766 for as_dir in $PATH
18769 test -z "$as_dir" && as_dir=.
18770 for ac_exec_ext in '' $ac_executable_extensions; do
18771 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18772 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18782 DOT=$ac_cv_path_DOT
18784 if test -n "$DOT"; then
18785 echo "$as_me:$LINENO: result: $DOT" >&5
18786 echo "${ECHO_T}$DOT" >&6
18788 echo "$as_me:$LINENO: result: no" >&5
18789 echo "${ECHO_T}no" >&6
18792 # Extract the first word of "etags", so it can be a program name with args.
18793 set dummy etags; ac_word=$2
18794 echo "$as_me:$LINENO: checking for $ac_word" >&5
18795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18796 if test "${ac_cv_path_ETAGS+set}" = set; then
18797 echo $ECHO_N "(cached) $ECHO_C" >&6
18801 ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
18804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18805 for as_dir in $PATH
18808 test -z "$as_dir" && as_dir=.
18809 for ac_exec_ext in '' $ac_executable_extensions; do
18810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18811 ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext"
18812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18821 ETAGS=$ac_cv_path_ETAGS
18823 if test -n "$ETAGS"; then
18824 echo "$as_me:$LINENO: result: $ETAGS" >&5
18825 echo "${ECHO_T}$ETAGS" >&6
18827 echo "$as_me:$LINENO: result: no" >&5
18828 echo "${ECHO_T}no" >&6
18831 # Extract the first word of "purify", so it can be a program name with args.
18832 set dummy purify; ac_word=$2
18833 echo "$as_me:$LINENO: checking for $ac_word" >&5
18834 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18835 if test "${ac_cv_path_PURIFY+set}" = set; then
18836 echo $ECHO_N "(cached) $ECHO_C" >&6
18840 ac_cv_path_PURIFY="$PURIFY" # Let the user override the test with a path.
18843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18844 for as_dir in $PATH
18847 test -z "$as_dir" && as_dir=.
18848 for ac_exec_ext in '' $ac_executable_extensions; do
18849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18850 ac_cv_path_PURIFY="$as_dir/$ac_word$ac_exec_ext"
18851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18860 PURIFY=$ac_cv_path_PURIFY
18862 if test -n "$PURIFY"; then
18863 echo "$as_me:$LINENO: result: $PURIFY" >&5
18864 echo "${ECHO_T}$PURIFY" >&6
18866 echo "$as_me:$LINENO: result: no" >&5
18867 echo "${ECHO_T}no" >&6
18870 # Extract the first word of "python", so it can be a program name with args.
18871 set dummy python; ac_word=$2
18872 echo "$as_me:$LINENO: checking for $ac_word" >&5
18873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18874 if test "${ac_cv_path_PYTHON+set}" = set; then
18875 echo $ECHO_N "(cached) $ECHO_C" >&6
18879 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
18882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18883 for as_dir in $PATH
18886 test -z "$as_dir" && as_dir=.
18887 for ac_exec_ext in '' $ac_executable_extensions; do
18888 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18889 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
18890 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18899 PYTHON=$ac_cv_path_PYTHON
18901 if test -n "$PYTHON"; then
18902 echo "$as_me:$LINENO: result: $PYTHON" >&5
18903 echo "${ECHO_T}$PYTHON" >&6
18905 echo "$as_me:$LINENO: result: no" >&5
18906 echo "${ECHO_T}no" >&6
18909 # Extract the first word of "qmtest", so it can be a program name with args.
18910 set dummy qmtest; ac_word=$2
18911 echo "$as_me:$LINENO: checking for $ac_word" >&5
18912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18913 if test "${ac_cv_path_QMTEST+set}" = set; then
18914 echo $ECHO_N "(cached) $ECHO_C" >&6
18918 ac_cv_path_QMTEST="$QMTEST" # Let the user override the test with a path.
18921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18922 for as_dir in $PATH
18925 test -z "$as_dir" && as_dir=.
18926 for ac_exec_ext in '' $ac_executable_extensions; do
18927 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18928 ac_cv_path_QMTEST="$as_dir/$ac_word$ac_exec_ext"
18929 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18938 QMTEST=$ac_cv_path_QMTEST
18940 if test -n "$QMTEST"; then
18941 echo "$as_me:$LINENO: result: $QMTEST" >&5
18942 echo "${ECHO_T}$QMTEST" >&6
18944 echo "$as_me:$LINENO: result: no" >&5
18945 echo "${ECHO_T}no" >&6
18949 pyversion=`$PYTHON -V 2>&1 | cut -d\ -f2`
18950 pymajor=`echo $pyversion | cut -d. -f1`
18951 pyminor=`echo $pyversion | cut -d. -f2`
18953 if test "$pymajor" -ge "2"
18955 if test "$pymajor" -eq "2"
18957 if test "$pyminor" -lt "2"
18959 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
18960 echo "$as_me: error: Python 2.2 or greater required" >&2;}
18961 { (exit 1); exit 1; }; }
18965 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
18966 echo "$as_me: error: Python 2.2 or greater required" >&2;}
18967 { (exit 1); exit 1; }; }
18974 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
18975 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
18976 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
18977 echo $ECHO_N "(cached) $ECHO_C" >&6
18979 ac_check_lib_save_LIBS=$LIBS
18981 cat >conftest.$ac_ext <<_ACEOF
18982 #line $LINENO "configure"
18985 cat confdefs.h >>conftest.$ac_ext
18986 cat >>conftest.$ac_ext <<_ACEOF
18987 /* end confdefs.h. */
18989 /* Override any gcc2 internal prototype to avoid an error. */
18993 /* We use char because int might match the return type of a gcc2
18994 builtin and then its argument prototype would still apply. */
19004 rm -f conftest.$ac_objext conftest$ac_exeext
19005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19006 (eval $ac_link) 2>&5
19008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19009 (exit $ac_status); } &&
19010 { ac_try='test -s conftest$ac_exeext'
19011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19012 (eval $ac_try) 2>&5
19014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19015 (exit $ac_status); }; }; then
19016 ac_cv_lib_elf_elf_begin=yes
19018 echo "$as_me: failed program was:" >&5
19019 sed 's/^/| /' conftest.$ac_ext >&5
19021 ac_cv_lib_elf_elf_begin=no
19023 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19024 LIBS=$ac_check_lib_save_LIBS
19026 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
19027 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
19028 if test $ac_cv_lib_elf_elf_begin = yes; then
19029 cat >>confdefs.h <<_ACEOF
19030 #define HAVE_LIBELF 1
19038 echo "$as_me:$LINENO: checking for library containing dlopen" >&5
19039 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
19040 if test "${ac_cv_search_dlopen+set}" = set; then
19041 echo $ECHO_N "(cached) $ECHO_C" >&6
19043 ac_func_search_save_LIBS=$LIBS
19044 ac_cv_search_dlopen=no
19045 cat >conftest.$ac_ext <<_ACEOF
19046 #line $LINENO "configure"
19049 cat confdefs.h >>conftest.$ac_ext
19050 cat >>conftest.$ac_ext <<_ACEOF
19051 /* end confdefs.h. */
19053 /* Override any gcc2 internal prototype to avoid an error. */
19057 /* We use char because int might match the return type of a gcc2
19058 builtin and then its argument prototype would still apply. */
19068 rm -f conftest.$ac_objext conftest$ac_exeext
19069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19070 (eval $ac_link) 2>&5
19072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19073 (exit $ac_status); } &&
19074 { ac_try='test -s conftest$ac_exeext'
19075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19076 (eval $ac_try) 2>&5
19078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19079 (exit $ac_status); }; }; then
19080 ac_cv_search_dlopen="none required"
19082 echo "$as_me: failed program was:" >&5
19083 sed 's/^/| /' conftest.$ac_ext >&5
19086 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19087 if test "$ac_cv_search_dlopen" = no; then
19088 for ac_lib in dl; do
19089 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19090 cat >conftest.$ac_ext <<_ACEOF
19091 #line $LINENO "configure"
19094 cat confdefs.h >>conftest.$ac_ext
19095 cat >>conftest.$ac_ext <<_ACEOF
19096 /* end confdefs.h. */
19098 /* Override any gcc2 internal prototype to avoid an error. */
19102 /* We use char because int might match the return type of a gcc2
19103 builtin and then its argument prototype would still apply. */
19113 rm -f conftest.$ac_objext conftest$ac_exeext
19114 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19115 (eval $ac_link) 2>&5
19117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19118 (exit $ac_status); } &&
19119 { ac_try='test -s conftest$ac_exeext'
19120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19121 (eval $ac_try) 2>&5
19123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19124 (exit $ac_status); }; }; then
19125 ac_cv_search_dlopen="-l$ac_lib"
19128 echo "$as_me: failed program was:" >&5
19129 sed 's/^/| /' conftest.$ac_ext >&5
19132 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19135 LIBS=$ac_func_search_save_LIBS
19137 echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
19138 echo "${ECHO_T}$ac_cv_search_dlopen" >&6
19139 if test "$ac_cv_search_dlopen" != no; then
19140 test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
19143 { { echo "$as_me:$LINENO: error: dlopen() required but not found" >&5
19144 echo "$as_me: error: dlopen() required but not found" >&2;}
19145 { (exit 1); exit 1; }; }
19149 echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
19150 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6
19151 if test "${ac_cv_search_mallinfo+set}" = set; then
19152 echo $ECHO_N "(cached) $ECHO_C" >&6
19154 ac_func_search_save_LIBS=$LIBS
19155 ac_cv_search_mallinfo=no
19156 cat >conftest.$ac_ext <<_ACEOF
19157 #line $LINENO "configure"
19160 cat confdefs.h >>conftest.$ac_ext
19161 cat >>conftest.$ac_ext <<_ACEOF
19162 /* end confdefs.h. */
19164 /* Override any gcc2 internal prototype to avoid an error. */
19168 /* We use char because int might match the return type of a gcc2
19169 builtin and then its argument prototype would still apply. */
19179 rm -f conftest.$ac_objext conftest$ac_exeext
19180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19181 (eval $ac_link) 2>&5
19183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19184 (exit $ac_status); } &&
19185 { ac_try='test -s conftest$ac_exeext'
19186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19187 (eval $ac_try) 2>&5
19189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19190 (exit $ac_status); }; }; then
19191 ac_cv_search_mallinfo="none required"
19193 echo "$as_me: failed program was:" >&5
19194 sed 's/^/| /' conftest.$ac_ext >&5
19197 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19198 if test "$ac_cv_search_mallinfo" = no; then
19199 for ac_lib in malloc; do
19200 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19201 cat >conftest.$ac_ext <<_ACEOF
19202 #line $LINENO "configure"
19205 cat confdefs.h >>conftest.$ac_ext
19206 cat >>conftest.$ac_ext <<_ACEOF
19207 /* end confdefs.h. */
19209 /* Override any gcc2 internal prototype to avoid an error. */
19213 /* We use char because int might match the return type of a gcc2
19214 builtin and then its argument prototype would still apply. */
19224 rm -f conftest.$ac_objext conftest$ac_exeext
19225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19226 (eval $ac_link) 2>&5
19228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19229 (exit $ac_status); } &&
19230 { ac_try='test -s conftest$ac_exeext'
19231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19232 (eval $ac_try) 2>&5
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); }; }; then
19236 ac_cv_search_mallinfo="-l$ac_lib"
19239 echo "$as_me: failed program was:" >&5
19240 sed 's/^/| /' conftest.$ac_ext >&5
19243 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19246 LIBS=$ac_func_search_save_LIBS
19248 echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
19249 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6
19250 if test "$ac_cv_search_mallinfo" != no; then
19251 test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS"
19252 cat >>confdefs.h <<\_ACEOF
19253 #define HAVE_MALLINFO 1
19260 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19261 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19262 if test "${ac_cv_header_stdc+set}" = set; then
19263 echo $ECHO_N "(cached) $ECHO_C" >&6
19265 cat >conftest.$ac_ext <<_ACEOF
19266 #line $LINENO "configure"
19269 cat confdefs.h >>conftest.$ac_ext
19270 cat >>conftest.$ac_ext <<_ACEOF
19271 /* end confdefs.h. */
19272 #include <stdlib.h>
19273 #include <stdarg.h>
19274 #include <string.h>
19285 rm -f conftest.$ac_objext
19286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19287 (eval $ac_compile) 2>&5
19289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19290 (exit $ac_status); } &&
19291 { ac_try='test -s conftest.$ac_objext'
19292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19293 (eval $ac_try) 2>&5
19295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19296 (exit $ac_status); }; }; then
19297 ac_cv_header_stdc=yes
19299 echo "$as_me: failed program was:" >&5
19300 sed 's/^/| /' conftest.$ac_ext >&5
19302 ac_cv_header_stdc=no
19304 rm -f conftest.$ac_objext conftest.$ac_ext
19306 if test $ac_cv_header_stdc = yes; then
19307 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19308 cat >conftest.$ac_ext <<_ACEOF
19309 #line $LINENO "configure"
19312 cat confdefs.h >>conftest.$ac_ext
19313 cat >>conftest.$ac_ext <<_ACEOF
19314 /* end confdefs.h. */
19315 #include <string.h>
19318 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19319 $EGREP "memchr" >/dev/null 2>&1; then
19322 ac_cv_header_stdc=no
19328 if test $ac_cv_header_stdc = yes; then
19329 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19330 cat >conftest.$ac_ext <<_ACEOF
19331 #line $LINENO "configure"
19334 cat confdefs.h >>conftest.$ac_ext
19335 cat >>conftest.$ac_ext <<_ACEOF
19336 /* end confdefs.h. */
19337 #include <stdlib.h>
19340 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19341 $EGREP "free" >/dev/null 2>&1; then
19344 ac_cv_header_stdc=no
19350 if test $ac_cv_header_stdc = yes; then
19351 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19352 if test "$cross_compiling" = yes; then
19355 cat >conftest.$ac_ext <<_ACEOF
19356 #line $LINENO "configure"
19359 cat confdefs.h >>conftest.$ac_ext
19360 cat >>conftest.$ac_ext <<_ACEOF
19361 /* end confdefs.h. */
19363 #if ((' ' & 0x0FF) == 0x020)
19364 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19365 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19367 # define ISLOWER(c) \
19368 (('a' <= (c) && (c) <= 'i') \
19369 || ('j' <= (c) && (c) <= 'r') \
19370 || ('s' <= (c) && (c) <= 'z'))
19371 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19374 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19379 for (i = 0; i < 256; i++)
19380 if (XOR (islower (i), ISLOWER (i))
19381 || toupper (i) != TOUPPER (i))
19386 rm -f conftest$ac_exeext
19387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19388 (eval $ac_link) 2>&5
19390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19391 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19393 (eval $ac_try) 2>&5
19395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19396 (exit $ac_status); }; }; then
19399 echo "$as_me: program exited with status $ac_status" >&5
19400 echo "$as_me: failed program was:" >&5
19401 sed 's/^/| /' conftest.$ac_ext >&5
19403 ( exit $ac_status )
19404 ac_cv_header_stdc=no
19406 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19410 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19411 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19412 if test $ac_cv_header_stdc = yes; then
19414 cat >>confdefs.h <<\_ACEOF
19415 #define STDC_HEADERS 1
19420 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19421 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
19422 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19423 echo $ECHO_N "(cached) $ECHO_C" >&6
19425 cat >conftest.$ac_ext <<_ACEOF
19426 #line $LINENO "configure"
19429 cat confdefs.h >>conftest.$ac_ext
19430 cat >>conftest.$ac_ext <<_ACEOF
19431 /* end confdefs.h. */
19432 #include <sys/types.h>
19433 #include <sys/wait.h>
19434 #ifndef WEXITSTATUS
19435 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
19438 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19446 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19451 rm -f conftest.$ac_objext
19452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19453 (eval $ac_compile) 2>&5
19455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19456 (exit $ac_status); } &&
19457 { ac_try='test -s conftest.$ac_objext'
19458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19459 (eval $ac_try) 2>&5
19461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19462 (exit $ac_status); }; }; then
19463 ac_cv_header_sys_wait_h=yes
19465 echo "$as_me: failed program was:" >&5
19466 sed 's/^/| /' conftest.$ac_ext >&5
19468 ac_cv_header_sys_wait_h=no
19470 rm -f conftest.$ac_objext conftest.$ac_ext
19472 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19473 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
19474 if test $ac_cv_header_sys_wait_h = yes; then
19476 cat >>confdefs.h <<\_ACEOF
19477 #define HAVE_SYS_WAIT_H 1
19491 for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h
19493 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19494 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19495 echo "$as_me:$LINENO: checking for $ac_header" >&5
19496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19498 echo $ECHO_N "(cached) $ECHO_C" >&6
19500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19501 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19503 # Is the header compilable?
19504 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19505 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19506 cat >conftest.$ac_ext <<_ACEOF
19507 #line $LINENO "configure"
19510 cat confdefs.h >>conftest.$ac_ext
19511 cat >>conftest.$ac_ext <<_ACEOF
19512 /* end confdefs.h. */
19513 $ac_includes_default
19514 #include <$ac_header>
19516 rm -f conftest.$ac_objext
19517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19518 (eval $ac_compile) 2>&5
19520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521 (exit $ac_status); } &&
19522 { ac_try='test -s conftest.$ac_objext'
19523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19524 (eval $ac_try) 2>&5
19526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19527 (exit $ac_status); }; }; then
19528 ac_header_compiler=yes
19530 echo "$as_me: failed program was:" >&5
19531 sed 's/^/| /' conftest.$ac_ext >&5
19533 ac_header_compiler=no
19535 rm -f conftest.$ac_objext conftest.$ac_ext
19536 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19537 echo "${ECHO_T}$ac_header_compiler" >&6
19539 # Is the header present?
19540 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19541 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19542 cat >conftest.$ac_ext <<_ACEOF
19543 #line $LINENO "configure"
19546 cat confdefs.h >>conftest.$ac_ext
19547 cat >>conftest.$ac_ext <<_ACEOF
19548 /* end confdefs.h. */
19549 #include <$ac_header>
19551 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19552 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19554 grep -v '^ *+' conftest.er1 >conftest.err
19556 cat conftest.err >&5
19557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19558 (exit $ac_status); } >/dev/null; then
19559 if test -s conftest.err; then
19560 ac_cpp_err=$ac_c_preproc_warn_flag
19567 if test -z "$ac_cpp_err"; then
19568 ac_header_preproc=yes
19570 echo "$as_me: failed program was:" >&5
19571 sed 's/^/| /' conftest.$ac_ext >&5
19573 ac_header_preproc=no
19575 rm -f conftest.err conftest.$ac_ext
19576 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19577 echo "${ECHO_T}$ac_header_preproc" >&6
19579 # So? What about this header?
19580 case $ac_header_compiler:$ac_header_preproc in
19582 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19583 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19584 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19585 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19588 ## ------------------------------------ ##
19589 ## Report this to bug-autoconf@gnu.org. ##
19590 ## ------------------------------------ ##
19593 sed "s/^/$as_me: WARNING: /" >&2
19596 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19597 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19598 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19599 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19600 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19601 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19604 ## ------------------------------------ ##
19605 ## Report this to bug-autoconf@gnu.org. ##
19606 ## ------------------------------------ ##
19609 sed "s/^/$as_me: WARNING: /" >&2
19612 echo "$as_me:$LINENO: checking for $ac_header" >&5
19613 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19614 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19615 echo $ECHO_N "(cached) $ECHO_C" >&6
19617 eval "$as_ac_Header=$ac_header_preproc"
19619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19620 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19623 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19624 cat >>confdefs.h <<_ACEOF
19625 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19637 for ac_header in malloc.h strings.h sys/mman.h sys/resource.h
19639 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19640 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19641 echo "$as_me:$LINENO: checking for $ac_header" >&5
19642 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19643 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19644 echo $ECHO_N "(cached) $ECHO_C" >&6
19646 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19647 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19649 # Is the header compilable?
19650 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19651 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19652 cat >conftest.$ac_ext <<_ACEOF
19653 #line $LINENO "configure"
19656 cat confdefs.h >>conftest.$ac_ext
19657 cat >>conftest.$ac_ext <<_ACEOF
19658 /* end confdefs.h. */
19659 $ac_includes_default
19660 #include <$ac_header>
19662 rm -f conftest.$ac_objext
19663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19664 (eval $ac_compile) 2>&5
19666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19667 (exit $ac_status); } &&
19668 { ac_try='test -s conftest.$ac_objext'
19669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19670 (eval $ac_try) 2>&5
19672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673 (exit $ac_status); }; }; then
19674 ac_header_compiler=yes
19676 echo "$as_me: failed program was:" >&5
19677 sed 's/^/| /' conftest.$ac_ext >&5
19679 ac_header_compiler=no
19681 rm -f conftest.$ac_objext conftest.$ac_ext
19682 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19683 echo "${ECHO_T}$ac_header_compiler" >&6
19685 # Is the header present?
19686 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19687 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19688 cat >conftest.$ac_ext <<_ACEOF
19689 #line $LINENO "configure"
19692 cat confdefs.h >>conftest.$ac_ext
19693 cat >>conftest.$ac_ext <<_ACEOF
19694 /* end confdefs.h. */
19695 #include <$ac_header>
19697 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19698 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19700 grep -v '^ *+' conftest.er1 >conftest.err
19702 cat conftest.err >&5
19703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19704 (exit $ac_status); } >/dev/null; then
19705 if test -s conftest.err; then
19706 ac_cpp_err=$ac_c_preproc_warn_flag
19713 if test -z "$ac_cpp_err"; then
19714 ac_header_preproc=yes
19716 echo "$as_me: failed program was:" >&5
19717 sed 's/^/| /' conftest.$ac_ext >&5
19719 ac_header_preproc=no
19721 rm -f conftest.err conftest.$ac_ext
19722 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19723 echo "${ECHO_T}$ac_header_preproc" >&6
19725 # So? What about this header?
19726 case $ac_header_compiler:$ac_header_preproc in
19728 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19729 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19730 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19731 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19734 ## ------------------------------------ ##
19735 ## Report this to bug-autoconf@gnu.org. ##
19736 ## ------------------------------------ ##
19739 sed "s/^/$as_me: WARNING: /" >&2
19742 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19743 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19744 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19745 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19746 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19747 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19750 ## ------------------------------------ ##
19751 ## Report this to bug-autoconf@gnu.org. ##
19752 ## ------------------------------------ ##
19755 sed "s/^/$as_me: WARNING: /" >&2
19758 echo "$as_me:$LINENO: checking for $ac_header" >&5
19759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19761 echo $ECHO_N "(cached) $ECHO_C" >&6
19763 eval "$as_ac_Header=$ac_header_preproc"
19765 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19766 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19770 cat >>confdefs.h <<_ACEOF
19771 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19781 for ac_header in dlfcn.h link.h
19783 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19785 echo "$as_me:$LINENO: checking for $ac_header" >&5
19786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19788 echo $ECHO_N "(cached) $ECHO_C" >&6
19790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19793 # Is the header compilable?
19794 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19795 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19796 cat >conftest.$ac_ext <<_ACEOF
19797 #line $LINENO "configure"
19800 cat confdefs.h >>conftest.$ac_ext
19801 cat >>conftest.$ac_ext <<_ACEOF
19802 /* end confdefs.h. */
19803 $ac_includes_default
19804 #include <$ac_header>
19806 rm -f conftest.$ac_objext
19807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19808 (eval $ac_compile) 2>&5
19810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19811 (exit $ac_status); } &&
19812 { ac_try='test -s conftest.$ac_objext'
19813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19814 (eval $ac_try) 2>&5
19816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19817 (exit $ac_status); }; }; then
19818 ac_header_compiler=yes
19820 echo "$as_me: failed program was:" >&5
19821 sed 's/^/| /' conftest.$ac_ext >&5
19823 ac_header_compiler=no
19825 rm -f conftest.$ac_objext conftest.$ac_ext
19826 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19827 echo "${ECHO_T}$ac_header_compiler" >&6
19829 # Is the header present?
19830 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19831 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19832 cat >conftest.$ac_ext <<_ACEOF
19833 #line $LINENO "configure"
19836 cat confdefs.h >>conftest.$ac_ext
19837 cat >>conftest.$ac_ext <<_ACEOF
19838 /* end confdefs.h. */
19839 #include <$ac_header>
19841 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19842 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19844 grep -v '^ *+' conftest.er1 >conftest.err
19846 cat conftest.err >&5
19847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848 (exit $ac_status); } >/dev/null; then
19849 if test -s conftest.err; then
19850 ac_cpp_err=$ac_c_preproc_warn_flag
19857 if test -z "$ac_cpp_err"; then
19858 ac_header_preproc=yes
19860 echo "$as_me: failed program was:" >&5
19861 sed 's/^/| /' conftest.$ac_ext >&5
19863 ac_header_preproc=no
19865 rm -f conftest.err conftest.$ac_ext
19866 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19867 echo "${ECHO_T}$ac_header_preproc" >&6
19869 # So? What about this header?
19870 case $ac_header_compiler:$ac_header_preproc in
19872 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19873 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19874 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19875 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19878 ## ------------------------------------ ##
19879 ## Report this to bug-autoconf@gnu.org. ##
19880 ## ------------------------------------ ##
19883 sed "s/^/$as_me: WARNING: /" >&2
19886 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19887 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19888 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19889 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19890 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19891 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19894 ## ------------------------------------ ##
19895 ## Report this to bug-autoconf@gnu.org. ##
19896 ## ------------------------------------ ##
19899 sed "s/^/$as_me: WARNING: /" >&2
19902 echo "$as_me:$LINENO: checking for $ac_header" >&5
19903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19905 echo $ECHO_N "(cached) $ECHO_C" >&6
19907 eval "$as_ac_Header=$ac_header_preproc"
19909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19910 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19913 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19914 cat >>confdefs.h <<_ACEOF
19915 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19924 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19925 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
19926 if test "${ac_cv_c_const+set}" = set; then
19927 echo $ECHO_N "(cached) $ECHO_C" >&6
19929 cat >conftest.$ac_ext <<_ACEOF
19930 #line $LINENO "configure"
19933 cat confdefs.h >>conftest.$ac_ext
19934 cat >>conftest.$ac_ext <<_ACEOF
19935 /* end confdefs.h. */
19940 /* FIXME: Include the comments suggested by Paul. */
19941 #ifndef __cplusplus
19942 /* Ultrix mips cc rejects this. */
19943 typedef int charset[2];
19945 /* SunOS 4.1.1 cc rejects this. */
19946 char const *const *ccp;
19948 /* NEC SVR4.0.2 mips cc rejects this. */
19949 struct point {int x, y;};
19950 static struct point const zero = {0,0};
19951 /* AIX XL C 1.02.0.0 rejects this.
19952 It does not let you subtract one const X* pointer from another in
19953 an arm of an if-expression whose if-part is not a constant
19955 const char *g = "string";
19956 ccp = &g + (g ? g-g : 0);
19957 /* HPUX 7.0 cc rejects these. */
19960 ccp = (char const *const *) p;
19961 { /* SCO 3.2v4 cc rejects this. */
19963 char const *s = 0 ? (char *) 0 : (char const *) 0;
19967 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19968 int x[] = {25, 17};
19969 const int *foo = &x[0];
19972 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19973 typedef const int *iptr;
19977 { /* AIX XL C 1.02.0.0 rejects this saying
19978 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19979 struct s { int j; const int *ap[3]; };
19980 struct s *b; b->j = 5;
19982 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19983 const int foo = 10;
19991 rm -f conftest.$ac_objext
19992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19993 (eval $ac_compile) 2>&5
19995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19996 (exit $ac_status); } &&
19997 { ac_try='test -s conftest.$ac_objext'
19998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19999 (eval $ac_try) 2>&5
20001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20002 (exit $ac_status); }; }; then
20005 echo "$as_me: failed program was:" >&5
20006 sed 's/^/| /' conftest.$ac_ext >&5
20010 rm -f conftest.$ac_objext conftest.$ac_ext
20012 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20013 echo "${ECHO_T}$ac_cv_c_const" >&6
20014 if test $ac_cv_c_const = no; then
20016 cat >>confdefs.h <<\_ACEOF
20022 echo "$as_me:$LINENO: checking for inline" >&5
20023 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20024 if test "${ac_cv_c_inline+set}" = set; then
20025 echo $ECHO_N "(cached) $ECHO_C" >&6
20028 for ac_kw in inline __inline__ __inline; do
20029 cat >conftest.$ac_ext <<_ACEOF
20030 #line $LINENO "configure"
20033 cat confdefs.h >>conftest.$ac_ext
20034 cat >>conftest.$ac_ext <<_ACEOF
20035 /* end confdefs.h. */
20036 #ifndef __cplusplus
20038 static $ac_kw foo_t static_foo () {return 0; }
20039 $ac_kw foo_t foo () {return 0; }
20043 rm -f conftest.$ac_objext
20044 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20045 (eval $ac_compile) 2>&5
20047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20048 (exit $ac_status); } &&
20049 { ac_try='test -s conftest.$ac_objext'
20050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20051 (eval $ac_try) 2>&5
20053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20054 (exit $ac_status); }; }; then
20055 ac_cv_c_inline=$ac_kw; break
20057 echo "$as_me: failed program was:" >&5
20058 sed 's/^/| /' conftest.$ac_ext >&5
20061 rm -f conftest.$ac_objext conftest.$ac_ext
20065 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20066 echo "${ECHO_T}$ac_cv_c_inline" >&6
20067 case $ac_cv_c_inline in
20070 cat >>confdefs.h <<\_ACEOF
20074 *) cat >>confdefs.h <<_ACEOF
20075 #define inline $ac_cv_c_inline
20081 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20082 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20083 if test "${ac_cv_c_bigendian+set}" = set; then
20084 echo $ECHO_N "(cached) $ECHO_C" >&6
20086 # See if sys/param.h defines the BYTE_ORDER macro.
20087 cat >conftest.$ac_ext <<_ACEOF
20088 #line $LINENO "configure"
20091 cat confdefs.h >>conftest.$ac_ext
20092 cat >>conftest.$ac_ext <<_ACEOF
20093 /* end confdefs.h. */
20094 #include <sys/types.h>
20095 #include <sys/param.h>
20100 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20101 bogus endian macros
20108 rm -f conftest.$ac_objext
20109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20110 (eval $ac_compile) 2>&5
20112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20113 (exit $ac_status); } &&
20114 { ac_try='test -s conftest.$ac_objext'
20115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20116 (eval $ac_try) 2>&5
20118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20119 (exit $ac_status); }; }; then
20120 # It does; now see whether it defined to BIG_ENDIAN or not.
20121 cat >conftest.$ac_ext <<_ACEOF
20122 #line $LINENO "configure"
20125 cat confdefs.h >>conftest.$ac_ext
20126 cat >>conftest.$ac_ext <<_ACEOF
20127 /* end confdefs.h. */
20128 #include <sys/types.h>
20129 #include <sys/param.h>
20134 #if BYTE_ORDER != BIG_ENDIAN
20142 rm -f conftest.$ac_objext
20143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20144 (eval $ac_compile) 2>&5
20146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20147 (exit $ac_status); } &&
20148 { ac_try='test -s conftest.$ac_objext'
20149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20150 (eval $ac_try) 2>&5
20152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20153 (exit $ac_status); }; }; then
20154 ac_cv_c_bigendian=yes
20156 echo "$as_me: failed program was:" >&5
20157 sed 's/^/| /' conftest.$ac_ext >&5
20159 ac_cv_c_bigendian=no
20161 rm -f conftest.$ac_objext conftest.$ac_ext
20163 echo "$as_me: failed program was:" >&5
20164 sed 's/^/| /' conftest.$ac_ext >&5
20166 # It does not; compile a test program.
20167 if test "$cross_compiling" = yes; then
20168 # try to guess the endianness by grepping values into an object file
20169 ac_cv_c_bigendian=unknown
20170 cat >conftest.$ac_ext <<_ACEOF
20171 #line $LINENO "configure"
20174 cat confdefs.h >>conftest.$ac_ext
20175 cat >>conftest.$ac_ext <<_ACEOF
20176 /* end confdefs.h. */
20177 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20178 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20179 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20180 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20181 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20182 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20186 _ascii (); _ebcdic ();
20191 rm -f conftest.$ac_objext
20192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20193 (eval $ac_compile) 2>&5
20195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20196 (exit $ac_status); } &&
20197 { ac_try='test -s conftest.$ac_objext'
20198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20199 (eval $ac_try) 2>&5
20201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20202 (exit $ac_status); }; }; then
20203 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
20204 ac_cv_c_bigendian=yes
20206 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
20207 if test "$ac_cv_c_bigendian" = unknown; then
20208 ac_cv_c_bigendian=no
20210 # finding both strings is unlikely to happen, but who knows?
20211 ac_cv_c_bigendian=unknown
20215 echo "$as_me: failed program was:" >&5
20216 sed 's/^/| /' conftest.$ac_ext >&5
20219 rm -f conftest.$ac_objext conftest.$ac_ext
20221 cat >conftest.$ac_ext <<_ACEOF
20222 #line $LINENO "configure"
20225 cat confdefs.h >>conftest.$ac_ext
20226 cat >>conftest.$ac_ext <<_ACEOF
20227 /* end confdefs.h. */
20231 /* Are we little or big endian? From Harbison&Steele. */
20235 char c[sizeof (long)];
20238 exit (u.c[sizeof (long) - 1] == 1);
20241 rm -f conftest$ac_exeext
20242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20243 (eval $ac_link) 2>&5
20245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20246 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20248 (eval $ac_try) 2>&5
20250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20251 (exit $ac_status); }; }; then
20252 ac_cv_c_bigendian=no
20254 echo "$as_me: program exited with status $ac_status" >&5
20255 echo "$as_me: failed program was:" >&5
20256 sed 's/^/| /' conftest.$ac_ext >&5
20258 ( exit $ac_status )
20259 ac_cv_c_bigendian=yes
20261 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20264 rm -f conftest.$ac_objext conftest.$ac_ext
20266 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20267 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20268 case $ac_cv_c_bigendian in
20270 cat >>confdefs.h <<\_ACEOF
20271 #define ENDIAN_BIG 1
20275 cat >>confdefs.h <<\_ACEOF
20276 #define ENDIAN_LITTLE 1
20280 { { echo "$as_me:$LINENO: error: unknown endianness
20281 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20282 echo "$as_me: error: unknown endianness
20283 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20284 { (exit 1); exit 1; }; } ;;
20288 echo "$as_me:$LINENO: checking for pid_t" >&5
20289 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20290 if test "${ac_cv_type_pid_t+set}" = set; then
20291 echo $ECHO_N "(cached) $ECHO_C" >&6
20293 cat >conftest.$ac_ext <<_ACEOF
20294 #line $LINENO "configure"
20297 cat confdefs.h >>conftest.$ac_ext
20298 cat >>conftest.$ac_ext <<_ACEOF
20299 /* end confdefs.h. */
20300 $ac_includes_default
20306 if (sizeof (pid_t))
20312 rm -f conftest.$ac_objext
20313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20314 (eval $ac_compile) 2>&5
20316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20317 (exit $ac_status); } &&
20318 { ac_try='test -s conftest.$ac_objext'
20319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20320 (eval $ac_try) 2>&5
20322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20323 (exit $ac_status); }; }; then
20324 ac_cv_type_pid_t=yes
20326 echo "$as_me: failed program was:" >&5
20327 sed 's/^/| /' conftest.$ac_ext >&5
20329 ac_cv_type_pid_t=no
20331 rm -f conftest.$ac_objext conftest.$ac_ext
20333 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20334 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20335 if test $ac_cv_type_pid_t = yes; then
20339 cat >>confdefs.h <<_ACEOF
20345 echo "$as_me:$LINENO: checking for size_t" >&5
20346 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20347 if test "${ac_cv_type_size_t+set}" = set; then
20348 echo $ECHO_N "(cached) $ECHO_C" >&6
20350 cat >conftest.$ac_ext <<_ACEOF
20351 #line $LINENO "configure"
20354 cat confdefs.h >>conftest.$ac_ext
20355 cat >>conftest.$ac_ext <<_ACEOF
20356 /* end confdefs.h. */
20357 $ac_includes_default
20363 if (sizeof (size_t))
20369 rm -f conftest.$ac_objext
20370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20371 (eval $ac_compile) 2>&5
20373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20374 (exit $ac_status); } &&
20375 { ac_try='test -s conftest.$ac_objext'
20376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20377 (eval $ac_try) 2>&5
20379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380 (exit $ac_status); }; }; then
20381 ac_cv_type_size_t=yes
20383 echo "$as_me: failed program was:" >&5
20384 sed 's/^/| /' conftest.$ac_ext >&5
20386 ac_cv_type_size_t=no
20388 rm -f conftest.$ac_objext conftest.$ac_ext
20390 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20391 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20392 if test $ac_cv_type_size_t = yes; then
20396 cat >>confdefs.h <<_ACEOF
20397 #define size_t unsigned
20402 echo "$as_me:$LINENO: checking for int64_t" >&5
20403 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
20404 if test "${ac_cv_type_int64_t+set}" = set; then
20405 echo $ECHO_N "(cached) $ECHO_C" >&6
20407 cat >conftest.$ac_ext <<_ACEOF
20408 #line $LINENO "configure"
20411 cat confdefs.h >>conftest.$ac_ext
20412 cat >>conftest.$ac_ext <<_ACEOF
20413 /* end confdefs.h. */
20414 $ac_includes_default
20420 if (sizeof (int64_t))
20426 rm -f conftest.$ac_objext
20427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20428 (eval $ac_compile) 2>&5
20430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20431 (exit $ac_status); } &&
20432 { ac_try='test -s conftest.$ac_objext'
20433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20434 (eval $ac_try) 2>&5
20436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20437 (exit $ac_status); }; }; then
20438 ac_cv_type_int64_t=yes
20440 echo "$as_me: failed program was:" >&5
20441 sed 's/^/| /' conftest.$ac_ext >&5
20443 ac_cv_type_int64_t=no
20445 rm -f conftest.$ac_objext conftest.$ac_ext
20447 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
20448 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
20449 if test $ac_cv_type_int64_t = yes; then
20451 cat >>confdefs.h <<_ACEOF
20452 #define HAVE_INT64_T 1
20457 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
20458 echo "$as_me: error: Type int64_t required but not found" >&2;}
20459 { (exit 1); exit 1; }; }
20462 echo "$as_me:$LINENO: checking for uint64_t" >&5
20463 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
20464 if test "${ac_cv_type_uint64_t+set}" = set; then
20465 echo $ECHO_N "(cached) $ECHO_C" >&6
20467 cat >conftest.$ac_ext <<_ACEOF
20468 #line $LINENO "configure"
20471 cat confdefs.h >>conftest.$ac_ext
20472 cat >>conftest.$ac_ext <<_ACEOF
20473 /* end confdefs.h. */
20474 $ac_includes_default
20478 if ((uint64_t *) 0)
20480 if (sizeof (uint64_t))
20486 rm -f conftest.$ac_objext
20487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20488 (eval $ac_compile) 2>&5
20490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20491 (exit $ac_status); } &&
20492 { ac_try='test -s conftest.$ac_objext'
20493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20494 (eval $ac_try) 2>&5
20496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20497 (exit $ac_status); }; }; then
20498 ac_cv_type_uint64_t=yes
20500 echo "$as_me: failed program was:" >&5
20501 sed 's/^/| /' conftest.$ac_ext >&5
20503 ac_cv_type_uint64_t=no
20505 rm -f conftest.$ac_objext conftest.$ac_ext
20507 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
20508 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
20509 if test $ac_cv_type_uint64_t = yes; then
20511 cat >>confdefs.h <<_ACEOF
20512 #define HAVE_UINT64_T 1
20517 { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5
20518 echo "$as_me: error: Type uint64_t required but not found" >&2;}
20519 { (exit 1); exit 1; }; }
20522 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20523 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20524 if test "${ac_cv_header_time+set}" = set; then
20525 echo $ECHO_N "(cached) $ECHO_C" >&6
20527 cat >conftest.$ac_ext <<_ACEOF
20528 #line $LINENO "configure"
20531 cat confdefs.h >>conftest.$ac_ext
20532 cat >>conftest.$ac_ext <<_ACEOF
20533 /* end confdefs.h. */
20534 #include <sys/types.h>
20535 #include <sys/time.h>
20541 if ((struct tm *) 0)
20547 rm -f conftest.$ac_objext
20548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20549 (eval $ac_compile) 2>&5
20551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20552 (exit $ac_status); } &&
20553 { ac_try='test -s conftest.$ac_objext'
20554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20555 (eval $ac_try) 2>&5
20557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20558 (exit $ac_status); }; }; then
20559 ac_cv_header_time=yes
20561 echo "$as_me: failed program was:" >&5
20562 sed 's/^/| /' conftest.$ac_ext >&5
20564 ac_cv_header_time=no
20566 rm -f conftest.$ac_objext conftest.$ac_ext
20568 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20569 echo "${ECHO_T}$ac_cv_header_time" >&6
20570 if test $ac_cv_header_time = yes; then
20572 cat >>confdefs.h <<\_ACEOF
20573 #define TIME_WITH_SYS_TIME 1
20578 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20579 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
20580 if test "${ac_cv_struct_tm+set}" = set; then
20581 echo $ECHO_N "(cached) $ECHO_C" >&6
20583 cat >conftest.$ac_ext <<_ACEOF
20584 #line $LINENO "configure"
20587 cat confdefs.h >>conftest.$ac_ext
20588 cat >>conftest.$ac_ext <<_ACEOF
20589 /* end confdefs.h. */
20590 #include <sys/types.h>
20596 struct tm *tp; tp->tm_sec;
20601 rm -f conftest.$ac_objext
20602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20603 (eval $ac_compile) 2>&5
20605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20606 (exit $ac_status); } &&
20607 { ac_try='test -s conftest.$ac_objext'
20608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20609 (eval $ac_try) 2>&5
20611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20612 (exit $ac_status); }; }; then
20613 ac_cv_struct_tm=time.h
20615 echo "$as_me: failed program was:" >&5
20616 sed 's/^/| /' conftest.$ac_ext >&5
20618 ac_cv_struct_tm=sys/time.h
20620 rm -f conftest.$ac_objext conftest.$ac_ext
20622 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20623 echo "${ECHO_T}$ac_cv_struct_tm" >&6
20624 if test $ac_cv_struct_tm = sys/time.h; then
20626 cat >>confdefs.h <<\_ACEOF
20627 #define TM_IN_SYS_TIME 1
20633 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
20634 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
20635 if test "${ac_cv_cxx_namespaces+set}" = set; then
20636 echo $ECHO_N "(cached) $ECHO_C" >&6
20641 ac_cpp='$CXXCPP $CPPFLAGS'
20642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20646 cat >conftest.$ac_ext <<_ACEOF
20647 #line $LINENO "configure"
20650 cat confdefs.h >>conftest.$ac_ext
20651 cat >>conftest.$ac_ext <<_ACEOF
20652 /* end confdefs.h. */
20653 namespace Outer { namespace Inner { int i = 0; }}
20657 using namespace Outer::Inner; return i;
20662 rm -f conftest.$ac_objext
20663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20664 (eval $ac_compile) 2>&5
20666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20667 (exit $ac_status); } &&
20668 { ac_try='test -s conftest.$ac_objext'
20669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20670 (eval $ac_try) 2>&5
20672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20673 (exit $ac_status); }; }; then
20674 ac_cv_cxx_namespaces=yes
20676 echo "$as_me: failed program was:" >&5
20677 sed 's/^/| /' conftest.$ac_ext >&5
20679 ac_cv_cxx_namespaces=no
20681 rm -f conftest.$ac_objext conftest.$ac_ext
20683 ac_cpp='$CPP $CPPFLAGS'
20684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20690 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
20691 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
20692 if test "$ac_cv_cxx_namespaces" = yes; then
20694 cat >>confdefs.h <<\_ACEOF
20695 #define HAVE_NAMESPACES
20700 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_map" >&5
20701 echo $ECHO_N "checking whether the compiler has ext/hash_map... $ECHO_C" >&6
20702 if test "${ac_cv_cxx_have_ext_hash_map+set}" = set; then
20703 echo $ECHO_N "(cached) $ECHO_C" >&6
20709 ac_cpp='$CXXCPP $CPPFLAGS'
20710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20714 cat >conftest.$ac_ext <<_ACEOF
20715 #line $LINENO "configure"
20718 cat confdefs.h >>conftest.$ac_ext
20719 cat >>conftest.$ac_ext <<_ACEOF
20720 /* end confdefs.h. */
20721 #include <ext/hash_map>
20722 #ifdef HAVE_NAMESPACES
20723 using namespace std;
20728 hash_map<int, int> t; return 0;
20733 rm -f conftest.$ac_objext
20734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20735 (eval $ac_compile) 2>&5
20737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20738 (exit $ac_status); } &&
20739 { ac_try='test -s conftest.$ac_objext'
20740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20741 (eval $ac_try) 2>&5
20743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20744 (exit $ac_status); }; }; then
20745 ac_cv_cxx_have_ext_hash_map=std
20747 echo "$as_me: failed program was:" >&5
20748 sed 's/^/| /' conftest.$ac_ext >&5
20750 ac_cv_cxx_have_ext_hash_map=no
20752 rm -f conftest.$ac_objext conftest.$ac_ext
20753 cat >conftest.$ac_ext <<_ACEOF
20754 #line $LINENO "configure"
20757 cat confdefs.h >>conftest.$ac_ext
20758 cat >>conftest.$ac_ext <<_ACEOF
20759 /* end confdefs.h. */
20760 #include <ext/hash_map>
20761 #ifdef HAVE_NAMESPACES
20762 using namespace __gnu_cxx;
20767 hash_map<int, int> t; return 0;
20772 rm -f conftest.$ac_objext
20773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20774 (eval $ac_compile) 2>&5
20776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777 (exit $ac_status); } &&
20778 { ac_try='test -s conftest.$ac_objext'
20779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20780 (eval $ac_try) 2>&5
20782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20783 (exit $ac_status); }; }; then
20784 ac_cv_cxx_have_ext_hash_map=gnu
20786 echo "$as_me: failed program was:" >&5
20787 sed 's/^/| /' conftest.$ac_ext >&5
20789 ac_cv_cxx_have_ext_hash_map=no
20791 rm -f conftest.$ac_objext conftest.$ac_ext
20793 ac_cpp='$CPP $CPPFLAGS'
20794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20800 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_map" >&5
20801 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_map" >&6
20802 if test "$ac_cv_cxx_have_ext_hash_map" = std; then
20804 cat >>confdefs.h <<\_ACEOF
20805 #define HAVE_STD_EXT_HASH_MAP
20809 if test "$ac_cv_cxx_have_ext_hash_map" = gnu; then
20811 cat >>confdefs.h <<\_ACEOF
20812 #define HAVE_GNU_EXT_HASH_MAP
20817 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_set" >&5
20818 echo $ECHO_N "checking whether the compiler has ext/hash_set... $ECHO_C" >&6
20819 if test "${ac_cv_cxx_have_ext_hash_set+set}" = set; then
20820 echo $ECHO_N "(cached) $ECHO_C" >&6
20826 ac_cpp='$CXXCPP $CPPFLAGS'
20827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20831 cat >conftest.$ac_ext <<_ACEOF
20832 #line $LINENO "configure"
20835 cat confdefs.h >>conftest.$ac_ext
20836 cat >>conftest.$ac_ext <<_ACEOF
20837 /* end confdefs.h. */
20838 #include <ext/hash_set>
20839 #ifdef HAVE_NAMESPACES
20840 using namespace std;
20845 hash_set<int> t; return 0;
20850 rm -f conftest.$ac_objext
20851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20852 (eval $ac_compile) 2>&5
20854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20855 (exit $ac_status); } &&
20856 { ac_try='test -s conftest.$ac_objext'
20857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20858 (eval $ac_try) 2>&5
20860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20861 (exit $ac_status); }; }; then
20862 ac_cv_cxx_have_ext_hash_set=std
20864 echo "$as_me: failed program was:" >&5
20865 sed 's/^/| /' conftest.$ac_ext >&5
20867 ac_cv_cxx_have_ext_hash_set=no
20869 rm -f conftest.$ac_objext conftest.$ac_ext
20870 cat >conftest.$ac_ext <<_ACEOF
20871 #line $LINENO "configure"
20874 cat confdefs.h >>conftest.$ac_ext
20875 cat >>conftest.$ac_ext <<_ACEOF
20876 /* end confdefs.h. */
20877 #include <ext/hash_set>
20878 #ifdef HAVE_NAMESPACES
20879 using namespace __gnu_cxx;
20884 hash_set<int> t; return 0;
20889 rm -f conftest.$ac_objext
20890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20891 (eval $ac_compile) 2>&5
20893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20894 (exit $ac_status); } &&
20895 { ac_try='test -s conftest.$ac_objext'
20896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20897 (eval $ac_try) 2>&5
20899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20900 (exit $ac_status); }; }; then
20901 ac_cv_cxx_have_ext_hash_set=gnu
20903 echo "$as_me: failed program was:" >&5
20904 sed 's/^/| /' conftest.$ac_ext >&5
20906 ac_cv_cxx_have_ext_hash_set=no
20908 rm -f conftest.$ac_objext conftest.$ac_ext
20910 ac_cpp='$CPP $CPPFLAGS'
20911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20917 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_set" >&5
20918 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_set" >&6
20919 if test "$ac_cv_cxx_have_ext_hash_set" = std; then
20921 cat >>confdefs.h <<\_ACEOF
20922 #define HAVE_STD_EXT_HASH_SET
20926 if test "$ac_cv_cxx_have_ext_hash_set" = gnu; then
20928 cat >>confdefs.h <<\_ACEOF
20929 #define HAVE_GNU_EXT_HASH_SET
20934 echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5
20935 echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6
20936 if test "${ac_cv_cxx_have_ext_slist+set}" = set; then
20937 echo $ECHO_N "(cached) $ECHO_C" >&6
20943 ac_cpp='$CXXCPP $CPPFLAGS'
20944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20948 cat >conftest.$ac_ext <<_ACEOF
20949 #line $LINENO "configure"
20952 cat confdefs.h >>conftest.$ac_ext
20953 cat >>conftest.$ac_ext <<_ACEOF
20954 /* end confdefs.h. */
20955 #include <ext/slist>
20956 #ifdef HAVE_NAMESPACES
20957 using namespace std;
20962 slist<int> s; return 0;
20967 rm -f conftest.$ac_objext
20968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20969 (eval $ac_compile) 2>&5
20971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20972 (exit $ac_status); } &&
20973 { ac_try='test -s conftest.$ac_objext'
20974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20975 (eval $ac_try) 2>&5
20977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20978 (exit $ac_status); }; }; then
20979 ac_cv_cxx_have_ext_slist=std
20981 echo "$as_me: failed program was:" >&5
20982 sed 's/^/| /' conftest.$ac_ext >&5
20984 ac_cv_cxx_have_ext_slist=no
20986 rm -f conftest.$ac_objext conftest.$ac_ext
20987 cat >conftest.$ac_ext <<_ACEOF
20988 #line $LINENO "configure"
20991 cat confdefs.h >>conftest.$ac_ext
20992 cat >>conftest.$ac_ext <<_ACEOF
20993 /* end confdefs.h. */
20994 #include <ext/slist>
20995 #ifdef HAVE_NAMESPACES
20996 using namespace __gnu_cxx;
21001 slist<int> s; return 0;
21006 rm -f conftest.$ac_objext
21007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21008 (eval $ac_compile) 2>&5
21010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21011 (exit $ac_status); } &&
21012 { ac_try='test -s conftest.$ac_objext'
21013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21014 (eval $ac_try) 2>&5
21016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21017 (exit $ac_status); }; }; then
21018 ac_cv_cxx_have_ext_slist=gnu
21020 echo "$as_me: failed program was:" >&5
21021 sed 's/^/| /' conftest.$ac_ext >&5
21023 ac_cv_cxx_have_ext_slist=no
21025 rm -f conftest.$ac_objext conftest.$ac_ext
21028 ac_cpp='$CPP $CPPFLAGS'
21029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21035 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5
21036 echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6
21037 if test "$ac_cv_cxx_have_ext_slist" = std; then
21039 cat >>confdefs.h <<\_ACEOF
21040 #define HAVE_EXT_SLIST std
21044 if test "$ac_cv_cxx_have_ext_slist" = gnu; then
21046 cat >>confdefs.h <<\_ACEOF
21047 #define HAVE_EXT_SLIST gnu
21052 echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
21053 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6
21054 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
21055 echo $ECHO_N "(cached) $ECHO_C" >&6
21061 ac_cpp='$CXXCPP $CPPFLAGS'
21062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21066 cat >conftest.$ac_ext <<_ACEOF
21067 #line $LINENO "configure"
21070 cat confdefs.h >>conftest.$ac_ext
21071 cat >>conftest.$ac_ext <<_ACEOF
21072 /* end confdefs.h. */
21073 #include <iterator>
21074 #ifdef HAVE_NAMESPACES
21075 using namespace std;
21080 iterator<int,int,int> t; return 0;
21085 rm -f conftest.$ac_objext
21086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21087 (eval $ac_compile) 2>&5
21089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21090 (exit $ac_status); } &&
21091 { ac_try='test -s conftest.$ac_objext'
21092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21093 (eval $ac_try) 2>&5
21095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21096 (exit $ac_status); }; }; then
21097 ac_cv_cxx_have_std_iterator=yes
21099 echo "$as_me: failed program was:" >&5
21100 sed 's/^/| /' conftest.$ac_ext >&5
21102 ac_cv_cxx_have_std_iterator=no
21104 rm -f conftest.$ac_objext conftest.$ac_ext
21106 ac_cpp='$CPP $CPPFLAGS'
21107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21113 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
21114 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6
21115 if test "$ac_cv_cxx_have_std_iterator" = yes; then
21117 cat >>confdefs.h <<\_ACEOF
21118 #define HAVE_STD_ITERATOR
21123 echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
21124 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6
21125 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
21126 echo $ECHO_N "(cached) $ECHO_C" >&6
21132 ac_cpp='$CXXCPP $CPPFLAGS'
21133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21137 cat >conftest.$ac_ext <<_ACEOF
21138 #line $LINENO "configure"
21141 cat confdefs.h >>conftest.$ac_ext
21142 cat >>conftest.$ac_ext <<_ACEOF
21143 /* end confdefs.h. */
21144 #include <iterator>
21145 #ifdef HAVE_NAMESPACES
21146 using namespace std;
21151 bidirectional_iterator<int,int> t; return 0;
21156 rm -f conftest.$ac_objext
21157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21158 (eval $ac_compile) 2>&5
21160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21161 (exit $ac_status); } &&
21162 { ac_try='test -s conftest.$ac_objext'
21163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21164 (eval $ac_try) 2>&5
21166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21167 (exit $ac_status); }; }; then
21168 ac_cv_cxx_have_bi_iterator=yes
21170 echo "$as_me: failed program was:" >&5
21171 sed 's/^/| /' conftest.$ac_ext >&5
21173 ac_cv_cxx_have_bi_iterator=no
21175 rm -f conftest.$ac_objext conftest.$ac_ext
21177 ac_cpp='$CPP $CPPFLAGS'
21178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21184 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
21185 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6
21186 if test "$ac_cv_cxx_have_bi_iterator" = yes; then
21188 cat >>confdefs.h <<\_ACEOF
21189 #define HAVE_BI_ITERATOR
21194 echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
21195 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6
21196 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
21197 echo $ECHO_N "(cached) $ECHO_C" >&6
21203 ac_cpp='$CXXCPP $CPPFLAGS'
21204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21208 cat >conftest.$ac_ext <<_ACEOF
21209 #line $LINENO "configure"
21212 cat confdefs.h >>conftest.$ac_ext
21213 cat >>conftest.$ac_ext <<_ACEOF
21214 /* end confdefs.h. */
21215 #include <iterator>
21216 #ifdef HAVE_NAMESPACES
21217 using namespace std;
21222 forward_iterator<int,int> t; return 0;
21227 rm -f conftest.$ac_objext
21228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21229 (eval $ac_compile) 2>&5
21231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21232 (exit $ac_status); } &&
21233 { ac_try='test -s conftest.$ac_objext'
21234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21235 (eval $ac_try) 2>&5
21237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238 (exit $ac_status); }; }; then
21239 ac_cv_cxx_have_fwd_iterator=yes
21241 echo "$as_me: failed program was:" >&5
21242 sed 's/^/| /' conftest.$ac_ext >&5
21244 ac_cv_cxx_have_fwd_iterator=no
21246 rm -f conftest.$ac_objext conftest.$ac_ext
21248 ac_cpp='$CPP $CPPFLAGS'
21249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21255 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
21256 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6
21257 if test "$ac_cv_cxx_have_fwd_iterator" = yes; then
21259 cat >>confdefs.h <<\_ACEOF
21260 #define HAVE_FWD_ITERATOR
21266 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21267 # for constant arguments. Useless!
21268 echo "$as_me:$LINENO: checking for working alloca.h" >&5
21269 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
21270 if test "${ac_cv_working_alloca_h+set}" = set; then
21271 echo $ECHO_N "(cached) $ECHO_C" >&6
21273 cat >conftest.$ac_ext <<_ACEOF
21274 #line $LINENO "configure"
21277 cat confdefs.h >>conftest.$ac_ext
21278 cat >>conftest.$ac_ext <<_ACEOF
21279 /* end confdefs.h. */
21280 #include <alloca.h>
21284 char *p = (char *) alloca (2 * sizeof (int));
21289 rm -f conftest.$ac_objext conftest$ac_exeext
21290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21291 (eval $ac_link) 2>&5
21293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21294 (exit $ac_status); } &&
21295 { ac_try='test -s conftest$ac_exeext'
21296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21297 (eval $ac_try) 2>&5
21299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21300 (exit $ac_status); }; }; then
21301 ac_cv_working_alloca_h=yes
21303 echo "$as_me: failed program was:" >&5
21304 sed 's/^/| /' conftest.$ac_ext >&5
21306 ac_cv_working_alloca_h=no
21308 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21310 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21311 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
21312 if test $ac_cv_working_alloca_h = yes; then
21314 cat >>confdefs.h <<\_ACEOF
21315 #define HAVE_ALLOCA_H 1
21320 echo "$as_me:$LINENO: checking for alloca" >&5
21321 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
21322 if test "${ac_cv_func_alloca_works+set}" = set; then
21323 echo $ECHO_N "(cached) $ECHO_C" >&6
21325 cat >conftest.$ac_ext <<_ACEOF
21326 #line $LINENO "configure"
21329 cat confdefs.h >>conftest.$ac_ext
21330 cat >>conftest.$ac_ext <<_ACEOF
21331 /* end confdefs.h. */
21333 # define alloca __builtin_alloca
21336 # include <malloc.h>
21337 # define alloca _alloca
21340 # include <alloca.h>
21345 # ifndef alloca /* predefined by HP cc +Olibcalls */
21356 char *p = (char *) alloca (1);
21361 rm -f conftest.$ac_objext conftest$ac_exeext
21362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21363 (eval $ac_link) 2>&5
21365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21366 (exit $ac_status); } &&
21367 { ac_try='test -s conftest$ac_exeext'
21368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21369 (eval $ac_try) 2>&5
21371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21372 (exit $ac_status); }; }; then
21373 ac_cv_func_alloca_works=yes
21375 echo "$as_me: failed program was:" >&5
21376 sed 's/^/| /' conftest.$ac_ext >&5
21378 ac_cv_func_alloca_works=no
21380 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21382 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21383 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
21385 if test $ac_cv_func_alloca_works = yes; then
21387 cat >>confdefs.h <<\_ACEOF
21388 #define HAVE_ALLOCA 1
21392 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21393 # that cause trouble. Some versions do not even contain alloca or
21394 # contain a buggy version. If you still want to use their alloca,
21395 # use ar to extract alloca.o from them instead of compiling alloca.c.
21397 ALLOCA=alloca.$ac_objext
21399 cat >>confdefs.h <<\_ACEOF
21404 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21405 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
21406 if test "${ac_cv_os_cray+set}" = set; then
21407 echo $ECHO_N "(cached) $ECHO_C" >&6
21409 cat >conftest.$ac_ext <<_ACEOF
21410 #line $LINENO "configure"
21413 cat confdefs.h >>conftest.$ac_ext
21414 cat >>conftest.$ac_ext <<_ACEOF
21415 /* end confdefs.h. */
21416 #if defined(CRAY) && ! defined(CRAY2)
21423 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21424 $EGREP "webecray" >/dev/null 2>&1; then
21432 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
21433 echo "${ECHO_T}$ac_cv_os_cray" >&6
21434 if test $ac_cv_os_cray = yes; then
21435 for ac_func in _getb67 GETB67 getb67; do
21436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21437 echo "$as_me:$LINENO: checking for $ac_func" >&5
21438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21439 if eval "test \"\${$as_ac_var+set}\" = set"; then
21440 echo $ECHO_N "(cached) $ECHO_C" >&6
21442 cat >conftest.$ac_ext <<_ACEOF
21443 #line $LINENO "configure"
21446 cat confdefs.h >>conftest.$ac_ext
21447 cat >>conftest.$ac_ext <<_ACEOF
21448 /* end confdefs.h. */
21449 /* System header to define __stub macros and hopefully few prototypes,
21450 which can conflict with char $ac_func (); below.
21451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21452 <limits.h> exists even on freestanding compilers. */
21454 # include <limits.h>
21456 # include <assert.h>
21458 /* Override any gcc2 internal prototype to avoid an error. */
21463 /* We use char because int might match the return type of a gcc2
21464 builtin and then its argument prototype would still apply. */
21466 /* The GNU C library defines this for functions which it implements
21467 to always fail with ENOSYS. Some functions are actually named
21468 something starting with __ and the normal name is an alias. */
21469 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21472 char (*f) () = $ac_func;
21481 return f != $ac_func;
21486 rm -f conftest.$ac_objext conftest$ac_exeext
21487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21488 (eval $ac_link) 2>&5
21490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21491 (exit $ac_status); } &&
21492 { ac_try='test -s conftest$ac_exeext'
21493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21494 (eval $ac_try) 2>&5
21496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21497 (exit $ac_status); }; }; then
21498 eval "$as_ac_var=yes"
21500 echo "$as_me: failed program was:" >&5
21501 sed 's/^/| /' conftest.$ac_ext >&5
21503 eval "$as_ac_var=no"
21505 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21509 if test `eval echo '${'$as_ac_var'}'` = yes; then
21511 cat >>confdefs.h <<_ACEOF
21512 #define CRAY_STACKSEG_END $ac_func
21521 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21522 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
21523 if test "${ac_cv_c_stack_direction+set}" = set; then
21524 echo $ECHO_N "(cached) $ECHO_C" >&6
21526 if test "$cross_compiling" = yes; then
21527 ac_cv_c_stack_direction=0
21529 cat >conftest.$ac_ext <<_ACEOF
21530 #line $LINENO "configure"
21533 cat confdefs.h >>conftest.$ac_ext
21534 cat >>conftest.$ac_ext <<_ACEOF
21535 /* end confdefs.h. */
21537 find_stack_direction ()
21539 static char *addr = 0;
21544 return find_stack_direction ();
21547 return (&dummy > addr) ? 1 : -1;
21553 exit (find_stack_direction () < 0);
21556 rm -f conftest$ac_exeext
21557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21558 (eval $ac_link) 2>&5
21560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21561 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21563 (eval $ac_try) 2>&5
21565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21566 (exit $ac_status); }; }; then
21567 ac_cv_c_stack_direction=1
21569 echo "$as_me: program exited with status $ac_status" >&5
21570 echo "$as_me: failed program was:" >&5
21571 sed 's/^/| /' conftest.$ac_ext >&5
21573 ( exit $ac_status )
21574 ac_cv_c_stack_direction=-1
21576 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21579 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21580 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
21582 cat >>confdefs.h <<_ACEOF
21583 #define STACK_DIRECTION $ac_cv_c_stack_direction
21589 if test $ac_cv_c_compiler_gnu = yes; then
21590 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
21591 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
21592 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
21593 echo $ECHO_N "(cached) $ECHO_C" >&6
21595 ac_pattern="Autoconf.*'x'"
21596 cat >conftest.$ac_ext <<_ACEOF
21597 #line $LINENO "configure"
21600 cat confdefs.h >>conftest.$ac_ext
21601 cat >>conftest.$ac_ext <<_ACEOF
21602 /* end confdefs.h. */
21606 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21607 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21608 ac_cv_prog_gcc_traditional=yes
21610 ac_cv_prog_gcc_traditional=no
21615 if test $ac_cv_prog_gcc_traditional = no; then
21616 cat >conftest.$ac_ext <<_ACEOF
21617 #line $LINENO "configure"
21620 cat confdefs.h >>conftest.$ac_ext
21621 cat >>conftest.$ac_ext <<_ACEOF
21622 /* end confdefs.h. */
21623 #include <termio.h>
21626 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21627 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21628 ac_cv_prog_gcc_traditional=yes
21634 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
21635 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
21636 if test $ac_cv_prog_gcc_traditional = yes; then
21637 CC="$CC -traditional"
21641 echo "$as_me:$LINENO: checking for working memcmp" >&5
21642 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
21643 if test "${ac_cv_func_memcmp_working+set}" = set; then
21644 echo $ECHO_N "(cached) $ECHO_C" >&6
21646 if test "$cross_compiling" = yes; then
21647 ac_cv_func_memcmp_working=no
21649 cat >conftest.$ac_ext <<_ACEOF
21650 #line $LINENO "configure"
21653 cat confdefs.h >>conftest.$ac_ext
21654 cat >>conftest.$ac_ext <<_ACEOF
21655 /* end confdefs.h. */
21661 /* Some versions of memcmp are not 8-bit clean. */
21662 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
21663 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
21666 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
21667 or more and with at least one buffer not starting on a 4-byte boundary.
21668 William Lewis provided this test program. */
21673 for (i = 0; i < 4; i++)
21677 strcpy (a, "--------01111111");
21678 strcpy (b, "--------10000000");
21679 if (memcmp (a, b, 16) >= 0)
21689 rm -f conftest$ac_exeext
21690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21691 (eval $ac_link) 2>&5
21693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21694 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21696 (eval $ac_try) 2>&5
21698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21699 (exit $ac_status); }; }; then
21700 ac_cv_func_memcmp_working=yes
21702 echo "$as_me: program exited with status $ac_status" >&5
21703 echo "$as_me: failed program was:" >&5
21704 sed 's/^/| /' conftest.$ac_ext >&5
21706 ( exit $ac_status )
21707 ac_cv_func_memcmp_working=no
21709 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21712 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
21713 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
21714 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
21718 for ac_header in stdlib.h unistd.h
21720 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21721 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21722 echo "$as_me:$LINENO: checking for $ac_header" >&5
21723 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21724 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21725 echo $ECHO_N "(cached) $ECHO_C" >&6
21727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21728 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21730 # Is the header compilable?
21731 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21732 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21733 cat >conftest.$ac_ext <<_ACEOF
21734 #line $LINENO "configure"
21737 cat confdefs.h >>conftest.$ac_ext
21738 cat >>conftest.$ac_ext <<_ACEOF
21739 /* end confdefs.h. */
21740 $ac_includes_default
21741 #include <$ac_header>
21743 rm -f conftest.$ac_objext
21744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21745 (eval $ac_compile) 2>&5
21747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21748 (exit $ac_status); } &&
21749 { ac_try='test -s conftest.$ac_objext'
21750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21751 (eval $ac_try) 2>&5
21753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21754 (exit $ac_status); }; }; then
21755 ac_header_compiler=yes
21757 echo "$as_me: failed program was:" >&5
21758 sed 's/^/| /' conftest.$ac_ext >&5
21760 ac_header_compiler=no
21762 rm -f conftest.$ac_objext conftest.$ac_ext
21763 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21764 echo "${ECHO_T}$ac_header_compiler" >&6
21766 # Is the header present?
21767 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21768 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21769 cat >conftest.$ac_ext <<_ACEOF
21770 #line $LINENO "configure"
21773 cat confdefs.h >>conftest.$ac_ext
21774 cat >>conftest.$ac_ext <<_ACEOF
21775 /* end confdefs.h. */
21776 #include <$ac_header>
21778 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21779 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21781 grep -v '^ *+' conftest.er1 >conftest.err
21783 cat conftest.err >&5
21784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21785 (exit $ac_status); } >/dev/null; then
21786 if test -s conftest.err; then
21787 ac_cpp_err=$ac_c_preproc_warn_flag
21794 if test -z "$ac_cpp_err"; then
21795 ac_header_preproc=yes
21797 echo "$as_me: failed program was:" >&5
21798 sed 's/^/| /' conftest.$ac_ext >&5
21800 ac_header_preproc=no
21802 rm -f conftest.err conftest.$ac_ext
21803 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21804 echo "${ECHO_T}$ac_header_preproc" >&6
21806 # So? What about this header?
21807 case $ac_header_compiler:$ac_header_preproc in
21809 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21810 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21811 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21812 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21815 ## ------------------------------------ ##
21816 ## Report this to bug-autoconf@gnu.org. ##
21817 ## ------------------------------------ ##
21820 sed "s/^/$as_me: WARNING: /" >&2
21823 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21824 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21825 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21826 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21827 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21828 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21831 ## ------------------------------------ ##
21832 ## Report this to bug-autoconf@gnu.org. ##
21833 ## ------------------------------------ ##
21836 sed "s/^/$as_me: WARNING: /" >&2
21839 echo "$as_me:$LINENO: checking for $ac_header" >&5
21840 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21841 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21842 echo $ECHO_N "(cached) $ECHO_C" >&6
21844 eval "$as_ac_Header=$ac_header_preproc"
21846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21847 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21850 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21851 cat >>confdefs.h <<_ACEOF
21852 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21860 for ac_func in getpagesize
21862 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21863 echo "$as_me:$LINENO: checking for $ac_func" >&5
21864 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21865 if eval "test \"\${$as_ac_var+set}\" = set"; then
21866 echo $ECHO_N "(cached) $ECHO_C" >&6
21868 cat >conftest.$ac_ext <<_ACEOF
21869 #line $LINENO "configure"
21872 cat confdefs.h >>conftest.$ac_ext
21873 cat >>conftest.$ac_ext <<_ACEOF
21874 /* end confdefs.h. */
21875 /* System header to define __stub macros and hopefully few prototypes,
21876 which can conflict with char $ac_func (); below.
21877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21878 <limits.h> exists even on freestanding compilers. */
21880 # include <limits.h>
21882 # include <assert.h>
21884 /* Override any gcc2 internal prototype to avoid an error. */
21889 /* We use char because int might match the return type of a gcc2
21890 builtin and then its argument prototype would still apply. */
21892 /* The GNU C library defines this for functions which it implements
21893 to always fail with ENOSYS. Some functions are actually named
21894 something starting with __ and the normal name is an alias. */
21895 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21898 char (*f) () = $ac_func;
21907 return f != $ac_func;
21912 rm -f conftest.$ac_objext conftest$ac_exeext
21913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21914 (eval $ac_link) 2>&5
21916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21917 (exit $ac_status); } &&
21918 { ac_try='test -s conftest$ac_exeext'
21919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21920 (eval $ac_try) 2>&5
21922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21923 (exit $ac_status); }; }; then
21924 eval "$as_ac_var=yes"
21926 echo "$as_me: failed program was:" >&5
21927 sed 's/^/| /' conftest.$ac_ext >&5
21929 eval "$as_ac_var=no"
21931 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21933 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21934 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21935 if test `eval echo '${'$as_ac_var'}'` = yes; then
21936 cat >>confdefs.h <<_ACEOF
21937 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21943 echo "$as_me:$LINENO: checking for working mmap" >&5
21944 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
21945 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
21946 echo $ECHO_N "(cached) $ECHO_C" >&6
21948 if test "$cross_compiling" = yes; then
21949 ac_cv_func_mmap_fixed_mapped=no
21951 cat >conftest.$ac_ext <<_ACEOF
21952 #line $LINENO "configure"
21955 cat confdefs.h >>conftest.$ac_ext
21956 cat >>conftest.$ac_ext <<_ACEOF
21957 /* end confdefs.h. */
21958 $ac_includes_default
21959 /* malloc might have been renamed as rpl_malloc. */
21962 /* Thanks to Mike Haertel and Jim Avera for this test.
21963 Here is a matrix of mmap possibilities:
21964 mmap private not fixed
21965 mmap private fixed at somewhere currently unmapped
21966 mmap private fixed at somewhere already mapped
21967 mmap shared not fixed
21968 mmap shared fixed at somewhere currently unmapped
21969 mmap shared fixed at somewhere already mapped
21970 For private mappings, we should verify that changes cannot be read()
21971 back from the file, nor mmap's back from the file at a different
21972 address. (There have been systems where private was not correctly
21973 implemented like the infamous i386 svr4.0, and systems where the
21974 VM page cache was not coherent with the file system buffer cache
21975 like early versions of FreeBSD and possibly contemporary NetBSD.)
21976 For shared mappings, we should conversely verify that changes get
21977 propagated back to all the places they're supposed to be.
21979 Grep wants private fixed already mapped.
21980 The main things grep needs to know about mmap are:
21981 * does it exist and is it safe to write into the mmap'd area
21982 * how to use it (BSD variants) */
21985 #include <sys/mman.h>
21987 #if !STDC_HEADERS && !HAVE_STDLIB_H
21991 /* This mess was copied from the GNU getpagesize.h. */
21992 #if !HAVE_GETPAGESIZE
21993 /* Assume that all systems that can run configure have sys/param.h. */
21994 # if !HAVE_SYS_PARAM_H
21995 # define HAVE_SYS_PARAM_H 1
21998 # ifdef _SC_PAGESIZE
21999 # define getpagesize() sysconf(_SC_PAGESIZE)
22000 # else /* no _SC_PAGESIZE */
22001 # if HAVE_SYS_PARAM_H
22002 # include <sys/param.h>
22003 # ifdef EXEC_PAGESIZE
22004 # define getpagesize() EXEC_PAGESIZE
22005 # else /* no EXEC_PAGESIZE */
22007 # define getpagesize() NBPG * CLSIZE
22010 # endif /* no CLSIZE */
22011 # else /* no NBPG */
22013 # define getpagesize() NBPC
22014 # else /* no NBPC */
22016 # define getpagesize() PAGESIZE
22017 # endif /* PAGESIZE */
22018 # endif /* no NBPC */
22019 # endif /* no NBPG */
22020 # endif /* no EXEC_PAGESIZE */
22021 # else /* no HAVE_SYS_PARAM_H */
22022 # define getpagesize() 8192 /* punt totally */
22023 # endif /* no HAVE_SYS_PARAM_H */
22024 # endif /* no _SC_PAGESIZE */
22026 #endif /* no HAVE_GETPAGESIZE */
22031 char *data, *data2, *data3;
22035 pagesize = getpagesize ();
22037 /* First, make a file with some known garbage in it. */
22038 data = (char *) malloc (pagesize);
22041 for (i = 0; i < pagesize; ++i)
22042 *(data + i) = rand ();
22044 fd = creat ("conftest.mmap", 0600);
22047 if (write (fd, data, pagesize) != pagesize)
22051 /* Next, try to mmap the file at a fixed address which already has
22052 something else allocated at it. If we can, also make sure that
22053 we see the same garbage. */
22054 fd = open ("conftest.mmap", O_RDWR);
22057 data2 = (char *) malloc (2 * pagesize);
22060 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
22061 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22062 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22064 for (i = 0; i < pagesize; ++i)
22065 if (*(data + i) != *(data2 + i))
22068 /* Finally, make sure that changes to the mapped area do not
22069 percolate back to the file as seen by read(). (This is a bug on
22070 some variants of i386 svr4.0.) */
22071 for (i = 0; i < pagesize; ++i)
22072 *(data2 + i) = *(data2 + i) + 1;
22073 data3 = (char *) malloc (pagesize);
22076 if (read (fd, data3, pagesize) != pagesize)
22078 for (i = 0; i < pagesize; ++i)
22079 if (*(data + i) != *(data3 + i))
22085 rm -f conftest$ac_exeext
22086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22087 (eval $ac_link) 2>&5
22089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22090 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22092 (eval $ac_try) 2>&5
22094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22095 (exit $ac_status); }; }; then
22096 ac_cv_func_mmap_fixed_mapped=yes
22098 echo "$as_me: program exited with status $ac_status" >&5
22099 echo "$as_me: failed program was:" >&5
22100 sed 's/^/| /' conftest.$ac_ext >&5
22102 ( exit $ac_status )
22103 ac_cv_func_mmap_fixed_mapped=no
22105 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22108 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22109 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22110 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22112 cat >>confdefs.h <<\_ACEOF
22113 #define HAVE_MMAP 1
22117 rm -f conftest.mmap
22119 echo "$as_me:$LINENO: checking for mmap of files" >&5
22120 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6
22121 if test "${ac_cv_func_mmap_file+set}" = set; then
22122 echo $ECHO_N "(cached) $ECHO_C" >&6
22127 ac_cpp='$CPP $CPPFLAGS'
22128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22132 if test "$cross_compiling" = yes; then
22133 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22134 See \`config.log' for more details." >&5
22135 echo "$as_me: error: cannot run test program while cross compiling
22136 See \`config.log' for more details." >&2;}
22137 { (exit 1); exit 1; }; }
22139 cat >conftest.$ac_ext <<_ACEOF
22140 #line $LINENO "configure"
22143 cat confdefs.h >>conftest.$ac_ext
22144 cat >>conftest.$ac_ext <<_ACEOF
22145 /* end confdefs.h. */
22147 #ifdef HAVE_SYS_MMAN_H
22148 #include <sys/mman.h>
22151 #ifdef HAVE_SYS_TYPES_H
22152 #include <sys/types.h>
22155 #ifdef HAVE_FCNTL_H
22161 fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != MAP_FAILED);}
22163 rm -f conftest$ac_exeext
22164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22165 (eval $ac_link) 2>&5
22167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22168 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22170 (eval $ac_try) 2>&5
22172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22173 (exit $ac_status); }; }; then
22174 ac_cv_func_mmap_file=yes
22176 echo "$as_me: program exited with status $ac_status" >&5
22177 echo "$as_me: failed program was:" >&5
22178 sed 's/^/| /' conftest.$ac_ext >&5
22180 ( exit $ac_status )
22181 ac_cv_func_mmap_file=no
22183 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22186 ac_cpp='$CPP $CPPFLAGS'
22187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22193 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
22194 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
22195 if test "$ac_cv_func_mmap_file" = yes; then
22196 cat >>confdefs.h <<\_ACEOF
22197 #define HAVE_MMAP_FILE 1
22204 if test ${ac_cv_func_mmap_file} = "no"
22206 { { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5
22207 echo "$as_me: error: mmap() of files required but not found" >&2;}
22208 { (exit 1); exit 1; }; }
22210 echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
22211 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6
22212 if test "${ac_cv_header_mmap_anon+set}" = set; then
22213 echo $ECHO_N "(cached) $ECHO_C" >&6
22218 ac_cpp='$CPP $CPPFLAGS'
22219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22223 cat >conftest.$ac_ext <<_ACEOF
22224 #line $LINENO "configure"
22227 cat confdefs.h >>conftest.$ac_ext
22228 cat >>conftest.$ac_ext <<_ACEOF
22229 /* end confdefs.h. */
22230 #include <sys/mman.h>
22231 #include <unistd.h>
22236 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
22241 rm -f conftest.$ac_objext
22242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22243 (eval $ac_compile) 2>&5
22245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22246 (exit $ac_status); } &&
22247 { ac_try='test -s conftest.$ac_objext'
22248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22249 (eval $ac_try) 2>&5
22251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22252 (exit $ac_status); }; }; then
22253 ac_cv_header_mmap_anon=yes
22255 echo "$as_me: failed program was:" >&5
22256 sed 's/^/| /' conftest.$ac_ext >&5
22258 ac_cv_header_mmap_anon=no
22260 rm -f conftest.$ac_objext conftest.$ac_ext
22262 ac_cpp='$CPP $CPPFLAGS'
22263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22269 echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
22270 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6
22271 if test "$ac_cv_header_mmap_anon" = yes; then
22272 cat >>confdefs.h <<\_ACEOF
22273 #define HAVE_MMAP_ANONYMOUS 1
22278 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
22279 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
22280 if test "${ac_cv_type_signal+set}" = set; then
22281 echo $ECHO_N "(cached) $ECHO_C" >&6
22283 cat >conftest.$ac_ext <<_ACEOF
22284 #line $LINENO "configure"
22287 cat confdefs.h >>conftest.$ac_ext
22288 cat >>conftest.$ac_ext <<_ACEOF
22289 /* end confdefs.h. */
22290 #include <sys/types.h>
22291 #include <signal.h>
22296 extern "C" void (*signal (int, void (*)(int)))(int);
22298 void (*signal ()) ();
22309 rm -f conftest.$ac_objext
22310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22311 (eval $ac_compile) 2>&5
22313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22314 (exit $ac_status); } &&
22315 { ac_try='test -s conftest.$ac_objext'
22316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22317 (eval $ac_try) 2>&5
22319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22320 (exit $ac_status); }; }; then
22321 ac_cv_type_signal=void
22323 echo "$as_me: failed program was:" >&5
22324 sed 's/^/| /' conftest.$ac_ext >&5
22326 ac_cv_type_signal=int
22328 rm -f conftest.$ac_objext conftest.$ac_ext
22330 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
22331 echo "${ECHO_T}$ac_cv_type_signal" >&6
22333 cat >>confdefs.h <<_ACEOF
22334 #define RETSIGTYPE $ac_cv_type_signal
22347 for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol
22349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22350 echo "$as_me:$LINENO: checking for $ac_func" >&5
22351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22352 if eval "test \"\${$as_ac_var+set}\" = set"; then
22353 echo $ECHO_N "(cached) $ECHO_C" >&6
22355 cat >conftest.$ac_ext <<_ACEOF
22356 #line $LINENO "configure"
22359 cat confdefs.h >>conftest.$ac_ext
22360 cat >>conftest.$ac_ext <<_ACEOF
22361 /* end confdefs.h. */
22362 /* System header to define __stub macros and hopefully few prototypes,
22363 which can conflict with char $ac_func (); below.
22364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22365 <limits.h> exists even on freestanding compilers. */
22367 # include <limits.h>
22369 # include <assert.h>
22371 /* Override any gcc2 internal prototype to avoid an error. */
22376 /* We use char because int might match the return type of a gcc2
22377 builtin and then its argument prototype would still apply. */
22379 /* The GNU C library defines this for functions which it implements
22380 to always fail with ENOSYS. Some functions are actually named
22381 something starting with __ and the normal name is an alias. */
22382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22385 char (*f) () = $ac_func;
22394 return f != $ac_func;
22399 rm -f conftest.$ac_objext conftest$ac_exeext
22400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22401 (eval $ac_link) 2>&5
22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22404 (exit $ac_status); } &&
22405 { ac_try='test -s conftest$ac_exeext'
22406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22407 (eval $ac_try) 2>&5
22409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22410 (exit $ac_status); }; }; then
22411 eval "$as_ac_var=yes"
22413 echo "$as_me: failed program was:" >&5
22414 sed 's/^/| /' conftest.$ac_ext >&5
22416 eval "$as_ac_var=no"
22418 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22422 if test `eval echo '${'$as_ac_var'}'` = yes; then
22423 cat >>confdefs.h <<_ACEOF
22424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22432 echo "$as_me:$LINENO: checking for mmap" >&5
22433 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
22434 if test "${ac_cv_func_mmap+set}" = set; then
22435 echo $ECHO_N "(cached) $ECHO_C" >&6
22437 cat >conftest.$ac_ext <<_ACEOF
22438 #line $LINENO "configure"
22441 cat confdefs.h >>conftest.$ac_ext
22442 cat >>conftest.$ac_ext <<_ACEOF
22443 /* end confdefs.h. */
22444 /* System header to define __stub macros and hopefully few prototypes,
22445 which can conflict with char mmap (); below.
22446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22447 <limits.h> exists even on freestanding compilers. */
22449 # include <limits.h>
22451 # include <assert.h>
22453 /* Override any gcc2 internal prototype to avoid an error. */
22458 /* We use char because int might match the return type of a gcc2
22459 builtin and then its argument prototype would still apply. */
22461 /* The GNU C library defines this for functions which it implements
22462 to always fail with ENOSYS. Some functions are actually named
22463 something starting with __ and the normal name is an alias. */
22464 #if defined (__stub_mmap) || defined (__stub___mmap)
22467 char (*f) () = mmap;
22481 rm -f conftest.$ac_objext conftest$ac_exeext
22482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22483 (eval $ac_link) 2>&5
22485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22486 (exit $ac_status); } &&
22487 { ac_try='test -s conftest$ac_exeext'
22488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22489 (eval $ac_try) 2>&5
22491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22492 (exit $ac_status); }; }; then
22493 ac_cv_func_mmap=yes
22495 echo "$as_me: failed program was:" >&5
22496 sed 's/^/| /' conftest.$ac_ext >&5
22500 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22502 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
22503 echo "${ECHO_T}$ac_cv_func_mmap" >&6
22504 if test $ac_cv_func_mmap = yes; then
22507 { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5
22508 echo "$as_me: error: Function mmap() required but not found" >&2;}
22509 { (exit 1); exit 1; }; }
22512 echo "$as_me:$LINENO: checking for mprotect" >&5
22513 echo $ECHO_N "checking for mprotect... $ECHO_C" >&6
22514 if test "${ac_cv_func_mprotect+set}" = set; then
22515 echo $ECHO_N "(cached) $ECHO_C" >&6
22517 cat >conftest.$ac_ext <<_ACEOF
22518 #line $LINENO "configure"
22521 cat confdefs.h >>conftest.$ac_ext
22522 cat >>conftest.$ac_ext <<_ACEOF
22523 /* end confdefs.h. */
22524 /* System header to define __stub macros and hopefully few prototypes,
22525 which can conflict with char mprotect (); below.
22526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22527 <limits.h> exists even on freestanding compilers. */
22529 # include <limits.h>
22531 # include <assert.h>
22533 /* Override any gcc2 internal prototype to avoid an error. */
22538 /* We use char because int might match the return type of a gcc2
22539 builtin and then its argument prototype would still apply. */
22541 /* The GNU C library defines this for functions which it implements
22542 to always fail with ENOSYS. Some functions are actually named
22543 something starting with __ and the normal name is an alias. */
22544 #if defined (__stub_mprotect) || defined (__stub___mprotect)
22547 char (*f) () = mprotect;
22556 return f != mprotect;
22561 rm -f conftest.$ac_objext conftest$ac_exeext
22562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22563 (eval $ac_link) 2>&5
22565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22566 (exit $ac_status); } &&
22567 { ac_try='test -s conftest$ac_exeext'
22568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22569 (eval $ac_try) 2>&5
22571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22572 (exit $ac_status); }; }; then
22573 ac_cv_func_mprotect=yes
22575 echo "$as_me: failed program was:" >&5
22576 sed 's/^/| /' conftest.$ac_ext >&5
22578 ac_cv_func_mprotect=no
22580 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22582 echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
22583 echo "${ECHO_T}$ac_cv_func_mprotect" >&6
22584 if test $ac_cv_func_mprotect = yes; then
22587 { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5
22588 echo "$as_me: error: Function mprotect() required but not found" >&2;}
22589 { (exit 1); exit 1; }; }
22594 # Check whether --enable-purify or --disable-purify was given.
22595 if test "${enable_purify+set}" = set; then
22596 enableval="$enable_purify"
22601 if test ${enableval} = "no"
22606 ENABLE_PURIFY=ENABLE_PURIFY=1
22610 # Check whether --enable-optimized or --disable-optimized was given.
22611 if test "${enable_optimized+set}" = set; then
22612 enableval="$enable_optimized"
22617 if test ${enableval} = "no"
22622 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
22626 # Check whether --enable-spec or --disable-spec was given.
22627 if test "${enable_spec+set}" = set; then
22628 enableval="$enable_spec"
22633 if test ${enableval} = "no"
22638 USE_SPEC=USE_SPEC=1
22642 # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given.
22643 if test "${enable_precompiled_bytecode+set}" = set; then
22644 enableval="$enable_precompiled_bytecode"
22649 if test ${enableval} = "no"
22654 UPB=USE_PRECOMPILED_BYTECODE=1
22659 # Check whether --enable-llc_diffs or --disable-llc_diffs was given.
22660 if test "${enable_llc_diffs+set}" = set; then
22661 enableval="$enable_llc_diffs"
22666 if test ${enableval} = "no"
22668 DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1
22675 # Check whether --enable-jit or --disable-jit was given.
22676 if test "${enable_jit+set}" = set; then
22677 enableval="$enable_jit"
22683 if test ${enableval} = "no"
22690 JIT=TARGET_HAS_JIT=1
22694 JIT=TARGET_HAS_JIT=1
22706 # Check whether --with-spec or --without-spec was given.
22707 if test "${with_spec+set}" = set; then
22708 withval="$with_spec"
22712 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22717 # Check whether --with-llvmgccdir or --without-llvmgccdir was given.
22718 if test "${with_llvmgccdir+set}" = set; then
22719 withval="$with_llvmgccdir"
22720 LLVMGCCDIR=$withval
22725 # Check whether --with-bcrepos or --without-bcrepos was given.
22726 if test "${with_bcrepos+set}" = set; then
22727 withval="$with_bcrepos"
22731 BCR=/home/vadve/lattner/LLVMPrograms
22736 # Check whether --with-papi or --without-papi was given.
22737 if test "${with_papi+set}" = set; then
22738 withval="$with_papi"
22742 PAPIDIR=/home/vadve/shared/Sparc/papi-2.3.4.1
22747 # Check whether --with-purify or --without-purify was given.
22748 if test "${with_purify+set}" = set; then
22749 withval="$with_purify"
22755 ac_config_files="$ac_config_files Makefile.config"
22756 cat >confcache <<\_ACEOF
22757 # This file is a shell script that caches the results of configure
22758 # tests run on this system so they can be shared between configure
22759 # scripts and configure runs, see configure's option --config-cache.
22760 # It is not useful on other systems. If it contains results you don't
22761 # want to keep, you may remove or edit it.
22763 # config.status only pays attention to the cache file if you give it
22764 # the --recheck option to rerun configure.
22766 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22767 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22768 # following values.
22772 # The following way of writing the cache mishandles newlines in values,
22773 # but we know of no workaround that is simple, portable, and efficient.
22774 # So, don't put newlines in cache variables' values.
22775 # Ultrix sh set writes to stderr and can't be redirected directly,
22776 # and sets the high bit in the cache file unless we assign to the vars.
22779 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22781 # `set' does not quote correctly, so add quotes (double-quote
22782 # substitution turns \\\\ into \\, and sed turns \\ into \).
22785 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22788 # `set' quotes correctly as required by POSIX, so do not add quotes.
22790 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22797 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22799 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22801 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22802 if test -w $cache_file; then
22803 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22804 cat confcache >$cache_file
22806 echo "not updating unwritable cache $cache_file"
22811 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22812 # Let make expand exec_prefix.
22813 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22815 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22816 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22817 # trailing colons and then remove the whole line if VPATH becomes empty
22818 # (actually we leave an empty line to preserve line numbers).
22819 if test "x$srcdir" = x.; then
22820 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22821 s/:*\$(srcdir):*/:/;
22822 s/:*\${srcdir}:*/:/;
22824 s/^\([^=]*=[ ]*\):*/\1/;
22830 DEFS=-DHAVE_CONFIG_H
22834 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22835 # 1. Remove the extension, and $U if already installed.
22836 ac_i=`echo "$ac_i" |
22837 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22839 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
22840 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
22842 LIBOBJS=$ac_libobjs
22844 LTLIBOBJS=$ac_ltlibobjs
22848 : ${CONFIG_STATUS=./config.status}
22849 ac_clean_files_save=$ac_clean_files
22850 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22851 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22852 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22853 cat >$CONFIG_STATUS <<_ACEOF
22855 # Generated by $as_me.
22856 # Run this file to recreate the current configuration.
22857 # Compiler output produced by configure, useful for debugging
22858 # configure, is in config.log if it exists.
22861 ac_cs_recheck=false
22863 SHELL=\${CONFIG_SHELL-$SHELL}
22866 cat >>$CONFIG_STATUS <<\_ACEOF
22867 ## --------------------- ##
22868 ## M4sh Initialization. ##
22869 ## --------------------- ##
22871 # Be Bourne compatible
22872 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22875 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22876 # is contrary to our usage. Disable this feature.
22877 alias -g '${1+"$@"}'='"$@"'
22878 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22882 # Support unset when possible.
22883 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
22890 # Work around bugs in pre-3.0 UWIN ksh.
22891 $as_unset ENV MAIL MAILPATH
22898 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22899 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22900 LC_TELEPHONE LC_TIME
22902 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
22903 eval $as_var=C; export $as_var
22909 # Required to use basename.
22910 if expr a : '\(a\)' >/dev/null 2>&1; then
22916 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
22917 as_basename=basename
22923 # Name of the executable.
22924 as_me=`$as_basename "$0" ||
22925 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22926 X"$0" : 'X\(//\)$' \| \
22927 X"$0" : 'X\(/\)$' \| \
22928 . : '\(.\)' 2>/dev/null ||
22930 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22931 /^X\/\(\/\/\)$/{ s//\1/; q; }
22932 /^X\/\(\/\).*/{ s//\1/; q; }
22936 # PATH needs CR, and LINENO needs CR and PATH.
22937 # Avoid depending upon Character Ranges.
22938 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22939 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22940 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22941 as_cr_digits='0123456789'
22942 as_cr_alnum=$as_cr_Letters$as_cr_digits
22944 # The user is always right.
22945 if test "${PATH_SEPARATOR+set}" != set; then
22946 echo "#! /bin/sh" >conf$$.sh
22947 echo "exit 0" >>conf$$.sh
22949 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22958 as_lineno_1=$LINENO
22959 as_lineno_2=$LINENO
22960 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22961 test "x$as_lineno_1" != "x$as_lineno_2" &&
22962 test "x$as_lineno_3" = "x$as_lineno_2" || {
22963 # Find who we are. Look in the path if we contain no path at all
22966 *[\\/]* ) as_myself=$0 ;;
22967 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22968 for as_dir in $PATH
22971 test -z "$as_dir" && as_dir=.
22972 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22977 # We did not find ourselves, most probably we were run as `sh COMMAND'
22978 # in which case we are not to be found in the path.
22979 if test "x$as_myself" = x; then
22982 if test ! -f "$as_myself"; then
22983 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22984 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22985 { (exit 1); exit 1; }; }
22987 case $CONFIG_SHELL in
22989 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22990 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
22993 test -z "$as_dir" && as_dir=.
22994 for as_base in sh bash ksh sh5; do
22997 if ("$as_dir/$as_base" -c '
22998 as_lineno_1=$LINENO
22999 as_lineno_2=$LINENO
23000 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23001 test "x$as_lineno_1" != "x$as_lineno_2" &&
23002 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
23003 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23004 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23005 CONFIG_SHELL=$as_dir/$as_base
23006 export CONFIG_SHELL
23007 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23015 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23016 # uniformly replaced by the line number. The first 'sed' inserts a
23017 # line-number line before each line; the second 'sed' does the real
23018 # work. The second script uses 'N' to pair each line-number line
23019 # with the numbered line, and appends trailing '-' during
23020 # substitution so that $LINENO is not a special case at line end.
23021 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23022 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23023 sed '=' <$as_myself |
23028 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23031 s,^['$as_cr_digits']*\n,,
23032 ' >$as_me.lineno &&
23033 chmod +x $as_me.lineno ||
23034 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23035 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23036 { (exit 1); exit 1; }; }
23038 # Don't try to exec as it changes $[0], causing all sort of problems
23039 # (the dirname of $[0] is not the place where we might find the
23040 # original and so on. Autoconf is especially sensible to this).
23042 # Exit status is that of the last command.
23047 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23048 *c*,-n*) ECHO_N= ECHO_C='
23050 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23051 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23054 if expr a : '\(a\)' >/dev/null 2>&1; then
23060 rm -f conf$$ conf$$.exe conf$$.file
23062 if ln -s conf$$.file conf$$ 2>/dev/null; then
23063 # We could just check for DJGPP; but this test a) works b) is more generic
23064 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23065 if test -f conf$$.exe; then
23066 # Don't use ln at all; we don't have any links
23071 elif ln conf$$.file conf$$ 2>/dev/null; then
23076 rm -f conf$$ conf$$.exe conf$$.file
23078 if mkdir -p . 2>/dev/null; then
23084 as_executable_p="test -f"
23086 # Sed expression to map a string onto a valid CPP name.
23087 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23089 # Sed expression to map a string onto a valid variable name.
23090 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
23094 # We need space, tab and new line, in precisely that order.
23104 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23105 # report actual input values of CONFIG_FILES etc. instead of their
23106 # values after options handling. Logging --version etc. is OK.
23110 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23111 ## Running $as_me. ##
23116 This file was extended by [LLVM] $as_me [1.0], which was
23117 generated by GNU Autoconf 2.57. Invocation command line was
23119 CONFIG_FILES = $CONFIG_FILES
23120 CONFIG_HEADERS = $CONFIG_HEADERS
23121 CONFIG_LINKS = $CONFIG_LINKS
23122 CONFIG_COMMANDS = $CONFIG_COMMANDS
23126 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23130 # Files that config.status was made for.
23131 if test -n "$ac_config_files"; then
23132 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23135 if test -n "$ac_config_headers"; then
23136 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23139 if test -n "$ac_config_links"; then
23140 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23143 if test -n "$ac_config_commands"; then
23144 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23147 cat >>$CONFIG_STATUS <<\_ACEOF
23150 \`$as_me' instantiates files from templates according to the
23151 current configuration.
23153 Usage: $0 [OPTIONS] [FILE]...
23155 -h, --help print this help, then exit
23156 -V, --version print version number, then exit
23157 -q, --quiet do not print progress messages
23158 -d, --debug don't remove temporary files
23159 --recheck update $as_me by reconfiguring in the same conditions
23160 --file=FILE[:TEMPLATE]
23161 instantiate the configuration file FILE
23162 --header=FILE[:TEMPLATE]
23163 instantiate the configuration header FILE
23165 Configuration files:
23168 Configuration headers:
23171 Configuration commands:
23174 Report bugs to <bug-autoconf@gnu.org>."
23177 cat >>$CONFIG_STATUS <<_ACEOF
23179 [LLVM] config.status [1.0]
23180 configured by $0, generated by GNU Autoconf 2.57,
23181 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23183 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
23184 Free Software Foundation, Inc.
23185 This config.status script is free software; the Free Software Foundation
23186 gives unlimited permission to copy, distribute and modify it."
23191 cat >>$CONFIG_STATUS <<\_ACEOF
23192 # If no file are specified by the user, then we need to provide default
23193 # value. By we need to know if files were specified by the user.
23199 ac_option=`expr "x$1" : 'x\([^=]*\)='`
23200 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23208 *) # This is not an option, so the user has probably given explicit
23211 ac_need_defaults=false;;
23215 # Handling of the options.
23217 cat >>$CONFIG_STATUS <<\_ACEOF
23218 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23220 --version | --vers* | -V )
23221 echo "$ac_cs_version"; exit 0 ;;
23223 # Conflict between --help and --header
23224 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23225 Try \`$0 --help' for more information." >&5
23226 echo "$as_me: error: ambiguous option: $1
23227 Try \`$0 --help' for more information." >&2;}
23228 { (exit 1); exit 1; }; };;
23229 --help | --hel | -h )
23230 echo "$ac_cs_usage"; exit 0 ;;
23231 --debug | --d* | -d )
23233 --file | --fil | --fi | --f )
23235 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23236 ac_need_defaults=false;;
23237 --header | --heade | --head | --hea )
23239 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23240 ac_need_defaults=false;;
23241 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23242 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23245 # This is an error.
23246 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23247 Try \`$0 --help' for more information." >&5
23248 echo "$as_me: error: unrecognized option: $1
23249 Try \`$0 --help' for more information." >&2;}
23250 { (exit 1); exit 1; }; } ;;
23252 *) ac_config_targets="$ac_config_targets $1" ;;
23258 ac_configure_extra_args=
23260 if $ac_cs_silent; then
23262 ac_configure_extra_args="$ac_configure_extra_args --silent"
23266 cat >>$CONFIG_STATUS <<_ACEOF
23267 if \$ac_cs_recheck; then
23268 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23269 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23274 cat >>$CONFIG_STATUS <<_ACEOF
23276 # INIT-COMMANDS section.
23279 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
23280 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common`
23281 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.rules`
23282 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
23283 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/Makefile`
23284 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/DataStructure/Makefile`
23285 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/IPA/Makefile`
23286 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/LiveVar/Makefile`
23287 ${srcdir}/autoconf/mkinstalldirs `dirname lib/AsmParser/Makefile`
23288 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Makefile`
23289 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Reader/Makefile`
23290 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Writer/Makefile`
23291 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CWriter/Makefile`
23292 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/Makefile`
23293 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSched/Makefile`
23294 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSelection/Makefile`
23295 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/ModuloScheduling/Makefile`
23296 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/RegAlloc/Makefile`
23297 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/SelectionDAG/Makefile`
23298 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Makefile`
23299 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Interpreter/Makefile`
23300 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/JIT/Makefile`
23301 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Support/Makefile`
23302 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Makefile`
23303 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Sparc/Makefile`
23304 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/X86/Makefile`
23305 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Makefile`
23306 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Hello/Makefile`
23307 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/IPO/Makefile`
23308 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/Makefile`
23309 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/ProfilePaths/Makefile`
23310 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Scalar/Makefile`
23311 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Utils/Makefile`
23312 ${srcdir}/autoconf/mkinstalldirs `dirname lib/VMCore/Makefile`
23313 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile`
23314 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/Makefile`
23315 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/crtend/Makefile`
23316 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libc/Makefile`
23317 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libcurses/Makefile`
23318 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libexception/Makefile`
23319 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libg/Makefile`
23320 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libgcc/Makefile`
23321 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libm/Makefile`
23322 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libmalloc/Makefile`
23323 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libtermcap/Makefile`
23324 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libucb/Makefile`
23325 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutempter/Makefile`
23326 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutil/Makefile`
23327 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libdummy/Makefile`
23328 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libtrace/Makefile`
23329 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile`
23330 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests`
23331 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile`
23332 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.programs`
23333 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.Makefile`
23334 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.report`
23335 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.report`
23336 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.report`
23337 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.example.Makefile`
23338 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.Makefile`
23339 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.buildrepo.Makefile`
23340 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.Makefile`
23341 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.report`
23342 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.Makefile`
23343 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.report`
23344 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.typesafe.Makefile`
23345 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.gnuplot`
23346 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.Makefile`
23347 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/Makefile`
23348 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile`
23349 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile.spec`
23350 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/Makefile`
23351 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/179.art/Makefile`
23352 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/183.equake/Makefile`
23353 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/188.ammp/Makefile`
23354 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/Makefile`
23355 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/164.gzip/Makefile`
23356 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/175.vpr/Makefile`
23357 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/176.gcc/Makefile`
23358 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/181.mcf/Makefile`
23359 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/186.crafty/Makefile`
23360 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/197.parser/Makefile`
23361 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/254.gap/Makefile`
23362 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/255.vortex/Makefile`
23363 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile`
23364 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/300.twolf/Makefile`
23365 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/LLVMSource/Makefile`
23366 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile`
23367 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile.multisrc`
23368 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Makefile`
23369 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Burg/Makefile`
23370 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/aha/Makefile`
23371 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/sgefa/Makefile`
23372 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Makefile`
23373 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile`
23374 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/Makefile`
23375 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile`
23376 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile`
23377 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile`
23378 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile`
23379 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile`
23380 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile`
23381 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile`
23382 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile`
23383 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile`
23384 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile`
23385 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/Makefile`
23386 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile`
23387 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile`
23388 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile`
23389 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/health/Makefile`
23390 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile`
23391 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile`
23392 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/power/Makefile`
23393 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile`
23394 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile`
23395 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile`
23396 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile`
23397 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile`
23398 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile`
23399 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile`
23400 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile`
23401 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile`
23402 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile`
23403 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile`
23404 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/sim/Makefile`
23405 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Makefile`
23406 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Flex/Makefile`
23407 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Larn/Makefile`
23408 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Moria-5.5.2/Makefile`
23409 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Povray31/Makefile`
23410 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/m4/Makefile`
23411 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile`
23412 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile.singlesrc`
23413 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Gizmos/Makefile`
23414 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Makefile`
23415 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile`
23416 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Shootout/Makefile`
23417 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Stanford/Makefile`
23418 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Misc/Makefile`
23419 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/CustomChecked/Makefile`
23420 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/Makefile`
23421 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile`
23422 ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
23423 ${srcdir}/autoconf/mkinstalldirs `dirname tools/analyze/Makefile`
23424 ${srcdir}/autoconf/mkinstalldirs `dirname tools/as/Makefile`
23425 ${srcdir}/autoconf/mkinstalldirs `dirname tools/bugpoint/Makefile`
23426 ${srcdir}/autoconf/mkinstalldirs `dirname tools/dis/Makefile`
23427 ${srcdir}/autoconf/mkinstalldirs `dirname tools/extract/Makefile`
23428 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccas/Makefile`
23429 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccld/Makefile`
23430 ${srcdir}/autoconf/mkinstalldirs `dirname tools/link/Makefile`
23431 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llc/Makefile`
23432 ${srcdir}/autoconf/mkinstalldirs `dirname tools/lli/Makefile`
23433 ${srcdir}/autoconf/mkinstalldirs `dirname tools/opt/Makefile`
23434 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llee/Makefile`
23435 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-as/Makefile`
23436 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-ar/Makefile`
23437 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-dis/Makefile`
23438 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Makefile`
23439 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Makefile`
23440 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Doc/Makefile`
23441 ${srcdir}/autoconf/mkinstalldirs `dirname utils/TableGen/Makefile`
23442 ${srcdir}/autoconf/mkinstalldirs `dirname www/docs/Makefile`
23443 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile`
23444 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile`
23445 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.common`
23446 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.config`
23447 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/Makefile`
23448 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/sample/Makefile`
23449 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/Makefile`
23450 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/sample/Makefile`
23451 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile`
23452 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile.common`
23453 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/Makefile`
23454 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/ModuleMaker/Makefile`
23460 cat >>$CONFIG_STATUS <<\_ACEOF
23461 for ac_config_target in $ac_config_targets
23463 case "$ac_config_target" in
23464 # Handling of arguments.
23465 "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
23466 "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23467 "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;;
23468 "Makefile.rules" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.rules" ;;
23469 "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
23470 "lib/Analysis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/Makefile" ;;
23471 "lib/Analysis/DataStructure/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/DataStructure/Makefile" ;;
23472 "lib/Analysis/IPA/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/IPA/Makefile" ;;
23473 "lib/Analysis/LiveVar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/LiveVar/Makefile" ;;
23474 "lib/AsmParser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/AsmParser/Makefile" ;;
23475 "lib/Bytecode/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Makefile" ;;
23476 "lib/Bytecode/Reader/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Reader/Makefile" ;;
23477 "lib/Bytecode/Writer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Writer/Makefile" ;;
23478 "lib/CWriter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CWriter/Makefile" ;;
23479 "lib/CodeGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/Makefile" ;;
23480 "lib/CodeGen/InstrSched/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSched/Makefile" ;;
23481 "lib/CodeGen/InstrSelection/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSelection/Makefile" ;;
23482 "lib/CodeGen/ModuloScheduling/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/ModuloScheduling/Makefile" ;;
23483 "lib/CodeGen/RegAlloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/RegAlloc/Makefile" ;;
23484 "lib/CodeGen/SelectionDAG/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/SelectionDAG/Makefile" ;;
23485 "lib/ExecutionEngine/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Makefile" ;;
23486 "lib/ExecutionEngine/Interpreter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Interpreter/Makefile" ;;
23487 "lib/ExecutionEngine/JIT/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/JIT/Makefile" ;;
23488 "lib/Support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Support/Makefile" ;;
23489 "lib/Target/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Makefile" ;;
23490 "lib/Target/Sparc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Sparc/Makefile" ;;
23491 "lib/Target/X86/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/X86/Makefile" ;;
23492 "lib/Transforms/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Makefile" ;;
23493 "lib/Transforms/Hello/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Hello/Makefile" ;;
23494 "lib/Transforms/IPO/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/IPO/Makefile" ;;
23495 "lib/Transforms/Instrumentation/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/Makefile" ;;
23496 "lib/Transforms/Instrumentation/ProfilePaths/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/ProfilePaths/Makefile" ;;
23497 "lib/Transforms/Scalar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Scalar/Makefile" ;;
23498 "lib/Transforms/Utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Utils/Makefile" ;;
23499 "lib/VMCore/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/VMCore/Makefile" ;;
23500 "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;;
23501 "runtime/GCCLibraries/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/Makefile" ;;
23502 "runtime/GCCLibraries/crtend/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/crtend/Makefile" ;;
23503 "runtime/GCCLibraries/libc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libc/Makefile" ;;
23504 "runtime/GCCLibraries/libcurses/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libcurses/Makefile" ;;
23505 "runtime/GCCLibraries/libexception/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libexception/Makefile" ;;
23506 "runtime/GCCLibraries/libg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libg/Makefile" ;;
23507 "runtime/GCCLibraries/libgcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libgcc/Makefile" ;;
23508 "runtime/GCCLibraries/libm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libm/Makefile" ;;
23509 "runtime/GCCLibraries/libmalloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libmalloc/Makefile" ;;
23510 "runtime/GCCLibraries/libtermcap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libtermcap/Makefile" ;;
23511 "runtime/GCCLibraries/libucb/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libucb/Makefile" ;;
23512 "runtime/GCCLibraries/libutempter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutempter/Makefile" ;;
23513 "runtime/GCCLibraries/libutil/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutil/Makefile" ;;
23514 "runtime/libdummy/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libdummy/Makefile" ;;
23515 "runtime/libtrace/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libtrace/Makefile" ;;
23516 "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;;
23517 "test/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile.tests" ;;
23518 "test/Programs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile" ;;
23519 "test/Programs/Makefile.programs" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.programs" ;;
23520 "test/Programs/TEST.aa.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.Makefile" ;;
23521 "test/Programs/TEST.dsgraph.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.report" ;;
23522 "test/Programs/TEST.micro.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.report" ;;
23523 "test/Programs/TEST.aa.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.report" ;;
23524 "test/Programs/TEST.example.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.example.Makefile" ;;
23525 "test/Programs/TEST.nightly.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.Makefile" ;;
23526 "test/Programs/TEST.buildrepo.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.buildrepo.Makefile" ;;
23527 "test/Programs/TEST.jit.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.Makefile" ;;
23528 "test/Programs/TEST.nightly.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.report" ;;
23529 "test/Programs/TEST.dsgraph.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.Makefile" ;;
23530 "test/Programs/TEST.jit.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.report" ;;
23531 "test/Programs/TEST.typesafe.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.typesafe.Makefile" ;;
23532 "test/Programs/TEST.dsgraph.gnuplot" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.gnuplot" ;;
23533 "test/Programs/TEST.micro.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.Makefile" ;;
23534 "test/Programs/External/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/Makefile" ;;
23535 "test/Programs/External/SPEC/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile" ;;
23536 "test/Programs/External/SPEC/Makefile.spec" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile.spec" ;;
23537 "test/Programs/External/SPEC/CFP2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/Makefile" ;;
23538 "test/Programs/External/SPEC/CFP2000/179.art/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/179.art/Makefile" ;;
23539 "test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ;;
23540 "test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ;;
23541 "test/Programs/External/SPEC/CINT2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/Makefile" ;;
23542 "test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ;;
23543 "test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ;;
23544 "test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ;;
23545 "test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ;;
23546 "test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ;;
23547 "test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ;;
23548 "test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ;;
23549 "test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ;;
23550 "test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ;;
23551 "test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ;;
23552 "test/Programs/LLVMSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/LLVMSource/Makefile" ;;
23553 "test/Programs/MultiSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile" ;;
23554 "test/Programs/MultiSource/Makefile.multisrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile.multisrc" ;;
23555 "test/Programs/MultiSource/Applications/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Makefile" ;;
23556 "test/Programs/MultiSource/Applications/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Burg/Makefile" ;;
23557 "test/Programs/MultiSource/Applications/aha/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/aha/Makefile" ;;
23558 "test/Programs/MultiSource/Applications/sgefa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/sgefa/Makefile" ;;
23559 "test/Programs/MultiSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Makefile" ;;
23560 "test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ;;
23561 "test/Programs/MultiSource/Benchmarks/McCat/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/Makefile" ;;
23562 "test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ;;
23563 "test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ;;
23564 "test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ;;
23565 "test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ;;
23566 "test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ;;
23567 "test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ;;
23568 "test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ;;
23569 "test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ;;
23570 "test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ;;
23571 "test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ;;
23572 "test/Programs/MultiSource/Benchmarks/Olden/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/Makefile" ;;
23573 "test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ;;
23574 "test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ;;
23575 "test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ;;
23576 "test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ;;
23577 "test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ;;
23578 "test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ;;
23579 "test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ;;
23580 "test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ;;
23581 "test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ;;
23582 "test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ;;
23583 "test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ;;
23584 "test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ;;
23585 "test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ;;
23586 "test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ;;
23587 "test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ;;
23588 "test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ;;
23589 "test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ;;
23590 "test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ;;
23591 "test/Programs/MultiSource/Benchmarks/sim/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/sim/Makefile" ;;
23592 "test/Programs/NoSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Makefile" ;;
23593 "test/Programs/NoSource/Flex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Flex/Makefile" ;;
23594 "test/Programs/NoSource/Larn/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Larn/Makefile" ;;
23595 "test/Programs/NoSource/Moria-5.5.2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Moria-5.5.2/Makefile" ;;
23596 "test/Programs/NoSource/Povray31/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Povray31/Makefile" ;;
23597 "test/Programs/NoSource/m4/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/m4/Makefile" ;;
23598 "test/Programs/SingleSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile" ;;
23599 "test/Programs/SingleSource/Makefile.singlesrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile.singlesrc" ;;
23600 "test/Programs/SingleSource/Gizmos/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Gizmos/Makefile" ;;
23601 "test/Programs/SingleSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Makefile" ;;
23602 "test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ;;
23603 "test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ;;
23604 "test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ;;
23605 "test/Programs/SingleSource/Benchmarks/Misc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Misc/Makefile" ;;
23606 "test/Programs/SingleSource/CustomChecked/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/CustomChecked/Makefile" ;;
23607 "test/Programs/SingleSource/UnitTests/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/Makefile" ;;
23608 "test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ;;
23609 "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
23610 "tools/analyze/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/analyze/Makefile" ;;
23611 "tools/as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/as/Makefile" ;;
23612 "tools/bugpoint/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/bugpoint/Makefile" ;;
23613 "tools/dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/dis/Makefile" ;;
23614 "tools/extract/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/extract/Makefile" ;;
23615 "tools/gccas/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccas/Makefile" ;;
23616 "tools/gccld/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccld/Makefile" ;;
23617 "tools/link/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/link/Makefile" ;;
23618 "tools/llc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llc/Makefile" ;;
23619 "tools/lli/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/lli/Makefile" ;;
23620 "tools/opt/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/opt/Makefile" ;;
23621 "tools/llee/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llee/Makefile" ;;
23622 "tools/llvm-ar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-ar/Makefile" ;;
23623 "tools/llvm-dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-dis/Makefile" ;;
23624 "utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Makefile" ;;
23625 "utils/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Makefile" ;;
23626 "utils/Burg/Doc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Doc/Makefile" ;;
23627 "utils/TableGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/TableGen/Makefile" ;;
23628 "www/docs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS www/docs/Makefile" ;;
23629 "projects/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Makefile" ;;
23630 "projects/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile" ;;
23631 "projects/sample/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.common" ;;
23632 "projects/sample/Makefile.config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.config" ;;
23633 "projects/sample/lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/Makefile" ;;
23634 "projects/sample/lib/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/sample/Makefile" ;;
23635 "projects/sample/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/Makefile" ;;
23636 "projects/sample/tools/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/sample/Makefile" ;;
23637 "projects/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile" ;;
23638 "projects/ModuleMaker/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile.common" ;;
23639 "projects/ModuleMaker/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/Makefile" ;;
23640 "projects/ModuleMaker/tools/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/ModuleMaker/Makefile" ;;
23641 "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;;
23642 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23643 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23644 { (exit 1); exit 1; }; };;
23648 # If the user did not use the arguments to specify the items to instantiate,
23649 # then the envvar interface is used. Set only those that are not.
23650 # We use the long form for the default assignment because of an extremely
23651 # bizarre bug on SunOS 4.1.3.
23652 if $ac_need_defaults; then
23653 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23654 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23655 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23658 # Have a temporary directory for convenience. Make it in the build tree
23659 # simply because there is no reason to put it here, and in addition,
23660 # creating and moving files from /tmp can sometimes cause problems.
23661 # Create a temporary directory, and hook for its removal unless debugging.
23664 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23665 trap '{ (exit 1); exit 1; }' 1 2 13 15
23668 # Create a (secure) tmp directory for tmp files.
23671 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23672 test -n "$tmp" && test -d "$tmp"
23675 tmp=./confstat$$-$RANDOM
23676 (umask 077 && mkdir $tmp)
23679 echo "$me: cannot create a temporary directory in ." >&2
23680 { (exit 1); exit 1; }
23685 cat >>$CONFIG_STATUS <<_ACEOF
23688 # CONFIG_FILES section.
23691 # No need to generate the scripts if there are no CONFIG_FILES.
23692 # This happens for instance when ./config.status config.h
23693 if test -n "\$CONFIG_FILES"; then
23694 # Protect against being on the right side of a sed subst in config.status.
23695 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23696 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23697 s,@SHELL@,$SHELL,;t t
23698 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23699 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23700 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23701 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23702 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23703 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23704 s,@exec_prefix@,$exec_prefix,;t t
23705 s,@prefix@,$prefix,;t t
23706 s,@program_transform_name@,$program_transform_name,;t t
23707 s,@bindir@,$bindir,;t t
23708 s,@sbindir@,$sbindir,;t t
23709 s,@libexecdir@,$libexecdir,;t t
23710 s,@datadir@,$datadir,;t t
23711 s,@sysconfdir@,$sysconfdir,;t t
23712 s,@sharedstatedir@,$sharedstatedir,;t t
23713 s,@localstatedir@,$localstatedir,;t t
23714 s,@libdir@,$libdir,;t t
23715 s,@includedir@,$includedir,;t t
23716 s,@oldincludedir@,$oldincludedir,;t t
23717 s,@infodir@,$infodir,;t t
23718 s,@mandir@,$mandir,;t t
23719 s,@build_alias@,$build_alias,;t t
23720 s,@host_alias@,$host_alias,;t t
23721 s,@target_alias@,$target_alias,;t t
23722 s,@DEFS@,$DEFS,;t t
23723 s,@ECHO_C@,$ECHO_C,;t t
23724 s,@ECHO_N@,$ECHO_N,;t t
23725 s,@ECHO_T@,$ECHO_T,;t t
23726 s,@LIBS@,$LIBS,;t t
23727 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23728 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23729 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23730 s,@build@,$build,;t t
23731 s,@build_cpu@,$build_cpu,;t t
23732 s,@build_vendor@,$build_vendor,;t t
23733 s,@build_os@,$build_os,;t t
23734 s,@host@,$host,;t t
23735 s,@host_cpu@,$host_cpu,;t t
23736 s,@host_vendor@,$host_vendor,;t t
23737 s,@host_os@,$host_os,;t t
23738 s,@target@,$target,;t t
23739 s,@target_cpu@,$target_cpu,;t t
23740 s,@target_vendor@,$target_vendor,;t t
23741 s,@target_os@,$target_os,;t t
23743 s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t
23744 s,@ARCH@,$ARCH,;t t
23746 s,@CXXFLAGS@,$CXXFLAGS,;t t
23747 s,@LDFLAGS@,$LDFLAGS,;t t
23748 s,@CPPFLAGS@,$CPPFLAGS,;t t
23749 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
23750 s,@EXEEXT@,$EXEEXT,;t t
23751 s,@OBJEXT@,$OBJEXT,;t t
23753 s,@CFLAGS@,$CFLAGS,;t t
23754 s,@ac_ct_CC@,$ac_ct_CC,;t t
23756 s,@ifGNUmake@,$ifGNUmake,;t t
23758 s,@LEXLIB@,$LEXLIB,;t t
23759 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
23760 s,@YACC@,$YACC,;t t
23761 s,@EGREP@,$EGREP,;t t
23762 s,@LN_S@,$LN_S,;t t
23763 s,@ECHO@,$ECHO,;t t
23765 s,@ac_ct_AR@,$ac_ct_AR,;t t
23766 s,@RANLIB@,$RANLIB,;t t
23767 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23768 s,@STRIP@,$STRIP,;t t
23769 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23770 s,@CXXCPP@,$CXXCPP,;t t
23772 s,@FFLAGS@,$FFLAGS,;t t
23773 s,@ac_ct_F77@,$ac_ct_F77,;t t
23774 s,@LIBTOOL@,$LIBTOOL,;t t
23775 s,@RPWD@,$RPWD,;t t
23778 s,@MKDIR@,$MKDIR,;t t
23779 s,@DATE@,$DATE,;t t
23782 s,@ETAGS@,$ETAGS,;t t
23783 s,@PURIFY@,$PURIFY,;t t
23784 s,@PYTHON@,$PYTHON,;t t
23785 s,@QMTEST@,$QMTEST,;t t
23786 s,@ALLOCA@,$ALLOCA,;t t
23787 s,@LIBOBJS@,$LIBOBJS,;t t
23788 s,@MMAP_FILE@,$MMAP_FILE,;t t
23789 s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t
23790 s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t
23791 s,@USE_SPEC@,$USE_SPEC,;t t
23793 s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t
23795 s,@SPEC_ROOT@,$SPEC_ROOT,;t t
23797 s,@PAPIDIR@,$PAPIDIR,;t t
23798 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23803 cat >>$CONFIG_STATUS <<\_ACEOF
23804 # Split the substitutions into bite-sized pieces for seds with
23805 # small command number limits, like on Digital OSF/1 and HP-UX.
23806 ac_max_sed_lines=48
23807 ac_sed_frag=1 # Number of current file.
23808 ac_beg=1 # First line for current file.
23809 ac_end=$ac_max_sed_lines # Line after last line for current file.
23812 while $ac_more_lines; do
23813 if test $ac_beg -gt 1; then
23814 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23816 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23818 if test ! -s $tmp/subs.frag; then
23819 ac_more_lines=false
23821 # The purpose of the label and of the branching condition is to
23822 # speed up the sed processing (if there are no `@' at all, there
23823 # is no need to browse any of the substitutions).
23824 # These are the two extra sed commands mentioned above.
23826 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23827 if test -z "$ac_sed_cmds"; then
23828 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
23830 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23832 ac_sed_frag=`expr $ac_sed_frag + 1`
23834 ac_end=`expr $ac_end + $ac_max_sed_lines`
23837 if test -z "$ac_sed_cmds"; then
23840 fi # test -n "$CONFIG_FILES"
23843 cat >>$CONFIG_STATUS <<\_ACEOF
23844 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23845 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23847 - | *:- | *:-:* ) # input from stdin
23849 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23850 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23851 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23852 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23853 * ) ac_file_in=$ac_file.in ;;
23856 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23857 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23858 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23859 X"$ac_file" : 'X\(//\)[^/]' \| \
23860 X"$ac_file" : 'X\(//\)$' \| \
23861 X"$ac_file" : 'X\(/\)' \| \
23862 . : '\(.\)' 2>/dev/null ||
23864 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23865 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23866 /^X\(\/\/\)$/{ s//\1/; q; }
23867 /^X\(\/\).*/{ s//\1/; q; }
23869 { if $as_mkdir_p; then
23874 while test ! -d "$as_dir"; do
23875 as_dirs="$as_dir $as_dirs"
23876 as_dir=`(dirname "$as_dir") 2>/dev/null ||
23877 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23878 X"$as_dir" : 'X\(//\)[^/]' \| \
23879 X"$as_dir" : 'X\(//\)$' \| \
23880 X"$as_dir" : 'X\(/\)' \| \
23881 . : '\(.\)' 2>/dev/null ||
23883 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23884 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23885 /^X\(\/\/\)$/{ s//\1/; q; }
23886 /^X\(\/\).*/{ s//\1/; q; }
23889 test ! -n "$as_dirs" || mkdir $as_dirs
23890 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23891 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23892 { (exit 1); exit 1; }; }; }
23896 if test "$ac_dir" != .; then
23897 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23898 # A "../" for each directory in $ac_dir_suffix.
23899 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23901 ac_dir_suffix= ac_top_builddir=
23905 .) # No --srcdir option. We are building in place.
23907 if test -z "$ac_top_builddir"; then
23910 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23912 [\\/]* | ?:[\\/]* ) # Absolute path.
23913 ac_srcdir=$srcdir$ac_dir_suffix;
23914 ac_top_srcdir=$srcdir ;;
23915 *) # Relative path.
23916 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23917 ac_top_srcdir=$ac_top_builddir$srcdir ;;
23919 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
23921 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
23922 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
23923 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
23924 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
23928 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23929 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
23932 if test x"$ac_file" != x-; then
23933 { echo "$as_me:$LINENO: creating $ac_file" >&5
23934 echo "$as_me: creating $ac_file" >&6;}
23937 # Let's still pretend it is `configure' which instantiates (i.e., don't
23938 # use $as_me), people would be surprised to read:
23939 # /* config.h. Generated by config.status. */
23940 if test x"$ac_file" = x-; then
23943 configure_input="$ac_file. "
23945 configure_input=$configure_input"Generated from `echo $ac_file_in |
23946 sed 's,.*/,,'` by configure."
23948 # First look for the input files in the build tree, otherwise in the
23950 ac_file_inputs=`IFS=:
23951 for f in $ac_file_in; do
23953 -) echo $tmp/stdin ;;
23955 # Absolute (can't be DOS-style, as IFS=:)
23956 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23957 echo "$as_me: error: cannot find input file: $f" >&2;}
23958 { (exit 1); exit 1; }; }
23961 if test -f "$f"; then
23964 elif test -f "$srcdir/$f"; then
23969 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23970 echo "$as_me: error: cannot find input file: $f" >&2;}
23971 { (exit 1); exit 1; }; }
23974 done` || { (exit 1); exit 1; }
23976 cat >>$CONFIG_STATUS <<_ACEOF
23980 cat >>$CONFIG_STATUS <<\_ACEOF
23982 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23983 s,@configure_input@,$configure_input,;t t
23984 s,@srcdir@,$ac_srcdir,;t t
23985 s,@abs_srcdir@,$ac_abs_srcdir,;t t
23986 s,@top_srcdir@,$ac_top_srcdir,;t t
23987 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
23988 s,@builddir@,$ac_builddir,;t t
23989 s,@abs_builddir@,$ac_abs_builddir,;t t
23990 s,@top_builddir@,$ac_top_builddir,;t t
23991 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
23992 s,@INSTALL@,$ac_INSTALL,;t t
23993 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
23995 if test x"$ac_file" != x-; then
23996 mv $tmp/out $ac_file
24004 cat >>$CONFIG_STATUS <<\_ACEOF
24007 # CONFIG_HEADER section.
24010 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24011 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24013 # ac_d sets the value in "#define NAME VALUE" lines.
24014 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24015 ac_dB='[ ].*$,\1#\2'
24018 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24019 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24020 ac_uB='$,\1#\2define\3'
24024 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24025 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24027 - | *:- | *:-:* ) # input from stdin
24029 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24030 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24031 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24032 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24033 * ) ac_file_in=$ac_file.in ;;
24036 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24037 echo "$as_me: creating $ac_file" >&6;}
24039 # First look for the input files in the build tree, otherwise in the
24041 ac_file_inputs=`IFS=:
24042 for f in $ac_file_in; do
24044 -) echo $tmp/stdin ;;
24046 # Absolute (can't be DOS-style, as IFS=:)
24047 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24048 echo "$as_me: error: cannot find input file: $f" >&2;}
24049 { (exit 1); exit 1; }; }
24052 if test -f "$f"; then
24055 elif test -f "$srcdir/$f"; then
24060 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24061 echo "$as_me: error: cannot find input file: $f" >&2;}
24062 { (exit 1); exit 1; }; }
24065 done` || { (exit 1); exit 1; }
24066 # Remove the trailing spaces.
24067 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24071 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24072 # `conftest.undefs', that substitutes the proper values into
24073 # config.h.in to produce config.h. The first handles `#define'
24074 # templates, and the second `#undef' templates.
24075 # And first: Protect against being on the right side of a sed subst in
24076 # config.status. Protect against being in an unquoted here document
24077 # in config.status.
24078 rm -f conftest.defines conftest.undefs
24079 # Using a here document instead of a string reduces the quoting nightmare.
24080 # Putting comments in sed scripts is not portable.
24082 # `end' is used to avoid that the second main sed command (meant for
24083 # 0-ary CPP macros) applies to n-ary macro definitions.
24084 # See the Autoconf documentation for `clear'.
24085 cat >confdef2sed.sed <<\_ACEOF
24090 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24092 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24095 # If some macros were called several times there might be several times
24096 # the same #defines, which is useless. Nevertheless, we may not want to
24097 # sort them, since we want the *last* AC-DEFINE to be honored.
24098 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24099 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24100 rm -f confdef2sed.sed
24102 # This sed command replaces #undef with comments. This is necessary, for
24103 # example, in the case of _POSIX_SOURCE, which is predefined and required
24104 # on some systems where configure will not decide to define it.
24105 cat >>conftest.undefs <<\_ACEOF
24106 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24109 # Break up conftest.defines because some shells have a limit on the size
24110 # of here documents, and old seds have small limits too (100 cmds).
24111 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24112 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24113 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24114 echo ' :' >>$CONFIG_STATUS
24115 rm -f conftest.tail
24116 while grep . conftest.defines >/dev/null
24118 # Write a limited-size here document to $tmp/defines.sed.
24119 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24120 # Speed up: don't consider the non `#define' lines.
24121 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24122 # Work around the forget-to-reset-the-flag bug.
24123 echo 't clr' >>$CONFIG_STATUS
24124 echo ': clr' >>$CONFIG_STATUS
24125 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24127 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24129 mv $tmp/out $tmp/in
24131 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24132 rm -f conftest.defines
24133 mv conftest.tail conftest.defines
24135 rm -f conftest.defines
24136 echo ' fi # grep' >>$CONFIG_STATUS
24137 echo >>$CONFIG_STATUS
24139 # Break up conftest.undefs because some shells have a limit on the size
24140 # of here documents, and old seds have small limits too (100 cmds).
24141 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24142 rm -f conftest.tail
24143 while grep . conftest.undefs >/dev/null
24145 # Write a limited-size here document to $tmp/undefs.sed.
24146 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24147 # Speed up: don't consider the non `#undef'
24148 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24149 # Work around the forget-to-reset-the-flag bug.
24150 echo 't clr' >>$CONFIG_STATUS
24151 echo ': clr' >>$CONFIG_STATUS
24152 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24154 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24156 mv $tmp/out $tmp/in
24158 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24159 rm -f conftest.undefs
24160 mv conftest.tail conftest.undefs
24162 rm -f conftest.undefs
24164 cat >>$CONFIG_STATUS <<\_ACEOF
24165 # Let's still pretend it is `configure' which instantiates (i.e., don't
24166 # use $as_me), people would be surprised to read:
24167 # /* config.h. Generated by config.status. */
24168 if test x"$ac_file" = x-; then
24169 echo "/* Generated by configure. */" >$tmp/config.h
24171 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24173 cat $tmp/in >>$tmp/config.h
24175 if test x"$ac_file" != x-; then
24176 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24177 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24178 echo "$as_me: $ac_file is unchanged" >&6;}
24180 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24181 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24182 X"$ac_file" : 'X\(//\)[^/]' \| \
24183 X"$ac_file" : 'X\(//\)$' \| \
24184 X"$ac_file" : 'X\(/\)' \| \
24185 . : '\(.\)' 2>/dev/null ||
24187 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24188 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24189 /^X\(\/\/\)$/{ s//\1/; q; }
24190 /^X\(\/\).*/{ s//\1/; q; }
24192 { if $as_mkdir_p; then
24197 while test ! -d "$as_dir"; do
24198 as_dirs="$as_dir $as_dirs"
24199 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24200 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24201 X"$as_dir" : 'X\(//\)[^/]' \| \
24202 X"$as_dir" : 'X\(//\)$' \| \
24203 X"$as_dir" : 'X\(/\)' \| \
24204 . : '\(.\)' 2>/dev/null ||
24206 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24207 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24208 /^X\(\/\/\)$/{ s//\1/; q; }
24209 /^X\(\/\).*/{ s//\1/; q; }
24212 test ! -n "$as_dirs" || mkdir $as_dirs
24213 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24214 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24215 { (exit 1); exit 1; }; }; }
24218 mv $tmp/config.h $ac_file
24222 rm -f $tmp/config.h
24226 cat >>$CONFIG_STATUS <<\_ACEOF
24229 # CONFIG_COMMANDS section.
24231 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24232 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24233 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24234 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24235 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24236 X"$ac_dest" : 'X\(//\)[^/]' \| \
24237 X"$ac_dest" : 'X\(//\)$' \| \
24238 X"$ac_dest" : 'X\(/\)' \| \
24239 . : '\(.\)' 2>/dev/null ||
24241 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24242 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24243 /^X\(\/\/\)$/{ s//\1/; q; }
24244 /^X\(\/\).*/{ s//\1/; q; }
24248 if test "$ac_dir" != .; then
24249 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24250 # A "../" for each directory in $ac_dir_suffix.
24251 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24253 ac_dir_suffix= ac_top_builddir=
24257 .) # No --srcdir option. We are building in place.
24259 if test -z "$ac_top_builddir"; then
24262 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24264 [\\/]* | ?:[\\/]* ) # Absolute path.
24265 ac_srcdir=$srcdir$ac_dir_suffix;
24266 ac_top_srcdir=$srcdir ;;
24267 *) # Relative path.
24268 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24269 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24271 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24273 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24274 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24275 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24276 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24279 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24280 echo "$as_me: executing $ac_dest commands" >&6;}
24282 Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
24283 Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common ;;
24284 Makefile.rules ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.rules Makefile.rules ;;
24285 lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
24286 lib/Analysis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/Makefile lib/Analysis/Makefile ;;
24287 lib/Analysis/DataStructure/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/DataStructure/Makefile lib/Analysis/DataStructure/Makefile ;;
24288 lib/Analysis/IPA/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/IPA/Makefile lib/Analysis/IPA/Makefile ;;
24289 lib/Analysis/LiveVar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/LiveVar/Makefile lib/Analysis/LiveVar/Makefile ;;
24290 lib/AsmParser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/AsmParser/Makefile lib/AsmParser/Makefile ;;
24291 lib/Bytecode/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Makefile lib/Bytecode/Makefile ;;
24292 lib/Bytecode/Reader/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Reader/Makefile lib/Bytecode/Reader/Makefile ;;
24293 lib/Bytecode/Writer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Writer/Makefile lib/Bytecode/Writer/Makefile ;;
24294 lib/CWriter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CWriter/Makefile lib/CWriter/Makefile ;;
24295 lib/CodeGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/Makefile lib/CodeGen/Makefile ;;
24296 lib/CodeGen/InstrSched/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSched/Makefile lib/CodeGen/InstrSched/Makefile ;;
24297 lib/CodeGen/InstrSelection/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSelection/Makefile lib/CodeGen/InstrSelection/Makefile ;;
24298 lib/CodeGen/ModuloScheduling/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/ModuloScheduling/Makefile lib/CodeGen/ModuloScheduling/Makefile ;;
24299 lib/CodeGen/RegAlloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/RegAlloc/Makefile lib/CodeGen/RegAlloc/Makefile ;;
24300 lib/CodeGen/SelectionDAG/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/SelectionDAG/Makefile lib/CodeGen/SelectionDAG/Makefile ;;
24301 lib/ExecutionEngine/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Makefile lib/ExecutionEngine/Makefile ;;
24302 lib/ExecutionEngine/Interpreter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Interpreter/Makefile lib/ExecutionEngine/Interpreter/Makefile ;;
24303 lib/ExecutionEngine/JIT/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/JIT/Makefile lib/ExecutionEngine/JIT/Makefile ;;
24304 lib/Support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Support/Makefile lib/Support/Makefile ;;
24305 lib/Target/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Makefile lib/Target/Makefile ;;
24306 lib/Target/Sparc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Sparc/Makefile lib/Target/Sparc/Makefile ;;
24307 lib/Target/X86/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/X86/Makefile lib/Target/X86/Makefile ;;
24308 lib/Transforms/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Makefile lib/Transforms/Makefile ;;
24309 lib/Transforms/Hello/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Hello/Makefile lib/Transforms/Hello/Makefile ;;
24310 lib/Transforms/IPO/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/IPO/Makefile lib/Transforms/IPO/Makefile ;;
24311 lib/Transforms/Instrumentation/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/Makefile lib/Transforms/Instrumentation/Makefile ;;
24312 lib/Transforms/Instrumentation/ProfilePaths/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/ProfilePaths/Makefile lib/Transforms/Instrumentation/ProfilePaths/Makefile ;;
24313 lib/Transforms/Scalar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Scalar/Makefile lib/Transforms/Scalar/Makefile ;;
24314 lib/Transforms/Utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Utils/Makefile lib/Transforms/Utils/Makefile ;;
24315 lib/VMCore/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/VMCore/Makefile lib/VMCore/Makefile ;;
24316 runtime/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/Makefile runtime/Makefile ;;
24317 runtime/GCCLibraries/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/Makefile runtime/GCCLibraries/Makefile ;;
24318 runtime/GCCLibraries/crtend/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/crtend/Makefile runtime/GCCLibraries/crtend/Makefile ;;
24319 runtime/GCCLibraries/libc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libc/Makefile runtime/GCCLibraries/libc/Makefile ;;
24320 runtime/GCCLibraries/libcurses/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libcurses/Makefile runtime/GCCLibraries/libcurses/Makefile ;;
24321 runtime/GCCLibraries/libexception/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libexception/Makefile runtime/GCCLibraries/libexception/Makefile ;;
24322 runtime/GCCLibraries/libg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libg/Makefile runtime/GCCLibraries/libg/Makefile ;;
24323 runtime/GCCLibraries/libgcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libgcc/Makefile runtime/GCCLibraries/libgcc/Makefile ;;
24324 runtime/GCCLibraries/libm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libm/Makefile runtime/GCCLibraries/libm/Makefile ;;
24325 runtime/GCCLibraries/libmalloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libmalloc/Makefile runtime/GCCLibraries/libmalloc/Makefile ;;
24326 runtime/GCCLibraries/libtermcap/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libtermcap/Makefile runtime/GCCLibraries/libtermcap/Makefile ;;
24327 runtime/GCCLibraries/libucb/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libucb/Makefile runtime/GCCLibraries/libucb/Makefile ;;
24328 runtime/GCCLibraries/libutempter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutempter/Makefile runtime/GCCLibraries/libutempter/Makefile ;;
24329 runtime/GCCLibraries/libutil/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutil/Makefile runtime/GCCLibraries/libutil/Makefile ;;
24330 runtime/libdummy/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libdummy/Makefile runtime/libdummy/Makefile ;;
24331 runtime/libtrace/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libtrace/Makefile runtime/libtrace/Makefile ;;
24332 test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;;
24333 test/Makefile.tests ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile.tests test/Makefile.tests ;;
24334 test/Programs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile test/Programs/Makefile ;;
24335 test/Programs/Makefile.programs ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.programs test/Programs/Makefile.programs ;;
24336 test/Programs/TEST.aa.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.Makefile test/Programs/TEST.aa.Makefile ;;
24337 test/Programs/TEST.dsgraph.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.report test/Programs/TEST.dsgraph.report ;;
24338 test/Programs/TEST.micro.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.report test/Programs/TEST.micro.report ;;
24339 test/Programs/TEST.aa.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.report test/Programs/TEST.aa.report ;;
24340 test/Programs/TEST.example.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.example.Makefile test/Programs/TEST.example.Makefile ;;
24341 test/Programs/TEST.nightly.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.Makefile test/Programs/TEST.nightly.Makefile ;;
24342 test/Programs/TEST.buildrepo.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.buildrepo.Makefile test/Programs/TEST.buildrepo.Makefile ;;
24343 test/Programs/TEST.jit.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.Makefile test/Programs/TEST.jit.Makefile ;;
24344 test/Programs/TEST.nightly.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.report test/Programs/TEST.nightly.report ;;
24345 test/Programs/TEST.dsgraph.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.Makefile test/Programs/TEST.dsgraph.Makefile ;;
24346 test/Programs/TEST.jit.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.report test/Programs/TEST.jit.report ;;
24347 test/Programs/TEST.typesafe.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.typesafe.Makefile test/Programs/TEST.typesafe.Makefile ;;
24348 test/Programs/TEST.dsgraph.gnuplot ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.gnuplot test/Programs/TEST.dsgraph.gnuplot ;;
24349 test/Programs/TEST.micro.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.Makefile test/Programs/TEST.micro.Makefile ;;
24350 test/Programs/External/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/Makefile test/Programs/External/Makefile ;;
24351 test/Programs/External/SPEC/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile test/Programs/External/SPEC/Makefile ;;
24352 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 ;;
24353 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 ;;
24354 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 ;;
24355 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 ;;
24356 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 ;;
24357 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 ;;
24358 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 ;;
24359 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 ;;
24360 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 ;;
24361 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 ;;
24362 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 ;;
24363 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 ;;
24364 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 ;;
24365 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 ;;
24366 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 ;;
24367 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 ;;
24368 test/Programs/LLVMSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/LLVMSource/Makefile test/Programs/LLVMSource/Makefile ;;
24369 test/Programs/MultiSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile test/Programs/MultiSource/Makefile ;;
24370 test/Programs/MultiSource/Makefile.multisrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile.multisrc test/Programs/MultiSource/Makefile.multisrc ;;
24371 test/Programs/MultiSource/Applications/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/Makefile test/Programs/MultiSource/Applications/Makefile ;;
24372 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 ;;
24373 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 ;;
24374 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 ;;
24375 test/Programs/MultiSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Makefile test/Programs/MultiSource/Benchmarks/Makefile ;;
24376 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 ;;
24377 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 ;;
24378 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 ;;
24379 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 ;;
24380 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 ;;
24381 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 ;;
24382 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 ;;
24383 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 ;;
24384 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 ;;
24385 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 ;;
24386 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 ;;
24387 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 ;;
24388 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 ;;
24389 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 ;;
24390 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 ;;
24391 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 ;;
24392 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 ;;
24393 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 ;;
24394 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 ;;
24395 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 ;;
24396 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 ;;
24397 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 ;;
24398 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 ;;
24399 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 ;;
24400 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 ;;
24401 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 ;;
24402 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 ;;
24403 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 ;;
24404 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 ;;
24405 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 ;;
24406 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 ;;
24407 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 ;;
24408 test/Programs/NoSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Makefile test/Programs/NoSource/Makefile ;;
24409 test/Programs/NoSource/Flex/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Flex/Makefile test/Programs/NoSource/Flex/Makefile ;;
24410 test/Programs/NoSource/Larn/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Larn/Makefile test/Programs/NoSource/Larn/Makefile ;;
24411 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 ;;
24412 test/Programs/NoSource/Povray31/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Povray31/Makefile test/Programs/NoSource/Povray31/Makefile ;;
24413 test/Programs/NoSource/m4/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/m4/Makefile test/Programs/NoSource/m4/Makefile ;;
24414 test/Programs/SingleSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile test/Programs/SingleSource/Makefile ;;
24415 test/Programs/SingleSource/Makefile.singlesrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile.singlesrc test/Programs/SingleSource/Makefile.singlesrc ;;
24416 test/Programs/SingleSource/Gizmos/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Gizmos/Makefile test/Programs/SingleSource/Gizmos/Makefile ;;
24417 test/Programs/SingleSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Makefile test/Programs/SingleSource/Benchmarks/Makefile ;;
24418 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 ;;
24419 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 ;;
24420 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 ;;
24421 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 ;;
24422 test/Programs/SingleSource/CustomChecked/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/CustomChecked/Makefile test/Programs/SingleSource/CustomChecked/Makefile ;;
24423 test/Programs/SingleSource/UnitTests/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/Makefile test/Programs/SingleSource/UnitTests/Makefile ;;
24424 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 ;;
24425 tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
24426 tools/analyze/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/analyze/Makefile tools/analyze/Makefile ;;
24427 tools/as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/as/Makefile tools/as/Makefile ;;
24428 tools/bugpoint/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/bugpoint/Makefile tools/bugpoint/Makefile ;;
24429 tools/dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/dis/Makefile tools/dis/Makefile ;;
24430 tools/extract/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/extract/Makefile tools/extract/Makefile ;;
24431 tools/gccas/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccas/Makefile tools/gccas/Makefile ;;
24432 tools/gccld/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccld/Makefile tools/gccld/Makefile ;;
24433 tools/link/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/link/Makefile tools/link/Makefile ;;
24434 tools/llc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llc/Makefile tools/llc/Makefile ;;
24435 tools/lli/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/lli/Makefile tools/lli/Makefile ;;
24436 tools/opt/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/opt/Makefile tools/opt/Makefile ;;
24437 tools/llee/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llee/Makefile tools/llee/Makefile ;;
24438 tools/llvm-as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-as/Makefile tools/llvm-as/Makefile ;;
24439 tools/llvm-ar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-ar/Makefile tools/llvm-ar/Makefile ;;
24440 tools/llvm-dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-dis/Makefile tools/llvm-dis/Makefile ;;
24441 utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Makefile utils/Makefile ;;
24442 utils/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Makefile utils/Burg/Makefile ;;
24443 utils/Burg/Doc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Doc/Makefile utils/Burg/Doc/Makefile ;;
24444 utils/TableGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/TableGen/Makefile utils/TableGen/Makefile ;;
24445 www/docs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/www/docs/Makefile www/docs/Makefile ;;
24446 projects/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Makefile projects/Makefile ;;
24447 projects/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile projects/sample/Makefile ;;
24448 projects/sample/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.common projects/sample/Makefile.common ;;
24449 projects/sample/Makefile.config ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.config projects/sample/Makefile.config ;;
24450 projects/sample/lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/Makefile projects/sample/lib/Makefile ;;
24451 projects/sample/lib/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/sample/Makefile projects/sample/lib/sample/Makefile ;;
24452 projects/sample/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/Makefile projects/sample/tools/Makefile ;;
24453 projects/sample/tools/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/sample/Makefile projects/sample/tools/sample/Makefile ;;
24454 projects/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile projects/ModuleMaker/Makefile ;;
24455 projects/ModuleMaker/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile.common projects/ModuleMaker/Makefile.common ;;
24456 projects/ModuleMaker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/Makefile projects/ModuleMaker/tools/Makefile ;;
24457 projects/ModuleMaker/tools/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/ModuleMaker/Makefile projects/ModuleMaker/tools/ModuleMaker/Makefile ;;
24462 cat >>$CONFIG_STATUS <<\_ACEOF
24464 { (exit 0); exit 0; }
24466 chmod +x $CONFIG_STATUS
24467 ac_clean_files=$ac_clean_files_save
24470 # configure is writing to config.log, and then calls config.status.
24471 # config.status does its own redirection, appending to config.log.
24472 # Unfortunately, on DOS this fails, as config.log is still kept open
24473 # by configure, so config.status won't be able to write to it; its
24474 # output is simply discarded. So we exec the FD to /dev/null,
24475 # effectively closing config.log, so it can be properly (re)opened and
24476 # appended to by config.status. When coming back to configure, we
24477 # need to make the FD available again.
24478 if test "$no_create" != yes; then
24480 ac_config_status_args=
24481 test "$silent" = yes &&
24482 ac_config_status_args="$ac_config_status_args --quiet"
24484 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24486 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24487 # would make configure fail if this is the last instruction.
24488 $ac_cs_success || { (exit 1); exit 1; }