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 cat >>confdefs.h <<\_ACEOF
3472 echo "$as_me:$LINENO: checking for GNU make" >&5
3473 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
3474 if test "${_cv_gnu_make_command+set}" = set; then
3475 echo $ECHO_N "(cached) $ECHO_C" >&6
3477 _cv_gnu_make_command='' ;
3478 for a in "$MAKE" make gmake gnumake ; do
3479 if test -z "$a" ; then continue ; fi ;
3480 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
3481 _cv_gnu_make_command=$a ;
3487 echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5
3488 echo "${ECHO_T}$_cv_gnu_make_command" >&6 ;
3489 if test "x$_cv_gnu_make_command" != "x" ; then
3493 echo "$as_me:$LINENO: result: \"Not found\"" >&5
3494 echo "${ECHO_T}\"Not found\"" >&6;
3498 if test -z "$_cv_gnu_make_command"
3500 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
3501 echo "$as_me: error: GNU Make required but not found" >&2;}
3502 { (exit 1); exit 1; }; }
3506 echo "$as_me:$LINENO: checking " >&5
3507 echo $ECHO_N "checking ... $ECHO_C" >&6
3508 if test "${ac_cv_has_flex+set}" = set; then
3509 echo $ECHO_N "(cached) $ECHO_C" >&6
3511 for ac_prog in flex lex
3513 # Extract the first word of "$ac_prog", so it can be a program name with args.
3514 set dummy $ac_prog; ac_word=$2
3515 echo "$as_me:$LINENO: checking for $ac_word" >&5
3516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3517 if test "${ac_cv_prog_LEX+set}" = set; then
3518 echo $ECHO_N "(cached) $ECHO_C" >&6
3520 if test -n "$LEX"; then
3521 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3527 test -z "$as_dir" && as_dir=.
3528 for ac_exec_ext in '' $ac_executable_extensions; do
3529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3530 ac_cv_prog_LEX="$ac_prog"
3531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3540 if test -n "$LEX"; then
3541 echo "$as_me:$LINENO: result: $LEX" >&5
3542 echo "${ECHO_T}$LEX" >&6
3544 echo "$as_me:$LINENO: result: no" >&5
3545 echo "${ECHO_T}no" >&6
3548 test -n "$LEX" && break
3550 test -n "$LEX" || LEX=":"
3552 if test -z "$LEXLIB"
3554 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3555 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3556 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3557 echo $ECHO_N "(cached) $ECHO_C" >&6
3559 ac_check_lib_save_LIBS=$LIBS
3561 cat >conftest.$ac_ext <<_ACEOF
3562 #line $LINENO "configure"
3565 cat confdefs.h >>conftest.$ac_ext
3566 cat >>conftest.$ac_ext <<_ACEOF
3567 /* end confdefs.h. */
3569 /* Override any gcc2 internal prototype to avoid an error. */
3573 /* We use char because int might match the return type of a gcc2
3574 builtin and then its argument prototype would still apply. */
3584 rm -f conftest.$ac_objext conftest$ac_exeext
3585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3586 (eval $ac_link) 2>&5
3588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3589 (exit $ac_status); } &&
3590 { ac_try='test -s conftest$ac_exeext'
3591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3595 (exit $ac_status); }; }; then
3596 ac_cv_lib_fl_yywrap=yes
3598 echo "$as_me: failed program was:" >&5
3599 sed 's/^/| /' conftest.$ac_ext >&5
3601 ac_cv_lib_fl_yywrap=no
3603 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3604 LIBS=$ac_check_lib_save_LIBS
3606 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3607 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3608 if test $ac_cv_lib_fl_yywrap = yes; then
3611 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3612 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3613 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3614 echo $ECHO_N "(cached) $ECHO_C" >&6
3616 ac_check_lib_save_LIBS=$LIBS
3618 cat >conftest.$ac_ext <<_ACEOF
3619 #line $LINENO "configure"
3622 cat confdefs.h >>conftest.$ac_ext
3623 cat >>conftest.$ac_ext <<_ACEOF
3624 /* end confdefs.h. */
3626 /* Override any gcc2 internal prototype to avoid an error. */
3630 /* We use char because int might match the return type of a gcc2
3631 builtin and then its argument prototype would still apply. */
3641 rm -f conftest.$ac_objext conftest$ac_exeext
3642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3643 (eval $ac_link) 2>&5
3645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3646 (exit $ac_status); } &&
3647 { ac_try='test -s conftest$ac_exeext'
3648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3652 (exit $ac_status); }; }; then
3653 ac_cv_lib_l_yywrap=yes
3655 echo "$as_me: failed program was:" >&5
3656 sed 's/^/| /' conftest.$ac_ext >&5
3658 ac_cv_lib_l_yywrap=no
3660 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3661 LIBS=$ac_check_lib_save_LIBS
3663 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3664 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3665 if test $ac_cv_lib_l_yywrap = yes; then
3673 if test "x$LEX" != "x:"; then
3674 echo "$as_me:$LINENO: checking lex output file root" >&5
3675 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3676 if test "${ac_cv_prog_lex_root+set}" = set; then
3677 echo $ECHO_N "(cached) $ECHO_C" >&6
3679 # The minimal lex program is just a single line: %%. But some broken lexes
3680 # (Solaris, I think it was) want two %% lines, so accommodate them.
3681 cat >conftest.l <<_ACEOF
3685 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3686 (eval $LEX conftest.l) 2>&5
3688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3689 (exit $ac_status); }
3690 if test -f lex.yy.c; then
3691 ac_cv_prog_lex_root=lex.yy
3692 elif test -f lexyy.c; then
3693 ac_cv_prog_lex_root=lexyy
3695 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3696 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3697 { (exit 1); exit 1; }; }
3700 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3701 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3703 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3705 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3706 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3707 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3708 echo $ECHO_N "(cached) $ECHO_C" >&6
3710 # POSIX says lex can declare yytext either as a pointer or an array; the
3711 # default is implementation-dependent. Figure out which it is, since
3712 # not all implementations provide the %pointer and %array declarations.
3713 ac_cv_prog_lex_yytext_pointer=no
3714 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3716 LIBS="$LIBS $LEXLIB"
3717 cat >conftest.$ac_ext <<_ACEOF
3718 `cat $LEX_OUTPUT_ROOT.c`
3720 rm -f conftest.$ac_objext conftest$ac_exeext
3721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3722 (eval $ac_link) 2>&5
3724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3725 (exit $ac_status); } &&
3726 { ac_try='test -s conftest$ac_exeext'
3727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3731 (exit $ac_status); }; }; then
3732 ac_cv_prog_lex_yytext_pointer=yes
3734 echo "$as_me: failed program was:" >&5
3735 sed 's/^/| /' conftest.$ac_ext >&5
3738 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3740 rm -f "${LEX_OUTPUT_ROOT}.c"
3743 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3744 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3745 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3747 cat >>confdefs.h <<\_ACEOF
3748 #define YYTEXT_POINTER 1
3756 echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
3757 echo "${ECHO_T}$ac_cv_has_flex" >&6
3758 if test "$LEX" != "flex"; then
3759 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
3760 echo "$as_me: error: flex not found but required" >&2;}
3761 { (exit 1); exit 1; }; }
3764 echo "$as_me:$LINENO: checking " >&5
3765 echo $ECHO_N "checking ... $ECHO_C" >&6
3766 if test "${ac_cv_has_bison+set}" = set; then
3767 echo $ECHO_N "(cached) $ECHO_C" >&6
3769 for ac_prog in 'bison -y' byacc
3771 # Extract the first word of "$ac_prog", so it can be a program name with args.
3772 set dummy $ac_prog; ac_word=$2
3773 echo "$as_me:$LINENO: checking for $ac_word" >&5
3774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3775 if test "${ac_cv_prog_YACC+set}" = set; then
3776 echo $ECHO_N "(cached) $ECHO_C" >&6
3778 if test -n "$YACC"; then
3779 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3785 test -z "$as_dir" && as_dir=.
3786 for ac_exec_ext in '' $ac_executable_extensions; do
3787 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3788 ac_cv_prog_YACC="$ac_prog"
3789 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3797 YACC=$ac_cv_prog_YACC
3798 if test -n "$YACC"; then
3799 echo "$as_me:$LINENO: result: $YACC" >&5
3800 echo "${ECHO_T}$YACC" >&6
3802 echo "$as_me:$LINENO: result: no" >&5
3803 echo "${ECHO_T}no" >&6
3806 test -n "$YACC" && break
3808 test -n "$YACC" || YACC="yacc"
3812 echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5
3813 echo "${ECHO_T}$ac_cv_has_bison" >&6
3814 if test "$YACC" != "bison -y"; then
3815 { { echo "$as_me:$LINENO: error: bison not found but required" >&5
3816 echo "$as_me: error: bison not found but required" >&2;}
3817 { (exit 1); exit 1; }; }
3824 # Check whether --enable-shared or --disable-shared was given.
3825 if test "${enable_shared+set}" = set; then
3826 enableval="$enable_shared"
3827 p=${PACKAGE-default}
3829 yes) enable_shared=yes ;;
3830 no) enable_shared=no ;;
3833 # Look at the argument we got. We use all the common list separators.
3834 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3835 for pkg in $enableval; do
3837 if test "X$pkg" = "X$p"; then
3848 # Check whether --enable-static or --disable-static was given.
3849 if test "${enable_static+set}" = set; then
3850 enableval="$enable_static"
3851 p=${PACKAGE-default}
3853 yes) enable_static=yes ;;
3854 no) enable_static=no ;;
3857 # Look at the argument we got. We use all the common list separators.
3858 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3859 for pkg in $enableval; do
3861 if test "X$pkg" = "X$p"; then
3872 # Check whether --enable-fast-install or --disable-fast-install was given.
3873 if test "${enable_fast_install+set}" = set; then
3874 enableval="$enable_fast_install"
3875 p=${PACKAGE-default}
3877 yes) enable_fast_install=yes ;;
3878 no) enable_fast_install=no ;;
3880 enable_fast_install=no
3881 # Look at the argument we got. We use all the common list separators.
3882 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3883 for pkg in $enableval; do
3885 if test "X$pkg" = "X$p"; then
3886 enable_fast_install=yes
3893 enable_fast_install=yes
3896 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3897 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3898 if test "${lt_cv_path_SED+set}" = set; then
3899 echo $ECHO_N "(cached) $ECHO_C" >&6
3901 # Loop through the user's path and test for sed and gsed.
3902 # Then use that list of sed's as ones to test for truncation.
3903 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3907 test -z "$as_dir" && as_dir=.
3908 for lt_ac_prog in sed gsed; do
3909 for ac_exec_ext in '' $ac_executable_extensions; do
3910 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3911 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3918 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3919 # along with /bin/sed that truncates output.
3920 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3921 test ! -f $lt_ac_sed && break
3922 cat /dev/null > conftest.in
3924 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3925 # Check for GNU sed and select it if it is found.
3926 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
3927 lt_cv_path_SED=$lt_ac_sed
3931 cat conftest.in conftest.in >conftest.tmp
3932 mv conftest.tmp conftest.in
3933 cp conftest.in conftest.nl
3935 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
3936 cmp -s conftest.out conftest.nl || break
3937 # 10000 chars as input seems more than enough
3938 test $lt_ac_count -gt 10 && break
3939 lt_ac_count=`expr $lt_ac_count + 1`
3940 if test $lt_ac_count -gt $lt_ac_max; then
3941 lt_ac_max=$lt_ac_count
3942 lt_cv_path_SED=$lt_ac_sed
3950 echo "$as_me:$LINENO: result: $SED" >&5
3951 echo "${ECHO_T}$SED" >&6
3953 echo "$as_me:$LINENO: checking for egrep" >&5
3954 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3955 if test "${ac_cv_prog_egrep+set}" = set; then
3956 echo $ECHO_N "(cached) $ECHO_C" >&6
3958 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3959 then ac_cv_prog_egrep='grep -E'
3960 else ac_cv_prog_egrep='egrep'
3963 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3964 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3965 EGREP=$ac_cv_prog_egrep
3969 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3970 if test "${with_gnu_ld+set}" = set; then
3971 withval="$with_gnu_ld"
3972 test "$withval" = no || with_gnu_ld=yes
3977 if test "$GCC" = yes; then
3978 # Check if gcc -print-prog-name=ld gives a path.
3979 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3980 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
3983 # gcc leaves a trailing carriage return which upsets mingw
3984 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3986 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3989 # Accept absolute paths.
3991 re_direlt='/[^/][^/]*/\.\./'
3992 # Canonicalize the path of ld
3993 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
3994 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3995 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
3997 test -z "$LD" && LD="$ac_prog"
4000 # If it fails, then pretend we aren't using GCC.
4004 # If it is relative, then search for the first ld in PATH.
4008 elif test "$with_gnu_ld" = yes; then
4009 echo "$as_me:$LINENO: checking for GNU ld" >&5
4010 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4012 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4013 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4015 if test "${lt_cv_path_LD+set}" = set; then
4016 echo $ECHO_N "(cached) $ECHO_C" >&6
4018 if test -z "$LD"; then
4019 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4020 for ac_dir in $PATH; do
4022 test -z "$ac_dir" && ac_dir=.
4023 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4024 lt_cv_path_LD="$ac_dir/$ac_prog"
4025 # Check to see if the program is GNU ld. I'd rather use --version,
4026 # but apparently some GNU ld's only accept -v.
4027 # Break only if it was the GNU/non-GNU ld that we prefer.
4028 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4029 *GNU* | *'with BFD'*)
4030 test "$with_gnu_ld" != no && break
4033 test "$with_gnu_ld" != yes && break
4040 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4045 if test -n "$LD"; then
4046 echo "$as_me:$LINENO: result: $LD" >&5
4047 echo "${ECHO_T}$LD" >&6
4049 echo "$as_me:$LINENO: result: no" >&5
4050 echo "${ECHO_T}no" >&6
4052 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4053 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4054 { (exit 1); exit 1; }; }
4055 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4056 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4057 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4058 echo $ECHO_N "(cached) $ECHO_C" >&6
4060 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4061 case `"$LD" -v 2>&1 </dev/null` in
4062 *GNU* | *'with BFD'*)
4063 lt_cv_prog_gnu_ld=yes
4066 lt_cv_prog_gnu_ld=no
4070 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4071 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4072 with_gnu_ld=$lt_cv_prog_gnu_ld
4075 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4076 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4077 if test "${lt_cv_ld_reload_flag+set}" = set; then
4078 echo $ECHO_N "(cached) $ECHO_C" >&6
4080 lt_cv_ld_reload_flag='-r'
4082 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4083 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4084 reload_flag=$lt_cv_ld_reload_flag
4085 case $reload_flag in
4087 *) reload_flag=" $reload_flag" ;;
4089 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4091 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4092 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4093 if test "${lt_cv_path_NM+set}" = set; then
4094 echo $ECHO_N "(cached) $ECHO_C" >&6
4096 if test -n "$NM"; then
4097 # Let the user override the test.
4100 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4101 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4103 test -z "$ac_dir" && ac_dir=.
4104 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4105 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4106 # Check to see if the nm accepts a BSD-compat flag.
4107 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4108 # nm: unknown option "B" ignored
4109 # Tru64's nm complains that /dev/null is an invalid object file
4110 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4111 */dev/null* | *'Invalid file or object type'*)
4112 lt_cv_path_NM="$tmp_nm -B"
4116 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4118 lt_cv_path_NM="$tmp_nm -p"
4122 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4123 continue # so that we can try to find one that supports BSD flags
4130 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4133 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4134 echo "${ECHO_T}$lt_cv_path_NM" >&6
4137 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4138 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4140 if test "$LN_S" = "ln -s"; then
4141 echo "$as_me:$LINENO: result: yes" >&5
4142 echo "${ECHO_T}yes" >&6
4144 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4145 echo "${ECHO_T}no, using $LN_S" >&6
4148 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4149 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4150 if test "${lt_cv_deplibs_check_method+set}" = set; then
4151 echo $ECHO_N "(cached) $ECHO_C" >&6
4153 lt_cv_file_magic_cmd='$MAGIC_CMD'
4154 lt_cv_file_magic_test_file=
4155 lt_cv_deplibs_check_method='unknown'
4156 # Need to set the preceding variable on all platforms that support
4157 # interlibrary dependencies.
4158 # 'none' -- dependencies not supported.
4159 # `unknown' -- same as none, but documents that we really don't know.
4160 # 'pass_all' -- all dependencies passed with no checks.
4161 # 'test_compile' -- check by making test program.
4162 # 'file_magic [[regex]]' -- check by looking for files in library path
4163 # which responds to the $file_magic_cmd with a given extended regex.
4164 # If you have `file' or equivalent on your system and you're not sure
4165 # whether `pass_all' will *always* work, you probably want this one.
4169 lt_cv_deplibs_check_method=pass_all
4173 lt_cv_deplibs_check_method=pass_all
4177 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4178 lt_cv_file_magic_cmd='/usr/bin/file -L'
4179 lt_cv_file_magic_test_file=/shlib/libc.so
4182 cygwin* | mingw* | pw32*)
4183 # win32_libid is a shell function defined in ltmain.sh
4184 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4185 lt_cv_file_magic_cmd='win32_libid'
4188 darwin* | rhapsody*)
4189 # this will be overwritten by pass_all, but leave it in just in case
4190 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4191 lt_cv_file_magic_cmd='/usr/bin/file -L'
4193 rhapsody* | darwin1.[012])
4194 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4197 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4200 lt_cv_deplibs_check_method=pass_all
4204 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4207 # Not sure whether the presence of OpenBSD here was a mistake.
4208 # Let's accept both of them until this is cleared up.
4209 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4210 lt_cv_file_magic_cmd=/usr/bin/file
4211 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4215 lt_cv_deplibs_check_method=pass_all
4220 lt_cv_deplibs_check_method=pass_all
4223 hpux10.20* | hpux11*)
4224 lt_cv_file_magic_cmd=/usr/bin/file
4227 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4228 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4231 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]'
4232 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4235 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4236 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4241 irix5* | irix6* | nonstopux*)
4243 irix5* | nonstopux*)
4244 # this will be overridden with pass_all, but let us keep it just in case
4245 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4249 *-32|*"-32 ") libmagic=32-bit;;
4250 *-n32|*"-n32 ") libmagic=N32;;
4251 *-64|*"-64 ") libmagic=64-bit;;
4252 *) libmagic=never-match;;
4254 # this will be overridden with pass_all, but let us keep it just in case
4255 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4258 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4259 lt_cv_deplibs_check_method=pass_all
4262 # This must be Linux ELF.
4265 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
4266 lt_cv_deplibs_check_method=pass_all ;;
4268 # glibc up to 2.1.1 does not perform some relocations on ARM
4269 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4271 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4275 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4276 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4278 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4283 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4284 lt_cv_file_magic_cmd=/usr/bin/file
4285 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4289 lt_cv_deplibs_check_method=unknown
4293 lt_cv_file_magic_cmd=/usr/bin/file
4294 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4295 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4296 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4298 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4302 osf3* | osf4* | osf5*)
4303 # this will be overridden with pass_all, but let us keep it just in case
4304 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4305 lt_cv_file_magic_test_file=/shlib/libc.so
4306 lt_cv_deplibs_check_method=pass_all
4310 lt_cv_deplibs_check_method=pass_all
4314 lt_cv_deplibs_check_method=pass_all
4315 lt_cv_file_magic_test_file=/lib/libc.so
4318 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4319 case $host_vendor in
4321 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]'
4322 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4325 lt_cv_deplibs_check_method=pass_all
4328 lt_cv_file_magic_cmd='/bin/file'
4329 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4332 lt_cv_file_magic_cmd='/bin/file'
4333 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4334 lt_cv_file_magic_test_file=/lib/libc.so
4337 lt_cv_deplibs_check_method=pass_all
4342 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4343 lt_cv_deplibs_check_method=pass_all
4348 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4349 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4350 file_magic_cmd=$lt_cv_file_magic_cmd
4351 deplibs_check_method=$lt_cv_deplibs_check_method
4352 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4357 # If no C compiler was specified, use CC.
4360 # Allow CC to be a program name with arguments.
4363 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4364 if test "${enable_libtool_lock+set}" = set; then
4365 enableval="$enable_libtool_lock"
4368 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4370 # Some flags need to be propagated to the compiler or linker for good
4374 # Find out which ABI we are using.
4375 echo 'int i;' > conftest.$ac_ext
4376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4377 (eval $ac_compile) 2>&5
4379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4380 (exit $ac_status); }; then
4381 case `/usr/bin/file conftest.$ac_objext` in
4393 # Find out which ABI we are using.
4394 echo '#line 4394 "configure"' > conftest.$ac_ext
4395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4396 (eval $ac_compile) 2>&5
4398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4399 (exit $ac_status); }; then
4400 if test "$lt_cv_prog_gnu_ld" = yes; then
4401 case `/usr/bin/file conftest.$ac_objext` in
4403 LD="${LD-ld} -melf32bsmip"
4406 LD="${LD-ld} -melf32bmipn32"
4409 LD="${LD-ld} -melf64bmip"
4413 case `/usr/bin/file conftest.$ac_objext` in
4429 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4430 # Find out which ABI we are using.
4431 echo 'int i;' > conftest.$ac_ext
4432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4433 (eval $ac_compile) 2>&5
4435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4436 (exit $ac_status); }; then
4437 case "`/usr/bin/file conftest.o`" in
4441 LD="${LD-ld} -m elf_i386"
4444 LD="${LD-ld} -m elf32ppclinux"
4447 LD="${LD-ld} -m elf_s390"
4450 LD="${LD-ld} -m elf32_sparc"
4457 LD="${LD-ld} -m elf_x86_64"
4459 ppc*-*linux*|powerpc*-*linux*)
4460 LD="${LD-ld} -m elf64ppc"
4463 LD="${LD-ld} -m elf64_s390"
4466 LD="${LD-ld} -m elf64_sparc"
4476 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4477 SAVE_CFLAGS="$CFLAGS"
4478 CFLAGS="$CFLAGS -belf"
4479 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4480 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4481 if test "${lt_cv_cc_needs_belf+set}" = set; then
4482 echo $ECHO_N "(cached) $ECHO_C" >&6
4485 ac_cpp='$CPP $CPPFLAGS'
4486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4490 cat >conftest.$ac_ext <<_ACEOF
4491 #line $LINENO "configure"
4494 cat confdefs.h >>conftest.$ac_ext
4495 cat >>conftest.$ac_ext <<_ACEOF
4496 /* end confdefs.h. */
4506 rm -f conftest.$ac_objext conftest$ac_exeext
4507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4508 (eval $ac_link) 2>&5
4510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4511 (exit $ac_status); } &&
4512 { ac_try='test -s conftest$ac_exeext'
4513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4517 (exit $ac_status); }; }; then
4518 lt_cv_cc_needs_belf=yes
4520 echo "$as_me: failed program was:" >&5
4521 sed 's/^/| /' conftest.$ac_ext >&5
4523 lt_cv_cc_needs_belf=no
4525 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4527 ac_cpp='$CPP $CPPFLAGS'
4528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4533 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4534 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4535 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4536 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4537 CFLAGS="$SAVE_CFLAGS"
4543 need_locks="$enable_libtool_lock"
4547 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4548 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4549 if test "${ac_cv_header_stdc+set}" = set; then
4550 echo $ECHO_N "(cached) $ECHO_C" >&6
4552 cat >conftest.$ac_ext <<_ACEOF
4553 #line $LINENO "configure"
4556 cat confdefs.h >>conftest.$ac_ext
4557 cat >>conftest.$ac_ext <<_ACEOF
4558 /* end confdefs.h. */
4572 rm -f conftest.$ac_objext
4573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4574 (eval $ac_compile) 2>&5
4576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4577 (exit $ac_status); } &&
4578 { ac_try='test -s conftest.$ac_objext'
4579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4583 (exit $ac_status); }; }; then
4584 ac_cv_header_stdc=yes
4586 echo "$as_me: failed program was:" >&5
4587 sed 's/^/| /' conftest.$ac_ext >&5
4589 ac_cv_header_stdc=no
4591 rm -f conftest.$ac_objext conftest.$ac_ext
4593 if test $ac_cv_header_stdc = yes; then
4594 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4595 cat >conftest.$ac_ext <<_ACEOF
4596 #line $LINENO "configure"
4599 cat confdefs.h >>conftest.$ac_ext
4600 cat >>conftest.$ac_ext <<_ACEOF
4601 /* end confdefs.h. */
4605 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4606 $EGREP "memchr" >/dev/null 2>&1; then
4609 ac_cv_header_stdc=no
4615 if test $ac_cv_header_stdc = yes; then
4616 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4617 cat >conftest.$ac_ext <<_ACEOF
4618 #line $LINENO "configure"
4621 cat confdefs.h >>conftest.$ac_ext
4622 cat >>conftest.$ac_ext <<_ACEOF
4623 /* end confdefs.h. */
4627 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4628 $EGREP "free" >/dev/null 2>&1; then
4631 ac_cv_header_stdc=no
4637 if test $ac_cv_header_stdc = yes; then
4638 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4639 if test "$cross_compiling" = yes; then
4642 cat >conftest.$ac_ext <<_ACEOF
4643 #line $LINENO "configure"
4646 cat confdefs.h >>conftest.$ac_ext
4647 cat >>conftest.$ac_ext <<_ACEOF
4648 /* end confdefs.h. */
4650 #if ((' ' & 0x0FF) == 0x020)
4651 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4652 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4654 # define ISLOWER(c) \
4655 (('a' <= (c) && (c) <= 'i') \
4656 || ('j' <= (c) && (c) <= 'r') \
4657 || ('s' <= (c) && (c) <= 'z'))
4658 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4661 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4666 for (i = 0; i < 256; i++)
4667 if (XOR (islower (i), ISLOWER (i))
4668 || toupper (i) != TOUPPER (i))
4673 rm -f conftest$ac_exeext
4674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4675 (eval $ac_link) 2>&5
4677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4678 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683 (exit $ac_status); }; }; then
4686 echo "$as_me: program exited with status $ac_status" >&5
4687 echo "$as_me: failed program was:" >&5
4688 sed 's/^/| /' conftest.$ac_ext >&5
4691 ac_cv_header_stdc=no
4693 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4697 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4698 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4699 if test $ac_cv_header_stdc = yes; then
4701 cat >>confdefs.h <<\_ACEOF
4702 #define STDC_HEADERS 1
4707 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4717 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4718 inttypes.h stdint.h unistd.h
4720 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4721 echo "$as_me:$LINENO: checking for $ac_header" >&5
4722 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4723 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4724 echo $ECHO_N "(cached) $ECHO_C" >&6
4726 cat >conftest.$ac_ext <<_ACEOF
4727 #line $LINENO "configure"
4730 cat confdefs.h >>conftest.$ac_ext
4731 cat >>conftest.$ac_ext <<_ACEOF
4732 /* end confdefs.h. */
4733 $ac_includes_default
4735 #include <$ac_header>
4737 rm -f conftest.$ac_objext
4738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4739 (eval $ac_compile) 2>&5
4741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4742 (exit $ac_status); } &&
4743 { ac_try='test -s conftest.$ac_objext'
4744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4748 (exit $ac_status); }; }; then
4749 eval "$as_ac_Header=yes"
4751 echo "$as_me: failed program was:" >&5
4752 sed 's/^/| /' conftest.$ac_ext >&5
4754 eval "$as_ac_Header=no"
4756 rm -f conftest.$ac_objext conftest.$ac_ext
4758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4759 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4760 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4761 cat >>confdefs.h <<_ACEOF
4762 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4771 for ac_header in dlfcn.h
4773 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4774 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4775 echo "$as_me:$LINENO: checking for $ac_header" >&5
4776 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4778 echo $ECHO_N "(cached) $ECHO_C" >&6
4780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4781 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4783 # Is the header compilable?
4784 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4785 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4786 cat >conftest.$ac_ext <<_ACEOF
4787 #line $LINENO "configure"
4790 cat confdefs.h >>conftest.$ac_ext
4791 cat >>conftest.$ac_ext <<_ACEOF
4792 /* end confdefs.h. */
4793 $ac_includes_default
4794 #include <$ac_header>
4796 rm -f conftest.$ac_objext
4797 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4798 (eval $ac_compile) 2>&5
4800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4801 (exit $ac_status); } &&
4802 { ac_try='test -s conftest.$ac_objext'
4803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4807 (exit $ac_status); }; }; then
4808 ac_header_compiler=yes
4810 echo "$as_me: failed program was:" >&5
4811 sed 's/^/| /' conftest.$ac_ext >&5
4813 ac_header_compiler=no
4815 rm -f conftest.$ac_objext conftest.$ac_ext
4816 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4817 echo "${ECHO_T}$ac_header_compiler" >&6
4819 # Is the header present?
4820 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4821 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4822 cat >conftest.$ac_ext <<_ACEOF
4823 #line $LINENO "configure"
4826 cat confdefs.h >>conftest.$ac_ext
4827 cat >>conftest.$ac_ext <<_ACEOF
4828 /* end confdefs.h. */
4829 #include <$ac_header>
4831 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4832 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4834 grep -v '^ *+' conftest.er1 >conftest.err
4836 cat conftest.err >&5
4837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4838 (exit $ac_status); } >/dev/null; then
4839 if test -s conftest.err; then
4840 ac_cpp_err=$ac_c_preproc_warn_flag
4847 if test -z "$ac_cpp_err"; then
4848 ac_header_preproc=yes
4850 echo "$as_me: failed program was:" >&5
4851 sed 's/^/| /' conftest.$ac_ext >&5
4853 ac_header_preproc=no
4855 rm -f conftest.err conftest.$ac_ext
4856 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4857 echo "${ECHO_T}$ac_header_preproc" >&6
4859 # So? What about this header?
4860 case $ac_header_compiler:$ac_header_preproc in
4862 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4863 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4864 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4865 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4868 ## ------------------------------------ ##
4869 ## Report this to bug-autoconf@gnu.org. ##
4870 ## ------------------------------------ ##
4873 sed "s/^/$as_me: WARNING: /" >&2
4876 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4877 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4878 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4879 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4881 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4884 ## ------------------------------------ ##
4885 ## Report this to bug-autoconf@gnu.org. ##
4886 ## ------------------------------------ ##
4889 sed "s/^/$as_me: WARNING: /" >&2
4892 echo "$as_me:$LINENO: checking for $ac_header" >&5
4893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4894 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4895 echo $ECHO_N "(cached) $ECHO_C" >&6
4897 eval "$as_ac_Header=$ac_header_preproc"
4899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4900 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4903 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4904 cat >>confdefs.h <<_ACEOF
4905 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4913 ac_cpp='$CXXCPP $CPPFLAGS'
4914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4917 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4918 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4919 if test -z "$CXXCPP"; then
4920 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4921 echo $ECHO_N "(cached) $ECHO_C" >&6
4923 # Double quotes because CXXCPP needs to be expanded
4924 for CXXCPP in "$CXX -E" "/lib/cpp"
4927 for ac_cxx_preproc_warn_flag in '' yes
4929 # Use a header file that comes with gcc, so configuring glibc
4930 # with a fresh cross-compiler works.
4931 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4932 # <limits.h> exists even on freestanding compilers.
4933 # On the NeXT, cc -E runs the code through the compiler's parser,
4934 # not just through cpp. "Syntax error" is here to catch this case.
4935 cat >conftest.$ac_ext <<_ACEOF
4936 #line $LINENO "configure"
4939 cat confdefs.h >>conftest.$ac_ext
4940 cat >>conftest.$ac_ext <<_ACEOF
4941 /* end confdefs.h. */
4943 # include <limits.h>
4945 # include <assert.h>
4949 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4950 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4952 grep -v '^ *+' conftest.er1 >conftest.err
4954 cat conftest.err >&5
4955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4956 (exit $ac_status); } >/dev/null; then
4957 if test -s conftest.err; then
4958 ac_cpp_err=$ac_cxx_preproc_warn_flag
4965 if test -z "$ac_cpp_err"; then
4968 echo "$as_me: failed program was:" >&5
4969 sed 's/^/| /' conftest.$ac_ext >&5
4971 # Broken: fails on valid input.
4974 rm -f conftest.err conftest.$ac_ext
4976 # OK, works on sane cases. Now check whether non-existent headers
4977 # can be detected and how.
4978 cat >conftest.$ac_ext <<_ACEOF
4979 #line $LINENO "configure"
4982 cat confdefs.h >>conftest.$ac_ext
4983 cat >>conftest.$ac_ext <<_ACEOF
4984 /* end confdefs.h. */
4985 #include <ac_nonexistent.h>
4987 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4988 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4990 grep -v '^ *+' conftest.er1 >conftest.err
4992 cat conftest.err >&5
4993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4994 (exit $ac_status); } >/dev/null; then
4995 if test -s conftest.err; then
4996 ac_cpp_err=$ac_cxx_preproc_warn_flag
5003 if test -z "$ac_cpp_err"; then
5004 # Broken: success on invalid input.
5007 echo "$as_me: failed program was:" >&5
5008 sed 's/^/| /' conftest.$ac_ext >&5
5010 # Passes both tests.
5014 rm -f conftest.err conftest.$ac_ext
5017 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5018 rm -f conftest.err conftest.$ac_ext
5019 if $ac_preproc_ok; then
5024 ac_cv_prog_CXXCPP=$CXXCPP
5027 CXXCPP=$ac_cv_prog_CXXCPP
5029 ac_cv_prog_CXXCPP=$CXXCPP
5031 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5032 echo "${ECHO_T}$CXXCPP" >&6
5034 for ac_cxx_preproc_warn_flag in '' yes
5036 # Use a header file that comes with gcc, so configuring glibc
5037 # with a fresh cross-compiler works.
5038 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5039 # <limits.h> exists even on freestanding compilers.
5040 # On the NeXT, cc -E runs the code through the compiler's parser,
5041 # not just through cpp. "Syntax error" is here to catch this case.
5042 cat >conftest.$ac_ext <<_ACEOF
5043 #line $LINENO "configure"
5046 cat confdefs.h >>conftest.$ac_ext
5047 cat >>conftest.$ac_ext <<_ACEOF
5048 /* end confdefs.h. */
5050 # include <limits.h>
5052 # include <assert.h>
5056 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5057 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5059 grep -v '^ *+' conftest.er1 >conftest.err
5061 cat conftest.err >&5
5062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5063 (exit $ac_status); } >/dev/null; then
5064 if test -s conftest.err; then
5065 ac_cpp_err=$ac_cxx_preproc_warn_flag
5072 if test -z "$ac_cpp_err"; then
5075 echo "$as_me: failed program was:" >&5
5076 sed 's/^/| /' conftest.$ac_ext >&5
5078 # Broken: fails on valid input.
5081 rm -f conftest.err conftest.$ac_ext
5083 # OK, works on sane cases. Now check whether non-existent headers
5084 # can be detected and how.
5085 cat >conftest.$ac_ext <<_ACEOF
5086 #line $LINENO "configure"
5089 cat confdefs.h >>conftest.$ac_ext
5090 cat >>conftest.$ac_ext <<_ACEOF
5091 /* end confdefs.h. */
5092 #include <ac_nonexistent.h>
5094 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5095 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5097 grep -v '^ *+' conftest.er1 >conftest.err
5099 cat conftest.err >&5
5100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5101 (exit $ac_status); } >/dev/null; then
5102 if test -s conftest.err; then
5103 ac_cpp_err=$ac_cxx_preproc_warn_flag
5110 if test -z "$ac_cpp_err"; then
5111 # Broken: success on invalid input.
5114 echo "$as_me: failed program was:" >&5
5115 sed 's/^/| /' conftest.$ac_ext >&5
5117 # Passes both tests.
5121 rm -f conftest.err conftest.$ac_ext
5124 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5125 rm -f conftest.err conftest.$ac_ext
5126 if $ac_preproc_ok; then
5129 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5130 See \`config.log' for more details." >&5
5131 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5132 See \`config.log' for more details." >&2;}
5133 { (exit 1); exit 1; }; }
5137 ac_cpp='$CXXCPP $CPPFLAGS'
5138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5144 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5145 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5146 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5147 if test -n "$ac_tool_prefix"; then
5148 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5150 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5151 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5152 echo "$as_me:$LINENO: checking for $ac_word" >&5
5153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5154 if test "${ac_cv_prog_F77+set}" = set; then
5155 echo $ECHO_N "(cached) $ECHO_C" >&6
5157 if test -n "$F77"; then
5158 ac_cv_prog_F77="$F77" # Let the user override the test.
5160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5164 test -z "$as_dir" && as_dir=.
5165 for ac_exec_ext in '' $ac_executable_extensions; do
5166 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5167 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5177 if test -n "$F77"; then
5178 echo "$as_me:$LINENO: result: $F77" >&5
5179 echo "${ECHO_T}$F77" >&6
5181 echo "$as_me:$LINENO: result: no" >&5
5182 echo "${ECHO_T}no" >&6
5185 test -n "$F77" && break
5188 if test -z "$F77"; then
5190 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5192 # Extract the first word of "$ac_prog", so it can be a program name with args.
5193 set dummy $ac_prog; ac_word=$2
5194 echo "$as_me:$LINENO: checking for $ac_word" >&5
5195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5196 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5197 echo $ECHO_N "(cached) $ECHO_C" >&6
5199 if test -n "$ac_ct_F77"; then
5200 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5206 test -z "$as_dir" && as_dir=.
5207 for ac_exec_ext in '' $ac_executable_extensions; do
5208 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5209 ac_cv_prog_ac_ct_F77="$ac_prog"
5210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5218 ac_ct_F77=$ac_cv_prog_ac_ct_F77
5219 if test -n "$ac_ct_F77"; then
5220 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5221 echo "${ECHO_T}$ac_ct_F77" >&6
5223 echo "$as_me:$LINENO: result: no" >&5
5224 echo "${ECHO_T}no" >&6
5227 test -n "$ac_ct_F77" && break
5234 # Provide some information about the compiler.
5235 echo "$as_me:5235:" \
5236 "checking for Fortran 77 compiler version" >&5
5237 ac_compiler=`set X $ac_compile; echo $2`
5238 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5239 (eval $ac_compiler --version </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); }
5248 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5249 (eval $ac_compiler -V </dev/null >&5) 2>&5
5251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5252 (exit $ac_status); }
5254 # If we don't use `.F' as extension, the preprocessor is not run on the
5258 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5259 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5260 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5261 echo $ECHO_N "(cached) $ECHO_C" >&6
5263 cat >conftest.$ac_ext <<_ACEOF
5271 rm -f conftest.$ac_objext
5272 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5273 (eval $ac_compile) 2>&5
5275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5276 (exit $ac_status); } &&
5277 { ac_try='test -s conftest.$ac_objext'
5278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5282 (exit $ac_status); }; }; then
5285 echo "$as_me: failed program was:" >&5
5286 sed 's/^/| /' conftest.$ac_ext >&5
5290 rm -f conftest.$ac_objext conftest.$ac_ext
5291 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5294 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5295 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5297 G77=`test $ac_compiler_gnu = yes && echo yes`
5298 ac_test_FFLAGS=${FFLAGS+set}
5299 ac_save_FFLAGS=$FFLAGS
5301 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5302 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5303 if test "${ac_cv_prog_f77_g+set}" = set; then
5304 echo $ECHO_N "(cached) $ECHO_C" >&6
5307 cat >conftest.$ac_ext <<_ACEOF
5312 rm -f conftest.$ac_objext
5313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5314 (eval $ac_compile) 2>&5
5316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5317 (exit $ac_status); } &&
5318 { ac_try='test -s conftest.$ac_objext'
5319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5323 (exit $ac_status); }; }; then
5324 ac_cv_prog_f77_g=yes
5326 echo "$as_me: failed program was:" >&5
5327 sed 's/^/| /' conftest.$ac_ext >&5
5331 rm -f conftest.$ac_objext conftest.$ac_ext
5334 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5335 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5336 if test "$ac_test_FFLAGS" = set; then
5337 FFLAGS=$ac_save_FFLAGS
5338 elif test $ac_cv_prog_f77_g = yes; then
5339 if test "$G77" = yes; then
5345 if test "$G77" = yes; then
5352 ac_cpp='$CPP $CPPFLAGS'
5353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5359 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5361 # find the maximum length of command line arguments
5362 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5363 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5364 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5365 echo $ECHO_N "(cached) $ECHO_C" >&6
5372 # On DJGPP, this test can blow up pretty badly due to problems in libc
5373 # (any single argument exceeding 2000 bytes causes a buffer overrun
5374 # during glob expansion). Even if it were fixed, the result of this
5375 # check would be larger than it should be.
5376 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5380 # Under GNU Hurd, this test is not required because there is
5381 # no limit to the length of command line arguments.
5382 # Libtool will interpret -1 as no limit whatsoever
5383 lt_cv_sys_max_cmd_len=-1;
5387 # On Win9x/ME, this test blows up -- it succeeds, but takes
5388 # about 5 minutes as the teststring grows exponentially.
5389 # Worse, since 9x/ME are not pre-emptively multitasking,
5390 # you end up with a "frozen" computer, even though with patience
5391 # the test eventually succeeds (with a max line length of 256k).
5392 # Instead, let's just punt: use the minimum linelength reported by
5393 # all of the supported platforms: 8192 (on NT/2K/XP).
5394 lt_cv_sys_max_cmd_len=8192;
5398 # If test is not a shell built-in, we'll probably end up computing a
5399 # maximum length that is only half of the actual maximum length, but
5401 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5402 = "XX$testring") >/dev/null 2>&1 &&
5403 new_result=`expr "X$testring" : ".*" 2>&1` &&
5404 lt_cv_sys_max_cmd_len=$new_result &&
5405 test $i != 17 # 1/2 MB should be enough
5408 testring=$testring$testring
5411 # Add a significant safety factor because C++ compilers can tack on massive
5412 # amounts of additional arguments before passing them to the linker.
5413 # It appears as though 1/2 is a usable value.
5414 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5420 if test -n $lt_cv_sys_max_cmd_len ; then
5421 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5422 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5424 echo "$as_me:$LINENO: result: none" >&5
5425 echo "${ECHO_T}none" >&6
5431 # Check for command to grab the raw symbol name followed by C symbol from nm.
5432 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5433 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5434 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5435 echo $ECHO_N "(cached) $ECHO_C" >&6
5438 # These are sane defaults that work on at least a few old systems.
5439 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5441 # Character class describing NM global symbol codes.
5442 symcode='[BCDEGRST]'
5444 # Regexp to match symbols that can be accessed directly from C.
5445 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5447 # Transform the above into a raw symbol and a C symbol.
5448 symxfrm='\1 \2\3 \3'
5450 # Transform an extracted symbol line into a proper C declaration
5451 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5453 # Transform an extracted symbol line into symbol name and symbol address
5454 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'"
5456 # Define system-specific variables.
5461 cygwin* | mingw* | pw32*)
5462 symcode='[ABCDGISTW]'
5464 hpux*) # Its linker distinguishes data from code symbols
5465 if test "$host_cpu" = ia64; then
5466 symcode='[ABCDEGRST]'
5468 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5469 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'"
5472 symcode='[BCDEGRST]'
5475 symcode='[BCDEGQRST]'
5485 # Handle CRLF in mingw tool chain
5489 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5493 # If we're using GNU nm, then use its standard symbol codes.
5494 case `$NM -V 2>&1` in
5495 *GNU* | *'with BFD'*)
5496 symcode='[ABCDGISTW]' ;;
5499 # Try without a prefix undercore, then with it.
5500 for ac_symprfx in "" "_"; do
5502 # Write the raw and C identifiers.
5503 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5505 # Check to see that the pipe works correctly.
5509 cat > conftest.$ac_ext <<EOF
5514 void nm_test_func(){}
5518 int main(){nm_test_var='a';nm_test_func();return(0);}
5521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5522 (eval $ac_compile) 2>&5
5524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5525 (exit $ac_status); }; then
5526 # Now try to grab the symbols.
5528 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5529 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5532 (exit $ac_status); } && test -s "$nlist"; then
5533 # Try sorting and uniquifying the output.
5534 if sort "$nlist" | uniq > "$nlist"T; then
5535 mv -f "$nlist"T "$nlist"
5540 # Make sure that we snagged all the symbols we need.
5541 if grep ' nm_test_var$' "$nlist" >/dev/null; then
5542 if grep ' nm_test_func$' "$nlist" >/dev/null; then
5543 cat <<EOF > conftest.$ac_ext
5549 # Now generate the symbol file.
5550 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5552 cat <<EOF >> conftest.$ac_ext
5553 #if defined (__STDC__) && __STDC__
5554 # define lt_ptr_t void *
5556 # define lt_ptr_t char *
5560 /* The mapping between symbol names and symbols. */
5565 lt_preloaded_symbols[] =
5568 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5569 cat <<\EOF >> conftest.$ac_ext
5577 # Now try linking the two files.
5578 mv conftest.$ac_objext conftstm.$ac_objext
5579 lt_save_LIBS="$LIBS"
5580 lt_save_CFLAGS="$CFLAGS"
5581 LIBS="conftstm.$ac_objext"
5582 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5584 (eval $ac_link) 2>&5
5586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5587 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5590 LIBS="$lt_save_LIBS"
5591 CFLAGS="$lt_save_CFLAGS"
5593 echo "cannot find nm_test_func in $nlist" >&5
5596 echo "cannot find nm_test_var in $nlist" >&5
5599 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5602 echo "$progname: failed program was:" >&5
5603 cat conftest.$ac_ext >&5
5605 rm -f conftest* conftst*
5607 # Do not use the global_symbol_pipe unless it works.
5608 if test "$pipe_works" = yes; then
5611 lt_cv_sys_global_symbol_pipe=
5617 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5618 lt_cv_sys_global_symbol_to_cdecl=
5620 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5621 echo "$as_me:$LINENO: result: failed" >&5
5622 echo "${ECHO_T}failed" >&6
5624 echo "$as_me:$LINENO: result: ok" >&5
5625 echo "${ECHO_T}ok" >&6
5628 echo "$as_me:$LINENO: checking for objdir" >&5
5629 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5630 if test "${lt_cv_objdir+set}" = set; then
5631 echo $ECHO_N "(cached) $ECHO_C" >&6
5633 rm -f .libs 2>/dev/null
5634 mkdir .libs 2>/dev/null
5635 if test -d .libs; then
5638 # MS-DOS does not allow filenames that begin with a dot.
5641 rmdir .libs 2>/dev/null
5643 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5644 echo "${ECHO_T}$lt_cv_objdir" >&6
5645 objdir=$lt_cv_objdir
5653 # AIX sometimes has problems with the GCC collect2 program. For some
5654 # reason, if we set the COLLECT_NAMES environment variable, the problems
5655 # vanish in a puff of smoke.
5656 if test "X${COLLECT_NAMES+set}" != Xset; then
5658 export COLLECT_NAMES
5663 # Sed substitution that helps us do robust quoting. It backslashifies
5664 # metacharacters that are still active within double-quoted strings.
5665 Xsed='sed -e s/^X//'
5666 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5668 # Same as above, but do not quote variable references.
5669 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5671 # Sed substitution to delay expansion of an escaped shell variable in a
5672 # double_quote_subst'ed string.
5673 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5675 # Sed substitution to avoid accidental globbing in evaled expressions
5676 no_glob_subst='s/\*/\\\*/g'
5683 can_build_shared=yes
5685 # All known linkers require a `.a' archive for static linking (except M$VC,
5686 # which needs '.lib').
5688 ltmain="$ac_aux_dir/ltmain.sh"
5689 ofile="$default_ofile"
5690 with_gnu_ld="$lt_cv_prog_gnu_ld"
5692 if test -n "$ac_tool_prefix"; then
5693 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5694 set dummy ${ac_tool_prefix}ar; ac_word=$2
5695 echo "$as_me:$LINENO: checking for $ac_word" >&5
5696 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5697 if test "${ac_cv_prog_AR+set}" = set; then
5698 echo $ECHO_N "(cached) $ECHO_C" >&6
5700 if test -n "$AR"; then
5701 ac_cv_prog_AR="$AR" # Let the user override the test.
5703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5707 test -z "$as_dir" && as_dir=.
5708 for ac_exec_ext in '' $ac_executable_extensions; do
5709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5710 ac_cv_prog_AR="${ac_tool_prefix}ar"
5711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5720 if test -n "$AR"; then
5721 echo "$as_me:$LINENO: result: $AR" >&5
5722 echo "${ECHO_T}$AR" >&6
5724 echo "$as_me:$LINENO: result: no" >&5
5725 echo "${ECHO_T}no" >&6
5729 if test -z "$ac_cv_prog_AR"; then
5731 # Extract the first word of "ar", so it can be a program name with args.
5732 set dummy ar; ac_word=$2
5733 echo "$as_me:$LINENO: checking for $ac_word" >&5
5734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5735 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5736 echo $ECHO_N "(cached) $ECHO_C" >&6
5738 if test -n "$ac_ct_AR"; then
5739 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5745 test -z "$as_dir" && as_dir=.
5746 for ac_exec_ext in '' $ac_executable_extensions; do
5747 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5748 ac_cv_prog_ac_ct_AR="ar"
5749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5755 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5758 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5759 if test -n "$ac_ct_AR"; then
5760 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5761 echo "${ECHO_T}$ac_ct_AR" >&6
5763 echo "$as_me:$LINENO: result: no" >&5
5764 echo "${ECHO_T}no" >&6
5772 if test -n "$ac_tool_prefix"; then
5773 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5774 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5775 echo "$as_me:$LINENO: checking for $ac_word" >&5
5776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5777 if test "${ac_cv_prog_RANLIB+set}" = set; then
5778 echo $ECHO_N "(cached) $ECHO_C" >&6
5780 if test -n "$RANLIB"; then
5781 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5787 test -z "$as_dir" && as_dir=.
5788 for ac_exec_ext in '' $ac_executable_extensions; do
5789 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5790 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5799 RANLIB=$ac_cv_prog_RANLIB
5800 if test -n "$RANLIB"; then
5801 echo "$as_me:$LINENO: result: $RANLIB" >&5
5802 echo "${ECHO_T}$RANLIB" >&6
5804 echo "$as_me:$LINENO: result: no" >&5
5805 echo "${ECHO_T}no" >&6
5809 if test -z "$ac_cv_prog_RANLIB"; then
5810 ac_ct_RANLIB=$RANLIB
5811 # Extract the first word of "ranlib", so it can be a program name with args.
5812 set dummy ranlib; ac_word=$2
5813 echo "$as_me:$LINENO: checking for $ac_word" >&5
5814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5815 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5816 echo $ECHO_N "(cached) $ECHO_C" >&6
5818 if test -n "$ac_ct_RANLIB"; then
5819 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5825 test -z "$as_dir" && as_dir=.
5826 for ac_exec_ext in '' $ac_executable_extensions; do
5827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5828 ac_cv_prog_ac_ct_RANLIB="ranlib"
5829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5835 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5838 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5839 if test -n "$ac_ct_RANLIB"; then
5840 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5841 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5843 echo "$as_me:$LINENO: result: no" >&5
5844 echo "${ECHO_T}no" >&6
5847 RANLIB=$ac_ct_RANLIB
5849 RANLIB="$ac_cv_prog_RANLIB"
5852 if test -n "$ac_tool_prefix"; then
5853 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5854 set dummy ${ac_tool_prefix}strip; ac_word=$2
5855 echo "$as_me:$LINENO: checking for $ac_word" >&5
5856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5857 if test "${ac_cv_prog_STRIP+set}" = set; then
5858 echo $ECHO_N "(cached) $ECHO_C" >&6
5860 if test -n "$STRIP"; then
5861 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5867 test -z "$as_dir" && as_dir=.
5868 for ac_exec_ext in '' $ac_executable_extensions; do
5869 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5870 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5879 STRIP=$ac_cv_prog_STRIP
5880 if test -n "$STRIP"; then
5881 echo "$as_me:$LINENO: result: $STRIP" >&5
5882 echo "${ECHO_T}$STRIP" >&6
5884 echo "$as_me:$LINENO: result: no" >&5
5885 echo "${ECHO_T}no" >&6
5889 if test -z "$ac_cv_prog_STRIP"; then
5891 # Extract the first word of "strip", so it can be a program name with args.
5892 set dummy strip; ac_word=$2
5893 echo "$as_me:$LINENO: checking for $ac_word" >&5
5894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5895 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5896 echo $ECHO_N "(cached) $ECHO_C" >&6
5898 if test -n "$ac_ct_STRIP"; then
5899 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5905 test -z "$as_dir" && as_dir=.
5906 for ac_exec_ext in '' $ac_executable_extensions; do
5907 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5908 ac_cv_prog_ac_ct_STRIP="strip"
5909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5915 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5918 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5919 if test -n "$ac_ct_STRIP"; then
5920 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5921 echo "${ECHO_T}$ac_ct_STRIP" >&6
5923 echo "$as_me:$LINENO: result: no" >&5
5924 echo "${ECHO_T}no" >&6
5929 STRIP="$ac_cv_prog_STRIP"
5934 old_CFLAGS="$CFLAGS"
5936 # Set sane defaults for various variables
5937 test -z "$AR" && AR=ar
5938 test -z "$AR_FLAGS" && AR_FLAGS=cru
5939 test -z "$AS" && AS=as
5940 test -z "$CC" && CC=cc
5941 test -z "$LTCC" && LTCC=$CC
5942 test -z "$DLLTOOL" && DLLTOOL=dlltool
5943 test -z "$LD" && LD=ld
5944 test -z "$LN_S" && LN_S="ln -s"
5945 test -z "$MAGIC_CMD" && MAGIC_CMD=file
5946 test -z "$NM" && NM=nm
5947 test -z "$SED" && SED=sed
5948 test -z "$OBJDUMP" && OBJDUMP=objdump
5949 test -z "$RANLIB" && RANLIB=:
5950 test -z "$STRIP" && STRIP=:
5951 test -z "$ac_objext" && ac_objext=o
5953 # Determine commands to create old-style static archives.
5954 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5955 old_postinstall_cmds='chmod 644 $oldlib'
5956 old_postuninstall_cmds=
5958 if test -n "$RANLIB"; then
5961 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
5964 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
5967 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5970 # Only perform the check for file, if the check method requires it
5971 case $deplibs_check_method in
5973 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
5974 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
5975 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
5976 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
5977 echo $ECHO_N "(cached) $ECHO_C" >&6
5981 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
5984 lt_save_MAGIC_CMD="$MAGIC_CMD"
5985 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5986 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
5987 for ac_dir in $ac_dummy; do
5989 test -z "$ac_dir" && ac_dir=.
5990 if test -f $ac_dir/${ac_tool_prefix}file; then
5991 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
5992 if test -n "$file_magic_test_file"; then
5993 case $deplibs_check_method in
5995 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
5996 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5997 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5998 $EGREP "$file_magic_regex" > /dev/null; then
6003 *** Warning: the command libtool uses to detect shared libraries,
6004 *** $file_magic_cmd, produces output that libtool cannot recognize.
6005 *** The result is that libtool may fail to recognize shared libraries
6006 *** as such. This will affect the creation of libtool libraries that
6007 *** depend on shared libraries, but programs linked with such libtool
6008 *** libraries will work regardless of this problem. Nevertheless, you
6009 *** may want to report the problem to your system manager and/or to
6010 *** bug-libtool@gnu.org
6020 MAGIC_CMD="$lt_save_MAGIC_CMD"
6025 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6026 if test -n "$MAGIC_CMD"; then
6027 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6028 echo "${ECHO_T}$MAGIC_CMD" >&6
6030 echo "$as_me:$LINENO: result: no" >&5
6031 echo "${ECHO_T}no" >&6
6034 if test -z "$lt_cv_path_MAGIC_CMD"; then
6035 if test -n "$ac_tool_prefix"; then
6036 echo "$as_me:$LINENO: checking for file" >&5
6037 echo $ECHO_N "checking for file... $ECHO_C" >&6
6038 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6039 echo $ECHO_N "(cached) $ECHO_C" >&6
6043 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6046 lt_save_MAGIC_CMD="$MAGIC_CMD"
6047 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6048 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6049 for ac_dir in $ac_dummy; do
6051 test -z "$ac_dir" && ac_dir=.
6052 if test -f $ac_dir/file; then
6053 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6054 if test -n "$file_magic_test_file"; then
6055 case $deplibs_check_method in
6057 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6058 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6059 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6060 $EGREP "$file_magic_regex" > /dev/null; then
6065 *** Warning: the command libtool uses to detect shared libraries,
6066 *** $file_magic_cmd, produces output that libtool cannot recognize.
6067 *** The result is that libtool may fail to recognize shared libraries
6068 *** as such. This will affect the creation of libtool libraries that
6069 *** depend on shared libraries, but programs linked with such libtool
6070 *** libraries will work regardless of this problem. Nevertheless, you
6071 *** may want to report the problem to your system manager and/or to
6072 *** bug-libtool@gnu.org
6082 MAGIC_CMD="$lt_save_MAGIC_CMD"
6087 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6088 if test -n "$MAGIC_CMD"; then
6089 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6090 echo "${ECHO_T}$MAGIC_CMD" >&6
6092 echo "$as_me:$LINENO: result: no" >&5
6093 echo "${ECHO_T}no" >&6
6108 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6109 if test "${enable_libtool_lock+set}" = set; then
6110 enableval="$enable_libtool_lock"
6113 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6116 # Check whether --with-pic or --without-pic was given.
6117 if test "${with_pic+set}" = set; then
6123 test -z "$pic_mode" && pic_mode=default
6125 # Use C for the default configuration in the libtool script
6129 ac_cpp='$CPP $CPPFLAGS'
6130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6135 # Source file extension for C test sources.
6138 # Object file extension for compiled C test sources.
6142 # Code to be used in simple compile tests
6143 lt_simple_compile_test_code="int some_variable = 0;\n"
6145 # Code to be used in simple link tests
6146 lt_simple_link_test_code='int main(){return(0);}\n'
6149 # If no C compiler was specified, use CC.
6152 # Allow CC to be a program name with arguments.
6157 # Check for any special shared library compilation flags.
6160 if test "$GCC" = no; then
6163 lt_prog_cc_shlib='-belf'
6167 if test -n "$lt_prog_cc_shlib"; then
6168 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6169 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6170 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
6172 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6173 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6174 lt_cv_prog_cc_can_build_shared=no
6180 # Check to make sure the static flag actually works.
6182 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6183 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6184 if test "${lt_prog_compiler_static_works+set}" = set; then
6185 echo $ECHO_N "(cached) $ECHO_C" >&6
6187 lt_prog_compiler_static_works=no
6188 save_LDFLAGS="$LDFLAGS"
6189 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6190 printf "$lt_simple_link_test_code" > conftest.$ac_ext
6191 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6192 # The compiler can only warn and ignore the option if not recognized
6193 # So say no if there are warnings
6194 if test -s conftest.err; then
6195 # Append any errors to the config.log.
6196 cat conftest.err 1>&5
6198 lt_prog_compiler_static_works=yes
6202 LDFLAGS="$save_LDFLAGS"
6205 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6206 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6208 if test x"$lt_prog_compiler_static_works" = xyes; then
6211 lt_prog_compiler_static=
6217 ## There is no encapsulation within the following macros, do not change
6218 ## the running order or otherwise move them around unless you know exactly
6219 ## what you are doing...
6221 lt_prog_compiler_no_builtin_flag=
6223 if test "$GCC" = yes; then
6224 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6226 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6227 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6228 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6229 echo $ECHO_N "(cached) $ECHO_C" >&6
6231 lt_cv_prog_compiler_rtti_exceptions=no
6232 ac_outfile=conftest.$ac_objext
6233 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6234 lt_compiler_flag="-fno-rtti -fno-exceptions"
6235 # Insert the option either (1) after the last *FLAGS variable, or
6236 # (2) before a word containing "conftest.", or (3) at the end.
6237 # Note that $ac_compile itself does not contain backslashes and begins
6238 # with a dollar sign (not a hyphen), so the echo should work correctly.
6239 # The option is referenced via a variable to avoid confusing sed.
6240 lt_compile=`echo "$ac_compile" | $SED \
6241 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6242 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6243 -e 's:$: $lt_compiler_flag:'`
6244 (eval echo "\"\$as_me:6244: $lt_compile\"" >&5)
6245 (eval "$lt_compile" 2>conftest.err)
6247 cat conftest.err >&5
6248 echo "$as_me:6248: \$? = $ac_status" >&5
6249 if (exit $ac_status) && test -s "$ac_outfile"; then
6250 # The compiler can only warn and ignore the option if not recognized
6251 # So say no if there are warnings
6252 if test ! -s conftest.err; then
6253 lt_cv_prog_compiler_rtti_exceptions=yes
6259 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6260 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6262 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6263 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6270 lt_prog_compiler_wl=
6271 lt_prog_compiler_pic=
6272 lt_prog_compiler_static=
6274 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6275 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6277 if test "$GCC" = yes; then
6278 lt_prog_compiler_wl='-Wl,'
6279 lt_prog_compiler_static='-static'
6283 # All AIX code is PIC.
6284 if test "$host_cpu" = ia64; then
6285 # AIX 5 now supports IA64 processor
6286 lt_prog_compiler_static='-Bstatic'
6291 # FIXME: we need at least 68020 code to build shared libraries, but
6292 # adding the `-m68020' flag to GCC prevents building anything better,
6294 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6297 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6298 # PIC is the default for these OSes.
6301 mingw* | pw32* | os2*)
6302 # This hack is so that the source file can tell whether it is being
6303 # built for inclusion in a dll (and should export symbols for example).
6304 lt_prog_compiler_pic='-DDLL_EXPORT'
6307 darwin* | rhapsody*)
6308 # PIC is the default on this platform
6309 # Common symbols not allowed in MH_DYLIB files
6310 lt_prog_compiler_pic='-fno-common'
6314 # Just because we use GCC doesn't mean we suddenly get shared libraries
6315 # on systems that don't support them.
6316 lt_prog_compiler_can_build_shared=no
6321 if test -d /usr/nec; then
6322 lt_prog_compiler_pic=-Kconform_pic
6327 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6334 lt_prog_compiler_pic='-fPIC'
6340 lt_prog_compiler_pic='-fPIC'
6344 # PORTME Check for flag to pass linker flags through the system compiler.
6347 lt_prog_compiler_wl='-Wl,'
6348 if test "$host_cpu" = ia64; then
6349 # AIX 5 now supports IA64 processor
6350 lt_prog_compiler_static='-Bstatic'
6352 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6356 mingw* | pw32* | os2*)
6357 # This hack is so that the source file can tell whether it is being
6358 # built for inclusion in a dll (and should export symbols for example).
6359 lt_prog_compiler_pic='-DDLL_EXPORT'
6362 hpux9* | hpux10* | hpux11*)
6363 lt_prog_compiler_wl='-Wl,'
6364 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6371 lt_prog_compiler_pic='+Z'
6374 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6375 lt_prog_compiler_static='${wl}-a ${wl}archive'
6378 irix5* | irix6* | nonstopux*)
6379 lt_prog_compiler_wl='-Wl,'
6380 # PIC (with -KPIC) is the default.
6381 lt_prog_compiler_static='-non_shared'
6385 lt_prog_compiler_pic='-KPIC'
6386 lt_prog_compiler_static='-Bstatic'
6392 lt_prog_compiler_wl='-Wl,'
6393 lt_prog_compiler_pic='-KPIC'
6394 lt_prog_compiler_static='-static'
6397 lt_prog_compiler_wl='-Wl,'
6398 # All Alpha code is PIC.
6399 lt_prog_compiler_static='-non_shared'
6404 osf3* | osf4* | osf5*)
6405 lt_prog_compiler_wl='-Wl,'
6406 # All OSF/1 code is PIC.
6407 lt_prog_compiler_static='-non_shared'
6411 lt_prog_compiler_pic='-Kpic'
6412 lt_prog_compiler_static='-dn'
6416 lt_prog_compiler_wl='-Wl,'
6417 lt_prog_compiler_pic='-KPIC'
6418 lt_prog_compiler_static='-Bstatic'
6422 lt_prog_compiler_wl='-Qoption ld '
6423 lt_prog_compiler_pic='-PIC'
6424 lt_prog_compiler_static='-Bstatic'
6427 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6428 lt_prog_compiler_wl='-Wl,'
6429 lt_prog_compiler_pic='-KPIC'
6430 lt_prog_compiler_static='-Bstatic'
6434 if test -d /usr/nec ;then
6435 lt_prog_compiler_pic='-Kconform_pic'
6436 lt_prog_compiler_static='-Bstatic'
6441 lt_prog_compiler_pic='-pic'
6442 lt_prog_compiler_static='-Bstatic'
6446 lt_prog_compiler_can_build_shared=no
6451 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6452 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6455 # Check to make sure the PIC flag actually works.
6457 if test -n "$lt_prog_compiler_pic"; then
6458 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6459 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6460 if test "${lt_prog_compiler_pic_works+set}" = set; then
6461 echo $ECHO_N "(cached) $ECHO_C" >&6
6463 lt_prog_compiler_pic_works=no
6464 ac_outfile=conftest.$ac_objext
6465 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6466 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6467 # Insert the option either (1) after the last *FLAGS variable, or
6468 # (2) before a word containing "conftest.", or (3) at the end.
6469 # Note that $ac_compile itself does not contain backslashes and begins
6470 # with a dollar sign (not a hyphen), so the echo should work correctly.
6471 # The option is referenced via a variable to avoid confusing sed.
6472 lt_compile=`echo "$ac_compile" | $SED \
6473 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6474 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6475 -e 's:$: $lt_compiler_flag:'`
6476 (eval echo "\"\$as_me:6476: $lt_compile\"" >&5)
6477 (eval "$lt_compile" 2>conftest.err)
6479 cat conftest.err >&5
6480 echo "$as_me:6480: \$? = $ac_status" >&5
6481 if (exit $ac_status) && test -s "$ac_outfile"; then
6482 # The compiler can only warn and ignore the option if not recognized
6483 # So say no if there are warnings
6484 if test ! -s conftest.err; then
6485 lt_prog_compiler_pic_works=yes
6491 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6492 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6494 if test x"$lt_prog_compiler_pic_works" = xyes; then
6495 case $lt_prog_compiler_pic in
6497 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6500 lt_prog_compiler_pic=
6501 lt_prog_compiler_can_build_shared=no
6506 # For platforms which do not support PIC, -DPIC is meaningless:
6508 lt_prog_compiler_pic=
6511 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6515 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6516 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6517 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6518 echo $ECHO_N "(cached) $ECHO_C" >&6
6520 lt_cv_prog_compiler_c_o=no
6521 $rm -r conftest 2>/dev/null
6525 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6527 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6528 # that will create temporary files in the current directory regardless of
6529 # the output directory. Thus, making CWD read-only will cause this test
6530 # to fail, enabling locking or at least warning the user not to do parallel
6534 lt_compiler_flag="-o out/conftest2.$ac_objext"
6535 # Insert the option either (1) after the last *FLAGS variable, or
6536 # (2) before a word containing "conftest.", or (3) at the end.
6537 # Note that $ac_compile itself does not contain backslashes and begins
6538 # with a dollar sign (not a hyphen), so the echo should work correctly.
6539 lt_compile=`echo "$ac_compile" | $SED \
6540 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6541 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6542 -e 's:$: $lt_compiler_flag:'`
6543 (eval echo "\"\$as_me:6543: $lt_compile\"" >&5)
6544 (eval "$lt_compile" 2>out/conftest.err)
6546 cat out/conftest.err >&5
6547 echo "$as_me:6547: \$? = $ac_status" >&5
6548 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6550 # The compiler can only warn and ignore the option if not recognized
6551 # So say no if there are warnings
6552 if test ! -s out/conftest.err; then
6553 lt_cv_prog_compiler_c_o=yes
6564 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6565 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6568 hard_links="nottested"
6569 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6570 # do not overwrite the value of need_locks provided by the user
6571 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6572 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6575 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6577 ln conftest.a conftest.b 2>&5 || hard_links=no
6578 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6579 echo "$as_me:$LINENO: result: $hard_links" >&5
6580 echo "${ECHO_T}$hard_links" >&6
6581 if test "$hard_links" = no; then
6582 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6583 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6590 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6591 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6594 allow_undefined_flag=
6595 enable_shared_with_static_runtimes=no
6597 archive_expsym_cmds=
6598 old_archive_From_new_cmds=
6599 old_archive_from_expsyms_cmds=
6600 export_dynamic_flag_spec=
6601 whole_archive_flag_spec=
6602 thread_safe_flag_spec=
6603 hardcode_libdir_flag_spec=
6604 hardcode_libdir_flag_spec_ld=
6605 hardcode_libdir_separator=
6608 hardcode_shlibpath_var=unsupported
6609 link_all_deplibs=unknown
6610 hardcode_automatic=no
6613 always_export_symbols=no
6614 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6615 # include_expsyms should be a list of space-separated symbols to be *always*
6616 # included in the symbol list
6618 # exclude_expsyms can be an extended regexp of symbols to exclude
6619 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6620 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6621 # as well as any symbol that contains `d'.
6622 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6623 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6624 # platforms (ab)use it in PIC code, but their linkers get confused if
6625 # the symbol is explicitly referenced. Since portable code cannot
6626 # rely on this symbol name, it's probably fine to never include it in
6627 # preloaded symbol tables.
6628 extract_expsyms_cmds=
6631 cygwin* | mingw* | pw32*)
6632 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6633 # When not using gcc, we currently assume that we are using
6634 # Microsoft Visual C++.
6635 if test "$GCC" != yes; then
6645 if test "$with_gnu_ld" = yes; then
6646 # If archive_cmds runs LD, not CC, wlarc should be empty
6649 # See if GNU ld supports shared libraries.
6651 aix3* | aix4* | aix5*)
6652 # On AIX/PPC, the GNU linker is very broken
6653 if test "$host_cpu" != ia64; then
6657 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6658 *** to be unable to reliably create shared libraries on AIX.
6659 *** Therefore, libtool is disabling shared libraries support. If you
6660 *** really care for shared libraries, you may want to modify your PATH
6661 *** so that a non-GNU linker is found, and then restart.
6668 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)'
6669 hardcode_libdir_flag_spec='-L$libdir'
6670 hardcode_minus_L=yes
6672 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6673 # that the semantics of dynamic libraries on AmigaOS, at least up
6674 # to version 4, is to share data among multiple programs linked
6675 # with the same dynamic library. Since this doesn't match the
6676 # behavior of shared libraries on other platforms, we can't use
6682 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6683 allow_undefined_flag=unsupported
6684 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6685 # support --undefined. This deserves some investigation. FIXME
6686 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6692 cygwin* | mingw* | pw32*)
6693 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6694 # as there is no search path for DLLs.
6695 hardcode_libdir_flag_spec='-L$libdir'
6696 allow_undefined_flag=unsupported
6697 always_export_symbols=no
6698 enable_shared_with_static_runtimes=yes
6699 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6701 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6702 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6703 # If the export-symbols file already is a .def file (1st line
6704 # is EXPORTS), use it as is; otherwise, prepend...
6705 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6706 cp $export_symbols $output_objdir/$soname.def;
6708 echo EXPORTS > $output_objdir/$soname.def;
6709 cat $export_symbols >> $output_objdir/$soname.def;
6711 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6718 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6719 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6722 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6723 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6728 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6732 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6733 *** create shared libraries on Solaris systems. Therefore, libtool
6734 *** is disabling shared libraries support. We urge you to upgrade GNU
6735 *** binutils to release 2.9.1 or newer. Another option is to modify
6736 *** your PATH or compiler configuration so that the native linker is
6737 *** used, and then restart.
6740 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6741 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6742 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6749 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6752 hardcode_shlibpath_var=no
6756 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6757 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6758 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6765 if test "$ld_shlibs" = yes; then
6766 runpath_var=LD_RUN_PATH
6767 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6768 export_dynamic_flag_spec='${wl}--export-dynamic'
6769 # ancient GNU ld didn't support --whole-archive et. al.
6770 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6771 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6773 whole_archive_flag_spec=
6777 # PORTME fill in a description of your system's linker (not GNU ld)
6780 allow_undefined_flag=unsupported
6781 always_export_symbols=yes
6782 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'
6783 # Note: this linker hardcodes the directories in LIBPATH if there
6784 # are no directories specified by -L.
6785 hardcode_minus_L=yes
6786 if test "$GCC" = yes && test -z "$link_static_flag"; then
6787 # Neither direct hardcoding nor static linking is supported with a
6789 hardcode_direct=unsupported
6794 if test "$host_cpu" = ia64; then
6795 # On IA64, the linker does run time linking by default, so we don't
6796 # have to do anything special.
6797 aix_use_runtimelinking=no
6798 exp_sym_flag='-Bexport'
6801 # If we're using GNU nm, then we don't want the "-C" option.
6802 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6803 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6804 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'
6806 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'
6808 aix_use_runtimelinking=no
6810 # Test if we are trying to use run time linking or normal
6811 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6812 # need to do runtime linking.
6813 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6814 for ld_flag in $LDFLAGS; do
6815 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6816 aix_use_runtimelinking=yes
6822 exp_sym_flag='-bexport'
6823 no_entry_flag='-bnoentry'
6826 # When large executables or shared objects are built, AIX ld can
6827 # have problems creating the table of contents. If linking a library
6828 # or program results in "error TOC overflow" add -mminimal-toc to
6829 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6830 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6834 hardcode_libdir_separator=':'
6835 link_all_deplibs=yes
6837 if test "$GCC" = yes; then
6838 case $host_os in aix4.012|aix4.012.*)
6839 # We only want to do this on AIX 4.2 and lower, the check
6840 # below for broken collect2 doesn't work under 4.3+
6841 collect2name=`${CC} -print-prog-name=collect2`
6842 if test -f "$collect2name" && \
6843 strings "$collect2name" | grep resolve_lib_name >/dev/null
6845 # We have reworked collect2
6848 # We have old collect2
6849 hardcode_direct=unsupported
6850 # It fails to find uninstalled libraries when the uninstalled
6851 # path is not listed in the libpath. Setting hardcode_minus_L
6852 # to unsupported forces relinking
6853 hardcode_minus_L=yes
6854 hardcode_libdir_flag_spec='-L$libdir'
6855 hardcode_libdir_separator=
6858 shared_flag='-shared'
6861 if test "$host_cpu" = ia64; then
6862 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6863 # chokes on -Wl,-G. The following line is correct:
6866 if test "$aix_use_runtimelinking" = yes; then
6867 shared_flag='${wl}-G'
6869 shared_flag='${wl}-bM:SRE'
6874 # It seems that -bexpall does not export symbols beginning with
6875 # underscore (_), so it is better to generate a list of symbols to export.
6876 always_export_symbols=yes
6877 if test "$aix_use_runtimelinking" = yes; then
6878 # Warning - without using the other runtime loading flags (-brtl),
6879 # -berok will link without error, but may produce a broken library.
6880 allow_undefined_flag='-berok'
6881 # Determine the default libpath from the value encoded in an empty executable.
6882 cat >conftest.$ac_ext <<_ACEOF
6883 #line $LINENO "configure"
6886 cat confdefs.h >>conftest.$ac_ext
6887 cat >>conftest.$ac_ext <<_ACEOF
6888 /* end confdefs.h. */
6898 rm -f conftest.$ac_objext conftest$ac_exeext
6899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6900 (eval $ac_link) 2>&5
6902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6903 (exit $ac_status); } &&
6904 { ac_try='test -s conftest$ac_exeext'
6905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6909 (exit $ac_status); }; }; then
6911 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6913 # Check for a 64-bit object if we didn't find anything.
6914 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; }
6917 echo "$as_me: failed program was:" >&5
6918 sed 's/^/| /' conftest.$ac_ext >&5
6921 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6922 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6924 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6925 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"
6927 if test "$host_cpu" = ia64; then
6928 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
6929 allow_undefined_flag="-z nodefs"
6930 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"
6932 # Determine the default libpath from the value encoded in an empty executable.
6933 cat >conftest.$ac_ext <<_ACEOF
6934 #line $LINENO "configure"
6937 cat confdefs.h >>conftest.$ac_ext
6938 cat >>conftest.$ac_ext <<_ACEOF
6939 /* end confdefs.h. */
6949 rm -f conftest.$ac_objext conftest$ac_exeext
6950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6951 (eval $ac_link) 2>&5
6953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6954 (exit $ac_status); } &&
6955 { ac_try='test -s conftest$ac_exeext'
6956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6960 (exit $ac_status); }; }; then
6962 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6964 # Check for a 64-bit object if we didn't find anything.
6965 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; }
6968 echo "$as_me: failed program was:" >&5
6969 sed 's/^/| /' conftest.$ac_ext >&5
6972 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
6973 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
6975 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
6976 # Warning - without using the other run time loading flags,
6977 # -berok will link without error, but may produce a broken library.
6978 no_undefined_flag=' ${wl}-bernotok'
6979 allow_undefined_flag=' ${wl}-berok'
6980 # -bexpall does not export symbols beginning with underscore (_)
6981 always_export_symbols=yes
6982 # Exported symbols can be pulled into shared objects from archives
6983 whole_archive_flag_spec=' '
6984 archive_cmds_need_lc=yes
6985 # This is similar to how AIX traditionally builds it's shared libraries.
6986 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'
6992 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)'
6993 hardcode_libdir_flag_spec='-L$libdir'
6994 hardcode_minus_L=yes
6995 # see comment about different semantics on the GNU ld section
7000 export_dynamic_flag_spec=-rdynamic
7003 cygwin* | mingw* | pw32*)
7004 # When not using gcc, we currently assume that we are using
7005 # Microsoft Visual C++.
7006 # hardcode_libdir_flag_spec is actually meaningless, as there is
7007 # no search path for DLLs.
7008 hardcode_libdir_flag_spec=' '
7009 allow_undefined_flag=unsupported
7010 # Tell ltmain to make .lib files, not .a files.
7012 # Tell ltmain to make .dll files, not .so files.
7014 # FIXME: Setting linknames here is a bad hack.
7015 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7016 # The linker will automatically build a .lib file if we build a DLL.
7017 old_archive_From_new_cmds='true'
7018 # FIXME: Should let the user specify the lib program.
7019 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
7020 fix_srcfile_path='`cygpath -w "$srcfile"`'
7021 enable_shared_with_static_runtimes=yes
7024 darwin* | rhapsody*)
7025 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7026 archive_cmds_need_lc=no
7028 rhapsody* | darwin1.[012])
7029 allow_undefined_flag='-undefined suppress'
7032 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
7035 # FIXME: Relying on posixy $() will cause problems for
7036 # cross-compilation, but unfortunately the echo tests do not
7037 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
7038 # `"' quotes if we put them in here... so don't!
7039 lt_int_apple_cc_single_mod=no
7040 output_verbose_link_cmd='echo'
7041 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7042 lt_int_apple_cc_single_mod=yes
7044 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7045 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7047 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'
7049 module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7050 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7051 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7052 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}'
7054 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}'
7056 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}'
7058 hardcode_automatic=yes
7059 hardcode_shlibpath_var=unsupported
7060 whole_archive_flag_spec='-all_load $convenience'
7061 link_all_deplibs=yes
7066 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7067 hardcode_libdir_flag_spec='-L$libdir'
7068 hardcode_shlibpath_var=no
7075 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7076 # support. Future versions do this automatically, but an explicit c++rt0.o
7077 # does not break anything, and helps significantly (at the cost of a little
7080 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7081 hardcode_libdir_flag_spec='-R$libdir'
7083 hardcode_shlibpath_var=no
7086 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7088 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7090 hardcode_minus_L=yes
7091 hardcode_shlibpath_var=no
7094 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7096 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7097 hardcode_libdir_flag_spec='-R$libdir'
7099 hardcode_shlibpath_var=no
7103 if test "$GCC" = yes; then
7104 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'
7106 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'
7108 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7109 hardcode_libdir_separator=:
7112 # hardcode_minus_L: Not really in the search PATH,
7113 # but as the default location of the library.
7114 hardcode_minus_L=yes
7115 export_dynamic_flag_spec='${wl}-E'
7119 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7122 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7125 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7131 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7134 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7138 if test "$with_gnu_ld" = no; then
7141 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7142 hardcode_libdir_flag_spec_ld='+b $libdir'
7143 hardcode_libdir_separator=:
7145 hardcode_shlibpath_var=no
7148 hardcode_libdir_flag_spec='-L$libdir'
7150 hardcode_shlibpath_var=no
7152 # hardcode_minus_L: Not really in the search PATH,
7153 # but as the default location of the library.
7154 hardcode_minus_L=yes
7157 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7158 hardcode_libdir_separator=:
7160 export_dynamic_flag_spec='${wl}-E'
7162 # hardcode_minus_L: Not really in the search PATH,
7163 # but as the default location of the library.
7164 hardcode_minus_L=yes
7170 irix5* | irix6* | nonstopux*)
7171 if test "$GCC" = yes; then
7172 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'
7174 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'
7175 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7177 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7178 hardcode_libdir_separator=:
7179 link_all_deplibs=yes
7183 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7184 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7186 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7188 hardcode_libdir_flag_spec='-R$libdir'
7190 hardcode_shlibpath_var=no
7194 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7196 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7197 hardcode_libdir_separator=:
7198 hardcode_shlibpath_var=no
7203 hardcode_shlibpath_var=no
7204 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7205 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7206 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7207 export_dynamic_flag_spec='${wl}-E'
7210 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7211 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7212 hardcode_libdir_flag_spec='-R$libdir'
7215 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7216 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7223 hardcode_libdir_flag_spec='-L$libdir'
7224 hardcode_minus_L=yes
7225 allow_undefined_flag=unsupported
7226 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'
7227 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7231 if test "$GCC" = yes; then
7232 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7233 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'
7235 allow_undefined_flag=' -expect_unresolved \*'
7236 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'
7238 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7239 hardcode_libdir_separator=:
7242 osf4* | osf5*) # as osf3* with the addition of -msym flag
7243 if test "$GCC" = yes; then
7244 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7245 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'
7246 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7248 allow_undefined_flag=' -expect_unresolved \*'
7249 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'
7250 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7251 $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'
7253 # Both c and cxx compiler support -rpath directly
7254 hardcode_libdir_flag_spec='-rpath $libdir'
7256 hardcode_libdir_separator=:
7260 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7261 hardcode_shlibpath_var=no
7262 export_dynamic_flag_spec='${wl}-Bexport'
7263 runpath_var=LD_RUN_PATH
7264 hardcode_runpath_var=yes
7268 no_undefined_flag=' -z text'
7269 if test "$GCC" = yes; then
7270 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7271 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7272 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7274 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7275 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7276 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7278 hardcode_libdir_flag_spec='-R$libdir'
7279 hardcode_shlibpath_var=no
7281 solaris2.[0-5] | solaris2.[0-5].*) ;;
7282 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7283 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7285 link_all_deplibs=yes
7289 if test "x$host_vendor" = xsequent; then
7290 # Use $CC to link under sequent, because it throws in some extra .o
7291 # files that make .init and .fini sections work.
7292 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7294 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7296 hardcode_libdir_flag_spec='-L$libdir'
7298 hardcode_minus_L=yes
7299 hardcode_shlibpath_var=no
7303 case $host_vendor in
7305 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7306 hardcode_direct=yes # is this really true???
7309 ## LD is ld it makes a PLAMLIB
7310 ## CC just makes a GrossModule.
7311 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7312 reload_cmds='$CC -r -o $output$reload_objs'
7316 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7317 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7320 runpath_var='LD_RUN_PATH'
7321 hardcode_shlibpath_var=no
7325 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7326 hardcode_shlibpath_var=no
7327 export_dynamic_flag_spec='-Bexport'
7331 if test -d /usr/nec; then
7332 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7333 hardcode_shlibpath_var=no
7334 runpath_var=LD_RUN_PATH
7335 hardcode_runpath_var=yes
7341 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7344 hardcode_shlibpath_var=no
7345 hardcode_runpath_var=yes
7346 runpath_var=LD_RUN_PATH
7349 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7350 no_undefined_flag='${wl}-z ${wl}text'
7351 if test "$GCC" = yes; then
7352 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7354 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7356 runpath_var='LD_RUN_PATH'
7357 hardcode_shlibpath_var=no
7361 no_undefined_flag=' -z text'
7362 # $CC -shared without GNU ld will not create a library from C++
7363 # object files and a static libstdc++, better avoid it by now
7364 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7365 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7366 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7367 hardcode_libdir_flag_spec=
7368 hardcode_shlibpath_var=no
7369 runpath_var='LD_RUN_PATH'
7373 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7374 hardcode_libdir_flag_spec='-L$libdir'
7375 hardcode_shlibpath_var=no
7384 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7385 echo "${ECHO_T}$ld_shlibs" >&6
7386 test "$ld_shlibs" = no && can_build_shared=no
7388 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7389 if test "$GCC" = yes; then
7390 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7394 # Do we need to explicitly link libc?
7396 case "x$archive_cmds_need_lc" in
7398 # Assume -lc should be added
7399 archive_cmds_need_lc=yes
7401 if test "$enable_shared" = yes && test "$GCC" = yes; then
7402 case $archive_cmds in
7404 # FIXME: we may have to deal with multi-command sequences.
7407 # Test whether the compiler implicitly links with -lc since on some
7408 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7409 # to ld, don't add -lc before -lgcc.
7410 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7411 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7413 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7416 (eval $ac_compile) 2>&5
7418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7419 (exit $ac_status); } 2>conftest.err; then
7422 libobjs=conftest.$ac_objext
7424 wl=$lt_prog_compiler_wl
7430 lt_save_allow_undefined_flag=$allow_undefined_flag
7431 allow_undefined_flag=
7432 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7433 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7436 (exit $ac_status); }
7438 archive_cmds_need_lc=no
7440 archive_cmds_need_lc=yes
7442 allow_undefined_flag=$lt_save_allow_undefined_flag
7444 cat conftest.err 1>&5
7447 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7448 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7455 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7456 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7458 if test -n "$hardcode_libdir_flag_spec" || \
7459 test -n "$runpath_var " || \
7460 test "X$hardcode_automatic"="Xyes" ; then
7462 # We can hardcode non-existant directories.
7463 if test "$hardcode_direct" != no &&
7464 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7465 # have to relink, otherwise we might link with an installed library
7466 # when we should be linking with a yet-to-be-installed one
7467 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7468 test "$hardcode_minus_L" != no; then
7469 # Linking always hardcodes the temporary library directory.
7470 hardcode_action=relink
7472 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7473 hardcode_action=immediate
7476 # We cannot hardcode anything, or else we can only hardcode existing
7478 hardcode_action=unsupported
7480 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7481 echo "${ECHO_T}$hardcode_action" >&6
7483 if test "$hardcode_action" = relink; then
7484 # Fast installation is not supported
7485 enable_fast_install=no
7486 elif test "$shlibpath_overrides_runpath" = yes ||
7487 test "$enable_shared" = no; then
7488 # Fast installation is not necessary
7489 enable_fast_install=needless
7494 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7495 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7496 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7497 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7498 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7499 echo "$as_me:$LINENO: result: yes" >&5
7500 echo "${ECHO_T}yes" >&6
7502 # FIXME - insert some real tests, host_os isn't really good enough
7505 if test -n "$STRIP" ; then
7506 striplib="$STRIP -x"
7507 echo "$as_me:$LINENO: result: yes" >&5
7508 echo "${ECHO_T}yes" >&6
7510 echo "$as_me:$LINENO: result: no" >&5
7511 echo "${ECHO_T}no" >&6
7515 echo "$as_me:$LINENO: result: no" >&5
7516 echo "${ECHO_T}no" >&6
7521 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7522 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7524 libname_spec='lib$name'
7532 shlibpath_overrides_runpath=unknown
7534 dynamic_linker="$host_os ld.so"
7535 sys_lib_dlsearch_path_spec="/lib /usr/lib"
7536 if test "$GCC" = yes; then
7537 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7538 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7539 # if the path contains ";" then we assume it to be the separator
7540 # otherwise default to the standard path separator (i.e. ":") - it is
7541 # assumed that no part of a normal pathname contains ";" but that should
7542 # okay in the real world where ";" in dirpaths is itself problematic.
7543 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7545 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7548 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7550 need_lib_prefix=unknown
7551 hardcode_into_libs=no
7553 # when you set need_version to no, make sure it does not cause -set_version
7554 # flags to be left without arguments
7555 need_version=unknown
7560 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7561 shlibpath_var=LIBPATH
7563 # AIX 3 has no versioning support, so we append a major version to the name.
7564 soname_spec='${libname}${release}${shared_ext}$major'
7571 hardcode_into_libs=yes
7572 if test "$host_cpu" = ia64; then
7573 # AIX 5 supports IA64
7574 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7575 shlibpath_var=LD_LIBRARY_PATH
7577 # With GCC up to 2.95.x, collect2 would create an import file
7578 # for dependence libraries. The import file would start with
7579 # the line `#! .'. This would cause the generated library to
7580 # depend on `.', always an invalid library. This was fixed in
7581 # development snapshots of GCC prior to 3.0.
7583 aix4 | aix4.[01] | aix4.[01].*)
7584 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7586 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7593 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7594 # soname into executable. Probably we can add versioning support to
7595 # collect2, so additional links can be useful in future.
7596 if test "$aix_use_runtimelinking" = yes; then
7597 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7598 # instead of lib<name>.a to let people know that these are not
7599 # typical AIX shared libraries.
7600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7602 # We preserve .a as extension for shared libraries through AIX4.2
7603 # and later when we are not doing run time linking.
7604 library_names_spec='${libname}${release}.a $libname.a'
7605 soname_spec='${libname}${release}${shared_ext}$major'
7607 shlibpath_var=LIBPATH
7612 library_names_spec='$libname.ixlibrary $libname.a'
7613 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7614 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'
7618 library_names_spec='${libname}${shared_ext}'
7619 dynamic_linker="$host_os ld.so"
7620 shlibpath_var=LIBRARY_PATH
7626 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7627 soname_spec='${libname}${release}${shared_ext}$major'
7628 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7629 shlibpath_var=LD_LIBRARY_PATH
7630 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7631 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7632 # the default ld.so.conf also contains /usr/contrib/lib and
7633 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7634 # libtool to hard-code these into programs
7637 cygwin* | mingw* | pw32*)
7638 version_type=windows
7643 case $GCC,$host_os in
7644 yes,cygwin* | yes,mingw* | yes,pw32*)
7645 library_names_spec='$libname.dll.a'
7646 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7647 postinstall_cmds='base_file=`basename \${file}`~
7648 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7649 dldir=$destdir/`dirname \$dlpath`~
7650 test -d \$dldir || mkdir -p \$dldir~
7651 $install_prog $dir/$dlname \$dldir/$dlname'
7652 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7653 dlpath=$dir/\$dldll~
7655 shlibpath_overrides_runpath=yes
7659 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7660 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7661 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
7664 # MinGW DLLs use traditional 'lib' prefix
7665 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7666 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7667 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7668 # It is most probably a Windows format PATH printed by
7669 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7670 # path with ; separators, and with drive letters. We can handle the
7671 # drive letters (cygwin fileutils understands them), so leave them,
7672 # especially as we might pass files found there to a mingw objdump,
7673 # which wouldn't understand a cygwinified path. Ahh.
7674 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7676 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7680 # pw32 DLLs use 'pw' prefix rather than 'lib'
7681 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7687 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7690 dynamic_linker='Win32 ld.exe'
7691 # FIXME: first we should search . and the directory the executable is in
7695 darwin* | rhapsody*)
7696 dynamic_linker="$host_os dyld"
7700 # FIXME: Relying on posixy $() will cause problems for
7701 # cross-compilation, but unfortunately the echo tests do not
7702 # yet detect zsh echo's removal of \ escapes.
7703 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7704 soname_spec='${libname}${release}${major}$shared_ext'
7705 shlibpath_overrides_runpath=yes
7706 shlibpath_var=DYLD_LIBRARY_PATH
7707 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
7708 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7709 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7710 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"`
7712 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7720 soname_spec='${libname}${release}${shared_ext}$major'
7721 shlibpath_var=LD_LIBRARY_PATH
7729 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7730 version_type=freebsd-$objformat
7731 case $version_type in
7733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7738 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7742 shlibpath_var=LD_LIBRARY_PATH
7745 shlibpath_overrides_runpath=yes
7747 freebsd3.01* | freebsdelf3.01*)
7748 shlibpath_overrides_runpath=yes
7749 hardcode_into_libs=yes
7752 shlibpath_overrides_runpath=no
7753 hardcode_into_libs=yes
7762 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7763 soname_spec='${libname}${release}${shared_ext}$major'
7764 shlibpath_var=LD_LIBRARY_PATH
7765 hardcode_into_libs=yes
7768 hpux9* | hpux10* | hpux11*)
7769 # Give a soname corresponding to the major version so that dld.sl refuses to
7770 # link against other versions.
7777 hardcode_into_libs=yes
7778 dynamic_linker="$host_os dld.so"
7779 shlibpath_var=LD_LIBRARY_PATH
7780 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7781 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7782 soname_spec='${libname}${release}${shared_ext}$major'
7783 if test "X$HPUX_IA64_MODE" = X32; then
7784 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7786 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7788 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7792 hardcode_into_libs=yes
7793 dynamic_linker="$host_os dld.sl"
7794 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7795 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7796 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7797 soname_spec='${libname}${release}${shared_ext}$major'
7798 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7799 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7803 dynamic_linker="$host_os dld.sl"
7804 shlibpath_var=SHLIB_PATH
7805 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7806 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7807 soname_spec='${libname}${release}${shared_ext}$major'
7810 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7811 postinstall_cmds='chmod 555 $lib'
7814 irix5* | irix6* | nonstopux*)
7816 nonstopux*) version_type=nonstopux ;;
7818 if test "$lt_cv_prog_gnu_ld" = yes; then
7826 soname_spec='${libname}${release}${shared_ext}$major'
7827 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7829 irix5* | nonstopux*)
7833 case $LD in # libtool.m4 will add one of these switches to LD
7834 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7835 libsuff= shlibsuff= libmagic=32-bit;;
7836 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7837 libsuff=32 shlibsuff=N32 libmagic=N32;;
7838 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7839 libsuff=64 shlibsuff=64 libmagic=64-bit;;
7840 *) libsuff= shlibsuff= libmagic=never-match;;
7844 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7845 shlibpath_overrides_runpath=no
7846 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7847 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7848 hardcode_into_libs=yes
7851 # No shared lib support for Linux oldld, aout, or coff.
7852 linux*oldld* | linux*aout* | linux*coff*)
7856 # This must be Linux ELF.
7861 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7862 soname_spec='${libname}${release}${shared_ext}$major'
7863 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7864 shlibpath_var=LD_LIBRARY_PATH
7865 shlibpath_overrides_runpath=no
7866 # This implies no fast_install, which is unacceptable.
7867 # Some rework will be needed to allow for fast_install
7868 # before this can be enabled.
7869 hardcode_into_libs=yes
7871 # We used to test for /lib/ld.so.1 and disable shared libraries on
7872 # powerpc, because MkLinux only supported shared libraries with the
7873 # GNU dynamic linker. Since this was broken with cross compilers,
7874 # most powerpc-linux boxes support dynamic linking these days and
7875 # people can always --disable-shared, the test was removed, and we
7876 # assume the GNU/Linux dynamic linker is in use.
7877 dynamic_linker='GNU/Linux ld.so'
7884 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7885 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7886 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7887 dynamic_linker='NetBSD (a.out) ld.so'
7889 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
7890 soname_spec='${libname}${release}${shared_ext}$major'
7891 dynamic_linker='NetBSD ld.elf_so'
7893 shlibpath_var=LD_LIBRARY_PATH
7894 shlibpath_overrides_runpath=yes
7895 hardcode_into_libs=yes
7900 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7901 shlibpath_var=LD_LIBRARY_PATH
7902 shlibpath_overrides_runpath=yes
7909 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7910 soname_spec='${libname}${release}${shared_ext}$major'
7911 shlibpath_var=LD_LIBRARY_PATH
7912 shlibpath_overrides_runpath=yes
7919 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7920 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7921 shlibpath_var=LD_LIBRARY_PATH
7922 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7924 openbsd2.[89] | openbsd2.[89].*)
7925 shlibpath_overrides_runpath=no
7928 shlibpath_overrides_runpath=yes
7932 shlibpath_overrides_runpath=yes
7937 libname_spec='$name'
7940 library_names_spec='$libname${shared_ext} $libname.a'
7941 dynamic_linker='OS/2 ld.exe'
7942 shlibpath_var=LIBPATH
7945 osf3* | osf4* | osf5*)
7949 soname_spec='${libname}${release}${shared_ext}$major'
7950 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7951 shlibpath_var=LD_LIBRARY_PATH
7952 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
7953 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
7958 soname_spec='${libname}${release}${shared_ext}$major'
7959 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7960 shlibpath_var=LD_LIBRARY_PATH
7967 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7968 soname_spec='${libname}${release}${shared_ext}$major'
7969 shlibpath_var=LD_LIBRARY_PATH
7970 shlibpath_overrides_runpath=yes
7971 hardcode_into_libs=yes
7972 # ldd complains unless libraries are executable
7973 postinstall_cmds='chmod +x $lib'
7978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7979 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
7980 shlibpath_var=LD_LIBRARY_PATH
7981 shlibpath_overrides_runpath=yes
7982 if test "$with_gnu_ld" = yes; then
7988 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
7990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7991 soname_spec='${libname}${release}${shared_ext}$major'
7992 shlibpath_var=LD_LIBRARY_PATH
7993 case $host_vendor in
7995 shlibpath_overrides_runpath=no
7997 export_dynamic_flag_spec='${wl}-Blargedynsym'
7998 runpath_var=LD_RUN_PATH
8006 shlibpath_overrides_runpath=no
8007 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8013 if test -d /usr/nec ;then
8015 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8016 soname_spec='$libname${shared_ext}.$major'
8017 shlibpath_var=LD_LIBRARY_PATH
8023 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8024 soname_spec='${libname}${release}${shared_ext}$major'
8025 shlibpath_var=LD_LIBRARY_PATH
8032 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8033 echo "${ECHO_T}$dynamic_linker" >&6
8034 test "$dynamic_linker" = no && can_build_shared=no
8036 if test "x$enable_dlopen" != xyes; then
8037 enable_dlopen=unknown
8038 enable_dlopen_self=unknown
8039 enable_dlopen_self_static=unknown
8046 lt_cv_dlopen="load_add_on"
8048 lt_cv_dlopen_self=yes
8052 lt_cv_dlopen="LoadLibrary"
8057 lt_cv_dlopen="dlopen"
8062 # if libdl is installed we need to link against it
8063 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8064 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8065 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8066 echo $ECHO_N "(cached) $ECHO_C" >&6
8068 ac_check_lib_save_LIBS=$LIBS
8070 cat >conftest.$ac_ext <<_ACEOF
8071 #line $LINENO "configure"
8074 cat confdefs.h >>conftest.$ac_ext
8075 cat >>conftest.$ac_ext <<_ACEOF
8076 /* end confdefs.h. */
8078 /* Override any gcc2 internal prototype to avoid an error. */
8082 /* We use char because int might match the return type of a gcc2
8083 builtin and then its argument prototype would still apply. */
8093 rm -f conftest.$ac_objext conftest$ac_exeext
8094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8095 (eval $ac_link) 2>&5
8097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8098 (exit $ac_status); } &&
8099 { ac_try='test -s conftest$ac_exeext'
8100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8104 (exit $ac_status); }; }; then
8105 ac_cv_lib_dl_dlopen=yes
8107 echo "$as_me: failed program was:" >&5
8108 sed 's/^/| /' conftest.$ac_ext >&5
8110 ac_cv_lib_dl_dlopen=no
8112 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8113 LIBS=$ac_check_lib_save_LIBS
8115 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8116 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8117 if test $ac_cv_lib_dl_dlopen = yes; then
8118 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8123 lt_cv_dlopen_self=yes
8130 echo "$as_me:$LINENO: checking for shl_load" >&5
8131 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8132 if test "${ac_cv_func_shl_load+set}" = set; then
8133 echo $ECHO_N "(cached) $ECHO_C" >&6
8135 cat >conftest.$ac_ext <<_ACEOF
8136 #line $LINENO "configure"
8139 cat confdefs.h >>conftest.$ac_ext
8140 cat >>conftest.$ac_ext <<_ACEOF
8141 /* end confdefs.h. */
8142 /* System header to define __stub macros and hopefully few prototypes,
8143 which can conflict with char shl_load (); below.
8144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8145 <limits.h> exists even on freestanding compilers. */
8147 # include <limits.h>
8149 # include <assert.h>
8151 /* Override any gcc2 internal prototype to avoid an error. */
8156 /* We use char because int might match the return type of a gcc2
8157 builtin and then its argument prototype would still apply. */
8159 /* The GNU C library defines this for functions which it implements
8160 to always fail with ENOSYS. Some functions are actually named
8161 something starting with __ and the normal name is an alias. */
8162 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8165 char (*f) () = shl_load;
8174 return f != shl_load;
8179 rm -f conftest.$ac_objext conftest$ac_exeext
8180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8181 (eval $ac_link) 2>&5
8183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8184 (exit $ac_status); } &&
8185 { ac_try='test -s conftest$ac_exeext'
8186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8190 (exit $ac_status); }; }; then
8191 ac_cv_func_shl_load=yes
8193 echo "$as_me: failed program was:" >&5
8194 sed 's/^/| /' conftest.$ac_ext >&5
8196 ac_cv_func_shl_load=no
8198 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8200 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8201 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8202 if test $ac_cv_func_shl_load = yes; then
8203 lt_cv_dlopen="shl_load"
8205 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8206 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8207 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8208 echo $ECHO_N "(cached) $ECHO_C" >&6
8210 ac_check_lib_save_LIBS=$LIBS
8212 cat >conftest.$ac_ext <<_ACEOF
8213 #line $LINENO "configure"
8216 cat confdefs.h >>conftest.$ac_ext
8217 cat >>conftest.$ac_ext <<_ACEOF
8218 /* end confdefs.h. */
8220 /* Override any gcc2 internal prototype to avoid an error. */
8224 /* We use char because int might match the return type of a gcc2
8225 builtin and then its argument prototype would still apply. */
8235 rm -f conftest.$ac_objext conftest$ac_exeext
8236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8237 (eval $ac_link) 2>&5
8239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8240 (exit $ac_status); } &&
8241 { ac_try='test -s conftest$ac_exeext'
8242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8246 (exit $ac_status); }; }; then
8247 ac_cv_lib_dld_shl_load=yes
8249 echo "$as_me: failed program was:" >&5
8250 sed 's/^/| /' conftest.$ac_ext >&5
8252 ac_cv_lib_dld_shl_load=no
8254 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8255 LIBS=$ac_check_lib_save_LIBS
8257 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8258 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8259 if test $ac_cv_lib_dld_shl_load = yes; then
8260 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8262 echo "$as_me:$LINENO: checking for dlopen" >&5
8263 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8264 if test "${ac_cv_func_dlopen+set}" = set; then
8265 echo $ECHO_N "(cached) $ECHO_C" >&6
8267 cat >conftest.$ac_ext <<_ACEOF
8268 #line $LINENO "configure"
8271 cat confdefs.h >>conftest.$ac_ext
8272 cat >>conftest.$ac_ext <<_ACEOF
8273 /* end confdefs.h. */
8274 /* System header to define __stub macros and hopefully few prototypes,
8275 which can conflict with char dlopen (); below.
8276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8277 <limits.h> exists even on freestanding compilers. */
8279 # include <limits.h>
8281 # include <assert.h>
8283 /* Override any gcc2 internal prototype to avoid an error. */
8288 /* We use char because int might match the return type of a gcc2
8289 builtin and then its argument prototype would still apply. */
8291 /* The GNU C library defines this for functions which it implements
8292 to always fail with ENOSYS. Some functions are actually named
8293 something starting with __ and the normal name is an alias. */
8294 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8297 char (*f) () = dlopen;
8311 rm -f conftest.$ac_objext conftest$ac_exeext
8312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8313 (eval $ac_link) 2>&5
8315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8316 (exit $ac_status); } &&
8317 { ac_try='test -s conftest$ac_exeext'
8318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8322 (exit $ac_status); }; }; then
8323 ac_cv_func_dlopen=yes
8325 echo "$as_me: failed program was:" >&5
8326 sed 's/^/| /' conftest.$ac_ext >&5
8328 ac_cv_func_dlopen=no
8330 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8332 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8333 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8334 if test $ac_cv_func_dlopen = yes; then
8335 lt_cv_dlopen="dlopen"
8337 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8338 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8339 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8340 echo $ECHO_N "(cached) $ECHO_C" >&6
8342 ac_check_lib_save_LIBS=$LIBS
8344 cat >conftest.$ac_ext <<_ACEOF
8345 #line $LINENO "configure"
8348 cat confdefs.h >>conftest.$ac_ext
8349 cat >>conftest.$ac_ext <<_ACEOF
8350 /* end confdefs.h. */
8352 /* Override any gcc2 internal prototype to avoid an error. */
8356 /* We use char because int might match the return type of a gcc2
8357 builtin and then its argument prototype would still apply. */
8367 rm -f conftest.$ac_objext conftest$ac_exeext
8368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8369 (eval $ac_link) 2>&5
8371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8372 (exit $ac_status); } &&
8373 { ac_try='test -s conftest$ac_exeext'
8374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8378 (exit $ac_status); }; }; then
8379 ac_cv_lib_dl_dlopen=yes
8381 echo "$as_me: failed program was:" >&5
8382 sed 's/^/| /' conftest.$ac_ext >&5
8384 ac_cv_lib_dl_dlopen=no
8386 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8387 LIBS=$ac_check_lib_save_LIBS
8389 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8390 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8391 if test $ac_cv_lib_dl_dlopen = yes; then
8392 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8394 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8395 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8396 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8397 echo $ECHO_N "(cached) $ECHO_C" >&6
8399 ac_check_lib_save_LIBS=$LIBS
8401 cat >conftest.$ac_ext <<_ACEOF
8402 #line $LINENO "configure"
8405 cat confdefs.h >>conftest.$ac_ext
8406 cat >>conftest.$ac_ext <<_ACEOF
8407 /* end confdefs.h. */
8409 /* Override any gcc2 internal prototype to avoid an error. */
8413 /* We use char because int might match the return type of a gcc2
8414 builtin and then its argument prototype would still apply. */
8424 rm -f conftest.$ac_objext conftest$ac_exeext
8425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8426 (eval $ac_link) 2>&5
8428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429 (exit $ac_status); } &&
8430 { ac_try='test -s conftest$ac_exeext'
8431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8435 (exit $ac_status); }; }; then
8436 ac_cv_lib_svld_dlopen=yes
8438 echo "$as_me: failed program was:" >&5
8439 sed 's/^/| /' conftest.$ac_ext >&5
8441 ac_cv_lib_svld_dlopen=no
8443 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8444 LIBS=$ac_check_lib_save_LIBS
8446 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8447 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8448 if test $ac_cv_lib_svld_dlopen = yes; then
8449 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8451 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8452 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8453 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8454 echo $ECHO_N "(cached) $ECHO_C" >&6
8456 ac_check_lib_save_LIBS=$LIBS
8458 cat >conftest.$ac_ext <<_ACEOF
8459 #line $LINENO "configure"
8462 cat confdefs.h >>conftest.$ac_ext
8463 cat >>conftest.$ac_ext <<_ACEOF
8464 /* end confdefs.h. */
8466 /* Override any gcc2 internal prototype to avoid an error. */
8470 /* We use char because int might match the return type of a gcc2
8471 builtin and then its argument prototype would still apply. */
8481 rm -f conftest.$ac_objext conftest$ac_exeext
8482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8483 (eval $ac_link) 2>&5
8485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8486 (exit $ac_status); } &&
8487 { ac_try='test -s conftest$ac_exeext'
8488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8492 (exit $ac_status); }; }; then
8493 ac_cv_lib_dld_dld_link=yes
8495 echo "$as_me: failed program was:" >&5
8496 sed 's/^/| /' conftest.$ac_ext >&5
8498 ac_cv_lib_dld_dld_link=no
8500 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8501 LIBS=$ac_check_lib_save_LIBS
8503 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8504 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8505 if test $ac_cv_lib_dld_dld_link = yes; then
8506 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8527 if test "x$lt_cv_dlopen" != xno; then
8533 case $lt_cv_dlopen in
8535 save_CPPFLAGS="$CPPFLAGS"
8536 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8538 save_LDFLAGS="$LDFLAGS"
8539 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8542 LIBS="$lt_cv_dlopen_libs $LIBS"
8544 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8545 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8546 if test "${lt_cv_dlopen_self+set}" = set; then
8547 echo $ECHO_N "(cached) $ECHO_C" >&6
8549 if test "$cross_compiling" = yes; then :
8550 lt_cv_dlopen_self=cross
8552 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8553 lt_status=$lt_dlunknown
8554 cat > conftest.$ac_ext <<EOF
8555 #line 8555 "configure"
8556 #include "confdefs.h"
8565 # define LT_DLGLOBAL RTLD_GLOBAL
8568 # define LT_DLGLOBAL DL_GLOBAL
8570 # define LT_DLGLOBAL 0
8574 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8575 find out it does not work in some platform. */
8576 #ifndef LT_DLLAZY_OR_NOW
8578 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8581 # define LT_DLLAZY_OR_NOW DL_LAZY
8584 # define LT_DLLAZY_OR_NOW RTLD_NOW
8587 # define LT_DLLAZY_OR_NOW DL_NOW
8589 # define LT_DLLAZY_OR_NOW 0
8597 extern "C" void exit (int);
8600 void fnord() { int i=42;}
8603 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8604 int status = $lt_dlunknown;
8608 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8609 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8610 /* dlclose (self); */
8616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8617 (eval $ac_link) 2>&5
8619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8620 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8621 (./conftest; exit; ) 2>/dev/null
8624 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8625 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8626 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
8629 # compilation failed
8630 lt_cv_dlopen_self=no
8637 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8638 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8640 if test "x$lt_cv_dlopen_self" = xyes; then
8641 LDFLAGS="$LDFLAGS $link_static_flag"
8642 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8643 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8644 if test "${lt_cv_dlopen_self_static+set}" = set; then
8645 echo $ECHO_N "(cached) $ECHO_C" >&6
8647 if test "$cross_compiling" = yes; then :
8648 lt_cv_dlopen_self_static=cross
8650 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8651 lt_status=$lt_dlunknown
8652 cat > conftest.$ac_ext <<EOF
8653 #line 8653 "configure"
8654 #include "confdefs.h"
8663 # define LT_DLGLOBAL RTLD_GLOBAL
8666 # define LT_DLGLOBAL DL_GLOBAL
8668 # define LT_DLGLOBAL 0
8672 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8673 find out it does not work in some platform. */
8674 #ifndef LT_DLLAZY_OR_NOW
8676 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8679 # define LT_DLLAZY_OR_NOW DL_LAZY
8682 # define LT_DLLAZY_OR_NOW RTLD_NOW
8685 # define LT_DLLAZY_OR_NOW DL_NOW
8687 # define LT_DLLAZY_OR_NOW 0
8695 extern "C" void exit (int);
8698 void fnord() { int i=42;}
8701 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8702 int status = $lt_dlunknown;
8706 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8707 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8708 /* dlclose (self); */
8714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8715 (eval $ac_link) 2>&5
8717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8718 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8719 (./conftest; exit; ) 2>/dev/null
8722 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8723 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8724 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
8727 # compilation failed
8728 lt_cv_dlopen_self_static=no
8735 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8736 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8739 CPPFLAGS="$save_CPPFLAGS"
8740 LDFLAGS="$save_LDFLAGS"
8745 case $lt_cv_dlopen_self in
8746 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
8747 *) enable_dlopen_self=unknown ;;
8750 case $lt_cv_dlopen_self_static in
8751 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
8752 *) enable_dlopen_self_static=unknown ;;
8757 # Report which librarie types wil actually be built
8758 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8759 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8760 echo "$as_me:$LINENO: result: $can_build_shared" >&5
8761 echo "${ECHO_T}$can_build_shared" >&6
8763 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8764 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8765 test "$can_build_shared" = "no" && enable_shared=no
8767 # On AIX, shared libraries and static libraries use the same namespace, and
8768 # are all built from PIC.
8771 test "$enable_shared" = yes && enable_static=no
8772 if test -n "$RANLIB"; then
8773 archive_cmds="$archive_cmds~\$RANLIB \$lib"
8774 postinstall_cmds='$RANLIB $lib'
8779 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8780 test "$enable_shared" = yes && enable_static=no
8783 darwin* | rhapsody*)
8784 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8785 archive_cmds_need_lc=no
8787 rhapsody* | darwin1.[012])
8788 allow_undefined_flag='-undefined suppress'
8791 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
8794 # FIXME: Relying on posixy $() will cause problems for
8795 # cross-compilation, but unfortunately the echo tests do not
8796 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
8797 # `"' quotes if we put them in here... so don't!
8798 output_verbose_link_cmd='echo'
8799 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8800 module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
8801 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8802 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}'
8803 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}'
8805 hardcode_automatic=yes
8806 hardcode_shlibpath_var=unsupported
8807 whole_archive_flag_spec='-all_load $convenience'
8808 link_all_deplibs=yes
8812 echo "$as_me:$LINENO: result: $enable_shared" >&5
8813 echo "${ECHO_T}$enable_shared" >&6
8815 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8816 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
8817 # Make sure either enable_shared or enable_static is yes.
8818 test "$enable_shared" = yes || enable_static=yes
8819 echo "$as_me:$LINENO: result: $enable_static" >&5
8820 echo "${ECHO_T}$enable_static" >&6
8822 # The else clause should only fire when bootstrapping the
8823 # libtool distribution, otherwise you forgot to ship ltmain.sh
8824 # with your package, and you will get complaints that there are
8825 # no rules to generate ltmain.sh.
8826 if test -f "$ltmain"; then
8827 # See if we are running on zsh, and set the options which allow our commands through
8828 # without removal of \ escapes.
8829 if test -n "${ZSH_VERSION+set}" ; then
8830 setopt NO_GLOB_SUBST
8832 # Now quote all the things that may contain metacharacters while being
8833 # careful not to overquote the AC_SUBSTed values. We take copies of the
8834 # variables and quote the copies for generation of the libtool script.
8835 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8836 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8837 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8838 deplibs_check_method reload_flag reload_cmds need_locks \
8839 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
8840 lt_cv_sys_global_symbol_to_c_name_address \
8841 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8842 old_postinstall_cmds old_postuninstall_cmds \
8846 lt_prog_compiler_wl \
8847 lt_prog_compiler_pic \
8848 lt_prog_compiler_static \
8849 lt_prog_compiler_no_builtin_flag \
8850 export_dynamic_flag_spec \
8851 thread_safe_flag_spec \
8852 whole_archive_flag_spec \
8853 enable_shared_with_static_runtimes \
8855 old_archive_from_new_cmds \
8860 compiler_lib_search_path \
8862 archive_expsym_cmds \
8864 postuninstall_cmds \
8865 old_archive_from_expsyms_cmds \
8866 allow_undefined_flag \
8868 export_symbols_cmds \
8869 hardcode_libdir_flag_spec \
8870 hardcode_libdir_flag_spec_ld \
8871 hardcode_libdir_separator \
8872 hardcode_automatic \
8874 module_expsym_cmds \
8875 lt_cv_prog_compiler_c_o \
8880 old_archive_cmds | \
8881 old_archive_from_new_cmds | \
8883 archive_expsym_cmds | \
8885 module_expsym_cmds | \
8886 old_archive_from_expsyms_cmds | \
8887 export_symbols_cmds | \
8888 extract_expsyms_cmds | reload_cmds | finish_cmds | \
8889 postinstall_cmds | postuninstall_cmds | \
8890 old_postinstall_cmds | old_postuninstall_cmds | \
8891 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
8892 # Double-quote double-evaled strings.
8893 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
8896 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
8902 *'\$0 --fallback-echo"')
8903 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
8908 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
8910 { echo "$as_me:$LINENO: creating $ofile" >&5
8911 echo "$as_me: creating $ofile" >&6;}
8913 cat <<__EOF__ >> "$cfgfile"
8916 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
8917 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
8918 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
8920 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
8921 # Free Software Foundation, Inc.
8923 # This file is part of GNU Libtool:
8924 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
8926 # This program is free software; you can redistribute it and/or modify
8927 # it under the terms of the GNU General Public License as published by
8928 # the Free Software Foundation; either version 2 of the License, or
8929 # (at your option) any later version.
8931 # This program is distributed in the hope that it will be useful, but
8932 # WITHOUT ANY WARRANTY; without even the implied warranty of
8933 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
8934 # General Public License for more details.
8936 # You should have received a copy of the GNU General Public License
8937 # along with this program; if not, write to the Free Software
8938 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
8940 # As a special exception to the GNU General Public License, if you
8941 # distribute this file as part of a program that contains a
8942 # configuration script generated by Autoconf, you may include it under
8943 # the same distribution terms that you use for the rest of that program.
8945 # A sed program that does not truncate output.
8948 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
8949 Xsed="$SED -e s/^X//"
8951 # The HP-UX ksh and POSIX shell print the target directory to stdout
8953 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
8955 # The names of the tagged configurations supported by this script.
8958 # ### BEGIN LIBTOOL CONFIG
8960 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
8962 # Shell to use when invoking shell scripts.
8965 # Whether or not to build shared libraries.
8966 build_libtool_libs=$enable_shared
8968 # Whether or not to build static libraries.
8969 build_old_libs=$enable_static
8971 # Whether or not to add -lc for building shared libraries.
8972 build_libtool_need_lc=$archive_cmds_need_lc
8974 # Whether or not to disallow shared libs when runtime libs are static
8975 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
8977 # Whether or not to optimize for fast installation.
8978 fast_install=$enable_fast_install
8981 host_alias=$host_alias
8984 # An echo program that does not interpret backslashes.
8989 AR_FLAGS=$lt_AR_FLAGS
8994 # A language-specific compiler.
8997 # Is the compiler the GNU C compiler?
9003 # The linker used to build libraries.
9006 # Whether we need hard or soft links.
9009 # A BSD-compatible nm program.
9012 # A symbol stripping program
9015 # Used to examine libraries when file_magic_cmd begins "file"
9016 MAGIC_CMD=$MAGIC_CMD
9018 # Used on cygwin: DLL creation program.
9021 # Used on cygwin: object dumper.
9024 # Used on cygwin: assembler.
9027 # The name of the directory that contains temporary libtool files.
9030 # How to create reloadable object files.
9031 reload_flag=$lt_reload_flag
9032 reload_cmds=$lt_reload_cmds
9034 # How to pass a linker flag through the compiler.
9035 wl=$lt_lt_prog_compiler_wl
9037 # Object file suffix (normally "o").
9040 # Old archive suffix (normally "a").
9043 # Shared library suffix (normally ".so").
9046 # Executable file suffix (normally "").
9049 # Additional compiler flags for building library objects.
9050 pic_flag=$lt_lt_prog_compiler_pic
9053 # What is the maximum length of a command?
9054 max_cmd_len=$lt_cv_sys_max_cmd_len
9056 # Does compiler simultaneously support -c and -o options?
9057 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9059 # Must we lock files when doing compilation ?
9060 need_locks=$lt_need_locks
9062 # Do we need the lib prefix for modules?
9063 need_lib_prefix=$need_lib_prefix
9065 # Do we need a version for libraries?
9066 need_version=$need_version
9068 # Whether dlopen is supported.
9069 dlopen_support=$enable_dlopen
9071 # Whether dlopen of programs is supported.
9072 dlopen_self=$enable_dlopen_self
9074 # Whether dlopen of statically linked programs is supported.
9075 dlopen_self_static=$enable_dlopen_self_static
9077 # Compiler flag to prevent dynamic linking.
9078 link_static_flag=$lt_lt_prog_compiler_static
9080 # Compiler flag to turn off builtin functions.
9081 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9083 # Compiler flag to allow reflexive dlopens.
9084 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9086 # Compiler flag to generate shared objects directly from archives.
9087 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9089 # Compiler flag to generate thread-safe objects.
9090 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9092 # Library versioning type.
9093 version_type=$version_type
9095 # Format of library name prefix.
9096 libname_spec=$lt_libname_spec
9098 # List of archive names. First name is the real one, the rest are links.
9099 # The last name is the one that the linker finds with -lNAME.
9100 library_names_spec=$lt_library_names_spec
9102 # The coded name of the library, if different from the real name.
9103 soname_spec=$lt_soname_spec
9105 # Commands used to build and install an old-style archive.
9107 old_archive_cmds=$lt_old_archive_cmds
9108 old_postinstall_cmds=$lt_old_postinstall_cmds
9109 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9111 # Create an old-style archive from a shared archive.
9112 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9114 # Create a temporary old-style archive to link instead of a shared archive.
9115 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9117 # Commands used to build and install a shared archive.
9118 archive_cmds=$lt_archive_cmds
9119 archive_expsym_cmds=$lt_archive_expsym_cmds
9120 postinstall_cmds=$lt_postinstall_cmds
9121 postuninstall_cmds=$lt_postuninstall_cmds
9123 # Commands used to build a loadable module (assumed same as above if empty)
9124 module_cmds=$lt_module_cmds
9125 module_expsym_cmds=$lt_module_expsym_cmds
9127 # Commands to strip libraries.
9128 old_striplib=$lt_old_striplib
9129 striplib=$lt_striplib
9131 # Dependencies to place before the objects being linked to create a
9133 predep_objects=$lt_predep_objects
9135 # Dependencies to place after the objects being linked to create a
9137 postdep_objects=$lt_postdep_objects
9139 # Dependencies to place before the objects being linked to create a
9143 # Dependencies to place after the objects being linked to create a
9145 postdeps=$lt_postdeps
9147 # The library search path used internally by the compiler when linking
9149 compiler_lib_search_path=$lt_compiler_lib_search_path
9151 # Method to check whether dependent libraries are shared objects.
9152 deplibs_check_method=$lt_deplibs_check_method
9154 # Command to use when deplibs_check_method == file_magic.
9155 file_magic_cmd=$lt_file_magic_cmd
9157 # Flag that allows shared libraries with undefined symbols to be built.
9158 allow_undefined_flag=$lt_allow_undefined_flag
9160 # Flag that forces no undefined symbols.
9161 no_undefined_flag=$lt_no_undefined_flag
9163 # Commands used to finish a libtool library installation in a directory.
9164 finish_cmds=$lt_finish_cmds
9166 # Same as above, but a single script fragment to be evaled but not shown.
9167 finish_eval=$lt_finish_eval
9169 # Take the output of nm and produce a listing of raw symbols and C names.
9170 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9172 # Transform the output of nm in a proper C declaration
9173 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9175 # Transform the output of nm in a C name address pair
9176 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9178 # This is the shared library runtime path variable.
9179 runpath_var=$runpath_var
9181 # This is the shared library path variable.
9182 shlibpath_var=$shlibpath_var
9184 # Is shlibpath searched before the hard-coded library search path?
9185 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9187 # How to hardcode a shared library path into an executable.
9188 hardcode_action=$hardcode_action
9190 # Whether we should hardcode library paths into libraries.
9191 hardcode_into_libs=$hardcode_into_libs
9193 # Flag to hardcode \$libdir into a binary during linking.
9194 # This must work even if \$libdir does not exist.
9195 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9197 # If ld is used when linking, flag to hardcode \$libdir into
9198 # a binary during linking. This must work even if \$libdir does
9200 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9202 # Whether we need a single -rpath flag with a separated argument.
9203 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9205 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9207 hardcode_direct=$hardcode_direct
9209 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9211 hardcode_minus_L=$hardcode_minus_L
9213 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9214 # the resulting binary.
9215 hardcode_shlibpath_var=$hardcode_shlibpath_var
9217 # Set to yes if building a shared library automatically hardcodes DIR into the library
9218 # and all subsequent libraries and executables linked against it.
9219 hardcode_automatic=$hardcode_automatic
9221 # Variables whose values should be saved in libtool wrapper scripts and
9222 # restored at relink time.
9223 variables_saved_for_relink="$variables_saved_for_relink"
9225 # Whether libtool must link a program against all its dependency libraries.
9226 link_all_deplibs=$link_all_deplibs
9228 # Compile-time system search path for libraries
9229 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9231 # Run-time system search path for libraries
9232 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9234 # Fix the shell variable \$srcfile for the compiler.
9235 fix_srcfile_path="$fix_srcfile_path"
9237 # Set to yes if exported symbols are required.
9238 always_export_symbols=$always_export_symbols
9240 # The commands to list exported symbols.
9241 export_symbols_cmds=$lt_export_symbols_cmds
9243 # The commands to extract the exported symbol list from a shared archive.
9244 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9246 # Symbols that should not be listed in the preloaded symbols.
9247 exclude_expsyms=$lt_exclude_expsyms
9249 # Symbols that must always be exported.
9250 include_expsyms=$lt_include_expsyms
9252 # ### END LIBTOOL CONFIG
9259 cat <<\EOF >> "$cfgfile"
9261 # AIX sometimes has problems with the GCC collect2 program. For some
9262 # reason, if we set the COLLECT_NAMES environment variable, the problems
9263 # vanish in a puff of smoke.
9264 if test "X${COLLECT_NAMES+set}" != Xset; then
9266 export COLLECT_NAMES
9272 # We use sed instead of cat because bash on DJGPP gets confused if
9273 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9274 # text mode, it properly converts lines to CR/LF. This bash problem
9275 # is reportedly fixed, but why not run on old versions too?
9276 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9278 mv -f "$cfgfile" "$ofile" || \
9279 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9283 # If there is no Makefile yet, we rely on a make rule to execute
9284 # `config.status --recheck' to rerun these tests and create the
9285 # libtool script then.
9286 test -f Makefile && make "$ltmain"
9291 ac_cpp='$CPP $CPPFLAGS'
9292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9299 # Check whether --with-tags or --without-tags was given.
9300 if test "${with_tags+set}" = set; then
9301 withval="$with_tags"
9305 if test -f "$ltmain" && test -n "$tagnames"; then
9306 if test ! -f "${ofile}"; then
9307 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9308 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9311 if test -z "$LTCC"; then
9312 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9313 if test -z "$LTCC"; then
9314 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9315 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9317 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9318 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9322 # Extract list of available tagged configurations in $ofile.
9323 # Note that this assumes the entire list is on one line.
9324 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9326 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9327 for tagname in $tagnames; do
9329 # Check whether tagname contains only valid characters
9330 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9332 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9333 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9334 { (exit 1); exit 1; }; }
9338 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9340 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9341 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9342 { (exit 1); exit 1; }; }
9345 # Update the list of available tags.
9346 if test -n "$tagname"; then
9347 echo appending configuration tag \"$tagname\" to $ofile
9351 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9353 ac_cpp='$CXXCPP $CPPFLAGS'
9354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9361 archive_cmds_need_lc_CXX=no
9362 allow_undefined_flag_CXX=
9363 always_export_symbols_CXX=no
9364 archive_expsym_cmds_CXX=
9365 export_dynamic_flag_spec_CXX=
9366 hardcode_direct_CXX=no
9367 hardcode_libdir_flag_spec_CXX=
9368 hardcode_libdir_flag_spec_ld_CXX=
9369 hardcode_libdir_separator_CXX=
9370 hardcode_minus_L_CXX=no
9371 hardcode_automatic_CXX=no
9373 module_expsym_cmds_CXX=
9374 link_all_deplibs_CXX=unknown
9375 old_archive_cmds_CXX=$old_archive_cmds
9376 no_undefined_flag_CXX=
9377 whole_archive_flag_spec_CXX=
9378 enable_shared_with_static_runtimes_CXX=no
9380 # Dependencies to place before and after the object being linked:
9382 postdep_objects_CXX=
9385 compiler_lib_search_path_CXX=
9387 # Source file extension for C++ test sources.
9390 # Object file extension for compiled C++ test sources.
9394 # Code to be used in simple compile tests
9395 lt_simple_compile_test_code="int some_variable = 0;\n"
9397 # Code to be used in simple link tests
9398 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
9400 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9402 # If no C compiler was specified, use CC.
9405 # Allow CC to be a program name with arguments.
9409 # Allow CC to be a program name with arguments.
9414 lt_save_with_gnu_ld=$with_gnu_ld
9415 lt_save_path_LD=$lt_cv_path_LD
9416 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9417 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9419 unset lt_cv_prog_gnu_ld
9421 if test -n "${lt_cv_path_LDCXX+set}"; then
9422 lt_cv_path_LD=$lt_cv_path_LDCXX
9426 test -z "${LDCXX+set}" || LD=$LDCXX
9430 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9432 # We don't want -fno-exception wen compiling C++ code, so set the
9433 # no_builtin_flag separately
9434 if test "$GXX" = yes; then
9435 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9437 lt_prog_compiler_no_builtin_flag_CXX=
9440 if test "$GXX" = yes; then
9441 # Set up default GNU C++ configuration
9444 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9445 if test "${with_gnu_ld+set}" = set; then
9446 withval="$with_gnu_ld"
9447 test "$withval" = no || with_gnu_ld=yes
9452 if test "$GCC" = yes; then
9453 # Check if gcc -print-prog-name=ld gives a path.
9454 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9455 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9458 # gcc leaves a trailing carriage return which upsets mingw
9459 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9461 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9464 # Accept absolute paths.
9466 re_direlt='/[^/][^/]*/\.\./'
9467 # Canonicalize the path of ld
9468 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9469 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9470 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9472 test -z "$LD" && LD="$ac_prog"
9475 # If it fails, then pretend we aren't using GCC.
9479 # If it is relative, then search for the first ld in PATH.
9483 elif test "$with_gnu_ld" = yes; then
9484 echo "$as_me:$LINENO: checking for GNU ld" >&5
9485 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9487 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9488 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9490 if test "${lt_cv_path_LD+set}" = set; then
9491 echo $ECHO_N "(cached) $ECHO_C" >&6
9493 if test -z "$LD"; then
9494 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9495 for ac_dir in $PATH; do
9497 test -z "$ac_dir" && ac_dir=.
9498 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9499 lt_cv_path_LD="$ac_dir/$ac_prog"
9500 # Check to see if the program is GNU ld. I'd rather use --version,
9501 # but apparently some GNU ld's only accept -v.
9502 # Break only if it was the GNU/non-GNU ld that we prefer.
9503 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9504 *GNU* | *'with BFD'*)
9505 test "$with_gnu_ld" != no && break
9508 test "$with_gnu_ld" != yes && break
9515 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9520 if test -n "$LD"; then
9521 echo "$as_me:$LINENO: result: $LD" >&5
9522 echo "${ECHO_T}$LD" >&6
9524 echo "$as_me:$LINENO: result: no" >&5
9525 echo "${ECHO_T}no" >&6
9527 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9528 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9529 { (exit 1); exit 1; }; }
9530 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9531 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9532 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9533 echo $ECHO_N "(cached) $ECHO_C" >&6
9535 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9536 case `"$LD" -v 2>&1 </dev/null` in
9537 *GNU* | *'with BFD'*)
9538 lt_cv_prog_gnu_ld=yes
9541 lt_cv_prog_gnu_ld=no
9545 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9546 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9547 with_gnu_ld=$lt_cv_prog_gnu_ld
9551 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9552 # archiving commands below assume that GNU ld is being used.
9553 if test "$with_gnu_ld" = yes; then
9554 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9555 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'
9557 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
9558 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9560 # If archive_cmds runs LD, not CC, wlarc should be empty
9561 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9562 # investigate it a little bit more. (MM)
9565 # ancient GNU ld didn't support --whole-archive et. al.
9566 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9567 grep 'no-whole-archive' > /dev/null; then
9568 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9570 whole_archive_flag_spec_CXX=
9576 # A generic and very simple default shared library creation
9577 # command for GNU C++ for the case where it uses the native
9578 # linker, instead of GNU ld. If possible, this setting should
9579 # overridden to take advantage of the native linker features on
9580 # the platform it is being used on.
9581 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9584 # Commands to make compiler produce verbose output that lists
9585 # what "hidden" libraries, object files and flags are used when
9586 # linking a shared library.
9587 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9595 # PORTME: fill in a description of your system's C++ link characteristics
9596 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9597 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9601 # FIXME: insert proper C++ library support
9605 if test "$host_cpu" = ia64; then
9606 # On IA64, the linker does run time linking by default, so we don't
9607 # have to do anything special.
9608 aix_use_runtimelinking=no
9609 exp_sym_flag='-Bexport'
9612 aix_use_runtimelinking=no
9614 # Test if we are trying to use run time linking or normal
9615 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9616 # need to do runtime linking.
9617 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9618 for ld_flag in $LDFLAGS; do
9621 aix_use_runtimelinking=yes
9628 exp_sym_flag='-bexport'
9629 no_entry_flag='-bnoentry'
9632 # When large executables or shared objects are built, AIX ld can
9633 # have problems creating the table of contents. If linking a library
9634 # or program results in "error TOC overflow" add -mminimal-toc to
9635 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9636 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9639 hardcode_direct_CXX=yes
9640 hardcode_libdir_separator_CXX=':'
9641 link_all_deplibs_CXX=yes
9643 if test "$GXX" = yes; then
9644 case $host_os in aix4.012|aix4.012.*)
9645 # We only want to do this on AIX 4.2 and lower, the check
9646 # below for broken collect2 doesn't work under 4.3+
9647 collect2name=`${CC} -print-prog-name=collect2`
9648 if test -f "$collect2name" && \
9649 strings "$collect2name" | grep resolve_lib_name >/dev/null
9651 # We have reworked collect2
9652 hardcode_direct_CXX=yes
9654 # We have old collect2
9655 hardcode_direct_CXX=unsupported
9656 # It fails to find uninstalled libraries when the uninstalled
9657 # path is not listed in the libpath. Setting hardcode_minus_L
9658 # to unsupported forces relinking
9659 hardcode_minus_L_CXX=yes
9660 hardcode_libdir_flag_spec_CXX='-L$libdir'
9661 hardcode_libdir_separator_CXX=
9664 shared_flag='-shared'
9667 if test "$host_cpu" = ia64; then
9668 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9669 # chokes on -Wl,-G. The following line is correct:
9672 if test "$aix_use_runtimelinking" = yes; then
9673 shared_flag='${wl}-G'
9675 shared_flag='${wl}-bM:SRE'
9680 # It seems that -bexpall does not export symbols beginning with
9681 # underscore (_), so it is better to generate a list of symbols to export.
9682 always_export_symbols_CXX=yes
9683 if test "$aix_use_runtimelinking" = yes; then
9684 # Warning - without using the other runtime loading flags (-brtl),
9685 # -berok will link without error, but may produce a broken library.
9686 allow_undefined_flag_CXX='-berok'
9687 # Determine the default libpath from the value encoded in an empty executable.
9688 cat >conftest.$ac_ext <<_ACEOF
9689 #line $LINENO "configure"
9692 cat confdefs.h >>conftest.$ac_ext
9693 cat >>conftest.$ac_ext <<_ACEOF
9694 /* end confdefs.h. */
9704 rm -f conftest.$ac_objext conftest$ac_exeext
9705 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9706 (eval $ac_link) 2>&5
9708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9709 (exit $ac_status); } &&
9710 { ac_try='test -s conftest$ac_exeext'
9711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9715 (exit $ac_status); }; }; then
9717 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9719 # Check for a 64-bit object if we didn't find anything.
9720 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; }
9723 echo "$as_me: failed program was:" >&5
9724 sed 's/^/| /' conftest.$ac_ext >&5
9727 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9728 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9730 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9732 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"
9734 if test "$host_cpu" = ia64; then
9735 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
9736 allow_undefined_flag_CXX="-z nodefs"
9737 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"
9739 # Determine the default libpath from the value encoded in an empty executable.
9740 cat >conftest.$ac_ext <<_ACEOF
9741 #line $LINENO "configure"
9744 cat confdefs.h >>conftest.$ac_ext
9745 cat >>conftest.$ac_ext <<_ACEOF
9746 /* end confdefs.h. */
9756 rm -f conftest.$ac_objext conftest$ac_exeext
9757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9758 (eval $ac_link) 2>&5
9760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9761 (exit $ac_status); } &&
9762 { ac_try='test -s conftest$ac_exeext'
9763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9767 (exit $ac_status); }; }; then
9769 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9771 # Check for a 64-bit object if we didn't find anything.
9772 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; }
9775 echo "$as_me: failed program was:" >&5
9776 sed 's/^/| /' conftest.$ac_ext >&5
9779 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9780 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9782 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9783 # Warning - without using the other run time loading flags,
9784 # -berok will link without error, but may produce a broken library.
9785 no_undefined_flag_CXX=' ${wl}-bernotok'
9786 allow_undefined_flag_CXX=' ${wl}-berok'
9787 # -bexpall does not export symbols beginning with underscore (_)
9788 always_export_symbols_CXX=yes
9789 # Exported symbols can be pulled into shared objects from archives
9790 whole_archive_flag_spec_CXX=' '
9791 archive_cmds_need_lc_CXX=yes
9792 # This is similar to how AIX traditionally builds it's shared libraries.
9793 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'
9798 case $cc_basename in
9800 # FIXME: insert proper C++ library support
9806 cygwin* | mingw* | pw32*)
9807 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
9808 # as there is no search path for DLLs.
9809 hardcode_libdir_flag_spec_CXX='-L$libdir'
9810 allow_undefined_flag_CXX=unsupported
9811 always_export_symbols_CXX=no
9812 enable_shared_with_static_runtimes_CXX=yes
9814 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9815 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'
9816 # If the export-symbols file already is a .def file (1st line
9817 # is EXPORTS), use it as is; otherwise, prepend...
9818 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9819 cp $export_symbols $output_objdir/$soname.def;
9821 echo EXPORTS > $output_objdir/$soname.def;
9822 cat $export_symbols >> $output_objdir/$soname.def;
9824 $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'
9830 darwin* | rhapsody*)
9831 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9832 archive_cmds_need_lc_CXX=no
9834 rhapsody* | darwin1.[012])
9835 allow_undefined_flag_CXX='-undefined suppress'
9838 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9841 lt_int_apple_cc_single_mod=no
9842 output_verbose_link_cmd='echo'
9843 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9844 lt_int_apple_cc_single_mod=yes
9846 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9847 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9849 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'
9851 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9853 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9854 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9855 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}'
9857 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}'
9859 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}'
9860 hardcode_direct_CXX=no
9861 hardcode_automatic_CXX=yes
9862 hardcode_shlibpath_var_CXX=unsupported
9863 whole_archive_flag_spec_CXX='-all_load $convenience'
9864 link_all_deplibs_CXX=yes
9869 case $cc_basename in
9871 # FIXME: insert proper C++ library support
9875 # Green Hills C++ Compiler
9876 # FIXME: insert proper C++ library support
9880 # FIXME: insert proper C++ library support
9886 # C++ shared libraries reported to be fairly broken before switch to ELF
9890 archive_cmds_need_lc_CXX=no
9893 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
9900 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9901 hardcode_libdir_separator_CXX=:
9902 export_dynamic_flag_spec_CXX='${wl}-E'
9903 hardcode_direct_CXX=yes
9904 hardcode_minus_L_CXX=yes # Not in the search PATH,
9905 # but as the default
9906 # location of the library.
9908 case $cc_basename in
9910 # FIXME: insert proper C++ library support
9914 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'
9915 # Commands to make compiler produce verbose output that lists
9916 # what "hidden" libraries, object files and flags are used when
9917 # linking a shared library.
9919 # There doesn't appear to be a way to prevent this compiler from
9920 # explicitly linking system object files so we need to strip them
9921 # from the output so that they don't get included in the library
9923 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'
9926 if test "$GXX" = yes; then
9927 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'
9929 # FIXME: insert proper C++ library support
9936 if test $with_gnu_ld = no; then
9939 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9940 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
9941 hardcode_libdir_separator_CXX=:
9944 hardcode_libdir_flag_spec_CXX='-L$libdir'
9947 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9948 hardcode_libdir_separator_CXX=:
9949 export_dynamic_flag_spec_CXX='${wl}-E'
9955 hardcode_direct_CXX=no
9956 hardcode_shlibpath_var_CXX=no
9959 hardcode_direct_CXX=no
9960 hardcode_shlibpath_var_CXX=no
9961 hardcode_minus_L_CXX=yes # Not in the search PATH,
9962 # but as the default
9963 # location of the library.
9966 hardcode_direct_CXX=yes
9967 hardcode_minus_L_CXX=yes # Not in the search PATH,
9968 # but as the default
9969 # location of the library.
9973 case $cc_basename in
9975 # FIXME: insert proper C++ library support
9981 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
9984 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
9987 # Commands to make compiler produce verbose output that lists
9988 # what "hidden" libraries, object files and flags are used when
9989 # linking a shared library.
9991 # There doesn't appear to be a way to prevent this compiler from
9992 # explicitly linking system object files so we need to strip them
9993 # from the output so that they don't get included in the library
9995 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'
9998 if test "$GXX" = yes; then
9999 if test $with_gnu_ld = no; then
10000 case "$host_cpu" in
10002 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10005 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'
10010 # FIXME: insert proper C++ library support
10017 case $cc_basename in
10020 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'
10022 # Archives containing C++ object files must be created using
10023 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10024 # necessary to make sure instantiated templates are included
10026 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10029 if test "$GXX" = yes; then
10030 if test "$with_gnu_ld" = no; then
10031 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'
10033 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'
10036 link_all_deplibs_CXX=yes
10039 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10040 hardcode_libdir_separator_CXX=:
10043 case $cc_basename in
10045 # Kuck and Associates, Inc. (KAI) C++ Compiler
10047 # KCC will only create a shared library if the output file
10048 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10049 # to its proper name (with version) after linking.
10050 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'
10051 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'
10052 # Commands to make compiler produce verbose output that lists
10053 # what "hidden" libraries, object files and flags are used when
10054 # linking a shared library.
10056 # There doesn't appear to be a way to prevent this compiler from
10057 # explicitly linking system object files so we need to strip them
10058 # from the output so that they don't get included in the library
10060 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'
10062 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10063 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10065 # Archives containing C++ object files must be created using
10066 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10067 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10072 archive_cmds_need_lc_CXX=no
10073 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10074 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'
10075 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10076 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10077 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10081 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10082 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
10084 runpath_var=LD_RUN_PATH
10085 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10086 hardcode_libdir_separator_CXX=:
10088 # Commands to make compiler produce verbose output that lists
10089 # what "hidden" libraries, object files and flags are used when
10090 # linking a shared library.
10092 # There doesn't appear to be a way to prevent this compiler from
10093 # explicitly linking system object files so we need to strip them
10094 # from the output so that they don't get included in the library
10096 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'
10101 # FIXME: insert proper C++ library support
10105 # FIXME: insert proper C++ library support
10109 case $cc_basename in
10111 # FIXME: insert proper C++ library support
10115 # FIXME: insert proper C++ library support
10121 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10122 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10124 hardcode_libdir_flag_spec_CXX='-R$libdir'
10125 hardcode_direct_CXX=yes
10126 hardcode_shlibpath_var_CXX=no
10128 # Workaround some broken pre-1.5 toolchains
10129 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10132 case $cc_basename in
10134 # Kuck and Associates, Inc. (KAI) C++ Compiler
10136 # KCC will only create a shared library if the output file
10137 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10138 # to its proper name (with version) after linking.
10139 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'
10141 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10142 hardcode_libdir_separator_CXX=:
10144 # Archives containing C++ object files must be created using
10145 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10146 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10150 # Rational C++ 2.4.1
10151 # FIXME: insert proper C++ library support
10155 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10156 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'
10158 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10159 hardcode_libdir_separator_CXX=:
10161 # Commands to make compiler produce verbose output that lists
10162 # what "hidden" libraries, object files and flags are used when
10163 # linking a shared library.
10165 # There doesn't appear to be a way to prevent this compiler from
10166 # explicitly linking system object files so we need to strip them
10167 # from the output so that they don't get included in the library
10169 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'
10172 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10173 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10174 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'
10176 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10177 hardcode_libdir_separator_CXX=:
10179 # Commands to make compiler produce verbose output that lists
10180 # what "hidden" libraries, object files and flags are used when
10181 # linking a shared library.
10182 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10185 # FIXME: insert proper C++ library support
10192 case $cc_basename in
10194 # Kuck and Associates, Inc. (KAI) C++ Compiler
10196 # KCC will only create a shared library if the output file
10197 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10198 # to its proper name (with version) after linking.
10199 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'
10201 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10202 hardcode_libdir_separator_CXX=:
10204 # Archives containing C++ object files must be created using
10205 # the KAI C++ compiler.
10206 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10209 # Rational C++ 2.4.1
10210 # FIXME: insert proper C++ library support
10214 allow_undefined_flag_CXX=' -expect_unresolved \*'
10215 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'
10216 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10217 echo "-hidden">> $lib.exp~
10218 $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~
10221 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10222 hardcode_libdir_separator_CXX=:
10224 # Commands to make compiler produce verbose output that lists
10225 # what "hidden" libraries, object files and flags are used when
10226 # linking a shared library.
10228 # There doesn't appear to be a way to prevent this compiler from
10229 # explicitly linking system object files so we need to strip them
10230 # from the output so that they don't get included in the library
10232 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'
10235 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10236 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10237 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'
10239 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10240 hardcode_libdir_separator_CXX=:
10242 # Commands to make compiler produce verbose output that lists
10243 # what "hidden" libraries, object files and flags are used when
10244 # linking a shared library.
10245 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10248 # FIXME: insert proper C++ library support
10255 # FIXME: insert proper C++ library support
10259 archive_cmds_need_lc_CXX=no
10260 case $cc_basename in
10262 # FIXME: insert proper C++ library support
10266 # FIXME: insert proper C++ library support
10272 case $cc_basename in
10275 # FIXME: insert proper C++ library support
10280 # FIXME: insert proper C++ library support
10284 # FIXME: insert proper C++ library support
10290 case $cc_basename in
10292 # Sun C++ 4.2, 5.x and Centerline C++
10293 no_undefined_flag_CXX=' -zdefs'
10294 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10295 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10296 $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'
10298 hardcode_libdir_flag_spec_CXX='-R$libdir'
10299 hardcode_shlibpath_var_CXX=no
10301 solaris2.0-5 | solaris2.0-5.*) ;;
10303 # The C++ compiler is used as linker so we must use $wl
10304 # flag to pass the commands to the underlying system
10306 # Supported since Solaris 2.6 (maybe 2.5.1?)
10307 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10310 link_all_deplibs_CXX=yes
10312 # Commands to make compiler produce verbose output that lists
10313 # what "hidden" libraries, object files and flags are used when
10314 # linking a shared library.
10316 # There doesn't appear to be a way to prevent this compiler from
10317 # explicitly linking system object files so we need to strip them
10318 # from the output so that they don't get included in the library
10320 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'
10322 # Archives containing C++ object files must be created using
10323 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10324 # necessary to make sure instantiated templates are included
10326 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10329 # Green Hills C++ Compiler
10330 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10332 # The C++ compiler must be used to create the archive.
10333 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10336 # GNU C++ compiler with Solaris linker
10337 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10338 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10339 if $CC --version | grep -v '^2\.7' > /dev/null; then
10340 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10341 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10342 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10344 # Commands to make compiler produce verbose output that lists
10345 # what "hidden" libraries, object files and flags are used when
10346 # linking a shared library.
10347 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10349 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10351 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10352 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10353 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10355 # Commands to make compiler produce verbose output that lists
10356 # what "hidden" libraries, object files and flags are used when
10357 # linking a shared library.
10358 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10361 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10366 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10367 archive_cmds_need_lc_CXX=no
10370 case $cc_basename in
10372 # NonStop-UX NCC 3.20
10373 # FIXME: insert proper C++ library support
10377 # FIXME: insert proper C++ library support
10383 # FIXME: insert proper C++ library support
10387 # FIXME: insert proper C++ library support
10391 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10392 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10393 test "$ld_shlibs_CXX" = no && can_build_shared=no
10399 ## There is no encapsulation within the following macros, do not change
10400 ## the running order or otherwise move them around unless you know exactly
10401 ## what you are doing...
10403 cat > conftest.$ac_ext <<EOF
10407 Foo (void) { a = 0; }
10413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10414 (eval $ac_compile) 2>&5
10416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10417 (exit $ac_status); }; then
10418 # Parse the compiler output and extract the necessary
10419 # objects, libraries and library flags.
10421 # Sentinel used to keep track of whether or not we are before
10422 # the conftest object file.
10423 pre_test_object_deps_done=no
10425 # The `*' in the case matches for architectures that use `case' in
10426 # $output_verbose_cmd can trigger glob expansion during the loop
10427 # eval without this substitution.
10428 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10430 for p in `eval $output_verbose_link_cmd`; do
10434 # Some compilers place space between "-{L,R}" and the path.
10435 # Remove the space.
10436 if test $p = "-L" \
10437 || test $p = "-R"; then
10444 if test "$pre_test_object_deps_done" = no; then
10447 # Internal compiler library paths should come after those
10448 # provided the user. The postdeps already come after the
10449 # user supplied libs so there is no need to process them.
10450 if test -z "$compiler_lib_search_path_CXX"; then
10451 compiler_lib_search_path_CXX="${prev}${p}"
10453 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10456 # The "-l" case would never come before the object being
10457 # linked, so don't bother handling this case.
10460 if test -z "$postdeps_CXX"; then
10461 postdeps_CXX="${prev}${p}"
10463 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10469 # This assumes that the test object file only shows up
10470 # once in the compiler output.
10471 if test "$p" = "conftest.$objext"; then
10472 pre_test_object_deps_done=yes
10476 if test "$pre_test_object_deps_done" = no; then
10477 if test -z "$predep_objects_CXX"; then
10478 predep_objects_CXX="$p"
10480 predep_objects_CXX="$predep_objects_CXX $p"
10483 if test -z "$postdep_objects_CXX"; then
10484 postdep_objects_CXX="$p"
10486 postdep_objects_CXX="$postdep_objects_CXX $p"
10491 *) ;; # Ignore the rest.
10499 echo "libtool.m4: error: problem compiling CXX test program"
10502 $rm -f confest.$objext
10504 case " $postdeps_CXX " in
10505 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
10508 lt_prog_compiler_wl_CXX=
10509 lt_prog_compiler_pic_CXX=
10510 lt_prog_compiler_static_CXX=
10512 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10513 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10515 # C++ specific cases for pic, static, wl, etc.
10516 if test "$GXX" = yes; then
10517 lt_prog_compiler_wl_CXX='-Wl,'
10518 lt_prog_compiler_static_CXX='-static'
10522 # All AIX code is PIC.
10523 if test "$host_cpu" = ia64; then
10524 # AIX 5 now supports IA64 processor
10525 lt_prog_compiler_static_CXX='-Bstatic'
10529 # FIXME: we need at least 68020 code to build shared libraries, but
10530 # adding the `-m68020' flag to GCC prevents building anything better,
10532 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10534 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10535 # PIC is the default for these OSes.
10537 mingw* | os2* | pw32*)
10538 # This hack is so that the source file can tell whether it is being
10539 # built for inclusion in a dll (and should export symbols for example).
10540 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10542 darwin* | rhapsody*)
10543 # PIC is the default on this platform
10544 # Common symbols not allowed in MH_DYLIB files
10545 lt_prog_compiler_pic_CXX='-fno-common'
10548 # DJGPP does not support shared libraries at all
10549 lt_prog_compiler_pic_CXX=
10552 if test -d /usr/nec; then
10553 lt_prog_compiler_pic_CXX=-Kconform_pic
10557 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10558 # not for PA HP-UX.
10559 case "$host_cpu" in
10563 lt_prog_compiler_pic_CXX='-fPIC'
10568 lt_prog_compiler_pic_CXX='-fPIC'
10574 # All AIX code is PIC.
10575 if test "$host_cpu" = ia64; then
10576 # AIX 5 now supports IA64 processor
10577 lt_prog_compiler_static_CXX='-Bstatic'
10579 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
10583 case $cc_basename in
10585 # Green Hills C++ Compiler
10586 # _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"
10591 case $cc_basename in
10593 lt_prog_compiler_pic_CXX='-KPIC'
10596 # Green Hills C++ Compiler
10597 lt_prog_compiler_pic_CXX='-pic'
10604 # FreeBSD uses GNU C++
10606 hpux9* | hpux10* | hpux11*)
10607 case $cc_basename in
10609 lt_prog_compiler_wl_CXX='-Wl,'
10610 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10611 if test "$host_cpu" != ia64; then
10612 lt_prog_compiler_pic_CXX='+Z'
10616 lt_prog_compiler_wl_CXX='-Wl,'
10617 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10618 case "$host_cpu" in
10623 lt_prog_compiler_pic_CXX='+Z'
10631 irix5* | irix6* | nonstopux*)
10632 case $cc_basename in
10634 lt_prog_compiler_wl_CXX='-Wl,'
10635 lt_prog_compiler_static_CXX='-non_shared'
10636 # CC pic flag -KPIC is the default.
10643 case $cc_basename in
10646 lt_prog_compiler_wl_CXX='--backend -Wl,'
10647 lt_prog_compiler_pic_CXX='-fPIC'
10651 lt_prog_compiler_wl_CXX='-Wl,'
10652 lt_prog_compiler_pic_CXX='-KPIC'
10653 lt_prog_compiler_static_CXX='-static'
10657 # Make sure the PIC flag is empty. It appears that all Alpha
10658 # Linux and Compaq Tru64 Unix objects are PIC.
10659 lt_prog_compiler_pic_CXX=
10660 lt_prog_compiler_static_CXX='-non_shared'
10671 case $cc_basename in
10673 lt_prog_compiler_pic_CXX='-W c,exportall'
10681 osf3* | osf4* | osf5*)
10682 case $cc_basename in
10684 lt_prog_compiler_wl_CXX='--backend -Wl,'
10687 # Rational C++ 2.4.1
10688 lt_prog_compiler_pic_CXX='-pic'
10691 # Digital/Compaq C++
10692 lt_prog_compiler_wl_CXX='-Wl,'
10693 # Make sure the PIC flag is empty. It appears that all Alpha
10694 # Linux and Compaq Tru64 Unix objects are PIC.
10695 lt_prog_compiler_pic_CXX=
10696 lt_prog_compiler_static_CXX='-non_shared'
10705 case $cc_basename in
10707 lt_prog_compiler_pic_CXX='-fPIC'
10714 case $cc_basename in
10716 # Sun C++ 4.2, 5.x and Centerline C++
10717 lt_prog_compiler_pic_CXX='-KPIC'
10718 lt_prog_compiler_static_CXX='-Bstatic'
10719 lt_prog_compiler_wl_CXX='-Qoption ld '
10722 # Green Hills C++ Compiler
10723 lt_prog_compiler_pic_CXX='-PIC'
10730 case $cc_basename in
10733 lt_prog_compiler_pic_CXX='-pic'
10734 lt_prog_compiler_static_CXX='-Bstatic'
10738 lt_prog_compiler_pic_CXX='-pic'
10745 case $cc_basename in
10747 # NonStop-UX NCC 3.20
10748 lt_prog_compiler_pic_CXX='-KPIC'
10759 lt_prog_compiler_can_build_shared_CXX=no
10764 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10765 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
10768 # Check to make sure the PIC flag actually works.
10770 if test -n "$lt_prog_compiler_pic_CXX"; then
10771 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10772 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
10773 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10774 echo $ECHO_N "(cached) $ECHO_C" >&6
10776 lt_prog_compiler_pic_works_CXX=no
10777 ac_outfile=conftest.$ac_objext
10778 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10779 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
10780 # Insert the option either (1) after the last *FLAGS variable, or
10781 # (2) before a word containing "conftest.", or (3) at the end.
10782 # Note that $ac_compile itself does not contain backslashes and begins
10783 # with a dollar sign (not a hyphen), so the echo should work correctly.
10784 # The option is referenced via a variable to avoid confusing sed.
10785 lt_compile=`echo "$ac_compile" | $SED \
10786 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10787 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10788 -e 's:$: $lt_compiler_flag:'`
10789 (eval echo "\"\$as_me:10789: $lt_compile\"" >&5)
10790 (eval "$lt_compile" 2>conftest.err)
10792 cat conftest.err >&5
10793 echo "$as_me:10793: \$? = $ac_status" >&5
10794 if (exit $ac_status) && test -s "$ac_outfile"; then
10795 # The compiler can only warn and ignore the option if not recognized
10796 # So say no if there are warnings
10797 if test ! -s conftest.err; then
10798 lt_prog_compiler_pic_works_CXX=yes
10804 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10805 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
10807 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
10808 case $lt_prog_compiler_pic_CXX in
10810 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
10813 lt_prog_compiler_pic_CXX=
10814 lt_prog_compiler_can_build_shared_CXX=no
10819 # For platforms which do not support PIC, -DPIC is meaningless:
10821 lt_prog_compiler_pic_CXX=
10824 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
10828 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10829 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10830 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
10831 echo $ECHO_N "(cached) $ECHO_C" >&6
10833 lt_cv_prog_compiler_c_o_CXX=no
10834 $rm -r conftest 2>/dev/null
10838 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10840 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10841 # that will create temporary files in the current directory regardless of
10842 # the output directory. Thus, making CWD read-only will cause this test
10843 # to fail, enabling locking or at least warning the user not to do parallel
10847 lt_compiler_flag="-o out/conftest2.$ac_objext"
10848 # Insert the option either (1) after the last *FLAGS variable, or
10849 # (2) before a word containing "conftest.", or (3) at the end.
10850 # Note that $ac_compile itself does not contain backslashes and begins
10851 # with a dollar sign (not a hyphen), so the echo should work correctly.
10852 lt_compile=`echo "$ac_compile" | $SED \
10853 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10854 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10855 -e 's:$: $lt_compiler_flag:'`
10856 (eval echo "\"\$as_me:10856: $lt_compile\"" >&5)
10857 (eval "$lt_compile" 2>out/conftest.err)
10859 cat out/conftest.err >&5
10860 echo "$as_me:10860: \$? = $ac_status" >&5
10861 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10863 # The compiler can only warn and ignore the option if not recognized
10864 # So say no if there are warnings
10865 if test ! -s out/conftest.err; then
10866 lt_cv_prog_compiler_c_o_CXX=yes
10870 $rm conftest* out/*
10877 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10878 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
10881 hard_links="nottested"
10882 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
10883 # do not overwrite the value of need_locks provided by the user
10884 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10885 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10888 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10890 ln conftest.a conftest.b 2>&5 || hard_links=no
10891 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10892 echo "$as_me:$LINENO: result: $hard_links" >&5
10893 echo "${ECHO_T}$hard_links" >&6
10894 if test "$hard_links" = no; then
10895 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10896 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10903 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10904 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10906 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10909 # If we're using GNU nm, then we don't want the "-C" option.
10910 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10911 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10912 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'
10914 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'
10918 export_symbols_cmds_CXX="$ltdll_cmds"
10921 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
10924 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10928 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10929 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10930 test "$ld_shlibs_CXX" = no && can_build_shared=no
10932 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10933 if test "$GCC" = yes; then
10934 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10938 # Do we need to explicitly link libc?
10940 case "x$archive_cmds_need_lc_CXX" in
10942 # Assume -lc should be added
10943 archive_cmds_need_lc_CXX=yes
10945 if test "$enable_shared" = yes && test "$GCC" = yes; then
10946 case $archive_cmds_CXX in
10948 # FIXME: we may have to deal with multi-command sequences.
10951 # Test whether the compiler implicitly links with -lc since on some
10952 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10953 # to ld, don't add -lc before -lgcc.
10954 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10955 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
10957 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10960 (eval $ac_compile) 2>&5
10962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10963 (exit $ac_status); } 2>conftest.err; then
10966 libobjs=conftest.$ac_objext
10968 wl=$lt_prog_compiler_wl_CXX
10974 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
10975 allow_undefined_flag_CXX=
10976 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
10977 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
10979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10980 (exit $ac_status); }
10982 archive_cmds_need_lc_CXX=no
10984 archive_cmds_need_lc_CXX=yes
10986 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
10988 cat conftest.err 1>&5
10991 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
10992 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
10999 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11000 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11001 hardcode_action_CXX=
11002 if test -n "$hardcode_libdir_flag_spec_CXX" || \
11003 test -n "$runpath_var CXX" || \
11004 test "X$hardcode_automatic_CXX"="Xyes" ; then
11006 # We can hardcode non-existant directories.
11007 if test "$hardcode_direct_CXX" != no &&
11008 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11009 # have to relink, otherwise we might link with an installed library
11010 # when we should be linking with a yet-to-be-installed one
11011 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
11012 test "$hardcode_minus_L_CXX" != no; then
11013 # Linking always hardcodes the temporary library directory.
11014 hardcode_action_CXX=relink
11016 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11017 hardcode_action_CXX=immediate
11020 # We cannot hardcode anything, or else we can only hardcode existing
11022 hardcode_action_CXX=unsupported
11024 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11025 echo "${ECHO_T}$hardcode_action_CXX" >&6
11027 if test "$hardcode_action_CXX" = relink; then
11028 # Fast installation is not supported
11029 enable_fast_install=no
11030 elif test "$shlibpath_overrides_runpath" = yes ||
11031 test "$enable_shared" = no; then
11032 # Fast installation is not necessary
11033 enable_fast_install=needless
11038 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11039 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11040 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11041 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11042 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11043 echo "$as_me:$LINENO: result: yes" >&5
11044 echo "${ECHO_T}yes" >&6
11046 # FIXME - insert some real tests, host_os isn't really good enough
11049 if test -n "$STRIP" ; then
11050 striplib="$STRIP -x"
11051 echo "$as_me:$LINENO: result: yes" >&5
11052 echo "${ECHO_T}yes" >&6
11054 echo "$as_me:$LINENO: result: no" >&5
11055 echo "${ECHO_T}no" >&6
11059 echo "$as_me:$LINENO: result: no" >&5
11060 echo "${ECHO_T}no" >&6
11065 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11066 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11067 library_names_spec=
11068 libname_spec='lib$name'
11072 postuninstall_cmds=
11076 shlibpath_overrides_runpath=unknown
11078 dynamic_linker="$host_os ld.so"
11079 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11080 if test "$GCC" = yes; then
11081 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11082 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11083 # if the path contains ";" then we assume it to be the separator
11084 # otherwise default to the standard path separator (i.e. ":") - it is
11085 # assumed that no part of a normal pathname contains ";" but that should
11086 # okay in the real world where ";" in dirpaths is itself problematic.
11087 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11089 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11092 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11094 need_lib_prefix=unknown
11095 hardcode_into_libs=no
11097 # when you set need_version to no, make sure it does not cause -set_version
11098 # flags to be left without arguments
11099 need_version=unknown
11104 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11105 shlibpath_var=LIBPATH
11107 # AIX 3 has no versioning support, so we append a major version to the name.
11108 soname_spec='${libname}${release}${shared_ext}$major'
11115 hardcode_into_libs=yes
11116 if test "$host_cpu" = ia64; then
11117 # AIX 5 supports IA64
11118 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11119 shlibpath_var=LD_LIBRARY_PATH
11121 # With GCC up to 2.95.x, collect2 would create an import file
11122 # for dependence libraries. The import file would start with
11123 # the line `#! .'. This would cause the generated library to
11124 # depend on `.', always an invalid library. This was fixed in
11125 # development snapshots of GCC prior to 3.0.
11127 aix4 | aix4.[01] | aix4.[01].*)
11128 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11130 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11133 can_build_shared=no
11137 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11138 # soname into executable. Probably we can add versioning support to
11139 # collect2, so additional links can be useful in future.
11140 if test "$aix_use_runtimelinking" = yes; then
11141 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11142 # instead of lib<name>.a to let people know that these are not
11143 # typical AIX shared libraries.
11144 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11146 # We preserve .a as extension for shared libraries through AIX4.2
11147 # and later when we are not doing run time linking.
11148 library_names_spec='${libname}${release}.a $libname.a'
11149 soname_spec='${libname}${release}${shared_ext}$major'
11151 shlibpath_var=LIBPATH
11156 library_names_spec='$libname.ixlibrary $libname.a'
11157 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11158 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'
11162 library_names_spec='${libname}${shared_ext}'
11163 dynamic_linker="$host_os ld.so"
11164 shlibpath_var=LIBRARY_PATH
11170 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11171 soname_spec='${libname}${release}${shared_ext}$major'
11172 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11173 shlibpath_var=LD_LIBRARY_PATH
11174 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11175 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11176 # the default ld.so.conf also contains /usr/contrib/lib and
11177 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11178 # libtool to hard-code these into programs
11181 cygwin* | mingw* | pw32*)
11182 version_type=windows
11187 case $GCC,$host_os in
11188 yes,cygwin* | yes,mingw* | yes,pw32*)
11189 library_names_spec='$libname.dll.a'
11190 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11191 postinstall_cmds='base_file=`basename \${file}`~
11192 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11193 dldir=$destdir/`dirname \$dlpath`~
11194 test -d \$dldir || mkdir -p \$dldir~
11195 $install_prog $dir/$dlname \$dldir/$dlname'
11196 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11197 dlpath=$dir/\$dldll~
11199 shlibpath_overrides_runpath=yes
11203 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11204 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11205 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
11208 # MinGW DLLs use traditional 'lib' prefix
11209 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11210 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11211 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11212 # It is most probably a Windows format PATH printed by
11213 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11214 # path with ; separators, and with drive letters. We can handle the
11215 # drive letters (cygwin fileutils understands them), so leave them,
11216 # especially as we might pass files found there to a mingw objdump,
11217 # which wouldn't understand a cygwinified path. Ahh.
11218 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11220 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11224 # pw32 DLLs use 'pw' prefix rather than 'lib'
11225 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11231 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11234 dynamic_linker='Win32 ld.exe'
11235 # FIXME: first we should search . and the directory the executable is in
11239 darwin* | rhapsody*)
11240 dynamic_linker="$host_os dyld"
11241 version_type=darwin
11244 # FIXME: Relying on posixy $() will cause problems for
11245 # cross-compilation, but unfortunately the echo tests do not
11246 # yet detect zsh echo's removal of \ escapes.
11247 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11248 soname_spec='${libname}${release}${major}$shared_ext'
11249 shlibpath_overrides_runpath=yes
11250 shlibpath_var=DYLD_LIBRARY_PATH
11251 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11252 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11253 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
11254 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"`
11256 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11263 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11264 soname_spec='${libname}${release}${shared_ext}$major'
11265 shlibpath_var=LD_LIBRARY_PATH
11273 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11274 version_type=freebsd-$objformat
11275 case $version_type in
11277 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11282 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11286 shlibpath_var=LD_LIBRARY_PATH
11289 shlibpath_overrides_runpath=yes
11291 freebsd3.01* | freebsdelf3.01*)
11292 shlibpath_overrides_runpath=yes
11293 hardcode_into_libs=yes
11296 shlibpath_overrides_runpath=no
11297 hardcode_into_libs=yes
11306 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11307 soname_spec='${libname}${release}${shared_ext}$major'
11308 shlibpath_var=LD_LIBRARY_PATH
11309 hardcode_into_libs=yes
11312 hpux9* | hpux10* | hpux11*)
11313 # Give a soname corresponding to the major version so that dld.sl refuses to
11314 # link against other versions.
11318 case "$host_cpu" in
11321 hardcode_into_libs=yes
11322 dynamic_linker="$host_os dld.so"
11323 shlibpath_var=LD_LIBRARY_PATH
11324 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11325 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11326 soname_spec='${libname}${release}${shared_ext}$major'
11327 if test "X$HPUX_IA64_MODE" = X32; then
11328 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11330 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11332 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11336 hardcode_into_libs=yes
11337 dynamic_linker="$host_os dld.sl"
11338 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11339 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11340 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11341 soname_spec='${libname}${release}${shared_ext}$major'
11342 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11343 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11347 dynamic_linker="$host_os dld.sl"
11348 shlibpath_var=SHLIB_PATH
11349 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11350 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11351 soname_spec='${libname}${release}${shared_ext}$major'
11354 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11355 postinstall_cmds='chmod 555 $lib'
11358 irix5* | irix6* | nonstopux*)
11360 nonstopux*) version_type=nonstopux ;;
11362 if test "$lt_cv_prog_gnu_ld" = yes; then
11370 soname_spec='${libname}${release}${shared_ext}$major'
11371 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11373 irix5* | nonstopux*)
11374 libsuff= shlibsuff=
11377 case $LD in # libtool.m4 will add one of these switches to LD
11378 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11379 libsuff= shlibsuff= libmagic=32-bit;;
11380 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11381 libsuff=32 shlibsuff=N32 libmagic=N32;;
11382 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11383 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11384 *) libsuff= shlibsuff= libmagic=never-match;;
11388 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11389 shlibpath_overrides_runpath=no
11390 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11391 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11392 hardcode_into_libs=yes
11395 # No shared lib support for Linux oldld, aout, or coff.
11396 linux*oldld* | linux*aout* | linux*coff*)
11400 # This must be Linux ELF.
11405 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11406 soname_spec='${libname}${release}${shared_ext}$major'
11407 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11408 shlibpath_var=LD_LIBRARY_PATH
11409 shlibpath_overrides_runpath=no
11410 # This implies no fast_install, which is unacceptable.
11411 # Some rework will be needed to allow for fast_install
11412 # before this can be enabled.
11413 hardcode_into_libs=yes
11415 # We used to test for /lib/ld.so.1 and disable shared libraries on
11416 # powerpc, because MkLinux only supported shared libraries with the
11417 # GNU dynamic linker. Since this was broken with cross compilers,
11418 # most powerpc-linux boxes support dynamic linking these days and
11419 # people can always --disable-shared, the test was removed, and we
11420 # assume the GNU/Linux dynamic linker is in use.
11421 dynamic_linker='GNU/Linux ld.so'
11428 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11429 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11430 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11431 dynamic_linker='NetBSD (a.out) ld.so'
11433 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11434 soname_spec='${libname}${release}${shared_ext}$major'
11435 dynamic_linker='NetBSD ld.elf_so'
11437 shlibpath_var=LD_LIBRARY_PATH
11438 shlibpath_overrides_runpath=yes
11439 hardcode_into_libs=yes
11444 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11445 shlibpath_var=LD_LIBRARY_PATH
11446 shlibpath_overrides_runpath=yes
11453 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11454 soname_spec='${libname}${release}${shared_ext}$major'
11455 shlibpath_var=LD_LIBRARY_PATH
11456 shlibpath_overrides_runpath=yes
11463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11464 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11465 shlibpath_var=LD_LIBRARY_PATH
11466 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11468 openbsd2.[89] | openbsd2.[89].*)
11469 shlibpath_overrides_runpath=no
11472 shlibpath_overrides_runpath=yes
11476 shlibpath_overrides_runpath=yes
11481 libname_spec='$name'
11484 library_names_spec='$libname${shared_ext} $libname.a'
11485 dynamic_linker='OS/2 ld.exe'
11486 shlibpath_var=LIBPATH
11489 osf3* | osf4* | osf5*)
11493 soname_spec='${libname}${release}${shared_ext}$major'
11494 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11495 shlibpath_var=LD_LIBRARY_PATH
11496 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11497 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11502 soname_spec='${libname}${release}${shared_ext}$major'
11503 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11504 shlibpath_var=LD_LIBRARY_PATH
11511 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11512 soname_spec='${libname}${release}${shared_ext}$major'
11513 shlibpath_var=LD_LIBRARY_PATH
11514 shlibpath_overrides_runpath=yes
11515 hardcode_into_libs=yes
11516 # ldd complains unless libraries are executable
11517 postinstall_cmds='chmod +x $lib'
11522 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11523 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11524 shlibpath_var=LD_LIBRARY_PATH
11525 shlibpath_overrides_runpath=yes
11526 if test "$with_gnu_ld" = yes; then
11532 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11534 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11535 soname_spec='${libname}${release}${shared_ext}$major'
11536 shlibpath_var=LD_LIBRARY_PATH
11537 case $host_vendor in
11539 shlibpath_overrides_runpath=no
11541 export_dynamic_flag_spec='${wl}-Blargedynsym'
11542 runpath_var=LD_RUN_PATH
11550 shlibpath_overrides_runpath=no
11551 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11557 if test -d /usr/nec ;then
11559 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11560 soname_spec='$libname${shared_ext}.$major'
11561 shlibpath_var=LD_LIBRARY_PATH
11567 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11568 soname_spec='${libname}${release}${shared_ext}$major'
11569 shlibpath_var=LD_LIBRARY_PATH
11576 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11577 echo "${ECHO_T}$dynamic_linker" >&6
11578 test "$dynamic_linker" = no && can_build_shared=no
11580 if test "x$enable_dlopen" != xyes; then
11581 enable_dlopen=unknown
11582 enable_dlopen_self=unknown
11583 enable_dlopen_self_static=unknown
11590 lt_cv_dlopen="load_add_on"
11592 lt_cv_dlopen_self=yes
11596 lt_cv_dlopen="LoadLibrary"
11601 lt_cv_dlopen="dlopen"
11606 # if libdl is installed we need to link against it
11607 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11608 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11609 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11610 echo $ECHO_N "(cached) $ECHO_C" >&6
11612 ac_check_lib_save_LIBS=$LIBS
11614 cat >conftest.$ac_ext <<_ACEOF
11615 #line $LINENO "configure"
11618 cat confdefs.h >>conftest.$ac_ext
11619 cat >>conftest.$ac_ext <<_ACEOF
11620 /* end confdefs.h. */
11622 /* Override any gcc2 internal prototype to avoid an error. */
11626 /* We use char because int might match the return type of a gcc2
11627 builtin and then its argument prototype would still apply. */
11637 rm -f conftest.$ac_objext conftest$ac_exeext
11638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11639 (eval $ac_link) 2>&5
11641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11642 (exit $ac_status); } &&
11643 { ac_try='test -s conftest$ac_exeext'
11644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11645 (eval $ac_try) 2>&5
11647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11648 (exit $ac_status); }; }; then
11649 ac_cv_lib_dl_dlopen=yes
11651 echo "$as_me: failed program was:" >&5
11652 sed 's/^/| /' conftest.$ac_ext >&5
11654 ac_cv_lib_dl_dlopen=no
11656 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11657 LIBS=$ac_check_lib_save_LIBS
11659 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11660 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11661 if test $ac_cv_lib_dl_dlopen = yes; then
11662 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11665 lt_cv_dlopen="dyld"
11667 lt_cv_dlopen_self=yes
11674 echo "$as_me:$LINENO: checking for shl_load" >&5
11675 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11676 if test "${ac_cv_func_shl_load+set}" = set; then
11677 echo $ECHO_N "(cached) $ECHO_C" >&6
11679 cat >conftest.$ac_ext <<_ACEOF
11680 #line $LINENO "configure"
11683 cat confdefs.h >>conftest.$ac_ext
11684 cat >>conftest.$ac_ext <<_ACEOF
11685 /* end confdefs.h. */
11686 /* System header to define __stub macros and hopefully few prototypes,
11687 which can conflict with char shl_load (); below.
11688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11689 <limits.h> exists even on freestanding compilers. */
11691 # include <limits.h>
11693 # include <assert.h>
11695 /* Override any gcc2 internal prototype to avoid an error. */
11700 /* We use char because int might match the return type of a gcc2
11701 builtin and then its argument prototype would still apply. */
11703 /* The GNU C library defines this for functions which it implements
11704 to always fail with ENOSYS. Some functions are actually named
11705 something starting with __ and the normal name is an alias. */
11706 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11709 char (*f) () = shl_load;
11718 return f != shl_load;
11723 rm -f conftest.$ac_objext conftest$ac_exeext
11724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11725 (eval $ac_link) 2>&5
11727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11728 (exit $ac_status); } &&
11729 { ac_try='test -s conftest$ac_exeext'
11730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11731 (eval $ac_try) 2>&5
11733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11734 (exit $ac_status); }; }; then
11735 ac_cv_func_shl_load=yes
11737 echo "$as_me: failed program was:" >&5
11738 sed 's/^/| /' conftest.$ac_ext >&5
11740 ac_cv_func_shl_load=no
11742 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11744 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11745 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11746 if test $ac_cv_func_shl_load = yes; then
11747 lt_cv_dlopen="shl_load"
11749 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11750 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11751 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11752 echo $ECHO_N "(cached) $ECHO_C" >&6
11754 ac_check_lib_save_LIBS=$LIBS
11756 cat >conftest.$ac_ext <<_ACEOF
11757 #line $LINENO "configure"
11760 cat confdefs.h >>conftest.$ac_ext
11761 cat >>conftest.$ac_ext <<_ACEOF
11762 /* end confdefs.h. */
11764 /* Override any gcc2 internal prototype to avoid an error. */
11768 /* We use char because int might match the return type of a gcc2
11769 builtin and then its argument prototype would still apply. */
11779 rm -f conftest.$ac_objext conftest$ac_exeext
11780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11781 (eval $ac_link) 2>&5
11783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11784 (exit $ac_status); } &&
11785 { ac_try='test -s conftest$ac_exeext'
11786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11787 (eval $ac_try) 2>&5
11789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11790 (exit $ac_status); }; }; then
11791 ac_cv_lib_dld_shl_load=yes
11793 echo "$as_me: failed program was:" >&5
11794 sed 's/^/| /' conftest.$ac_ext >&5
11796 ac_cv_lib_dld_shl_load=no
11798 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11799 LIBS=$ac_check_lib_save_LIBS
11801 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11802 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11803 if test $ac_cv_lib_dld_shl_load = yes; then
11804 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11806 echo "$as_me:$LINENO: checking for dlopen" >&5
11807 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11808 if test "${ac_cv_func_dlopen+set}" = set; then
11809 echo $ECHO_N "(cached) $ECHO_C" >&6
11811 cat >conftest.$ac_ext <<_ACEOF
11812 #line $LINENO "configure"
11815 cat confdefs.h >>conftest.$ac_ext
11816 cat >>conftest.$ac_ext <<_ACEOF
11817 /* end confdefs.h. */
11818 /* System header to define __stub macros and hopefully few prototypes,
11819 which can conflict with char dlopen (); below.
11820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11821 <limits.h> exists even on freestanding compilers. */
11823 # include <limits.h>
11825 # include <assert.h>
11827 /* Override any gcc2 internal prototype to avoid an error. */
11832 /* We use char because int might match the return type of a gcc2
11833 builtin and then its argument prototype would still apply. */
11835 /* The GNU C library defines this for functions which it implements
11836 to always fail with ENOSYS. Some functions are actually named
11837 something starting with __ and the normal name is an alias. */
11838 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11841 char (*f) () = dlopen;
11850 return f != dlopen;
11855 rm -f conftest.$ac_objext conftest$ac_exeext
11856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11857 (eval $ac_link) 2>&5
11859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11860 (exit $ac_status); } &&
11861 { ac_try='test -s conftest$ac_exeext'
11862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11863 (eval $ac_try) 2>&5
11865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11866 (exit $ac_status); }; }; then
11867 ac_cv_func_dlopen=yes
11869 echo "$as_me: failed program was:" >&5
11870 sed 's/^/| /' conftest.$ac_ext >&5
11872 ac_cv_func_dlopen=no
11874 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11876 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11877 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11878 if test $ac_cv_func_dlopen = yes; then
11879 lt_cv_dlopen="dlopen"
11881 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11882 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11883 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11884 echo $ECHO_N "(cached) $ECHO_C" >&6
11886 ac_check_lib_save_LIBS=$LIBS
11888 cat >conftest.$ac_ext <<_ACEOF
11889 #line $LINENO "configure"
11892 cat confdefs.h >>conftest.$ac_ext
11893 cat >>conftest.$ac_ext <<_ACEOF
11894 /* end confdefs.h. */
11896 /* Override any gcc2 internal prototype to avoid an error. */
11900 /* We use char because int might match the return type of a gcc2
11901 builtin and then its argument prototype would still apply. */
11911 rm -f conftest.$ac_objext conftest$ac_exeext
11912 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11913 (eval $ac_link) 2>&5
11915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11916 (exit $ac_status); } &&
11917 { ac_try='test -s conftest$ac_exeext'
11918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11919 (eval $ac_try) 2>&5
11921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11922 (exit $ac_status); }; }; then
11923 ac_cv_lib_dl_dlopen=yes
11925 echo "$as_me: failed program was:" >&5
11926 sed 's/^/| /' conftest.$ac_ext >&5
11928 ac_cv_lib_dl_dlopen=no
11930 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11931 LIBS=$ac_check_lib_save_LIBS
11933 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11934 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11935 if test $ac_cv_lib_dl_dlopen = yes; then
11936 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11938 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11939 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11940 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11941 echo $ECHO_N "(cached) $ECHO_C" >&6
11943 ac_check_lib_save_LIBS=$LIBS
11944 LIBS="-lsvld $LIBS"
11945 cat >conftest.$ac_ext <<_ACEOF
11946 #line $LINENO "configure"
11949 cat confdefs.h >>conftest.$ac_ext
11950 cat >>conftest.$ac_ext <<_ACEOF
11951 /* end confdefs.h. */
11953 /* Override any gcc2 internal prototype to avoid an error. */
11957 /* We use char because int might match the return type of a gcc2
11958 builtin and then its argument prototype would still apply. */
11968 rm -f conftest.$ac_objext conftest$ac_exeext
11969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11970 (eval $ac_link) 2>&5
11972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11973 (exit $ac_status); } &&
11974 { ac_try='test -s conftest$ac_exeext'
11975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11976 (eval $ac_try) 2>&5
11978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11979 (exit $ac_status); }; }; then
11980 ac_cv_lib_svld_dlopen=yes
11982 echo "$as_me: failed program was:" >&5
11983 sed 's/^/| /' conftest.$ac_ext >&5
11985 ac_cv_lib_svld_dlopen=no
11987 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11988 LIBS=$ac_check_lib_save_LIBS
11990 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11991 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11992 if test $ac_cv_lib_svld_dlopen = yes; then
11993 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11995 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11996 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11997 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11998 echo $ECHO_N "(cached) $ECHO_C" >&6
12000 ac_check_lib_save_LIBS=$LIBS
12002 cat >conftest.$ac_ext <<_ACEOF
12003 #line $LINENO "configure"
12006 cat confdefs.h >>conftest.$ac_ext
12007 cat >>conftest.$ac_ext <<_ACEOF
12008 /* end confdefs.h. */
12010 /* Override any gcc2 internal prototype to avoid an error. */
12014 /* We use char because int might match the return type of a gcc2
12015 builtin and then its argument prototype would still apply. */
12025 rm -f conftest.$ac_objext conftest$ac_exeext
12026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12027 (eval $ac_link) 2>&5
12029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12030 (exit $ac_status); } &&
12031 { ac_try='test -s conftest$ac_exeext'
12032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12033 (eval $ac_try) 2>&5
12035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12036 (exit $ac_status); }; }; then
12037 ac_cv_lib_dld_dld_link=yes
12039 echo "$as_me: failed program was:" >&5
12040 sed 's/^/| /' conftest.$ac_ext >&5
12042 ac_cv_lib_dld_dld_link=no
12044 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12045 LIBS=$ac_check_lib_save_LIBS
12047 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12048 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12049 if test $ac_cv_lib_dld_dld_link = yes; then
12050 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12071 if test "x$lt_cv_dlopen" != xno; then
12077 case $lt_cv_dlopen in
12079 save_CPPFLAGS="$CPPFLAGS"
12080 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12082 save_LDFLAGS="$LDFLAGS"
12083 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12086 LIBS="$lt_cv_dlopen_libs $LIBS"
12088 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12089 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12090 if test "${lt_cv_dlopen_self+set}" = set; then
12091 echo $ECHO_N "(cached) $ECHO_C" >&6
12093 if test "$cross_compiling" = yes; then :
12094 lt_cv_dlopen_self=cross
12096 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12097 lt_status=$lt_dlunknown
12098 cat > conftest.$ac_ext <<EOF
12099 #line 12099 "configure"
12100 #include "confdefs.h"
12109 # define LT_DLGLOBAL RTLD_GLOBAL
12112 # define LT_DLGLOBAL DL_GLOBAL
12114 # define LT_DLGLOBAL 0
12118 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12119 find out it does not work in some platform. */
12120 #ifndef LT_DLLAZY_OR_NOW
12122 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12125 # define LT_DLLAZY_OR_NOW DL_LAZY
12128 # define LT_DLLAZY_OR_NOW RTLD_NOW
12131 # define LT_DLLAZY_OR_NOW DL_NOW
12133 # define LT_DLLAZY_OR_NOW 0
12141 extern "C" void exit (int);
12144 void fnord() { int i=42;}
12147 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12148 int status = $lt_dlunknown;
12152 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12153 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12154 /* dlclose (self); */
12160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12161 (eval $ac_link) 2>&5
12163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12164 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12165 (./conftest; exit; ) 2>/dev/null
12167 case x$lt_status in
12168 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12169 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12170 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12173 # compilation failed
12174 lt_cv_dlopen_self=no
12181 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12182 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12184 if test "x$lt_cv_dlopen_self" = xyes; then
12185 LDFLAGS="$LDFLAGS $link_static_flag"
12186 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12187 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12188 if test "${lt_cv_dlopen_self_static+set}" = set; then
12189 echo $ECHO_N "(cached) $ECHO_C" >&6
12191 if test "$cross_compiling" = yes; then :
12192 lt_cv_dlopen_self_static=cross
12194 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12195 lt_status=$lt_dlunknown
12196 cat > conftest.$ac_ext <<EOF
12197 #line 12197 "configure"
12198 #include "confdefs.h"
12207 # define LT_DLGLOBAL RTLD_GLOBAL
12210 # define LT_DLGLOBAL DL_GLOBAL
12212 # define LT_DLGLOBAL 0
12216 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12217 find out it does not work in some platform. */
12218 #ifndef LT_DLLAZY_OR_NOW
12220 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12223 # define LT_DLLAZY_OR_NOW DL_LAZY
12226 # define LT_DLLAZY_OR_NOW RTLD_NOW
12229 # define LT_DLLAZY_OR_NOW DL_NOW
12231 # define LT_DLLAZY_OR_NOW 0
12239 extern "C" void exit (int);
12242 void fnord() { int i=42;}
12245 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12246 int status = $lt_dlunknown;
12250 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12251 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12252 /* dlclose (self); */
12258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12259 (eval $ac_link) 2>&5
12261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12262 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12263 (./conftest; exit; ) 2>/dev/null
12265 case x$lt_status in
12266 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12267 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12268 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12271 # compilation failed
12272 lt_cv_dlopen_self_static=no
12279 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12280 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12283 CPPFLAGS="$save_CPPFLAGS"
12284 LDFLAGS="$save_LDFLAGS"
12289 case $lt_cv_dlopen_self in
12290 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12291 *) enable_dlopen_self=unknown ;;
12294 case $lt_cv_dlopen_self_static in
12295 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12296 *) enable_dlopen_self_static=unknown ;;
12301 # The else clause should only fire when bootstrapping the
12302 # libtool distribution, otherwise you forgot to ship ltmain.sh
12303 # with your package, and you will get complaints that there are
12304 # no rules to generate ltmain.sh.
12305 if test -f "$ltmain"; then
12306 # See if we are running on zsh, and set the options which allow our commands through
12307 # without removal of \ escapes.
12308 if test -n "${ZSH_VERSION+set}" ; then
12309 setopt NO_GLOB_SUBST
12311 # Now quote all the things that may contain metacharacters while being
12312 # careful not to overquote the AC_SUBSTed values. We take copies of the
12313 # variables and quote the copies for generation of the libtool script.
12314 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12315 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12316 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12317 deplibs_check_method reload_flag reload_cmds need_locks \
12318 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12319 lt_cv_sys_global_symbol_to_c_name_address \
12320 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12321 old_postinstall_cmds old_postuninstall_cmds \
12325 lt_prog_compiler_wl_CXX \
12326 lt_prog_compiler_pic_CXX \
12327 lt_prog_compiler_static_CXX \
12328 lt_prog_compiler_no_builtin_flag_CXX \
12329 export_dynamic_flag_spec_CXX \
12330 thread_safe_flag_spec_CXX \
12331 whole_archive_flag_spec_CXX \
12332 enable_shared_with_static_runtimes_CXX \
12333 old_archive_cmds_CXX \
12334 old_archive_from_new_cmds_CXX \
12335 predep_objects_CXX \
12336 postdep_objects_CXX \
12339 compiler_lib_search_path_CXX \
12341 archive_expsym_cmds_CXX \
12342 postinstall_cmds_CXX \
12343 postuninstall_cmds_CXX \
12344 old_archive_from_expsyms_cmds_CXX \
12345 allow_undefined_flag_CXX \
12346 no_undefined_flag_CXX \
12347 export_symbols_cmds_CXX \
12348 hardcode_libdir_flag_spec_CXX \
12349 hardcode_libdir_flag_spec_ld_CXX \
12350 hardcode_libdir_separator_CXX \
12351 hardcode_automatic_CXX \
12353 module_expsym_cmds_CXX \
12354 lt_cv_prog_compiler_c_o_CXX \
12355 exclude_expsyms_CXX \
12356 include_expsyms_CXX; do
12359 old_archive_cmds_CXX | \
12360 old_archive_from_new_cmds_CXX | \
12361 archive_cmds_CXX | \
12362 archive_expsym_cmds_CXX | \
12363 module_cmds_CXX | \
12364 module_expsym_cmds_CXX | \
12365 old_archive_from_expsyms_cmds_CXX | \
12366 export_symbols_cmds_CXX | \
12367 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12368 postinstall_cmds | postuninstall_cmds | \
12369 old_postinstall_cmds | old_postuninstall_cmds | \
12370 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12371 # Double-quote double-evaled strings.
12372 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12375 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12381 *'\$0 --fallback-echo"')
12382 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12388 cat <<__EOF__ >> "$cfgfile"
12389 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12391 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12393 # Shell to use when invoking shell scripts.
12396 # Whether or not to build shared libraries.
12397 build_libtool_libs=$enable_shared
12399 # Whether or not to build static libraries.
12400 build_old_libs=$enable_static
12402 # Whether or not to add -lc for building shared libraries.
12403 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12405 # Whether or not to disallow shared libs when runtime libs are static
12406 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12408 # Whether or not to optimize for fast installation.
12409 fast_install=$enable_fast_install
12412 host_alias=$host_alias
12415 # An echo program that does not interpret backslashes.
12420 AR_FLAGS=$lt_AR_FLAGS
12425 # A language-specific compiler.
12426 CC=$lt_compiler_CXX
12428 # Is the compiler the GNU C compiler?
12434 # The linker used to build libraries.
12437 # Whether we need hard or soft links.
12440 # A BSD-compatible nm program.
12443 # A symbol stripping program
12446 # Used to examine libraries when file_magic_cmd begins "file"
12447 MAGIC_CMD=$MAGIC_CMD
12449 # Used on cygwin: DLL creation program.
12452 # Used on cygwin: object dumper.
12455 # Used on cygwin: assembler.
12458 # The name of the directory that contains temporary libtool files.
12461 # How to create reloadable object files.
12462 reload_flag=$lt_reload_flag
12463 reload_cmds=$lt_reload_cmds
12465 # How to pass a linker flag through the compiler.
12466 wl=$lt_lt_prog_compiler_wl_CXX
12468 # Object file suffix (normally "o").
12469 objext="$ac_objext"
12471 # Old archive suffix (normally "a").
12474 # Shared library suffix (normally ".so").
12477 # Executable file suffix (normally "").
12480 # Additional compiler flags for building library objects.
12481 pic_flag=$lt_lt_prog_compiler_pic_CXX
12484 # What is the maximum length of a command?
12485 max_cmd_len=$lt_cv_sys_max_cmd_len
12487 # Does compiler simultaneously support -c and -o options?
12488 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12490 # Must we lock files when doing compilation ?
12491 need_locks=$lt_need_locks
12493 # Do we need the lib prefix for modules?
12494 need_lib_prefix=$need_lib_prefix
12496 # Do we need a version for libraries?
12497 need_version=$need_version
12499 # Whether dlopen is supported.
12500 dlopen_support=$enable_dlopen
12502 # Whether dlopen of programs is supported.
12503 dlopen_self=$enable_dlopen_self
12505 # Whether dlopen of statically linked programs is supported.
12506 dlopen_self_static=$enable_dlopen_self_static
12508 # Compiler flag to prevent dynamic linking.
12509 link_static_flag=$lt_lt_prog_compiler_static_CXX
12511 # Compiler flag to turn off builtin functions.
12512 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12514 # Compiler flag to allow reflexive dlopens.
12515 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12517 # Compiler flag to generate shared objects directly from archives.
12518 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12520 # Compiler flag to generate thread-safe objects.
12521 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12523 # Library versioning type.
12524 version_type=$version_type
12526 # Format of library name prefix.
12527 libname_spec=$lt_libname_spec
12529 # List of archive names. First name is the real one, the rest are links.
12530 # The last name is the one that the linker finds with -lNAME.
12531 library_names_spec=$lt_library_names_spec
12533 # The coded name of the library, if different from the real name.
12534 soname_spec=$lt_soname_spec
12536 # Commands used to build and install an old-style archive.
12538 old_archive_cmds=$lt_old_archive_cmds_CXX
12539 old_postinstall_cmds=$lt_old_postinstall_cmds
12540 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12542 # Create an old-style archive from a shared archive.
12543 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12545 # Create a temporary old-style archive to link instead of a shared archive.
12546 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12548 # Commands used to build and install a shared archive.
12549 archive_cmds=$lt_archive_cmds_CXX
12550 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12551 postinstall_cmds=$lt_postinstall_cmds
12552 postuninstall_cmds=$lt_postuninstall_cmds
12554 # Commands used to build a loadable module (assumed same as above if empty)
12555 module_cmds=$lt_module_cmds_CXX
12556 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12558 # Commands to strip libraries.
12559 old_striplib=$lt_old_striplib
12560 striplib=$lt_striplib
12562 # Dependencies to place before the objects being linked to create a
12564 predep_objects=$lt_predep_objects_CXX
12566 # Dependencies to place after the objects being linked to create a
12568 postdep_objects=$lt_postdep_objects_CXX
12570 # Dependencies to place before the objects being linked to create a
12572 predeps=$lt_predeps_CXX
12574 # Dependencies to place after the objects being linked to create a
12576 postdeps=$lt_postdeps_CXX
12578 # The library search path used internally by the compiler when linking
12579 # a shared library.
12580 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12582 # Method to check whether dependent libraries are shared objects.
12583 deplibs_check_method=$lt_deplibs_check_method
12585 # Command to use when deplibs_check_method == file_magic.
12586 file_magic_cmd=$lt_file_magic_cmd
12588 # Flag that allows shared libraries with undefined symbols to be built.
12589 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12591 # Flag that forces no undefined symbols.
12592 no_undefined_flag=$lt_no_undefined_flag_CXX
12594 # Commands used to finish a libtool library installation in a directory.
12595 finish_cmds=$lt_finish_cmds
12597 # Same as above, but a single script fragment to be evaled but not shown.
12598 finish_eval=$lt_finish_eval
12600 # Take the output of nm and produce a listing of raw symbols and C names.
12601 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12603 # Transform the output of nm in a proper C declaration
12604 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12606 # Transform the output of nm in a C name address pair
12607 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12609 # This is the shared library runtime path variable.
12610 runpath_var=$runpath_var
12612 # This is the shared library path variable.
12613 shlibpath_var=$shlibpath_var
12615 # Is shlibpath searched before the hard-coded library search path?
12616 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12618 # How to hardcode a shared library path into an executable.
12619 hardcode_action=$hardcode_action_CXX
12621 # Whether we should hardcode library paths into libraries.
12622 hardcode_into_libs=$hardcode_into_libs
12624 # Flag to hardcode \$libdir into a binary during linking.
12625 # This must work even if \$libdir does not exist.
12626 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12628 # If ld is used when linking, flag to hardcode \$libdir into
12629 # a binary during linking. This must work even if \$libdir does
12631 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12633 # Whether we need a single -rpath flag with a separated argument.
12634 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12636 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12637 # resulting binary.
12638 hardcode_direct=$hardcode_direct_CXX
12640 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12641 # resulting binary.
12642 hardcode_minus_L=$hardcode_minus_L_CXX
12644 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12645 # the resulting binary.
12646 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12648 # Set to yes if building a shared library automatically hardcodes DIR into the library
12649 # and all subsequent libraries and executables linked against it.
12650 hardcode_automatic=$hardcode_automatic_CXX
12652 # Variables whose values should be saved in libtool wrapper scripts and
12653 # restored at relink time.
12654 variables_saved_for_relink="$variables_saved_for_relink"
12656 # Whether libtool must link a program against all its dependency libraries.
12657 link_all_deplibs=$link_all_deplibs_CXX
12659 # Compile-time system search path for libraries
12660 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12662 # Run-time system search path for libraries
12663 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12665 # Fix the shell variable \$srcfile for the compiler.
12666 fix_srcfile_path="$fix_srcfile_path_CXX"
12668 # Set to yes if exported symbols are required.
12669 always_export_symbols=$always_export_symbols_CXX
12671 # The commands to list exported symbols.
12672 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12674 # The commands to extract the exported symbol list from a shared archive.
12675 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12677 # Symbols that should not be listed in the preloaded symbols.
12678 exclude_expsyms=$lt_exclude_expsyms_CXX
12680 # Symbols that must always be exported.
12681 include_expsyms=$lt_include_expsyms_CXX
12683 # ### END LIBTOOL TAG CONFIG: $tagname
12689 # If there is no Makefile yet, we rely on a make rule to execute
12690 # `config.status --recheck' to rerun these tests and create the
12691 # libtool script then.
12692 test -f Makefile && make "$ltmain"
12697 ac_cpp='$CPP $CPPFLAGS'
12698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12706 with_gnu_ldcxx=$with_gnu_ld
12707 with_gnu_ld=$lt_save_with_gnu_ld
12708 lt_cv_path_LDCXX=$lt_cv_path_LD
12709 lt_cv_path_LD=$lt_save_path_LD
12710 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12711 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12719 if test -n "$F77" && test "X$F77" != "Xno"; then
12722 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12723 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12724 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12727 archive_cmds_need_lc_F77=no
12728 allow_undefined_flag_F77=
12729 always_export_symbols_F77=no
12730 archive_expsym_cmds_F77=
12731 export_dynamic_flag_spec_F77=
12732 hardcode_direct_F77=no
12733 hardcode_libdir_flag_spec_F77=
12734 hardcode_libdir_flag_spec_ld_F77=
12735 hardcode_libdir_separator_F77=
12736 hardcode_minus_L_F77=no
12737 hardcode_automatic_F77=no
12739 module_expsym_cmds_F77=
12740 link_all_deplibs_F77=unknown
12741 old_archive_cmds_F77=$old_archive_cmds
12742 no_undefined_flag_F77=
12743 whole_archive_flag_spec_F77=
12744 enable_shared_with_static_runtimes_F77=no
12746 # Source file extension for f77 test sources.
12749 # Object file extension for compiled f77 test sources.
12753 # Code to be used in simple compile tests
12754 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12756 # Code to be used in simple link tests
12757 lt_simple_link_test_code=" program t\n end\n"
12759 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12761 # If no C compiler was specified, use CC.
12764 # Allow CC to be a program name with arguments.
12768 # Allow CC to be a program name with arguments.
12773 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12775 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12776 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12777 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12778 echo "${ECHO_T}$can_build_shared" >&6
12780 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12781 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12782 test "$can_build_shared" = "no" && enable_shared=no
12784 # On AIX, shared libraries and static libraries use the same namespace, and
12785 # are all built from PIC.
12788 test "$enable_shared" = yes && enable_static=no
12789 if test -n "$RANLIB"; then
12790 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12791 postinstall_cmds='$RANLIB $lib'
12795 test "$enable_shared" = yes && enable_static=no
12798 echo "$as_me:$LINENO: result: $enable_shared" >&5
12799 echo "${ECHO_T}$enable_shared" >&6
12801 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12802 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12803 # Make sure either enable_shared or enable_static is yes.
12804 test "$enable_shared" = yes || enable_static=yes
12805 echo "$as_me:$LINENO: result: $enable_static" >&5
12806 echo "${ECHO_T}$enable_static" >&6
12808 test "$ld_shlibs_F77" = no && can_build_shared=no
12813 lt_prog_compiler_wl_F77=
12814 lt_prog_compiler_pic_F77=
12815 lt_prog_compiler_static_F77=
12817 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12818 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12820 if test "$GCC" = yes; then
12821 lt_prog_compiler_wl_F77='-Wl,'
12822 lt_prog_compiler_static_F77='-static'
12826 # All AIX code is PIC.
12827 if test "$host_cpu" = ia64; then
12828 # AIX 5 now supports IA64 processor
12829 lt_prog_compiler_static_F77='-Bstatic'
12834 # FIXME: we need at least 68020 code to build shared libraries, but
12835 # adding the `-m68020' flag to GCC prevents building anything better,
12837 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12840 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12841 # PIC is the default for these OSes.
12844 mingw* | pw32* | os2*)
12845 # This hack is so that the source file can tell whether it is being
12846 # built for inclusion in a dll (and should export symbols for example).
12847 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12850 darwin* | rhapsody*)
12851 # PIC is the default on this platform
12852 # Common symbols not allowed in MH_DYLIB files
12853 lt_prog_compiler_pic_F77='-fno-common'
12857 # Just because we use GCC doesn't mean we suddenly get shared libraries
12858 # on systems that don't support them.
12859 lt_prog_compiler_can_build_shared_F77=no
12864 if test -d /usr/nec; then
12865 lt_prog_compiler_pic_F77=-Kconform_pic
12870 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12871 # not for PA HP-UX.
12872 case "$host_cpu" in
12877 lt_prog_compiler_pic_F77='-fPIC'
12883 lt_prog_compiler_pic_F77='-fPIC'
12887 # PORTME Check for flag to pass linker flags through the system compiler.
12890 lt_prog_compiler_wl_F77='-Wl,'
12891 if test "$host_cpu" = ia64; then
12892 # AIX 5 now supports IA64 processor
12893 lt_prog_compiler_static_F77='-Bstatic'
12895 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12899 mingw* | pw32* | os2*)
12900 # This hack is so that the source file can tell whether it is being
12901 # built for inclusion in a dll (and should export symbols for example).
12902 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12905 hpux9* | hpux10* | hpux11*)
12906 lt_prog_compiler_wl_F77='-Wl,'
12907 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12908 # not for PA HP-UX.
12909 case "$host_cpu" in
12914 lt_prog_compiler_pic_F77='+Z'
12917 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12918 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
12921 irix5* | irix6* | nonstopux*)
12922 lt_prog_compiler_wl_F77='-Wl,'
12923 # PIC (with -KPIC) is the default.
12924 lt_prog_compiler_static_F77='-non_shared'
12928 lt_prog_compiler_pic_F77='-KPIC'
12929 lt_prog_compiler_static_F77='-Bstatic'
12935 lt_prog_compiler_wl_F77='-Wl,'
12936 lt_prog_compiler_pic_F77='-KPIC'
12937 lt_prog_compiler_static_F77='-static'
12940 lt_prog_compiler_wl_F77='-Wl,'
12941 # All Alpha code is PIC.
12942 lt_prog_compiler_static_F77='-non_shared'
12947 osf3* | osf4* | osf5*)
12948 lt_prog_compiler_wl_F77='-Wl,'
12949 # All OSF/1 code is PIC.
12950 lt_prog_compiler_static_F77='-non_shared'
12954 lt_prog_compiler_pic_F77='-Kpic'
12955 lt_prog_compiler_static_F77='-dn'
12959 lt_prog_compiler_wl_F77='-Wl,'
12960 lt_prog_compiler_pic_F77='-KPIC'
12961 lt_prog_compiler_static_F77='-Bstatic'
12965 lt_prog_compiler_wl_F77='-Qoption ld '
12966 lt_prog_compiler_pic_F77='-PIC'
12967 lt_prog_compiler_static_F77='-Bstatic'
12970 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12971 lt_prog_compiler_wl_F77='-Wl,'
12972 lt_prog_compiler_pic_F77='-KPIC'
12973 lt_prog_compiler_static_F77='-Bstatic'
12977 if test -d /usr/nec ;then
12978 lt_prog_compiler_pic_F77='-Kconform_pic'
12979 lt_prog_compiler_static_F77='-Bstatic'
12984 lt_prog_compiler_pic_F77='-pic'
12985 lt_prog_compiler_static_F77='-Bstatic'
12989 lt_prog_compiler_can_build_shared_F77=no
12994 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
12995 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
12998 # Check to make sure the PIC flag actually works.
13000 if test -n "$lt_prog_compiler_pic_F77"; then
13001 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13002 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13003 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13004 echo $ECHO_N "(cached) $ECHO_C" >&6
13006 lt_prog_compiler_pic_works_F77=no
13007 ac_outfile=conftest.$ac_objext
13008 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13009 lt_compiler_flag="$lt_prog_compiler_pic_F77"
13010 # Insert the option either (1) after the last *FLAGS variable, or
13011 # (2) before a word containing "conftest.", or (3) at the end.
13012 # Note that $ac_compile itself does not contain backslashes and begins
13013 # with a dollar sign (not a hyphen), so the echo should work correctly.
13014 # The option is referenced via a variable to avoid confusing sed.
13015 lt_compile=`echo "$ac_compile" | $SED \
13016 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13017 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13018 -e 's:$: $lt_compiler_flag:'`
13019 (eval echo "\"\$as_me:13019: $lt_compile\"" >&5)
13020 (eval "$lt_compile" 2>conftest.err)
13022 cat conftest.err >&5
13023 echo "$as_me:13023: \$? = $ac_status" >&5
13024 if (exit $ac_status) && test -s "$ac_outfile"; then
13025 # The compiler can only warn and ignore the option if not recognized
13026 # So say no if there are warnings
13027 if test ! -s conftest.err; then
13028 lt_prog_compiler_pic_works_F77=yes
13034 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13035 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13037 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13038 case $lt_prog_compiler_pic_F77 in
13040 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13043 lt_prog_compiler_pic_F77=
13044 lt_prog_compiler_can_build_shared_F77=no
13049 # For platforms which do not support PIC, -DPIC is meaningless:
13051 lt_prog_compiler_pic_F77=
13054 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13058 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13059 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13060 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13061 echo $ECHO_N "(cached) $ECHO_C" >&6
13063 lt_cv_prog_compiler_c_o_F77=no
13064 $rm -r conftest 2>/dev/null
13068 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13070 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13071 # that will create temporary files in the current directory regardless of
13072 # the output directory. Thus, making CWD read-only will cause this test
13073 # to fail, enabling locking or at least warning the user not to do parallel
13077 lt_compiler_flag="-o out/conftest2.$ac_objext"
13078 # Insert the option either (1) after the last *FLAGS variable, or
13079 # (2) before a word containing "conftest.", or (3) at the end.
13080 # Note that $ac_compile itself does not contain backslashes and begins
13081 # with a dollar sign (not a hyphen), so the echo should work correctly.
13082 lt_compile=`echo "$ac_compile" | $SED \
13083 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13084 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13085 -e 's:$: $lt_compiler_flag:'`
13086 (eval echo "\"\$as_me:13086: $lt_compile\"" >&5)
13087 (eval "$lt_compile" 2>out/conftest.err)
13089 cat out/conftest.err >&5
13090 echo "$as_me:13090: \$? = $ac_status" >&5
13091 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13093 # The compiler can only warn and ignore the option if not recognized
13094 # So say no if there are warnings
13095 if test ! -s out/conftest.err; then
13096 lt_cv_prog_compiler_c_o_F77=yes
13100 $rm conftest* out/*
13107 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13108 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13111 hard_links="nottested"
13112 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13113 # do not overwrite the value of need_locks provided by the user
13114 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13115 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13118 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13120 ln conftest.a conftest.b 2>&5 || hard_links=no
13121 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13122 echo "$as_me:$LINENO: result: $hard_links" >&5
13123 echo "${ECHO_T}$hard_links" >&6
13124 if test "$hard_links" = no; then
13125 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13126 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13133 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13134 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13137 allow_undefined_flag_F77=
13138 enable_shared_with_static_runtimes_F77=no
13140 archive_expsym_cmds_F77=
13141 old_archive_From_new_cmds_F77=
13142 old_archive_from_expsyms_cmds_F77=
13143 export_dynamic_flag_spec_F77=
13144 whole_archive_flag_spec_F77=
13145 thread_safe_flag_spec_F77=
13146 hardcode_libdir_flag_spec_F77=
13147 hardcode_libdir_flag_spec_ld_F77=
13148 hardcode_libdir_separator_F77=
13149 hardcode_direct_F77=no
13150 hardcode_minus_L_F77=no
13151 hardcode_shlibpath_var_F77=unsupported
13152 link_all_deplibs_F77=unknown
13153 hardcode_automatic_F77=no
13155 module_expsym_cmds_F77=
13156 always_export_symbols_F77=no
13157 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13158 # include_expsyms should be a list of space-separated symbols to be *always*
13159 # included in the symbol list
13160 include_expsyms_F77=
13161 # exclude_expsyms can be an extended regexp of symbols to exclude
13162 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13163 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13164 # as well as any symbol that contains `d'.
13165 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13166 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13167 # platforms (ab)use it in PIC code, but their linkers get confused if
13168 # the symbol is explicitly referenced. Since portable code cannot
13169 # rely on this symbol name, it's probably fine to never include it in
13170 # preloaded symbol tables.
13171 extract_expsyms_cmds=
13174 cygwin* | mingw* | pw32*)
13175 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13176 # When not using gcc, we currently assume that we are using
13177 # Microsoft Visual C++.
13178 if test "$GCC" != yes; then
13188 if test "$with_gnu_ld" = yes; then
13189 # If archive_cmds runs LD, not CC, wlarc should be empty
13192 # See if GNU ld supports shared libraries.
13194 aix3* | aix4* | aix5*)
13195 # On AIX/PPC, the GNU linker is very broken
13196 if test "$host_cpu" != ia64; then
13200 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13201 *** to be unable to reliably create shared libraries on AIX.
13202 *** Therefore, libtool is disabling shared libraries support. If you
13203 *** really care for shared libraries, you may want to modify your PATH
13204 *** so that a non-GNU linker is found, and then restart.
13211 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)'
13212 hardcode_libdir_flag_spec_F77='-L$libdir'
13213 hardcode_minus_L_F77=yes
13215 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13216 # that the semantics of dynamic libraries on AmigaOS, at least up
13217 # to version 4, is to share data among multiple programs linked
13218 # with the same dynamic library. Since this doesn't match the
13219 # behavior of shared libraries on other platforms, we can't use
13225 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13226 allow_undefined_flag_F77=unsupported
13227 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13228 # support --undefined. This deserves some investigation. FIXME
13229 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13235 cygwin* | mingw* | pw32*)
13236 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13237 # as there is no search path for DLLs.
13238 hardcode_libdir_flag_spec_F77='-L$libdir'
13239 allow_undefined_flag_F77=unsupported
13240 always_export_symbols_F77=no
13241 enable_shared_with_static_runtimes_F77=yes
13242 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13244 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13245 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13246 # If the export-symbols file already is a .def file (1st line
13247 # is EXPORTS), use it as is; otherwise, prepend...
13248 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13249 cp $export_symbols $output_objdir/$soname.def;
13251 echo EXPORTS > $output_objdir/$soname.def;
13252 cat $export_symbols >> $output_objdir/$soname.def;
13254 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13261 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13262 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13265 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13266 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13271 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13275 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13276 *** create shared libraries on Solaris systems. Therefore, libtool
13277 *** is disabling shared libraries support. We urge you to upgrade GNU
13278 *** binutils to release 2.9.1 or newer. Another option is to modify
13279 *** your PATH or compiler configuration so that the native linker is
13280 *** used, and then restart.
13283 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13284 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13285 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13292 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13294 hardcode_direct_F77=yes
13295 hardcode_shlibpath_var_F77=no
13299 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13300 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13301 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13308 if test "$ld_shlibs_F77" = yes; then
13309 runpath_var=LD_RUN_PATH
13310 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13311 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13312 # ancient GNU ld didn't support --whole-archive et. al.
13313 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13314 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13316 whole_archive_flag_spec_F77=
13320 # PORTME fill in a description of your system's linker (not GNU ld)
13323 allow_undefined_flag_F77=unsupported
13324 always_export_symbols_F77=yes
13325 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'
13326 # Note: this linker hardcodes the directories in LIBPATH if there
13327 # are no directories specified by -L.
13328 hardcode_minus_L_F77=yes
13329 if test "$GCC" = yes && test -z "$link_static_flag"; then
13330 # Neither direct hardcoding nor static linking is supported with a
13332 hardcode_direct_F77=unsupported
13337 if test "$host_cpu" = ia64; then
13338 # On IA64, the linker does run time linking by default, so we don't
13339 # have to do anything special.
13340 aix_use_runtimelinking=no
13341 exp_sym_flag='-Bexport'
13344 # If we're using GNU nm, then we don't want the "-C" option.
13345 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13346 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13347 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'
13349 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'
13351 aix_use_runtimelinking=no
13353 # Test if we are trying to use run time linking or normal
13354 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13355 # need to do runtime linking.
13356 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13357 for ld_flag in $LDFLAGS; do
13358 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13359 aix_use_runtimelinking=yes
13365 exp_sym_flag='-bexport'
13366 no_entry_flag='-bnoentry'
13369 # When large executables or shared objects are built, AIX ld can
13370 # have problems creating the table of contents. If linking a library
13371 # or program results in "error TOC overflow" add -mminimal-toc to
13372 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13373 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13375 archive_cmds_F77=''
13376 hardcode_direct_F77=yes
13377 hardcode_libdir_separator_F77=':'
13378 link_all_deplibs_F77=yes
13380 if test "$GCC" = yes; then
13381 case $host_os in aix4.012|aix4.012.*)
13382 # We only want to do this on AIX 4.2 and lower, the check
13383 # below for broken collect2 doesn't work under 4.3+
13384 collect2name=`${CC} -print-prog-name=collect2`
13385 if test -f "$collect2name" && \
13386 strings "$collect2name" | grep resolve_lib_name >/dev/null
13388 # We have reworked collect2
13389 hardcode_direct_F77=yes
13391 # We have old collect2
13392 hardcode_direct_F77=unsupported
13393 # It fails to find uninstalled libraries when the uninstalled
13394 # path is not listed in the libpath. Setting hardcode_minus_L
13395 # to unsupported forces relinking
13396 hardcode_minus_L_F77=yes
13397 hardcode_libdir_flag_spec_F77='-L$libdir'
13398 hardcode_libdir_separator_F77=
13401 shared_flag='-shared'
13404 if test "$host_cpu" = ia64; then
13405 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13406 # chokes on -Wl,-G. The following line is correct:
13409 if test "$aix_use_runtimelinking" = yes; then
13410 shared_flag='${wl}-G'
13412 shared_flag='${wl}-bM:SRE'
13417 # It seems that -bexpall does not export symbols beginning with
13418 # underscore (_), so it is better to generate a list of symbols to export.
13419 always_export_symbols_F77=yes
13420 if test "$aix_use_runtimelinking" = yes; then
13421 # Warning - without using the other runtime loading flags (-brtl),
13422 # -berok will link without error, but may produce a broken library.
13423 allow_undefined_flag_F77='-berok'
13424 # Determine the default libpath from the value encoded in an empty executable.
13425 cat >conftest.$ac_ext <<_ACEOF
13430 rm -f conftest.$ac_objext conftest$ac_exeext
13431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13432 (eval $ac_link) 2>&5
13434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13435 (exit $ac_status); } &&
13436 { ac_try='test -s conftest$ac_exeext'
13437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13438 (eval $ac_try) 2>&5
13440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13441 (exit $ac_status); }; }; then
13443 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13445 # Check for a 64-bit object if we didn't find anything.
13446 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; }
13449 echo "$as_me: failed program was:" >&5
13450 sed 's/^/| /' conftest.$ac_ext >&5
13453 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13454 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13456 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13457 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"
13459 if test "$host_cpu" = ia64; then
13460 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13461 allow_undefined_flag_F77="-z nodefs"
13462 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"
13464 # Determine the default libpath from the value encoded in an empty executable.
13465 cat >conftest.$ac_ext <<_ACEOF
13470 rm -f conftest.$ac_objext conftest$ac_exeext
13471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13472 (eval $ac_link) 2>&5
13474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13475 (exit $ac_status); } &&
13476 { ac_try='test -s conftest$ac_exeext'
13477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13478 (eval $ac_try) 2>&5
13480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13481 (exit $ac_status); }; }; then
13483 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13485 # Check for a 64-bit object if we didn't find anything.
13486 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; }
13489 echo "$as_me: failed program was:" >&5
13490 sed 's/^/| /' conftest.$ac_ext >&5
13493 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13494 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13496 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13497 # Warning - without using the other run time loading flags,
13498 # -berok will link without error, but may produce a broken library.
13499 no_undefined_flag_F77=' ${wl}-bernotok'
13500 allow_undefined_flag_F77=' ${wl}-berok'
13501 # -bexpall does not export symbols beginning with underscore (_)
13502 always_export_symbols_F77=yes
13503 # Exported symbols can be pulled into shared objects from archives
13504 whole_archive_flag_spec_F77=' '
13505 archive_cmds_need_lc_F77=yes
13506 # This is similar to how AIX traditionally builds it's shared libraries.
13507 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'
13513 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)'
13514 hardcode_libdir_flag_spec_F77='-L$libdir'
13515 hardcode_minus_L_F77=yes
13516 # see comment about different semantics on the GNU ld section
13521 export_dynamic_flag_spec_F77=-rdynamic
13524 cygwin* | mingw* | pw32*)
13525 # When not using gcc, we currently assume that we are using
13526 # Microsoft Visual C++.
13527 # hardcode_libdir_flag_spec is actually meaningless, as there is
13528 # no search path for DLLs.
13529 hardcode_libdir_flag_spec_F77=' '
13530 allow_undefined_flag_F77=unsupported
13531 # Tell ltmain to make .lib files, not .a files.
13533 # Tell ltmain to make .dll files, not .so files.
13535 # FIXME: Setting linknames here is a bad hack.
13536 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13537 # The linker will automatically build a .lib file if we build a DLL.
13538 old_archive_From_new_cmds_F77='true'
13539 # FIXME: Should let the user specify the lib program.
13540 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13541 fix_srcfile_path='`cygpath -w "$srcfile"`'
13542 enable_shared_with_static_runtimes_F77=yes
13545 darwin* | rhapsody*)
13546 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
13547 archive_cmds_need_lc_F77=no
13549 rhapsody* | darwin1.[012])
13550 allow_undefined_flag_F77='-undefined suppress'
13553 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13556 # FIXME: Relying on posixy $() will cause problems for
13557 # cross-compilation, but unfortunately the echo tests do not
13558 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13559 # `"' quotes if we put them in here... so don't!
13560 lt_int_apple_cc_single_mod=no
13561 output_verbose_link_cmd='echo'
13562 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13563 lt_int_apple_cc_single_mod=yes
13565 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13566 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13568 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'
13570 module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
13571 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13572 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13573 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}'
13575 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}'
13577 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}'
13578 hardcode_direct_F77=no
13579 hardcode_automatic_F77=yes
13580 hardcode_shlibpath_var_F77=unsupported
13581 whole_archive_flag_spec_F77='-all_load $convenience'
13582 link_all_deplibs_F77=yes
13587 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13588 hardcode_libdir_flag_spec_F77='-L$libdir'
13589 hardcode_shlibpath_var_F77=no
13596 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13597 # support. Future versions do this automatically, but an explicit c++rt0.o
13598 # does not break anything, and helps significantly (at the cost of a little
13601 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13602 hardcode_libdir_flag_spec_F77='-R$libdir'
13603 hardcode_direct_F77=yes
13604 hardcode_shlibpath_var_F77=no
13607 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13609 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13610 hardcode_direct_F77=yes
13611 hardcode_minus_L_F77=yes
13612 hardcode_shlibpath_var_F77=no
13615 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13617 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13618 hardcode_libdir_flag_spec_F77='-R$libdir'
13619 hardcode_direct_F77=yes
13620 hardcode_shlibpath_var_F77=no
13624 if test "$GCC" = yes; then
13625 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'
13627 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'
13629 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13630 hardcode_libdir_separator_F77=:
13631 hardcode_direct_F77=yes
13633 # hardcode_minus_L: Not really in the search PATH,
13634 # but as the default location of the library.
13635 hardcode_minus_L_F77=yes
13636 export_dynamic_flag_spec_F77='${wl}-E'
13640 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13641 case "$host_cpu" in
13643 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13646 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13650 case "$host_cpu" in
13652 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13655 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13659 if test "$with_gnu_ld" = no; then
13660 case "$host_cpu" in
13662 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13663 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13664 hardcode_libdir_separator_F77=:
13665 hardcode_direct_F77=no
13666 hardcode_shlibpath_var_F77=no
13669 hardcode_libdir_flag_spec_F77='-L$libdir'
13670 hardcode_direct_F77=no
13671 hardcode_shlibpath_var_F77=no
13673 # hardcode_minus_L: Not really in the search PATH,
13674 # but as the default location of the library.
13675 hardcode_minus_L_F77=yes
13678 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13679 hardcode_libdir_separator_F77=:
13680 hardcode_direct_F77=yes
13681 export_dynamic_flag_spec_F77='${wl}-E'
13683 # hardcode_minus_L: Not really in the search PATH,
13684 # but as the default location of the library.
13685 hardcode_minus_L_F77=yes
13691 irix5* | irix6* | nonstopux*)
13692 if test "$GCC" = yes; then
13693 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'
13695 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'
13696 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13698 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13699 hardcode_libdir_separator_F77=:
13700 link_all_deplibs_F77=yes
13704 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13705 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13707 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13709 hardcode_libdir_flag_spec_F77='-R$libdir'
13710 hardcode_direct_F77=yes
13711 hardcode_shlibpath_var_F77=no
13715 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13716 hardcode_direct_F77=yes
13717 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13718 hardcode_libdir_separator_F77=:
13719 hardcode_shlibpath_var_F77=no
13723 hardcode_direct_F77=yes
13724 hardcode_shlibpath_var_F77=no
13725 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13726 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13727 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13728 export_dynamic_flag_spec_F77='${wl}-E'
13731 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13732 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13733 hardcode_libdir_flag_spec_F77='-R$libdir'
13736 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13737 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13744 hardcode_libdir_flag_spec_F77='-L$libdir'
13745 hardcode_minus_L_F77=yes
13746 allow_undefined_flag_F77=unsupported
13747 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'
13748 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13752 if test "$GCC" = yes; then
13753 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13754 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'
13756 allow_undefined_flag_F77=' -expect_unresolved \*'
13757 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'
13759 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13760 hardcode_libdir_separator_F77=:
13763 osf4* | osf5*) # as osf3* with the addition of -msym flag
13764 if test "$GCC" = yes; then
13765 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13766 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'
13767 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13769 allow_undefined_flag_F77=' -expect_unresolved \*'
13770 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'
13771 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~
13772 $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'
13774 # Both c and cxx compiler support -rpath directly
13775 hardcode_libdir_flag_spec_F77='-rpath $libdir'
13777 hardcode_libdir_separator_F77=:
13781 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13782 hardcode_shlibpath_var_F77=no
13783 export_dynamic_flag_spec_F77='${wl}-Bexport'
13784 runpath_var=LD_RUN_PATH
13785 hardcode_runpath_var=yes
13789 no_undefined_flag_F77=' -z text'
13790 if test "$GCC" = yes; then
13791 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13792 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13793 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13795 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13796 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13797 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13799 hardcode_libdir_flag_spec_F77='-R$libdir'
13800 hardcode_shlibpath_var_F77=no
13802 solaris2.[0-5] | solaris2.[0-5].*) ;;
13803 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13804 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13806 link_all_deplibs_F77=yes
13810 if test "x$host_vendor" = xsequent; then
13811 # Use $CC to link under sequent, because it throws in some extra .o
13812 # files that make .init and .fini sections work.
13813 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13815 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13817 hardcode_libdir_flag_spec_F77='-L$libdir'
13818 hardcode_direct_F77=yes
13819 hardcode_minus_L_F77=yes
13820 hardcode_shlibpath_var_F77=no
13824 case $host_vendor in
13826 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13827 hardcode_direct_F77=yes # is this really true???
13830 ## LD is ld it makes a PLAMLIB
13831 ## CC just makes a GrossModule.
13832 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13833 reload_cmds_F77='$CC -r -o $output$reload_objs'
13834 hardcode_direct_F77=no
13837 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13838 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13841 runpath_var='LD_RUN_PATH'
13842 hardcode_shlibpath_var_F77=no
13846 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13847 hardcode_shlibpath_var_F77=no
13848 export_dynamic_flag_spec_F77='-Bexport'
13852 if test -d /usr/nec; then
13853 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13854 hardcode_shlibpath_var_F77=no
13855 runpath_var=LD_RUN_PATH
13856 hardcode_runpath_var=yes
13862 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13863 hardcode_direct_F77=yes
13864 hardcode_minus_L_F77=no
13865 hardcode_shlibpath_var_F77=no
13866 hardcode_runpath_var=yes
13867 runpath_var=LD_RUN_PATH
13870 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13871 no_undefined_flag_F77='${wl}-z ${wl}text'
13872 if test "$GCC" = yes; then
13873 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13875 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13877 runpath_var='LD_RUN_PATH'
13878 hardcode_shlibpath_var_F77=no
13882 no_undefined_flag_F77=' -z text'
13883 # $CC -shared without GNU ld will not create a library from C++
13884 # object files and a static libstdc++, better avoid it by now
13885 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13886 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13887 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13888 hardcode_libdir_flag_spec_F77=
13889 hardcode_shlibpath_var_F77=no
13890 runpath_var='LD_RUN_PATH'
13894 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13895 hardcode_libdir_flag_spec_F77='-L$libdir'
13896 hardcode_shlibpath_var_F77=no
13905 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
13906 echo "${ECHO_T}$ld_shlibs_F77" >&6
13907 test "$ld_shlibs_F77" = no && can_build_shared=no
13909 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13910 if test "$GCC" = yes; then
13911 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13915 # Do we need to explicitly link libc?
13917 case "x$archive_cmds_need_lc_F77" in
13919 # Assume -lc should be added
13920 archive_cmds_need_lc_F77=yes
13922 if test "$enable_shared" = yes && test "$GCC" = yes; then
13923 case $archive_cmds_F77 in
13925 # FIXME: we may have to deal with multi-command sequences.
13928 # Test whether the compiler implicitly links with -lc since on some
13929 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13930 # to ld, don't add -lc before -lgcc.
13931 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13932 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13934 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13936 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13937 (eval $ac_compile) 2>&5
13939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13940 (exit $ac_status); } 2>conftest.err; then
13943 libobjs=conftest.$ac_objext
13945 wl=$lt_prog_compiler_wl_F77
13951 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
13952 allow_undefined_flag_F77=
13953 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
13954 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
13956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13957 (exit $ac_status); }
13959 archive_cmds_need_lc_F77=no
13961 archive_cmds_need_lc_F77=yes
13963 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
13965 cat conftest.err 1>&5
13968 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
13969 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
13976 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13977 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13978 hardcode_action_F77=
13979 if test -n "$hardcode_libdir_flag_spec_F77" || \
13980 test -n "$runpath_var F77" || \
13981 test "X$hardcode_automatic_F77"="Xyes" ; then
13983 # We can hardcode non-existant directories.
13984 if test "$hardcode_direct_F77" != no &&
13985 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13986 # have to relink, otherwise we might link with an installed library
13987 # when we should be linking with a yet-to-be-installed one
13988 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
13989 test "$hardcode_minus_L_F77" != no; then
13990 # Linking always hardcodes the temporary library directory.
13991 hardcode_action_F77=relink
13993 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13994 hardcode_action_F77=immediate
13997 # We cannot hardcode anything, or else we can only hardcode existing
13999 hardcode_action_F77=unsupported
14001 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14002 echo "${ECHO_T}$hardcode_action_F77" >&6
14004 if test "$hardcode_action_F77" = relink; then
14005 # Fast installation is not supported
14006 enable_fast_install=no
14007 elif test "$shlibpath_overrides_runpath" = yes ||
14008 test "$enable_shared" = no; then
14009 # Fast installation is not necessary
14010 enable_fast_install=needless
14015 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14016 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14017 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14018 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14019 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14020 echo "$as_me:$LINENO: result: yes" >&5
14021 echo "${ECHO_T}yes" >&6
14023 # FIXME - insert some real tests, host_os isn't really good enough
14026 if test -n "$STRIP" ; then
14027 striplib="$STRIP -x"
14028 echo "$as_me:$LINENO: result: yes" >&5
14029 echo "${ECHO_T}yes" >&6
14031 echo "$as_me:$LINENO: result: no" >&5
14032 echo "${ECHO_T}no" >&6
14036 echo "$as_me:$LINENO: result: no" >&5
14037 echo "${ECHO_T}no" >&6
14042 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14043 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14044 library_names_spec=
14045 libname_spec='lib$name'
14049 postuninstall_cmds=
14053 shlibpath_overrides_runpath=unknown
14055 dynamic_linker="$host_os ld.so"
14056 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14057 if test "$GCC" = yes; then
14058 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14059 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14060 # if the path contains ";" then we assume it to be the separator
14061 # otherwise default to the standard path separator (i.e. ":") - it is
14062 # assumed that no part of a normal pathname contains ";" but that should
14063 # okay in the real world where ";" in dirpaths is itself problematic.
14064 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14066 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14069 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14071 need_lib_prefix=unknown
14072 hardcode_into_libs=no
14074 # when you set need_version to no, make sure it does not cause -set_version
14075 # flags to be left without arguments
14076 need_version=unknown
14081 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14082 shlibpath_var=LIBPATH
14084 # AIX 3 has no versioning support, so we append a major version to the name.
14085 soname_spec='${libname}${release}${shared_ext}$major'
14092 hardcode_into_libs=yes
14093 if test "$host_cpu" = ia64; then
14094 # AIX 5 supports IA64
14095 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14096 shlibpath_var=LD_LIBRARY_PATH
14098 # With GCC up to 2.95.x, collect2 would create an import file
14099 # for dependence libraries. The import file would start with
14100 # the line `#! .'. This would cause the generated library to
14101 # depend on `.', always an invalid library. This was fixed in
14102 # development snapshots of GCC prior to 3.0.
14104 aix4 | aix4.[01] | aix4.[01].*)
14105 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14107 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14110 can_build_shared=no
14114 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14115 # soname into executable. Probably we can add versioning support to
14116 # collect2, so additional links can be useful in future.
14117 if test "$aix_use_runtimelinking" = yes; then
14118 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14119 # instead of lib<name>.a to let people know that these are not
14120 # typical AIX shared libraries.
14121 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14123 # We preserve .a as extension for shared libraries through AIX4.2
14124 # and later when we are not doing run time linking.
14125 library_names_spec='${libname}${release}.a $libname.a'
14126 soname_spec='${libname}${release}${shared_ext}$major'
14128 shlibpath_var=LIBPATH
14133 library_names_spec='$libname.ixlibrary $libname.a'
14134 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14135 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'
14139 library_names_spec='${libname}${shared_ext}'
14140 dynamic_linker="$host_os ld.so"
14141 shlibpath_var=LIBRARY_PATH
14147 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14148 soname_spec='${libname}${release}${shared_ext}$major'
14149 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14150 shlibpath_var=LD_LIBRARY_PATH
14151 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14152 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14153 # the default ld.so.conf also contains /usr/contrib/lib and
14154 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14155 # libtool to hard-code these into programs
14158 cygwin* | mingw* | pw32*)
14159 version_type=windows
14164 case $GCC,$host_os in
14165 yes,cygwin* | yes,mingw* | yes,pw32*)
14166 library_names_spec='$libname.dll.a'
14167 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14168 postinstall_cmds='base_file=`basename \${file}`~
14169 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14170 dldir=$destdir/`dirname \$dlpath`~
14171 test -d \$dldir || mkdir -p \$dldir~
14172 $install_prog $dir/$dlname \$dldir/$dlname'
14173 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14174 dlpath=$dir/\$dldll~
14176 shlibpath_overrides_runpath=yes
14180 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14181 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14182 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
14185 # MinGW DLLs use traditional 'lib' prefix
14186 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14187 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14188 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14189 # It is most probably a Windows format PATH printed by
14190 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14191 # path with ; separators, and with drive letters. We can handle the
14192 # drive letters (cygwin fileutils understands them), so leave them,
14193 # especially as we might pass files found there to a mingw objdump,
14194 # which wouldn't understand a cygwinified path. Ahh.
14195 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14197 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14201 # pw32 DLLs use 'pw' prefix rather than 'lib'
14202 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14208 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14211 dynamic_linker='Win32 ld.exe'
14212 # FIXME: first we should search . and the directory the executable is in
14216 darwin* | rhapsody*)
14217 dynamic_linker="$host_os dyld"
14218 version_type=darwin
14221 # FIXME: Relying on posixy $() will cause problems for
14222 # cross-compilation, but unfortunately the echo tests do not
14223 # yet detect zsh echo's removal of \ escapes.
14224 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14225 soname_spec='${libname}${release}${major}$shared_ext'
14226 shlibpath_overrides_runpath=yes
14227 shlibpath_var=DYLD_LIBRARY_PATH
14228 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
14229 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14230 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
14231 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"`
14233 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14240 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14241 soname_spec='${libname}${release}${shared_ext}$major'
14242 shlibpath_var=LD_LIBRARY_PATH
14250 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14251 version_type=freebsd-$objformat
14252 case $version_type in
14254 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14259 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14263 shlibpath_var=LD_LIBRARY_PATH
14266 shlibpath_overrides_runpath=yes
14268 freebsd3.01* | freebsdelf3.01*)
14269 shlibpath_overrides_runpath=yes
14270 hardcode_into_libs=yes
14273 shlibpath_overrides_runpath=no
14274 hardcode_into_libs=yes
14283 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14284 soname_spec='${libname}${release}${shared_ext}$major'
14285 shlibpath_var=LD_LIBRARY_PATH
14286 hardcode_into_libs=yes
14289 hpux9* | hpux10* | hpux11*)
14290 # Give a soname corresponding to the major version so that dld.sl refuses to
14291 # link against other versions.
14295 case "$host_cpu" in
14298 hardcode_into_libs=yes
14299 dynamic_linker="$host_os dld.so"
14300 shlibpath_var=LD_LIBRARY_PATH
14301 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14302 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14303 soname_spec='${libname}${release}${shared_ext}$major'
14304 if test "X$HPUX_IA64_MODE" = X32; then
14305 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14307 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14309 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14313 hardcode_into_libs=yes
14314 dynamic_linker="$host_os dld.sl"
14315 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14316 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14318 soname_spec='${libname}${release}${shared_ext}$major'
14319 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14320 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14324 dynamic_linker="$host_os dld.sl"
14325 shlibpath_var=SHLIB_PATH
14326 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14327 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14328 soname_spec='${libname}${release}${shared_ext}$major'
14331 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14332 postinstall_cmds='chmod 555 $lib'
14335 irix5* | irix6* | nonstopux*)
14337 nonstopux*) version_type=nonstopux ;;
14339 if test "$lt_cv_prog_gnu_ld" = yes; then
14347 soname_spec='${libname}${release}${shared_ext}$major'
14348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14350 irix5* | nonstopux*)
14351 libsuff= shlibsuff=
14354 case $LD in # libtool.m4 will add one of these switches to LD
14355 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14356 libsuff= shlibsuff= libmagic=32-bit;;
14357 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14358 libsuff=32 shlibsuff=N32 libmagic=N32;;
14359 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14360 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14361 *) libsuff= shlibsuff= libmagic=never-match;;
14365 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14366 shlibpath_overrides_runpath=no
14367 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14368 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14369 hardcode_into_libs=yes
14372 # No shared lib support for Linux oldld, aout, or coff.
14373 linux*oldld* | linux*aout* | linux*coff*)
14377 # This must be Linux ELF.
14382 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14383 soname_spec='${libname}${release}${shared_ext}$major'
14384 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14385 shlibpath_var=LD_LIBRARY_PATH
14386 shlibpath_overrides_runpath=no
14387 # This implies no fast_install, which is unacceptable.
14388 # Some rework will be needed to allow for fast_install
14389 # before this can be enabled.
14390 hardcode_into_libs=yes
14392 # We used to test for /lib/ld.so.1 and disable shared libraries on
14393 # powerpc, because MkLinux only supported shared libraries with the
14394 # GNU dynamic linker. Since this was broken with cross compilers,
14395 # most powerpc-linux boxes support dynamic linking these days and
14396 # people can always --disable-shared, the test was removed, and we
14397 # assume the GNU/Linux dynamic linker is in use.
14398 dynamic_linker='GNU/Linux ld.so'
14405 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14407 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14408 dynamic_linker='NetBSD (a.out) ld.so'
14410 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14411 soname_spec='${libname}${release}${shared_ext}$major'
14412 dynamic_linker='NetBSD ld.elf_so'
14414 shlibpath_var=LD_LIBRARY_PATH
14415 shlibpath_overrides_runpath=yes
14416 hardcode_into_libs=yes
14421 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14422 shlibpath_var=LD_LIBRARY_PATH
14423 shlibpath_overrides_runpath=yes
14430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14431 soname_spec='${libname}${release}${shared_ext}$major'
14432 shlibpath_var=LD_LIBRARY_PATH
14433 shlibpath_overrides_runpath=yes
14440 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14441 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14442 shlibpath_var=LD_LIBRARY_PATH
14443 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14445 openbsd2.[89] | openbsd2.[89].*)
14446 shlibpath_overrides_runpath=no
14449 shlibpath_overrides_runpath=yes
14453 shlibpath_overrides_runpath=yes
14458 libname_spec='$name'
14461 library_names_spec='$libname${shared_ext} $libname.a'
14462 dynamic_linker='OS/2 ld.exe'
14463 shlibpath_var=LIBPATH
14466 osf3* | osf4* | osf5*)
14470 soname_spec='${libname}${release}${shared_ext}$major'
14471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14472 shlibpath_var=LD_LIBRARY_PATH
14473 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14474 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14479 soname_spec='${libname}${release}${shared_ext}$major'
14480 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14481 shlibpath_var=LD_LIBRARY_PATH
14488 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14489 soname_spec='${libname}${release}${shared_ext}$major'
14490 shlibpath_var=LD_LIBRARY_PATH
14491 shlibpath_overrides_runpath=yes
14492 hardcode_into_libs=yes
14493 # ldd complains unless libraries are executable
14494 postinstall_cmds='chmod +x $lib'
14499 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14500 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14501 shlibpath_var=LD_LIBRARY_PATH
14502 shlibpath_overrides_runpath=yes
14503 if test "$with_gnu_ld" = yes; then
14509 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14511 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14512 soname_spec='${libname}${release}${shared_ext}$major'
14513 shlibpath_var=LD_LIBRARY_PATH
14514 case $host_vendor in
14516 shlibpath_overrides_runpath=no
14518 export_dynamic_flag_spec='${wl}-Blargedynsym'
14519 runpath_var=LD_RUN_PATH
14527 shlibpath_overrides_runpath=no
14528 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14534 if test -d /usr/nec ;then
14536 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14537 soname_spec='$libname${shared_ext}.$major'
14538 shlibpath_var=LD_LIBRARY_PATH
14544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14545 soname_spec='${libname}${release}${shared_ext}$major'
14546 shlibpath_var=LD_LIBRARY_PATH
14553 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14554 echo "${ECHO_T}$dynamic_linker" >&6
14555 test "$dynamic_linker" = no && can_build_shared=no
14558 # The else clause should only fire when bootstrapping the
14559 # libtool distribution, otherwise you forgot to ship ltmain.sh
14560 # with your package, and you will get complaints that there are
14561 # no rules to generate ltmain.sh.
14562 if test -f "$ltmain"; then
14563 # See if we are running on zsh, and set the options which allow our commands through
14564 # without removal of \ escapes.
14565 if test -n "${ZSH_VERSION+set}" ; then
14566 setopt NO_GLOB_SUBST
14568 # Now quote all the things that may contain metacharacters while being
14569 # careful not to overquote the AC_SUBSTed values. We take copies of the
14570 # variables and quote the copies for generation of the libtool script.
14571 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
14572 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14573 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14574 deplibs_check_method reload_flag reload_cmds need_locks \
14575 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14576 lt_cv_sys_global_symbol_to_c_name_address \
14577 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14578 old_postinstall_cmds old_postuninstall_cmds \
14582 lt_prog_compiler_wl_F77 \
14583 lt_prog_compiler_pic_F77 \
14584 lt_prog_compiler_static_F77 \
14585 lt_prog_compiler_no_builtin_flag_F77 \
14586 export_dynamic_flag_spec_F77 \
14587 thread_safe_flag_spec_F77 \
14588 whole_archive_flag_spec_F77 \
14589 enable_shared_with_static_runtimes_F77 \
14590 old_archive_cmds_F77 \
14591 old_archive_from_new_cmds_F77 \
14592 predep_objects_F77 \
14593 postdep_objects_F77 \
14596 compiler_lib_search_path_F77 \
14598 archive_expsym_cmds_F77 \
14599 postinstall_cmds_F77 \
14600 postuninstall_cmds_F77 \
14601 old_archive_from_expsyms_cmds_F77 \
14602 allow_undefined_flag_F77 \
14603 no_undefined_flag_F77 \
14604 export_symbols_cmds_F77 \
14605 hardcode_libdir_flag_spec_F77 \
14606 hardcode_libdir_flag_spec_ld_F77 \
14607 hardcode_libdir_separator_F77 \
14608 hardcode_automatic_F77 \
14610 module_expsym_cmds_F77 \
14611 lt_cv_prog_compiler_c_o_F77 \
14612 exclude_expsyms_F77 \
14613 include_expsyms_F77; do
14616 old_archive_cmds_F77 | \
14617 old_archive_from_new_cmds_F77 | \
14618 archive_cmds_F77 | \
14619 archive_expsym_cmds_F77 | \
14620 module_cmds_F77 | \
14621 module_expsym_cmds_F77 | \
14622 old_archive_from_expsyms_cmds_F77 | \
14623 export_symbols_cmds_F77 | \
14624 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14625 postinstall_cmds | postuninstall_cmds | \
14626 old_postinstall_cmds | old_postuninstall_cmds | \
14627 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14628 # Double-quote double-evaled strings.
14629 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14632 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14638 *'\$0 --fallback-echo"')
14639 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14645 cat <<__EOF__ >> "$cfgfile"
14646 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14648 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14650 # Shell to use when invoking shell scripts.
14653 # Whether or not to build shared libraries.
14654 build_libtool_libs=$enable_shared
14656 # Whether or not to build static libraries.
14657 build_old_libs=$enable_static
14659 # Whether or not to add -lc for building shared libraries.
14660 build_libtool_need_lc=$archive_cmds_need_lc_F77
14662 # Whether or not to disallow shared libs when runtime libs are static
14663 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14665 # Whether or not to optimize for fast installation.
14666 fast_install=$enable_fast_install
14669 host_alias=$host_alias
14672 # An echo program that does not interpret backslashes.
14677 AR_FLAGS=$lt_AR_FLAGS
14682 # A language-specific compiler.
14683 CC=$lt_compiler_F77
14685 # Is the compiler the GNU C compiler?
14691 # The linker used to build libraries.
14694 # Whether we need hard or soft links.
14697 # A BSD-compatible nm program.
14700 # A symbol stripping program
14703 # Used to examine libraries when file_magic_cmd begins "file"
14704 MAGIC_CMD=$MAGIC_CMD
14706 # Used on cygwin: DLL creation program.
14709 # Used on cygwin: object dumper.
14712 # Used on cygwin: assembler.
14715 # The name of the directory that contains temporary libtool files.
14718 # How to create reloadable object files.
14719 reload_flag=$lt_reload_flag
14720 reload_cmds=$lt_reload_cmds
14722 # How to pass a linker flag through the compiler.
14723 wl=$lt_lt_prog_compiler_wl_F77
14725 # Object file suffix (normally "o").
14726 objext="$ac_objext"
14728 # Old archive suffix (normally "a").
14731 # Shared library suffix (normally ".so").
14734 # Executable file suffix (normally "").
14737 # Additional compiler flags for building library objects.
14738 pic_flag=$lt_lt_prog_compiler_pic_F77
14741 # What is the maximum length of a command?
14742 max_cmd_len=$lt_cv_sys_max_cmd_len
14744 # Does compiler simultaneously support -c and -o options?
14745 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
14747 # Must we lock files when doing compilation ?
14748 need_locks=$lt_need_locks
14750 # Do we need the lib prefix for modules?
14751 need_lib_prefix=$need_lib_prefix
14753 # Do we need a version for libraries?
14754 need_version=$need_version
14756 # Whether dlopen is supported.
14757 dlopen_support=$enable_dlopen
14759 # Whether dlopen of programs is supported.
14760 dlopen_self=$enable_dlopen_self
14762 # Whether dlopen of statically linked programs is supported.
14763 dlopen_self_static=$enable_dlopen_self_static
14765 # Compiler flag to prevent dynamic linking.
14766 link_static_flag=$lt_lt_prog_compiler_static_F77
14768 # Compiler flag to turn off builtin functions.
14769 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
14771 # Compiler flag to allow reflexive dlopens.
14772 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
14774 # Compiler flag to generate shared objects directly from archives.
14775 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
14777 # Compiler flag to generate thread-safe objects.
14778 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
14780 # Library versioning type.
14781 version_type=$version_type
14783 # Format of library name prefix.
14784 libname_spec=$lt_libname_spec
14786 # List of archive names. First name is the real one, the rest are links.
14787 # The last name is the one that the linker finds with -lNAME.
14788 library_names_spec=$lt_library_names_spec
14790 # The coded name of the library, if different from the real name.
14791 soname_spec=$lt_soname_spec
14793 # Commands used to build and install an old-style archive.
14795 old_archive_cmds=$lt_old_archive_cmds_F77
14796 old_postinstall_cmds=$lt_old_postinstall_cmds
14797 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14799 # Create an old-style archive from a shared archive.
14800 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
14802 # Create a temporary old-style archive to link instead of a shared archive.
14803 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
14805 # Commands used to build and install a shared archive.
14806 archive_cmds=$lt_archive_cmds_F77
14807 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
14808 postinstall_cmds=$lt_postinstall_cmds
14809 postuninstall_cmds=$lt_postuninstall_cmds
14811 # Commands used to build a loadable module (assumed same as above if empty)
14812 module_cmds=$lt_module_cmds_F77
14813 module_expsym_cmds=$lt_module_expsym_cmds_F77
14815 # Commands to strip libraries.
14816 old_striplib=$lt_old_striplib
14817 striplib=$lt_striplib
14819 # Dependencies to place before the objects being linked to create a
14821 predep_objects=$lt_predep_objects_F77
14823 # Dependencies to place after the objects being linked to create a
14825 postdep_objects=$lt_postdep_objects_F77
14827 # Dependencies to place before the objects being linked to create a
14829 predeps=$lt_predeps_F77
14831 # Dependencies to place after the objects being linked to create a
14833 postdeps=$lt_postdeps_F77
14835 # The library search path used internally by the compiler when linking
14836 # a shared library.
14837 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
14839 # Method to check whether dependent libraries are shared objects.
14840 deplibs_check_method=$lt_deplibs_check_method
14842 # Command to use when deplibs_check_method == file_magic.
14843 file_magic_cmd=$lt_file_magic_cmd
14845 # Flag that allows shared libraries with undefined symbols to be built.
14846 allow_undefined_flag=$lt_allow_undefined_flag_F77
14848 # Flag that forces no undefined symbols.
14849 no_undefined_flag=$lt_no_undefined_flag_F77
14851 # Commands used to finish a libtool library installation in a directory.
14852 finish_cmds=$lt_finish_cmds
14854 # Same as above, but a single script fragment to be evaled but not shown.
14855 finish_eval=$lt_finish_eval
14857 # Take the output of nm and produce a listing of raw symbols and C names.
14858 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14860 # Transform the output of nm in a proper C declaration
14861 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14863 # Transform the output of nm in a C name address pair
14864 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14866 # This is the shared library runtime path variable.
14867 runpath_var=$runpath_var
14869 # This is the shared library path variable.
14870 shlibpath_var=$shlibpath_var
14872 # Is shlibpath searched before the hard-coded library search path?
14873 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14875 # How to hardcode a shared library path into an executable.
14876 hardcode_action=$hardcode_action_F77
14878 # Whether we should hardcode library paths into libraries.
14879 hardcode_into_libs=$hardcode_into_libs
14881 # Flag to hardcode \$libdir into a binary during linking.
14882 # This must work even if \$libdir does not exist.
14883 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
14885 # If ld is used when linking, flag to hardcode \$libdir into
14886 # a binary during linking. This must work even if \$libdir does
14888 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
14890 # Whether we need a single -rpath flag with a separated argument.
14891 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
14893 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14894 # resulting binary.
14895 hardcode_direct=$hardcode_direct_F77
14897 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14898 # resulting binary.
14899 hardcode_minus_L=$hardcode_minus_L_F77
14901 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14902 # the resulting binary.
14903 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
14905 # Set to yes if building a shared library automatically hardcodes DIR into the library
14906 # and all subsequent libraries and executables linked against it.
14907 hardcode_automatic=$hardcode_automatic_F77
14909 # Variables whose values should be saved in libtool wrapper scripts and
14910 # restored at relink time.
14911 variables_saved_for_relink="$variables_saved_for_relink"
14913 # Whether libtool must link a program against all its dependency libraries.
14914 link_all_deplibs=$link_all_deplibs_F77
14916 # Compile-time system search path for libraries
14917 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14919 # Run-time system search path for libraries
14920 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
14922 # Fix the shell variable \$srcfile for the compiler.
14923 fix_srcfile_path="$fix_srcfile_path_F77"
14925 # Set to yes if exported symbols are required.
14926 always_export_symbols=$always_export_symbols_F77
14928 # The commands to list exported symbols.
14929 export_symbols_cmds=$lt_export_symbols_cmds_F77
14931 # The commands to extract the exported symbol list from a shared archive.
14932 extract_expsyms_cmds=$lt_extract_expsyms_cmds
14934 # Symbols that should not be listed in the preloaded symbols.
14935 exclude_expsyms=$lt_exclude_expsyms_F77
14937 # Symbols that must always be exported.
14938 include_expsyms=$lt_include_expsyms_F77
14940 # ### END LIBTOOL TAG CONFIG: $tagname
14946 # If there is no Makefile yet, we rely on a make rule to execute
14947 # `config.status --recheck' to rerun these tests and create the
14948 # libtool script then.
14949 test -f Makefile && make "$ltmain"
14954 ac_cpp='$CPP $CPPFLAGS'
14955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14967 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
14971 # Source file extension for Java test sources.
14974 # Object file extension for compiled Java test sources.
14978 # Code to be used in simple compile tests
14979 lt_simple_compile_test_code="class foo {}\n"
14981 # Code to be used in simple link tests
14982 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
14984 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14986 # If no C compiler was specified, use CC.
14989 # Allow CC to be a program name with arguments.
14993 # Allow CC to be a program name with arguments.
14999 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15000 archive_cmds_need_lc_GCJ=no
15003 ## There is no encapsulation within the following macros, do not change
15004 ## the running order or otherwise move them around unless you know exactly
15005 ## what you are doing...
15007 lt_prog_compiler_no_builtin_flag_GCJ=
15009 if test "$GCC" = yes; then
15010 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15012 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15013 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15014 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15015 echo $ECHO_N "(cached) $ECHO_C" >&6
15017 lt_cv_prog_compiler_rtti_exceptions=no
15018 ac_outfile=conftest.$ac_objext
15019 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15020 lt_compiler_flag="-fno-rtti -fno-exceptions"
15021 # Insert the option either (1) after the last *FLAGS variable, or
15022 # (2) before a word containing "conftest.", or (3) at the end.
15023 # Note that $ac_compile itself does not contain backslashes and begins
15024 # with a dollar sign (not a hyphen), so the echo should work correctly.
15025 # The option is referenced via a variable to avoid confusing sed.
15026 lt_compile=`echo "$ac_compile" | $SED \
15027 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15028 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15029 -e 's:$: $lt_compiler_flag:'`
15030 (eval echo "\"\$as_me:15030: $lt_compile\"" >&5)
15031 (eval "$lt_compile" 2>conftest.err)
15033 cat conftest.err >&5
15034 echo "$as_me:15034: \$? = $ac_status" >&5
15035 if (exit $ac_status) && test -s "$ac_outfile"; then
15036 # The compiler can only warn and ignore the option if not recognized
15037 # So say no if there are warnings
15038 if test ! -s conftest.err; then
15039 lt_cv_prog_compiler_rtti_exceptions=yes
15045 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15046 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15048 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15049 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15056 lt_prog_compiler_wl_GCJ=
15057 lt_prog_compiler_pic_GCJ=
15058 lt_prog_compiler_static_GCJ=
15060 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15061 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15063 if test "$GCC" = yes; then
15064 lt_prog_compiler_wl_GCJ='-Wl,'
15065 lt_prog_compiler_static_GCJ='-static'
15069 # All AIX code is PIC.
15070 if test "$host_cpu" = ia64; then
15071 # AIX 5 now supports IA64 processor
15072 lt_prog_compiler_static_GCJ='-Bstatic'
15077 # FIXME: we need at least 68020 code to build shared libraries, but
15078 # adding the `-m68020' flag to GCC prevents building anything better,
15080 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15083 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15084 # PIC is the default for these OSes.
15087 mingw* | pw32* | os2*)
15088 # This hack is so that the source file can tell whether it is being
15089 # built for inclusion in a dll (and should export symbols for example).
15090 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15093 darwin* | rhapsody*)
15094 # PIC is the default on this platform
15095 # Common symbols not allowed in MH_DYLIB files
15096 lt_prog_compiler_pic_GCJ='-fno-common'
15100 # Just because we use GCC doesn't mean we suddenly get shared libraries
15101 # on systems that don't support them.
15102 lt_prog_compiler_can_build_shared_GCJ=no
15107 if test -d /usr/nec; then
15108 lt_prog_compiler_pic_GCJ=-Kconform_pic
15113 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15114 # not for PA HP-UX.
15115 case "$host_cpu" in
15120 lt_prog_compiler_pic_GCJ='-fPIC'
15126 lt_prog_compiler_pic_GCJ='-fPIC'
15130 # PORTME Check for flag to pass linker flags through the system compiler.
15133 lt_prog_compiler_wl_GCJ='-Wl,'
15134 if test "$host_cpu" = ia64; then
15135 # AIX 5 now supports IA64 processor
15136 lt_prog_compiler_static_GCJ='-Bstatic'
15138 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15142 mingw* | pw32* | os2*)
15143 # This hack is so that the source file can tell whether it is being
15144 # built for inclusion in a dll (and should export symbols for example).
15145 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15148 hpux9* | hpux10* | hpux11*)
15149 lt_prog_compiler_wl_GCJ='-Wl,'
15150 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15151 # not for PA HP-UX.
15152 case "$host_cpu" in
15157 lt_prog_compiler_pic_GCJ='+Z'
15160 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15161 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15164 irix5* | irix6* | nonstopux*)
15165 lt_prog_compiler_wl_GCJ='-Wl,'
15166 # PIC (with -KPIC) is the default.
15167 lt_prog_compiler_static_GCJ='-non_shared'
15171 lt_prog_compiler_pic_GCJ='-KPIC'
15172 lt_prog_compiler_static_GCJ='-Bstatic'
15178 lt_prog_compiler_wl_GCJ='-Wl,'
15179 lt_prog_compiler_pic_GCJ='-KPIC'
15180 lt_prog_compiler_static_GCJ='-static'
15183 lt_prog_compiler_wl_GCJ='-Wl,'
15184 # All Alpha code is PIC.
15185 lt_prog_compiler_static_GCJ='-non_shared'
15190 osf3* | osf4* | osf5*)
15191 lt_prog_compiler_wl_GCJ='-Wl,'
15192 # All OSF/1 code is PIC.
15193 lt_prog_compiler_static_GCJ='-non_shared'
15197 lt_prog_compiler_pic_GCJ='-Kpic'
15198 lt_prog_compiler_static_GCJ='-dn'
15202 lt_prog_compiler_wl_GCJ='-Wl,'
15203 lt_prog_compiler_pic_GCJ='-KPIC'
15204 lt_prog_compiler_static_GCJ='-Bstatic'
15208 lt_prog_compiler_wl_GCJ='-Qoption ld '
15209 lt_prog_compiler_pic_GCJ='-PIC'
15210 lt_prog_compiler_static_GCJ='-Bstatic'
15213 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15214 lt_prog_compiler_wl_GCJ='-Wl,'
15215 lt_prog_compiler_pic_GCJ='-KPIC'
15216 lt_prog_compiler_static_GCJ='-Bstatic'
15220 if test -d /usr/nec ;then
15221 lt_prog_compiler_pic_GCJ='-Kconform_pic'
15222 lt_prog_compiler_static_GCJ='-Bstatic'
15227 lt_prog_compiler_pic_GCJ='-pic'
15228 lt_prog_compiler_static_GCJ='-Bstatic'
15232 lt_prog_compiler_can_build_shared_GCJ=no
15237 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15238 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15241 # Check to make sure the PIC flag actually works.
15243 if test -n "$lt_prog_compiler_pic_GCJ"; then
15244 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15245 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15246 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15247 echo $ECHO_N "(cached) $ECHO_C" >&6
15249 lt_prog_compiler_pic_works_GCJ=no
15250 ac_outfile=conftest.$ac_objext
15251 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15252 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15253 # Insert the option either (1) after the last *FLAGS variable, or
15254 # (2) before a word containing "conftest.", or (3) at the end.
15255 # Note that $ac_compile itself does not contain backslashes and begins
15256 # with a dollar sign (not a hyphen), so the echo should work correctly.
15257 # The option is referenced via a variable to avoid confusing sed.
15258 lt_compile=`echo "$ac_compile" | $SED \
15259 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15260 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15261 -e 's:$: $lt_compiler_flag:'`
15262 (eval echo "\"\$as_me:15262: $lt_compile\"" >&5)
15263 (eval "$lt_compile" 2>conftest.err)
15265 cat conftest.err >&5
15266 echo "$as_me:15266: \$? = $ac_status" >&5
15267 if (exit $ac_status) && test -s "$ac_outfile"; then
15268 # The compiler can only warn and ignore the option if not recognized
15269 # So say no if there are warnings
15270 if test ! -s conftest.err; then
15271 lt_prog_compiler_pic_works_GCJ=yes
15277 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15278 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15280 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15281 case $lt_prog_compiler_pic_GCJ in
15283 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15286 lt_prog_compiler_pic_GCJ=
15287 lt_prog_compiler_can_build_shared_GCJ=no
15292 # For platforms which do not support PIC, -DPIC is meaningless:
15294 lt_prog_compiler_pic_GCJ=
15297 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15301 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15302 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15303 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15304 echo $ECHO_N "(cached) $ECHO_C" >&6
15306 lt_cv_prog_compiler_c_o_GCJ=no
15307 $rm -r conftest 2>/dev/null
15311 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15313 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15314 # that will create temporary files in the current directory regardless of
15315 # the output directory. Thus, making CWD read-only will cause this test
15316 # to fail, enabling locking or at least warning the user not to do parallel
15320 lt_compiler_flag="-o out/conftest2.$ac_objext"
15321 # Insert the option either (1) after the last *FLAGS variable, or
15322 # (2) before a word containing "conftest.", or (3) at the end.
15323 # Note that $ac_compile itself does not contain backslashes and begins
15324 # with a dollar sign (not a hyphen), so the echo should work correctly.
15325 lt_compile=`echo "$ac_compile" | $SED \
15326 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15327 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15328 -e 's:$: $lt_compiler_flag:'`
15329 (eval echo "\"\$as_me:15329: $lt_compile\"" >&5)
15330 (eval "$lt_compile" 2>out/conftest.err)
15332 cat out/conftest.err >&5
15333 echo "$as_me:15333: \$? = $ac_status" >&5
15334 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15336 # The compiler can only warn and ignore the option if not recognized
15337 # So say no if there are warnings
15338 if test ! -s out/conftest.err; then
15339 lt_cv_prog_compiler_c_o_GCJ=yes
15343 $rm conftest* out/*
15350 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15351 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15354 hard_links="nottested"
15355 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15356 # do not overwrite the value of need_locks provided by the user
15357 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15358 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15361 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15363 ln conftest.a conftest.b 2>&5 || hard_links=no
15364 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15365 echo "$as_me:$LINENO: result: $hard_links" >&5
15366 echo "${ECHO_T}$hard_links" >&6
15367 if test "$hard_links" = no; then
15368 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15369 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15376 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15377 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15380 allow_undefined_flag_GCJ=
15381 enable_shared_with_static_runtimes_GCJ=no
15383 archive_expsym_cmds_GCJ=
15384 old_archive_From_new_cmds_GCJ=
15385 old_archive_from_expsyms_cmds_GCJ=
15386 export_dynamic_flag_spec_GCJ=
15387 whole_archive_flag_spec_GCJ=
15388 thread_safe_flag_spec_GCJ=
15389 hardcode_libdir_flag_spec_GCJ=
15390 hardcode_libdir_flag_spec_ld_GCJ=
15391 hardcode_libdir_separator_GCJ=
15392 hardcode_direct_GCJ=no
15393 hardcode_minus_L_GCJ=no
15394 hardcode_shlibpath_var_GCJ=unsupported
15395 link_all_deplibs_GCJ=unknown
15396 hardcode_automatic_GCJ=no
15398 module_expsym_cmds_GCJ=
15399 always_export_symbols_GCJ=no
15400 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15401 # include_expsyms should be a list of space-separated symbols to be *always*
15402 # included in the symbol list
15403 include_expsyms_GCJ=
15404 # exclude_expsyms can be an extended regexp of symbols to exclude
15405 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15406 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15407 # as well as any symbol that contains `d'.
15408 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15409 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15410 # platforms (ab)use it in PIC code, but their linkers get confused if
15411 # the symbol is explicitly referenced. Since portable code cannot
15412 # rely on this symbol name, it's probably fine to never include it in
15413 # preloaded symbol tables.
15414 extract_expsyms_cmds=
15417 cygwin* | mingw* | pw32*)
15418 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15419 # When not using gcc, we currently assume that we are using
15420 # Microsoft Visual C++.
15421 if test "$GCC" != yes; then
15431 if test "$with_gnu_ld" = yes; then
15432 # If archive_cmds runs LD, not CC, wlarc should be empty
15435 # See if GNU ld supports shared libraries.
15437 aix3* | aix4* | aix5*)
15438 # On AIX/PPC, the GNU linker is very broken
15439 if test "$host_cpu" != ia64; then
15443 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15444 *** to be unable to reliably create shared libraries on AIX.
15445 *** Therefore, libtool is disabling shared libraries support. If you
15446 *** really care for shared libraries, you may want to modify your PATH
15447 *** so that a non-GNU linker is found, and then restart.
15454 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)'
15455 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15456 hardcode_minus_L_GCJ=yes
15458 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15459 # that the semantics of dynamic libraries on AmigaOS, at least up
15460 # to version 4, is to share data among multiple programs linked
15461 # with the same dynamic library. Since this doesn't match the
15462 # behavior of shared libraries on other platforms, we can't use
15468 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15469 allow_undefined_flag_GCJ=unsupported
15470 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15471 # support --undefined. This deserves some investigation. FIXME
15472 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15478 cygwin* | mingw* | pw32*)
15479 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15480 # as there is no search path for DLLs.
15481 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15482 allow_undefined_flag_GCJ=unsupported
15483 always_export_symbols_GCJ=no
15484 enable_shared_with_static_runtimes_GCJ=yes
15485 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15487 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15488 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15489 # If the export-symbols file already is a .def file (1st line
15490 # is EXPORTS), use it as is; otherwise, prepend...
15491 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15492 cp $export_symbols $output_objdir/$soname.def;
15494 echo EXPORTS > $output_objdir/$soname.def;
15495 cat $export_symbols >> $output_objdir/$soname.def;
15497 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15504 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15505 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15508 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15509 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15514 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15518 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15519 *** create shared libraries on Solaris systems. Therefore, libtool
15520 *** is disabling shared libraries support. We urge you to upgrade GNU
15521 *** binutils to release 2.9.1 or newer. Another option is to modify
15522 *** your PATH or compiler configuration so that the native linker is
15523 *** used, and then restart.
15526 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15527 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15528 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15535 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15537 hardcode_direct_GCJ=yes
15538 hardcode_shlibpath_var_GCJ=no
15542 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15543 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15544 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15551 if test "$ld_shlibs_GCJ" = yes; then
15552 runpath_var=LD_RUN_PATH
15553 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15554 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15555 # ancient GNU ld didn't support --whole-archive et. al.
15556 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15557 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15559 whole_archive_flag_spec_GCJ=
15563 # PORTME fill in a description of your system's linker (not GNU ld)
15566 allow_undefined_flag_GCJ=unsupported
15567 always_export_symbols_GCJ=yes
15568 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'
15569 # Note: this linker hardcodes the directories in LIBPATH if there
15570 # are no directories specified by -L.
15571 hardcode_minus_L_GCJ=yes
15572 if test "$GCC" = yes && test -z "$link_static_flag"; then
15573 # Neither direct hardcoding nor static linking is supported with a
15575 hardcode_direct_GCJ=unsupported
15580 if test "$host_cpu" = ia64; then
15581 # On IA64, the linker does run time linking by default, so we don't
15582 # have to do anything special.
15583 aix_use_runtimelinking=no
15584 exp_sym_flag='-Bexport'
15587 # If we're using GNU nm, then we don't want the "-C" option.
15588 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15589 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15590 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'
15592 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'
15594 aix_use_runtimelinking=no
15596 # Test if we are trying to use run time linking or normal
15597 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15598 # need to do runtime linking.
15599 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15600 for ld_flag in $LDFLAGS; do
15601 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15602 aix_use_runtimelinking=yes
15608 exp_sym_flag='-bexport'
15609 no_entry_flag='-bnoentry'
15612 # When large executables or shared objects are built, AIX ld can
15613 # have problems creating the table of contents. If linking a library
15614 # or program results in "error TOC overflow" add -mminimal-toc to
15615 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15616 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15618 archive_cmds_GCJ=''
15619 hardcode_direct_GCJ=yes
15620 hardcode_libdir_separator_GCJ=':'
15621 link_all_deplibs_GCJ=yes
15623 if test "$GCC" = yes; then
15624 case $host_os in aix4.012|aix4.012.*)
15625 # We only want to do this on AIX 4.2 and lower, the check
15626 # below for broken collect2 doesn't work under 4.3+
15627 collect2name=`${CC} -print-prog-name=collect2`
15628 if test -f "$collect2name" && \
15629 strings "$collect2name" | grep resolve_lib_name >/dev/null
15631 # We have reworked collect2
15632 hardcode_direct_GCJ=yes
15634 # We have old collect2
15635 hardcode_direct_GCJ=unsupported
15636 # It fails to find uninstalled libraries when the uninstalled
15637 # path is not listed in the libpath. Setting hardcode_minus_L
15638 # to unsupported forces relinking
15639 hardcode_minus_L_GCJ=yes
15640 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15641 hardcode_libdir_separator_GCJ=
15644 shared_flag='-shared'
15647 if test "$host_cpu" = ia64; then
15648 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15649 # chokes on -Wl,-G. The following line is correct:
15652 if test "$aix_use_runtimelinking" = yes; then
15653 shared_flag='${wl}-G'
15655 shared_flag='${wl}-bM:SRE'
15660 # It seems that -bexpall does not export symbols beginning with
15661 # underscore (_), so it is better to generate a list of symbols to export.
15662 always_export_symbols_GCJ=yes
15663 if test "$aix_use_runtimelinking" = yes; then
15664 # Warning - without using the other runtime loading flags (-brtl),
15665 # -berok will link without error, but may produce a broken library.
15666 allow_undefined_flag_GCJ='-berok'
15667 # Determine the default libpath from the value encoded in an empty executable.
15668 cat >conftest.$ac_ext <<_ACEOF
15669 #line $LINENO "configure"
15672 cat confdefs.h >>conftest.$ac_ext
15673 cat >>conftest.$ac_ext <<_ACEOF
15674 /* end confdefs.h. */
15684 rm -f conftest.$ac_objext conftest$ac_exeext
15685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15686 (eval $ac_link) 2>&5
15688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15689 (exit $ac_status); } &&
15690 { ac_try='test -s conftest$ac_exeext'
15691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15692 (eval $ac_try) 2>&5
15694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15695 (exit $ac_status); }; }; then
15697 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15699 # Check for a 64-bit object if we didn't find anything.
15700 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; }
15703 echo "$as_me: failed program was:" >&5
15704 sed 's/^/| /' conftest.$ac_ext >&5
15707 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15708 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15710 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15711 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"
15713 if test "$host_cpu" = ia64; then
15714 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
15715 allow_undefined_flag_GCJ="-z nodefs"
15716 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"
15718 # Determine the default libpath from the value encoded in an empty executable.
15719 cat >conftest.$ac_ext <<_ACEOF
15720 #line $LINENO "configure"
15723 cat confdefs.h >>conftest.$ac_ext
15724 cat >>conftest.$ac_ext <<_ACEOF
15725 /* end confdefs.h. */
15735 rm -f conftest.$ac_objext conftest$ac_exeext
15736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15737 (eval $ac_link) 2>&5
15739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15740 (exit $ac_status); } &&
15741 { ac_try='test -s conftest$ac_exeext'
15742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15743 (eval $ac_try) 2>&5
15745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15746 (exit $ac_status); }; }; then
15748 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15750 # Check for a 64-bit object if we didn't find anything.
15751 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; }
15754 echo "$as_me: failed program was:" >&5
15755 sed 's/^/| /' conftest.$ac_ext >&5
15758 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15759 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15761 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15762 # Warning - without using the other run time loading flags,
15763 # -berok will link without error, but may produce a broken library.
15764 no_undefined_flag_GCJ=' ${wl}-bernotok'
15765 allow_undefined_flag_GCJ=' ${wl}-berok'
15766 # -bexpall does not export symbols beginning with underscore (_)
15767 always_export_symbols_GCJ=yes
15768 # Exported symbols can be pulled into shared objects from archives
15769 whole_archive_flag_spec_GCJ=' '
15770 archive_cmds_need_lc_GCJ=yes
15771 # This is similar to how AIX traditionally builds it's shared libraries.
15772 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'
15778 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)'
15779 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15780 hardcode_minus_L_GCJ=yes
15781 # see comment about different semantics on the GNU ld section
15786 export_dynamic_flag_spec_GCJ=-rdynamic
15789 cygwin* | mingw* | pw32*)
15790 # When not using gcc, we currently assume that we are using
15791 # Microsoft Visual C++.
15792 # hardcode_libdir_flag_spec is actually meaningless, as there is
15793 # no search path for DLLs.
15794 hardcode_libdir_flag_spec_GCJ=' '
15795 allow_undefined_flag_GCJ=unsupported
15796 # Tell ltmain to make .lib files, not .a files.
15798 # Tell ltmain to make .dll files, not .so files.
15800 # FIXME: Setting linknames here is a bad hack.
15801 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15802 # The linker will automatically build a .lib file if we build a DLL.
15803 old_archive_From_new_cmds_GCJ='true'
15804 # FIXME: Should let the user specify the lib program.
15805 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
15806 fix_srcfile_path='`cygpath -w "$srcfile"`'
15807 enable_shared_with_static_runtimes_GCJ=yes
15810 darwin* | rhapsody*)
15811 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
15812 archive_cmds_need_lc_GCJ=no
15814 rhapsody* | darwin1.[012])
15815 allow_undefined_flag_GCJ='-undefined suppress'
15818 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
15821 # FIXME: Relying on posixy $() will cause problems for
15822 # cross-compilation, but unfortunately the echo tests do not
15823 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
15824 # `"' quotes if we put them in here... so don't!
15825 lt_int_apple_cc_single_mod=no
15826 output_verbose_link_cmd='echo'
15827 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
15828 lt_int_apple_cc_single_mod=yes
15830 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15831 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15833 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'
15835 module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
15836 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15837 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15838 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}'
15840 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}'
15842 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}'
15843 hardcode_direct_GCJ=no
15844 hardcode_automatic_GCJ=yes
15845 hardcode_shlibpath_var_GCJ=unsupported
15846 whole_archive_flag_spec_GCJ='-all_load $convenience'
15847 link_all_deplibs_GCJ=yes
15852 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15853 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15854 hardcode_shlibpath_var_GCJ=no
15861 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15862 # support. Future versions do this automatically, but an explicit c++rt0.o
15863 # does not break anything, and helps significantly (at the cost of a little
15866 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15867 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15868 hardcode_direct_GCJ=yes
15869 hardcode_shlibpath_var_GCJ=no
15872 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15874 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15875 hardcode_direct_GCJ=yes
15876 hardcode_minus_L_GCJ=yes
15877 hardcode_shlibpath_var_GCJ=no
15880 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15882 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15883 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15884 hardcode_direct_GCJ=yes
15885 hardcode_shlibpath_var_GCJ=no
15889 if test "$GCC" = yes; then
15890 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'
15892 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'
15894 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15895 hardcode_libdir_separator_GCJ=:
15896 hardcode_direct_GCJ=yes
15898 # hardcode_minus_L: Not really in the search PATH,
15899 # but as the default location of the library.
15900 hardcode_minus_L_GCJ=yes
15901 export_dynamic_flag_spec_GCJ='${wl}-E'
15905 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15906 case "$host_cpu" in
15908 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15911 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15915 case "$host_cpu" in
15917 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
15920 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
15924 if test "$with_gnu_ld" = no; then
15925 case "$host_cpu" in
15927 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15928 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
15929 hardcode_libdir_separator_GCJ=:
15930 hardcode_direct_GCJ=no
15931 hardcode_shlibpath_var_GCJ=no
15934 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15935 hardcode_direct_GCJ=no
15936 hardcode_shlibpath_var_GCJ=no
15938 # hardcode_minus_L: Not really in the search PATH,
15939 # but as the default location of the library.
15940 hardcode_minus_L_GCJ=yes
15943 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15944 hardcode_libdir_separator_GCJ=:
15945 hardcode_direct_GCJ=yes
15946 export_dynamic_flag_spec_GCJ='${wl}-E'
15948 # hardcode_minus_L: Not really in the search PATH,
15949 # but as the default location of the library.
15950 hardcode_minus_L_GCJ=yes
15956 irix5* | irix6* | nonstopux*)
15957 if test "$GCC" = yes; then
15958 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'
15960 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'
15961 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
15963 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15964 hardcode_libdir_separator_GCJ=:
15965 link_all_deplibs_GCJ=yes
15969 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15970 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
15972 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
15974 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15975 hardcode_direct_GCJ=yes
15976 hardcode_shlibpath_var_GCJ=no
15980 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15981 hardcode_direct_GCJ=yes
15982 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
15983 hardcode_libdir_separator_GCJ=:
15984 hardcode_shlibpath_var_GCJ=no
15988 hardcode_direct_GCJ=yes
15989 hardcode_shlibpath_var_GCJ=no
15990 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15991 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15992 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
15993 export_dynamic_flag_spec_GCJ='${wl}-E'
15996 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15997 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15998 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16001 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16002 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16009 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16010 hardcode_minus_L_GCJ=yes
16011 allow_undefined_flag_GCJ=unsupported
16012 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'
16013 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16017 if test "$GCC" = yes; then
16018 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16019 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'
16021 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16022 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'
16024 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16025 hardcode_libdir_separator_GCJ=:
16028 osf4* | osf5*) # as osf3* with the addition of -msym flag
16029 if test "$GCC" = yes; then
16030 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16031 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'
16032 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16034 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16035 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'
16036 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~
16037 $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'
16039 # Both c and cxx compiler support -rpath directly
16040 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16042 hardcode_libdir_separator_GCJ=:
16046 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16047 hardcode_shlibpath_var_GCJ=no
16048 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16049 runpath_var=LD_RUN_PATH
16050 hardcode_runpath_var=yes
16054 no_undefined_flag_GCJ=' -z text'
16055 if test "$GCC" = yes; then
16056 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16057 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16058 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16060 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16061 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16062 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16064 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16065 hardcode_shlibpath_var_GCJ=no
16067 solaris2.[0-5] | solaris2.[0-5].*) ;;
16068 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16069 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16071 link_all_deplibs_GCJ=yes
16075 if test "x$host_vendor" = xsequent; then
16076 # Use $CC to link under sequent, because it throws in some extra .o
16077 # files that make .init and .fini sections work.
16078 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16080 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16082 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16083 hardcode_direct_GCJ=yes
16084 hardcode_minus_L_GCJ=yes
16085 hardcode_shlibpath_var_GCJ=no
16089 case $host_vendor in
16091 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16092 hardcode_direct_GCJ=yes # is this really true???
16095 ## LD is ld it makes a PLAMLIB
16096 ## CC just makes a GrossModule.
16097 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16098 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16099 hardcode_direct_GCJ=no
16102 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16103 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16106 runpath_var='LD_RUN_PATH'
16107 hardcode_shlibpath_var_GCJ=no
16111 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16112 hardcode_shlibpath_var_GCJ=no
16113 export_dynamic_flag_spec_GCJ='-Bexport'
16117 if test -d /usr/nec; then
16118 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16119 hardcode_shlibpath_var_GCJ=no
16120 runpath_var=LD_RUN_PATH
16121 hardcode_runpath_var=yes
16127 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16128 hardcode_direct_GCJ=yes
16129 hardcode_minus_L_GCJ=no
16130 hardcode_shlibpath_var_GCJ=no
16131 hardcode_runpath_var=yes
16132 runpath_var=LD_RUN_PATH
16135 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16136 no_undefined_flag_GCJ='${wl}-z ${wl}text'
16137 if test "$GCC" = yes; then
16138 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16140 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16142 runpath_var='LD_RUN_PATH'
16143 hardcode_shlibpath_var_GCJ=no
16147 no_undefined_flag_GCJ=' -z text'
16148 # $CC -shared without GNU ld will not create a library from C++
16149 # object files and a static libstdc++, better avoid it by now
16150 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16151 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16152 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16153 hardcode_libdir_flag_spec_GCJ=
16154 hardcode_shlibpath_var_GCJ=no
16155 runpath_var='LD_RUN_PATH'
16159 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16160 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16161 hardcode_shlibpath_var_GCJ=no
16170 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16171 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16172 test "$ld_shlibs_GCJ" = no && can_build_shared=no
16174 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16175 if test "$GCC" = yes; then
16176 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16180 # Do we need to explicitly link libc?
16182 case "x$archive_cmds_need_lc_GCJ" in
16184 # Assume -lc should be added
16185 archive_cmds_need_lc_GCJ=yes
16187 if test "$enable_shared" = yes && test "$GCC" = yes; then
16188 case $archive_cmds_GCJ in
16190 # FIXME: we may have to deal with multi-command sequences.
16193 # Test whether the compiler implicitly links with -lc since on some
16194 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16195 # to ld, don't add -lc before -lgcc.
16196 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16197 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16199 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16202 (eval $ac_compile) 2>&5
16204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16205 (exit $ac_status); } 2>conftest.err; then
16208 libobjs=conftest.$ac_objext
16210 wl=$lt_prog_compiler_wl_GCJ
16216 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16217 allow_undefined_flag_GCJ=
16218 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16219 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16222 (exit $ac_status); }
16224 archive_cmds_need_lc_GCJ=no
16226 archive_cmds_need_lc_GCJ=yes
16228 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16230 cat conftest.err 1>&5
16233 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16234 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16241 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16242 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16243 hardcode_action_GCJ=
16244 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
16245 test -n "$runpath_var GCJ" || \
16246 test "X$hardcode_automatic_GCJ"="Xyes" ; then
16248 # We can hardcode non-existant directories.
16249 if test "$hardcode_direct_GCJ" != no &&
16250 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16251 # have to relink, otherwise we might link with an installed library
16252 # when we should be linking with a yet-to-be-installed one
16253 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
16254 test "$hardcode_minus_L_GCJ" != no; then
16255 # Linking always hardcodes the temporary library directory.
16256 hardcode_action_GCJ=relink
16258 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16259 hardcode_action_GCJ=immediate
16262 # We cannot hardcode anything, or else we can only hardcode existing
16264 hardcode_action_GCJ=unsupported
16266 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
16267 echo "${ECHO_T}$hardcode_action_GCJ" >&6
16269 if test "$hardcode_action_GCJ" = relink; then
16270 # Fast installation is not supported
16271 enable_fast_install=no
16272 elif test "$shlibpath_overrides_runpath" = yes ||
16273 test "$enable_shared" = no; then
16274 # Fast installation is not necessary
16275 enable_fast_install=needless
16280 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16281 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16282 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16283 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16284 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16285 echo "$as_me:$LINENO: result: yes" >&5
16286 echo "${ECHO_T}yes" >&6
16288 # FIXME - insert some real tests, host_os isn't really good enough
16291 if test -n "$STRIP" ; then
16292 striplib="$STRIP -x"
16293 echo "$as_me:$LINENO: result: yes" >&5
16294 echo "${ECHO_T}yes" >&6
16296 echo "$as_me:$LINENO: result: no" >&5
16297 echo "${ECHO_T}no" >&6
16301 echo "$as_me:$LINENO: result: no" >&5
16302 echo "${ECHO_T}no" >&6
16307 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16308 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16309 library_names_spec=
16310 libname_spec='lib$name'
16314 postuninstall_cmds=
16318 shlibpath_overrides_runpath=unknown
16320 dynamic_linker="$host_os ld.so"
16321 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16322 if test "$GCC" = yes; then
16323 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16324 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16325 # if the path contains ";" then we assume it to be the separator
16326 # otherwise default to the standard path separator (i.e. ":") - it is
16327 # assumed that no part of a normal pathname contains ";" but that should
16328 # okay in the real world where ";" in dirpaths is itself problematic.
16329 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16331 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16334 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16336 need_lib_prefix=unknown
16337 hardcode_into_libs=no
16339 # when you set need_version to no, make sure it does not cause -set_version
16340 # flags to be left without arguments
16341 need_version=unknown
16346 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16347 shlibpath_var=LIBPATH
16349 # AIX 3 has no versioning support, so we append a major version to the name.
16350 soname_spec='${libname}${release}${shared_ext}$major'
16357 hardcode_into_libs=yes
16358 if test "$host_cpu" = ia64; then
16359 # AIX 5 supports IA64
16360 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16361 shlibpath_var=LD_LIBRARY_PATH
16363 # With GCC up to 2.95.x, collect2 would create an import file
16364 # for dependence libraries. The import file would start with
16365 # the line `#! .'. This would cause the generated library to
16366 # depend on `.', always an invalid library. This was fixed in
16367 # development snapshots of GCC prior to 3.0.
16369 aix4 | aix4.[01] | aix4.[01].*)
16370 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16372 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16375 can_build_shared=no
16379 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16380 # soname into executable. Probably we can add versioning support to
16381 # collect2, so additional links can be useful in future.
16382 if test "$aix_use_runtimelinking" = yes; then
16383 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16384 # instead of lib<name>.a to let people know that these are not
16385 # typical AIX shared libraries.
16386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16388 # We preserve .a as extension for shared libraries through AIX4.2
16389 # and later when we are not doing run time linking.
16390 library_names_spec='${libname}${release}.a $libname.a'
16391 soname_spec='${libname}${release}${shared_ext}$major'
16393 shlibpath_var=LIBPATH
16398 library_names_spec='$libname.ixlibrary $libname.a'
16399 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16400 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'
16404 library_names_spec='${libname}${shared_ext}'
16405 dynamic_linker="$host_os ld.so"
16406 shlibpath_var=LIBRARY_PATH
16412 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16413 soname_spec='${libname}${release}${shared_ext}$major'
16414 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16415 shlibpath_var=LD_LIBRARY_PATH
16416 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16417 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16418 # the default ld.so.conf also contains /usr/contrib/lib and
16419 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16420 # libtool to hard-code these into programs
16423 cygwin* | mingw* | pw32*)
16424 version_type=windows
16429 case $GCC,$host_os in
16430 yes,cygwin* | yes,mingw* | yes,pw32*)
16431 library_names_spec='$libname.dll.a'
16432 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16433 postinstall_cmds='base_file=`basename \${file}`~
16434 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16435 dldir=$destdir/`dirname \$dlpath`~
16436 test -d \$dldir || mkdir -p \$dldir~
16437 $install_prog $dir/$dlname \$dldir/$dlname'
16438 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16439 dlpath=$dir/\$dldll~
16441 shlibpath_overrides_runpath=yes
16445 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16446 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16447 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
16450 # MinGW DLLs use traditional 'lib' prefix
16451 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16452 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16453 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16454 # It is most probably a Windows format PATH printed by
16455 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16456 # path with ; separators, and with drive letters. We can handle the
16457 # drive letters (cygwin fileutils understands them), so leave them,
16458 # especially as we might pass files found there to a mingw objdump,
16459 # which wouldn't understand a cygwinified path. Ahh.
16460 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16462 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16466 # pw32 DLLs use 'pw' prefix rather than 'lib'
16467 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16473 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16476 dynamic_linker='Win32 ld.exe'
16477 # FIXME: first we should search . and the directory the executable is in
16481 darwin* | rhapsody*)
16482 dynamic_linker="$host_os dyld"
16483 version_type=darwin
16486 # FIXME: Relying on posixy $() will cause problems for
16487 # cross-compilation, but unfortunately the echo tests do not
16488 # yet detect zsh echo's removal of \ escapes.
16489 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16490 soname_spec='${libname}${release}${major}$shared_ext'
16491 shlibpath_overrides_runpath=yes
16492 shlibpath_var=DYLD_LIBRARY_PATH
16493 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
16494 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16495 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
16496 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"`
16498 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16505 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16506 soname_spec='${libname}${release}${shared_ext}$major'
16507 shlibpath_var=LD_LIBRARY_PATH
16515 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16516 version_type=freebsd-$objformat
16517 case $version_type in
16519 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16524 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16528 shlibpath_var=LD_LIBRARY_PATH
16531 shlibpath_overrides_runpath=yes
16533 freebsd3.01* | freebsdelf3.01*)
16534 shlibpath_overrides_runpath=yes
16535 hardcode_into_libs=yes
16538 shlibpath_overrides_runpath=no
16539 hardcode_into_libs=yes
16548 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16549 soname_spec='${libname}${release}${shared_ext}$major'
16550 shlibpath_var=LD_LIBRARY_PATH
16551 hardcode_into_libs=yes
16554 hpux9* | hpux10* | hpux11*)
16555 # Give a soname corresponding to the major version so that dld.sl refuses to
16556 # link against other versions.
16560 case "$host_cpu" in
16563 hardcode_into_libs=yes
16564 dynamic_linker="$host_os dld.so"
16565 shlibpath_var=LD_LIBRARY_PATH
16566 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16567 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16568 soname_spec='${libname}${release}${shared_ext}$major'
16569 if test "X$HPUX_IA64_MODE" = X32; then
16570 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16572 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16574 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16578 hardcode_into_libs=yes
16579 dynamic_linker="$host_os dld.sl"
16580 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16581 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16582 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16583 soname_spec='${libname}${release}${shared_ext}$major'
16584 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16585 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16589 dynamic_linker="$host_os dld.sl"
16590 shlibpath_var=SHLIB_PATH
16591 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16592 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16593 soname_spec='${libname}${release}${shared_ext}$major'
16596 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16597 postinstall_cmds='chmod 555 $lib'
16600 irix5* | irix6* | nonstopux*)
16602 nonstopux*) version_type=nonstopux ;;
16604 if test "$lt_cv_prog_gnu_ld" = yes; then
16612 soname_spec='${libname}${release}${shared_ext}$major'
16613 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16615 irix5* | nonstopux*)
16616 libsuff= shlibsuff=
16619 case $LD in # libtool.m4 will add one of these switches to LD
16620 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16621 libsuff= shlibsuff= libmagic=32-bit;;
16622 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16623 libsuff=32 shlibsuff=N32 libmagic=N32;;
16624 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16625 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16626 *) libsuff= shlibsuff= libmagic=never-match;;
16630 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16631 shlibpath_overrides_runpath=no
16632 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16633 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16634 hardcode_into_libs=yes
16637 # No shared lib support for Linux oldld, aout, or coff.
16638 linux*oldld* | linux*aout* | linux*coff*)
16642 # This must be Linux ELF.
16647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16648 soname_spec='${libname}${release}${shared_ext}$major'
16649 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16650 shlibpath_var=LD_LIBRARY_PATH
16651 shlibpath_overrides_runpath=no
16652 # This implies no fast_install, which is unacceptable.
16653 # Some rework will be needed to allow for fast_install
16654 # before this can be enabled.
16655 hardcode_into_libs=yes
16657 # We used to test for /lib/ld.so.1 and disable shared libraries on
16658 # powerpc, because MkLinux only supported shared libraries with the
16659 # GNU dynamic linker. Since this was broken with cross compilers,
16660 # most powerpc-linux boxes support dynamic linking these days and
16661 # people can always --disable-shared, the test was removed, and we
16662 # assume the GNU/Linux dynamic linker is in use.
16663 dynamic_linker='GNU/Linux ld.so'
16670 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16672 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16673 dynamic_linker='NetBSD (a.out) ld.so'
16675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16676 soname_spec='${libname}${release}${shared_ext}$major'
16677 dynamic_linker='NetBSD ld.elf_so'
16679 shlibpath_var=LD_LIBRARY_PATH
16680 shlibpath_overrides_runpath=yes
16681 hardcode_into_libs=yes
16686 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16687 shlibpath_var=LD_LIBRARY_PATH
16688 shlibpath_overrides_runpath=yes
16695 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16696 soname_spec='${libname}${release}${shared_ext}$major'
16697 shlibpath_var=LD_LIBRARY_PATH
16698 shlibpath_overrides_runpath=yes
16705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16706 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16707 shlibpath_var=LD_LIBRARY_PATH
16708 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16710 openbsd2.[89] | openbsd2.[89].*)
16711 shlibpath_overrides_runpath=no
16714 shlibpath_overrides_runpath=yes
16718 shlibpath_overrides_runpath=yes
16723 libname_spec='$name'
16726 library_names_spec='$libname${shared_ext} $libname.a'
16727 dynamic_linker='OS/2 ld.exe'
16728 shlibpath_var=LIBPATH
16731 osf3* | osf4* | osf5*)
16735 soname_spec='${libname}${release}${shared_ext}$major'
16736 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16737 shlibpath_var=LD_LIBRARY_PATH
16738 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16739 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16744 soname_spec='${libname}${release}${shared_ext}$major'
16745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16746 shlibpath_var=LD_LIBRARY_PATH
16753 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16754 soname_spec='${libname}${release}${shared_ext}$major'
16755 shlibpath_var=LD_LIBRARY_PATH
16756 shlibpath_overrides_runpath=yes
16757 hardcode_into_libs=yes
16758 # ldd complains unless libraries are executable
16759 postinstall_cmds='chmod +x $lib'
16764 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16765 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16766 shlibpath_var=LD_LIBRARY_PATH
16767 shlibpath_overrides_runpath=yes
16768 if test "$with_gnu_ld" = yes; then
16774 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16776 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16777 soname_spec='${libname}${release}${shared_ext}$major'
16778 shlibpath_var=LD_LIBRARY_PATH
16779 case $host_vendor in
16781 shlibpath_overrides_runpath=no
16783 export_dynamic_flag_spec='${wl}-Blargedynsym'
16784 runpath_var=LD_RUN_PATH
16792 shlibpath_overrides_runpath=no
16793 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16799 if test -d /usr/nec ;then
16801 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16802 soname_spec='$libname${shared_ext}.$major'
16803 shlibpath_var=LD_LIBRARY_PATH
16809 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16810 soname_spec='${libname}${release}${shared_ext}$major'
16811 shlibpath_var=LD_LIBRARY_PATH
16818 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16819 echo "${ECHO_T}$dynamic_linker" >&6
16820 test "$dynamic_linker" = no && can_build_shared=no
16822 if test "x$enable_dlopen" != xyes; then
16823 enable_dlopen=unknown
16824 enable_dlopen_self=unknown
16825 enable_dlopen_self_static=unknown
16832 lt_cv_dlopen="load_add_on"
16834 lt_cv_dlopen_self=yes
16838 lt_cv_dlopen="LoadLibrary"
16843 lt_cv_dlopen="dlopen"
16848 # if libdl is installed we need to link against it
16849 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16850 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16851 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16852 echo $ECHO_N "(cached) $ECHO_C" >&6
16854 ac_check_lib_save_LIBS=$LIBS
16856 cat >conftest.$ac_ext <<_ACEOF
16857 #line $LINENO "configure"
16860 cat confdefs.h >>conftest.$ac_ext
16861 cat >>conftest.$ac_ext <<_ACEOF
16862 /* end confdefs.h. */
16864 /* Override any gcc2 internal prototype to avoid an error. */
16868 /* We use char because int might match the return type of a gcc2
16869 builtin and then its argument prototype would still apply. */
16879 rm -f conftest.$ac_objext conftest$ac_exeext
16880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16881 (eval $ac_link) 2>&5
16883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16884 (exit $ac_status); } &&
16885 { ac_try='test -s conftest$ac_exeext'
16886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16887 (eval $ac_try) 2>&5
16889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16890 (exit $ac_status); }; }; then
16891 ac_cv_lib_dl_dlopen=yes
16893 echo "$as_me: failed program was:" >&5
16894 sed 's/^/| /' conftest.$ac_ext >&5
16896 ac_cv_lib_dl_dlopen=no
16898 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16899 LIBS=$ac_check_lib_save_LIBS
16901 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16902 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16903 if test $ac_cv_lib_dl_dlopen = yes; then
16904 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16907 lt_cv_dlopen="dyld"
16909 lt_cv_dlopen_self=yes
16916 echo "$as_me:$LINENO: checking for shl_load" >&5
16917 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
16918 if test "${ac_cv_func_shl_load+set}" = set; then
16919 echo $ECHO_N "(cached) $ECHO_C" >&6
16921 cat >conftest.$ac_ext <<_ACEOF
16922 #line $LINENO "configure"
16925 cat confdefs.h >>conftest.$ac_ext
16926 cat >>conftest.$ac_ext <<_ACEOF
16927 /* end confdefs.h. */
16928 /* System header to define __stub macros and hopefully few prototypes,
16929 which can conflict with char shl_load (); below.
16930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16931 <limits.h> exists even on freestanding compilers. */
16933 # include <limits.h>
16935 # include <assert.h>
16937 /* Override any gcc2 internal prototype to avoid an error. */
16942 /* We use char because int might match the return type of a gcc2
16943 builtin and then its argument prototype would still apply. */
16945 /* The GNU C library defines this for functions which it implements
16946 to always fail with ENOSYS. Some functions are actually named
16947 something starting with __ and the normal name is an alias. */
16948 #if defined (__stub_shl_load) || defined (__stub___shl_load)
16951 char (*f) () = shl_load;
16960 return f != shl_load;
16965 rm -f conftest.$ac_objext conftest$ac_exeext
16966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16967 (eval $ac_link) 2>&5
16969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16970 (exit $ac_status); } &&
16971 { ac_try='test -s conftest$ac_exeext'
16972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16973 (eval $ac_try) 2>&5
16975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16976 (exit $ac_status); }; }; then
16977 ac_cv_func_shl_load=yes
16979 echo "$as_me: failed program was:" >&5
16980 sed 's/^/| /' conftest.$ac_ext >&5
16982 ac_cv_func_shl_load=no
16984 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16986 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
16987 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
16988 if test $ac_cv_func_shl_load = yes; then
16989 lt_cv_dlopen="shl_load"
16991 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
16992 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
16993 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
16994 echo $ECHO_N "(cached) $ECHO_C" >&6
16996 ac_check_lib_save_LIBS=$LIBS
16998 cat >conftest.$ac_ext <<_ACEOF
16999 #line $LINENO "configure"
17002 cat confdefs.h >>conftest.$ac_ext
17003 cat >>conftest.$ac_ext <<_ACEOF
17004 /* end confdefs.h. */
17006 /* Override any gcc2 internal prototype to avoid an error. */
17010 /* We use char because int might match the return type of a gcc2
17011 builtin and then its argument prototype would still apply. */
17021 rm -f conftest.$ac_objext conftest$ac_exeext
17022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17023 (eval $ac_link) 2>&5
17025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); } &&
17027 { ac_try='test -s conftest$ac_exeext'
17028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17029 (eval $ac_try) 2>&5
17031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17032 (exit $ac_status); }; }; then
17033 ac_cv_lib_dld_shl_load=yes
17035 echo "$as_me: failed program was:" >&5
17036 sed 's/^/| /' conftest.$ac_ext >&5
17038 ac_cv_lib_dld_shl_load=no
17040 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17041 LIBS=$ac_check_lib_save_LIBS
17043 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17044 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17045 if test $ac_cv_lib_dld_shl_load = yes; then
17046 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17048 echo "$as_me:$LINENO: checking for dlopen" >&5
17049 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17050 if test "${ac_cv_func_dlopen+set}" = set; then
17051 echo $ECHO_N "(cached) $ECHO_C" >&6
17053 cat >conftest.$ac_ext <<_ACEOF
17054 #line $LINENO "configure"
17057 cat confdefs.h >>conftest.$ac_ext
17058 cat >>conftest.$ac_ext <<_ACEOF
17059 /* end confdefs.h. */
17060 /* System header to define __stub macros and hopefully few prototypes,
17061 which can conflict with char dlopen (); below.
17062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17063 <limits.h> exists even on freestanding compilers. */
17065 # include <limits.h>
17067 # include <assert.h>
17069 /* Override any gcc2 internal prototype to avoid an error. */
17074 /* We use char because int might match the return type of a gcc2
17075 builtin and then its argument prototype would still apply. */
17077 /* The GNU C library defines this for functions which it implements
17078 to always fail with ENOSYS. Some functions are actually named
17079 something starting with __ and the normal name is an alias. */
17080 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17083 char (*f) () = dlopen;
17092 return f != dlopen;
17097 rm -f conftest.$ac_objext conftest$ac_exeext
17098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17099 (eval $ac_link) 2>&5
17101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17102 (exit $ac_status); } &&
17103 { ac_try='test -s conftest$ac_exeext'
17104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17105 (eval $ac_try) 2>&5
17107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17108 (exit $ac_status); }; }; then
17109 ac_cv_func_dlopen=yes
17111 echo "$as_me: failed program was:" >&5
17112 sed 's/^/| /' conftest.$ac_ext >&5
17114 ac_cv_func_dlopen=no
17116 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17118 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17119 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17120 if test $ac_cv_func_dlopen = yes; then
17121 lt_cv_dlopen="dlopen"
17123 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17124 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17125 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17126 echo $ECHO_N "(cached) $ECHO_C" >&6
17128 ac_check_lib_save_LIBS=$LIBS
17130 cat >conftest.$ac_ext <<_ACEOF
17131 #line $LINENO "configure"
17134 cat confdefs.h >>conftest.$ac_ext
17135 cat >>conftest.$ac_ext <<_ACEOF
17136 /* end confdefs.h. */
17138 /* Override any gcc2 internal prototype to avoid an error. */
17142 /* We use char because int might match the return type of a gcc2
17143 builtin and then its argument prototype would still apply. */
17153 rm -f conftest.$ac_objext conftest$ac_exeext
17154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17155 (eval $ac_link) 2>&5
17157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17158 (exit $ac_status); } &&
17159 { ac_try='test -s conftest$ac_exeext'
17160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17161 (eval $ac_try) 2>&5
17163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17164 (exit $ac_status); }; }; then
17165 ac_cv_lib_dl_dlopen=yes
17167 echo "$as_me: failed program was:" >&5
17168 sed 's/^/| /' conftest.$ac_ext >&5
17170 ac_cv_lib_dl_dlopen=no
17172 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17173 LIBS=$ac_check_lib_save_LIBS
17175 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17176 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17177 if test $ac_cv_lib_dl_dlopen = yes; then
17178 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17180 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17181 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17182 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17183 echo $ECHO_N "(cached) $ECHO_C" >&6
17185 ac_check_lib_save_LIBS=$LIBS
17186 LIBS="-lsvld $LIBS"
17187 cat >conftest.$ac_ext <<_ACEOF
17188 #line $LINENO "configure"
17191 cat confdefs.h >>conftest.$ac_ext
17192 cat >>conftest.$ac_ext <<_ACEOF
17193 /* end confdefs.h. */
17195 /* Override any gcc2 internal prototype to avoid an error. */
17199 /* We use char because int might match the return type of a gcc2
17200 builtin and then its argument prototype would still apply. */
17210 rm -f conftest.$ac_objext conftest$ac_exeext
17211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17212 (eval $ac_link) 2>&5
17214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17215 (exit $ac_status); } &&
17216 { ac_try='test -s conftest$ac_exeext'
17217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17218 (eval $ac_try) 2>&5
17220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17221 (exit $ac_status); }; }; then
17222 ac_cv_lib_svld_dlopen=yes
17224 echo "$as_me: failed program was:" >&5
17225 sed 's/^/| /' conftest.$ac_ext >&5
17227 ac_cv_lib_svld_dlopen=no
17229 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17230 LIBS=$ac_check_lib_save_LIBS
17232 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17233 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17234 if test $ac_cv_lib_svld_dlopen = yes; then
17235 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17237 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17238 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17239 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17240 echo $ECHO_N "(cached) $ECHO_C" >&6
17242 ac_check_lib_save_LIBS=$LIBS
17244 cat >conftest.$ac_ext <<_ACEOF
17245 #line $LINENO "configure"
17248 cat confdefs.h >>conftest.$ac_ext
17249 cat >>conftest.$ac_ext <<_ACEOF
17250 /* end confdefs.h. */
17252 /* Override any gcc2 internal prototype to avoid an error. */
17256 /* We use char because int might match the return type of a gcc2
17257 builtin and then its argument prototype would still apply. */
17267 rm -f conftest.$ac_objext conftest$ac_exeext
17268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17269 (eval $ac_link) 2>&5
17271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17272 (exit $ac_status); } &&
17273 { ac_try='test -s conftest$ac_exeext'
17274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17275 (eval $ac_try) 2>&5
17277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17278 (exit $ac_status); }; }; then
17279 ac_cv_lib_dld_dld_link=yes
17281 echo "$as_me: failed program was:" >&5
17282 sed 's/^/| /' conftest.$ac_ext >&5
17284 ac_cv_lib_dld_dld_link=no
17286 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17287 LIBS=$ac_check_lib_save_LIBS
17289 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17290 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17291 if test $ac_cv_lib_dld_dld_link = yes; then
17292 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17313 if test "x$lt_cv_dlopen" != xno; then
17319 case $lt_cv_dlopen in
17321 save_CPPFLAGS="$CPPFLAGS"
17322 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17324 save_LDFLAGS="$LDFLAGS"
17325 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17328 LIBS="$lt_cv_dlopen_libs $LIBS"
17330 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17331 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17332 if test "${lt_cv_dlopen_self+set}" = set; then
17333 echo $ECHO_N "(cached) $ECHO_C" >&6
17335 if test "$cross_compiling" = yes; then :
17336 lt_cv_dlopen_self=cross
17338 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17339 lt_status=$lt_dlunknown
17340 cat > conftest.$ac_ext <<EOF
17341 #line 17341 "configure"
17342 #include "confdefs.h"
17351 # define LT_DLGLOBAL RTLD_GLOBAL
17354 # define LT_DLGLOBAL DL_GLOBAL
17356 # define LT_DLGLOBAL 0
17360 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17361 find out it does not work in some platform. */
17362 #ifndef LT_DLLAZY_OR_NOW
17364 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17367 # define LT_DLLAZY_OR_NOW DL_LAZY
17370 # define LT_DLLAZY_OR_NOW RTLD_NOW
17373 # define LT_DLLAZY_OR_NOW DL_NOW
17375 # define LT_DLLAZY_OR_NOW 0
17383 extern "C" void exit (int);
17386 void fnord() { int i=42;}
17389 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17390 int status = $lt_dlunknown;
17394 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17395 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17396 /* dlclose (self); */
17402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17403 (eval $ac_link) 2>&5
17405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17407 (./conftest; exit; ) 2>/dev/null
17409 case x$lt_status in
17410 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17411 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17412 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
17415 # compilation failed
17416 lt_cv_dlopen_self=no
17423 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17424 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17426 if test "x$lt_cv_dlopen_self" = xyes; then
17427 LDFLAGS="$LDFLAGS $link_static_flag"
17428 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17429 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17430 if test "${lt_cv_dlopen_self_static+set}" = set; then
17431 echo $ECHO_N "(cached) $ECHO_C" >&6
17433 if test "$cross_compiling" = yes; then :
17434 lt_cv_dlopen_self_static=cross
17436 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17437 lt_status=$lt_dlunknown
17438 cat > conftest.$ac_ext <<EOF
17439 #line 17439 "configure"
17440 #include "confdefs.h"
17449 # define LT_DLGLOBAL RTLD_GLOBAL
17452 # define LT_DLGLOBAL DL_GLOBAL
17454 # define LT_DLGLOBAL 0
17458 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17459 find out it does not work in some platform. */
17460 #ifndef LT_DLLAZY_OR_NOW
17462 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17465 # define LT_DLLAZY_OR_NOW DL_LAZY
17468 # define LT_DLLAZY_OR_NOW RTLD_NOW
17471 # define LT_DLLAZY_OR_NOW DL_NOW
17473 # define LT_DLLAZY_OR_NOW 0
17481 extern "C" void exit (int);
17484 void fnord() { int i=42;}
17487 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17488 int status = $lt_dlunknown;
17492 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17493 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17494 /* dlclose (self); */
17500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17501 (eval $ac_link) 2>&5
17503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17504 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17505 (./conftest; exit; ) 2>/dev/null
17507 case x$lt_status in
17508 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17509 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17510 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
17513 # compilation failed
17514 lt_cv_dlopen_self_static=no
17521 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17522 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17525 CPPFLAGS="$save_CPPFLAGS"
17526 LDFLAGS="$save_LDFLAGS"
17531 case $lt_cv_dlopen_self in
17532 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17533 *) enable_dlopen_self=unknown ;;
17536 case $lt_cv_dlopen_self_static in
17537 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17538 *) enable_dlopen_self_static=unknown ;;
17543 # The else clause should only fire when bootstrapping the
17544 # libtool distribution, otherwise you forgot to ship ltmain.sh
17545 # with your package, and you will get complaints that there are
17546 # no rules to generate ltmain.sh.
17547 if test -f "$ltmain"; then
17548 # See if we are running on zsh, and set the options which allow our commands through
17549 # without removal of \ escapes.
17550 if test -n "${ZSH_VERSION+set}" ; then
17551 setopt NO_GLOB_SUBST
17553 # Now quote all the things that may contain metacharacters while being
17554 # careful not to overquote the AC_SUBSTed values. We take copies of the
17555 # variables and quote the copies for generation of the libtool script.
17556 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17557 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17558 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17559 deplibs_check_method reload_flag reload_cmds need_locks \
17560 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17561 lt_cv_sys_global_symbol_to_c_name_address \
17562 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17563 old_postinstall_cmds old_postuninstall_cmds \
17567 lt_prog_compiler_wl_GCJ \
17568 lt_prog_compiler_pic_GCJ \
17569 lt_prog_compiler_static_GCJ \
17570 lt_prog_compiler_no_builtin_flag_GCJ \
17571 export_dynamic_flag_spec_GCJ \
17572 thread_safe_flag_spec_GCJ \
17573 whole_archive_flag_spec_GCJ \
17574 enable_shared_with_static_runtimes_GCJ \
17575 old_archive_cmds_GCJ \
17576 old_archive_from_new_cmds_GCJ \
17577 predep_objects_GCJ \
17578 postdep_objects_GCJ \
17581 compiler_lib_search_path_GCJ \
17583 archive_expsym_cmds_GCJ \
17584 postinstall_cmds_GCJ \
17585 postuninstall_cmds_GCJ \
17586 old_archive_from_expsyms_cmds_GCJ \
17587 allow_undefined_flag_GCJ \
17588 no_undefined_flag_GCJ \
17589 export_symbols_cmds_GCJ \
17590 hardcode_libdir_flag_spec_GCJ \
17591 hardcode_libdir_flag_spec_ld_GCJ \
17592 hardcode_libdir_separator_GCJ \
17593 hardcode_automatic_GCJ \
17595 module_expsym_cmds_GCJ \
17596 lt_cv_prog_compiler_c_o_GCJ \
17597 exclude_expsyms_GCJ \
17598 include_expsyms_GCJ; do
17601 old_archive_cmds_GCJ | \
17602 old_archive_from_new_cmds_GCJ | \
17603 archive_cmds_GCJ | \
17604 archive_expsym_cmds_GCJ | \
17605 module_cmds_GCJ | \
17606 module_expsym_cmds_GCJ | \
17607 old_archive_from_expsyms_cmds_GCJ | \
17608 export_symbols_cmds_GCJ | \
17609 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17610 postinstall_cmds | postuninstall_cmds | \
17611 old_postinstall_cmds | old_postuninstall_cmds | \
17612 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17613 # Double-quote double-evaled strings.
17614 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17617 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17623 *'\$0 --fallback-echo"')
17624 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17630 cat <<__EOF__ >> "$cfgfile"
17631 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17633 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17635 # Shell to use when invoking shell scripts.
17638 # Whether or not to build shared libraries.
17639 build_libtool_libs=$enable_shared
17641 # Whether or not to build static libraries.
17642 build_old_libs=$enable_static
17644 # Whether or not to add -lc for building shared libraries.
17645 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17647 # Whether or not to disallow shared libs when runtime libs are static
17648 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17650 # Whether or not to optimize for fast installation.
17651 fast_install=$enable_fast_install
17654 host_alias=$host_alias
17657 # An echo program that does not interpret backslashes.
17662 AR_FLAGS=$lt_AR_FLAGS
17667 # A language-specific compiler.
17668 CC=$lt_compiler_GCJ
17670 # Is the compiler the GNU C compiler?
17676 # The linker used to build libraries.
17679 # Whether we need hard or soft links.
17682 # A BSD-compatible nm program.
17685 # A symbol stripping program
17688 # Used to examine libraries when file_magic_cmd begins "file"
17689 MAGIC_CMD=$MAGIC_CMD
17691 # Used on cygwin: DLL creation program.
17694 # Used on cygwin: object dumper.
17697 # Used on cygwin: assembler.
17700 # The name of the directory that contains temporary libtool files.
17703 # How to create reloadable object files.
17704 reload_flag=$lt_reload_flag
17705 reload_cmds=$lt_reload_cmds
17707 # How to pass a linker flag through the compiler.
17708 wl=$lt_lt_prog_compiler_wl_GCJ
17710 # Object file suffix (normally "o").
17711 objext="$ac_objext"
17713 # Old archive suffix (normally "a").
17716 # Shared library suffix (normally ".so").
17719 # Executable file suffix (normally "").
17722 # Additional compiler flags for building library objects.
17723 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17726 # What is the maximum length of a command?
17727 max_cmd_len=$lt_cv_sys_max_cmd_len
17729 # Does compiler simultaneously support -c and -o options?
17730 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17732 # Must we lock files when doing compilation ?
17733 need_locks=$lt_need_locks
17735 # Do we need the lib prefix for modules?
17736 need_lib_prefix=$need_lib_prefix
17738 # Do we need a version for libraries?
17739 need_version=$need_version
17741 # Whether dlopen is supported.
17742 dlopen_support=$enable_dlopen
17744 # Whether dlopen of programs is supported.
17745 dlopen_self=$enable_dlopen_self
17747 # Whether dlopen of statically linked programs is supported.
17748 dlopen_self_static=$enable_dlopen_self_static
17750 # Compiler flag to prevent dynamic linking.
17751 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17753 # Compiler flag to turn off builtin functions.
17754 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17756 # Compiler flag to allow reflexive dlopens.
17757 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17759 # Compiler flag to generate shared objects directly from archives.
17760 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17762 # Compiler flag to generate thread-safe objects.
17763 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17765 # Library versioning type.
17766 version_type=$version_type
17768 # Format of library name prefix.
17769 libname_spec=$lt_libname_spec
17771 # List of archive names. First name is the real one, the rest are links.
17772 # The last name is the one that the linker finds with -lNAME.
17773 library_names_spec=$lt_library_names_spec
17775 # The coded name of the library, if different from the real name.
17776 soname_spec=$lt_soname_spec
17778 # Commands used to build and install an old-style archive.
17780 old_archive_cmds=$lt_old_archive_cmds_GCJ
17781 old_postinstall_cmds=$lt_old_postinstall_cmds
17782 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17784 # Create an old-style archive from a shared archive.
17785 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17787 # Create a temporary old-style archive to link instead of a shared archive.
17788 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17790 # Commands used to build and install a shared archive.
17791 archive_cmds=$lt_archive_cmds_GCJ
17792 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17793 postinstall_cmds=$lt_postinstall_cmds
17794 postuninstall_cmds=$lt_postuninstall_cmds
17796 # Commands used to build a loadable module (assumed same as above if empty)
17797 module_cmds=$lt_module_cmds_GCJ
17798 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17800 # Commands to strip libraries.
17801 old_striplib=$lt_old_striplib
17802 striplib=$lt_striplib
17804 # Dependencies to place before the objects being linked to create a
17806 predep_objects=$lt_predep_objects_GCJ
17808 # Dependencies to place after the objects being linked to create a
17810 postdep_objects=$lt_postdep_objects_GCJ
17812 # Dependencies to place before the objects being linked to create a
17814 predeps=$lt_predeps_GCJ
17816 # Dependencies to place after the objects being linked to create a
17818 postdeps=$lt_postdeps_GCJ
17820 # The library search path used internally by the compiler when linking
17821 # a shared library.
17822 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17824 # Method to check whether dependent libraries are shared objects.
17825 deplibs_check_method=$lt_deplibs_check_method
17827 # Command to use when deplibs_check_method == file_magic.
17828 file_magic_cmd=$lt_file_magic_cmd
17830 # Flag that allows shared libraries with undefined symbols to be built.
17831 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17833 # Flag that forces no undefined symbols.
17834 no_undefined_flag=$lt_no_undefined_flag_GCJ
17836 # Commands used to finish a libtool library installation in a directory.
17837 finish_cmds=$lt_finish_cmds
17839 # Same as above, but a single script fragment to be evaled but not shown.
17840 finish_eval=$lt_finish_eval
17842 # Take the output of nm and produce a listing of raw symbols and C names.
17843 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17845 # Transform the output of nm in a proper C declaration
17846 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17848 # Transform the output of nm in a C name address pair
17849 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17851 # This is the shared library runtime path variable.
17852 runpath_var=$runpath_var
17854 # This is the shared library path variable.
17855 shlibpath_var=$shlibpath_var
17857 # Is shlibpath searched before the hard-coded library search path?
17858 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17860 # How to hardcode a shared library path into an executable.
17861 hardcode_action=$hardcode_action_GCJ
17863 # Whether we should hardcode library paths into libraries.
17864 hardcode_into_libs=$hardcode_into_libs
17866 # Flag to hardcode \$libdir into a binary during linking.
17867 # This must work even if \$libdir does not exist.
17868 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17870 # If ld is used when linking, flag to hardcode \$libdir into
17871 # a binary during linking. This must work even if \$libdir does
17873 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17875 # Whether we need a single -rpath flag with a separated argument.
17876 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17878 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17879 # resulting binary.
17880 hardcode_direct=$hardcode_direct_GCJ
17882 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17883 # resulting binary.
17884 hardcode_minus_L=$hardcode_minus_L_GCJ
17886 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17887 # the resulting binary.
17888 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17890 # Set to yes if building a shared library automatically hardcodes DIR into the library
17891 # and all subsequent libraries and executables linked against it.
17892 hardcode_automatic=$hardcode_automatic_GCJ
17894 # Variables whose values should be saved in libtool wrapper scripts and
17895 # restored at relink time.
17896 variables_saved_for_relink="$variables_saved_for_relink"
17898 # Whether libtool must link a program against all its dependency libraries.
17899 link_all_deplibs=$link_all_deplibs_GCJ
17901 # Compile-time system search path for libraries
17902 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17904 # Run-time system search path for libraries
17905 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17907 # Fix the shell variable \$srcfile for the compiler.
17908 fix_srcfile_path="$fix_srcfile_path_GCJ"
17910 # Set to yes if exported symbols are required.
17911 always_export_symbols=$always_export_symbols_GCJ
17913 # The commands to list exported symbols.
17914 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17916 # The commands to extract the exported symbol list from a shared archive.
17917 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17919 # Symbols that should not be listed in the preloaded symbols.
17920 exclude_expsyms=$lt_exclude_expsyms_GCJ
17922 # Symbols that must always be exported.
17923 include_expsyms=$lt_include_expsyms_GCJ
17925 # ### END LIBTOOL TAG CONFIG: $tagname
17931 # If there is no Makefile yet, we rely on a make rule to execute
17932 # `config.status --recheck' to rerun these tests and create the
17933 # libtool script then.
17934 test -f Makefile && make "$ltmain"
17939 ac_cpp='$CPP $CPPFLAGS'
17940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17955 # Source file extension for RC test sources.
17958 # Object file extension for compiled RC test sources.
17962 # Code to be used in simple compile tests
17963 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
17965 # Code to be used in simple link tests
17966 lt_simple_link_test_code="$lt_simple_compile_test_code"
17968 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
17970 # If no C compiler was specified, use CC.
17973 # Allow CC to be a program name with arguments.
17977 # Allow CC to be a program name with arguments.
17982 lt_cv_prog_compiler_c_o_RC=yes
17984 # The else clause should only fire when bootstrapping the
17985 # libtool distribution, otherwise you forgot to ship ltmain.sh
17986 # with your package, and you will get complaints that there are
17987 # no rules to generate ltmain.sh.
17988 if test -f "$ltmain"; then
17989 # See if we are running on zsh, and set the options which allow our commands through
17990 # without removal of \ escapes.
17991 if test -n "${ZSH_VERSION+set}" ; then
17992 setopt NO_GLOB_SUBST
17994 # Now quote all the things that may contain metacharacters while being
17995 # careful not to overquote the AC_SUBSTed values. We take copies of the
17996 # variables and quote the copies for generation of the libtool script.
17997 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17998 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17999 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18000 deplibs_check_method reload_flag reload_cmds need_locks \
18001 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18002 lt_cv_sys_global_symbol_to_c_name_address \
18003 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18004 old_postinstall_cmds old_postuninstall_cmds \
18008 lt_prog_compiler_wl_RC \
18009 lt_prog_compiler_pic_RC \
18010 lt_prog_compiler_static_RC \
18011 lt_prog_compiler_no_builtin_flag_RC \
18012 export_dynamic_flag_spec_RC \
18013 thread_safe_flag_spec_RC \
18014 whole_archive_flag_spec_RC \
18015 enable_shared_with_static_runtimes_RC \
18016 old_archive_cmds_RC \
18017 old_archive_from_new_cmds_RC \
18018 predep_objects_RC \
18019 postdep_objects_RC \
18022 compiler_lib_search_path_RC \
18024 archive_expsym_cmds_RC \
18025 postinstall_cmds_RC \
18026 postuninstall_cmds_RC \
18027 old_archive_from_expsyms_cmds_RC \
18028 allow_undefined_flag_RC \
18029 no_undefined_flag_RC \
18030 export_symbols_cmds_RC \
18031 hardcode_libdir_flag_spec_RC \
18032 hardcode_libdir_flag_spec_ld_RC \
18033 hardcode_libdir_separator_RC \
18034 hardcode_automatic_RC \
18036 module_expsym_cmds_RC \
18037 lt_cv_prog_compiler_c_o_RC \
18038 exclude_expsyms_RC \
18039 include_expsyms_RC; do
18042 old_archive_cmds_RC | \
18043 old_archive_from_new_cmds_RC | \
18044 archive_cmds_RC | \
18045 archive_expsym_cmds_RC | \
18047 module_expsym_cmds_RC | \
18048 old_archive_from_expsyms_cmds_RC | \
18049 export_symbols_cmds_RC | \
18050 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18051 postinstall_cmds | postuninstall_cmds | \
18052 old_postinstall_cmds | old_postuninstall_cmds | \
18053 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18054 # Double-quote double-evaled strings.
18055 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18058 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18064 *'\$0 --fallback-echo"')
18065 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18071 cat <<__EOF__ >> "$cfgfile"
18072 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18074 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18076 # Shell to use when invoking shell scripts.
18079 # Whether or not to build shared libraries.
18080 build_libtool_libs=$enable_shared
18082 # Whether or not to build static libraries.
18083 build_old_libs=$enable_static
18085 # Whether or not to add -lc for building shared libraries.
18086 build_libtool_need_lc=$archive_cmds_need_lc_RC
18088 # Whether or not to disallow shared libs when runtime libs are static
18089 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18091 # Whether or not to optimize for fast installation.
18092 fast_install=$enable_fast_install
18095 host_alias=$host_alias
18098 # An echo program that does not interpret backslashes.
18103 AR_FLAGS=$lt_AR_FLAGS
18108 # A language-specific compiler.
18111 # Is the compiler the GNU C compiler?
18117 # The linker used to build libraries.
18120 # Whether we need hard or soft links.
18123 # A BSD-compatible nm program.
18126 # A symbol stripping program
18129 # Used to examine libraries when file_magic_cmd begins "file"
18130 MAGIC_CMD=$MAGIC_CMD
18132 # Used on cygwin: DLL creation program.
18135 # Used on cygwin: object dumper.
18138 # Used on cygwin: assembler.
18141 # The name of the directory that contains temporary libtool files.
18144 # How to create reloadable object files.
18145 reload_flag=$lt_reload_flag
18146 reload_cmds=$lt_reload_cmds
18148 # How to pass a linker flag through the compiler.
18149 wl=$lt_lt_prog_compiler_wl_RC
18151 # Object file suffix (normally "o").
18152 objext="$ac_objext"
18154 # Old archive suffix (normally "a").
18157 # Shared library suffix (normally ".so").
18160 # Executable file suffix (normally "").
18163 # Additional compiler flags for building library objects.
18164 pic_flag=$lt_lt_prog_compiler_pic_RC
18167 # What is the maximum length of a command?
18168 max_cmd_len=$lt_cv_sys_max_cmd_len
18170 # Does compiler simultaneously support -c and -o options?
18171 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18173 # Must we lock files when doing compilation ?
18174 need_locks=$lt_need_locks
18176 # Do we need the lib prefix for modules?
18177 need_lib_prefix=$need_lib_prefix
18179 # Do we need a version for libraries?
18180 need_version=$need_version
18182 # Whether dlopen is supported.
18183 dlopen_support=$enable_dlopen
18185 # Whether dlopen of programs is supported.
18186 dlopen_self=$enable_dlopen_self
18188 # Whether dlopen of statically linked programs is supported.
18189 dlopen_self_static=$enable_dlopen_self_static
18191 # Compiler flag to prevent dynamic linking.
18192 link_static_flag=$lt_lt_prog_compiler_static_RC
18194 # Compiler flag to turn off builtin functions.
18195 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18197 # Compiler flag to allow reflexive dlopens.
18198 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18200 # Compiler flag to generate shared objects directly from archives.
18201 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18203 # Compiler flag to generate thread-safe objects.
18204 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18206 # Library versioning type.
18207 version_type=$version_type
18209 # Format of library name prefix.
18210 libname_spec=$lt_libname_spec
18212 # List of archive names. First name is the real one, the rest are links.
18213 # The last name is the one that the linker finds with -lNAME.
18214 library_names_spec=$lt_library_names_spec
18216 # The coded name of the library, if different from the real name.
18217 soname_spec=$lt_soname_spec
18219 # Commands used to build and install an old-style archive.
18221 old_archive_cmds=$lt_old_archive_cmds_RC
18222 old_postinstall_cmds=$lt_old_postinstall_cmds
18223 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18225 # Create an old-style archive from a shared archive.
18226 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18228 # Create a temporary old-style archive to link instead of a shared archive.
18229 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18231 # Commands used to build and install a shared archive.
18232 archive_cmds=$lt_archive_cmds_RC
18233 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18234 postinstall_cmds=$lt_postinstall_cmds
18235 postuninstall_cmds=$lt_postuninstall_cmds
18237 # Commands used to build a loadable module (assumed same as above if empty)
18238 module_cmds=$lt_module_cmds_RC
18239 module_expsym_cmds=$lt_module_expsym_cmds_RC
18241 # Commands to strip libraries.
18242 old_striplib=$lt_old_striplib
18243 striplib=$lt_striplib
18245 # Dependencies to place before the objects being linked to create a
18247 predep_objects=$lt_predep_objects_RC
18249 # Dependencies to place after the objects being linked to create a
18251 postdep_objects=$lt_postdep_objects_RC
18253 # Dependencies to place before the objects being linked to create a
18255 predeps=$lt_predeps_RC
18257 # Dependencies to place after the objects being linked to create a
18259 postdeps=$lt_postdeps_RC
18261 # The library search path used internally by the compiler when linking
18262 # a shared library.
18263 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18265 # Method to check whether dependent libraries are shared objects.
18266 deplibs_check_method=$lt_deplibs_check_method
18268 # Command to use when deplibs_check_method == file_magic.
18269 file_magic_cmd=$lt_file_magic_cmd
18271 # Flag that allows shared libraries with undefined symbols to be built.
18272 allow_undefined_flag=$lt_allow_undefined_flag_RC
18274 # Flag that forces no undefined symbols.
18275 no_undefined_flag=$lt_no_undefined_flag_RC
18277 # Commands used to finish a libtool library installation in a directory.
18278 finish_cmds=$lt_finish_cmds
18280 # Same as above, but a single script fragment to be evaled but not shown.
18281 finish_eval=$lt_finish_eval
18283 # Take the output of nm and produce a listing of raw symbols and C names.
18284 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18286 # Transform the output of nm in a proper C declaration
18287 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18289 # Transform the output of nm in a C name address pair
18290 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18292 # This is the shared library runtime path variable.
18293 runpath_var=$runpath_var
18295 # This is the shared library path variable.
18296 shlibpath_var=$shlibpath_var
18298 # Is shlibpath searched before the hard-coded library search path?
18299 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18301 # How to hardcode a shared library path into an executable.
18302 hardcode_action=$hardcode_action_RC
18304 # Whether we should hardcode library paths into libraries.
18305 hardcode_into_libs=$hardcode_into_libs
18307 # Flag to hardcode \$libdir into a binary during linking.
18308 # This must work even if \$libdir does not exist.
18309 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18311 # If ld is used when linking, flag to hardcode \$libdir into
18312 # a binary during linking. This must work even if \$libdir does
18314 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18316 # Whether we need a single -rpath flag with a separated argument.
18317 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18319 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18320 # resulting binary.
18321 hardcode_direct=$hardcode_direct_RC
18323 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18324 # resulting binary.
18325 hardcode_minus_L=$hardcode_minus_L_RC
18327 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18328 # the resulting binary.
18329 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18331 # Set to yes if building a shared library automatically hardcodes DIR into the library
18332 # and all subsequent libraries and executables linked against it.
18333 hardcode_automatic=$hardcode_automatic_RC
18335 # Variables whose values should be saved in libtool wrapper scripts and
18336 # restored at relink time.
18337 variables_saved_for_relink="$variables_saved_for_relink"
18339 # Whether libtool must link a program against all its dependency libraries.
18340 link_all_deplibs=$link_all_deplibs_RC
18342 # Compile-time system search path for libraries
18343 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18345 # Run-time system search path for libraries
18346 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18348 # Fix the shell variable \$srcfile for the compiler.
18349 fix_srcfile_path="$fix_srcfile_path_RC"
18351 # Set to yes if exported symbols are required.
18352 always_export_symbols=$always_export_symbols_RC
18354 # The commands to list exported symbols.
18355 export_symbols_cmds=$lt_export_symbols_cmds_RC
18357 # The commands to extract the exported symbol list from a shared archive.
18358 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18360 # Symbols that should not be listed in the preloaded symbols.
18361 exclude_expsyms=$lt_exclude_expsyms_RC
18363 # Symbols that must always be exported.
18364 include_expsyms=$lt_include_expsyms_RC
18366 # ### END LIBTOOL TAG CONFIG: $tagname
18372 # If there is no Makefile yet, we rely on a make rule to execute
18373 # `config.status --recheck' to rerun these tests and create the
18374 # libtool script then.
18375 test -f Makefile && make "$ltmain"
18380 ac_cpp='$CPP $CPPFLAGS'
18381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18390 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18391 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18392 { (exit 1); exit 1; }; }
18396 # Append the new tag name to the list of available tags.
18397 if test -n "$tagname" ; then
18398 available_tags="$available_tags $tagname"
18404 # Now substitute the updated list of available tags.
18405 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18406 mv "${ofile}T" "$ofile"
18410 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18411 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18412 { (exit 1); exit 1; }; }
18418 # This can be used to rebuild libtool when needed
18419 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18421 # Always use our own libtool.
18422 LIBTOOL='$(SHELL) $(top_builddir)/mklib'
18424 # Prevent multiple expansion
18446 # Extract the first word of "pwd", so it can be a program name with args.
18447 set dummy pwd; ac_word=$2
18448 echo "$as_me:$LINENO: checking for $ac_word" >&5
18449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18450 if test "${ac_cv_path_RPWD+set}" = set; then
18451 echo $ECHO_N "(cached) $ECHO_C" >&6
18455 ac_cv_path_RPWD="$RPWD" # Let the user override the test with a path.
18458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18459 for as_dir in $PATH
18462 test -z "$as_dir" && as_dir=.
18463 for ac_exec_ext in '' $ac_executable_extensions; do
18464 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18465 ac_cv_path_RPWD="$as_dir/$ac_word$ac_exec_ext"
18466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18475 RPWD=$ac_cv_path_RPWD
18477 if test -n "$RPWD"; then
18478 echo "$as_me:$LINENO: result: $RPWD" >&5
18479 echo "${ECHO_T}$RPWD" >&6
18481 echo "$as_me:$LINENO: result: no" >&5
18482 echo "${ECHO_T}no" >&6
18485 # Extract the first word of "ar", so it can be a program name with args.
18486 set dummy ar; ac_word=$2
18487 echo "$as_me:$LINENO: checking for $ac_word" >&5
18488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18489 if test "${ac_cv_path_AR+set}" = set; then
18490 echo $ECHO_N "(cached) $ECHO_C" >&6
18494 ac_cv_path_AR="$AR" # Let the user override the test with a path.
18497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18498 for as_dir in $PATH
18501 test -z "$as_dir" && as_dir=.
18502 for ac_exec_ext in '' $ac_executable_extensions; do
18503 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18504 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
18505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18516 if test -n "$AR"; then
18517 echo "$as_me:$LINENO: result: $AR" >&5
18518 echo "${ECHO_T}$AR" >&6
18520 echo "$as_me:$LINENO: result: no" >&5
18521 echo "${ECHO_T}no" >&6
18524 # Extract the first word of "sed", so it can be a program name with args.
18525 set dummy sed; ac_word=$2
18526 echo "$as_me:$LINENO: checking for $ac_word" >&5
18527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18528 if test "${ac_cv_path_SED+set}" = set; then
18529 echo $ECHO_N "(cached) $ECHO_C" >&6
18533 ac_cv_path_SED="$SED" # Let the user override the test with a path.
18536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18537 for as_dir in $PATH
18540 test -z "$as_dir" && as_dir=.
18541 for ac_exec_ext in '' $ac_executable_extensions; do
18542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18543 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
18544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18553 SED=$ac_cv_path_SED
18555 if test -n "$SED"; then
18556 echo "$as_me:$LINENO: result: $SED" >&5
18557 echo "${ECHO_T}$SED" >&6
18559 echo "$as_me:$LINENO: result: no" >&5
18560 echo "${ECHO_T}no" >&6
18563 # Extract the first word of "rm", so it can be a program name with args.
18564 set dummy rm; ac_word=$2
18565 echo "$as_me:$LINENO: checking for $ac_word" >&5
18566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18567 if test "${ac_cv_path_RM+set}" = set; then
18568 echo $ECHO_N "(cached) $ECHO_C" >&6
18572 ac_cv_path_RM="$RM" # Let the user override the test with a path.
18575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18576 for as_dir in $PATH
18579 test -z "$as_dir" && as_dir=.
18580 for ac_exec_ext in '' $ac_executable_extensions; do
18581 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18582 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
18583 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18594 if test -n "$RM"; then
18595 echo "$as_me:$LINENO: result: $RM" >&5
18596 echo "${ECHO_T}$RM" >&6
18598 echo "$as_me:$LINENO: result: no" >&5
18599 echo "${ECHO_T}no" >&6
18602 # Extract the first word of "echo", so it can be a program name with args.
18603 set dummy echo; ac_word=$2
18604 echo "$as_me:$LINENO: checking for $ac_word" >&5
18605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18606 if test "${ac_cv_path_ECHO+set}" = set; then
18607 echo $ECHO_N "(cached) $ECHO_C" >&6
18611 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
18614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18615 for as_dir in $PATH
18618 test -z "$as_dir" && as_dir=.
18619 for ac_exec_ext in '' $ac_executable_extensions; do
18620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18621 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
18622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18631 ECHO=$ac_cv_path_ECHO
18633 if test -n "$ECHO"; then
18634 echo "$as_me:$LINENO: result: $ECHO" >&5
18635 echo "${ECHO_T}$ECHO" >&6
18637 echo "$as_me:$LINENO: result: no" >&5
18638 echo "${ECHO_T}no" >&6
18641 # Extract the first word of "mkdir", so it can be a program name with args.
18642 set dummy mkdir; ac_word=$2
18643 echo "$as_me:$LINENO: checking for $ac_word" >&5
18644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18645 if test "${ac_cv_path_MKDIR+set}" = set; then
18646 echo $ECHO_N "(cached) $ECHO_C" >&6
18650 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
18653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18654 for as_dir in $PATH
18657 test -z "$as_dir" && as_dir=.
18658 for ac_exec_ext in '' $ac_executable_extensions; do
18659 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18660 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
18661 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18670 MKDIR=$ac_cv_path_MKDIR
18672 if test -n "$MKDIR"; then
18673 echo "$as_me:$LINENO: result: $MKDIR" >&5
18674 echo "${ECHO_T}$MKDIR" >&6
18676 echo "$as_me:$LINENO: result: no" >&5
18677 echo "${ECHO_T}no" >&6
18680 # Extract the first word of "date", so it can be a program name with args.
18681 set dummy date; ac_word=$2
18682 echo "$as_me:$LINENO: checking for $ac_word" >&5
18683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18684 if test "${ac_cv_path_DATE+set}" = set; then
18685 echo $ECHO_N "(cached) $ECHO_C" >&6
18689 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
18692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18693 for as_dir in $PATH
18696 test -z "$as_dir" && as_dir=.
18697 for ac_exec_ext in '' $ac_executable_extensions; do
18698 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18699 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
18700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18709 DATE=$ac_cv_path_DATE
18711 if test -n "$DATE"; then
18712 echo "$as_me:$LINENO: result: $DATE" >&5
18713 echo "${ECHO_T}$DATE" >&6
18715 echo "$as_me:$LINENO: result: no" >&5
18716 echo "${ECHO_T}no" >&6
18719 # Extract the first word of "mv", so it can be a program name with args.
18720 set dummy mv; ac_word=$2
18721 echo "$as_me:$LINENO: checking for $ac_word" >&5
18722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18723 if test "${ac_cv_path_MV+set}" = set; then
18724 echo $ECHO_N "(cached) $ECHO_C" >&6
18728 ac_cv_path_MV="$MV" # Let the user override the test with a path.
18731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18732 for as_dir in $PATH
18735 test -z "$as_dir" && as_dir=.
18736 for ac_exec_ext in '' $ac_executable_extensions; do
18737 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18738 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
18739 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18750 if test -n "$MV"; then
18751 echo "$as_me:$LINENO: result: $MV" >&5
18752 echo "${ECHO_T}$MV" >&6
18754 echo "$as_me:$LINENO: result: no" >&5
18755 echo "${ECHO_T}no" >&6
18758 # Extract the first word of "dot", so it can be a program name with args.
18759 set dummy dot; ac_word=$2
18760 echo "$as_me:$LINENO: checking for $ac_word" >&5
18761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18762 if test "${ac_cv_path_DOT+set}" = set; then
18763 echo $ECHO_N "(cached) $ECHO_C" >&6
18767 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18771 for as_dir in $PATH
18774 test -z "$as_dir" && as_dir=.
18775 for ac_exec_ext in '' $ac_executable_extensions; do
18776 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18777 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18778 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18787 DOT=$ac_cv_path_DOT
18789 if test -n "$DOT"; then
18790 echo "$as_me:$LINENO: result: $DOT" >&5
18791 echo "${ECHO_T}$DOT" >&6
18793 echo "$as_me:$LINENO: result: no" >&5
18794 echo "${ECHO_T}no" >&6
18797 # Extract the first word of "etags", so it can be a program name with args.
18798 set dummy etags; ac_word=$2
18799 echo "$as_me:$LINENO: checking for $ac_word" >&5
18800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18801 if test "${ac_cv_path_ETAGS+set}" = set; then
18802 echo $ECHO_N "(cached) $ECHO_C" >&6
18806 ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
18809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18810 for as_dir in $PATH
18813 test -z "$as_dir" && as_dir=.
18814 for ac_exec_ext in '' $ac_executable_extensions; do
18815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18816 ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext"
18817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18826 ETAGS=$ac_cv_path_ETAGS
18828 if test -n "$ETAGS"; then
18829 echo "$as_me:$LINENO: result: $ETAGS" >&5
18830 echo "${ECHO_T}$ETAGS" >&6
18832 echo "$as_me:$LINENO: result: no" >&5
18833 echo "${ECHO_T}no" >&6
18836 # Extract the first word of "purify", so it can be a program name with args.
18837 set dummy purify; ac_word=$2
18838 echo "$as_me:$LINENO: checking for $ac_word" >&5
18839 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18840 if test "${ac_cv_path_PURIFY+set}" = set; then
18841 echo $ECHO_N "(cached) $ECHO_C" >&6
18845 ac_cv_path_PURIFY="$PURIFY" # Let the user override the test with a path.
18848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18849 for as_dir in $PATH
18852 test -z "$as_dir" && as_dir=.
18853 for ac_exec_ext in '' $ac_executable_extensions; do
18854 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18855 ac_cv_path_PURIFY="$as_dir/$ac_word$ac_exec_ext"
18856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18865 PURIFY=$ac_cv_path_PURIFY
18867 if test -n "$PURIFY"; then
18868 echo "$as_me:$LINENO: result: $PURIFY" >&5
18869 echo "${ECHO_T}$PURIFY" >&6
18871 echo "$as_me:$LINENO: result: no" >&5
18872 echo "${ECHO_T}no" >&6
18875 # Extract the first word of "python", so it can be a program name with args.
18876 set dummy python; ac_word=$2
18877 echo "$as_me:$LINENO: checking for $ac_word" >&5
18878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18879 if test "${ac_cv_path_PYTHON+set}" = set; then
18880 echo $ECHO_N "(cached) $ECHO_C" >&6
18884 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
18887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18888 for as_dir in $PATH
18891 test -z "$as_dir" && as_dir=.
18892 for ac_exec_ext in '' $ac_executable_extensions; do
18893 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18894 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
18895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18904 PYTHON=$ac_cv_path_PYTHON
18906 if test -n "$PYTHON"; then
18907 echo "$as_me:$LINENO: result: $PYTHON" >&5
18908 echo "${ECHO_T}$PYTHON" >&6
18910 echo "$as_me:$LINENO: result: no" >&5
18911 echo "${ECHO_T}no" >&6
18914 # Extract the first word of "qmtest", so it can be a program name with args.
18915 set dummy qmtest; ac_word=$2
18916 echo "$as_me:$LINENO: checking for $ac_word" >&5
18917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18918 if test "${ac_cv_path_QMTEST+set}" = set; then
18919 echo $ECHO_N "(cached) $ECHO_C" >&6
18923 ac_cv_path_QMTEST="$QMTEST" # Let the user override the test with a path.
18926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18927 for as_dir in $PATH
18930 test -z "$as_dir" && as_dir=.
18931 for ac_exec_ext in '' $ac_executable_extensions; do
18932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18933 ac_cv_path_QMTEST="$as_dir/$ac_word$ac_exec_ext"
18934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18943 QMTEST=$ac_cv_path_QMTEST
18945 if test -n "$QMTEST"; then
18946 echo "$as_me:$LINENO: result: $QMTEST" >&5
18947 echo "${ECHO_T}$QMTEST" >&6
18949 echo "$as_me:$LINENO: result: no" >&5
18950 echo "${ECHO_T}no" >&6
18954 pyversion=`$PYTHON -V 2>&1 | cut -d\ -f2`
18955 pymajor=`echo $pyversion | cut -d. -f1`
18956 pyminor=`echo $pyversion | cut -d. -f2`
18958 if test "$pymajor" -ge "2"
18960 if test "$pymajor" -eq "2"
18962 if test "$pyminor" -lt "2"
18964 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
18965 echo "$as_me: error: Python 2.2 or greater required" >&2;}
18966 { (exit 1); exit 1; }; }
18970 { { echo "$as_me:$LINENO: error: Python 2.2 or greater required" >&5
18971 echo "$as_me: error: Python 2.2 or greater required" >&2;}
18972 { (exit 1); exit 1; }; }
18979 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
18980 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
18981 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
18982 echo $ECHO_N "(cached) $ECHO_C" >&6
18984 ac_check_lib_save_LIBS=$LIBS
18986 cat >conftest.$ac_ext <<_ACEOF
18987 #line $LINENO "configure"
18990 cat confdefs.h >>conftest.$ac_ext
18991 cat >>conftest.$ac_ext <<_ACEOF
18992 /* end confdefs.h. */
18994 /* Override any gcc2 internal prototype to avoid an error. */
18998 /* We use char because int might match the return type of a gcc2
18999 builtin and then its argument prototype would still apply. */
19009 rm -f conftest.$ac_objext conftest$ac_exeext
19010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19011 (eval $ac_link) 2>&5
19013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19014 (exit $ac_status); } &&
19015 { ac_try='test -s conftest$ac_exeext'
19016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19017 (eval $ac_try) 2>&5
19019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19020 (exit $ac_status); }; }; then
19021 ac_cv_lib_elf_elf_begin=yes
19023 echo "$as_me: failed program was:" >&5
19024 sed 's/^/| /' conftest.$ac_ext >&5
19026 ac_cv_lib_elf_elf_begin=no
19028 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19029 LIBS=$ac_check_lib_save_LIBS
19031 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
19032 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
19033 if test $ac_cv_lib_elf_elf_begin = yes; then
19034 cat >>confdefs.h <<_ACEOF
19035 #define HAVE_LIBELF 1
19043 echo "$as_me:$LINENO: checking for library containing dlopen" >&5
19044 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
19045 if test "${ac_cv_search_dlopen+set}" = set; then
19046 echo $ECHO_N "(cached) $ECHO_C" >&6
19048 ac_func_search_save_LIBS=$LIBS
19049 ac_cv_search_dlopen=no
19050 cat >conftest.$ac_ext <<_ACEOF
19051 #line $LINENO "configure"
19054 cat confdefs.h >>conftest.$ac_ext
19055 cat >>conftest.$ac_ext <<_ACEOF
19056 /* end confdefs.h. */
19058 /* Override any gcc2 internal prototype to avoid an error. */
19062 /* We use char because int might match the return type of a gcc2
19063 builtin and then its argument prototype would still apply. */
19073 rm -f conftest.$ac_objext conftest$ac_exeext
19074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19075 (eval $ac_link) 2>&5
19077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19078 (exit $ac_status); } &&
19079 { ac_try='test -s conftest$ac_exeext'
19080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19081 (eval $ac_try) 2>&5
19083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19084 (exit $ac_status); }; }; then
19085 ac_cv_search_dlopen="none required"
19087 echo "$as_me: failed program was:" >&5
19088 sed 's/^/| /' conftest.$ac_ext >&5
19091 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19092 if test "$ac_cv_search_dlopen" = no; then
19093 for ac_lib in dl; do
19094 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19095 cat >conftest.$ac_ext <<_ACEOF
19096 #line $LINENO "configure"
19099 cat confdefs.h >>conftest.$ac_ext
19100 cat >>conftest.$ac_ext <<_ACEOF
19101 /* end confdefs.h. */
19103 /* Override any gcc2 internal prototype to avoid an error. */
19107 /* We use char because int might match the return type of a gcc2
19108 builtin and then its argument prototype would still apply. */
19118 rm -f conftest.$ac_objext conftest$ac_exeext
19119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19120 (eval $ac_link) 2>&5
19122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19123 (exit $ac_status); } &&
19124 { ac_try='test -s conftest$ac_exeext'
19125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19126 (eval $ac_try) 2>&5
19128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19129 (exit $ac_status); }; }; then
19130 ac_cv_search_dlopen="-l$ac_lib"
19133 echo "$as_me: failed program was:" >&5
19134 sed 's/^/| /' conftest.$ac_ext >&5
19137 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19140 LIBS=$ac_func_search_save_LIBS
19142 echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
19143 echo "${ECHO_T}$ac_cv_search_dlopen" >&6
19144 if test "$ac_cv_search_dlopen" != no; then
19145 test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
19148 { { echo "$as_me:$LINENO: error: dlopen() required but not found" >&5
19149 echo "$as_me: error: dlopen() required but not found" >&2;}
19150 { (exit 1); exit 1; }; }
19154 echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
19155 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6
19156 if test "${ac_cv_search_mallinfo+set}" = set; then
19157 echo $ECHO_N "(cached) $ECHO_C" >&6
19159 ac_func_search_save_LIBS=$LIBS
19160 ac_cv_search_mallinfo=no
19161 cat >conftest.$ac_ext <<_ACEOF
19162 #line $LINENO "configure"
19165 cat confdefs.h >>conftest.$ac_ext
19166 cat >>conftest.$ac_ext <<_ACEOF
19167 /* end confdefs.h. */
19169 /* Override any gcc2 internal prototype to avoid an error. */
19173 /* We use char because int might match the return type of a gcc2
19174 builtin and then its argument prototype would still apply. */
19184 rm -f conftest.$ac_objext conftest$ac_exeext
19185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19186 (eval $ac_link) 2>&5
19188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19189 (exit $ac_status); } &&
19190 { ac_try='test -s conftest$ac_exeext'
19191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19192 (eval $ac_try) 2>&5
19194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19195 (exit $ac_status); }; }; then
19196 ac_cv_search_mallinfo="none required"
19198 echo "$as_me: failed program was:" >&5
19199 sed 's/^/| /' conftest.$ac_ext >&5
19202 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19203 if test "$ac_cv_search_mallinfo" = no; then
19204 for ac_lib in malloc; do
19205 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19206 cat >conftest.$ac_ext <<_ACEOF
19207 #line $LINENO "configure"
19210 cat confdefs.h >>conftest.$ac_ext
19211 cat >>conftest.$ac_ext <<_ACEOF
19212 /* end confdefs.h. */
19214 /* Override any gcc2 internal prototype to avoid an error. */
19218 /* We use char because int might match the return type of a gcc2
19219 builtin and then its argument prototype would still apply. */
19229 rm -f conftest.$ac_objext conftest$ac_exeext
19230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19231 (eval $ac_link) 2>&5
19233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19234 (exit $ac_status); } &&
19235 { ac_try='test -s conftest$ac_exeext'
19236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19237 (eval $ac_try) 2>&5
19239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19240 (exit $ac_status); }; }; then
19241 ac_cv_search_mallinfo="-l$ac_lib"
19244 echo "$as_me: failed program was:" >&5
19245 sed 's/^/| /' conftest.$ac_ext >&5
19248 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19251 LIBS=$ac_func_search_save_LIBS
19253 echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
19254 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6
19255 if test "$ac_cv_search_mallinfo" != no; then
19256 test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS"
19257 cat >>confdefs.h <<\_ACEOF
19258 #define HAVE_MALLINFO 1
19265 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19266 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19267 if test "${ac_cv_header_stdc+set}" = set; then
19268 echo $ECHO_N "(cached) $ECHO_C" >&6
19270 cat >conftest.$ac_ext <<_ACEOF
19271 #line $LINENO "configure"
19274 cat confdefs.h >>conftest.$ac_ext
19275 cat >>conftest.$ac_ext <<_ACEOF
19276 /* end confdefs.h. */
19277 #include <stdlib.h>
19278 #include <stdarg.h>
19279 #include <string.h>
19290 rm -f conftest.$ac_objext
19291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19292 (eval $ac_compile) 2>&5
19294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19295 (exit $ac_status); } &&
19296 { ac_try='test -s conftest.$ac_objext'
19297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19298 (eval $ac_try) 2>&5
19300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19301 (exit $ac_status); }; }; then
19302 ac_cv_header_stdc=yes
19304 echo "$as_me: failed program was:" >&5
19305 sed 's/^/| /' conftest.$ac_ext >&5
19307 ac_cv_header_stdc=no
19309 rm -f conftest.$ac_objext conftest.$ac_ext
19311 if test $ac_cv_header_stdc = yes; then
19312 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19313 cat >conftest.$ac_ext <<_ACEOF
19314 #line $LINENO "configure"
19317 cat confdefs.h >>conftest.$ac_ext
19318 cat >>conftest.$ac_ext <<_ACEOF
19319 /* end confdefs.h. */
19320 #include <string.h>
19323 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19324 $EGREP "memchr" >/dev/null 2>&1; then
19327 ac_cv_header_stdc=no
19333 if test $ac_cv_header_stdc = yes; then
19334 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19335 cat >conftest.$ac_ext <<_ACEOF
19336 #line $LINENO "configure"
19339 cat confdefs.h >>conftest.$ac_ext
19340 cat >>conftest.$ac_ext <<_ACEOF
19341 /* end confdefs.h. */
19342 #include <stdlib.h>
19345 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19346 $EGREP "free" >/dev/null 2>&1; then
19349 ac_cv_header_stdc=no
19355 if test $ac_cv_header_stdc = yes; then
19356 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19357 if test "$cross_compiling" = yes; then
19360 cat >conftest.$ac_ext <<_ACEOF
19361 #line $LINENO "configure"
19364 cat confdefs.h >>conftest.$ac_ext
19365 cat >>conftest.$ac_ext <<_ACEOF
19366 /* end confdefs.h. */
19368 #if ((' ' & 0x0FF) == 0x020)
19369 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19370 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19372 # define ISLOWER(c) \
19373 (('a' <= (c) && (c) <= 'i') \
19374 || ('j' <= (c) && (c) <= 'r') \
19375 || ('s' <= (c) && (c) <= 'z'))
19376 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19379 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19384 for (i = 0; i < 256; i++)
19385 if (XOR (islower (i), ISLOWER (i))
19386 || toupper (i) != TOUPPER (i))
19391 rm -f conftest$ac_exeext
19392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19393 (eval $ac_link) 2>&5
19395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19396 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19398 (eval $ac_try) 2>&5
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); }; }; then
19404 echo "$as_me: program exited with status $ac_status" >&5
19405 echo "$as_me: failed program was:" >&5
19406 sed 's/^/| /' conftest.$ac_ext >&5
19408 ( exit $ac_status )
19409 ac_cv_header_stdc=no
19411 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19415 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19416 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19417 if test $ac_cv_header_stdc = yes; then
19419 cat >>confdefs.h <<\_ACEOF
19420 #define STDC_HEADERS 1
19425 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19426 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
19427 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19428 echo $ECHO_N "(cached) $ECHO_C" >&6
19430 cat >conftest.$ac_ext <<_ACEOF
19431 #line $LINENO "configure"
19434 cat confdefs.h >>conftest.$ac_ext
19435 cat >>conftest.$ac_ext <<_ACEOF
19436 /* end confdefs.h. */
19437 #include <sys/types.h>
19438 #include <sys/wait.h>
19439 #ifndef WEXITSTATUS
19440 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
19443 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19451 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19456 rm -f conftest.$ac_objext
19457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19458 (eval $ac_compile) 2>&5
19460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19461 (exit $ac_status); } &&
19462 { ac_try='test -s conftest.$ac_objext'
19463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19464 (eval $ac_try) 2>&5
19466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19467 (exit $ac_status); }; }; then
19468 ac_cv_header_sys_wait_h=yes
19470 echo "$as_me: failed program was:" >&5
19471 sed 's/^/| /' conftest.$ac_ext >&5
19473 ac_cv_header_sys_wait_h=no
19475 rm -f conftest.$ac_objext conftest.$ac_ext
19477 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19478 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
19479 if test $ac_cv_header_sys_wait_h = yes; then
19481 cat >>confdefs.h <<\_ACEOF
19482 #define HAVE_SYS_WAIT_H 1
19496 for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h
19498 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19499 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19500 echo "$as_me:$LINENO: checking for $ac_header" >&5
19501 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19502 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19503 echo $ECHO_N "(cached) $ECHO_C" >&6
19505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19506 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19508 # Is the header compilable?
19509 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19510 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19511 cat >conftest.$ac_ext <<_ACEOF
19512 #line $LINENO "configure"
19515 cat confdefs.h >>conftest.$ac_ext
19516 cat >>conftest.$ac_ext <<_ACEOF
19517 /* end confdefs.h. */
19518 $ac_includes_default
19519 #include <$ac_header>
19521 rm -f conftest.$ac_objext
19522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19523 (eval $ac_compile) 2>&5
19525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19526 (exit $ac_status); } &&
19527 { ac_try='test -s conftest.$ac_objext'
19528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19529 (eval $ac_try) 2>&5
19531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19532 (exit $ac_status); }; }; then
19533 ac_header_compiler=yes
19535 echo "$as_me: failed program was:" >&5
19536 sed 's/^/| /' conftest.$ac_ext >&5
19538 ac_header_compiler=no
19540 rm -f conftest.$ac_objext conftest.$ac_ext
19541 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19542 echo "${ECHO_T}$ac_header_compiler" >&6
19544 # Is the header present?
19545 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19546 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19547 cat >conftest.$ac_ext <<_ACEOF
19548 #line $LINENO "configure"
19551 cat confdefs.h >>conftest.$ac_ext
19552 cat >>conftest.$ac_ext <<_ACEOF
19553 /* end confdefs.h. */
19554 #include <$ac_header>
19556 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19557 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19559 grep -v '^ *+' conftest.er1 >conftest.err
19561 cat conftest.err >&5
19562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19563 (exit $ac_status); } >/dev/null; then
19564 if test -s conftest.err; then
19565 ac_cpp_err=$ac_c_preproc_warn_flag
19572 if test -z "$ac_cpp_err"; then
19573 ac_header_preproc=yes
19575 echo "$as_me: failed program was:" >&5
19576 sed 's/^/| /' conftest.$ac_ext >&5
19578 ac_header_preproc=no
19580 rm -f conftest.err conftest.$ac_ext
19581 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19582 echo "${ECHO_T}$ac_header_preproc" >&6
19584 # So? What about this header?
19585 case $ac_header_compiler:$ac_header_preproc in
19587 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19588 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19589 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19590 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19593 ## ------------------------------------ ##
19594 ## Report this to bug-autoconf@gnu.org. ##
19595 ## ------------------------------------ ##
19598 sed "s/^/$as_me: WARNING: /" >&2
19601 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19602 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19603 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19604 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19605 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19606 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19609 ## ------------------------------------ ##
19610 ## Report this to bug-autoconf@gnu.org. ##
19611 ## ------------------------------------ ##
19614 sed "s/^/$as_me: WARNING: /" >&2
19617 echo "$as_me:$LINENO: checking for $ac_header" >&5
19618 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19619 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19620 echo $ECHO_N "(cached) $ECHO_C" >&6
19622 eval "$as_ac_Header=$ac_header_preproc"
19624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19625 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19628 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19629 cat >>confdefs.h <<_ACEOF
19630 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19642 for ac_header in malloc.h strings.h sys/mman.h sys/resource.h
19644 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19645 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19646 echo "$as_me:$LINENO: checking for $ac_header" >&5
19647 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19649 echo $ECHO_N "(cached) $ECHO_C" >&6
19651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19652 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19654 # Is the header compilable?
19655 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19656 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19657 cat >conftest.$ac_ext <<_ACEOF
19658 #line $LINENO "configure"
19661 cat confdefs.h >>conftest.$ac_ext
19662 cat >>conftest.$ac_ext <<_ACEOF
19663 /* end confdefs.h. */
19664 $ac_includes_default
19665 #include <$ac_header>
19667 rm -f conftest.$ac_objext
19668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19669 (eval $ac_compile) 2>&5
19671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19672 (exit $ac_status); } &&
19673 { ac_try='test -s conftest.$ac_objext'
19674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19675 (eval $ac_try) 2>&5
19677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19678 (exit $ac_status); }; }; then
19679 ac_header_compiler=yes
19681 echo "$as_me: failed program was:" >&5
19682 sed 's/^/| /' conftest.$ac_ext >&5
19684 ac_header_compiler=no
19686 rm -f conftest.$ac_objext conftest.$ac_ext
19687 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19688 echo "${ECHO_T}$ac_header_compiler" >&6
19690 # Is the header present?
19691 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19692 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19693 cat >conftest.$ac_ext <<_ACEOF
19694 #line $LINENO "configure"
19697 cat confdefs.h >>conftest.$ac_ext
19698 cat >>conftest.$ac_ext <<_ACEOF
19699 /* end confdefs.h. */
19700 #include <$ac_header>
19702 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19703 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19705 grep -v '^ *+' conftest.er1 >conftest.err
19707 cat conftest.err >&5
19708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19709 (exit $ac_status); } >/dev/null; then
19710 if test -s conftest.err; then
19711 ac_cpp_err=$ac_c_preproc_warn_flag
19718 if test -z "$ac_cpp_err"; then
19719 ac_header_preproc=yes
19721 echo "$as_me: failed program was:" >&5
19722 sed 's/^/| /' conftest.$ac_ext >&5
19724 ac_header_preproc=no
19726 rm -f conftest.err conftest.$ac_ext
19727 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19728 echo "${ECHO_T}$ac_header_preproc" >&6
19730 # So? What about this header?
19731 case $ac_header_compiler:$ac_header_preproc in
19733 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19734 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19735 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19736 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19739 ## ------------------------------------ ##
19740 ## Report this to bug-autoconf@gnu.org. ##
19741 ## ------------------------------------ ##
19744 sed "s/^/$as_me: WARNING: /" >&2
19747 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19748 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19749 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19750 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19751 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19752 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19755 ## ------------------------------------ ##
19756 ## Report this to bug-autoconf@gnu.org. ##
19757 ## ------------------------------------ ##
19760 sed "s/^/$as_me: WARNING: /" >&2
19763 echo "$as_me:$LINENO: checking for $ac_header" >&5
19764 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19765 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19766 echo $ECHO_N "(cached) $ECHO_C" >&6
19768 eval "$as_ac_Header=$ac_header_preproc"
19770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19771 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19774 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19775 cat >>confdefs.h <<_ACEOF
19776 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19786 for ac_header in dlfcn.h link.h
19788 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19789 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19790 echo "$as_me:$LINENO: checking for $ac_header" >&5
19791 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19792 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19793 echo $ECHO_N "(cached) $ECHO_C" >&6
19795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19796 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19798 # Is the header compilable?
19799 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19800 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19801 cat >conftest.$ac_ext <<_ACEOF
19802 #line $LINENO "configure"
19805 cat confdefs.h >>conftest.$ac_ext
19806 cat >>conftest.$ac_ext <<_ACEOF
19807 /* end confdefs.h. */
19808 $ac_includes_default
19809 #include <$ac_header>
19811 rm -f conftest.$ac_objext
19812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19813 (eval $ac_compile) 2>&5
19815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19816 (exit $ac_status); } &&
19817 { ac_try='test -s conftest.$ac_objext'
19818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19819 (eval $ac_try) 2>&5
19821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19822 (exit $ac_status); }; }; then
19823 ac_header_compiler=yes
19825 echo "$as_me: failed program was:" >&5
19826 sed 's/^/| /' conftest.$ac_ext >&5
19828 ac_header_compiler=no
19830 rm -f conftest.$ac_objext conftest.$ac_ext
19831 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19832 echo "${ECHO_T}$ac_header_compiler" >&6
19834 # Is the header present?
19835 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19836 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19837 cat >conftest.$ac_ext <<_ACEOF
19838 #line $LINENO "configure"
19841 cat confdefs.h >>conftest.$ac_ext
19842 cat >>conftest.$ac_ext <<_ACEOF
19843 /* end confdefs.h. */
19844 #include <$ac_header>
19846 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19847 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19849 grep -v '^ *+' conftest.er1 >conftest.err
19851 cat conftest.err >&5
19852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19853 (exit $ac_status); } >/dev/null; then
19854 if test -s conftest.err; then
19855 ac_cpp_err=$ac_c_preproc_warn_flag
19862 if test -z "$ac_cpp_err"; then
19863 ac_header_preproc=yes
19865 echo "$as_me: failed program was:" >&5
19866 sed 's/^/| /' conftest.$ac_ext >&5
19868 ac_header_preproc=no
19870 rm -f conftest.err conftest.$ac_ext
19871 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19872 echo "${ECHO_T}$ac_header_preproc" >&6
19874 # So? What about this header?
19875 case $ac_header_compiler:$ac_header_preproc in
19877 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19878 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19879 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19880 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19883 ## ------------------------------------ ##
19884 ## Report this to bug-autoconf@gnu.org. ##
19885 ## ------------------------------------ ##
19888 sed "s/^/$as_me: WARNING: /" >&2
19891 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19892 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19893 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19894 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19896 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19899 ## ------------------------------------ ##
19900 ## Report this to bug-autoconf@gnu.org. ##
19901 ## ------------------------------------ ##
19904 sed "s/^/$as_me: WARNING: /" >&2
19907 echo "$as_me:$LINENO: checking for $ac_header" >&5
19908 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19909 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19910 echo $ECHO_N "(cached) $ECHO_C" >&6
19912 eval "$as_ac_Header=$ac_header_preproc"
19914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19915 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19918 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19919 cat >>confdefs.h <<_ACEOF
19920 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19929 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
19930 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
19931 if test "${ac_cv_c_const+set}" = set; then
19932 echo $ECHO_N "(cached) $ECHO_C" >&6
19934 cat >conftest.$ac_ext <<_ACEOF
19935 #line $LINENO "configure"
19938 cat confdefs.h >>conftest.$ac_ext
19939 cat >>conftest.$ac_ext <<_ACEOF
19940 /* end confdefs.h. */
19945 /* FIXME: Include the comments suggested by Paul. */
19946 #ifndef __cplusplus
19947 /* Ultrix mips cc rejects this. */
19948 typedef int charset[2];
19950 /* SunOS 4.1.1 cc rejects this. */
19951 char const *const *ccp;
19953 /* NEC SVR4.0.2 mips cc rejects this. */
19954 struct point {int x, y;};
19955 static struct point const zero = {0,0};
19956 /* AIX XL C 1.02.0.0 rejects this.
19957 It does not let you subtract one const X* pointer from another in
19958 an arm of an if-expression whose if-part is not a constant
19960 const char *g = "string";
19961 ccp = &g + (g ? g-g : 0);
19962 /* HPUX 7.0 cc rejects these. */
19965 ccp = (char const *const *) p;
19966 { /* SCO 3.2v4 cc rejects this. */
19968 char const *s = 0 ? (char *) 0 : (char const *) 0;
19972 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19973 int x[] = {25, 17};
19974 const int *foo = &x[0];
19977 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19978 typedef const int *iptr;
19982 { /* AIX XL C 1.02.0.0 rejects this saying
19983 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19984 struct s { int j; const int *ap[3]; };
19985 struct s *b; b->j = 5;
19987 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19988 const int foo = 10;
19996 rm -f conftest.$ac_objext
19997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19998 (eval $ac_compile) 2>&5
20000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20001 (exit $ac_status); } &&
20002 { ac_try='test -s conftest.$ac_objext'
20003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20004 (eval $ac_try) 2>&5
20006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20007 (exit $ac_status); }; }; then
20010 echo "$as_me: failed program was:" >&5
20011 sed 's/^/| /' conftest.$ac_ext >&5
20015 rm -f conftest.$ac_objext conftest.$ac_ext
20017 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20018 echo "${ECHO_T}$ac_cv_c_const" >&6
20019 if test $ac_cv_c_const = no; then
20021 cat >>confdefs.h <<\_ACEOF
20027 echo "$as_me:$LINENO: checking for inline" >&5
20028 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20029 if test "${ac_cv_c_inline+set}" = set; then
20030 echo $ECHO_N "(cached) $ECHO_C" >&6
20033 for ac_kw in inline __inline__ __inline; do
20034 cat >conftest.$ac_ext <<_ACEOF
20035 #line $LINENO "configure"
20038 cat confdefs.h >>conftest.$ac_ext
20039 cat >>conftest.$ac_ext <<_ACEOF
20040 /* end confdefs.h. */
20041 #ifndef __cplusplus
20043 static $ac_kw foo_t static_foo () {return 0; }
20044 $ac_kw foo_t foo () {return 0; }
20048 rm -f conftest.$ac_objext
20049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20050 (eval $ac_compile) 2>&5
20052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20053 (exit $ac_status); } &&
20054 { ac_try='test -s conftest.$ac_objext'
20055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20056 (eval $ac_try) 2>&5
20058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20059 (exit $ac_status); }; }; then
20060 ac_cv_c_inline=$ac_kw; break
20062 echo "$as_me: failed program was:" >&5
20063 sed 's/^/| /' conftest.$ac_ext >&5
20066 rm -f conftest.$ac_objext conftest.$ac_ext
20070 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20071 echo "${ECHO_T}$ac_cv_c_inline" >&6
20072 case $ac_cv_c_inline in
20075 cat >>confdefs.h <<\_ACEOF
20079 *) cat >>confdefs.h <<_ACEOF
20080 #define inline $ac_cv_c_inline
20086 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20087 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20088 if test "${ac_cv_c_bigendian+set}" = set; then
20089 echo $ECHO_N "(cached) $ECHO_C" >&6
20091 # See if sys/param.h defines the BYTE_ORDER macro.
20092 cat >conftest.$ac_ext <<_ACEOF
20093 #line $LINENO "configure"
20096 cat confdefs.h >>conftest.$ac_ext
20097 cat >>conftest.$ac_ext <<_ACEOF
20098 /* end confdefs.h. */
20099 #include <sys/types.h>
20100 #include <sys/param.h>
20105 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20106 bogus endian macros
20113 rm -f conftest.$ac_objext
20114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20115 (eval $ac_compile) 2>&5
20117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20118 (exit $ac_status); } &&
20119 { ac_try='test -s conftest.$ac_objext'
20120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20121 (eval $ac_try) 2>&5
20123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20124 (exit $ac_status); }; }; then
20125 # It does; now see whether it defined to BIG_ENDIAN or not.
20126 cat >conftest.$ac_ext <<_ACEOF
20127 #line $LINENO "configure"
20130 cat confdefs.h >>conftest.$ac_ext
20131 cat >>conftest.$ac_ext <<_ACEOF
20132 /* end confdefs.h. */
20133 #include <sys/types.h>
20134 #include <sys/param.h>
20139 #if BYTE_ORDER != BIG_ENDIAN
20147 rm -f conftest.$ac_objext
20148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20149 (eval $ac_compile) 2>&5
20151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20152 (exit $ac_status); } &&
20153 { ac_try='test -s conftest.$ac_objext'
20154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20155 (eval $ac_try) 2>&5
20157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20158 (exit $ac_status); }; }; then
20159 ac_cv_c_bigendian=yes
20161 echo "$as_me: failed program was:" >&5
20162 sed 's/^/| /' conftest.$ac_ext >&5
20164 ac_cv_c_bigendian=no
20166 rm -f conftest.$ac_objext conftest.$ac_ext
20168 echo "$as_me: failed program was:" >&5
20169 sed 's/^/| /' conftest.$ac_ext >&5
20171 # It does not; compile a test program.
20172 if test "$cross_compiling" = yes; then
20173 # try to guess the endianness by grepping values into an object file
20174 ac_cv_c_bigendian=unknown
20175 cat >conftest.$ac_ext <<_ACEOF
20176 #line $LINENO "configure"
20179 cat confdefs.h >>conftest.$ac_ext
20180 cat >>conftest.$ac_ext <<_ACEOF
20181 /* end confdefs.h. */
20182 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20183 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20184 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20185 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20186 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20187 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20191 _ascii (); _ebcdic ();
20196 rm -f conftest.$ac_objext
20197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20198 (eval $ac_compile) 2>&5
20200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20201 (exit $ac_status); } &&
20202 { ac_try='test -s conftest.$ac_objext'
20203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20204 (eval $ac_try) 2>&5
20206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20207 (exit $ac_status); }; }; then
20208 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
20209 ac_cv_c_bigendian=yes
20211 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
20212 if test "$ac_cv_c_bigendian" = unknown; then
20213 ac_cv_c_bigendian=no
20215 # finding both strings is unlikely to happen, but who knows?
20216 ac_cv_c_bigendian=unknown
20220 echo "$as_me: failed program was:" >&5
20221 sed 's/^/| /' conftest.$ac_ext >&5
20224 rm -f conftest.$ac_objext conftest.$ac_ext
20226 cat >conftest.$ac_ext <<_ACEOF
20227 #line $LINENO "configure"
20230 cat confdefs.h >>conftest.$ac_ext
20231 cat >>conftest.$ac_ext <<_ACEOF
20232 /* end confdefs.h. */
20236 /* Are we little or big endian? From Harbison&Steele. */
20240 char c[sizeof (long)];
20243 exit (u.c[sizeof (long) - 1] == 1);
20246 rm -f conftest$ac_exeext
20247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20248 (eval $ac_link) 2>&5
20250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20251 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20253 (eval $ac_try) 2>&5
20255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20256 (exit $ac_status); }; }; then
20257 ac_cv_c_bigendian=no
20259 echo "$as_me: program exited with status $ac_status" >&5
20260 echo "$as_me: failed program was:" >&5
20261 sed 's/^/| /' conftest.$ac_ext >&5
20263 ( exit $ac_status )
20264 ac_cv_c_bigendian=yes
20266 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20269 rm -f conftest.$ac_objext conftest.$ac_ext
20271 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20272 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20273 case $ac_cv_c_bigendian in
20275 cat >>confdefs.h <<\_ACEOF
20276 #define ENDIAN_BIG 1
20280 cat >>confdefs.h <<\_ACEOF
20281 #define ENDIAN_LITTLE 1
20285 { { echo "$as_me:$LINENO: error: unknown endianness
20286 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20287 echo "$as_me: error: unknown endianness
20288 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20289 { (exit 1); exit 1; }; } ;;
20293 echo "$as_me:$LINENO: checking for pid_t" >&5
20294 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20295 if test "${ac_cv_type_pid_t+set}" = set; then
20296 echo $ECHO_N "(cached) $ECHO_C" >&6
20298 cat >conftest.$ac_ext <<_ACEOF
20299 #line $LINENO "configure"
20302 cat confdefs.h >>conftest.$ac_ext
20303 cat >>conftest.$ac_ext <<_ACEOF
20304 /* end confdefs.h. */
20305 $ac_includes_default
20311 if (sizeof (pid_t))
20317 rm -f conftest.$ac_objext
20318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20319 (eval $ac_compile) 2>&5
20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); } &&
20323 { ac_try='test -s conftest.$ac_objext'
20324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20325 (eval $ac_try) 2>&5
20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328 (exit $ac_status); }; }; then
20329 ac_cv_type_pid_t=yes
20331 echo "$as_me: failed program was:" >&5
20332 sed 's/^/| /' conftest.$ac_ext >&5
20334 ac_cv_type_pid_t=no
20336 rm -f conftest.$ac_objext conftest.$ac_ext
20338 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20339 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20340 if test $ac_cv_type_pid_t = yes; then
20344 cat >>confdefs.h <<_ACEOF
20350 echo "$as_me:$LINENO: checking for size_t" >&5
20351 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20352 if test "${ac_cv_type_size_t+set}" = set; then
20353 echo $ECHO_N "(cached) $ECHO_C" >&6
20355 cat >conftest.$ac_ext <<_ACEOF
20356 #line $LINENO "configure"
20359 cat confdefs.h >>conftest.$ac_ext
20360 cat >>conftest.$ac_ext <<_ACEOF
20361 /* end confdefs.h. */
20362 $ac_includes_default
20368 if (sizeof (size_t))
20374 rm -f conftest.$ac_objext
20375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20376 (eval $ac_compile) 2>&5
20378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20379 (exit $ac_status); } &&
20380 { ac_try='test -s conftest.$ac_objext'
20381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20382 (eval $ac_try) 2>&5
20384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20385 (exit $ac_status); }; }; then
20386 ac_cv_type_size_t=yes
20388 echo "$as_me: failed program was:" >&5
20389 sed 's/^/| /' conftest.$ac_ext >&5
20391 ac_cv_type_size_t=no
20393 rm -f conftest.$ac_objext conftest.$ac_ext
20395 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20396 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20397 if test $ac_cv_type_size_t = yes; then
20401 cat >>confdefs.h <<_ACEOF
20402 #define size_t unsigned
20407 echo "$as_me:$LINENO: checking for int64_t" >&5
20408 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
20409 if test "${ac_cv_type_int64_t+set}" = set; then
20410 echo $ECHO_N "(cached) $ECHO_C" >&6
20412 cat >conftest.$ac_ext <<_ACEOF
20413 #line $LINENO "configure"
20416 cat confdefs.h >>conftest.$ac_ext
20417 cat >>conftest.$ac_ext <<_ACEOF
20418 /* end confdefs.h. */
20419 $ac_includes_default
20425 if (sizeof (int64_t))
20431 rm -f conftest.$ac_objext
20432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20433 (eval $ac_compile) 2>&5
20435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20436 (exit $ac_status); } &&
20437 { ac_try='test -s conftest.$ac_objext'
20438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20439 (eval $ac_try) 2>&5
20441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20442 (exit $ac_status); }; }; then
20443 ac_cv_type_int64_t=yes
20445 echo "$as_me: failed program was:" >&5
20446 sed 's/^/| /' conftest.$ac_ext >&5
20448 ac_cv_type_int64_t=no
20450 rm -f conftest.$ac_objext conftest.$ac_ext
20452 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
20453 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
20454 if test $ac_cv_type_int64_t = yes; then
20456 cat >>confdefs.h <<_ACEOF
20457 #define HAVE_INT64_T 1
20462 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
20463 echo "$as_me: error: Type int64_t required but not found" >&2;}
20464 { (exit 1); exit 1; }; }
20467 echo "$as_me:$LINENO: checking for uint64_t" >&5
20468 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
20469 if test "${ac_cv_type_uint64_t+set}" = set; then
20470 echo $ECHO_N "(cached) $ECHO_C" >&6
20472 cat >conftest.$ac_ext <<_ACEOF
20473 #line $LINENO "configure"
20476 cat confdefs.h >>conftest.$ac_ext
20477 cat >>conftest.$ac_ext <<_ACEOF
20478 /* end confdefs.h. */
20479 $ac_includes_default
20483 if ((uint64_t *) 0)
20485 if (sizeof (uint64_t))
20491 rm -f conftest.$ac_objext
20492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20493 (eval $ac_compile) 2>&5
20495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20496 (exit $ac_status); } &&
20497 { ac_try='test -s conftest.$ac_objext'
20498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20499 (eval $ac_try) 2>&5
20501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20502 (exit $ac_status); }; }; then
20503 ac_cv_type_uint64_t=yes
20505 echo "$as_me: failed program was:" >&5
20506 sed 's/^/| /' conftest.$ac_ext >&5
20508 ac_cv_type_uint64_t=no
20510 rm -f conftest.$ac_objext conftest.$ac_ext
20512 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
20513 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
20514 if test $ac_cv_type_uint64_t = yes; then
20516 cat >>confdefs.h <<_ACEOF
20517 #define HAVE_UINT64_T 1
20522 { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5
20523 echo "$as_me: error: Type uint64_t required but not found" >&2;}
20524 { (exit 1); exit 1; }; }
20527 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20528 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20529 if test "${ac_cv_header_time+set}" = set; then
20530 echo $ECHO_N "(cached) $ECHO_C" >&6
20532 cat >conftest.$ac_ext <<_ACEOF
20533 #line $LINENO "configure"
20536 cat confdefs.h >>conftest.$ac_ext
20537 cat >>conftest.$ac_ext <<_ACEOF
20538 /* end confdefs.h. */
20539 #include <sys/types.h>
20540 #include <sys/time.h>
20546 if ((struct tm *) 0)
20552 rm -f conftest.$ac_objext
20553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20554 (eval $ac_compile) 2>&5
20556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20557 (exit $ac_status); } &&
20558 { ac_try='test -s conftest.$ac_objext'
20559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20560 (eval $ac_try) 2>&5
20562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20563 (exit $ac_status); }; }; then
20564 ac_cv_header_time=yes
20566 echo "$as_me: failed program was:" >&5
20567 sed 's/^/| /' conftest.$ac_ext >&5
20569 ac_cv_header_time=no
20571 rm -f conftest.$ac_objext conftest.$ac_ext
20573 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20574 echo "${ECHO_T}$ac_cv_header_time" >&6
20575 if test $ac_cv_header_time = yes; then
20577 cat >>confdefs.h <<\_ACEOF
20578 #define TIME_WITH_SYS_TIME 1
20583 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20584 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
20585 if test "${ac_cv_struct_tm+set}" = set; then
20586 echo $ECHO_N "(cached) $ECHO_C" >&6
20588 cat >conftest.$ac_ext <<_ACEOF
20589 #line $LINENO "configure"
20592 cat confdefs.h >>conftest.$ac_ext
20593 cat >>conftest.$ac_ext <<_ACEOF
20594 /* end confdefs.h. */
20595 #include <sys/types.h>
20601 struct tm *tp; tp->tm_sec;
20606 rm -f conftest.$ac_objext
20607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20608 (eval $ac_compile) 2>&5
20610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20611 (exit $ac_status); } &&
20612 { ac_try='test -s conftest.$ac_objext'
20613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20614 (eval $ac_try) 2>&5
20616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20617 (exit $ac_status); }; }; then
20618 ac_cv_struct_tm=time.h
20620 echo "$as_me: failed program was:" >&5
20621 sed 's/^/| /' conftest.$ac_ext >&5
20623 ac_cv_struct_tm=sys/time.h
20625 rm -f conftest.$ac_objext conftest.$ac_ext
20627 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20628 echo "${ECHO_T}$ac_cv_struct_tm" >&6
20629 if test $ac_cv_struct_tm = sys/time.h; then
20631 cat >>confdefs.h <<\_ACEOF
20632 #define TM_IN_SYS_TIME 1
20638 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
20639 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
20640 if test "${ac_cv_cxx_namespaces+set}" = set; then
20641 echo $ECHO_N "(cached) $ECHO_C" >&6
20646 ac_cpp='$CXXCPP $CPPFLAGS'
20647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20651 cat >conftest.$ac_ext <<_ACEOF
20652 #line $LINENO "configure"
20655 cat confdefs.h >>conftest.$ac_ext
20656 cat >>conftest.$ac_ext <<_ACEOF
20657 /* end confdefs.h. */
20658 namespace Outer { namespace Inner { int i = 0; }}
20662 using namespace Outer::Inner; return i;
20667 rm -f conftest.$ac_objext
20668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20669 (eval $ac_compile) 2>&5
20671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20672 (exit $ac_status); } &&
20673 { ac_try='test -s conftest.$ac_objext'
20674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20675 (eval $ac_try) 2>&5
20677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20678 (exit $ac_status); }; }; then
20679 ac_cv_cxx_namespaces=yes
20681 echo "$as_me: failed program was:" >&5
20682 sed 's/^/| /' conftest.$ac_ext >&5
20684 ac_cv_cxx_namespaces=no
20686 rm -f conftest.$ac_objext conftest.$ac_ext
20688 ac_cpp='$CPP $CPPFLAGS'
20689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20695 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
20696 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
20697 if test "$ac_cv_cxx_namespaces" = yes; then
20699 cat >>confdefs.h <<\_ACEOF
20700 #define HAVE_NAMESPACES
20705 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_map" >&5
20706 echo $ECHO_N "checking whether the compiler has ext/hash_map... $ECHO_C" >&6
20707 if test "${ac_cv_cxx_have_ext_hash_map+set}" = set; then
20708 echo $ECHO_N "(cached) $ECHO_C" >&6
20714 ac_cpp='$CXXCPP $CPPFLAGS'
20715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20719 cat >conftest.$ac_ext <<_ACEOF
20720 #line $LINENO "configure"
20723 cat confdefs.h >>conftest.$ac_ext
20724 cat >>conftest.$ac_ext <<_ACEOF
20725 /* end confdefs.h. */
20726 #include <ext/hash_map>
20727 #ifdef HAVE_NAMESPACES
20728 using namespace std;
20733 hash_map<int, int> t; return 0;
20738 rm -f conftest.$ac_objext
20739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20740 (eval $ac_compile) 2>&5
20742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20743 (exit $ac_status); } &&
20744 { ac_try='test -s conftest.$ac_objext'
20745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20746 (eval $ac_try) 2>&5
20748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20749 (exit $ac_status); }; }; then
20750 ac_cv_cxx_have_ext_hash_map=std
20752 echo "$as_me: failed program was:" >&5
20753 sed 's/^/| /' conftest.$ac_ext >&5
20755 ac_cv_cxx_have_ext_hash_map=no
20757 rm -f conftest.$ac_objext conftest.$ac_ext
20758 cat >conftest.$ac_ext <<_ACEOF
20759 #line $LINENO "configure"
20762 cat confdefs.h >>conftest.$ac_ext
20763 cat >>conftest.$ac_ext <<_ACEOF
20764 /* end confdefs.h. */
20765 #include <ext/hash_map>
20766 #ifdef HAVE_NAMESPACES
20767 using namespace __gnu_cxx;
20772 hash_map<int, int> t; return 0;
20777 rm -f conftest.$ac_objext
20778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20779 (eval $ac_compile) 2>&5
20781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20782 (exit $ac_status); } &&
20783 { ac_try='test -s conftest.$ac_objext'
20784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20785 (eval $ac_try) 2>&5
20787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20788 (exit $ac_status); }; }; then
20789 ac_cv_cxx_have_ext_hash_map=gnu
20791 echo "$as_me: failed program was:" >&5
20792 sed 's/^/| /' conftest.$ac_ext >&5
20794 ac_cv_cxx_have_ext_hash_map=no
20796 rm -f conftest.$ac_objext conftest.$ac_ext
20798 ac_cpp='$CPP $CPPFLAGS'
20799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20805 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_map" >&5
20806 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_map" >&6
20807 if test "$ac_cv_cxx_have_ext_hash_map" = std; then
20809 cat >>confdefs.h <<\_ACEOF
20810 #define HAVE_STD_EXT_HASH_MAP
20814 if test "$ac_cv_cxx_have_ext_hash_map" = gnu; then
20816 cat >>confdefs.h <<\_ACEOF
20817 #define HAVE_GNU_EXT_HASH_MAP
20822 echo "$as_me:$LINENO: checking whether the compiler has ext/hash_set" >&5
20823 echo $ECHO_N "checking whether the compiler has ext/hash_set... $ECHO_C" >&6
20824 if test "${ac_cv_cxx_have_ext_hash_set+set}" = set; then
20825 echo $ECHO_N "(cached) $ECHO_C" >&6
20831 ac_cpp='$CXXCPP $CPPFLAGS'
20832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20836 cat >conftest.$ac_ext <<_ACEOF
20837 #line $LINENO "configure"
20840 cat confdefs.h >>conftest.$ac_ext
20841 cat >>conftest.$ac_ext <<_ACEOF
20842 /* end confdefs.h. */
20843 #include <ext/hash_set>
20844 #ifdef HAVE_NAMESPACES
20845 using namespace std;
20850 hash_set<int> t; return 0;
20855 rm -f conftest.$ac_objext
20856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20857 (eval $ac_compile) 2>&5
20859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20860 (exit $ac_status); } &&
20861 { ac_try='test -s conftest.$ac_objext'
20862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20863 (eval $ac_try) 2>&5
20865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20866 (exit $ac_status); }; }; then
20867 ac_cv_cxx_have_ext_hash_set=std
20869 echo "$as_me: failed program was:" >&5
20870 sed 's/^/| /' conftest.$ac_ext >&5
20872 ac_cv_cxx_have_ext_hash_set=no
20874 rm -f conftest.$ac_objext conftest.$ac_ext
20875 cat >conftest.$ac_ext <<_ACEOF
20876 #line $LINENO "configure"
20879 cat confdefs.h >>conftest.$ac_ext
20880 cat >>conftest.$ac_ext <<_ACEOF
20881 /* end confdefs.h. */
20882 #include <ext/hash_set>
20883 #ifdef HAVE_NAMESPACES
20884 using namespace __gnu_cxx;
20889 hash_set<int> t; return 0;
20894 rm -f conftest.$ac_objext
20895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20896 (eval $ac_compile) 2>&5
20898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20899 (exit $ac_status); } &&
20900 { ac_try='test -s conftest.$ac_objext'
20901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20902 (eval $ac_try) 2>&5
20904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20905 (exit $ac_status); }; }; then
20906 ac_cv_cxx_have_ext_hash_set=gnu
20908 echo "$as_me: failed program was:" >&5
20909 sed 's/^/| /' conftest.$ac_ext >&5
20911 ac_cv_cxx_have_ext_hash_set=no
20913 rm -f conftest.$ac_objext conftest.$ac_ext
20915 ac_cpp='$CPP $CPPFLAGS'
20916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20922 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_hash_set" >&5
20923 echo "${ECHO_T}$ac_cv_cxx_have_ext_hash_set" >&6
20924 if test "$ac_cv_cxx_have_ext_hash_set" = std; then
20926 cat >>confdefs.h <<\_ACEOF
20927 #define HAVE_STD_EXT_HASH_SET
20931 if test "$ac_cv_cxx_have_ext_hash_set" = gnu; then
20933 cat >>confdefs.h <<\_ACEOF
20934 #define HAVE_GNU_EXT_HASH_SET
20939 echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5
20940 echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6
20941 if test "${ac_cv_cxx_have_ext_slist+set}" = set; then
20942 echo $ECHO_N "(cached) $ECHO_C" >&6
20948 ac_cpp='$CXXCPP $CPPFLAGS'
20949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20953 cat >conftest.$ac_ext <<_ACEOF
20954 #line $LINENO "configure"
20957 cat confdefs.h >>conftest.$ac_ext
20958 cat >>conftest.$ac_ext <<_ACEOF
20959 /* end confdefs.h. */
20960 #include <ext/slist>
20961 #ifdef HAVE_NAMESPACES
20962 using namespace std;
20967 slist<int> s; return 0;
20972 rm -f conftest.$ac_objext
20973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20974 (eval $ac_compile) 2>&5
20976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20977 (exit $ac_status); } &&
20978 { ac_try='test -s conftest.$ac_objext'
20979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20980 (eval $ac_try) 2>&5
20982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20983 (exit $ac_status); }; }; then
20984 ac_cv_cxx_have_ext_slist=std
20986 echo "$as_me: failed program was:" >&5
20987 sed 's/^/| /' conftest.$ac_ext >&5
20989 ac_cv_cxx_have_ext_slist=no
20991 rm -f conftest.$ac_objext conftest.$ac_ext
20992 cat >conftest.$ac_ext <<_ACEOF
20993 #line $LINENO "configure"
20996 cat confdefs.h >>conftest.$ac_ext
20997 cat >>conftest.$ac_ext <<_ACEOF
20998 /* end confdefs.h. */
20999 #include <ext/slist>
21000 #ifdef HAVE_NAMESPACES
21001 using namespace __gnu_cxx;
21006 slist<int> s; return 0;
21011 rm -f conftest.$ac_objext
21012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21013 (eval $ac_compile) 2>&5
21015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21016 (exit $ac_status); } &&
21017 { ac_try='test -s conftest.$ac_objext'
21018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21019 (eval $ac_try) 2>&5
21021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21022 (exit $ac_status); }; }; then
21023 ac_cv_cxx_have_ext_slist=gnu
21025 echo "$as_me: failed program was:" >&5
21026 sed 's/^/| /' conftest.$ac_ext >&5
21028 ac_cv_cxx_have_ext_slist=no
21030 rm -f conftest.$ac_objext conftest.$ac_ext
21033 ac_cpp='$CPP $CPPFLAGS'
21034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21040 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5
21041 echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6
21042 if test "$ac_cv_cxx_have_ext_slist" = std; then
21044 cat >>confdefs.h <<\_ACEOF
21045 #define HAVE_EXT_SLIST std
21049 if test "$ac_cv_cxx_have_ext_slist" = gnu; then
21051 cat >>confdefs.h <<\_ACEOF
21052 #define HAVE_EXT_SLIST gnu
21057 echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
21058 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6
21059 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
21060 echo $ECHO_N "(cached) $ECHO_C" >&6
21066 ac_cpp='$CXXCPP $CPPFLAGS'
21067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21071 cat >conftest.$ac_ext <<_ACEOF
21072 #line $LINENO "configure"
21075 cat confdefs.h >>conftest.$ac_ext
21076 cat >>conftest.$ac_ext <<_ACEOF
21077 /* end confdefs.h. */
21078 #include <iterator>
21079 #ifdef HAVE_NAMESPACES
21080 using namespace std;
21085 iterator<int,int,int> t; return 0;
21090 rm -f conftest.$ac_objext
21091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21092 (eval $ac_compile) 2>&5
21094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21095 (exit $ac_status); } &&
21096 { ac_try='test -s conftest.$ac_objext'
21097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21098 (eval $ac_try) 2>&5
21100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21101 (exit $ac_status); }; }; then
21102 ac_cv_cxx_have_std_iterator=yes
21104 echo "$as_me: failed program was:" >&5
21105 sed 's/^/| /' conftest.$ac_ext >&5
21107 ac_cv_cxx_have_std_iterator=no
21109 rm -f conftest.$ac_objext conftest.$ac_ext
21111 ac_cpp='$CPP $CPPFLAGS'
21112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21118 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
21119 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6
21120 if test "$ac_cv_cxx_have_std_iterator" = yes; then
21122 cat >>confdefs.h <<\_ACEOF
21123 #define HAVE_STD_ITERATOR
21128 echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
21129 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6
21130 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
21131 echo $ECHO_N "(cached) $ECHO_C" >&6
21137 ac_cpp='$CXXCPP $CPPFLAGS'
21138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21142 cat >conftest.$ac_ext <<_ACEOF
21143 #line $LINENO "configure"
21146 cat confdefs.h >>conftest.$ac_ext
21147 cat >>conftest.$ac_ext <<_ACEOF
21148 /* end confdefs.h. */
21149 #include <iterator>
21150 #ifdef HAVE_NAMESPACES
21151 using namespace std;
21156 bidirectional_iterator<int,int> t; return 0;
21161 rm -f conftest.$ac_objext
21162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21163 (eval $ac_compile) 2>&5
21165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21166 (exit $ac_status); } &&
21167 { ac_try='test -s conftest.$ac_objext'
21168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21169 (eval $ac_try) 2>&5
21171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21172 (exit $ac_status); }; }; then
21173 ac_cv_cxx_have_bi_iterator=yes
21175 echo "$as_me: failed program was:" >&5
21176 sed 's/^/| /' conftest.$ac_ext >&5
21178 ac_cv_cxx_have_bi_iterator=no
21180 rm -f conftest.$ac_objext conftest.$ac_ext
21182 ac_cpp='$CPP $CPPFLAGS'
21183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21189 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
21190 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6
21191 if test "$ac_cv_cxx_have_bi_iterator" = yes; then
21193 cat >>confdefs.h <<\_ACEOF
21194 #define HAVE_BI_ITERATOR
21199 echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
21200 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6
21201 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
21202 echo $ECHO_N "(cached) $ECHO_C" >&6
21208 ac_cpp='$CXXCPP $CPPFLAGS'
21209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21213 cat >conftest.$ac_ext <<_ACEOF
21214 #line $LINENO "configure"
21217 cat confdefs.h >>conftest.$ac_ext
21218 cat >>conftest.$ac_ext <<_ACEOF
21219 /* end confdefs.h. */
21220 #include <iterator>
21221 #ifdef HAVE_NAMESPACES
21222 using namespace std;
21227 forward_iterator<int,int> t; return 0;
21232 rm -f conftest.$ac_objext
21233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21234 (eval $ac_compile) 2>&5
21236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21237 (exit $ac_status); } &&
21238 { ac_try='test -s conftest.$ac_objext'
21239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21240 (eval $ac_try) 2>&5
21242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21243 (exit $ac_status); }; }; then
21244 ac_cv_cxx_have_fwd_iterator=yes
21246 echo "$as_me: failed program was:" >&5
21247 sed 's/^/| /' conftest.$ac_ext >&5
21249 ac_cv_cxx_have_fwd_iterator=no
21251 rm -f conftest.$ac_objext conftest.$ac_ext
21253 ac_cpp='$CPP $CPPFLAGS'
21254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21260 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
21261 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6
21262 if test "$ac_cv_cxx_have_fwd_iterator" = yes; then
21264 cat >>confdefs.h <<\_ACEOF
21265 #define HAVE_FWD_ITERATOR
21271 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21272 # for constant arguments. Useless!
21273 echo "$as_me:$LINENO: checking for working alloca.h" >&5
21274 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
21275 if test "${ac_cv_working_alloca_h+set}" = set; then
21276 echo $ECHO_N "(cached) $ECHO_C" >&6
21278 cat >conftest.$ac_ext <<_ACEOF
21279 #line $LINENO "configure"
21282 cat confdefs.h >>conftest.$ac_ext
21283 cat >>conftest.$ac_ext <<_ACEOF
21284 /* end confdefs.h. */
21285 #include <alloca.h>
21289 char *p = (char *) alloca (2 * sizeof (int));
21294 rm -f conftest.$ac_objext conftest$ac_exeext
21295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21296 (eval $ac_link) 2>&5
21298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21299 (exit $ac_status); } &&
21300 { ac_try='test -s conftest$ac_exeext'
21301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21302 (eval $ac_try) 2>&5
21304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21305 (exit $ac_status); }; }; then
21306 ac_cv_working_alloca_h=yes
21308 echo "$as_me: failed program was:" >&5
21309 sed 's/^/| /' conftest.$ac_ext >&5
21311 ac_cv_working_alloca_h=no
21313 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21315 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21316 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
21317 if test $ac_cv_working_alloca_h = yes; then
21319 cat >>confdefs.h <<\_ACEOF
21320 #define HAVE_ALLOCA_H 1
21325 echo "$as_me:$LINENO: checking for alloca" >&5
21326 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
21327 if test "${ac_cv_func_alloca_works+set}" = set; then
21328 echo $ECHO_N "(cached) $ECHO_C" >&6
21330 cat >conftest.$ac_ext <<_ACEOF
21331 #line $LINENO "configure"
21334 cat confdefs.h >>conftest.$ac_ext
21335 cat >>conftest.$ac_ext <<_ACEOF
21336 /* end confdefs.h. */
21338 # define alloca __builtin_alloca
21341 # include <malloc.h>
21342 # define alloca _alloca
21345 # include <alloca.h>
21350 # ifndef alloca /* predefined by HP cc +Olibcalls */
21361 char *p = (char *) alloca (1);
21366 rm -f conftest.$ac_objext conftest$ac_exeext
21367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21368 (eval $ac_link) 2>&5
21370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21371 (exit $ac_status); } &&
21372 { ac_try='test -s conftest$ac_exeext'
21373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21374 (eval $ac_try) 2>&5
21376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21377 (exit $ac_status); }; }; then
21378 ac_cv_func_alloca_works=yes
21380 echo "$as_me: failed program was:" >&5
21381 sed 's/^/| /' conftest.$ac_ext >&5
21383 ac_cv_func_alloca_works=no
21385 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21387 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21388 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
21390 if test $ac_cv_func_alloca_works = yes; then
21392 cat >>confdefs.h <<\_ACEOF
21393 #define HAVE_ALLOCA 1
21397 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21398 # that cause trouble. Some versions do not even contain alloca or
21399 # contain a buggy version. If you still want to use their alloca,
21400 # use ar to extract alloca.o from them instead of compiling alloca.c.
21402 ALLOCA=alloca.$ac_objext
21404 cat >>confdefs.h <<\_ACEOF
21409 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21410 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
21411 if test "${ac_cv_os_cray+set}" = set; then
21412 echo $ECHO_N "(cached) $ECHO_C" >&6
21414 cat >conftest.$ac_ext <<_ACEOF
21415 #line $LINENO "configure"
21418 cat confdefs.h >>conftest.$ac_ext
21419 cat >>conftest.$ac_ext <<_ACEOF
21420 /* end confdefs.h. */
21421 #if defined(CRAY) && ! defined(CRAY2)
21428 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21429 $EGREP "webecray" >/dev/null 2>&1; then
21437 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
21438 echo "${ECHO_T}$ac_cv_os_cray" >&6
21439 if test $ac_cv_os_cray = yes; then
21440 for ac_func in _getb67 GETB67 getb67; do
21441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21442 echo "$as_me:$LINENO: checking for $ac_func" >&5
21443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21444 if eval "test \"\${$as_ac_var+set}\" = set"; then
21445 echo $ECHO_N "(cached) $ECHO_C" >&6
21447 cat >conftest.$ac_ext <<_ACEOF
21448 #line $LINENO "configure"
21451 cat confdefs.h >>conftest.$ac_ext
21452 cat >>conftest.$ac_ext <<_ACEOF
21453 /* end confdefs.h. */
21454 /* System header to define __stub macros and hopefully few prototypes,
21455 which can conflict with char $ac_func (); below.
21456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21457 <limits.h> exists even on freestanding compilers. */
21459 # include <limits.h>
21461 # include <assert.h>
21463 /* Override any gcc2 internal prototype to avoid an error. */
21468 /* We use char because int might match the return type of a gcc2
21469 builtin and then its argument prototype would still apply. */
21471 /* The GNU C library defines this for functions which it implements
21472 to always fail with ENOSYS. Some functions are actually named
21473 something starting with __ and the normal name is an alias. */
21474 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21477 char (*f) () = $ac_func;
21486 return f != $ac_func;
21491 rm -f conftest.$ac_objext conftest$ac_exeext
21492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21493 (eval $ac_link) 2>&5
21495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21496 (exit $ac_status); } &&
21497 { ac_try='test -s conftest$ac_exeext'
21498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21499 (eval $ac_try) 2>&5
21501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21502 (exit $ac_status); }; }; then
21503 eval "$as_ac_var=yes"
21505 echo "$as_me: failed program was:" >&5
21506 sed 's/^/| /' conftest.$ac_ext >&5
21508 eval "$as_ac_var=no"
21510 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21514 if test `eval echo '${'$as_ac_var'}'` = yes; then
21516 cat >>confdefs.h <<_ACEOF
21517 #define CRAY_STACKSEG_END $ac_func
21526 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21527 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
21528 if test "${ac_cv_c_stack_direction+set}" = set; then
21529 echo $ECHO_N "(cached) $ECHO_C" >&6
21531 if test "$cross_compiling" = yes; then
21532 ac_cv_c_stack_direction=0
21534 cat >conftest.$ac_ext <<_ACEOF
21535 #line $LINENO "configure"
21538 cat confdefs.h >>conftest.$ac_ext
21539 cat >>conftest.$ac_ext <<_ACEOF
21540 /* end confdefs.h. */
21542 find_stack_direction ()
21544 static char *addr = 0;
21549 return find_stack_direction ();
21552 return (&dummy > addr) ? 1 : -1;
21558 exit (find_stack_direction () < 0);
21561 rm -f conftest$ac_exeext
21562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21563 (eval $ac_link) 2>&5
21565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21566 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21568 (eval $ac_try) 2>&5
21570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21571 (exit $ac_status); }; }; then
21572 ac_cv_c_stack_direction=1
21574 echo "$as_me: program exited with status $ac_status" >&5
21575 echo "$as_me: failed program was:" >&5
21576 sed 's/^/| /' conftest.$ac_ext >&5
21578 ( exit $ac_status )
21579 ac_cv_c_stack_direction=-1
21581 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21584 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21585 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
21587 cat >>confdefs.h <<_ACEOF
21588 #define STACK_DIRECTION $ac_cv_c_stack_direction
21594 if test $ac_cv_c_compiler_gnu = yes; then
21595 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
21596 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
21597 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
21598 echo $ECHO_N "(cached) $ECHO_C" >&6
21600 ac_pattern="Autoconf.*'x'"
21601 cat >conftest.$ac_ext <<_ACEOF
21602 #line $LINENO "configure"
21605 cat confdefs.h >>conftest.$ac_ext
21606 cat >>conftest.$ac_ext <<_ACEOF
21607 /* end confdefs.h. */
21611 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21612 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21613 ac_cv_prog_gcc_traditional=yes
21615 ac_cv_prog_gcc_traditional=no
21620 if test $ac_cv_prog_gcc_traditional = no; then
21621 cat >conftest.$ac_ext <<_ACEOF
21622 #line $LINENO "configure"
21625 cat confdefs.h >>conftest.$ac_ext
21626 cat >>conftest.$ac_ext <<_ACEOF
21627 /* end confdefs.h. */
21628 #include <termio.h>
21631 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21632 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21633 ac_cv_prog_gcc_traditional=yes
21639 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
21640 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
21641 if test $ac_cv_prog_gcc_traditional = yes; then
21642 CC="$CC -traditional"
21646 echo "$as_me:$LINENO: checking for working memcmp" >&5
21647 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
21648 if test "${ac_cv_func_memcmp_working+set}" = set; then
21649 echo $ECHO_N "(cached) $ECHO_C" >&6
21651 if test "$cross_compiling" = yes; then
21652 ac_cv_func_memcmp_working=no
21654 cat >conftest.$ac_ext <<_ACEOF
21655 #line $LINENO "configure"
21658 cat confdefs.h >>conftest.$ac_ext
21659 cat >>conftest.$ac_ext <<_ACEOF
21660 /* end confdefs.h. */
21666 /* Some versions of memcmp are not 8-bit clean. */
21667 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
21668 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
21671 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
21672 or more and with at least one buffer not starting on a 4-byte boundary.
21673 William Lewis provided this test program. */
21678 for (i = 0; i < 4; i++)
21682 strcpy (a, "--------01111111");
21683 strcpy (b, "--------10000000");
21684 if (memcmp (a, b, 16) >= 0)
21694 rm -f conftest$ac_exeext
21695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21696 (eval $ac_link) 2>&5
21698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21699 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21701 (eval $ac_try) 2>&5
21703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21704 (exit $ac_status); }; }; then
21705 ac_cv_func_memcmp_working=yes
21707 echo "$as_me: program exited with status $ac_status" >&5
21708 echo "$as_me: failed program was:" >&5
21709 sed 's/^/| /' conftest.$ac_ext >&5
21711 ( exit $ac_status )
21712 ac_cv_func_memcmp_working=no
21714 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21717 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
21718 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
21719 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
21723 for ac_header in stdlib.h unistd.h
21725 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21727 echo "$as_me:$LINENO: checking for $ac_header" >&5
21728 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21729 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21730 echo $ECHO_N "(cached) $ECHO_C" >&6
21732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21733 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21735 # Is the header compilable?
21736 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21737 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21738 cat >conftest.$ac_ext <<_ACEOF
21739 #line $LINENO "configure"
21742 cat confdefs.h >>conftest.$ac_ext
21743 cat >>conftest.$ac_ext <<_ACEOF
21744 /* end confdefs.h. */
21745 $ac_includes_default
21746 #include <$ac_header>
21748 rm -f conftest.$ac_objext
21749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21750 (eval $ac_compile) 2>&5
21752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21753 (exit $ac_status); } &&
21754 { ac_try='test -s conftest.$ac_objext'
21755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21756 (eval $ac_try) 2>&5
21758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21759 (exit $ac_status); }; }; then
21760 ac_header_compiler=yes
21762 echo "$as_me: failed program was:" >&5
21763 sed 's/^/| /' conftest.$ac_ext >&5
21765 ac_header_compiler=no
21767 rm -f conftest.$ac_objext conftest.$ac_ext
21768 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21769 echo "${ECHO_T}$ac_header_compiler" >&6
21771 # Is the header present?
21772 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21773 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21774 cat >conftest.$ac_ext <<_ACEOF
21775 #line $LINENO "configure"
21778 cat confdefs.h >>conftest.$ac_ext
21779 cat >>conftest.$ac_ext <<_ACEOF
21780 /* end confdefs.h. */
21781 #include <$ac_header>
21783 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21784 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21786 grep -v '^ *+' conftest.er1 >conftest.err
21788 cat conftest.err >&5
21789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21790 (exit $ac_status); } >/dev/null; then
21791 if test -s conftest.err; then
21792 ac_cpp_err=$ac_c_preproc_warn_flag
21799 if test -z "$ac_cpp_err"; then
21800 ac_header_preproc=yes
21802 echo "$as_me: failed program was:" >&5
21803 sed 's/^/| /' conftest.$ac_ext >&5
21805 ac_header_preproc=no
21807 rm -f conftest.err conftest.$ac_ext
21808 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21809 echo "${ECHO_T}$ac_header_preproc" >&6
21811 # So? What about this header?
21812 case $ac_header_compiler:$ac_header_preproc in
21814 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21815 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21816 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21817 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21820 ## ------------------------------------ ##
21821 ## Report this to bug-autoconf@gnu.org. ##
21822 ## ------------------------------------ ##
21825 sed "s/^/$as_me: WARNING: /" >&2
21828 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21829 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21830 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21831 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21832 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21833 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21836 ## ------------------------------------ ##
21837 ## Report this to bug-autoconf@gnu.org. ##
21838 ## ------------------------------------ ##
21841 sed "s/^/$as_me: WARNING: /" >&2
21844 echo "$as_me:$LINENO: checking for $ac_header" >&5
21845 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21846 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21847 echo $ECHO_N "(cached) $ECHO_C" >&6
21849 eval "$as_ac_Header=$ac_header_preproc"
21851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21852 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21855 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21856 cat >>confdefs.h <<_ACEOF
21857 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21865 for ac_func in getpagesize
21867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21868 echo "$as_me:$LINENO: checking for $ac_func" >&5
21869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21870 if eval "test \"\${$as_ac_var+set}\" = set"; then
21871 echo $ECHO_N "(cached) $ECHO_C" >&6
21873 cat >conftest.$ac_ext <<_ACEOF
21874 #line $LINENO "configure"
21877 cat confdefs.h >>conftest.$ac_ext
21878 cat >>conftest.$ac_ext <<_ACEOF
21879 /* end confdefs.h. */
21880 /* System header to define __stub macros and hopefully few prototypes,
21881 which can conflict with char $ac_func (); below.
21882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21883 <limits.h> exists even on freestanding compilers. */
21885 # include <limits.h>
21887 # include <assert.h>
21889 /* Override any gcc2 internal prototype to avoid an error. */
21894 /* We use char because int might match the return type of a gcc2
21895 builtin and then its argument prototype would still apply. */
21897 /* The GNU C library defines this for functions which it implements
21898 to always fail with ENOSYS. Some functions are actually named
21899 something starting with __ and the normal name is an alias. */
21900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21903 char (*f) () = $ac_func;
21912 return f != $ac_func;
21917 rm -f conftest.$ac_objext conftest$ac_exeext
21918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21919 (eval $ac_link) 2>&5
21921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21922 (exit $ac_status); } &&
21923 { ac_try='test -s conftest$ac_exeext'
21924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21925 (eval $ac_try) 2>&5
21927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21928 (exit $ac_status); }; }; then
21929 eval "$as_ac_var=yes"
21931 echo "$as_me: failed program was:" >&5
21932 sed 's/^/| /' conftest.$ac_ext >&5
21934 eval "$as_ac_var=no"
21936 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21940 if test `eval echo '${'$as_ac_var'}'` = yes; then
21941 cat >>confdefs.h <<_ACEOF
21942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21948 echo "$as_me:$LINENO: checking for working mmap" >&5
21949 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
21950 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
21951 echo $ECHO_N "(cached) $ECHO_C" >&6
21953 if test "$cross_compiling" = yes; then
21954 ac_cv_func_mmap_fixed_mapped=no
21956 cat >conftest.$ac_ext <<_ACEOF
21957 #line $LINENO "configure"
21960 cat confdefs.h >>conftest.$ac_ext
21961 cat >>conftest.$ac_ext <<_ACEOF
21962 /* end confdefs.h. */
21963 $ac_includes_default
21964 /* malloc might have been renamed as rpl_malloc. */
21967 /* Thanks to Mike Haertel and Jim Avera for this test.
21968 Here is a matrix of mmap possibilities:
21969 mmap private not fixed
21970 mmap private fixed at somewhere currently unmapped
21971 mmap private fixed at somewhere already mapped
21972 mmap shared not fixed
21973 mmap shared fixed at somewhere currently unmapped
21974 mmap shared fixed at somewhere already mapped
21975 For private mappings, we should verify that changes cannot be read()
21976 back from the file, nor mmap's back from the file at a different
21977 address. (There have been systems where private was not correctly
21978 implemented like the infamous i386 svr4.0, and systems where the
21979 VM page cache was not coherent with the file system buffer cache
21980 like early versions of FreeBSD and possibly contemporary NetBSD.)
21981 For shared mappings, we should conversely verify that changes get
21982 propagated back to all the places they're supposed to be.
21984 Grep wants private fixed already mapped.
21985 The main things grep needs to know about mmap are:
21986 * does it exist and is it safe to write into the mmap'd area
21987 * how to use it (BSD variants) */
21990 #include <sys/mman.h>
21992 #if !STDC_HEADERS && !HAVE_STDLIB_H
21996 /* This mess was copied from the GNU getpagesize.h. */
21997 #if !HAVE_GETPAGESIZE
21998 /* Assume that all systems that can run configure have sys/param.h. */
21999 # if !HAVE_SYS_PARAM_H
22000 # define HAVE_SYS_PARAM_H 1
22003 # ifdef _SC_PAGESIZE
22004 # define getpagesize() sysconf(_SC_PAGESIZE)
22005 # else /* no _SC_PAGESIZE */
22006 # if HAVE_SYS_PARAM_H
22007 # include <sys/param.h>
22008 # ifdef EXEC_PAGESIZE
22009 # define getpagesize() EXEC_PAGESIZE
22010 # else /* no EXEC_PAGESIZE */
22012 # define getpagesize() NBPG * CLSIZE
22015 # endif /* no CLSIZE */
22016 # else /* no NBPG */
22018 # define getpagesize() NBPC
22019 # else /* no NBPC */
22021 # define getpagesize() PAGESIZE
22022 # endif /* PAGESIZE */
22023 # endif /* no NBPC */
22024 # endif /* no NBPG */
22025 # endif /* no EXEC_PAGESIZE */
22026 # else /* no HAVE_SYS_PARAM_H */
22027 # define getpagesize() 8192 /* punt totally */
22028 # endif /* no HAVE_SYS_PARAM_H */
22029 # endif /* no _SC_PAGESIZE */
22031 #endif /* no HAVE_GETPAGESIZE */
22036 char *data, *data2, *data3;
22040 pagesize = getpagesize ();
22042 /* First, make a file with some known garbage in it. */
22043 data = (char *) malloc (pagesize);
22046 for (i = 0; i < pagesize; ++i)
22047 *(data + i) = rand ();
22049 fd = creat ("conftest.mmap", 0600);
22052 if (write (fd, data, pagesize) != pagesize)
22056 /* Next, try to mmap the file at a fixed address which already has
22057 something else allocated at it. If we can, also make sure that
22058 we see the same garbage. */
22059 fd = open ("conftest.mmap", O_RDWR);
22062 data2 = (char *) malloc (2 * pagesize);
22065 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
22066 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22067 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22069 for (i = 0; i < pagesize; ++i)
22070 if (*(data + i) != *(data2 + i))
22073 /* Finally, make sure that changes to the mapped area do not
22074 percolate back to the file as seen by read(). (This is a bug on
22075 some variants of i386 svr4.0.) */
22076 for (i = 0; i < pagesize; ++i)
22077 *(data2 + i) = *(data2 + i) + 1;
22078 data3 = (char *) malloc (pagesize);
22081 if (read (fd, data3, pagesize) != pagesize)
22083 for (i = 0; i < pagesize; ++i)
22084 if (*(data + i) != *(data3 + i))
22090 rm -f conftest$ac_exeext
22091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22092 (eval $ac_link) 2>&5
22094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22095 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22097 (eval $ac_try) 2>&5
22099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22100 (exit $ac_status); }; }; then
22101 ac_cv_func_mmap_fixed_mapped=yes
22103 echo "$as_me: program exited with status $ac_status" >&5
22104 echo "$as_me: failed program was:" >&5
22105 sed 's/^/| /' conftest.$ac_ext >&5
22107 ( exit $ac_status )
22108 ac_cv_func_mmap_fixed_mapped=no
22110 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22113 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22114 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22115 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22117 cat >>confdefs.h <<\_ACEOF
22118 #define HAVE_MMAP 1
22122 rm -f conftest.mmap
22124 echo "$as_me:$LINENO: checking for mmap of files" >&5
22125 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6
22126 if test "${ac_cv_func_mmap_file+set}" = set; then
22127 echo $ECHO_N "(cached) $ECHO_C" >&6
22132 ac_cpp='$CPP $CPPFLAGS'
22133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22137 if test "$cross_compiling" = yes; then
22138 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22139 See \`config.log' for more details." >&5
22140 echo "$as_me: error: cannot run test program while cross compiling
22141 See \`config.log' for more details." >&2;}
22142 { (exit 1); exit 1; }; }
22144 cat >conftest.$ac_ext <<_ACEOF
22145 #line $LINENO "configure"
22148 cat confdefs.h >>conftest.$ac_ext
22149 cat >>conftest.$ac_ext <<_ACEOF
22150 /* end confdefs.h. */
22152 #ifdef HAVE_SYS_MMAN_H
22153 #include <sys/mman.h>
22156 #ifdef HAVE_SYS_TYPES_H
22157 #include <sys/types.h>
22160 #ifdef HAVE_FCNTL_H
22166 fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != MAP_FAILED);}
22168 rm -f conftest$ac_exeext
22169 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22170 (eval $ac_link) 2>&5
22172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22173 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22175 (eval $ac_try) 2>&5
22177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22178 (exit $ac_status); }; }; then
22179 ac_cv_func_mmap_file=yes
22181 echo "$as_me: program exited with status $ac_status" >&5
22182 echo "$as_me: failed program was:" >&5
22183 sed 's/^/| /' conftest.$ac_ext >&5
22185 ( exit $ac_status )
22186 ac_cv_func_mmap_file=no
22188 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22191 ac_cpp='$CPP $CPPFLAGS'
22192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22198 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
22199 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
22200 if test "$ac_cv_func_mmap_file" = yes; then
22201 cat >>confdefs.h <<\_ACEOF
22202 #define HAVE_MMAP_FILE 1
22209 if test ${ac_cv_func_mmap_file} = "no"
22211 { { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5
22212 echo "$as_me: error: mmap() of files required but not found" >&2;}
22213 { (exit 1); exit 1; }; }
22215 echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
22216 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6
22217 if test "${ac_cv_header_mmap_anon+set}" = set; then
22218 echo $ECHO_N "(cached) $ECHO_C" >&6
22223 ac_cpp='$CPP $CPPFLAGS'
22224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22228 cat >conftest.$ac_ext <<_ACEOF
22229 #line $LINENO "configure"
22232 cat confdefs.h >>conftest.$ac_ext
22233 cat >>conftest.$ac_ext <<_ACEOF
22234 /* end confdefs.h. */
22235 #include <sys/mman.h>
22236 #include <unistd.h>
22241 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
22246 rm -f conftest.$ac_objext
22247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22248 (eval $ac_compile) 2>&5
22250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22251 (exit $ac_status); } &&
22252 { ac_try='test -s conftest.$ac_objext'
22253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22254 (eval $ac_try) 2>&5
22256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22257 (exit $ac_status); }; }; then
22258 ac_cv_header_mmap_anon=yes
22260 echo "$as_me: failed program was:" >&5
22261 sed 's/^/| /' conftest.$ac_ext >&5
22263 ac_cv_header_mmap_anon=no
22265 rm -f conftest.$ac_objext conftest.$ac_ext
22267 ac_cpp='$CPP $CPPFLAGS'
22268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22274 echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
22275 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6
22276 if test "$ac_cv_header_mmap_anon" = yes; then
22277 cat >>confdefs.h <<\_ACEOF
22278 #define HAVE_MMAP_ANONYMOUS 1
22283 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
22284 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
22285 if test "${ac_cv_type_signal+set}" = set; then
22286 echo $ECHO_N "(cached) $ECHO_C" >&6
22288 cat >conftest.$ac_ext <<_ACEOF
22289 #line $LINENO "configure"
22292 cat confdefs.h >>conftest.$ac_ext
22293 cat >>conftest.$ac_ext <<_ACEOF
22294 /* end confdefs.h. */
22295 #include <sys/types.h>
22296 #include <signal.h>
22301 extern "C" void (*signal (int, void (*)(int)))(int);
22303 void (*signal ()) ();
22314 rm -f conftest.$ac_objext
22315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22316 (eval $ac_compile) 2>&5
22318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22319 (exit $ac_status); } &&
22320 { ac_try='test -s conftest.$ac_objext'
22321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22322 (eval $ac_try) 2>&5
22324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22325 (exit $ac_status); }; }; then
22326 ac_cv_type_signal=void
22328 echo "$as_me: failed program was:" >&5
22329 sed 's/^/| /' conftest.$ac_ext >&5
22331 ac_cv_type_signal=int
22333 rm -f conftest.$ac_objext conftest.$ac_ext
22335 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
22336 echo "${ECHO_T}$ac_cv_type_signal" >&6
22338 cat >>confdefs.h <<_ACEOF
22339 #define RETSIGTYPE $ac_cv_type_signal
22352 for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol
22354 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22355 echo "$as_me:$LINENO: checking for $ac_func" >&5
22356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22357 if eval "test \"\${$as_ac_var+set}\" = set"; then
22358 echo $ECHO_N "(cached) $ECHO_C" >&6
22360 cat >conftest.$ac_ext <<_ACEOF
22361 #line $LINENO "configure"
22364 cat confdefs.h >>conftest.$ac_ext
22365 cat >>conftest.$ac_ext <<_ACEOF
22366 /* end confdefs.h. */
22367 /* System header to define __stub macros and hopefully few prototypes,
22368 which can conflict with char $ac_func (); below.
22369 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22370 <limits.h> exists even on freestanding compilers. */
22372 # include <limits.h>
22374 # include <assert.h>
22376 /* Override any gcc2 internal prototype to avoid an error. */
22381 /* We use char because int might match the return type of a gcc2
22382 builtin and then its argument prototype would still apply. */
22384 /* The GNU C library defines this for functions which it implements
22385 to always fail with ENOSYS. Some functions are actually named
22386 something starting with __ and the normal name is an alias. */
22387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22390 char (*f) () = $ac_func;
22399 return f != $ac_func;
22404 rm -f conftest.$ac_objext conftest$ac_exeext
22405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22406 (eval $ac_link) 2>&5
22408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22409 (exit $ac_status); } &&
22410 { ac_try='test -s conftest$ac_exeext'
22411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22412 (eval $ac_try) 2>&5
22414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22415 (exit $ac_status); }; }; then
22416 eval "$as_ac_var=yes"
22418 echo "$as_me: failed program was:" >&5
22419 sed 's/^/| /' conftest.$ac_ext >&5
22421 eval "$as_ac_var=no"
22423 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22427 if test `eval echo '${'$as_ac_var'}'` = yes; then
22428 cat >>confdefs.h <<_ACEOF
22429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22437 echo "$as_me:$LINENO: checking for mmap" >&5
22438 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
22439 if test "${ac_cv_func_mmap+set}" = set; then
22440 echo $ECHO_N "(cached) $ECHO_C" >&6
22442 cat >conftest.$ac_ext <<_ACEOF
22443 #line $LINENO "configure"
22446 cat confdefs.h >>conftest.$ac_ext
22447 cat >>conftest.$ac_ext <<_ACEOF
22448 /* end confdefs.h. */
22449 /* System header to define __stub macros and hopefully few prototypes,
22450 which can conflict with char mmap (); below.
22451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22452 <limits.h> exists even on freestanding compilers. */
22454 # include <limits.h>
22456 # include <assert.h>
22458 /* Override any gcc2 internal prototype to avoid an error. */
22463 /* We use char because int might match the return type of a gcc2
22464 builtin and then its argument prototype would still apply. */
22466 /* The GNU C library defines this for functions which it implements
22467 to always fail with ENOSYS. Some functions are actually named
22468 something starting with __ and the normal name is an alias. */
22469 #if defined (__stub_mmap) || defined (__stub___mmap)
22472 char (*f) () = mmap;
22486 rm -f conftest.$ac_objext conftest$ac_exeext
22487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22488 (eval $ac_link) 2>&5
22490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22491 (exit $ac_status); } &&
22492 { ac_try='test -s conftest$ac_exeext'
22493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22494 (eval $ac_try) 2>&5
22496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22497 (exit $ac_status); }; }; then
22498 ac_cv_func_mmap=yes
22500 echo "$as_me: failed program was:" >&5
22501 sed 's/^/| /' conftest.$ac_ext >&5
22505 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22507 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
22508 echo "${ECHO_T}$ac_cv_func_mmap" >&6
22509 if test $ac_cv_func_mmap = yes; then
22512 { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5
22513 echo "$as_me: error: Function mmap() required but not found" >&2;}
22514 { (exit 1); exit 1; }; }
22517 echo "$as_me:$LINENO: checking for mprotect" >&5
22518 echo $ECHO_N "checking for mprotect... $ECHO_C" >&6
22519 if test "${ac_cv_func_mprotect+set}" = set; then
22520 echo $ECHO_N "(cached) $ECHO_C" >&6
22522 cat >conftest.$ac_ext <<_ACEOF
22523 #line $LINENO "configure"
22526 cat confdefs.h >>conftest.$ac_ext
22527 cat >>conftest.$ac_ext <<_ACEOF
22528 /* end confdefs.h. */
22529 /* System header to define __stub macros and hopefully few prototypes,
22530 which can conflict with char mprotect (); below.
22531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22532 <limits.h> exists even on freestanding compilers. */
22534 # include <limits.h>
22536 # include <assert.h>
22538 /* Override any gcc2 internal prototype to avoid an error. */
22543 /* We use char because int might match the return type of a gcc2
22544 builtin and then its argument prototype would still apply. */
22546 /* The GNU C library defines this for functions which it implements
22547 to always fail with ENOSYS. Some functions are actually named
22548 something starting with __ and the normal name is an alias. */
22549 #if defined (__stub_mprotect) || defined (__stub___mprotect)
22552 char (*f) () = mprotect;
22561 return f != mprotect;
22566 rm -f conftest.$ac_objext conftest$ac_exeext
22567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22568 (eval $ac_link) 2>&5
22570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22571 (exit $ac_status); } &&
22572 { ac_try='test -s conftest$ac_exeext'
22573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22574 (eval $ac_try) 2>&5
22576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577 (exit $ac_status); }; }; then
22578 ac_cv_func_mprotect=yes
22580 echo "$as_me: failed program was:" >&5
22581 sed 's/^/| /' conftest.$ac_ext >&5
22583 ac_cv_func_mprotect=no
22585 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22587 echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
22588 echo "${ECHO_T}$ac_cv_func_mprotect" >&6
22589 if test $ac_cv_func_mprotect = yes; then
22592 { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5
22593 echo "$as_me: error: Function mprotect() required but not found" >&2;}
22594 { (exit 1); exit 1; }; }
22599 # Check whether --enable-purify or --disable-purify was given.
22600 if test "${enable_purify+set}" = set; then
22601 enableval="$enable_purify"
22606 if test ${enableval} = "no"
22611 ENABLE_PURIFY=ENABLE_PURIFY=1
22615 # Check whether --enable-optimized or --disable-optimized was given.
22616 if test "${enable_optimized+set}" = set; then
22617 enableval="$enable_optimized"
22622 if test ${enableval} = "no"
22627 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
22631 # Check whether --enable-spec or --disable-spec was given.
22632 if test "${enable_spec+set}" = set; then
22633 enableval="$enable_spec"
22638 if test ${enableval} = "no"
22643 USE_SPEC=USE_SPEC=1
22647 # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given.
22648 if test "${enable_precompiled_bytecode+set}" = set; then
22649 enableval="$enable_precompiled_bytecode"
22654 if test ${enableval} = "no"
22659 UPB=USE_PRECOMPILED_BYTECODE=1
22664 # Check whether --enable-llc_diffs or --disable-llc_diffs was given.
22665 if test "${enable_llc_diffs+set}" = set; then
22666 enableval="$enable_llc_diffs"
22671 if test ${enableval} = "no"
22673 DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1
22680 # Check whether --enable-jit or --disable-jit was given.
22681 if test "${enable_jit+set}" = set; then
22682 enableval="$enable_jit"
22688 if test ${enableval} = "no"
22695 JIT=TARGET_HAS_JIT=1
22699 JIT=TARGET_HAS_JIT=1
22711 # Check whether --with-spec or --without-spec was given.
22712 if test "${with_spec+set}" = set; then
22713 withval="$with_spec"
22717 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
22722 # Check whether --with-llvmgccdir or --without-llvmgccdir was given.
22723 if test "${with_llvmgccdir+set}" = set; then
22724 withval="$with_llvmgccdir"
22725 LLVMGCCDIR=$withval
22730 # Check whether --with-bcrepos or --without-bcrepos was given.
22731 if test "${with_bcrepos+set}" = set; then
22732 withval="$with_bcrepos"
22736 BCR=/home/vadve/lattner/LLVMPrograms
22741 # Check whether --with-papi or --without-papi was given.
22742 if test "${with_papi+set}" = set; then
22743 withval="$with_papi"
22747 PAPIDIR=/home/vadve/shared/Sparc/papi-2.3.4.1
22752 # Check whether --with-purify or --without-purify was given.
22753 if test "${with_purify+set}" = set; then
22754 withval="$with_purify"
22760 ac_config_files="$ac_config_files Makefile.config"
22761 cat >confcache <<\_ACEOF
22762 # This file is a shell script that caches the results of configure
22763 # tests run on this system so they can be shared between configure
22764 # scripts and configure runs, see configure's option --config-cache.
22765 # It is not useful on other systems. If it contains results you don't
22766 # want to keep, you may remove or edit it.
22768 # config.status only pays attention to the cache file if you give it
22769 # the --recheck option to rerun configure.
22771 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22772 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22773 # following values.
22777 # The following way of writing the cache mishandles newlines in values,
22778 # but we know of no workaround that is simple, portable, and efficient.
22779 # So, don't put newlines in cache variables' values.
22780 # Ultrix sh set writes to stderr and can't be redirected directly,
22781 # and sets the high bit in the cache file unless we assign to the vars.
22784 case `(ac_space=' '; set | grep ac_space) 2>&1` in
22786 # `set' does not quote correctly, so add quotes (double-quote
22787 # substitution turns \\\\ into \\, and sed turns \\ into \).
22790 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22793 # `set' quotes correctly as required by POSIX, so do not add quotes.
22795 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
22802 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
22804 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22806 if diff $cache_file confcache >/dev/null 2>&1; then :; else
22807 if test -w $cache_file; then
22808 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
22809 cat confcache >$cache_file
22811 echo "not updating unwritable cache $cache_file"
22816 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22817 # Let make expand exec_prefix.
22818 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22820 # VPATH may cause trouble with some makes, so we remove $(srcdir),
22821 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22822 # trailing colons and then remove the whole line if VPATH becomes empty
22823 # (actually we leave an empty line to preserve line numbers).
22824 if test "x$srcdir" = x.; then
22825 ac_vpsub='/^[ ]*VPATH[ ]*=/{
22826 s/:*\$(srcdir):*/:/;
22827 s/:*\${srcdir}:*/:/;
22829 s/^\([^=]*=[ ]*\):*/\1/;
22835 DEFS=-DHAVE_CONFIG_H
22839 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22840 # 1. Remove the extension, and $U if already installed.
22841 ac_i=`echo "$ac_i" |
22842 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
22844 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
22845 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
22847 LIBOBJS=$ac_libobjs
22849 LTLIBOBJS=$ac_ltlibobjs
22853 : ${CONFIG_STATUS=./config.status}
22854 ac_clean_files_save=$ac_clean_files
22855 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22856 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
22857 echo "$as_me: creating $CONFIG_STATUS" >&6;}
22858 cat >$CONFIG_STATUS <<_ACEOF
22860 # Generated by $as_me.
22861 # Run this file to recreate the current configuration.
22862 # Compiler output produced by configure, useful for debugging
22863 # configure, is in config.log if it exists.
22866 ac_cs_recheck=false
22868 SHELL=\${CONFIG_SHELL-$SHELL}
22871 cat >>$CONFIG_STATUS <<\_ACEOF
22872 ## --------------------- ##
22873 ## M4sh Initialization. ##
22874 ## --------------------- ##
22876 # Be Bourne compatible
22877 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
22880 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
22881 # is contrary to our usage. Disable this feature.
22882 alias -g '${1+"$@"}'='"$@"'
22883 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22887 # Support unset when possible.
22888 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
22895 # Work around bugs in pre-3.0 UWIN ksh.
22896 $as_unset ENV MAIL MAILPATH
22903 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
22904 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
22905 LC_TELEPHONE LC_TIME
22907 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
22908 eval $as_var=C; export $as_var
22914 # Required to use basename.
22915 if expr a : '\(a\)' >/dev/null 2>&1; then
22921 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
22922 as_basename=basename
22928 # Name of the executable.
22929 as_me=`$as_basename "$0" ||
22930 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22931 X"$0" : 'X\(//\)$' \| \
22932 X"$0" : 'X\(/\)$' \| \
22933 . : '\(.\)' 2>/dev/null ||
22935 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
22936 /^X\/\(\/\/\)$/{ s//\1/; q; }
22937 /^X\/\(\/\).*/{ s//\1/; q; }
22941 # PATH needs CR, and LINENO needs CR and PATH.
22942 # Avoid depending upon Character Ranges.
22943 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22944 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22945 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22946 as_cr_digits='0123456789'
22947 as_cr_alnum=$as_cr_Letters$as_cr_digits
22949 # The user is always right.
22950 if test "${PATH_SEPARATOR+set}" != set; then
22951 echo "#! /bin/sh" >conf$$.sh
22952 echo "exit 0" >>conf$$.sh
22954 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
22963 as_lineno_1=$LINENO
22964 as_lineno_2=$LINENO
22965 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
22966 test "x$as_lineno_1" != "x$as_lineno_2" &&
22967 test "x$as_lineno_3" = "x$as_lineno_2" || {
22968 # Find who we are. Look in the path if we contain no path at all
22971 *[\\/]* ) as_myself=$0 ;;
22972 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22973 for as_dir in $PATH
22976 test -z "$as_dir" && as_dir=.
22977 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
22982 # We did not find ourselves, most probably we were run as `sh COMMAND'
22983 # in which case we are not to be found in the path.
22984 if test "x$as_myself" = x; then
22987 if test ! -f "$as_myself"; then
22988 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
22989 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
22990 { (exit 1); exit 1; }; }
22992 case $CONFIG_SHELL in
22994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22995 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
22998 test -z "$as_dir" && as_dir=.
22999 for as_base in sh bash ksh sh5; do
23002 if ("$as_dir/$as_base" -c '
23003 as_lineno_1=$LINENO
23004 as_lineno_2=$LINENO
23005 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23006 test "x$as_lineno_1" != "x$as_lineno_2" &&
23007 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
23008 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23009 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23010 CONFIG_SHELL=$as_dir/$as_base
23011 export CONFIG_SHELL
23012 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23020 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23021 # uniformly replaced by the line number. The first 'sed' inserts a
23022 # line-number line before each line; the second 'sed' does the real
23023 # work. The second script uses 'N' to pair each line-number line
23024 # with the numbered line, and appends trailing '-' during
23025 # substitution so that $LINENO is not a special case at line end.
23026 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23027 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23028 sed '=' <$as_myself |
23033 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23036 s,^['$as_cr_digits']*\n,,
23037 ' >$as_me.lineno &&
23038 chmod +x $as_me.lineno ||
23039 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23040 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23041 { (exit 1); exit 1; }; }
23043 # Don't try to exec as it changes $[0], causing all sort of problems
23044 # (the dirname of $[0] is not the place where we might find the
23045 # original and so on. Autoconf is especially sensible to this).
23047 # Exit status is that of the last command.
23052 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23053 *c*,-n*) ECHO_N= ECHO_C='
23055 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23056 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23059 if expr a : '\(a\)' >/dev/null 2>&1; then
23065 rm -f conf$$ conf$$.exe conf$$.file
23067 if ln -s conf$$.file conf$$ 2>/dev/null; then
23068 # We could just check for DJGPP; but this test a) works b) is more generic
23069 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23070 if test -f conf$$.exe; then
23071 # Don't use ln at all; we don't have any links
23076 elif ln conf$$.file conf$$ 2>/dev/null; then
23081 rm -f conf$$ conf$$.exe conf$$.file
23083 if mkdir -p . 2>/dev/null; then
23089 as_executable_p="test -f"
23091 # Sed expression to map a string onto a valid CPP name.
23092 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23094 # Sed expression to map a string onto a valid variable name.
23095 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
23099 # We need space, tab and new line, in precisely that order.
23109 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23110 # report actual input values of CONFIG_FILES etc. instead of their
23111 # values after options handling. Logging --version etc. is OK.
23115 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23116 ## Running $as_me. ##
23121 This file was extended by [LLVM] $as_me [1.0], which was
23122 generated by GNU Autoconf 2.57. Invocation command line was
23124 CONFIG_FILES = $CONFIG_FILES
23125 CONFIG_HEADERS = $CONFIG_HEADERS
23126 CONFIG_LINKS = $CONFIG_LINKS
23127 CONFIG_COMMANDS = $CONFIG_COMMANDS
23131 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23135 # Files that config.status was made for.
23136 if test -n "$ac_config_files"; then
23137 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23140 if test -n "$ac_config_headers"; then
23141 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23144 if test -n "$ac_config_links"; then
23145 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23148 if test -n "$ac_config_commands"; then
23149 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23152 cat >>$CONFIG_STATUS <<\_ACEOF
23155 \`$as_me' instantiates files from templates according to the
23156 current configuration.
23158 Usage: $0 [OPTIONS] [FILE]...
23160 -h, --help print this help, then exit
23161 -V, --version print version number, then exit
23162 -q, --quiet do not print progress messages
23163 -d, --debug don't remove temporary files
23164 --recheck update $as_me by reconfiguring in the same conditions
23165 --file=FILE[:TEMPLATE]
23166 instantiate the configuration file FILE
23167 --header=FILE[:TEMPLATE]
23168 instantiate the configuration header FILE
23170 Configuration files:
23173 Configuration headers:
23176 Configuration commands:
23179 Report bugs to <bug-autoconf@gnu.org>."
23182 cat >>$CONFIG_STATUS <<_ACEOF
23184 [LLVM] config.status [1.0]
23185 configured by $0, generated by GNU Autoconf 2.57,
23186 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23188 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
23189 Free Software Foundation, Inc.
23190 This config.status script is free software; the Free Software Foundation
23191 gives unlimited permission to copy, distribute and modify it."
23196 cat >>$CONFIG_STATUS <<\_ACEOF
23197 # If no file are specified by the user, then we need to provide default
23198 # value. By we need to know if files were specified by the user.
23204 ac_option=`expr "x$1" : 'x\([^=]*\)='`
23205 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23213 *) # This is not an option, so the user has probably given explicit
23216 ac_need_defaults=false;;
23220 # Handling of the options.
23222 cat >>$CONFIG_STATUS <<\_ACEOF
23223 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23225 --version | --vers* | -V )
23226 echo "$ac_cs_version"; exit 0 ;;
23228 # Conflict between --help and --header
23229 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23230 Try \`$0 --help' for more information." >&5
23231 echo "$as_me: error: ambiguous option: $1
23232 Try \`$0 --help' for more information." >&2;}
23233 { (exit 1); exit 1; }; };;
23234 --help | --hel | -h )
23235 echo "$ac_cs_usage"; exit 0 ;;
23236 --debug | --d* | -d )
23238 --file | --fil | --fi | --f )
23240 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23241 ac_need_defaults=false;;
23242 --header | --heade | --head | --hea )
23244 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23245 ac_need_defaults=false;;
23246 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23247 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23250 # This is an error.
23251 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23252 Try \`$0 --help' for more information." >&5
23253 echo "$as_me: error: unrecognized option: $1
23254 Try \`$0 --help' for more information." >&2;}
23255 { (exit 1); exit 1; }; } ;;
23257 *) ac_config_targets="$ac_config_targets $1" ;;
23263 ac_configure_extra_args=
23265 if $ac_cs_silent; then
23267 ac_configure_extra_args="$ac_configure_extra_args --silent"
23271 cat >>$CONFIG_STATUS <<_ACEOF
23272 if \$ac_cs_recheck; then
23273 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23274 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23279 cat >>$CONFIG_STATUS <<_ACEOF
23281 # INIT-COMMANDS section.
23284 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
23285 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common`
23286 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.rules`
23287 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
23288 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/Makefile`
23289 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/DataStructure/Makefile`
23290 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/IPA/Makefile`
23291 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/LiveVar/Makefile`
23292 ${srcdir}/autoconf/mkinstalldirs `dirname lib/AsmParser/Makefile`
23293 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Makefile`
23294 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Reader/Makefile`
23295 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Writer/Makefile`
23296 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CWriter/Makefile`
23297 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/Makefile`
23298 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSched/Makefile`
23299 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSelection/Makefile`
23300 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/ModuloScheduling/Makefile`
23301 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/RegAlloc/Makefile`
23302 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/SelectionDAG/Makefile`
23303 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Makefile`
23304 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Interpreter/Makefile`
23305 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/JIT/Makefile`
23306 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Support/Makefile`
23307 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Makefile`
23308 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Sparc/Makefile`
23309 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/X86/Makefile`
23310 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Makefile`
23311 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Hello/Makefile`
23312 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/IPO/Makefile`
23313 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/Makefile`
23314 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/ProfilePaths/Makefile`
23315 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Scalar/Makefile`
23316 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Utils/Makefile`
23317 ${srcdir}/autoconf/mkinstalldirs `dirname lib/VMCore/Makefile`
23318 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile`
23319 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/Makefile`
23320 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/crtend/Makefile`
23321 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libc/Makefile`
23322 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libcurses/Makefile`
23323 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libexception/Makefile`
23324 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libg/Makefile`
23325 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libgcc/Makefile`
23326 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libm/Makefile`
23327 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libmalloc/Makefile`
23328 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libtermcap/Makefile`
23329 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libucb/Makefile`
23330 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutempter/Makefile`
23331 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutil/Makefile`
23332 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libdummy/Makefile`
23333 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libtrace/Makefile`
23334 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile`
23335 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests`
23336 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile`
23337 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.programs`
23338 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.Makefile`
23339 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.report`
23340 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.report`
23341 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.report`
23342 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.example.Makefile`
23343 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.Makefile`
23344 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.buildrepo.Makefile`
23345 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.Makefile`
23346 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.report`
23347 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.Makefile`
23348 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.report`
23349 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.typesafe.Makefile`
23350 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.gnuplot`
23351 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.Makefile`
23352 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/Makefile`
23353 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile`
23354 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile.spec`
23355 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/Makefile`
23356 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/179.art/Makefile`
23357 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/183.equake/Makefile`
23358 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/188.ammp/Makefile`
23359 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/Makefile`
23360 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/164.gzip/Makefile`
23361 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/175.vpr/Makefile`
23362 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/176.gcc/Makefile`
23363 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/181.mcf/Makefile`
23364 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/186.crafty/Makefile`
23365 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/197.parser/Makefile`
23366 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/254.gap/Makefile`
23367 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/255.vortex/Makefile`
23368 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile`
23369 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/300.twolf/Makefile`
23370 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/LLVMSource/Makefile`
23371 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile`
23372 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile.multisrc`
23373 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Makefile`
23374 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Burg/Makefile`
23375 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/aha/Makefile`
23376 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/sgefa/Makefile`
23377 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Makefile`
23378 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile`
23379 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/Makefile`
23380 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile`
23381 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile`
23382 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile`
23383 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile`
23384 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile`
23385 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile`
23386 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile`
23387 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile`
23388 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile`
23389 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile`
23390 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/Makefile`
23391 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile`
23392 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile`
23393 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile`
23394 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/health/Makefile`
23395 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile`
23396 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile`
23397 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/power/Makefile`
23398 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile`
23399 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile`
23400 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile`
23401 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile`
23402 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile`
23403 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile`
23404 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile`
23405 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile`
23406 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile`
23407 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile`
23408 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile`
23409 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/sim/Makefile`
23410 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Makefile`
23411 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Flex/Makefile`
23412 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Larn/Makefile`
23413 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Moria-5.5.2/Makefile`
23414 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/Povray31/Makefile`
23415 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/NoSource/m4/Makefile`
23416 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile`
23417 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile.singlesrc`
23418 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Gizmos/Makefile`
23419 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Makefile`
23420 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile`
23421 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Shootout/Makefile`
23422 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Stanford/Makefile`
23423 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Misc/Makefile`
23424 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/CustomChecked/Makefile`
23425 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/Makefile`
23426 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile`
23427 ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
23428 ${srcdir}/autoconf/mkinstalldirs `dirname tools/analyze/Makefile`
23429 ${srcdir}/autoconf/mkinstalldirs `dirname tools/as/Makefile`
23430 ${srcdir}/autoconf/mkinstalldirs `dirname tools/bugpoint/Makefile`
23431 ${srcdir}/autoconf/mkinstalldirs `dirname tools/dis/Makefile`
23432 ${srcdir}/autoconf/mkinstalldirs `dirname tools/extract/Makefile`
23433 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccas/Makefile`
23434 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccld/Makefile`
23435 ${srcdir}/autoconf/mkinstalldirs `dirname tools/link/Makefile`
23436 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llc/Makefile`
23437 ${srcdir}/autoconf/mkinstalldirs `dirname tools/lli/Makefile`
23438 ${srcdir}/autoconf/mkinstalldirs `dirname tools/opt/Makefile`
23439 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llee/Makefile`
23440 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-as/Makefile`
23441 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-ar/Makefile`
23442 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-dis/Makefile`
23443 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Makefile`
23444 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Makefile`
23445 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Doc/Makefile`
23446 ${srcdir}/autoconf/mkinstalldirs `dirname utils/TableGen/Makefile`
23447 ${srcdir}/autoconf/mkinstalldirs `dirname www/docs/Makefile`
23448 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile`
23449 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile`
23450 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.common`
23451 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/Makefile.config`
23452 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/Makefile`
23453 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/lib/sample/Makefile`
23454 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/Makefile`
23455 ${srcdir}/autoconf/mkinstalldirs `dirname projects/sample/tools/sample/Makefile`
23456 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile`
23457 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile.common`
23458 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/Makefile`
23459 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/ModuleMaker/Makefile`
23465 cat >>$CONFIG_STATUS <<\_ACEOF
23466 for ac_config_target in $ac_config_targets
23468 case "$ac_config_target" in
23469 # Handling of arguments.
23470 "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
23471 "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23472 "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;;
23473 "Makefile.rules" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.rules" ;;
23474 "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
23475 "lib/Analysis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/Makefile" ;;
23476 "lib/Analysis/DataStructure/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/DataStructure/Makefile" ;;
23477 "lib/Analysis/IPA/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/IPA/Makefile" ;;
23478 "lib/Analysis/LiveVar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/LiveVar/Makefile" ;;
23479 "lib/AsmParser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/AsmParser/Makefile" ;;
23480 "lib/Bytecode/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Makefile" ;;
23481 "lib/Bytecode/Reader/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Reader/Makefile" ;;
23482 "lib/Bytecode/Writer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Writer/Makefile" ;;
23483 "lib/CWriter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CWriter/Makefile" ;;
23484 "lib/CodeGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/Makefile" ;;
23485 "lib/CodeGen/InstrSched/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSched/Makefile" ;;
23486 "lib/CodeGen/InstrSelection/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSelection/Makefile" ;;
23487 "lib/CodeGen/ModuloScheduling/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/ModuloScheduling/Makefile" ;;
23488 "lib/CodeGen/RegAlloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/RegAlloc/Makefile" ;;
23489 "lib/CodeGen/SelectionDAG/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/SelectionDAG/Makefile" ;;
23490 "lib/ExecutionEngine/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Makefile" ;;
23491 "lib/ExecutionEngine/Interpreter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Interpreter/Makefile" ;;
23492 "lib/ExecutionEngine/JIT/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/JIT/Makefile" ;;
23493 "lib/Support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Support/Makefile" ;;
23494 "lib/Target/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Makefile" ;;
23495 "lib/Target/Sparc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Sparc/Makefile" ;;
23496 "lib/Target/X86/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/X86/Makefile" ;;
23497 "lib/Transforms/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Makefile" ;;
23498 "lib/Transforms/Hello/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Hello/Makefile" ;;
23499 "lib/Transforms/IPO/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/IPO/Makefile" ;;
23500 "lib/Transforms/Instrumentation/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/Makefile" ;;
23501 "lib/Transforms/Instrumentation/ProfilePaths/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/ProfilePaths/Makefile" ;;
23502 "lib/Transforms/Scalar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Scalar/Makefile" ;;
23503 "lib/Transforms/Utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Utils/Makefile" ;;
23504 "lib/VMCore/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/VMCore/Makefile" ;;
23505 "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;;
23506 "runtime/GCCLibraries/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/Makefile" ;;
23507 "runtime/GCCLibraries/crtend/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/crtend/Makefile" ;;
23508 "runtime/GCCLibraries/libc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libc/Makefile" ;;
23509 "runtime/GCCLibraries/libcurses/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libcurses/Makefile" ;;
23510 "runtime/GCCLibraries/libexception/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libexception/Makefile" ;;
23511 "runtime/GCCLibraries/libg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libg/Makefile" ;;
23512 "runtime/GCCLibraries/libgcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libgcc/Makefile" ;;
23513 "runtime/GCCLibraries/libm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libm/Makefile" ;;
23514 "runtime/GCCLibraries/libmalloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libmalloc/Makefile" ;;
23515 "runtime/GCCLibraries/libtermcap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libtermcap/Makefile" ;;
23516 "runtime/GCCLibraries/libucb/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libucb/Makefile" ;;
23517 "runtime/GCCLibraries/libutempter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutempter/Makefile" ;;
23518 "runtime/GCCLibraries/libutil/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutil/Makefile" ;;
23519 "runtime/libdummy/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libdummy/Makefile" ;;
23520 "runtime/libtrace/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libtrace/Makefile" ;;
23521 "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;;
23522 "test/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile.tests" ;;
23523 "test/Programs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile" ;;
23524 "test/Programs/Makefile.programs" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.programs" ;;
23525 "test/Programs/TEST.aa.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.Makefile" ;;
23526 "test/Programs/TEST.dsgraph.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.report" ;;
23527 "test/Programs/TEST.micro.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.report" ;;
23528 "test/Programs/TEST.aa.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.report" ;;
23529 "test/Programs/TEST.example.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.example.Makefile" ;;
23530 "test/Programs/TEST.nightly.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.Makefile" ;;
23531 "test/Programs/TEST.buildrepo.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.buildrepo.Makefile" ;;
23532 "test/Programs/TEST.jit.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.Makefile" ;;
23533 "test/Programs/TEST.nightly.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.report" ;;
23534 "test/Programs/TEST.dsgraph.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.Makefile" ;;
23535 "test/Programs/TEST.jit.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.report" ;;
23536 "test/Programs/TEST.typesafe.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.typesafe.Makefile" ;;
23537 "test/Programs/TEST.dsgraph.gnuplot" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.gnuplot" ;;
23538 "test/Programs/TEST.micro.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.Makefile" ;;
23539 "test/Programs/External/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/Makefile" ;;
23540 "test/Programs/External/SPEC/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile" ;;
23541 "test/Programs/External/SPEC/Makefile.spec" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile.spec" ;;
23542 "test/Programs/External/SPEC/CFP2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/Makefile" ;;
23543 "test/Programs/External/SPEC/CFP2000/179.art/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/179.art/Makefile" ;;
23544 "test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ;;
23545 "test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ;;
23546 "test/Programs/External/SPEC/CINT2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/Makefile" ;;
23547 "test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ;;
23548 "test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ;;
23549 "test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ;;
23550 "test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ;;
23551 "test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ;;
23552 "test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ;;
23553 "test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ;;
23554 "test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ;;
23555 "test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ;;
23556 "test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ;;
23557 "test/Programs/LLVMSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/LLVMSource/Makefile" ;;
23558 "test/Programs/MultiSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile" ;;
23559 "test/Programs/MultiSource/Makefile.multisrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile.multisrc" ;;
23560 "test/Programs/MultiSource/Applications/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Makefile" ;;
23561 "test/Programs/MultiSource/Applications/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Burg/Makefile" ;;
23562 "test/Programs/MultiSource/Applications/aha/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/aha/Makefile" ;;
23563 "test/Programs/MultiSource/Applications/sgefa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/sgefa/Makefile" ;;
23564 "test/Programs/MultiSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Makefile" ;;
23565 "test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ;;
23566 "test/Programs/MultiSource/Benchmarks/McCat/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/Makefile" ;;
23567 "test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ;;
23568 "test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ;;
23569 "test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ;;
23570 "test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ;;
23571 "test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ;;
23572 "test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ;;
23573 "test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ;;
23574 "test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ;;
23575 "test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ;;
23576 "test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ;;
23577 "test/Programs/MultiSource/Benchmarks/Olden/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/Makefile" ;;
23578 "test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ;;
23579 "test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ;;
23580 "test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ;;
23581 "test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ;;
23582 "test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ;;
23583 "test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ;;
23584 "test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ;;
23585 "test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ;;
23586 "test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ;;
23587 "test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ;;
23588 "test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ;;
23589 "test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ;;
23590 "test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ;;
23591 "test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ;;
23592 "test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ;;
23593 "test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ;;
23594 "test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ;;
23595 "test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ;;
23596 "test/Programs/MultiSource/Benchmarks/sim/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/sim/Makefile" ;;
23597 "test/Programs/NoSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Makefile" ;;
23598 "test/Programs/NoSource/Flex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Flex/Makefile" ;;
23599 "test/Programs/NoSource/Larn/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Larn/Makefile" ;;
23600 "test/Programs/NoSource/Moria-5.5.2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Moria-5.5.2/Makefile" ;;
23601 "test/Programs/NoSource/Povray31/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/Povray31/Makefile" ;;
23602 "test/Programs/NoSource/m4/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/NoSource/m4/Makefile" ;;
23603 "test/Programs/SingleSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile" ;;
23604 "test/Programs/SingleSource/Makefile.singlesrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile.singlesrc" ;;
23605 "test/Programs/SingleSource/Gizmos/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Gizmos/Makefile" ;;
23606 "test/Programs/SingleSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Makefile" ;;
23607 "test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ;;
23608 "test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ;;
23609 "test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ;;
23610 "test/Programs/SingleSource/Benchmarks/Misc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Misc/Makefile" ;;
23611 "test/Programs/SingleSource/CustomChecked/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/CustomChecked/Makefile" ;;
23612 "test/Programs/SingleSource/UnitTests/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/Makefile" ;;
23613 "test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ;;
23614 "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
23615 "tools/analyze/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/analyze/Makefile" ;;
23616 "tools/as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/as/Makefile" ;;
23617 "tools/bugpoint/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/bugpoint/Makefile" ;;
23618 "tools/dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/dis/Makefile" ;;
23619 "tools/extract/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/extract/Makefile" ;;
23620 "tools/gccas/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccas/Makefile" ;;
23621 "tools/gccld/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccld/Makefile" ;;
23622 "tools/link/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/link/Makefile" ;;
23623 "tools/llc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llc/Makefile" ;;
23624 "tools/lli/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/lli/Makefile" ;;
23625 "tools/opt/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/opt/Makefile" ;;
23626 "tools/llee/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llee/Makefile" ;;
23627 "tools/llvm-as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-as/Makefile" ;;
23628 "tools/llvm-ar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-ar/Makefile" ;;
23629 "tools/llvm-dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-dis/Makefile" ;;
23630 "utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Makefile" ;;
23631 "utils/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Makefile" ;;
23632 "utils/Burg/Doc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Doc/Makefile" ;;
23633 "utils/TableGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/TableGen/Makefile" ;;
23634 "www/docs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS www/docs/Makefile" ;;
23635 "projects/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Makefile" ;;
23636 "projects/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile" ;;
23637 "projects/sample/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.common" ;;
23638 "projects/sample/Makefile.config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/Makefile.config" ;;
23639 "projects/sample/lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/Makefile" ;;
23640 "projects/sample/lib/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/lib/sample/Makefile" ;;
23641 "projects/sample/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/Makefile" ;;
23642 "projects/sample/tools/sample/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/sample/tools/sample/Makefile" ;;
23643 "projects/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile" ;;
23644 "projects/ModuleMaker/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile.common" ;;
23645 "projects/ModuleMaker/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/Makefile" ;;
23646 "projects/ModuleMaker/tools/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/ModuleMaker/Makefile" ;;
23647 "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;;
23648 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
23649 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
23650 { (exit 1); exit 1; }; };;
23654 # If the user did not use the arguments to specify the items to instantiate,
23655 # then the envvar interface is used. Set only those that are not.
23656 # We use the long form for the default assignment because of an extremely
23657 # bizarre bug on SunOS 4.1.3.
23658 if $ac_need_defaults; then
23659 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
23660 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
23661 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
23664 # Have a temporary directory for convenience. Make it in the build tree
23665 # simply because there is no reason to put it here, and in addition,
23666 # creating and moving files from /tmp can sometimes cause problems.
23667 # Create a temporary directory, and hook for its removal unless debugging.
23670 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23671 trap '{ (exit 1); exit 1; }' 1 2 13 15
23674 # Create a (secure) tmp directory for tmp files.
23677 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23678 test -n "$tmp" && test -d "$tmp"
23681 tmp=./confstat$$-$RANDOM
23682 (umask 077 && mkdir $tmp)
23685 echo "$me: cannot create a temporary directory in ." >&2
23686 { (exit 1); exit 1; }
23691 cat >>$CONFIG_STATUS <<_ACEOF
23694 # CONFIG_FILES section.
23697 # No need to generate the scripts if there are no CONFIG_FILES.
23698 # This happens for instance when ./config.status config.h
23699 if test -n "\$CONFIG_FILES"; then
23700 # Protect against being on the right side of a sed subst in config.status.
23701 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
23702 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
23703 s,@SHELL@,$SHELL,;t t
23704 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
23705 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
23706 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
23707 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
23708 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
23709 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
23710 s,@exec_prefix@,$exec_prefix,;t t
23711 s,@prefix@,$prefix,;t t
23712 s,@program_transform_name@,$program_transform_name,;t t
23713 s,@bindir@,$bindir,;t t
23714 s,@sbindir@,$sbindir,;t t
23715 s,@libexecdir@,$libexecdir,;t t
23716 s,@datadir@,$datadir,;t t
23717 s,@sysconfdir@,$sysconfdir,;t t
23718 s,@sharedstatedir@,$sharedstatedir,;t t
23719 s,@localstatedir@,$localstatedir,;t t
23720 s,@libdir@,$libdir,;t t
23721 s,@includedir@,$includedir,;t t
23722 s,@oldincludedir@,$oldincludedir,;t t
23723 s,@infodir@,$infodir,;t t
23724 s,@mandir@,$mandir,;t t
23725 s,@build_alias@,$build_alias,;t t
23726 s,@host_alias@,$host_alias,;t t
23727 s,@target_alias@,$target_alias,;t t
23728 s,@DEFS@,$DEFS,;t t
23729 s,@ECHO_C@,$ECHO_C,;t t
23730 s,@ECHO_N@,$ECHO_N,;t t
23731 s,@ECHO_T@,$ECHO_T,;t t
23732 s,@LIBS@,$LIBS,;t t
23733 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
23734 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
23735 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
23736 s,@build@,$build,;t t
23737 s,@build_cpu@,$build_cpu,;t t
23738 s,@build_vendor@,$build_vendor,;t t
23739 s,@build_os@,$build_os,;t t
23740 s,@host@,$host,;t t
23741 s,@host_cpu@,$host_cpu,;t t
23742 s,@host_vendor@,$host_vendor,;t t
23743 s,@host_os@,$host_os,;t t
23744 s,@target@,$target,;t t
23745 s,@target_cpu@,$target_cpu,;t t
23746 s,@target_vendor@,$target_vendor,;t t
23747 s,@target_os@,$target_os,;t t
23749 s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t
23750 s,@ARCH@,$ARCH,;t t
23752 s,@CXXFLAGS@,$CXXFLAGS,;t t
23753 s,@LDFLAGS@,$LDFLAGS,;t t
23754 s,@CPPFLAGS@,$CPPFLAGS,;t t
23755 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
23756 s,@EXEEXT@,$EXEEXT,;t t
23757 s,@OBJEXT@,$OBJEXT,;t t
23759 s,@CFLAGS@,$CFLAGS,;t t
23760 s,@ac_ct_CC@,$ac_ct_CC,;t t
23762 s,@ifGNUmake@,$ifGNUmake,;t t
23764 s,@LEXLIB@,$LEXLIB,;t t
23765 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
23766 s,@YACC@,$YACC,;t t
23767 s,@EGREP@,$EGREP,;t t
23768 s,@LN_S@,$LN_S,;t t
23769 s,@ECHO@,$ECHO,;t t
23771 s,@ac_ct_AR@,$ac_ct_AR,;t t
23772 s,@RANLIB@,$RANLIB,;t t
23773 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
23774 s,@STRIP@,$STRIP,;t t
23775 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
23776 s,@CXXCPP@,$CXXCPP,;t t
23778 s,@FFLAGS@,$FFLAGS,;t t
23779 s,@ac_ct_F77@,$ac_ct_F77,;t t
23780 s,@LIBTOOL@,$LIBTOOL,;t t
23781 s,@RPWD@,$RPWD,;t t
23784 s,@MKDIR@,$MKDIR,;t t
23785 s,@DATE@,$DATE,;t t
23788 s,@ETAGS@,$ETAGS,;t t
23789 s,@PURIFY@,$PURIFY,;t t
23790 s,@PYTHON@,$PYTHON,;t t
23791 s,@QMTEST@,$QMTEST,;t t
23792 s,@ALLOCA@,$ALLOCA,;t t
23793 s,@LIBOBJS@,$LIBOBJS,;t t
23794 s,@MMAP_FILE@,$MMAP_FILE,;t t
23795 s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t
23796 s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t
23797 s,@USE_SPEC@,$USE_SPEC,;t t
23799 s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t
23801 s,@SPEC_ROOT@,$SPEC_ROOT,;t t
23803 s,@PAPIDIR@,$PAPIDIR,;t t
23804 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
23809 cat >>$CONFIG_STATUS <<\_ACEOF
23810 # Split the substitutions into bite-sized pieces for seds with
23811 # small command number limits, like on Digital OSF/1 and HP-UX.
23812 ac_max_sed_lines=48
23813 ac_sed_frag=1 # Number of current file.
23814 ac_beg=1 # First line for current file.
23815 ac_end=$ac_max_sed_lines # Line after last line for current file.
23818 while $ac_more_lines; do
23819 if test $ac_beg -gt 1; then
23820 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23822 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
23824 if test ! -s $tmp/subs.frag; then
23825 ac_more_lines=false
23827 # The purpose of the label and of the branching condition is to
23828 # speed up the sed processing (if there are no `@' at all, there
23829 # is no need to browse any of the substitutions).
23830 # These are the two extra sed commands mentioned above.
23832 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
23833 if test -z "$ac_sed_cmds"; then
23834 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
23836 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
23838 ac_sed_frag=`expr $ac_sed_frag + 1`
23840 ac_end=`expr $ac_end + $ac_max_sed_lines`
23843 if test -z "$ac_sed_cmds"; then
23846 fi # test -n "$CONFIG_FILES"
23849 cat >>$CONFIG_STATUS <<\_ACEOF
23850 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
23851 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
23853 - | *:- | *:-:* ) # input from stdin
23855 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23856 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23857 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
23858 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
23859 * ) ac_file_in=$ac_file.in ;;
23862 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
23863 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23864 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23865 X"$ac_file" : 'X\(//\)[^/]' \| \
23866 X"$ac_file" : 'X\(//\)$' \| \
23867 X"$ac_file" : 'X\(/\)' \| \
23868 . : '\(.\)' 2>/dev/null ||
23870 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23871 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23872 /^X\(\/\/\)$/{ s//\1/; q; }
23873 /^X\(\/\).*/{ s//\1/; q; }
23875 { if $as_mkdir_p; then
23880 while test ! -d "$as_dir"; do
23881 as_dirs="$as_dir $as_dirs"
23882 as_dir=`(dirname "$as_dir") 2>/dev/null ||
23883 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23884 X"$as_dir" : 'X\(//\)[^/]' \| \
23885 X"$as_dir" : 'X\(//\)$' \| \
23886 X"$as_dir" : 'X\(/\)' \| \
23887 . : '\(.\)' 2>/dev/null ||
23889 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
23890 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
23891 /^X\(\/\/\)$/{ s//\1/; q; }
23892 /^X\(\/\).*/{ s//\1/; q; }
23895 test ! -n "$as_dirs" || mkdir $as_dirs
23896 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
23897 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23898 { (exit 1); exit 1; }; }; }
23902 if test "$ac_dir" != .; then
23903 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
23904 # A "../" for each directory in $ac_dir_suffix.
23905 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
23907 ac_dir_suffix= ac_top_builddir=
23911 .) # No --srcdir option. We are building in place.
23913 if test -z "$ac_top_builddir"; then
23916 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
23918 [\\/]* | ?:[\\/]* ) # Absolute path.
23919 ac_srcdir=$srcdir$ac_dir_suffix;
23920 ac_top_srcdir=$srcdir ;;
23921 *) # Relative path.
23922 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
23923 ac_top_srcdir=$ac_top_builddir$srcdir ;;
23925 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
23927 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
23928 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
23929 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
23930 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
23934 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
23935 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
23938 if test x"$ac_file" != x-; then
23939 { echo "$as_me:$LINENO: creating $ac_file" >&5
23940 echo "$as_me: creating $ac_file" >&6;}
23943 # Let's still pretend it is `configure' which instantiates (i.e., don't
23944 # use $as_me), people would be surprised to read:
23945 # /* config.h. Generated by config.status. */
23946 if test x"$ac_file" = x-; then
23949 configure_input="$ac_file. "
23951 configure_input=$configure_input"Generated from `echo $ac_file_in |
23952 sed 's,.*/,,'` by configure."
23954 # First look for the input files in the build tree, otherwise in the
23956 ac_file_inputs=`IFS=:
23957 for f in $ac_file_in; do
23959 -) echo $tmp/stdin ;;
23961 # Absolute (can't be DOS-style, as IFS=:)
23962 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23963 echo "$as_me: error: cannot find input file: $f" >&2;}
23964 { (exit 1); exit 1; }; }
23967 if test -f "$f"; then
23970 elif test -f "$srcdir/$f"; then
23975 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
23976 echo "$as_me: error: cannot find input file: $f" >&2;}
23977 { (exit 1); exit 1; }; }
23980 done` || { (exit 1); exit 1; }
23982 cat >>$CONFIG_STATUS <<_ACEOF
23986 cat >>$CONFIG_STATUS <<\_ACEOF
23988 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23989 s,@configure_input@,$configure_input,;t t
23990 s,@srcdir@,$ac_srcdir,;t t
23991 s,@abs_srcdir@,$ac_abs_srcdir,;t t
23992 s,@top_srcdir@,$ac_top_srcdir,;t t
23993 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
23994 s,@builddir@,$ac_builddir,;t t
23995 s,@abs_builddir@,$ac_abs_builddir,;t t
23996 s,@top_builddir@,$ac_top_builddir,;t t
23997 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
23998 s,@INSTALL@,$ac_INSTALL,;t t
23999 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24001 if test x"$ac_file" != x-; then
24002 mv $tmp/out $ac_file
24010 cat >>$CONFIG_STATUS <<\_ACEOF
24013 # CONFIG_HEADER section.
24016 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24017 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24019 # ac_d sets the value in "#define NAME VALUE" lines.
24020 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24021 ac_dB='[ ].*$,\1#\2'
24024 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24025 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24026 ac_uB='$,\1#\2define\3'
24030 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24031 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24033 - | *:- | *:-:* ) # input from stdin
24035 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24036 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24037 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24038 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24039 * ) ac_file_in=$ac_file.in ;;
24042 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24043 echo "$as_me: creating $ac_file" >&6;}
24045 # First look for the input files in the build tree, otherwise in the
24047 ac_file_inputs=`IFS=:
24048 for f in $ac_file_in; do
24050 -) echo $tmp/stdin ;;
24052 # Absolute (can't be DOS-style, as IFS=:)
24053 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24054 echo "$as_me: error: cannot find input file: $f" >&2;}
24055 { (exit 1); exit 1; }; }
24058 if test -f "$f"; then
24061 elif test -f "$srcdir/$f"; then
24066 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24067 echo "$as_me: error: cannot find input file: $f" >&2;}
24068 { (exit 1); exit 1; }; }
24071 done` || { (exit 1); exit 1; }
24072 # Remove the trailing spaces.
24073 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24077 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24078 # `conftest.undefs', that substitutes the proper values into
24079 # config.h.in to produce config.h. The first handles `#define'
24080 # templates, and the second `#undef' templates.
24081 # And first: Protect against being on the right side of a sed subst in
24082 # config.status. Protect against being in an unquoted here document
24083 # in config.status.
24084 rm -f conftest.defines conftest.undefs
24085 # Using a here document instead of a string reduces the quoting nightmare.
24086 # Putting comments in sed scripts is not portable.
24088 # `end' is used to avoid that the second main sed command (meant for
24089 # 0-ary CPP macros) applies to n-ary macro definitions.
24090 # See the Autoconf documentation for `clear'.
24091 cat >confdef2sed.sed <<\_ACEOF
24096 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24098 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24101 # If some macros were called several times there might be several times
24102 # the same #defines, which is useless. Nevertheless, we may not want to
24103 # sort them, since we want the *last* AC-DEFINE to be honored.
24104 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24105 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24106 rm -f confdef2sed.sed
24108 # This sed command replaces #undef with comments. This is necessary, for
24109 # example, in the case of _POSIX_SOURCE, which is predefined and required
24110 # on some systems where configure will not decide to define it.
24111 cat >>conftest.undefs <<\_ACEOF
24112 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24115 # Break up conftest.defines because some shells have a limit on the size
24116 # of here documents, and old seds have small limits too (100 cmds).
24117 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24118 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24119 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24120 echo ' :' >>$CONFIG_STATUS
24121 rm -f conftest.tail
24122 while grep . conftest.defines >/dev/null
24124 # Write a limited-size here document to $tmp/defines.sed.
24125 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24126 # Speed up: don't consider the non `#define' lines.
24127 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24128 # Work around the forget-to-reset-the-flag bug.
24129 echo 't clr' >>$CONFIG_STATUS
24130 echo ': clr' >>$CONFIG_STATUS
24131 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24133 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24135 mv $tmp/out $tmp/in
24137 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24138 rm -f conftest.defines
24139 mv conftest.tail conftest.defines
24141 rm -f conftest.defines
24142 echo ' fi # grep' >>$CONFIG_STATUS
24143 echo >>$CONFIG_STATUS
24145 # Break up conftest.undefs because some shells have a limit on the size
24146 # of here documents, and old seds have small limits too (100 cmds).
24147 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24148 rm -f conftest.tail
24149 while grep . conftest.undefs >/dev/null
24151 # Write a limited-size here document to $tmp/undefs.sed.
24152 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24153 # Speed up: don't consider the non `#undef'
24154 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24155 # Work around the forget-to-reset-the-flag bug.
24156 echo 't clr' >>$CONFIG_STATUS
24157 echo ': clr' >>$CONFIG_STATUS
24158 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24160 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24162 mv $tmp/out $tmp/in
24164 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24165 rm -f conftest.undefs
24166 mv conftest.tail conftest.undefs
24168 rm -f conftest.undefs
24170 cat >>$CONFIG_STATUS <<\_ACEOF
24171 # Let's still pretend it is `configure' which instantiates (i.e., don't
24172 # use $as_me), people would be surprised to read:
24173 # /* config.h. Generated by config.status. */
24174 if test x"$ac_file" = x-; then
24175 echo "/* Generated by configure. */" >$tmp/config.h
24177 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24179 cat $tmp/in >>$tmp/config.h
24181 if test x"$ac_file" != x-; then
24182 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24183 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24184 echo "$as_me: $ac_file is unchanged" >&6;}
24186 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24187 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24188 X"$ac_file" : 'X\(//\)[^/]' \| \
24189 X"$ac_file" : 'X\(//\)$' \| \
24190 X"$ac_file" : 'X\(/\)' \| \
24191 . : '\(.\)' 2>/dev/null ||
24193 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24194 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24195 /^X\(\/\/\)$/{ s//\1/; q; }
24196 /^X\(\/\).*/{ s//\1/; q; }
24198 { if $as_mkdir_p; then
24203 while test ! -d "$as_dir"; do
24204 as_dirs="$as_dir $as_dirs"
24205 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24206 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24207 X"$as_dir" : 'X\(//\)[^/]' \| \
24208 X"$as_dir" : 'X\(//\)$' \| \
24209 X"$as_dir" : 'X\(/\)' \| \
24210 . : '\(.\)' 2>/dev/null ||
24212 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24213 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24214 /^X\(\/\/\)$/{ s//\1/; q; }
24215 /^X\(\/\).*/{ s//\1/; q; }
24218 test ! -n "$as_dirs" || mkdir $as_dirs
24219 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24220 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24221 { (exit 1); exit 1; }; }; }
24224 mv $tmp/config.h $ac_file
24228 rm -f $tmp/config.h
24232 cat >>$CONFIG_STATUS <<\_ACEOF
24235 # CONFIG_COMMANDS section.
24237 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24238 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24239 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24240 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24241 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24242 X"$ac_dest" : 'X\(//\)[^/]' \| \
24243 X"$ac_dest" : 'X\(//\)$' \| \
24244 X"$ac_dest" : 'X\(/\)' \| \
24245 . : '\(.\)' 2>/dev/null ||
24247 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24248 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24249 /^X\(\/\/\)$/{ s//\1/; q; }
24250 /^X\(\/\).*/{ s//\1/; q; }
24254 if test "$ac_dir" != .; then
24255 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24256 # A "../" for each directory in $ac_dir_suffix.
24257 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24259 ac_dir_suffix= ac_top_builddir=
24263 .) # No --srcdir option. We are building in place.
24265 if test -z "$ac_top_builddir"; then
24268 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24270 [\\/]* | ?:[\\/]* ) # Absolute path.
24271 ac_srcdir=$srcdir$ac_dir_suffix;
24272 ac_top_srcdir=$srcdir ;;
24273 *) # Relative path.
24274 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24275 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24277 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24279 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24280 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24281 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24282 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24285 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24286 echo "$as_me: executing $ac_dest commands" >&6;}
24288 Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
24289 Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common ;;
24290 Makefile.rules ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.rules Makefile.rules ;;
24291 lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
24292 lib/Analysis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/Makefile lib/Analysis/Makefile ;;
24293 lib/Analysis/DataStructure/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/DataStructure/Makefile lib/Analysis/DataStructure/Makefile ;;
24294 lib/Analysis/IPA/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/IPA/Makefile lib/Analysis/IPA/Makefile ;;
24295 lib/Analysis/LiveVar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/LiveVar/Makefile lib/Analysis/LiveVar/Makefile ;;
24296 lib/AsmParser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/AsmParser/Makefile lib/AsmParser/Makefile ;;
24297 lib/Bytecode/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Makefile lib/Bytecode/Makefile ;;
24298 lib/Bytecode/Reader/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Reader/Makefile lib/Bytecode/Reader/Makefile ;;
24299 lib/Bytecode/Writer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Writer/Makefile lib/Bytecode/Writer/Makefile ;;
24300 lib/CWriter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CWriter/Makefile lib/CWriter/Makefile ;;
24301 lib/CodeGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/Makefile lib/CodeGen/Makefile ;;
24302 lib/CodeGen/InstrSched/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSched/Makefile lib/CodeGen/InstrSched/Makefile ;;
24303 lib/CodeGen/InstrSelection/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSelection/Makefile lib/CodeGen/InstrSelection/Makefile ;;
24304 lib/CodeGen/ModuloScheduling/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/ModuloScheduling/Makefile lib/CodeGen/ModuloScheduling/Makefile ;;
24305 lib/CodeGen/RegAlloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/RegAlloc/Makefile lib/CodeGen/RegAlloc/Makefile ;;
24306 lib/CodeGen/SelectionDAG/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/SelectionDAG/Makefile lib/CodeGen/SelectionDAG/Makefile ;;
24307 lib/ExecutionEngine/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Makefile lib/ExecutionEngine/Makefile ;;
24308 lib/ExecutionEngine/Interpreter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Interpreter/Makefile lib/ExecutionEngine/Interpreter/Makefile ;;
24309 lib/ExecutionEngine/JIT/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/JIT/Makefile lib/ExecutionEngine/JIT/Makefile ;;
24310 lib/Support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Support/Makefile lib/Support/Makefile ;;
24311 lib/Target/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Makefile lib/Target/Makefile ;;
24312 lib/Target/Sparc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Sparc/Makefile lib/Target/Sparc/Makefile ;;
24313 lib/Target/X86/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/X86/Makefile lib/Target/X86/Makefile ;;
24314 lib/Transforms/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Makefile lib/Transforms/Makefile ;;
24315 lib/Transforms/Hello/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Hello/Makefile lib/Transforms/Hello/Makefile ;;
24316 lib/Transforms/IPO/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/IPO/Makefile lib/Transforms/IPO/Makefile ;;
24317 lib/Transforms/Instrumentation/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/Makefile lib/Transforms/Instrumentation/Makefile ;;
24318 lib/Transforms/Instrumentation/ProfilePaths/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/ProfilePaths/Makefile lib/Transforms/Instrumentation/ProfilePaths/Makefile ;;
24319 lib/Transforms/Scalar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Scalar/Makefile lib/Transforms/Scalar/Makefile ;;
24320 lib/Transforms/Utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Utils/Makefile lib/Transforms/Utils/Makefile ;;
24321 lib/VMCore/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/VMCore/Makefile lib/VMCore/Makefile ;;
24322 runtime/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/Makefile runtime/Makefile ;;
24323 runtime/GCCLibraries/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/Makefile runtime/GCCLibraries/Makefile ;;
24324 runtime/GCCLibraries/crtend/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/crtend/Makefile runtime/GCCLibraries/crtend/Makefile ;;
24325 runtime/GCCLibraries/libc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libc/Makefile runtime/GCCLibraries/libc/Makefile ;;
24326 runtime/GCCLibraries/libcurses/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libcurses/Makefile runtime/GCCLibraries/libcurses/Makefile ;;
24327 runtime/GCCLibraries/libexception/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libexception/Makefile runtime/GCCLibraries/libexception/Makefile ;;
24328 runtime/GCCLibraries/libg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libg/Makefile runtime/GCCLibraries/libg/Makefile ;;
24329 runtime/GCCLibraries/libgcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libgcc/Makefile runtime/GCCLibraries/libgcc/Makefile ;;
24330 runtime/GCCLibraries/libm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libm/Makefile runtime/GCCLibraries/libm/Makefile ;;
24331 runtime/GCCLibraries/libmalloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libmalloc/Makefile runtime/GCCLibraries/libmalloc/Makefile ;;
24332 runtime/GCCLibraries/libtermcap/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libtermcap/Makefile runtime/GCCLibraries/libtermcap/Makefile ;;
24333 runtime/GCCLibraries/libucb/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libucb/Makefile runtime/GCCLibraries/libucb/Makefile ;;
24334 runtime/GCCLibraries/libutempter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutempter/Makefile runtime/GCCLibraries/libutempter/Makefile ;;
24335 runtime/GCCLibraries/libutil/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutil/Makefile runtime/GCCLibraries/libutil/Makefile ;;
24336 runtime/libdummy/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libdummy/Makefile runtime/libdummy/Makefile ;;
24337 runtime/libtrace/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libtrace/Makefile runtime/libtrace/Makefile ;;
24338 test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;;
24339 test/Makefile.tests ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile.tests test/Makefile.tests ;;
24340 test/Programs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile test/Programs/Makefile ;;
24341 test/Programs/Makefile.programs ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.programs test/Programs/Makefile.programs ;;
24342 test/Programs/TEST.aa.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.Makefile test/Programs/TEST.aa.Makefile ;;
24343 test/Programs/TEST.dsgraph.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.report test/Programs/TEST.dsgraph.report ;;
24344 test/Programs/TEST.micro.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.report test/Programs/TEST.micro.report ;;
24345 test/Programs/TEST.aa.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.report test/Programs/TEST.aa.report ;;
24346 test/Programs/TEST.example.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.example.Makefile test/Programs/TEST.example.Makefile ;;
24347 test/Programs/TEST.nightly.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.Makefile test/Programs/TEST.nightly.Makefile ;;
24348 test/Programs/TEST.buildrepo.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.buildrepo.Makefile test/Programs/TEST.buildrepo.Makefile ;;
24349 test/Programs/TEST.jit.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.Makefile test/Programs/TEST.jit.Makefile ;;
24350 test/Programs/TEST.nightly.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.report test/Programs/TEST.nightly.report ;;
24351 test/Programs/TEST.dsgraph.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.Makefile test/Programs/TEST.dsgraph.Makefile ;;
24352 test/Programs/TEST.jit.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.report test/Programs/TEST.jit.report ;;
24353 test/Programs/TEST.typesafe.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.typesafe.Makefile test/Programs/TEST.typesafe.Makefile ;;
24354 test/Programs/TEST.dsgraph.gnuplot ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.gnuplot test/Programs/TEST.dsgraph.gnuplot ;;
24355 test/Programs/TEST.micro.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.Makefile test/Programs/TEST.micro.Makefile ;;
24356 test/Programs/External/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/Makefile test/Programs/External/Makefile ;;
24357 test/Programs/External/SPEC/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile test/Programs/External/SPEC/Makefile ;;
24358 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 ;;
24359 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 ;;
24360 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 ;;
24361 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 ;;
24362 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 ;;
24363 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 ;;
24364 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 ;;
24365 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 ;;
24366 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 ;;
24367 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 ;;
24368 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 ;;
24369 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 ;;
24370 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 ;;
24371 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 ;;
24372 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 ;;
24373 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 ;;
24374 test/Programs/LLVMSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/LLVMSource/Makefile test/Programs/LLVMSource/Makefile ;;
24375 test/Programs/MultiSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile test/Programs/MultiSource/Makefile ;;
24376 test/Programs/MultiSource/Makefile.multisrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile.multisrc test/Programs/MultiSource/Makefile.multisrc ;;
24377 test/Programs/MultiSource/Applications/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/Makefile test/Programs/MultiSource/Applications/Makefile ;;
24378 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 ;;
24379 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 ;;
24380 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 ;;
24381 test/Programs/MultiSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Makefile test/Programs/MultiSource/Benchmarks/Makefile ;;
24382 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 ;;
24383 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 ;;
24384 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 ;;
24385 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 ;;
24386 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 ;;
24387 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 ;;
24388 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 ;;
24389 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 ;;
24390 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 ;;
24391 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 ;;
24392 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 ;;
24393 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 ;;
24394 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 ;;
24395 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 ;;
24396 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 ;;
24397 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 ;;
24398 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 ;;
24399 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 ;;
24400 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 ;;
24401 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 ;;
24402 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 ;;
24403 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 ;;
24404 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 ;;
24405 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 ;;
24406 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 ;;
24407 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 ;;
24408 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 ;;
24409 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 ;;
24410 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 ;;
24411 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 ;;
24412 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 ;;
24413 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 ;;
24414 test/Programs/NoSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Makefile test/Programs/NoSource/Makefile ;;
24415 test/Programs/NoSource/Flex/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Flex/Makefile test/Programs/NoSource/Flex/Makefile ;;
24416 test/Programs/NoSource/Larn/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Larn/Makefile test/Programs/NoSource/Larn/Makefile ;;
24417 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 ;;
24418 test/Programs/NoSource/Povray31/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/Povray31/Makefile test/Programs/NoSource/Povray31/Makefile ;;
24419 test/Programs/NoSource/m4/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/NoSource/m4/Makefile test/Programs/NoSource/m4/Makefile ;;
24420 test/Programs/SingleSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile test/Programs/SingleSource/Makefile ;;
24421 test/Programs/SingleSource/Makefile.singlesrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile.singlesrc test/Programs/SingleSource/Makefile.singlesrc ;;
24422 test/Programs/SingleSource/Gizmos/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Gizmos/Makefile test/Programs/SingleSource/Gizmos/Makefile ;;
24423 test/Programs/SingleSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Makefile test/Programs/SingleSource/Benchmarks/Makefile ;;
24424 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 ;;
24425 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 ;;
24426 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 ;;
24427 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 ;;
24428 test/Programs/SingleSource/CustomChecked/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/CustomChecked/Makefile test/Programs/SingleSource/CustomChecked/Makefile ;;
24429 test/Programs/SingleSource/UnitTests/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/Makefile test/Programs/SingleSource/UnitTests/Makefile ;;
24430 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 ;;
24431 tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
24432 tools/analyze/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/analyze/Makefile tools/analyze/Makefile ;;
24433 tools/as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/as/Makefile tools/as/Makefile ;;
24434 tools/bugpoint/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/bugpoint/Makefile tools/bugpoint/Makefile ;;
24435 tools/dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/dis/Makefile tools/dis/Makefile ;;
24436 tools/extract/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/extract/Makefile tools/extract/Makefile ;;
24437 tools/gccas/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccas/Makefile tools/gccas/Makefile ;;
24438 tools/gccld/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccld/Makefile tools/gccld/Makefile ;;
24439 tools/link/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/link/Makefile tools/link/Makefile ;;
24440 tools/llc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llc/Makefile tools/llc/Makefile ;;
24441 tools/lli/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/lli/Makefile tools/lli/Makefile ;;
24442 tools/opt/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/opt/Makefile tools/opt/Makefile ;;
24443 tools/llee/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llee/Makefile tools/llee/Makefile ;;
24444 tools/llvm-as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-as/Makefile tools/llvm-as/Makefile ;;
24445 tools/llvm-ar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-ar/Makefile tools/llvm-ar/Makefile ;;
24446 tools/llvm-dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-dis/Makefile tools/llvm-dis/Makefile ;;
24447 utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Makefile utils/Makefile ;;
24448 utils/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Makefile utils/Burg/Makefile ;;
24449 utils/Burg/Doc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Doc/Makefile utils/Burg/Doc/Makefile ;;
24450 utils/TableGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/TableGen/Makefile utils/TableGen/Makefile ;;
24451 www/docs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/www/docs/Makefile www/docs/Makefile ;;
24452 projects/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Makefile projects/Makefile ;;
24453 projects/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile projects/sample/Makefile ;;
24454 projects/sample/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.common projects/sample/Makefile.common ;;
24455 projects/sample/Makefile.config ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/Makefile.config projects/sample/Makefile.config ;;
24456 projects/sample/lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/Makefile projects/sample/lib/Makefile ;;
24457 projects/sample/lib/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/lib/sample/Makefile projects/sample/lib/sample/Makefile ;;
24458 projects/sample/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/Makefile projects/sample/tools/Makefile ;;
24459 projects/sample/tools/sample/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/sample/tools/sample/Makefile projects/sample/tools/sample/Makefile ;;
24460 projects/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile projects/ModuleMaker/Makefile ;;
24461 projects/ModuleMaker/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile.common projects/ModuleMaker/Makefile.common ;;
24462 projects/ModuleMaker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/Makefile projects/ModuleMaker/tools/Makefile ;;
24463 projects/ModuleMaker/tools/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/ModuleMaker/Makefile projects/ModuleMaker/tools/ModuleMaker/Makefile ;;
24468 cat >>$CONFIG_STATUS <<\_ACEOF
24470 { (exit 0); exit 0; }
24472 chmod +x $CONFIG_STATUS
24473 ac_clean_files=$ac_clean_files_save
24476 # configure is writing to config.log, and then calls config.status.
24477 # config.status does its own redirection, appending to config.log.
24478 # Unfortunately, on DOS this fails, as config.log is still kept open
24479 # by configure, so config.status won't be able to write to it; its
24480 # output is simply discarded. So we exec the FD to /dev/null,
24481 # effectively closing config.log, so it can be properly (re)opened and
24482 # appended to by config.status. When coming back to configure, we
24483 # need to make the FD available again.
24484 if test "$no_create" != yes; then
24486 ac_config_status_args=
24487 test "$silent" = yes &&
24488 ac_config_status_args="$ac_config_status_args --quiet"
24490 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
24492 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
24493 # would make configure fail if this is the last instruction.
24494 $ac_cs_success || { (exit 1); exit 1; }