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 ac_subdirs_all="$ac_subdirs_all projects/sample"
430 ac_subdirs_all="$ac_subdirs_all projects/reopt"
431 ac_subdirs_all="$ac_subdirs_all projects/poolalloc"
432 # Factoring default headers for most tests.
433 ac_includes_default="\
436 # include <sys/types.h>
439 # include <sys/stat.h>
450 # if !STDC_HEADERS && HAVE_MEMORY_H
456 # include <strings.h>
459 # include <inttypes.h>
469 ac_unique_file=""Makefile.config.in""
470 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 subdirs 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 PYTHON QMTEST ALLOCA LIBOBJS MMAP_FILE ENABLE_PURIFY ENABLE_OPTIMIZED SPEC_ROOT USE_SPEC UPB DISABLE_LLC_DIFFS JIT BCR PAPIDIR PURIFY LTLIBOBJS'
473 # Initialize some variables set by options.
475 ac_init_version=false
476 # The variables have the same names as the options, with
477 # dashes changed to underlines.
485 program_transform_name=s,x,x,
493 # Installation directory options.
494 # These are left unexpanded so users can "make install exec_prefix=/foo"
495 # and all the variables that are supposed to be based on exec_prefix
496 # by default will actually change.
497 # Use braces instead of parens because sh, perl, etc. also accept them.
498 bindir='${exec_prefix}/bin'
499 sbindir='${exec_prefix}/sbin'
500 libexecdir='${exec_prefix}/libexec'
501 datadir='${prefix}/share'
502 sysconfdir='${prefix}/etc'
503 sharedstatedir='${prefix}/com'
504 localstatedir='${prefix}/var'
505 libdir='${exec_prefix}/lib'
506 includedir='${prefix}/include'
507 oldincludedir='/usr/include'
508 infodir='${prefix}/info'
509 mandir='${prefix}/man'
514 # If the previous option needs an argument, assign it.
515 if test -n "$ac_prev"; then
516 eval "$ac_prev=\$ac_option"
521 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
523 # Accept the important Cygnus configure options, so we can diagnose typos.
527 -bindir | --bindir | --bindi | --bind | --bin | --bi)
529 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
532 -build | --build | --buil | --bui | --bu)
533 ac_prev=build_alias ;;
534 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
535 build_alias=$ac_optarg ;;
537 -cache-file | --cache-file | --cache-fil | --cache-fi \
538 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
539 ac_prev=cache_file ;;
540 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
541 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
542 cache_file=$ac_optarg ;;
545 cache_file=config.cache ;;
547 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
549 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
551 datadir=$ac_optarg ;;
553 -disable-* | --disable-*)
554 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
555 # Reject names that are not valid shell variable names.
556 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
557 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
558 { (exit 1); exit 1; }; }
559 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
560 eval "enable_$ac_feature=no" ;;
562 -enable-* | --enable-*)
563 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
564 # Reject names that are not valid shell variable names.
565 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
566 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
567 { (exit 1); exit 1; }; }
568 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
570 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
573 eval "enable_$ac_feature='$ac_optarg'" ;;
575 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
576 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
577 | --exec | --exe | --ex)
578 ac_prev=exec_prefix ;;
579 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
580 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
581 | --exec=* | --exe=* | --ex=*)
582 exec_prefix=$ac_optarg ;;
584 -gas | --gas | --ga | --g)
585 # Obsolete; use --with-gas.
588 -help | --help | --hel | --he | -h)
590 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
591 ac_init_help=recursive ;;
592 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
593 ac_init_help=short ;;
595 -host | --host | --hos | --ho)
596 ac_prev=host_alias ;;
597 -host=* | --host=* | --hos=* | --ho=*)
598 host_alias=$ac_optarg ;;
600 -includedir | --includedir | --includedi | --included | --include \
601 | --includ | --inclu | --incl | --inc)
602 ac_prev=includedir ;;
603 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
604 | --includ=* | --inclu=* | --incl=* | --inc=*)
605 includedir=$ac_optarg ;;
607 -infodir | --infodir | --infodi | --infod | --info | --inf)
609 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
610 infodir=$ac_optarg ;;
612 -libdir | --libdir | --libdi | --libd)
614 -libdir=* | --libdir=* | --libdi=* | --libd=*)
617 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
618 | --libexe | --libex | --libe)
619 ac_prev=libexecdir ;;
620 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
621 | --libexe=* | --libex=* | --libe=*)
622 libexecdir=$ac_optarg ;;
624 -localstatedir | --localstatedir | --localstatedi | --localstated \
625 | --localstate | --localstat | --localsta | --localst \
626 | --locals | --local | --loca | --loc | --lo)
627 ac_prev=localstatedir ;;
628 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
629 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
630 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
631 localstatedir=$ac_optarg ;;
633 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
635 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
639 # Obsolete; use --without-fp.
642 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
643 | --no-cr | --no-c | -n)
646 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
647 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
650 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
651 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
652 | --oldin | --oldi | --old | --ol | --o)
653 ac_prev=oldincludedir ;;
654 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
655 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
656 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
657 oldincludedir=$ac_optarg ;;
659 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
661 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
664 -program-prefix | --program-prefix | --program-prefi | --program-pref \
665 | --program-pre | --program-pr | --program-p)
666 ac_prev=program_prefix ;;
667 -program-prefix=* | --program-prefix=* | --program-prefi=* \
668 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
669 program_prefix=$ac_optarg ;;
671 -program-suffix | --program-suffix | --program-suffi | --program-suff \
672 | --program-suf | --program-su | --program-s)
673 ac_prev=program_suffix ;;
674 -program-suffix=* | --program-suffix=* | --program-suffi=* \
675 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
676 program_suffix=$ac_optarg ;;
678 -program-transform-name | --program-transform-name \
679 | --program-transform-nam | --program-transform-na \
680 | --program-transform-n | --program-transform- \
681 | --program-transform | --program-transfor \
682 | --program-transfo | --program-transf \
683 | --program-trans | --program-tran \
684 | --progr-tra | --program-tr | --program-t)
685 ac_prev=program_transform_name ;;
686 -program-transform-name=* | --program-transform-name=* \
687 | --program-transform-nam=* | --program-transform-na=* \
688 | --program-transform-n=* | --program-transform-=* \
689 | --program-transform=* | --program-transfor=* \
690 | --program-transfo=* | --program-transf=* \
691 | --program-trans=* | --program-tran=* \
692 | --progr-tra=* | --program-tr=* | --program-t=*)
693 program_transform_name=$ac_optarg ;;
695 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
696 | -silent | --silent | --silen | --sile | --sil)
699 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
701 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
703 sbindir=$ac_optarg ;;
705 -sharedstatedir | --sharedstatedir | --sharedstatedi \
706 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
707 | --sharedst | --shareds | --shared | --share | --shar \
709 ac_prev=sharedstatedir ;;
710 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
711 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
712 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
714 sharedstatedir=$ac_optarg ;;
716 -site | --site | --sit)
718 -site=* | --site=* | --sit=*)
721 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
723 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
726 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
727 | --syscon | --sysco | --sysc | --sys | --sy)
728 ac_prev=sysconfdir ;;
729 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
730 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
731 sysconfdir=$ac_optarg ;;
733 -target | --target | --targe | --targ | --tar | --ta | --t)
734 ac_prev=target_alias ;;
735 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
736 target_alias=$ac_optarg ;;
738 -v | -verbose | --verbose | --verbos | --verbo | --verb)
741 -version | --version | --versio | --versi | --vers | -V)
745 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
746 # Reject names that are not valid shell variable names.
747 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
748 { echo "$as_me: error: invalid package name: $ac_package" >&2
749 { (exit 1); exit 1; }; }
750 ac_package=`echo $ac_package| sed 's/-/_/g'`
752 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
755 eval "with_$ac_package='$ac_optarg'" ;;
757 -without-* | --without-*)
758 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
759 # Reject names that are not valid shell variable names.
760 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
761 { echo "$as_me: error: invalid package name: $ac_package" >&2
762 { (exit 1); exit 1; }; }
763 ac_package=`echo $ac_package | sed 's/-/_/g'`
764 eval "with_$ac_package=no" ;;
767 # Obsolete; use --with-x.
770 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
771 | --x-incl | --x-inc | --x-in | --x-i)
772 ac_prev=x_includes ;;
773 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
774 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
775 x_includes=$ac_optarg ;;
777 -x-libraries | --x-libraries | --x-librarie | --x-librari \
778 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
779 ac_prev=x_libraries ;;
780 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
781 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
782 x_libraries=$ac_optarg ;;
784 -*) { echo "$as_me: error: unrecognized option: $ac_option
785 Try \`$0 --help' for more information." >&2
786 { (exit 1); exit 1; }; }
790 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
791 # Reject names that are not valid shell variable names.
792 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
793 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
794 { (exit 1); exit 1; }; }
795 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
796 eval "$ac_envvar='$ac_optarg'"
800 # FIXME: should be removed in autoconf 3.0.
801 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
802 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
803 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
804 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
810 if test -n "$ac_prev"; then
811 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
812 { echo "$as_me: error: missing argument to $ac_option" >&2
813 { (exit 1); exit 1; }; }
816 # Be sure to have absolute paths.
817 for ac_var in exec_prefix prefix
819 eval ac_val=$`echo $ac_var`
821 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
822 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
823 { (exit 1); exit 1; }; };;
827 # Be sure to have absolute paths.
828 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
829 localstatedir libdir includedir oldincludedir infodir mandir
831 eval ac_val=$`echo $ac_var`
833 [\\/$]* | ?:[\\/]* ) ;;
834 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
835 { (exit 1); exit 1; }; };;
839 # There might be people who depend on the old broken behavior: `$host'
840 # used to hold the argument of --host etc.
841 # FIXME: To remove some day.
846 # FIXME: To remove some day.
847 if test "x$host_alias" != x; then
848 if test "x$build_alias" = x; then
849 cross_compiling=maybe
850 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
851 If a cross compiler is detected then cross compile mode will be used." >&2
852 elif test "x$build_alias" != "x$host_alias"; then
858 test -n "$host_alias" && ac_tool_prefix=$host_alias-
860 test "$silent" = yes && exec 6>/dev/null
863 # Find the source files, if location was not specified.
864 if test -z "$srcdir"; then
865 ac_srcdir_defaulted=yes
866 # Try the directory containing this script, then its parent.
867 ac_confdir=`(dirname "$0") 2>/dev/null ||
868 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
869 X"$0" : 'X\(//\)[^/]' \| \
870 X"$0" : 'X\(//\)$' \| \
871 X"$0" : 'X\(/\)' \| \
872 . : '\(.\)' 2>/dev/null ||
874 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
875 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
876 /^X\(\/\/\)$/{ s//\1/; q; }
877 /^X\(\/\).*/{ s//\1/; q; }
880 if test ! -r $srcdir/$ac_unique_file; then
884 ac_srcdir_defaulted=no
886 if test ! -r $srcdir/$ac_unique_file; then
887 if test "$ac_srcdir_defaulted" = yes; then
888 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
889 { (exit 1); exit 1; }; }
891 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
892 { (exit 1); exit 1; }; }
895 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
896 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
897 { (exit 1); exit 1; }; }
898 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
899 ac_env_build_alias_set=${build_alias+set}
900 ac_env_build_alias_value=$build_alias
901 ac_cv_env_build_alias_set=${build_alias+set}
902 ac_cv_env_build_alias_value=$build_alias
903 ac_env_host_alias_set=${host_alias+set}
904 ac_env_host_alias_value=$host_alias
905 ac_cv_env_host_alias_set=${host_alias+set}
906 ac_cv_env_host_alias_value=$host_alias
907 ac_env_target_alias_set=${target_alias+set}
908 ac_env_target_alias_value=$target_alias
909 ac_cv_env_target_alias_set=${target_alias+set}
910 ac_cv_env_target_alias_value=$target_alias
911 ac_env_CXX_set=${CXX+set}
912 ac_env_CXX_value=$CXX
913 ac_cv_env_CXX_set=${CXX+set}
914 ac_cv_env_CXX_value=$CXX
915 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
916 ac_env_CXXFLAGS_value=$CXXFLAGS
917 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
918 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
919 ac_env_LDFLAGS_set=${LDFLAGS+set}
920 ac_env_LDFLAGS_value=$LDFLAGS
921 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
922 ac_cv_env_LDFLAGS_value=$LDFLAGS
923 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
924 ac_env_CPPFLAGS_value=$CPPFLAGS
925 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
926 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
927 ac_env_CC_set=${CC+set}
929 ac_cv_env_CC_set=${CC+set}
930 ac_cv_env_CC_value=$CC
931 ac_env_CFLAGS_set=${CFLAGS+set}
932 ac_env_CFLAGS_value=$CFLAGS
933 ac_cv_env_CFLAGS_set=${CFLAGS+set}
934 ac_cv_env_CFLAGS_value=$CFLAGS
935 ac_env_CPP_set=${CPP+set}
936 ac_env_CPP_value=$CPP
937 ac_cv_env_CPP_set=${CPP+set}
938 ac_cv_env_CPP_value=$CPP
939 ac_env_CXXCPP_set=${CXXCPP+set}
940 ac_env_CXXCPP_value=$CXXCPP
941 ac_cv_env_CXXCPP_set=${CXXCPP+set}
942 ac_cv_env_CXXCPP_value=$CXXCPP
943 ac_env_F77_set=${F77+set}
944 ac_env_F77_value=$F77
945 ac_cv_env_F77_set=${F77+set}
946 ac_cv_env_F77_value=$F77
947 ac_env_FFLAGS_set=${FFLAGS+set}
948 ac_env_FFLAGS_value=$FFLAGS
949 ac_cv_env_FFLAGS_set=${FFLAGS+set}
950 ac_cv_env_FFLAGS_value=$FFLAGS
953 # Report the --help message.
955 if test "$ac_init_help" = "long"; then
956 # Omit some internal or obsolete options to make the list less imposing.
957 # This message is too long to be a string in the A/UX 3.1 sh.
959 \`configure' configures [LLVM] [1.0] to adapt to many kinds of systems.
961 Usage: $0 [OPTION]... [VAR=VALUE]...
963 To assign environment variables (e.g., CC, CFLAGS...), specify them as
964 VAR=VALUE. See below for descriptions of some of the useful variables.
966 Defaults for the options are specified in brackets.
969 -h, --help display this help and exit
970 --help=short display options specific to this package
971 --help=recursive display the short help of all the included packages
972 -V, --version display version information and exit
973 -q, --quiet, --silent do not print \`checking...' messages
974 --cache-file=FILE cache test results in FILE [disabled]
975 -C, --config-cache alias for \`--cache-file=config.cache'
976 -n, --no-create do not create output files
977 --srcdir=DIR find the sources in DIR [configure dir or \`..']
982 Installation directories:
983 --prefix=PREFIX install architecture-independent files in PREFIX
985 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
988 By default, \`make install' will install all the files in
989 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
990 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
991 for instance \`--prefix=\$HOME'.
993 For better control, use the options below.
995 Fine tuning of the installation directories:
996 --bindir=DIR user executables [EPREFIX/bin]
997 --sbindir=DIR system admin executables [EPREFIX/sbin]
998 --libexecdir=DIR program executables [EPREFIX/libexec]
999 --datadir=DIR read-only architecture-independent data [PREFIX/share]
1000 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1001 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1002 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1003 --libdir=DIR object code libraries [EPREFIX/lib]
1004 --includedir=DIR C header files [PREFIX/include]
1005 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1006 --infodir=DIR info documentation [PREFIX/info]
1007 --mandir=DIR man documentation [PREFIX/man]
1013 --build=BUILD configure for building on BUILD [guessed]
1014 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1015 --target=TARGET configure for building compilers for TARGET [HOST]
1019 if test -n "$ac_init_help"; then
1020 case $ac_init_help in
1021 short | recursive ) echo "Configuration of [LLVM] [1.0]:";;
1026 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1027 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1028 --enable-shared[=PKGS]
1029 build shared libraries [default=yes]
1030 --enable-static[=PKGS]
1031 build static libraries [default=yes]
1032 --enable-fast-install[=PKGS]
1033 optimize for fast installation [default=yes]
1034 --disable-libtool-lock avoid locking (might break parallel builds)
1035 --enable-purify Compile with purify (default is NO)
1036 --enable-optimized Compile with optimizations enabled (default is NO)
1037 --enable-spec Compile SPEC 2000 benchmarks (default is NO)
1038 --enable-precompiled_bytecode
1039 Use pre-compiled bytecode (default is NO)
1040 --enable-llc_diffs Enable LLC Diffs when testing (default is YES)
1041 --enable-jit Enable Just In Time Compiling (default is YES)
1044 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1045 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1046 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1047 --with-pic try to use only PIC/non-PIC objects [default=use
1050 include additional configurations [automatic]
1051 --with-llvmgccdir Location of LLVM GCC front-end
1052 --with-bcrepos Location of Bytecode Repository
1053 --with-papi Location of PAPI
1054 --with-purify Location of purify program
1056 Some influential environment variables:
1057 CXX C++ compiler command
1058 CXXFLAGS C++ compiler flags
1059 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1060 nonstandard directory <lib dir>
1061 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1062 headers in a nonstandard directory <include dir>
1063 CC C compiler command
1064 CFLAGS C compiler flags
1066 CXXCPP C++ preprocessor
1067 F77 Fortran 77 compiler command
1068 FFLAGS Fortran 77 compiler flags
1070 Use these variables to override the choices made by `configure' or to help
1071 it to find libraries and programs with nonstandard names/locations.
1073 Report bugs to <llvmbugs@cs.uiuc.edu>.
1077 if test "$ac_init_help" = "recursive"; then
1078 # If there are subdirs, report their specific --help.
1080 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1081 test -d $ac_dir || continue
1084 if test "$ac_dir" != .; then
1085 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1086 # A "../" for each directory in $ac_dir_suffix.
1087 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1089 ac_dir_suffix= ac_top_builddir=
1093 .) # No --srcdir option. We are building in place.
1095 if test -z "$ac_top_builddir"; then
1098 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1100 [\\/]* | ?:[\\/]* ) # Absolute path.
1101 ac_srcdir=$srcdir$ac_dir_suffix;
1102 ac_top_srcdir=$srcdir ;;
1104 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1105 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1107 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
1109 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
1110 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
1111 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
1112 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
1115 # Check for guested configure; otherwise get Cygnus style configure.
1116 if test -f $ac_srcdir/configure.gnu; then
1118 $SHELL $ac_srcdir/configure.gnu --help=recursive
1119 elif test -f $ac_srcdir/configure; then
1121 $SHELL $ac_srcdir/configure --help=recursive
1122 elif test -f $ac_srcdir/configure.ac ||
1123 test -f $ac_srcdir/configure.in; then
1125 $ac_configure --help
1127 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1133 test -n "$ac_init_help" && exit 0
1134 if $ac_init_version; then
1136 [LLVM] configure [1.0]
1137 generated by GNU Autoconf 2.57
1139 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
1140 Free Software Foundation, Inc.
1141 This configure script is free software; the Free Software Foundation
1142 gives unlimited permission to copy, distribute and modify it.
1148 This file contains any messages produced by compilers while
1149 running configure, to aid debugging if configure makes a mistake.
1151 It was created by [LLVM] $as_me [1.0], which was
1152 generated by GNU Autoconf 2.57. Invocation command line was
1163 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1164 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1165 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1166 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1167 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1169 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1170 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1172 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1173 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1174 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1175 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1176 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1177 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1178 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1186 test -z "$as_dir" && as_dir=.
1187 echo "PATH: $as_dir"
1202 # Keep a trace of the command line.
1203 # Strip out --no-create and --no-recursion so they do not pile up.
1204 # Strip out --silent because we don't want to record it for future runs.
1205 # Also quote any args containing shell meta-characters.
1206 # Make two passes to allow for proper duplicate-argument suppression.
1211 ac_must_keep_next=false
1217 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1218 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1219 | -silent | --silent | --silen | --sile | --sil)
1221 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1222 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1225 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1227 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1228 if test $ac_must_keep_next = true; then
1229 ac_must_keep_next=false # Got value, back to normal.
1232 *=* | --config-cache | -C | -disable-* | --disable-* \
1233 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1234 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1235 | -with-* | --with-* | -without-* | --without-* | --x)
1236 case "$ac_configure_args0 " in
1237 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1240 -* ) ac_must_keep_next=true ;;
1243 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1244 # Get rid of the leading space.
1250 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1251 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1253 # When interrupted or exit'd, cleanup temporary files, and complete
1254 # config.log. We remove comments because anyway the quotes in there
1255 # would cause problems or look ugly.
1256 # WARNING: Be sure not to use single quotes in there, as some shells,
1257 # such as our DU 5.0 friend, will then `close' the trap.
1258 trap 'exit_status=$?
1259 # Save into config.log some information that might help in debugging.
1264 ## ---------------- ##
1265 ## Cache variables. ##
1266 ## ---------------- ##
1269 # The following way of writing the cache mishandles newlines in values,
1272 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1275 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1276 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1280 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1287 ## ----------------- ##
1288 ## Output variables. ##
1289 ## ----------------- ##
1292 for ac_var in $ac_subst_vars
1294 eval ac_val=$`echo $ac_var`
1295 echo "$ac_var='"'"'$ac_val'"'"'"
1299 if test -n "$ac_subst_files"; then
1306 for ac_var in $ac_subst_files
1308 eval ac_val=$`echo $ac_var`
1309 echo "$ac_var='"'"'$ac_val'"'"'"
1314 if test -s confdefs.h; then
1321 sed "/^$/d" confdefs.h | sort
1324 test "$ac_signal" != 0 &&
1325 echo "$as_me: caught signal $ac_signal"
1326 echo "$as_me: exit $exit_status"
1328 rm -f core core.* *.core &&
1329 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1332 for ac_signal in 1 2 13 15; do
1333 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1337 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1338 rm -rf conftest* confdefs.h
1339 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1342 # Predefined preprocessor variables.
1344 cat >>confdefs.h <<_ACEOF
1345 #define PACKAGE_NAME "$PACKAGE_NAME"
1349 cat >>confdefs.h <<_ACEOF
1350 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1354 cat >>confdefs.h <<_ACEOF
1355 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1359 cat >>confdefs.h <<_ACEOF
1360 #define PACKAGE_STRING "$PACKAGE_STRING"
1364 cat >>confdefs.h <<_ACEOF
1365 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1369 # Let the site file select an alternate cache file if it wants to.
1370 # Prefer explicitly selected file to automatically selected ones.
1371 if test -z "$CONFIG_SITE"; then
1372 if test "x$prefix" != xNONE; then
1373 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1375 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1378 for ac_site_file in $CONFIG_SITE; do
1379 if test -r "$ac_site_file"; then
1380 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1381 echo "$as_me: loading site script $ac_site_file" >&6;}
1382 sed 's/^/| /' "$ac_site_file" >&5
1387 if test -r "$cache_file"; then
1388 # Some versions of bash will fail to source /dev/null (special
1389 # files actually), so we avoid doing that.
1390 if test -f "$cache_file"; then
1391 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1392 echo "$as_me: loading cache $cache_file" >&6;}
1394 [\\/]* | ?:[\\/]* ) . $cache_file;;
1395 *) . ./$cache_file;;
1399 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1400 echo "$as_me: creating cache $cache_file" >&6;}
1404 # Check that the precious variables saved in the cache have kept the same
1406 ac_cache_corrupted=false
1407 for ac_var in `(set) 2>&1 |
1408 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1409 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1410 eval ac_new_set=\$ac_env_${ac_var}_set
1411 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1412 eval ac_new_val="\$ac_env_${ac_var}_value"
1413 case $ac_old_set,$ac_new_set in
1415 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1416 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1417 ac_cache_corrupted=: ;;
1419 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1420 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1421 ac_cache_corrupted=: ;;
1424 if test "x$ac_old_val" != "x$ac_new_val"; then
1425 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1426 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1427 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1428 echo "$as_me: former value: $ac_old_val" >&2;}
1429 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1430 echo "$as_me: current value: $ac_new_val" >&2;}
1431 ac_cache_corrupted=:
1434 # Pass precious variables to config.status.
1435 if test "$ac_new_set" = set; then
1437 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1438 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1439 *) ac_arg=$ac_var=$ac_new_val ;;
1441 case " $ac_configure_args " in
1442 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1443 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1447 if $ac_cache_corrupted; then
1448 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1449 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1450 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1451 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1452 { (exit 1); exit 1; }; }
1456 ac_cpp='$CPP $CPPFLAGS'
1457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1489 for ac_dir in autoconf $srcdir/autoconf; do
1490 if test -f $ac_dir/install-sh; then
1492 ac_install_sh="$ac_aux_dir/install-sh -c"
1494 elif test -f $ac_dir/install.sh; then
1496 ac_install_sh="$ac_aux_dir/install.sh -c"
1498 elif test -f $ac_dir/shtool; then
1500 ac_install_sh="$ac_aux_dir/shtool install -c"
1504 if test -z "$ac_aux_dir"; then
1505 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&5
1506 echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;}
1507 { (exit 1); exit 1; }; }
1509 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1510 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1511 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1514 if test ${srcdir} != "."
1516 if test -f ${srcdir}/include/Config/config.h
1518 { { echo "$as_me:$LINENO: error: Already configured in ${srcdir}" >&5
1519 echo "$as_me: error: Already configured in ${srcdir}" >&2;}
1520 { (exit 1); exit 1; }; }
1524 if test -d ${srcdir}/projects/sample
1528 subdirs="$subdirs projects/sample"
1532 if test -d ${srcdir}/projects/reopt
1536 subdirs="$subdirs projects/reopt"
1540 if test -d ${srcdir}/projects/poolalloc
1544 subdirs="$subdirs projects/poolalloc"
1548 ac_config_headers="$ac_config_headers include/Config/config.h"
1550 ac_config_commands="$ac_config_commands Makefile"
1553 ac_config_commands="$ac_config_commands Makefile.common"
1556 ac_config_commands="$ac_config_commands Makefile.rules"
1559 ac_config_commands="$ac_config_commands lib/Makefile"
1562 ac_config_commands="$ac_config_commands lib/Analysis/Makefile"
1565 ac_config_commands="$ac_config_commands lib/Analysis/DataStructure/Makefile"
1568 ac_config_commands="$ac_config_commands lib/Analysis/IPA/Makefile"
1571 ac_config_commands="$ac_config_commands lib/Analysis/LiveVar/Makefile"
1574 ac_config_commands="$ac_config_commands lib/AsmParser/Makefile"
1577 ac_config_commands="$ac_config_commands lib/Bytecode/Makefile"
1580 ac_config_commands="$ac_config_commands lib/Bytecode/Reader/Makefile"
1583 ac_config_commands="$ac_config_commands lib/Bytecode/Writer/Makefile"
1586 ac_config_commands="$ac_config_commands lib/CWriter/Makefile"
1589 ac_config_commands="$ac_config_commands lib/CodeGen/Makefile"
1592 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSched/Makefile"
1595 ac_config_commands="$ac_config_commands lib/CodeGen/InstrSelection/Makefile"
1598 ac_config_commands="$ac_config_commands lib/CodeGen/ModuloScheduling/Makefile"
1601 ac_config_commands="$ac_config_commands lib/CodeGen/RegAlloc/Makefile"
1604 ac_config_commands="$ac_config_commands lib/CodeGen/SelectionDAG/Makefile"
1607 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Makefile"
1610 ac_config_commands="$ac_config_commands lib/ExecutionEngine/Interpreter/Makefile"
1613 ac_config_commands="$ac_config_commands lib/ExecutionEngine/JIT/Makefile"
1616 ac_config_commands="$ac_config_commands lib/Support/Makefile"
1619 ac_config_commands="$ac_config_commands lib/Target/Makefile"
1622 ac_config_commands="$ac_config_commands lib/Target/Sparc/Makefile"
1625 ac_config_commands="$ac_config_commands lib/Target/X86/Makefile"
1628 ac_config_commands="$ac_config_commands lib/Transforms/Makefile"
1631 ac_config_commands="$ac_config_commands lib/Transforms/Hello/Makefile"
1634 ac_config_commands="$ac_config_commands lib/Transforms/IPO/Makefile"
1637 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/Makefile"
1640 ac_config_commands="$ac_config_commands lib/Transforms/Instrumentation/ProfilePaths/Makefile"
1643 ac_config_commands="$ac_config_commands lib/Transforms/Scalar/Makefile"
1646 ac_config_commands="$ac_config_commands lib/Transforms/Utils/Makefile"
1649 ac_config_commands="$ac_config_commands lib/VMCore/Makefile"
1652 ac_config_commands="$ac_config_commands runtime/Makefile"
1655 ac_config_commands="$ac_config_commands runtime/GCCLibraries/Makefile"
1658 ac_config_commands="$ac_config_commands runtime/GCCLibraries/crtend/Makefile"
1661 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libc/Makefile"
1664 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libcurses/Makefile"
1667 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libg/Makefile"
1670 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libgcc/Makefile"
1673 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libm/Makefile"
1676 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libmalloc/Makefile"
1679 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libtermcap/Makefile"
1682 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libucb/Makefile"
1685 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutempter/Makefile"
1688 ac_config_commands="$ac_config_commands runtime/GCCLibraries/libutil/Makefile"
1691 ac_config_commands="$ac_config_commands runtime/libdummy/Makefile"
1694 ac_config_commands="$ac_config_commands runtime/libtrace/Makefile"
1697 ac_config_commands="$ac_config_commands runtime/libprofile/Makefile"
1700 ac_config_commands="$ac_config_commands test/Makefile"
1703 ac_config_commands="$ac_config_commands test/Makefile.tests"
1706 ac_config_commands="$ac_config_commands test/QMTest/llvm.py"
1709 ac_config_commands="$ac_config_commands test/QMTest/llvmdb.py"
1712 ac_config_commands="$ac_config_commands test/Programs/Makefile"
1715 ac_config_commands="$ac_config_commands test/Programs/Makefile.programs"
1718 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.Makefile"
1721 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.report"
1724 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.report"
1727 ac_config_commands="$ac_config_commands test/Programs/TEST.aa.report"
1730 ac_config_commands="$ac_config_commands test/Programs/TEST.example.Makefile"
1733 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.Makefile"
1736 ac_config_commands="$ac_config_commands test/Programs/TEST.buildrepo.Makefile"
1739 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.Makefile"
1742 ac_config_commands="$ac_config_commands test/Programs/TEST.nightly.report"
1745 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.Makefile"
1748 ac_config_commands="$ac_config_commands test/Programs/TEST.jit.report"
1751 ac_config_commands="$ac_config_commands test/Programs/TEST.typesafe.Makefile"
1754 ac_config_commands="$ac_config_commands test/Programs/TEST.dsgraph.gnuplot"
1757 ac_config_commands="$ac_config_commands test/Programs/TEST.micro.Makefile"
1760 ac_config_commands="$ac_config_commands test/Programs/External/Makefile"
1763 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile"
1766 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/Makefile.spec"
1769 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/Makefile"
1772 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/177.mesa/Makefile"
1775 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/179.art/Makefile"
1778 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/183.equake/Makefile"
1781 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CFP2000/188.ammp/Makefile"
1784 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/Makefile"
1787 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/164.gzip/Makefile"
1790 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/175.vpr/Makefile"
1793 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/176.gcc/Makefile"
1796 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/181.mcf/Makefile"
1799 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/186.crafty/Makefile"
1802 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/197.parser/Makefile"
1805 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/252.eon/Makefile"
1808 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile"
1811 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/254.gap/Makefile"
1814 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/255.vortex/Makefile"
1817 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile"
1820 ac_config_commands="$ac_config_commands test/Programs/External/SPEC/CINT2000/300.twolf/Makefile"
1823 ac_config_commands="$ac_config_commands test/Programs/LLVMSource/Makefile"
1826 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile"
1829 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Makefile.multisrc"
1832 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Makefile"
1835 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/Burg/Makefile"
1838 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/aha/Makefile"
1841 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Applications/sgefa/Makefile"
1844 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Makefile"
1847 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile"
1850 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/Makefile"
1853 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/Makefile"
1856 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in"
1859 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile"
1862 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in"
1865 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile"
1868 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in"
1871 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile"
1874 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in"
1877 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile"
1880 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in"
1883 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile"
1886 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in"
1889 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile"
1892 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in"
1895 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/Makefile"
1898 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile"
1901 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile"
1904 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile"
1907 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile"
1910 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile"
1913 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile"
1916 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile"
1919 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile"
1922 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile"
1925 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile"
1928 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/Makefile"
1931 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile"
1934 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile"
1937 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile"
1940 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/health/Makefile"
1943 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile"
1946 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile"
1949 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/power/Makefile"
1952 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile"
1955 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile"
1958 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile"
1961 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile"
1964 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile"
1967 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile"
1970 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile"
1973 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile"
1976 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile"
1979 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile"
1982 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile"
1985 ac_config_commands="$ac_config_commands test/Programs/MultiSource/Benchmarks/sim/Makefile"
1988 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile"
1991 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Makefile.singlesrc"
1994 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Gizmos/Makefile"
1997 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Makefile"
2000 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile"
2003 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Shootout/Makefile"
2006 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Stanford/Makefile"
2009 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Benchmarks/Misc/Makefile"
2012 ac_config_commands="$ac_config_commands test/Programs/SingleSource/CustomChecked/Makefile"
2015 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/Makefile"
2018 ac_config_commands="$ac_config_commands test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile"
2021 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/Makefile"
2024 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C/Makefile"
2027 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C++/Makefile"
2030 ac_config_commands="$ac_config_commands test/Programs/SingleSource/Regression/C++/EH/Makefile"
2033 ac_config_commands="$ac_config_commands tools/Makefile"
2036 ac_config_commands="$ac_config_commands tools/analyze/Makefile"
2039 ac_config_commands="$ac_config_commands tools/bugpoint/Makefile"
2042 ac_config_commands="$ac_config_commands tools/extract/Makefile"
2045 ac_config_commands="$ac_config_commands tools/gccas/Makefile"
2048 ac_config_commands="$ac_config_commands tools/gccld/Makefile"
2051 ac_config_commands="$ac_config_commands tools/llc/Makefile"
2054 ac_config_commands="$ac_config_commands tools/llee/Makefile"
2057 ac_config_commands="$ac_config_commands tools/lli/Makefile"
2060 ac_config_commands="$ac_config_commands tools/llvm-ar/Makefile"
2063 ac_config_commands="$ac_config_commands tools/llvm-as/Makefile"
2066 ac_config_commands="$ac_config_commands tools/llvm-dis/Makefile"
2069 ac_config_commands="$ac_config_commands tools/llvm-link/Makefile"
2072 ac_config_commands="$ac_config_commands tools/llvm-nm/Makefile"
2075 ac_config_commands="$ac_config_commands tools/llvm-prof/Makefile"
2078 ac_config_commands="$ac_config_commands tools/opt/Makefile"
2081 ac_config_commands="$ac_config_commands utils/Makefile"
2084 ac_config_commands="$ac_config_commands utils/Burg/Makefile"
2087 ac_config_commands="$ac_config_commands utils/Burg/Doc/Makefile"
2090 ac_config_commands="$ac_config_commands utils/TableGen/Makefile"
2093 ac_config_commands="$ac_config_commands projects/Makefile"
2096 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile"
2099 ac_config_commands="$ac_config_commands projects/ModuleMaker/Makefile.common"
2102 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/Makefile"
2105 ac_config_commands="$ac_config_commands projects/ModuleMaker/tools/ModuleMaker/Makefile"
2108 ac_config_commands="$ac_config_commands projects/Stacker/Makefile"
2111 ac_config_commands="$ac_config_commands projects/Stacker/lib/Makefile"
2114 ac_config_commands="$ac_config_commands projects/Stacker/lib/compiler/Makefile"
2117 ac_config_commands="$ac_config_commands projects/Stacker/lib/runtime/Makefile"
2120 ac_config_commands="$ac_config_commands projects/Stacker/tools/Makefile"
2123 ac_config_commands="$ac_config_commands projects/Stacker/tools/stkrc/Makefile"
2126 ac_config_commands="$ac_config_commands projects/Stacker/test/Makefile"
2129 ac_config_commands="$ac_config_commands projects/Stacker/samples/Makefile"
2134 # Find a good install program. We prefer a C program (faster),
2135 # so one script is as good as another. But avoid the broken or
2136 # incompatible versions:
2137 # SysV /etc/install, /usr/sbin/install
2138 # SunOS /usr/etc/install
2139 # IRIX /sbin/install
2141 # AmigaOS /C/install, which installs bootblocks on floppy discs
2142 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2143 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2144 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2145 # ./install, which can be erroneously created by make from ./install.sh.
2146 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2147 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2148 if test -z "$INSTALL"; then
2149 if test "${ac_cv_path_install+set}" = set; then
2150 echo $ECHO_N "(cached) $ECHO_C" >&6
2152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2156 test -z "$as_dir" && as_dir=.
2157 # Account for people who put trailing slashes in PATH elements.
2159 ./ | .// | /cC/* | \
2160 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2163 # OSF1 and SCO ODT 3.0 have their own names for install.
2164 # Don't use installbsd from OSF since it installs stuff as root
2166 for ac_prog in ginstall scoinst install; do
2167 for ac_exec_ext in '' $ac_executable_extensions; do
2168 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2169 if test $ac_prog = install &&
2170 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2171 # AIX install. It has an incompatible calling convention.
2173 elif test $ac_prog = install &&
2174 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2175 # program-specific install script used by HP pwplus--don't use.
2178 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2190 if test "${ac_cv_path_install+set}" = set; then
2191 INSTALL=$ac_cv_path_install
2193 # As a last resort, use the slow shell script. We don't cache a
2194 # path for INSTALL within a source directory, because that will
2195 # break other packages using the cache if that directory is
2196 # removed, or if the path is relative.
2197 INSTALL=$ac_install_sh
2200 echo "$as_me:$LINENO: result: $INSTALL" >&5
2201 echo "${ECHO_T}$INSTALL" >&6
2203 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2204 # It thinks the first close brace ends the variable substitution.
2205 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2207 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2209 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2212 # Make sure we can run config.sub.
2213 $ac_config_sub sun4 >/dev/null 2>&1 ||
2214 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2215 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2216 { (exit 1); exit 1; }; }
2218 echo "$as_me:$LINENO: checking build system type" >&5
2219 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2220 if test "${ac_cv_build+set}" = set; then
2221 echo $ECHO_N "(cached) $ECHO_C" >&6
2223 ac_cv_build_alias=$build_alias
2224 test -z "$ac_cv_build_alias" &&
2225 ac_cv_build_alias=`$ac_config_guess`
2226 test -z "$ac_cv_build_alias" &&
2227 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2228 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2229 { (exit 1); exit 1; }; }
2230 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2231 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2232 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2233 { (exit 1); exit 1; }; }
2236 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2237 echo "${ECHO_T}$ac_cv_build" >&6
2239 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2240 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2241 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2244 echo "$as_me:$LINENO: checking host system type" >&5
2245 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2246 if test "${ac_cv_host+set}" = set; then
2247 echo $ECHO_N "(cached) $ECHO_C" >&6
2249 ac_cv_host_alias=$host_alias
2250 test -z "$ac_cv_host_alias" &&
2251 ac_cv_host_alias=$ac_cv_build_alias
2252 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2253 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2254 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2255 { (exit 1); exit 1; }; }
2258 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2259 echo "${ECHO_T}$ac_cv_host" >&6
2261 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2262 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2263 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2266 echo "$as_me:$LINENO: checking target system type" >&5
2267 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2268 if test "${ac_cv_target+set}" = set; then
2269 echo $ECHO_N "(cached) $ECHO_C" >&6
2271 ac_cv_target_alias=$target_alias
2272 test "x$ac_cv_target_alias" = "x" &&
2273 ac_cv_target_alias=$ac_cv_host_alias
2274 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2275 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2276 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2277 { (exit 1); exit 1; }; }
2280 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2281 echo "${ECHO_T}$ac_cv_target" >&6
2282 target=$ac_cv_target
2283 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2284 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2285 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2288 # The aliases save the names the user supplied, while $host etc.
2289 # will get canonicalized.
2290 test -n "$target_alias" &&
2291 test "$program_prefix$program_suffix$program_transform_name" = \
2293 program_prefix=${target_alias}-
2299 if test -d /home/vadve/lattner/local/x86/llvm-gcc
2301 LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/
2309 if test -d /home/vadve/lattner/local/sparc/llvm-gcc
2311 LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/
2327 sparc*-*-solaris*) target=sparcv9-sun-solaris2.8
2336 sparc*-*) ARCH=Sparc
2339 powerpc*-*) ARCH=PowerPC
2349 ac_cpp='$CXXCPP $CPPFLAGS'
2350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2353 if test -n "$ac_tool_prefix"; then
2354 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2356 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2357 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2358 echo "$as_me:$LINENO: checking for $ac_word" >&5
2359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2360 if test "${ac_cv_prog_CXX+set}" = set; then
2361 echo $ECHO_N "(cached) $ECHO_C" >&6
2363 if test -n "$CXX"; then
2364 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2370 test -z "$as_dir" && as_dir=.
2371 for ac_exec_ext in '' $ac_executable_extensions; do
2372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2373 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2383 if test -n "$CXX"; then
2384 echo "$as_me:$LINENO: result: $CXX" >&5
2385 echo "${ECHO_T}$CXX" >&6
2387 echo "$as_me:$LINENO: result: no" >&5
2388 echo "${ECHO_T}no" >&6
2391 test -n "$CXX" && break
2394 if test -z "$CXX"; then
2396 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2398 # Extract the first word of "$ac_prog", so it can be a program name with args.
2399 set dummy $ac_prog; ac_word=$2
2400 echo "$as_me:$LINENO: checking for $ac_word" >&5
2401 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2402 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2403 echo $ECHO_N "(cached) $ECHO_C" >&6
2405 if test -n "$ac_ct_CXX"; then
2406 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2412 test -z "$as_dir" && as_dir=.
2413 for ac_exec_ext in '' $ac_executable_extensions; do
2414 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2415 ac_cv_prog_ac_ct_CXX="$ac_prog"
2416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2424 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2425 if test -n "$ac_ct_CXX"; then
2426 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2427 echo "${ECHO_T}$ac_ct_CXX" >&6
2429 echo "$as_me:$LINENO: result: no" >&5
2430 echo "${ECHO_T}no" >&6
2433 test -n "$ac_ct_CXX" && break
2435 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2441 # Provide some information about the compiler.
2442 echo "$as_me:$LINENO:" \
2443 "checking for C++ compiler version" >&5
2444 ac_compiler=`set X $ac_compile; echo $2`
2445 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2446 (eval $ac_compiler --version </dev/null >&5) 2>&5
2448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2449 (exit $ac_status); }
2450 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2451 (eval $ac_compiler -v </dev/null >&5) 2>&5
2453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2454 (exit $ac_status); }
2455 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2456 (eval $ac_compiler -V </dev/null >&5) 2>&5
2458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2459 (exit $ac_status); }
2461 cat >conftest.$ac_ext <<_ACEOF
2462 #line $LINENO "configure"
2465 cat confdefs.h >>conftest.$ac_ext
2466 cat >>conftest.$ac_ext <<_ACEOF
2467 /* end confdefs.h. */
2477 ac_clean_files_save=$ac_clean_files
2478 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2479 # Try to create an executable without -o first, disregard a.out.
2480 # It will help us diagnose broken compilers, and finding out an intuition
2482 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
2483 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
2484 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2485 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2486 (eval $ac_link_default) 2>&5
2488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2489 (exit $ac_status); }; then
2490 # Find the output, starting from the most likely. This scheme is
2491 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2494 # Be careful to initialize this variable, since it used to be cached.
2495 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2497 # b.out is created by i960 compilers.
2498 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2500 test -f "$ac_file" || continue
2502 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2505 # This is the source file.
2508 # We found the default executable, but exeext='' is most
2512 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2513 # FIXME: I believe we export ac_cv_exeext for Libtool,
2514 # but it would be cool to find out if it's true. Does anybody
2515 # maintain Libtool? --akim.
2523 echo "$as_me: failed program was:" >&5
2524 sed 's/^/| /' conftest.$ac_ext >&5
2526 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2527 See \`config.log' for more details." >&5
2528 echo "$as_me: error: C++ compiler cannot create executables
2529 See \`config.log' for more details." >&2;}
2530 { (exit 77); exit 77; }; }
2533 ac_exeext=$ac_cv_exeext
2534 echo "$as_me:$LINENO: result: $ac_file" >&5
2535 echo "${ECHO_T}$ac_file" >&6
2537 # Check the compiler produces executables we can run. If not, either
2538 # the compiler is broken, or we cross compile.
2539 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2540 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2541 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2542 # If not cross compiling, check that we can run a simple program.
2543 if test "$cross_compiling" != yes; then
2544 if { ac_try='./$ac_file'
2545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2549 (exit $ac_status); }; }; then
2552 if test "$cross_compiling" = maybe; then
2555 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2556 If you meant to cross compile, use \`--host'.
2557 See \`config.log' for more details." >&5
2558 echo "$as_me: error: cannot run C++ compiled programs.
2559 If you meant to cross compile, use \`--host'.
2560 See \`config.log' for more details." >&2;}
2561 { (exit 1); exit 1; }; }
2565 echo "$as_me:$LINENO: result: yes" >&5
2566 echo "${ECHO_T}yes" >&6
2568 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2569 ac_clean_files=$ac_clean_files_save
2570 # Check the compiler produces executables we can run. If not, either
2571 # the compiler is broken, or we cross compile.
2572 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2573 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2574 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2575 echo "${ECHO_T}$cross_compiling" >&6
2577 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2578 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2580 (eval $ac_link) 2>&5
2582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2583 (exit $ac_status); }; then
2584 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2585 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2586 # work properly (i.e., refer to `conftest.exe'), while it won't with
2588 for ac_file in conftest.exe conftest conftest.*; do
2589 test -f "$ac_file" || continue
2591 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2592 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2599 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2600 See \`config.log' for more details." >&5
2601 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2602 See \`config.log' for more details." >&2;}
2603 { (exit 1); exit 1; }; }
2606 rm -f conftest$ac_cv_exeext
2607 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2608 echo "${ECHO_T}$ac_cv_exeext" >&6
2610 rm -f conftest.$ac_ext
2611 EXEEXT=$ac_cv_exeext
2613 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2614 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2615 if test "${ac_cv_objext+set}" = set; then
2616 echo $ECHO_N "(cached) $ECHO_C" >&6
2618 cat >conftest.$ac_ext <<_ACEOF
2619 #line $LINENO "configure"
2622 cat confdefs.h >>conftest.$ac_ext
2623 cat >>conftest.$ac_ext <<_ACEOF
2624 /* end confdefs.h. */
2634 rm -f conftest.o conftest.obj
2635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2636 (eval $ac_compile) 2>&5
2638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2639 (exit $ac_status); }; then
2640 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2642 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2643 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2648 echo "$as_me: failed program was:" >&5
2649 sed 's/^/| /' conftest.$ac_ext >&5
2651 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2652 See \`config.log' for more details." >&5
2653 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2654 See \`config.log' for more details." >&2;}
2655 { (exit 1); exit 1; }; }
2658 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2660 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2661 echo "${ECHO_T}$ac_cv_objext" >&6
2662 OBJEXT=$ac_cv_objext
2664 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2665 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2666 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2667 echo $ECHO_N "(cached) $ECHO_C" >&6
2669 cat >conftest.$ac_ext <<_ACEOF
2670 #line $LINENO "configure"
2673 cat confdefs.h >>conftest.$ac_ext
2674 cat >>conftest.$ac_ext <<_ACEOF
2675 /* end confdefs.h. */
2688 rm -f conftest.$ac_objext
2689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2690 (eval $ac_compile) 2>&5
2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693 (exit $ac_status); } &&
2694 { ac_try='test -s conftest.$ac_objext'
2695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699 (exit $ac_status); }; }; then
2702 echo "$as_me: failed program was:" >&5
2703 sed 's/^/| /' conftest.$ac_ext >&5
2707 rm -f conftest.$ac_objext conftest.$ac_ext
2708 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2711 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2712 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2713 GXX=`test $ac_compiler_gnu = yes && echo yes`
2714 ac_test_CXXFLAGS=${CXXFLAGS+set}
2715 ac_save_CXXFLAGS=$CXXFLAGS
2717 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2718 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2719 if test "${ac_cv_prog_cxx_g+set}" = set; then
2720 echo $ECHO_N "(cached) $ECHO_C" >&6
2722 cat >conftest.$ac_ext <<_ACEOF
2723 #line $LINENO "configure"
2726 cat confdefs.h >>conftest.$ac_ext
2727 cat >>conftest.$ac_ext <<_ACEOF
2728 /* end confdefs.h. */
2738 rm -f conftest.$ac_objext
2739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2740 (eval $ac_compile) 2>&5
2742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743 (exit $ac_status); } &&
2744 { ac_try='test -s conftest.$ac_objext'
2745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2749 (exit $ac_status); }; }; then
2750 ac_cv_prog_cxx_g=yes
2752 echo "$as_me: failed program was:" >&5
2753 sed 's/^/| /' conftest.$ac_ext >&5
2757 rm -f conftest.$ac_objext conftest.$ac_ext
2759 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2760 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2761 if test "$ac_test_CXXFLAGS" = set; then
2762 CXXFLAGS=$ac_save_CXXFLAGS
2763 elif test $ac_cv_prog_cxx_g = yes; then
2764 if test "$GXX" = yes; then
2770 if test "$GXX" = yes; then
2776 for ac_declaration in \
2778 '#include <stdlib.h>' \
2779 'extern "C" void std::exit (int) throw (); using std::exit;' \
2780 'extern "C" void std::exit (int); using std::exit;' \
2781 'extern "C" void exit (int) throw ();' \
2782 'extern "C" void exit (int);' \
2785 cat >conftest.$ac_ext <<_ACEOF
2786 #line $LINENO "configure"
2789 cat confdefs.h >>conftest.$ac_ext
2790 cat >>conftest.$ac_ext <<_ACEOF
2791 /* end confdefs.h. */
2802 rm -f conftest.$ac_objext
2803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2804 (eval $ac_compile) 2>&5
2806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2807 (exit $ac_status); } &&
2808 { ac_try='test -s conftest.$ac_objext'
2809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2813 (exit $ac_status); }; }; then
2816 echo "$as_me: failed program was:" >&5
2817 sed 's/^/| /' conftest.$ac_ext >&5
2821 rm -f conftest.$ac_objext conftest.$ac_ext
2822 cat >conftest.$ac_ext <<_ACEOF
2823 #line $LINENO "configure"
2826 cat confdefs.h >>conftest.$ac_ext
2827 cat >>conftest.$ac_ext <<_ACEOF
2828 /* end confdefs.h. */
2838 rm -f conftest.$ac_objext
2839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2840 (eval $ac_compile) 2>&5
2842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843 (exit $ac_status); } &&
2844 { ac_try='test -s conftest.$ac_objext'
2845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); }; }; then
2852 echo "$as_me: failed program was:" >&5
2853 sed 's/^/| /' conftest.$ac_ext >&5
2856 rm -f conftest.$ac_objext conftest.$ac_ext
2859 if test -n "$ac_declaration"; then
2860 echo '#ifdef __cplusplus' >>confdefs.h
2861 echo $ac_declaration >>confdefs.h
2862 echo '#endif' >>confdefs.h
2866 ac_cpp='$CPP $CPPFLAGS'
2867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2872 ac_cpp='$CPP $CPPFLAGS'
2873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2876 if test -n "$ac_tool_prefix"; then
2879 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2880 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2881 echo "$as_me:$LINENO: checking for $ac_word" >&5
2882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2883 if test "${ac_cv_prog_CC+set}" = set; then
2884 echo $ECHO_N "(cached) $ECHO_C" >&6
2886 if test -n "$CC"; then
2887 ac_cv_prog_CC="$CC" # Let the user override the test.
2889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2893 test -z "$as_dir" && as_dir=.
2894 for ac_exec_ext in '' $ac_executable_extensions; do
2895 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2896 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2897 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2906 if test -n "$CC"; then
2907 echo "$as_me:$LINENO: result: $CC" >&5
2908 echo "${ECHO_T}$CC" >&6
2910 echo "$as_me:$LINENO: result: no" >&5
2911 echo "${ECHO_T}no" >&6
2914 test -n "$CC" && break
2917 if test -z "$CC"; then
2921 # Extract the first word of "$ac_prog", so it can be a program name with args.
2922 set dummy $ac_prog; ac_word=$2
2923 echo "$as_me:$LINENO: checking for $ac_word" >&5
2924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2925 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2926 echo $ECHO_N "(cached) $ECHO_C" >&6
2928 if test -n "$ac_ct_CC"; then
2929 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2935 test -z "$as_dir" && as_dir=.
2936 for ac_exec_ext in '' $ac_executable_extensions; do
2937 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2938 ac_cv_prog_ac_ct_CC="$ac_prog"
2939 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2947 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2948 if test -n "$ac_ct_CC"; then
2949 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2950 echo "${ECHO_T}$ac_ct_CC" >&6
2952 echo "$as_me:$LINENO: result: no" >&5
2953 echo "${ECHO_T}no" >&6
2956 test -n "$ac_ct_CC" && break
2963 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2964 See \`config.log' for more details." >&5
2965 echo "$as_me: error: no acceptable C compiler found in \$PATH
2966 See \`config.log' for more details." >&2;}
2967 { (exit 1); exit 1; }; }
2969 # Provide some information about the compiler.
2970 echo "$as_me:$LINENO:" \
2971 "checking for C compiler version" >&5
2972 ac_compiler=`set X $ac_compile; echo $2`
2973 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2974 (eval $ac_compiler --version </dev/null >&5) 2>&5
2976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2977 (exit $ac_status); }
2978 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2979 (eval $ac_compiler -v </dev/null >&5) 2>&5
2981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2982 (exit $ac_status); }
2983 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2984 (eval $ac_compiler -V </dev/null >&5) 2>&5
2986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987 (exit $ac_status); }
2989 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2990 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2991 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2992 echo $ECHO_N "(cached) $ECHO_C" >&6
2994 cat >conftest.$ac_ext <<_ACEOF
2995 #line $LINENO "configure"
2998 cat confdefs.h >>conftest.$ac_ext
2999 cat >>conftest.$ac_ext <<_ACEOF
3000 /* end confdefs.h. */
3013 rm -f conftest.$ac_objext
3014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3015 (eval $ac_compile) 2>&5
3017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3018 (exit $ac_status); } &&
3019 { ac_try='test -s conftest.$ac_objext'
3020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3024 (exit $ac_status); }; }; then
3027 echo "$as_me: failed program was:" >&5
3028 sed 's/^/| /' conftest.$ac_ext >&5
3032 rm -f conftest.$ac_objext conftest.$ac_ext
3033 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3036 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3037 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3038 GCC=`test $ac_compiler_gnu = yes && echo yes`
3039 ac_test_CFLAGS=${CFLAGS+set}
3040 ac_save_CFLAGS=$CFLAGS
3042 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3043 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3044 if test "${ac_cv_prog_cc_g+set}" = set; then
3045 echo $ECHO_N "(cached) $ECHO_C" >&6
3047 cat >conftest.$ac_ext <<_ACEOF
3048 #line $LINENO "configure"
3051 cat confdefs.h >>conftest.$ac_ext
3052 cat >>conftest.$ac_ext <<_ACEOF
3053 /* end confdefs.h. */
3063 rm -f conftest.$ac_objext
3064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3065 (eval $ac_compile) 2>&5
3067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3068 (exit $ac_status); } &&
3069 { ac_try='test -s conftest.$ac_objext'
3070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3074 (exit $ac_status); }; }; then
3077 echo "$as_me: failed program was:" >&5
3078 sed 's/^/| /' conftest.$ac_ext >&5
3082 rm -f conftest.$ac_objext conftest.$ac_ext
3084 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3085 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3086 if test "$ac_test_CFLAGS" = set; then
3087 CFLAGS=$ac_save_CFLAGS
3088 elif test $ac_cv_prog_cc_g = yes; then
3089 if test "$GCC" = yes; then
3095 if test "$GCC" = yes; then
3101 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3102 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3103 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3104 echo $ECHO_N "(cached) $ECHO_C" >&6
3106 ac_cv_prog_cc_stdc=no
3108 cat >conftest.$ac_ext <<_ACEOF
3109 #line $LINENO "configure"
3112 cat confdefs.h >>conftest.$ac_ext
3113 cat >>conftest.$ac_ext <<_ACEOF
3114 /* end confdefs.h. */
3117 #include <sys/types.h>
3118 #include <sys/stat.h>
3119 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3120 struct buf { int x; };
3121 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3122 static char *e (p, i)
3128 static char *f (char * (*g) (char **, int), char **p, ...)
3133 s = g (p, va_arg (v,int));
3137 int test (int i, double x);
3138 struct s1 {int (*f) (int a);};
3139 struct s2 {int (*f) (double a);};
3140 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3146 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3151 # Don't try gcc -ansi; that turns off useful extensions and
3152 # breaks some systems' header files.
3153 # AIX -qlanglvl=ansi
3154 # Ultrix and OSF/1 -std1
3155 # HP-UX 10.20 and later -Ae
3156 # HP-UX older versions -Aa -D_HPUX_SOURCE
3157 # SVR4 -Xc -D__EXTENSIONS__
3158 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3160 CC="$ac_save_CC $ac_arg"
3161 rm -f conftest.$ac_objext
3162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3163 (eval $ac_compile) 2>&5
3165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3166 (exit $ac_status); } &&
3167 { ac_try='test -s conftest.$ac_objext'
3168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3172 (exit $ac_status); }; }; then
3173 ac_cv_prog_cc_stdc=$ac_arg
3176 echo "$as_me: failed program was:" >&5
3177 sed 's/^/| /' conftest.$ac_ext >&5
3180 rm -f conftest.$ac_objext
3182 rm -f conftest.$ac_ext conftest.$ac_objext
3187 case "x$ac_cv_prog_cc_stdc" in
3189 echo "$as_me:$LINENO: result: none needed" >&5
3190 echo "${ECHO_T}none needed" >&6 ;;
3192 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3193 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3194 CC="$CC $ac_cv_prog_cc_stdc" ;;
3197 # Some people use a C++ compiler to compile C. Since we use `exit',
3198 # in C++ we need to declare it. In case someone uses the same compiler
3199 # for both compiling C and C++ we need to have the C++ compiler decide
3200 # the declaration of exit, since it's the most demanding environment.
3201 cat >conftest.$ac_ext <<_ACEOF
3206 rm -f conftest.$ac_objext
3207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3208 (eval $ac_compile) 2>&5
3210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3211 (exit $ac_status); } &&
3212 { ac_try='test -s conftest.$ac_objext'
3213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3217 (exit $ac_status); }; }; then
3218 for ac_declaration in \
3220 '#include <stdlib.h>' \
3221 'extern "C" void std::exit (int) throw (); using std::exit;' \
3222 'extern "C" void std::exit (int); using std::exit;' \
3223 'extern "C" void exit (int) throw ();' \
3224 'extern "C" void exit (int);' \
3227 cat >conftest.$ac_ext <<_ACEOF
3228 #line $LINENO "configure"
3231 cat confdefs.h >>conftest.$ac_ext
3232 cat >>conftest.$ac_ext <<_ACEOF
3233 /* end confdefs.h. */
3244 rm -f conftest.$ac_objext
3245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3246 (eval $ac_compile) 2>&5
3248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3249 (exit $ac_status); } &&
3250 { ac_try='test -s conftest.$ac_objext'
3251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3255 (exit $ac_status); }; }; then
3258 echo "$as_me: failed program was:" >&5
3259 sed 's/^/| /' conftest.$ac_ext >&5
3263 rm -f conftest.$ac_objext conftest.$ac_ext
3264 cat >conftest.$ac_ext <<_ACEOF
3265 #line $LINENO "configure"
3268 cat confdefs.h >>conftest.$ac_ext
3269 cat >>conftest.$ac_ext <<_ACEOF
3270 /* end confdefs.h. */
3280 rm -f conftest.$ac_objext
3281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3282 (eval $ac_compile) 2>&5
3284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3285 (exit $ac_status); } &&
3286 { ac_try='test -s conftest.$ac_objext'
3287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3291 (exit $ac_status); }; }; then
3294 echo "$as_me: failed program was:" >&5
3295 sed 's/^/| /' conftest.$ac_ext >&5
3298 rm -f conftest.$ac_objext conftest.$ac_ext
3301 if test -n "$ac_declaration"; then
3302 echo '#ifdef __cplusplus' >>confdefs.h
3303 echo $ac_declaration >>confdefs.h
3304 echo '#endif' >>confdefs.h
3308 echo "$as_me: failed program was:" >&5
3309 sed 's/^/| /' conftest.$ac_ext >&5
3312 rm -f conftest.$ac_objext conftest.$ac_ext
3314 ac_cpp='$CPP $CPPFLAGS'
3315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3320 ac_cpp='$CPP $CPPFLAGS'
3321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3324 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3325 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3326 # On Suns, sometimes $CPP names a directory.
3327 if test -n "$CPP" && test -d "$CPP"; then
3330 if test -z "$CPP"; then
3331 if test "${ac_cv_prog_CPP+set}" = set; then
3332 echo $ECHO_N "(cached) $ECHO_C" >&6
3334 # Double quotes because CPP needs to be expanded
3335 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3338 for ac_c_preproc_warn_flag in '' yes
3340 # Use a header file that comes with gcc, so configuring glibc
3341 # with a fresh cross-compiler works.
3342 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3343 # <limits.h> exists even on freestanding compilers.
3344 # On the NeXT, cc -E runs the code through the compiler's parser,
3345 # not just through cpp. "Syntax error" is here to catch this case.
3346 cat >conftest.$ac_ext <<_ACEOF
3347 #line $LINENO "configure"
3350 cat confdefs.h >>conftest.$ac_ext
3351 cat >>conftest.$ac_ext <<_ACEOF
3352 /* end confdefs.h. */
3354 # include <limits.h>
3356 # include <assert.h>
3360 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3361 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3363 grep -v '^ *+' conftest.er1 >conftest.err
3365 cat conftest.err >&5
3366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3367 (exit $ac_status); } >/dev/null; then
3368 if test -s conftest.err; then
3369 ac_cpp_err=$ac_c_preproc_warn_flag
3376 if test -z "$ac_cpp_err"; then
3379 echo "$as_me: failed program was:" >&5
3380 sed 's/^/| /' conftest.$ac_ext >&5
3382 # Broken: fails on valid input.
3385 rm -f conftest.err conftest.$ac_ext
3387 # OK, works on sane cases. Now check whether non-existent headers
3388 # can be detected and how.
3389 cat >conftest.$ac_ext <<_ACEOF
3390 #line $LINENO "configure"
3393 cat confdefs.h >>conftest.$ac_ext
3394 cat >>conftest.$ac_ext <<_ACEOF
3395 /* end confdefs.h. */
3396 #include <ac_nonexistent.h>
3398 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3399 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3401 grep -v '^ *+' conftest.er1 >conftest.err
3403 cat conftest.err >&5
3404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3405 (exit $ac_status); } >/dev/null; then
3406 if test -s conftest.err; then
3407 ac_cpp_err=$ac_c_preproc_warn_flag
3414 if test -z "$ac_cpp_err"; then
3415 # Broken: success on invalid input.
3418 echo "$as_me: failed program was:" >&5
3419 sed 's/^/| /' conftest.$ac_ext >&5
3421 # Passes both tests.
3425 rm -f conftest.err conftest.$ac_ext
3428 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3429 rm -f conftest.err conftest.$ac_ext
3430 if $ac_preproc_ok; then
3442 echo "$as_me:$LINENO: result: $CPP" >&5
3443 echo "${ECHO_T}$CPP" >&6
3445 for ac_c_preproc_warn_flag in '' yes
3447 # Use a header file that comes with gcc, so configuring glibc
3448 # with a fresh cross-compiler works.
3449 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3450 # <limits.h> exists even on freestanding compilers.
3451 # On the NeXT, cc -E runs the code through the compiler's parser,
3452 # not just through cpp. "Syntax error" is here to catch this case.
3453 cat >conftest.$ac_ext <<_ACEOF
3454 #line $LINENO "configure"
3457 cat confdefs.h >>conftest.$ac_ext
3458 cat >>conftest.$ac_ext <<_ACEOF
3459 /* end confdefs.h. */
3461 # include <limits.h>
3463 # include <assert.h>
3467 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3468 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3470 grep -v '^ *+' conftest.er1 >conftest.err
3472 cat conftest.err >&5
3473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3474 (exit $ac_status); } >/dev/null; then
3475 if test -s conftest.err; then
3476 ac_cpp_err=$ac_c_preproc_warn_flag
3483 if test -z "$ac_cpp_err"; then
3486 echo "$as_me: failed program was:" >&5
3487 sed 's/^/| /' conftest.$ac_ext >&5
3489 # Broken: fails on valid input.
3492 rm -f conftest.err conftest.$ac_ext
3494 # OK, works on sane cases. Now check whether non-existent headers
3495 # can be detected and how.
3496 cat >conftest.$ac_ext <<_ACEOF
3497 #line $LINENO "configure"
3500 cat confdefs.h >>conftest.$ac_ext
3501 cat >>conftest.$ac_ext <<_ACEOF
3502 /* end confdefs.h. */
3503 #include <ac_nonexistent.h>
3505 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3506 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3508 grep -v '^ *+' conftest.er1 >conftest.err
3510 cat conftest.err >&5
3511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3512 (exit $ac_status); } >/dev/null; then
3513 if test -s conftest.err; then
3514 ac_cpp_err=$ac_c_preproc_warn_flag
3521 if test -z "$ac_cpp_err"; then
3522 # Broken: success on invalid input.
3525 echo "$as_me: failed program was:" >&5
3526 sed 's/^/| /' conftest.$ac_ext >&5
3528 # Passes both tests.
3532 rm -f conftest.err conftest.$ac_ext
3535 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3536 rm -f conftest.err conftest.$ac_ext
3537 if $ac_preproc_ok; then
3540 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3541 See \`config.log' for more details." >&5
3542 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3543 See \`config.log' for more details." >&2;}
3544 { (exit 1); exit 1; }; }
3548 ac_cpp='$CPP $CPPFLAGS'
3549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3554 if test "$GCC" != "yes"
3556 { { echo "$as_me:$LINENO: error: gcc required but not found" >&5
3557 echo "$as_me: error: gcc required but not found" >&2;}
3558 { (exit 1); exit 1; }; }
3561 if test "$GXX" != "yes"
3563 { { echo "$as_me:$LINENO: error: g++ required but not found" >&5
3564 echo "$as_me: error: g++ required but not found" >&2;}
3565 { (exit 1); exit 1; }; }
3568 gccmajor=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1`
3569 if test "$gccmajor" -lt "3"
3571 { { echo "$as_me:$LINENO: error: gcc 3.x required" >&5
3572 echo "$as_me: error: gcc 3.x required" >&2;}
3573 { (exit 1); exit 1; }; }
3576 echo "$as_me:$LINENO: checking for GNU make" >&5
3577 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
3578 if test "${_cv_gnu_make_command+set}" = set; then
3579 echo $ECHO_N "(cached) $ECHO_C" >&6
3581 _cv_gnu_make_command='' ;
3582 for a in "$MAKE" make gmake gnumake ; do
3583 if test -z "$a" ; then continue ; fi ;
3584 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
3585 _cv_gnu_make_command=$a ;
3591 echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5
3592 echo "${ECHO_T}$_cv_gnu_make_command" >&6 ;
3593 if test "x$_cv_gnu_make_command" != "x" ; then
3597 echo "$as_me:$LINENO: result: \"Not found\"" >&5
3598 echo "${ECHO_T}\"Not found\"" >&6;
3602 if test -z "$_cv_gnu_make_command"
3604 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
3605 echo "$as_me: error: GNU Make required but not found" >&2;}
3606 { (exit 1); exit 1; }; }
3610 echo "$as_me:$LINENO: checking " >&5
3611 echo $ECHO_N "checking ... $ECHO_C" >&6
3612 if test "${ac_cv_has_flex+set}" = set; then
3613 echo $ECHO_N "(cached) $ECHO_C" >&6
3615 for ac_prog in flex lex
3617 # Extract the first word of "$ac_prog", so it can be a program name with args.
3618 set dummy $ac_prog; ac_word=$2
3619 echo "$as_me:$LINENO: checking for $ac_word" >&5
3620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3621 if test "${ac_cv_prog_LEX+set}" = set; then
3622 echo $ECHO_N "(cached) $ECHO_C" >&6
3624 if test -n "$LEX"; then
3625 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3631 test -z "$as_dir" && as_dir=.
3632 for ac_exec_ext in '' $ac_executable_extensions; do
3633 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3634 ac_cv_prog_LEX="$ac_prog"
3635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3644 if test -n "$LEX"; then
3645 echo "$as_me:$LINENO: result: $LEX" >&5
3646 echo "${ECHO_T}$LEX" >&6
3648 echo "$as_me:$LINENO: result: no" >&5
3649 echo "${ECHO_T}no" >&6
3652 test -n "$LEX" && break
3654 test -n "$LEX" || LEX=":"
3656 if test -z "$LEXLIB"
3658 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3659 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3660 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3661 echo $ECHO_N "(cached) $ECHO_C" >&6
3663 ac_check_lib_save_LIBS=$LIBS
3665 cat >conftest.$ac_ext <<_ACEOF
3666 #line $LINENO "configure"
3669 cat confdefs.h >>conftest.$ac_ext
3670 cat >>conftest.$ac_ext <<_ACEOF
3671 /* end confdefs.h. */
3673 /* Override any gcc2 internal prototype to avoid an error. */
3677 /* We use char because int might match the return type of a gcc2
3678 builtin and then its argument prototype would still apply. */
3688 rm -f conftest.$ac_objext conftest$ac_exeext
3689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3690 (eval $ac_link) 2>&5
3692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693 (exit $ac_status); } &&
3694 { ac_try='test -s conftest$ac_exeext'
3695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3699 (exit $ac_status); }; }; then
3700 ac_cv_lib_fl_yywrap=yes
3702 echo "$as_me: failed program was:" >&5
3703 sed 's/^/| /' conftest.$ac_ext >&5
3705 ac_cv_lib_fl_yywrap=no
3707 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3708 LIBS=$ac_check_lib_save_LIBS
3710 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3711 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3712 if test $ac_cv_lib_fl_yywrap = yes; then
3715 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3716 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3717 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3718 echo $ECHO_N "(cached) $ECHO_C" >&6
3720 ac_check_lib_save_LIBS=$LIBS
3722 cat >conftest.$ac_ext <<_ACEOF
3723 #line $LINENO "configure"
3726 cat confdefs.h >>conftest.$ac_ext
3727 cat >>conftest.$ac_ext <<_ACEOF
3728 /* end confdefs.h. */
3730 /* Override any gcc2 internal prototype to avoid an error. */
3734 /* We use char because int might match the return type of a gcc2
3735 builtin and then its argument prototype would still apply. */
3745 rm -f conftest.$ac_objext conftest$ac_exeext
3746 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3747 (eval $ac_link) 2>&5
3749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3750 (exit $ac_status); } &&
3751 { ac_try='test -s conftest$ac_exeext'
3752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3756 (exit $ac_status); }; }; then
3757 ac_cv_lib_l_yywrap=yes
3759 echo "$as_me: failed program was:" >&5
3760 sed 's/^/| /' conftest.$ac_ext >&5
3762 ac_cv_lib_l_yywrap=no
3764 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3765 LIBS=$ac_check_lib_save_LIBS
3767 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3768 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3769 if test $ac_cv_lib_l_yywrap = yes; then
3777 if test "x$LEX" != "x:"; then
3778 echo "$as_me:$LINENO: checking lex output file root" >&5
3779 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3780 if test "${ac_cv_prog_lex_root+set}" = set; then
3781 echo $ECHO_N "(cached) $ECHO_C" >&6
3783 # The minimal lex program is just a single line: %%. But some broken lexes
3784 # (Solaris, I think it was) want two %% lines, so accommodate them.
3785 cat >conftest.l <<_ACEOF
3789 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3790 (eval $LEX conftest.l) 2>&5
3792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3793 (exit $ac_status); }
3794 if test -f lex.yy.c; then
3795 ac_cv_prog_lex_root=lex.yy
3796 elif test -f lexyy.c; then
3797 ac_cv_prog_lex_root=lexyy
3799 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3800 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3801 { (exit 1); exit 1; }; }
3804 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3805 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3807 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3809 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3810 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3811 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3812 echo $ECHO_N "(cached) $ECHO_C" >&6
3814 # POSIX says lex can declare yytext either as a pointer or an array; the
3815 # default is implementation-dependent. Figure out which it is, since
3816 # not all implementations provide the %pointer and %array declarations.
3817 ac_cv_prog_lex_yytext_pointer=no
3818 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3820 LIBS="$LIBS $LEXLIB"
3821 cat >conftest.$ac_ext <<_ACEOF
3822 `cat $LEX_OUTPUT_ROOT.c`
3824 rm -f conftest.$ac_objext conftest$ac_exeext
3825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3826 (eval $ac_link) 2>&5
3828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3829 (exit $ac_status); } &&
3830 { ac_try='test -s conftest$ac_exeext'
3831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3835 (exit $ac_status); }; }; then
3836 ac_cv_prog_lex_yytext_pointer=yes
3838 echo "$as_me: failed program was:" >&5
3839 sed 's/^/| /' conftest.$ac_ext >&5
3842 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3844 rm -f "${LEX_OUTPUT_ROOT}.c"
3847 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3848 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3849 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3851 cat >>confdefs.h <<\_ACEOF
3852 #define YYTEXT_POINTER 1
3860 echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
3861 echo "${ECHO_T}$ac_cv_has_flex" >&6
3862 if test "$LEX" != "flex"; then
3863 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
3864 echo "$as_me: error: flex not found but required" >&2;}
3865 { (exit 1); exit 1; }; }
3868 echo "$as_me:$LINENO: checking " >&5
3869 echo $ECHO_N "checking ... $ECHO_C" >&6
3870 if test "${ac_cv_has_bison+set}" = set; then
3871 echo $ECHO_N "(cached) $ECHO_C" >&6
3873 for ac_prog in 'bison -y' byacc
3875 # Extract the first word of "$ac_prog", so it can be a program name with args.
3876 set dummy $ac_prog; ac_word=$2
3877 echo "$as_me:$LINENO: checking for $ac_word" >&5
3878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3879 if test "${ac_cv_prog_YACC+set}" = set; then
3880 echo $ECHO_N "(cached) $ECHO_C" >&6
3882 if test -n "$YACC"; then
3883 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3889 test -z "$as_dir" && as_dir=.
3890 for ac_exec_ext in '' $ac_executable_extensions; do
3891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3892 ac_cv_prog_YACC="$ac_prog"
3893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3901 YACC=$ac_cv_prog_YACC
3902 if test -n "$YACC"; then
3903 echo "$as_me:$LINENO: result: $YACC" >&5
3904 echo "${ECHO_T}$YACC" >&6
3906 echo "$as_me:$LINENO: result: no" >&5
3907 echo "${ECHO_T}no" >&6
3910 test -n "$YACC" && break
3912 test -n "$YACC" || YACC="yacc"
3916 echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5
3917 echo "${ECHO_T}$ac_cv_has_bison" >&6
3918 if test "$YACC" != "bison -y"; then
3919 { { echo "$as_me:$LINENO: error: bison not found but required" >&5
3920 echo "$as_me: error: bison not found but required" >&2;}
3921 { (exit 1); exit 1; }; }
3928 # Check whether --enable-shared or --disable-shared was given.
3929 if test "${enable_shared+set}" = set; then
3930 enableval="$enable_shared"
3931 p=${PACKAGE-default}
3933 yes) enable_shared=yes ;;
3934 no) enable_shared=no ;;
3937 # Look at the argument we got. We use all the common list separators.
3938 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3939 for pkg in $enableval; do
3941 if test "X$pkg" = "X$p"; then
3952 # Check whether --enable-static or --disable-static was given.
3953 if test "${enable_static+set}" = set; then
3954 enableval="$enable_static"
3955 p=${PACKAGE-default}
3957 yes) enable_static=yes ;;
3958 no) enable_static=no ;;
3961 # Look at the argument we got. We use all the common list separators.
3962 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3963 for pkg in $enableval; do
3965 if test "X$pkg" = "X$p"; then
3976 # Check whether --enable-fast-install or --disable-fast-install was given.
3977 if test "${enable_fast_install+set}" = set; then
3978 enableval="$enable_fast_install"
3979 p=${PACKAGE-default}
3981 yes) enable_fast_install=yes ;;
3982 no) enable_fast_install=no ;;
3984 enable_fast_install=no
3985 # Look at the argument we got. We use all the common list separators.
3986 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3987 for pkg in $enableval; do
3989 if test "X$pkg" = "X$p"; then
3990 enable_fast_install=yes
3997 enable_fast_install=yes
4000 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4001 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4002 if test "${lt_cv_path_SED+set}" = set; then
4003 echo $ECHO_N "(cached) $ECHO_C" >&6
4005 # Loop through the user's path and test for sed and gsed.
4006 # Then use that list of sed's as ones to test for truncation.
4007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4011 test -z "$as_dir" && as_dir=.
4012 for lt_ac_prog in sed gsed; do
4013 for ac_exec_ext in '' $ac_executable_extensions; do
4014 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4015 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4022 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4023 # along with /bin/sed that truncates output.
4024 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4025 test ! -f $lt_ac_sed && break
4026 cat /dev/null > conftest.in
4028 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4029 # Check for GNU sed and select it if it is found.
4030 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4031 lt_cv_path_SED=$lt_ac_sed
4035 cat conftest.in conftest.in >conftest.tmp
4036 mv conftest.tmp conftest.in
4037 cp conftest.in conftest.nl
4039 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4040 cmp -s conftest.out conftest.nl || break
4041 # 10000 chars as input seems more than enough
4042 test $lt_ac_count -gt 10 && break
4043 lt_ac_count=`expr $lt_ac_count + 1`
4044 if test $lt_ac_count -gt $lt_ac_max; then
4045 lt_ac_max=$lt_ac_count
4046 lt_cv_path_SED=$lt_ac_sed
4054 echo "$as_me:$LINENO: result: $SED" >&5
4055 echo "${ECHO_T}$SED" >&6
4057 echo "$as_me:$LINENO: checking for egrep" >&5
4058 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4059 if test "${ac_cv_prog_egrep+set}" = set; then
4060 echo $ECHO_N "(cached) $ECHO_C" >&6
4062 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4063 then ac_cv_prog_egrep='grep -E'
4064 else ac_cv_prog_egrep='egrep'
4067 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4068 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4069 EGREP=$ac_cv_prog_egrep
4073 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4074 if test "${with_gnu_ld+set}" = set; then
4075 withval="$with_gnu_ld"
4076 test "$withval" = no || with_gnu_ld=yes
4081 if test "$GCC" = yes; then
4082 # Check if gcc -print-prog-name=ld gives a path.
4083 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4084 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4087 # gcc leaves a trailing carriage return which upsets mingw
4088 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4090 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4093 # Accept absolute paths.
4095 re_direlt='/[^/][^/]*/\.\./'
4096 # Canonicalize the path of ld
4097 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4098 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4099 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4101 test -z "$LD" && LD="$ac_prog"
4104 # If it fails, then pretend we aren't using GCC.
4108 # If it is relative, then search for the first ld in PATH.
4112 elif test "$with_gnu_ld" = yes; then
4113 echo "$as_me:$LINENO: checking for GNU ld" >&5
4114 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4116 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4117 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4119 if test "${lt_cv_path_LD+set}" = set; then
4120 echo $ECHO_N "(cached) $ECHO_C" >&6
4122 if test -z "$LD"; then
4123 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4124 for ac_dir in $PATH; do
4126 test -z "$ac_dir" && ac_dir=.
4127 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4128 lt_cv_path_LD="$ac_dir/$ac_prog"
4129 # Check to see if the program is GNU ld. I'd rather use --version,
4130 # but apparently some GNU ld's only accept -v.
4131 # Break only if it was the GNU/non-GNU ld that we prefer.
4132 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4133 *GNU* | *'with BFD'*)
4134 test "$with_gnu_ld" != no && break
4137 test "$with_gnu_ld" != yes && break
4144 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4149 if test -n "$LD"; then
4150 echo "$as_me:$LINENO: result: $LD" >&5
4151 echo "${ECHO_T}$LD" >&6
4153 echo "$as_me:$LINENO: result: no" >&5
4154 echo "${ECHO_T}no" >&6
4156 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4157 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4158 { (exit 1); exit 1; }; }
4159 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4160 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4161 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4162 echo $ECHO_N "(cached) $ECHO_C" >&6
4164 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4165 case `"$LD" -v 2>&1 </dev/null` in
4166 *GNU* | *'with BFD'*)
4167 lt_cv_prog_gnu_ld=yes
4170 lt_cv_prog_gnu_ld=no
4174 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4175 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4176 with_gnu_ld=$lt_cv_prog_gnu_ld
4179 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4180 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4181 if test "${lt_cv_ld_reload_flag+set}" = set; then
4182 echo $ECHO_N "(cached) $ECHO_C" >&6
4184 lt_cv_ld_reload_flag='-r'
4186 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4187 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4188 reload_flag=$lt_cv_ld_reload_flag
4189 case $reload_flag in
4191 *) reload_flag=" $reload_flag" ;;
4193 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4195 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4196 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4197 if test "${lt_cv_path_NM+set}" = set; then
4198 echo $ECHO_N "(cached) $ECHO_C" >&6
4200 if test -n "$NM"; then
4201 # Let the user override the test.
4204 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4205 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4207 test -z "$ac_dir" && ac_dir=.
4208 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4209 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4210 # Check to see if the nm accepts a BSD-compat flag.
4211 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4212 # nm: unknown option "B" ignored
4213 # Tru64's nm complains that /dev/null is an invalid object file
4214 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4215 */dev/null* | *'Invalid file or object type'*)
4216 lt_cv_path_NM="$tmp_nm -B"
4220 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4222 lt_cv_path_NM="$tmp_nm -p"
4226 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4227 continue # so that we can try to find one that supports BSD flags
4234 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4237 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4238 echo "${ECHO_T}$lt_cv_path_NM" >&6
4241 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4242 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4244 if test "$LN_S" = "ln -s"; then
4245 echo "$as_me:$LINENO: result: yes" >&5
4246 echo "${ECHO_T}yes" >&6
4248 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4249 echo "${ECHO_T}no, using $LN_S" >&6
4252 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4253 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4254 if test "${lt_cv_deplibs_check_method+set}" = set; then
4255 echo $ECHO_N "(cached) $ECHO_C" >&6
4257 lt_cv_file_magic_cmd='$MAGIC_CMD'
4258 lt_cv_file_magic_test_file=
4259 lt_cv_deplibs_check_method='unknown'
4260 # Need to set the preceding variable on all platforms that support
4261 # interlibrary dependencies.
4262 # 'none' -- dependencies not supported.
4263 # `unknown' -- same as none, but documents that we really don't know.
4264 # 'pass_all' -- all dependencies passed with no checks.
4265 # 'test_compile' -- check by making test program.
4266 # 'file_magic [[regex]]' -- check by looking for files in library path
4267 # which responds to the $file_magic_cmd with a given extended regex.
4268 # If you have `file' or equivalent on your system and you're not sure
4269 # whether `pass_all' will *always* work, you probably want this one.
4273 lt_cv_deplibs_check_method=pass_all
4277 lt_cv_deplibs_check_method=pass_all
4281 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4282 lt_cv_file_magic_cmd='/usr/bin/file -L'
4283 lt_cv_file_magic_test_file=/shlib/libc.so
4286 cygwin* | mingw* | pw32*)
4287 # win32_libid is a shell function defined in ltmain.sh
4288 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4289 lt_cv_file_magic_cmd='win32_libid'
4292 darwin* | rhapsody*)
4293 # this will be overwritten by pass_all, but leave it in just in case
4294 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4295 lt_cv_file_magic_cmd='/usr/bin/file -L'
4297 rhapsody* | darwin1.[012])
4298 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4301 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4304 lt_cv_deplibs_check_method=pass_all
4308 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4311 # Not sure whether the presence of OpenBSD here was a mistake.
4312 # Let's accept both of them until this is cleared up.
4313 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4314 lt_cv_file_magic_cmd=/usr/bin/file
4315 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4319 lt_cv_deplibs_check_method=pass_all
4324 lt_cv_deplibs_check_method=pass_all
4327 hpux10.20* | hpux11*)
4328 lt_cv_file_magic_cmd=/usr/bin/file
4331 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4332 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4335 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]'
4336 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4339 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4340 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4345 irix5* | irix6* | nonstopux*)
4347 irix5* | nonstopux*)
4348 # this will be overridden with pass_all, but let us keep it just in case
4349 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4353 *-32|*"-32 ") libmagic=32-bit;;
4354 *-n32|*"-n32 ") libmagic=N32;;
4355 *-64|*"-64 ") libmagic=64-bit;;
4356 *) libmagic=never-match;;
4358 # this will be overridden with pass_all, but let us keep it just in case
4359 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4362 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4363 lt_cv_deplibs_check_method=pass_all
4366 # This must be Linux ELF.
4369 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
4370 lt_cv_deplibs_check_method=pass_all ;;
4372 # glibc up to 2.1.1 does not perform some relocations on ARM
4373 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4375 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4379 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4380 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4382 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4387 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4388 lt_cv_file_magic_cmd=/usr/bin/file
4389 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4393 lt_cv_deplibs_check_method=unknown
4397 lt_cv_file_magic_cmd=/usr/bin/file
4398 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4399 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4400 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4402 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4406 osf3* | osf4* | osf5*)
4407 # this will be overridden with pass_all, but let us keep it just in case
4408 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4409 lt_cv_file_magic_test_file=/shlib/libc.so
4410 lt_cv_deplibs_check_method=pass_all
4414 lt_cv_deplibs_check_method=pass_all
4418 lt_cv_deplibs_check_method=pass_all
4419 lt_cv_file_magic_test_file=/lib/libc.so
4422 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4423 case $host_vendor in
4425 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]'
4426 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4429 lt_cv_deplibs_check_method=pass_all
4432 lt_cv_file_magic_cmd='/bin/file'
4433 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4436 lt_cv_file_magic_cmd='/bin/file'
4437 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4438 lt_cv_file_magic_test_file=/lib/libc.so
4441 lt_cv_deplibs_check_method=pass_all
4446 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4447 lt_cv_deplibs_check_method=pass_all
4452 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4453 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4454 file_magic_cmd=$lt_cv_file_magic_cmd
4455 deplibs_check_method=$lt_cv_deplibs_check_method
4456 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4461 # If no C compiler was specified, use CC.
4464 # Allow CC to be a program name with arguments.
4467 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4468 if test "${enable_libtool_lock+set}" = set; then
4469 enableval="$enable_libtool_lock"
4472 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4474 # Some flags need to be propagated to the compiler or linker for good
4478 # Find out which ABI we are using.
4479 echo 'int i;' > conftest.$ac_ext
4480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4481 (eval $ac_compile) 2>&5
4483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4484 (exit $ac_status); }; then
4485 case `/usr/bin/file conftest.$ac_objext` in
4497 # Find out which ABI we are using.
4498 echo '#line 4498 "configure"' > conftest.$ac_ext
4499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4500 (eval $ac_compile) 2>&5
4502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4503 (exit $ac_status); }; then
4504 if test "$lt_cv_prog_gnu_ld" = yes; then
4505 case `/usr/bin/file conftest.$ac_objext` in
4507 LD="${LD-ld} -melf32bsmip"
4510 LD="${LD-ld} -melf32bmipn32"
4513 LD="${LD-ld} -melf64bmip"
4517 case `/usr/bin/file conftest.$ac_objext` in
4533 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4534 # Find out which ABI we are using.
4535 echo 'int i;' > conftest.$ac_ext
4536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4537 (eval $ac_compile) 2>&5
4539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4540 (exit $ac_status); }; then
4541 case "`/usr/bin/file conftest.o`" in
4545 LD="${LD-ld} -m elf_i386"
4548 LD="${LD-ld} -m elf32ppclinux"
4551 LD="${LD-ld} -m elf_s390"
4554 LD="${LD-ld} -m elf32_sparc"
4561 LD="${LD-ld} -m elf_x86_64"
4563 ppc*-*linux*|powerpc*-*linux*)
4564 LD="${LD-ld} -m elf64ppc"
4567 LD="${LD-ld} -m elf64_s390"
4570 LD="${LD-ld} -m elf64_sparc"
4580 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4581 SAVE_CFLAGS="$CFLAGS"
4582 CFLAGS="$CFLAGS -belf"
4583 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4584 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4585 if test "${lt_cv_cc_needs_belf+set}" = set; then
4586 echo $ECHO_N "(cached) $ECHO_C" >&6
4589 ac_cpp='$CPP $CPPFLAGS'
4590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4594 cat >conftest.$ac_ext <<_ACEOF
4595 #line $LINENO "configure"
4598 cat confdefs.h >>conftest.$ac_ext
4599 cat >>conftest.$ac_ext <<_ACEOF
4600 /* end confdefs.h. */
4610 rm -f conftest.$ac_objext conftest$ac_exeext
4611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4612 (eval $ac_link) 2>&5
4614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4615 (exit $ac_status); } &&
4616 { ac_try='test -s conftest$ac_exeext'
4617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4621 (exit $ac_status); }; }; then
4622 lt_cv_cc_needs_belf=yes
4624 echo "$as_me: failed program was:" >&5
4625 sed 's/^/| /' conftest.$ac_ext >&5
4627 lt_cv_cc_needs_belf=no
4629 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4631 ac_cpp='$CPP $CPPFLAGS'
4632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4637 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4638 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4639 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4640 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4641 CFLAGS="$SAVE_CFLAGS"
4647 need_locks="$enable_libtool_lock"
4651 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4652 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4653 if test "${ac_cv_header_stdc+set}" = set; then
4654 echo $ECHO_N "(cached) $ECHO_C" >&6
4656 cat >conftest.$ac_ext <<_ACEOF
4657 #line $LINENO "configure"
4660 cat confdefs.h >>conftest.$ac_ext
4661 cat >>conftest.$ac_ext <<_ACEOF
4662 /* end confdefs.h. */
4676 rm -f conftest.$ac_objext
4677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4678 (eval $ac_compile) 2>&5
4680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4681 (exit $ac_status); } &&
4682 { ac_try='test -s conftest.$ac_objext'
4683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4687 (exit $ac_status); }; }; then
4688 ac_cv_header_stdc=yes
4690 echo "$as_me: failed program was:" >&5
4691 sed 's/^/| /' conftest.$ac_ext >&5
4693 ac_cv_header_stdc=no
4695 rm -f conftest.$ac_objext conftest.$ac_ext
4697 if test $ac_cv_header_stdc = yes; then
4698 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4699 cat >conftest.$ac_ext <<_ACEOF
4700 #line $LINENO "configure"
4703 cat confdefs.h >>conftest.$ac_ext
4704 cat >>conftest.$ac_ext <<_ACEOF
4705 /* end confdefs.h. */
4709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4710 $EGREP "memchr" >/dev/null 2>&1; then
4713 ac_cv_header_stdc=no
4719 if test $ac_cv_header_stdc = yes; then
4720 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4721 cat >conftest.$ac_ext <<_ACEOF
4722 #line $LINENO "configure"
4725 cat confdefs.h >>conftest.$ac_ext
4726 cat >>conftest.$ac_ext <<_ACEOF
4727 /* end confdefs.h. */
4731 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4732 $EGREP "free" >/dev/null 2>&1; then
4735 ac_cv_header_stdc=no
4741 if test $ac_cv_header_stdc = yes; then
4742 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4743 if test "$cross_compiling" = yes; then
4746 cat >conftest.$ac_ext <<_ACEOF
4747 #line $LINENO "configure"
4750 cat confdefs.h >>conftest.$ac_ext
4751 cat >>conftest.$ac_ext <<_ACEOF
4752 /* end confdefs.h. */
4754 #if ((' ' & 0x0FF) == 0x020)
4755 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4756 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4758 # define ISLOWER(c) \
4759 (('a' <= (c) && (c) <= 'i') \
4760 || ('j' <= (c) && (c) <= 'r') \
4761 || ('s' <= (c) && (c) <= 'z'))
4762 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4765 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4770 for (i = 0; i < 256; i++)
4771 if (XOR (islower (i), ISLOWER (i))
4772 || toupper (i) != TOUPPER (i))
4777 rm -f conftest$ac_exeext
4778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4779 (eval $ac_link) 2>&5
4781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4782 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4787 (exit $ac_status); }; }; then
4790 echo "$as_me: program exited with status $ac_status" >&5
4791 echo "$as_me: failed program was:" >&5
4792 sed 's/^/| /' conftest.$ac_ext >&5
4795 ac_cv_header_stdc=no
4797 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4801 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4802 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4803 if test $ac_cv_header_stdc = yes; then
4805 cat >>confdefs.h <<\_ACEOF
4806 #define STDC_HEADERS 1
4811 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4821 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4822 inttypes.h stdint.h unistd.h
4824 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4825 echo "$as_me:$LINENO: checking for $ac_header" >&5
4826 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4827 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4828 echo $ECHO_N "(cached) $ECHO_C" >&6
4830 cat >conftest.$ac_ext <<_ACEOF
4831 #line $LINENO "configure"
4834 cat confdefs.h >>conftest.$ac_ext
4835 cat >>conftest.$ac_ext <<_ACEOF
4836 /* end confdefs.h. */
4837 $ac_includes_default
4839 #include <$ac_header>
4841 rm -f conftest.$ac_objext
4842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4843 (eval $ac_compile) 2>&5
4845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4846 (exit $ac_status); } &&
4847 { ac_try='test -s conftest.$ac_objext'
4848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4852 (exit $ac_status); }; }; then
4853 eval "$as_ac_Header=yes"
4855 echo "$as_me: failed program was:" >&5
4856 sed 's/^/| /' conftest.$ac_ext >&5
4858 eval "$as_ac_Header=no"
4860 rm -f conftest.$ac_objext conftest.$ac_ext
4862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4863 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4865 cat >>confdefs.h <<_ACEOF
4866 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4875 for ac_header in dlfcn.h
4877 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4878 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4879 echo "$as_me:$LINENO: checking for $ac_header" >&5
4880 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4881 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4882 echo $ECHO_N "(cached) $ECHO_C" >&6
4884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4885 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4887 # Is the header compilable?
4888 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4889 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4890 cat >conftest.$ac_ext <<_ACEOF
4891 #line $LINENO "configure"
4894 cat confdefs.h >>conftest.$ac_ext
4895 cat >>conftest.$ac_ext <<_ACEOF
4896 /* end confdefs.h. */
4897 $ac_includes_default
4898 #include <$ac_header>
4900 rm -f conftest.$ac_objext
4901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4902 (eval $ac_compile) 2>&5
4904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4905 (exit $ac_status); } &&
4906 { ac_try='test -s conftest.$ac_objext'
4907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); }; }; then
4912 ac_header_compiler=yes
4914 echo "$as_me: failed program was:" >&5
4915 sed 's/^/| /' conftest.$ac_ext >&5
4917 ac_header_compiler=no
4919 rm -f conftest.$ac_objext conftest.$ac_ext
4920 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4921 echo "${ECHO_T}$ac_header_compiler" >&6
4923 # Is the header present?
4924 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4925 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4926 cat >conftest.$ac_ext <<_ACEOF
4927 #line $LINENO "configure"
4930 cat confdefs.h >>conftest.$ac_ext
4931 cat >>conftest.$ac_ext <<_ACEOF
4932 /* end confdefs.h. */
4933 #include <$ac_header>
4935 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4936 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4938 grep -v '^ *+' conftest.er1 >conftest.err
4940 cat conftest.err >&5
4941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4942 (exit $ac_status); } >/dev/null; then
4943 if test -s conftest.err; then
4944 ac_cpp_err=$ac_c_preproc_warn_flag
4951 if test -z "$ac_cpp_err"; then
4952 ac_header_preproc=yes
4954 echo "$as_me: failed program was:" >&5
4955 sed 's/^/| /' conftest.$ac_ext >&5
4957 ac_header_preproc=no
4959 rm -f conftest.err conftest.$ac_ext
4960 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4961 echo "${ECHO_T}$ac_header_preproc" >&6
4963 # So? What about this header?
4964 case $ac_header_compiler:$ac_header_preproc in
4966 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4967 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4968 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4969 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4972 ## ------------------------------------ ##
4973 ## Report this to bug-autoconf@gnu.org. ##
4974 ## ------------------------------------ ##
4977 sed "s/^/$as_me: WARNING: /" >&2
4980 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4981 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4982 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4983 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4984 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4985 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4988 ## ------------------------------------ ##
4989 ## Report this to bug-autoconf@gnu.org. ##
4990 ## ------------------------------------ ##
4993 sed "s/^/$as_me: WARNING: /" >&2
4996 echo "$as_me:$LINENO: checking for $ac_header" >&5
4997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4999 echo $ECHO_N "(cached) $ECHO_C" >&6
5001 eval "$as_ac_Header=$ac_header_preproc"
5003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5004 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5007 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5008 cat >>confdefs.h <<_ACEOF
5009 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5017 ac_cpp='$CXXCPP $CPPFLAGS'
5018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5021 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
5022 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
5023 if test -z "$CXXCPP"; then
5024 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5025 echo $ECHO_N "(cached) $ECHO_C" >&6
5027 # Double quotes because CXXCPP needs to be expanded
5028 for CXXCPP in "$CXX -E" "/lib/cpp"
5031 for ac_cxx_preproc_warn_flag in '' yes
5033 # Use a header file that comes with gcc, so configuring glibc
5034 # with a fresh cross-compiler works.
5035 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5036 # <limits.h> exists even on freestanding compilers.
5037 # On the NeXT, cc -E runs the code through the compiler's parser,
5038 # not just through cpp. "Syntax error" is here to catch this case.
5039 cat >conftest.$ac_ext <<_ACEOF
5040 #line $LINENO "configure"
5043 cat confdefs.h >>conftest.$ac_ext
5044 cat >>conftest.$ac_ext <<_ACEOF
5045 /* end confdefs.h. */
5047 # include <limits.h>
5049 # include <assert.h>
5053 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5054 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5056 grep -v '^ *+' conftest.er1 >conftest.err
5058 cat conftest.err >&5
5059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5060 (exit $ac_status); } >/dev/null; then
5061 if test -s conftest.err; then
5062 ac_cpp_err=$ac_cxx_preproc_warn_flag
5069 if test -z "$ac_cpp_err"; then
5072 echo "$as_me: failed program was:" >&5
5073 sed 's/^/| /' conftest.$ac_ext >&5
5075 # Broken: fails on valid input.
5078 rm -f conftest.err conftest.$ac_ext
5080 # OK, works on sane cases. Now check whether non-existent headers
5081 # can be detected and how.
5082 cat >conftest.$ac_ext <<_ACEOF
5083 #line $LINENO "configure"
5086 cat confdefs.h >>conftest.$ac_ext
5087 cat >>conftest.$ac_ext <<_ACEOF
5088 /* end confdefs.h. */
5089 #include <ac_nonexistent.h>
5091 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5092 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5094 grep -v '^ *+' conftest.er1 >conftest.err
5096 cat conftest.err >&5
5097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5098 (exit $ac_status); } >/dev/null; then
5099 if test -s conftest.err; then
5100 ac_cpp_err=$ac_cxx_preproc_warn_flag
5107 if test -z "$ac_cpp_err"; then
5108 # Broken: success on invalid input.
5111 echo "$as_me: failed program was:" >&5
5112 sed 's/^/| /' conftest.$ac_ext >&5
5114 # Passes both tests.
5118 rm -f conftest.err conftest.$ac_ext
5121 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5122 rm -f conftest.err conftest.$ac_ext
5123 if $ac_preproc_ok; then
5128 ac_cv_prog_CXXCPP=$CXXCPP
5131 CXXCPP=$ac_cv_prog_CXXCPP
5133 ac_cv_prog_CXXCPP=$CXXCPP
5135 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5136 echo "${ECHO_T}$CXXCPP" >&6
5138 for ac_cxx_preproc_warn_flag in '' yes
5140 # Use a header file that comes with gcc, so configuring glibc
5141 # with a fresh cross-compiler works.
5142 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5143 # <limits.h> exists even on freestanding compilers.
5144 # On the NeXT, cc -E runs the code through the compiler's parser,
5145 # not just through cpp. "Syntax error" is here to catch this case.
5146 cat >conftest.$ac_ext <<_ACEOF
5147 #line $LINENO "configure"
5150 cat confdefs.h >>conftest.$ac_ext
5151 cat >>conftest.$ac_ext <<_ACEOF
5152 /* end confdefs.h. */
5154 # include <limits.h>
5156 # include <assert.h>
5160 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5161 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5163 grep -v '^ *+' conftest.er1 >conftest.err
5165 cat conftest.err >&5
5166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5167 (exit $ac_status); } >/dev/null; then
5168 if test -s conftest.err; then
5169 ac_cpp_err=$ac_cxx_preproc_warn_flag
5176 if test -z "$ac_cpp_err"; then
5179 echo "$as_me: failed program was:" >&5
5180 sed 's/^/| /' conftest.$ac_ext >&5
5182 # Broken: fails on valid input.
5185 rm -f conftest.err conftest.$ac_ext
5187 # OK, works on sane cases. Now check whether non-existent headers
5188 # can be detected and how.
5189 cat >conftest.$ac_ext <<_ACEOF
5190 #line $LINENO "configure"
5193 cat confdefs.h >>conftest.$ac_ext
5194 cat >>conftest.$ac_ext <<_ACEOF
5195 /* end confdefs.h. */
5196 #include <ac_nonexistent.h>
5198 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5199 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5201 grep -v '^ *+' conftest.er1 >conftest.err
5203 cat conftest.err >&5
5204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5205 (exit $ac_status); } >/dev/null; then
5206 if test -s conftest.err; then
5207 ac_cpp_err=$ac_cxx_preproc_warn_flag
5214 if test -z "$ac_cpp_err"; then
5215 # Broken: success on invalid input.
5218 echo "$as_me: failed program was:" >&5
5219 sed 's/^/| /' conftest.$ac_ext >&5
5221 # Passes both tests.
5225 rm -f conftest.err conftest.$ac_ext
5228 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5229 rm -f conftest.err conftest.$ac_ext
5230 if $ac_preproc_ok; then
5233 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5234 See \`config.log' for more details." >&5
5235 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5236 See \`config.log' for more details." >&2;}
5237 { (exit 1); exit 1; }; }
5241 ac_cpp='$CXXCPP $CPPFLAGS'
5242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5248 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5249 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5250 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5251 if test -n "$ac_tool_prefix"; then
5252 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5254 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5255 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5256 echo "$as_me:$LINENO: checking for $ac_word" >&5
5257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5258 if test "${ac_cv_prog_F77+set}" = set; then
5259 echo $ECHO_N "(cached) $ECHO_C" >&6
5261 if test -n "$F77"; then
5262 ac_cv_prog_F77="$F77" # Let the user override the test.
5264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5268 test -z "$as_dir" && as_dir=.
5269 for ac_exec_ext in '' $ac_executable_extensions; do
5270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5271 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5281 if test -n "$F77"; then
5282 echo "$as_me:$LINENO: result: $F77" >&5
5283 echo "${ECHO_T}$F77" >&6
5285 echo "$as_me:$LINENO: result: no" >&5
5286 echo "${ECHO_T}no" >&6
5289 test -n "$F77" && break
5292 if test -z "$F77"; then
5294 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5296 # Extract the first word of "$ac_prog", so it can be a program name with args.
5297 set dummy $ac_prog; ac_word=$2
5298 echo "$as_me:$LINENO: checking for $ac_word" >&5
5299 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5300 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5301 echo $ECHO_N "(cached) $ECHO_C" >&6
5303 if test -n "$ac_ct_F77"; then
5304 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5310 test -z "$as_dir" && as_dir=.
5311 for ac_exec_ext in '' $ac_executable_extensions; do
5312 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5313 ac_cv_prog_ac_ct_F77="$ac_prog"
5314 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5322 ac_ct_F77=$ac_cv_prog_ac_ct_F77
5323 if test -n "$ac_ct_F77"; then
5324 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5325 echo "${ECHO_T}$ac_ct_F77" >&6
5327 echo "$as_me:$LINENO: result: no" >&5
5328 echo "${ECHO_T}no" >&6
5331 test -n "$ac_ct_F77" && break
5338 # Provide some information about the compiler.
5339 echo "$as_me:5339:" \
5340 "checking for Fortran 77 compiler version" >&5
5341 ac_compiler=`set X $ac_compile; echo $2`
5342 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5343 (eval $ac_compiler --version </dev/null >&5) 2>&5
5345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5346 (exit $ac_status); }
5347 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5348 (eval $ac_compiler -v </dev/null >&5) 2>&5
5350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5351 (exit $ac_status); }
5352 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5353 (eval $ac_compiler -V </dev/null >&5) 2>&5
5355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5356 (exit $ac_status); }
5358 # If we don't use `.F' as extension, the preprocessor is not run on the
5362 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5363 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5364 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5365 echo $ECHO_N "(cached) $ECHO_C" >&6
5367 cat >conftest.$ac_ext <<_ACEOF
5375 rm -f conftest.$ac_objext
5376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5377 (eval $ac_compile) 2>&5
5379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5380 (exit $ac_status); } &&
5381 { ac_try='test -s conftest.$ac_objext'
5382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5386 (exit $ac_status); }; }; then
5389 echo "$as_me: failed program was:" >&5
5390 sed 's/^/| /' conftest.$ac_ext >&5
5394 rm -f conftest.$ac_objext conftest.$ac_ext
5395 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5398 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5399 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5401 G77=`test $ac_compiler_gnu = yes && echo yes`
5402 ac_test_FFLAGS=${FFLAGS+set}
5403 ac_save_FFLAGS=$FFLAGS
5405 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5406 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5407 if test "${ac_cv_prog_f77_g+set}" = set; then
5408 echo $ECHO_N "(cached) $ECHO_C" >&6
5411 cat >conftest.$ac_ext <<_ACEOF
5416 rm -f conftest.$ac_objext
5417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5418 (eval $ac_compile) 2>&5
5420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5421 (exit $ac_status); } &&
5422 { ac_try='test -s conftest.$ac_objext'
5423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5427 (exit $ac_status); }; }; then
5428 ac_cv_prog_f77_g=yes
5430 echo "$as_me: failed program was:" >&5
5431 sed 's/^/| /' conftest.$ac_ext >&5
5435 rm -f conftest.$ac_objext conftest.$ac_ext
5438 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5439 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5440 if test "$ac_test_FFLAGS" = set; then
5441 FFLAGS=$ac_save_FFLAGS
5442 elif test $ac_cv_prog_f77_g = yes; then
5443 if test "$G77" = yes; then
5449 if test "$G77" = yes; then
5456 ac_cpp='$CPP $CPPFLAGS'
5457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5463 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5465 # find the maximum length of command line arguments
5466 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5467 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5468 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5469 echo $ECHO_N "(cached) $ECHO_C" >&6
5476 # On DJGPP, this test can blow up pretty badly due to problems in libc
5477 # (any single argument exceeding 2000 bytes causes a buffer overrun
5478 # during glob expansion). Even if it were fixed, the result of this
5479 # check would be larger than it should be.
5480 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5484 # Under GNU Hurd, this test is not required because there is
5485 # no limit to the length of command line arguments.
5486 # Libtool will interpret -1 as no limit whatsoever
5487 lt_cv_sys_max_cmd_len=-1;
5491 # On Win9x/ME, this test blows up -- it succeeds, but takes
5492 # about 5 minutes as the teststring grows exponentially.
5493 # Worse, since 9x/ME are not pre-emptively multitasking,
5494 # you end up with a "frozen" computer, even though with patience
5495 # the test eventually succeeds (with a max line length of 256k).
5496 # Instead, let's just punt: use the minimum linelength reported by
5497 # all of the supported platforms: 8192 (on NT/2K/XP).
5498 lt_cv_sys_max_cmd_len=8192;
5502 # If test is not a shell built-in, we'll probably end up computing a
5503 # maximum length that is only half of the actual maximum length, but
5505 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5506 = "XX$testring") >/dev/null 2>&1 &&
5507 new_result=`expr "X$testring" : ".*" 2>&1` &&
5508 lt_cv_sys_max_cmd_len=$new_result &&
5509 test $i != 17 # 1/2 MB should be enough
5512 testring=$testring$testring
5515 # Add a significant safety factor because C++ compilers can tack on massive
5516 # amounts of additional arguments before passing them to the linker.
5517 # It appears as though 1/2 is a usable value.
5518 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5524 if test -n $lt_cv_sys_max_cmd_len ; then
5525 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5526 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5528 echo "$as_me:$LINENO: result: none" >&5
5529 echo "${ECHO_T}none" >&6
5535 # Check for command to grab the raw symbol name followed by C symbol from nm.
5536 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5537 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5538 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5539 echo $ECHO_N "(cached) $ECHO_C" >&6
5542 # These are sane defaults that work on at least a few old systems.
5543 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5545 # Character class describing NM global symbol codes.
5546 symcode='[BCDEGRST]'
5548 # Regexp to match symbols that can be accessed directly from C.
5549 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5551 # Transform the above into a raw symbol and a C symbol.
5552 symxfrm='\1 \2\3 \3'
5554 # Transform an extracted symbol line into a proper C declaration
5555 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5557 # Transform an extracted symbol line into symbol name and symbol address
5558 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'"
5560 # Define system-specific variables.
5565 cygwin* | mingw* | pw32*)
5566 symcode='[ABCDGISTW]'
5568 hpux*) # Its linker distinguishes data from code symbols
5569 if test "$host_cpu" = ia64; then
5570 symcode='[ABCDEGRST]'
5572 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5573 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'"
5576 symcode='[BCDEGRST]'
5579 symcode='[BCDEGQRST]'
5589 # Handle CRLF in mingw tool chain
5593 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5597 # If we're using GNU nm, then use its standard symbol codes.
5598 case `$NM -V 2>&1` in
5599 *GNU* | *'with BFD'*)
5600 symcode='[ABCDGISTW]' ;;
5603 # Try without a prefix undercore, then with it.
5604 for ac_symprfx in "" "_"; do
5606 # Write the raw and C identifiers.
5607 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5609 # Check to see that the pipe works correctly.
5613 cat > conftest.$ac_ext <<EOF
5618 void nm_test_func(){}
5622 int main(){nm_test_var='a';nm_test_func();return(0);}
5625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5626 (eval $ac_compile) 2>&5
5628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5629 (exit $ac_status); }; then
5630 # Now try to grab the symbols.
5632 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5633 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5636 (exit $ac_status); } && test -s "$nlist"; then
5637 # Try sorting and uniquifying the output.
5638 if sort "$nlist" | uniq > "$nlist"T; then
5639 mv -f "$nlist"T "$nlist"
5644 # Make sure that we snagged all the symbols we need.
5645 if grep ' nm_test_var$' "$nlist" >/dev/null; then
5646 if grep ' nm_test_func$' "$nlist" >/dev/null; then
5647 cat <<EOF > conftest.$ac_ext
5653 # Now generate the symbol file.
5654 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5656 cat <<EOF >> conftest.$ac_ext
5657 #if defined (__STDC__) && __STDC__
5658 # define lt_ptr_t void *
5660 # define lt_ptr_t char *
5664 /* The mapping between symbol names and symbols. */
5669 lt_preloaded_symbols[] =
5672 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5673 cat <<\EOF >> conftest.$ac_ext
5681 # Now try linking the two files.
5682 mv conftest.$ac_objext conftstm.$ac_objext
5683 lt_save_LIBS="$LIBS"
5684 lt_save_CFLAGS="$CFLAGS"
5685 LIBS="conftstm.$ac_objext"
5686 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5688 (eval $ac_link) 2>&5
5690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5691 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5694 LIBS="$lt_save_LIBS"
5695 CFLAGS="$lt_save_CFLAGS"
5697 echo "cannot find nm_test_func in $nlist" >&5
5700 echo "cannot find nm_test_var in $nlist" >&5
5703 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5706 echo "$progname: failed program was:" >&5
5707 cat conftest.$ac_ext >&5
5709 rm -f conftest* conftst*
5711 # Do not use the global_symbol_pipe unless it works.
5712 if test "$pipe_works" = yes; then
5715 lt_cv_sys_global_symbol_pipe=
5721 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5722 lt_cv_sys_global_symbol_to_cdecl=
5724 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5725 echo "$as_me:$LINENO: result: failed" >&5
5726 echo "${ECHO_T}failed" >&6
5728 echo "$as_me:$LINENO: result: ok" >&5
5729 echo "${ECHO_T}ok" >&6
5732 echo "$as_me:$LINENO: checking for objdir" >&5
5733 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5734 if test "${lt_cv_objdir+set}" = set; then
5735 echo $ECHO_N "(cached) $ECHO_C" >&6
5737 rm -f .libs 2>/dev/null
5738 mkdir .libs 2>/dev/null
5739 if test -d .libs; then
5742 # MS-DOS does not allow filenames that begin with a dot.
5745 rmdir .libs 2>/dev/null
5747 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5748 echo "${ECHO_T}$lt_cv_objdir" >&6
5749 objdir=$lt_cv_objdir
5757 # AIX sometimes has problems with the GCC collect2 program. For some
5758 # reason, if we set the COLLECT_NAMES environment variable, the problems
5759 # vanish in a puff of smoke.
5760 if test "X${COLLECT_NAMES+set}" != Xset; then
5762 export COLLECT_NAMES
5767 # Sed substitution that helps us do robust quoting. It backslashifies
5768 # metacharacters that are still active within double-quoted strings.
5769 Xsed='sed -e s/^X//'
5770 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5772 # Same as above, but do not quote variable references.
5773 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5775 # Sed substitution to delay expansion of an escaped shell variable in a
5776 # double_quote_subst'ed string.
5777 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5779 # Sed substitution to avoid accidental globbing in evaled expressions
5780 no_glob_subst='s/\*/\\\*/g'
5787 can_build_shared=yes
5789 # All known linkers require a `.a' archive for static linking (except M$VC,
5790 # which needs '.lib').
5792 ltmain="$ac_aux_dir/ltmain.sh"
5793 ofile="$default_ofile"
5794 with_gnu_ld="$lt_cv_prog_gnu_ld"
5796 if test -n "$ac_tool_prefix"; then
5797 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5798 set dummy ${ac_tool_prefix}ar; ac_word=$2
5799 echo "$as_me:$LINENO: checking for $ac_word" >&5
5800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5801 if test "${ac_cv_prog_AR+set}" = set; then
5802 echo $ECHO_N "(cached) $ECHO_C" >&6
5804 if test -n "$AR"; then
5805 ac_cv_prog_AR="$AR" # Let the user override the test.
5807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5811 test -z "$as_dir" && as_dir=.
5812 for ac_exec_ext in '' $ac_executable_extensions; do
5813 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5814 ac_cv_prog_AR="${ac_tool_prefix}ar"
5815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5824 if test -n "$AR"; then
5825 echo "$as_me:$LINENO: result: $AR" >&5
5826 echo "${ECHO_T}$AR" >&6
5828 echo "$as_me:$LINENO: result: no" >&5
5829 echo "${ECHO_T}no" >&6
5833 if test -z "$ac_cv_prog_AR"; then
5835 # Extract the first word of "ar", so it can be a program name with args.
5836 set dummy ar; ac_word=$2
5837 echo "$as_me:$LINENO: checking for $ac_word" >&5
5838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5839 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5840 echo $ECHO_N "(cached) $ECHO_C" >&6
5842 if test -n "$ac_ct_AR"; then
5843 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5849 test -z "$as_dir" && as_dir=.
5850 for ac_exec_ext in '' $ac_executable_extensions; do
5851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5852 ac_cv_prog_ac_ct_AR="ar"
5853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5859 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5862 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5863 if test -n "$ac_ct_AR"; then
5864 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5865 echo "${ECHO_T}$ac_ct_AR" >&6
5867 echo "$as_me:$LINENO: result: no" >&5
5868 echo "${ECHO_T}no" >&6
5876 if test -n "$ac_tool_prefix"; then
5877 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5878 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5879 echo "$as_me:$LINENO: checking for $ac_word" >&5
5880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5881 if test "${ac_cv_prog_RANLIB+set}" = set; then
5882 echo $ECHO_N "(cached) $ECHO_C" >&6
5884 if test -n "$RANLIB"; then
5885 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5891 test -z "$as_dir" && as_dir=.
5892 for ac_exec_ext in '' $ac_executable_extensions; do
5893 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5894 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5895 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5903 RANLIB=$ac_cv_prog_RANLIB
5904 if test -n "$RANLIB"; then
5905 echo "$as_me:$LINENO: result: $RANLIB" >&5
5906 echo "${ECHO_T}$RANLIB" >&6
5908 echo "$as_me:$LINENO: result: no" >&5
5909 echo "${ECHO_T}no" >&6
5913 if test -z "$ac_cv_prog_RANLIB"; then
5914 ac_ct_RANLIB=$RANLIB
5915 # Extract the first word of "ranlib", so it can be a program name with args.
5916 set dummy ranlib; ac_word=$2
5917 echo "$as_me:$LINENO: checking for $ac_word" >&5
5918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5919 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5920 echo $ECHO_N "(cached) $ECHO_C" >&6
5922 if test -n "$ac_ct_RANLIB"; then
5923 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5929 test -z "$as_dir" && as_dir=.
5930 for ac_exec_ext in '' $ac_executable_extensions; do
5931 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5932 ac_cv_prog_ac_ct_RANLIB="ranlib"
5933 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5939 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5942 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5943 if test -n "$ac_ct_RANLIB"; then
5944 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5945 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5947 echo "$as_me:$LINENO: result: no" >&5
5948 echo "${ECHO_T}no" >&6
5951 RANLIB=$ac_ct_RANLIB
5953 RANLIB="$ac_cv_prog_RANLIB"
5956 if test -n "$ac_tool_prefix"; then
5957 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5958 set dummy ${ac_tool_prefix}strip; ac_word=$2
5959 echo "$as_me:$LINENO: checking for $ac_word" >&5
5960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5961 if test "${ac_cv_prog_STRIP+set}" = set; then
5962 echo $ECHO_N "(cached) $ECHO_C" >&6
5964 if test -n "$STRIP"; then
5965 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5971 test -z "$as_dir" && as_dir=.
5972 for ac_exec_ext in '' $ac_executable_extensions; do
5973 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5974 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5983 STRIP=$ac_cv_prog_STRIP
5984 if test -n "$STRIP"; then
5985 echo "$as_me:$LINENO: result: $STRIP" >&5
5986 echo "${ECHO_T}$STRIP" >&6
5988 echo "$as_me:$LINENO: result: no" >&5
5989 echo "${ECHO_T}no" >&6
5993 if test -z "$ac_cv_prog_STRIP"; then
5995 # Extract the first word of "strip", so it can be a program name with args.
5996 set dummy strip; ac_word=$2
5997 echo "$as_me:$LINENO: checking for $ac_word" >&5
5998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5999 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6000 echo $ECHO_N "(cached) $ECHO_C" >&6
6002 if test -n "$ac_ct_STRIP"; then
6003 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6009 test -z "$as_dir" && as_dir=.
6010 for ac_exec_ext in '' $ac_executable_extensions; do
6011 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6012 ac_cv_prog_ac_ct_STRIP="strip"
6013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6019 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
6022 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6023 if test -n "$ac_ct_STRIP"; then
6024 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6025 echo "${ECHO_T}$ac_ct_STRIP" >&6
6027 echo "$as_me:$LINENO: result: no" >&5
6028 echo "${ECHO_T}no" >&6
6033 STRIP="$ac_cv_prog_STRIP"
6038 old_CFLAGS="$CFLAGS"
6040 # Set sane defaults for various variables
6041 test -z "$AR" && AR=ar
6042 test -z "$AR_FLAGS" && AR_FLAGS=cru
6043 test -z "$AS" && AS=as
6044 test -z "$CC" && CC=cc
6045 test -z "$LTCC" && LTCC=$CC
6046 test -z "$DLLTOOL" && DLLTOOL=dlltool
6047 test -z "$LD" && LD=ld
6048 test -z "$LN_S" && LN_S="ln -s"
6049 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6050 test -z "$NM" && NM=nm
6051 test -z "$SED" && SED=sed
6052 test -z "$OBJDUMP" && OBJDUMP=objdump
6053 test -z "$RANLIB" && RANLIB=:
6054 test -z "$STRIP" && STRIP=:
6055 test -z "$ac_objext" && ac_objext=o
6057 # Determine commands to create old-style static archives.
6058 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6059 old_postinstall_cmds='chmod 644 $oldlib'
6060 old_postuninstall_cmds=
6062 if test -n "$RANLIB"; then
6065 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
6068 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
6071 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6074 # Only perform the check for file, if the check method requires it
6075 case $deplibs_check_method in
6077 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6078 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6079 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6080 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6081 echo $ECHO_N "(cached) $ECHO_C" >&6
6085 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6088 lt_save_MAGIC_CMD="$MAGIC_CMD"
6089 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6090 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6091 for ac_dir in $ac_dummy; do
6093 test -z "$ac_dir" && ac_dir=.
6094 if test -f $ac_dir/${ac_tool_prefix}file; then
6095 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6096 if test -n "$file_magic_test_file"; then
6097 case $deplibs_check_method in
6099 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6100 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6101 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6102 $EGREP "$file_magic_regex" > /dev/null; then
6107 *** Warning: the command libtool uses to detect shared libraries,
6108 *** $file_magic_cmd, produces output that libtool cannot recognize.
6109 *** The result is that libtool may fail to recognize shared libraries
6110 *** as such. This will affect the creation of libtool libraries that
6111 *** depend on shared libraries, but programs linked with such libtool
6112 *** libraries will work regardless of this problem. Nevertheless, you
6113 *** may want to report the problem to your system manager and/or to
6114 *** bug-libtool@gnu.org
6124 MAGIC_CMD="$lt_save_MAGIC_CMD"
6129 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6130 if test -n "$MAGIC_CMD"; then
6131 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6132 echo "${ECHO_T}$MAGIC_CMD" >&6
6134 echo "$as_me:$LINENO: result: no" >&5
6135 echo "${ECHO_T}no" >&6
6138 if test -z "$lt_cv_path_MAGIC_CMD"; then
6139 if test -n "$ac_tool_prefix"; then
6140 echo "$as_me:$LINENO: checking for file" >&5
6141 echo $ECHO_N "checking for file... $ECHO_C" >&6
6142 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6143 echo $ECHO_N "(cached) $ECHO_C" >&6
6147 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6150 lt_save_MAGIC_CMD="$MAGIC_CMD"
6151 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6152 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6153 for ac_dir in $ac_dummy; do
6155 test -z "$ac_dir" && ac_dir=.
6156 if test -f $ac_dir/file; then
6157 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6158 if test -n "$file_magic_test_file"; then
6159 case $deplibs_check_method in
6161 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6162 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6163 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6164 $EGREP "$file_magic_regex" > /dev/null; then
6169 *** Warning: the command libtool uses to detect shared libraries,
6170 *** $file_magic_cmd, produces output that libtool cannot recognize.
6171 *** The result is that libtool may fail to recognize shared libraries
6172 *** as such. This will affect the creation of libtool libraries that
6173 *** depend on shared libraries, but programs linked with such libtool
6174 *** libraries will work regardless of this problem. Nevertheless, you
6175 *** may want to report the problem to your system manager and/or to
6176 *** bug-libtool@gnu.org
6186 MAGIC_CMD="$lt_save_MAGIC_CMD"
6191 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6192 if test -n "$MAGIC_CMD"; then
6193 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6194 echo "${ECHO_T}$MAGIC_CMD" >&6
6196 echo "$as_me:$LINENO: result: no" >&5
6197 echo "${ECHO_T}no" >&6
6212 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6213 if test "${enable_libtool_lock+set}" = set; then
6214 enableval="$enable_libtool_lock"
6217 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6220 # Check whether --with-pic or --without-pic was given.
6221 if test "${with_pic+set}" = set; then
6227 test -z "$pic_mode" && pic_mode=default
6229 # Use C for the default configuration in the libtool script
6233 ac_cpp='$CPP $CPPFLAGS'
6234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6239 # Source file extension for C test sources.
6242 # Object file extension for compiled C test sources.
6246 # Code to be used in simple compile tests
6247 lt_simple_compile_test_code="int some_variable = 0;\n"
6249 # Code to be used in simple link tests
6250 lt_simple_link_test_code='int main(){return(0);}\n'
6253 # If no C compiler was specified, use CC.
6256 # Allow CC to be a program name with arguments.
6261 # Check for any special shared library compilation flags.
6264 if test "$GCC" = no; then
6267 lt_prog_cc_shlib='-belf'
6271 if test -n "$lt_prog_cc_shlib"; then
6272 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6273 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6274 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
6276 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6277 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6278 lt_cv_prog_cc_can_build_shared=no
6284 # Check to make sure the static flag actually works.
6286 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6287 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6288 if test "${lt_prog_compiler_static_works+set}" = set; then
6289 echo $ECHO_N "(cached) $ECHO_C" >&6
6291 lt_prog_compiler_static_works=no
6292 save_LDFLAGS="$LDFLAGS"
6293 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6294 printf "$lt_simple_link_test_code" > conftest.$ac_ext
6295 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6296 # The compiler can only warn and ignore the option if not recognized
6297 # So say no if there are warnings
6298 if test -s conftest.err; then
6299 # Append any errors to the config.log.
6300 cat conftest.err 1>&5
6302 lt_prog_compiler_static_works=yes
6306 LDFLAGS="$save_LDFLAGS"
6309 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6310 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6312 if test x"$lt_prog_compiler_static_works" = xyes; then
6315 lt_prog_compiler_static=
6321 ## There is no encapsulation within the following macros, do not change
6322 ## the running order or otherwise move them around unless you know exactly
6323 ## what you are doing...
6325 lt_prog_compiler_no_builtin_flag=
6327 if test "$GCC" = yes; then
6328 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6330 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6331 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6332 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6333 echo $ECHO_N "(cached) $ECHO_C" >&6
6335 lt_cv_prog_compiler_rtti_exceptions=no
6336 ac_outfile=conftest.$ac_objext
6337 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6338 lt_compiler_flag="-fno-rtti -fno-exceptions"
6339 # Insert the option either (1) after the last *FLAGS variable, or
6340 # (2) before a word containing "conftest.", or (3) at the end.
6341 # Note that $ac_compile itself does not contain backslashes and begins
6342 # with a dollar sign (not a hyphen), so the echo should work correctly.
6343 # The option is referenced via a variable to avoid confusing sed.
6344 lt_compile=`echo "$ac_compile" | $SED \
6345 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6346 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6347 -e 's:$: $lt_compiler_flag:'`
6348 (eval echo "\"\$as_me:6348: $lt_compile\"" >&5)
6349 (eval "$lt_compile" 2>conftest.err)
6351 cat conftest.err >&5
6352 echo "$as_me:6352: \$? = $ac_status" >&5
6353 if (exit $ac_status) && test -s "$ac_outfile"; then
6354 # The compiler can only warn and ignore the option if not recognized
6355 # So say no if there are warnings
6356 if test ! -s conftest.err; then
6357 lt_cv_prog_compiler_rtti_exceptions=yes
6363 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6364 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6366 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6367 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6374 lt_prog_compiler_wl=
6375 lt_prog_compiler_pic=
6376 lt_prog_compiler_static=
6378 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6379 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6381 if test "$GCC" = yes; then
6382 lt_prog_compiler_wl='-Wl,'
6383 lt_prog_compiler_static='-static'
6387 # All AIX code is PIC.
6388 if test "$host_cpu" = ia64; then
6389 # AIX 5 now supports IA64 processor
6390 lt_prog_compiler_static='-Bstatic'
6395 # FIXME: we need at least 68020 code to build shared libraries, but
6396 # adding the `-m68020' flag to GCC prevents building anything better,
6398 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6401 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6402 # PIC is the default for these OSes.
6405 mingw* | pw32* | os2*)
6406 # This hack is so that the source file can tell whether it is being
6407 # built for inclusion in a dll (and should export symbols for example).
6408 lt_prog_compiler_pic='-DDLL_EXPORT'
6411 darwin* | rhapsody*)
6412 # PIC is the default on this platform
6413 # Common symbols not allowed in MH_DYLIB files
6414 lt_prog_compiler_pic='-fno-common'
6418 # Just because we use GCC doesn't mean we suddenly get shared libraries
6419 # on systems that don't support them.
6420 lt_prog_compiler_can_build_shared=no
6425 if test -d /usr/nec; then
6426 lt_prog_compiler_pic=-Kconform_pic
6431 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6438 lt_prog_compiler_pic='-fPIC'
6444 lt_prog_compiler_pic='-fPIC'
6448 # PORTME Check for flag to pass linker flags through the system compiler.
6451 lt_prog_compiler_wl='-Wl,'
6452 if test "$host_cpu" = ia64; then
6453 # AIX 5 now supports IA64 processor
6454 lt_prog_compiler_static='-Bstatic'
6456 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6460 mingw* | pw32* | os2*)
6461 # This hack is so that the source file can tell whether it is being
6462 # built for inclusion in a dll (and should export symbols for example).
6463 lt_prog_compiler_pic='-DDLL_EXPORT'
6466 hpux9* | hpux10* | hpux11*)
6467 lt_prog_compiler_wl='-Wl,'
6468 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6475 lt_prog_compiler_pic='+Z'
6478 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6479 lt_prog_compiler_static='${wl}-a ${wl}archive'
6482 irix5* | irix6* | nonstopux*)
6483 lt_prog_compiler_wl='-Wl,'
6484 # PIC (with -KPIC) is the default.
6485 lt_prog_compiler_static='-non_shared'
6489 lt_prog_compiler_pic='-KPIC'
6490 lt_prog_compiler_static='-Bstatic'
6496 lt_prog_compiler_wl='-Wl,'
6497 lt_prog_compiler_pic='-KPIC'
6498 lt_prog_compiler_static='-static'
6501 lt_prog_compiler_wl='-Wl,'
6502 # All Alpha code is PIC.
6503 lt_prog_compiler_static='-non_shared'
6508 osf3* | osf4* | osf5*)
6509 lt_prog_compiler_wl='-Wl,'
6510 # All OSF/1 code is PIC.
6511 lt_prog_compiler_static='-non_shared'
6515 lt_prog_compiler_pic='-Kpic'
6516 lt_prog_compiler_static='-dn'
6520 lt_prog_compiler_wl='-Wl,'
6521 lt_prog_compiler_pic='-KPIC'
6522 lt_prog_compiler_static='-Bstatic'
6526 lt_prog_compiler_wl='-Qoption ld '
6527 lt_prog_compiler_pic='-PIC'
6528 lt_prog_compiler_static='-Bstatic'
6531 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6532 lt_prog_compiler_wl='-Wl,'
6533 lt_prog_compiler_pic='-KPIC'
6534 lt_prog_compiler_static='-Bstatic'
6538 if test -d /usr/nec ;then
6539 lt_prog_compiler_pic='-Kconform_pic'
6540 lt_prog_compiler_static='-Bstatic'
6545 lt_prog_compiler_pic='-pic'
6546 lt_prog_compiler_static='-Bstatic'
6550 lt_prog_compiler_can_build_shared=no
6555 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6556 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6559 # Check to make sure the PIC flag actually works.
6561 if test -n "$lt_prog_compiler_pic"; then
6562 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6563 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6564 if test "${lt_prog_compiler_pic_works+set}" = set; then
6565 echo $ECHO_N "(cached) $ECHO_C" >&6
6567 lt_prog_compiler_pic_works=no
6568 ac_outfile=conftest.$ac_objext
6569 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6570 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6571 # Insert the option either (1) after the last *FLAGS variable, or
6572 # (2) before a word containing "conftest.", or (3) at the end.
6573 # Note that $ac_compile itself does not contain backslashes and begins
6574 # with a dollar sign (not a hyphen), so the echo should work correctly.
6575 # The option is referenced via a variable to avoid confusing sed.
6576 lt_compile=`echo "$ac_compile" | $SED \
6577 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6578 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6579 -e 's:$: $lt_compiler_flag:'`
6580 (eval echo "\"\$as_me:6580: $lt_compile\"" >&5)
6581 (eval "$lt_compile" 2>conftest.err)
6583 cat conftest.err >&5
6584 echo "$as_me:6584: \$? = $ac_status" >&5
6585 if (exit $ac_status) && test -s "$ac_outfile"; then
6586 # The compiler can only warn and ignore the option if not recognized
6587 # So say no if there are warnings
6588 if test ! -s conftest.err; then
6589 lt_prog_compiler_pic_works=yes
6595 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6596 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6598 if test x"$lt_prog_compiler_pic_works" = xyes; then
6599 case $lt_prog_compiler_pic in
6601 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6604 lt_prog_compiler_pic=
6605 lt_prog_compiler_can_build_shared=no
6610 # For platforms which do not support PIC, -DPIC is meaningless:
6612 lt_prog_compiler_pic=
6615 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6619 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6620 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6621 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6622 echo $ECHO_N "(cached) $ECHO_C" >&6
6624 lt_cv_prog_compiler_c_o=no
6625 $rm -r conftest 2>/dev/null
6629 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6631 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6632 # that will create temporary files in the current directory regardless of
6633 # the output directory. Thus, making CWD read-only will cause this test
6634 # to fail, enabling locking or at least warning the user not to do parallel
6638 lt_compiler_flag="-o out/conftest2.$ac_objext"
6639 # Insert the option either (1) after the last *FLAGS variable, or
6640 # (2) before a word containing "conftest.", or (3) at the end.
6641 # Note that $ac_compile itself does not contain backslashes and begins
6642 # with a dollar sign (not a hyphen), so the echo should work correctly.
6643 lt_compile=`echo "$ac_compile" | $SED \
6644 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6645 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6646 -e 's:$: $lt_compiler_flag:'`
6647 (eval echo "\"\$as_me:6647: $lt_compile\"" >&5)
6648 (eval "$lt_compile" 2>out/conftest.err)
6650 cat out/conftest.err >&5
6651 echo "$as_me:6651: \$? = $ac_status" >&5
6652 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6654 # The compiler can only warn and ignore the option if not recognized
6655 # So say no if there are warnings
6656 if test ! -s out/conftest.err; then
6657 lt_cv_prog_compiler_c_o=yes
6668 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6669 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6672 hard_links="nottested"
6673 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6674 # do not overwrite the value of need_locks provided by the user
6675 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6676 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6679 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6681 ln conftest.a conftest.b 2>&5 || hard_links=no
6682 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6683 echo "$as_me:$LINENO: result: $hard_links" >&5
6684 echo "${ECHO_T}$hard_links" >&6
6685 if test "$hard_links" = no; then
6686 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6687 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6694 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6695 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6698 allow_undefined_flag=
6699 enable_shared_with_static_runtimes=no
6701 archive_expsym_cmds=
6702 old_archive_From_new_cmds=
6703 old_archive_from_expsyms_cmds=
6704 export_dynamic_flag_spec=
6705 whole_archive_flag_spec=
6706 thread_safe_flag_spec=
6707 hardcode_libdir_flag_spec=
6708 hardcode_libdir_flag_spec_ld=
6709 hardcode_libdir_separator=
6712 hardcode_shlibpath_var=unsupported
6713 link_all_deplibs=unknown
6714 hardcode_automatic=no
6717 always_export_symbols=no
6718 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6719 # include_expsyms should be a list of space-separated symbols to be *always*
6720 # included in the symbol list
6722 # exclude_expsyms can be an extended regexp of symbols to exclude
6723 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6724 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6725 # as well as any symbol that contains `d'.
6726 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6727 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6728 # platforms (ab)use it in PIC code, but their linkers get confused if
6729 # the symbol is explicitly referenced. Since portable code cannot
6730 # rely on this symbol name, it's probably fine to never include it in
6731 # preloaded symbol tables.
6732 extract_expsyms_cmds=
6735 cygwin* | mingw* | pw32*)
6736 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6737 # When not using gcc, we currently assume that we are using
6738 # Microsoft Visual C++.
6739 if test "$GCC" != yes; then
6749 if test "$with_gnu_ld" = yes; then
6750 # If archive_cmds runs LD, not CC, wlarc should be empty
6753 # See if GNU ld supports shared libraries.
6755 aix3* | aix4* | aix5*)
6756 # On AIX/PPC, the GNU linker is very broken
6757 if test "$host_cpu" != ia64; then
6761 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6762 *** to be unable to reliably create shared libraries on AIX.
6763 *** Therefore, libtool is disabling shared libraries support. If you
6764 *** really care for shared libraries, you may want to modify your PATH
6765 *** so that a non-GNU linker is found, and then restart.
6772 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)'
6773 hardcode_libdir_flag_spec='-L$libdir'
6774 hardcode_minus_L=yes
6776 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6777 # that the semantics of dynamic libraries on AmigaOS, at least up
6778 # to version 4, is to share data among multiple programs linked
6779 # with the same dynamic library. Since this doesn't match the
6780 # behavior of shared libraries on other platforms, we can't use
6786 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6787 allow_undefined_flag=unsupported
6788 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6789 # support --undefined. This deserves some investigation. FIXME
6790 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6796 cygwin* | mingw* | pw32*)
6797 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6798 # as there is no search path for DLLs.
6799 hardcode_libdir_flag_spec='-L$libdir'
6800 allow_undefined_flag=unsupported
6801 always_export_symbols=no
6802 enable_shared_with_static_runtimes=yes
6803 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6805 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6806 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6807 # If the export-symbols file already is a .def file (1st line
6808 # is EXPORTS), use it as is; otherwise, prepend...
6809 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6810 cp $export_symbols $output_objdir/$soname.def;
6812 echo EXPORTS > $output_objdir/$soname.def;
6813 cat $export_symbols >> $output_objdir/$soname.def;
6815 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6822 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6823 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6826 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6827 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6832 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6836 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6837 *** create shared libraries on Solaris systems. Therefore, libtool
6838 *** is disabling shared libraries support. We urge you to upgrade GNU
6839 *** binutils to release 2.9.1 or newer. Another option is to modify
6840 *** your PATH or compiler configuration so that the native linker is
6841 *** used, and then restart.
6844 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6845 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6846 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6853 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6856 hardcode_shlibpath_var=no
6860 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6861 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6862 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6869 if test "$ld_shlibs" = yes; then
6870 runpath_var=LD_RUN_PATH
6871 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6872 export_dynamic_flag_spec='${wl}--export-dynamic'
6873 # ancient GNU ld didn't support --whole-archive et. al.
6874 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6875 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6877 whole_archive_flag_spec=
6881 # PORTME fill in a description of your system's linker (not GNU ld)
6884 allow_undefined_flag=unsupported
6885 always_export_symbols=yes
6886 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'
6887 # Note: this linker hardcodes the directories in LIBPATH if there
6888 # are no directories specified by -L.
6889 hardcode_minus_L=yes
6890 if test "$GCC" = yes && test -z "$link_static_flag"; then
6891 # Neither direct hardcoding nor static linking is supported with a
6893 hardcode_direct=unsupported
6898 if test "$host_cpu" = ia64; then
6899 # On IA64, the linker does run time linking by default, so we don't
6900 # have to do anything special.
6901 aix_use_runtimelinking=no
6902 exp_sym_flag='-Bexport'
6905 # If we're using GNU nm, then we don't want the "-C" option.
6906 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6907 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6908 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'
6910 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'
6912 aix_use_runtimelinking=no
6914 # Test if we are trying to use run time linking or normal
6915 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6916 # need to do runtime linking.
6917 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6918 for ld_flag in $LDFLAGS; do
6919 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6920 aix_use_runtimelinking=yes
6926 exp_sym_flag='-bexport'
6927 no_entry_flag='-bnoentry'
6930 # When large executables or shared objects are built, AIX ld can
6931 # have problems creating the table of contents. If linking a library
6932 # or program results in "error TOC overflow" add -mminimal-toc to
6933 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6934 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6938 hardcode_libdir_separator=':'
6939 link_all_deplibs=yes
6941 if test "$GCC" = yes; then
6942 case $host_os in aix4.012|aix4.012.*)
6943 # We only want to do this on AIX 4.2 and lower, the check
6944 # below for broken collect2 doesn't work under 4.3+
6945 collect2name=`${CC} -print-prog-name=collect2`
6946 if test -f "$collect2name" && \
6947 strings "$collect2name" | grep resolve_lib_name >/dev/null
6949 # We have reworked collect2
6952 # We have old collect2
6953 hardcode_direct=unsupported
6954 # It fails to find uninstalled libraries when the uninstalled
6955 # path is not listed in the libpath. Setting hardcode_minus_L
6956 # to unsupported forces relinking
6957 hardcode_minus_L=yes
6958 hardcode_libdir_flag_spec='-L$libdir'
6959 hardcode_libdir_separator=
6962 shared_flag='-shared'
6965 if test "$host_cpu" = ia64; then
6966 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6967 # chokes on -Wl,-G. The following line is correct:
6970 if test "$aix_use_runtimelinking" = yes; then
6971 shared_flag='${wl}-G'
6973 shared_flag='${wl}-bM:SRE'
6978 # It seems that -bexpall does not export symbols beginning with
6979 # underscore (_), so it is better to generate a list of symbols to export.
6980 always_export_symbols=yes
6981 if test "$aix_use_runtimelinking" = yes; then
6982 # Warning - without using the other runtime loading flags (-brtl),
6983 # -berok will link without error, but may produce a broken library.
6984 allow_undefined_flag='-berok'
6985 # Determine the default libpath from the value encoded in an empty executable.
6986 cat >conftest.$ac_ext <<_ACEOF
6987 #line $LINENO "configure"
6990 cat confdefs.h >>conftest.$ac_ext
6991 cat >>conftest.$ac_ext <<_ACEOF
6992 /* end confdefs.h. */
7002 rm -f conftest.$ac_objext conftest$ac_exeext
7003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7004 (eval $ac_link) 2>&5
7006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7007 (exit $ac_status); } &&
7008 { ac_try='test -s conftest$ac_exeext'
7009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7013 (exit $ac_status); }; }; then
7015 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7017 # Check for a 64-bit object if we didn't find anything.
7018 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; }
7021 echo "$as_me: failed program was:" >&5
7022 sed 's/^/| /' conftest.$ac_ext >&5
7025 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7026 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7028 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7029 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"
7031 if test "$host_cpu" = ia64; then
7032 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7033 allow_undefined_flag="-z nodefs"
7034 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"
7036 # Determine the default libpath from the value encoded in an empty executable.
7037 cat >conftest.$ac_ext <<_ACEOF
7038 #line $LINENO "configure"
7041 cat confdefs.h >>conftest.$ac_ext
7042 cat >>conftest.$ac_ext <<_ACEOF
7043 /* end confdefs.h. */
7053 rm -f conftest.$ac_objext conftest$ac_exeext
7054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7055 (eval $ac_link) 2>&5
7057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7058 (exit $ac_status); } &&
7059 { ac_try='test -s conftest$ac_exeext'
7060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7064 (exit $ac_status); }; }; then
7066 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7068 # Check for a 64-bit object if we didn't find anything.
7069 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; }
7072 echo "$as_me: failed program was:" >&5
7073 sed 's/^/| /' conftest.$ac_ext >&5
7076 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7077 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7079 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7080 # Warning - without using the other run time loading flags,
7081 # -berok will link without error, but may produce a broken library.
7082 no_undefined_flag=' ${wl}-bernotok'
7083 allow_undefined_flag=' ${wl}-berok'
7084 # -bexpall does not export symbols beginning with underscore (_)
7085 always_export_symbols=yes
7086 # Exported symbols can be pulled into shared objects from archives
7087 whole_archive_flag_spec=' '
7088 archive_cmds_need_lc=yes
7089 # This is similar to how AIX traditionally builds it's shared libraries.
7090 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'
7096 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)'
7097 hardcode_libdir_flag_spec='-L$libdir'
7098 hardcode_minus_L=yes
7099 # see comment about different semantics on the GNU ld section
7104 export_dynamic_flag_spec=-rdynamic
7107 cygwin* | mingw* | pw32*)
7108 # When not using gcc, we currently assume that we are using
7109 # Microsoft Visual C++.
7110 # hardcode_libdir_flag_spec is actually meaningless, as there is
7111 # no search path for DLLs.
7112 hardcode_libdir_flag_spec=' '
7113 allow_undefined_flag=unsupported
7114 # Tell ltmain to make .lib files, not .a files.
7116 # Tell ltmain to make .dll files, not .so files.
7118 # FIXME: Setting linknames here is a bad hack.
7119 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7120 # The linker will automatically build a .lib file if we build a DLL.
7121 old_archive_From_new_cmds='true'
7122 # FIXME: Should let the user specify the lib program.
7123 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
7124 fix_srcfile_path='`cygpath -w "$srcfile"`'
7125 enable_shared_with_static_runtimes=yes
7128 darwin* | rhapsody*)
7129 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7130 archive_cmds_need_lc=no
7132 rhapsody* | darwin1.[012])
7133 allow_undefined_flag='-undefined suppress'
7136 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
7139 # FIXME: Relying on posixy $() will cause problems for
7140 # cross-compilation, but unfortunately the echo tests do not
7141 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
7142 # `"' quotes if we put them in here... so don't!
7143 lt_int_apple_cc_single_mod=no
7144 output_verbose_link_cmd='echo'
7145 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7146 lt_int_apple_cc_single_mod=yes
7148 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7149 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7151 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'
7153 module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7154 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7155 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7156 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}'
7158 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}'
7160 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}'
7162 hardcode_automatic=yes
7163 hardcode_shlibpath_var=unsupported
7164 whole_archive_flag_spec='-all_load $convenience'
7165 link_all_deplibs=yes
7170 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7171 hardcode_libdir_flag_spec='-L$libdir'
7172 hardcode_shlibpath_var=no
7179 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7180 # support. Future versions do this automatically, but an explicit c++rt0.o
7181 # does not break anything, and helps significantly (at the cost of a little
7184 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7185 hardcode_libdir_flag_spec='-R$libdir'
7187 hardcode_shlibpath_var=no
7190 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7192 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7194 hardcode_minus_L=yes
7195 hardcode_shlibpath_var=no
7198 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7200 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7201 hardcode_libdir_flag_spec='-R$libdir'
7203 hardcode_shlibpath_var=no
7207 if test "$GCC" = yes; then
7208 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'
7210 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'
7212 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7213 hardcode_libdir_separator=:
7216 # hardcode_minus_L: Not really in the search PATH,
7217 # but as the default location of the library.
7218 hardcode_minus_L=yes
7219 export_dynamic_flag_spec='${wl}-E'
7223 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7226 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7229 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7235 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7238 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7242 if test "$with_gnu_ld" = no; then
7245 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7246 hardcode_libdir_flag_spec_ld='+b $libdir'
7247 hardcode_libdir_separator=:
7249 hardcode_shlibpath_var=no
7252 hardcode_libdir_flag_spec='-L$libdir'
7254 hardcode_shlibpath_var=no
7256 # hardcode_minus_L: Not really in the search PATH,
7257 # but as the default location of the library.
7258 hardcode_minus_L=yes
7261 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7262 hardcode_libdir_separator=:
7264 export_dynamic_flag_spec='${wl}-E'
7266 # hardcode_minus_L: Not really in the search PATH,
7267 # but as the default location of the library.
7268 hardcode_minus_L=yes
7274 irix5* | irix6* | nonstopux*)
7275 if test "$GCC" = yes; then
7276 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'
7278 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'
7279 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7281 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7282 hardcode_libdir_separator=:
7283 link_all_deplibs=yes
7287 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7288 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7290 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7292 hardcode_libdir_flag_spec='-R$libdir'
7294 hardcode_shlibpath_var=no
7298 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7300 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7301 hardcode_libdir_separator=:
7302 hardcode_shlibpath_var=no
7307 hardcode_shlibpath_var=no
7308 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7309 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7310 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7311 export_dynamic_flag_spec='${wl}-E'
7314 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7315 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7316 hardcode_libdir_flag_spec='-R$libdir'
7319 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7320 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7327 hardcode_libdir_flag_spec='-L$libdir'
7328 hardcode_minus_L=yes
7329 allow_undefined_flag=unsupported
7330 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'
7331 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7335 if test "$GCC" = yes; then
7336 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7337 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'
7339 allow_undefined_flag=' -expect_unresolved \*'
7340 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'
7342 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7343 hardcode_libdir_separator=:
7346 osf4* | osf5*) # as osf3* with the addition of -msym flag
7347 if test "$GCC" = yes; then
7348 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7349 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'
7350 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7352 allow_undefined_flag=' -expect_unresolved \*'
7353 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'
7354 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7355 $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'
7357 # Both c and cxx compiler support -rpath directly
7358 hardcode_libdir_flag_spec='-rpath $libdir'
7360 hardcode_libdir_separator=:
7364 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7365 hardcode_shlibpath_var=no
7366 export_dynamic_flag_spec='${wl}-Bexport'
7367 runpath_var=LD_RUN_PATH
7368 hardcode_runpath_var=yes
7372 no_undefined_flag=' -z text'
7373 if test "$GCC" = yes; then
7374 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7375 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7376 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7378 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7379 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7380 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7382 hardcode_libdir_flag_spec='-R$libdir'
7383 hardcode_shlibpath_var=no
7385 solaris2.[0-5] | solaris2.[0-5].*) ;;
7386 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7387 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7389 link_all_deplibs=yes
7393 if test "x$host_vendor" = xsequent; then
7394 # Use $CC to link under sequent, because it throws in some extra .o
7395 # files that make .init and .fini sections work.
7396 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7398 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7400 hardcode_libdir_flag_spec='-L$libdir'
7402 hardcode_minus_L=yes
7403 hardcode_shlibpath_var=no
7407 case $host_vendor in
7409 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7410 hardcode_direct=yes # is this really true???
7413 ## LD is ld it makes a PLAMLIB
7414 ## CC just makes a GrossModule.
7415 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7416 reload_cmds='$CC -r -o $output$reload_objs'
7420 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7421 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7424 runpath_var='LD_RUN_PATH'
7425 hardcode_shlibpath_var=no
7429 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7430 hardcode_shlibpath_var=no
7431 export_dynamic_flag_spec='-Bexport'
7435 if test -d /usr/nec; then
7436 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7437 hardcode_shlibpath_var=no
7438 runpath_var=LD_RUN_PATH
7439 hardcode_runpath_var=yes
7445 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7448 hardcode_shlibpath_var=no
7449 hardcode_runpath_var=yes
7450 runpath_var=LD_RUN_PATH
7453 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7454 no_undefined_flag='${wl}-z ${wl}text'
7455 if test "$GCC" = yes; then
7456 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7458 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7460 runpath_var='LD_RUN_PATH'
7461 hardcode_shlibpath_var=no
7465 no_undefined_flag=' -z text'
7466 # $CC -shared without GNU ld will not create a library from C++
7467 # object files and a static libstdc++, better avoid it by now
7468 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7469 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7470 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7471 hardcode_libdir_flag_spec=
7472 hardcode_shlibpath_var=no
7473 runpath_var='LD_RUN_PATH'
7477 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7478 hardcode_libdir_flag_spec='-L$libdir'
7479 hardcode_shlibpath_var=no
7488 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7489 echo "${ECHO_T}$ld_shlibs" >&6
7490 test "$ld_shlibs" = no && can_build_shared=no
7492 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7493 if test "$GCC" = yes; then
7494 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7498 # Do we need to explicitly link libc?
7500 case "x$archive_cmds_need_lc" in
7502 # Assume -lc should be added
7503 archive_cmds_need_lc=yes
7505 if test "$enable_shared" = yes && test "$GCC" = yes; then
7506 case $archive_cmds in
7508 # FIXME: we may have to deal with multi-command sequences.
7511 # Test whether the compiler implicitly links with -lc since on some
7512 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7513 # to ld, don't add -lc before -lgcc.
7514 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7515 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7517 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7520 (eval $ac_compile) 2>&5
7522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7523 (exit $ac_status); } 2>conftest.err; then
7526 libobjs=conftest.$ac_objext
7528 wl=$lt_prog_compiler_wl
7534 lt_save_allow_undefined_flag=$allow_undefined_flag
7535 allow_undefined_flag=
7536 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7537 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7540 (exit $ac_status); }
7542 archive_cmds_need_lc=no
7544 archive_cmds_need_lc=yes
7546 allow_undefined_flag=$lt_save_allow_undefined_flag
7548 cat conftest.err 1>&5
7551 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7552 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7559 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7560 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7562 if test -n "$hardcode_libdir_flag_spec" || \
7563 test -n "$runpath_var " || \
7564 test "X$hardcode_automatic"="Xyes" ; then
7566 # We can hardcode non-existant directories.
7567 if test "$hardcode_direct" != no &&
7568 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7569 # have to relink, otherwise we might link with an installed library
7570 # when we should be linking with a yet-to-be-installed one
7571 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7572 test "$hardcode_minus_L" != no; then
7573 # Linking always hardcodes the temporary library directory.
7574 hardcode_action=relink
7576 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7577 hardcode_action=immediate
7580 # We cannot hardcode anything, or else we can only hardcode existing
7582 hardcode_action=unsupported
7584 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7585 echo "${ECHO_T}$hardcode_action" >&6
7587 if test "$hardcode_action" = relink; then
7588 # Fast installation is not supported
7589 enable_fast_install=no
7590 elif test "$shlibpath_overrides_runpath" = yes ||
7591 test "$enable_shared" = no; then
7592 # Fast installation is not necessary
7593 enable_fast_install=needless
7598 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7599 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7600 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7601 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7602 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7603 echo "$as_me:$LINENO: result: yes" >&5
7604 echo "${ECHO_T}yes" >&6
7606 # FIXME - insert some real tests, host_os isn't really good enough
7609 if test -n "$STRIP" ; then
7610 striplib="$STRIP -x"
7611 echo "$as_me:$LINENO: result: yes" >&5
7612 echo "${ECHO_T}yes" >&6
7614 echo "$as_me:$LINENO: result: no" >&5
7615 echo "${ECHO_T}no" >&6
7619 echo "$as_me:$LINENO: result: no" >&5
7620 echo "${ECHO_T}no" >&6
7625 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7626 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7628 libname_spec='lib$name'
7636 shlibpath_overrides_runpath=unknown
7638 dynamic_linker="$host_os ld.so"
7639 sys_lib_dlsearch_path_spec="/lib /usr/lib"
7640 if test "$GCC" = yes; then
7641 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7642 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7643 # if the path contains ";" then we assume it to be the separator
7644 # otherwise default to the standard path separator (i.e. ":") - it is
7645 # assumed that no part of a normal pathname contains ";" but that should
7646 # okay in the real world where ";" in dirpaths is itself problematic.
7647 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7649 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7652 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7654 need_lib_prefix=unknown
7655 hardcode_into_libs=no
7657 # when you set need_version to no, make sure it does not cause -set_version
7658 # flags to be left without arguments
7659 need_version=unknown
7664 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7665 shlibpath_var=LIBPATH
7667 # AIX 3 has no versioning support, so we append a major version to the name.
7668 soname_spec='${libname}${release}${shared_ext}$major'
7675 hardcode_into_libs=yes
7676 if test "$host_cpu" = ia64; then
7677 # AIX 5 supports IA64
7678 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7679 shlibpath_var=LD_LIBRARY_PATH
7681 # With GCC up to 2.95.x, collect2 would create an import file
7682 # for dependence libraries. The import file would start with
7683 # the line `#! .'. This would cause the generated library to
7684 # depend on `.', always an invalid library. This was fixed in
7685 # development snapshots of GCC prior to 3.0.
7687 aix4 | aix4.[01] | aix4.[01].*)
7688 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7690 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7697 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7698 # soname into executable. Probably we can add versioning support to
7699 # collect2, so additional links can be useful in future.
7700 if test "$aix_use_runtimelinking" = yes; then
7701 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7702 # instead of lib<name>.a to let people know that these are not
7703 # typical AIX shared libraries.
7704 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7706 # We preserve .a as extension for shared libraries through AIX4.2
7707 # and later when we are not doing run time linking.
7708 library_names_spec='${libname}${release}.a $libname.a'
7709 soname_spec='${libname}${release}${shared_ext}$major'
7711 shlibpath_var=LIBPATH
7716 library_names_spec='$libname.ixlibrary $libname.a'
7717 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7718 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'
7722 library_names_spec='${libname}${shared_ext}'
7723 dynamic_linker="$host_os ld.so"
7724 shlibpath_var=LIBRARY_PATH
7730 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7731 soname_spec='${libname}${release}${shared_ext}$major'
7732 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7733 shlibpath_var=LD_LIBRARY_PATH
7734 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7735 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7736 # the default ld.so.conf also contains /usr/contrib/lib and
7737 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7738 # libtool to hard-code these into programs
7741 cygwin* | mingw* | pw32*)
7742 version_type=windows
7747 case $GCC,$host_os in
7748 yes,cygwin* | yes,mingw* | yes,pw32*)
7749 library_names_spec='$libname.dll.a'
7750 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7751 postinstall_cmds='base_file=`basename \${file}`~
7752 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7753 dldir=$destdir/`dirname \$dlpath`~
7754 test -d \$dldir || mkdir -p \$dldir~
7755 $install_prog $dir/$dlname \$dldir/$dlname'
7756 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7757 dlpath=$dir/\$dldll~
7759 shlibpath_overrides_runpath=yes
7763 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7764 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7765 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
7768 # MinGW DLLs use traditional 'lib' prefix
7769 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7770 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7771 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7772 # It is most probably a Windows format PATH printed by
7773 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7774 # path with ; separators, and with drive letters. We can handle the
7775 # drive letters (cygwin fileutils understands them), so leave them,
7776 # especially as we might pass files found there to a mingw objdump,
7777 # which wouldn't understand a cygwinified path. Ahh.
7778 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7780 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7784 # pw32 DLLs use 'pw' prefix rather than 'lib'
7785 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7791 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7794 dynamic_linker='Win32 ld.exe'
7795 # FIXME: first we should search . and the directory the executable is in
7799 darwin* | rhapsody*)
7800 dynamic_linker="$host_os dyld"
7804 # FIXME: Relying on posixy $() will cause problems for
7805 # cross-compilation, but unfortunately the echo tests do not
7806 # yet detect zsh echo's removal of \ escapes.
7807 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7808 soname_spec='${libname}${release}${major}$shared_ext'
7809 shlibpath_overrides_runpath=yes
7810 shlibpath_var=DYLD_LIBRARY_PATH
7811 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
7812 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7813 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7814 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"`
7816 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7823 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7824 soname_spec='${libname}${release}${shared_ext}$major'
7825 shlibpath_var=LD_LIBRARY_PATH
7833 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7834 version_type=freebsd-$objformat
7835 case $version_type in
7837 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7842 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7846 shlibpath_var=LD_LIBRARY_PATH
7849 shlibpath_overrides_runpath=yes
7851 freebsd3.01* | freebsdelf3.01*)
7852 shlibpath_overrides_runpath=yes
7853 hardcode_into_libs=yes
7856 shlibpath_overrides_runpath=no
7857 hardcode_into_libs=yes
7866 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7867 soname_spec='${libname}${release}${shared_ext}$major'
7868 shlibpath_var=LD_LIBRARY_PATH
7869 hardcode_into_libs=yes
7872 hpux9* | hpux10* | hpux11*)
7873 # Give a soname corresponding to the major version so that dld.sl refuses to
7874 # link against other versions.
7881 hardcode_into_libs=yes
7882 dynamic_linker="$host_os dld.so"
7883 shlibpath_var=LD_LIBRARY_PATH
7884 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7885 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7886 soname_spec='${libname}${release}${shared_ext}$major'
7887 if test "X$HPUX_IA64_MODE" = X32; then
7888 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7890 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7892 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7896 hardcode_into_libs=yes
7897 dynamic_linker="$host_os dld.sl"
7898 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7899 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7900 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7901 soname_spec='${libname}${release}${shared_ext}$major'
7902 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7903 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7907 dynamic_linker="$host_os dld.sl"
7908 shlibpath_var=SHLIB_PATH
7909 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7910 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7911 soname_spec='${libname}${release}${shared_ext}$major'
7914 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7915 postinstall_cmds='chmod 555 $lib'
7918 irix5* | irix6* | nonstopux*)
7920 nonstopux*) version_type=nonstopux ;;
7922 if test "$lt_cv_prog_gnu_ld" = yes; then
7930 soname_spec='${libname}${release}${shared_ext}$major'
7931 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7933 irix5* | nonstopux*)
7937 case $LD in # libtool.m4 will add one of these switches to LD
7938 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7939 libsuff= shlibsuff= libmagic=32-bit;;
7940 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7941 libsuff=32 shlibsuff=N32 libmagic=N32;;
7942 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7943 libsuff=64 shlibsuff=64 libmagic=64-bit;;
7944 *) libsuff= shlibsuff= libmagic=never-match;;
7948 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7949 shlibpath_overrides_runpath=no
7950 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7951 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7952 hardcode_into_libs=yes
7955 # No shared lib support for Linux oldld, aout, or coff.
7956 linux*oldld* | linux*aout* | linux*coff*)
7960 # This must be Linux ELF.
7965 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7966 soname_spec='${libname}${release}${shared_ext}$major'
7967 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7968 shlibpath_var=LD_LIBRARY_PATH
7969 shlibpath_overrides_runpath=no
7970 # This implies no fast_install, which is unacceptable.
7971 # Some rework will be needed to allow for fast_install
7972 # before this can be enabled.
7973 hardcode_into_libs=yes
7975 # We used to test for /lib/ld.so.1 and disable shared libraries on
7976 # powerpc, because MkLinux only supported shared libraries with the
7977 # GNU dynamic linker. Since this was broken with cross compilers,
7978 # most powerpc-linux boxes support dynamic linking these days and
7979 # people can always --disable-shared, the test was removed, and we
7980 # assume the GNU/Linux dynamic linker is in use.
7981 dynamic_linker='GNU/Linux ld.so'
7988 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7990 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7991 dynamic_linker='NetBSD (a.out) ld.so'
7993 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
7994 soname_spec='${libname}${release}${shared_ext}$major'
7995 dynamic_linker='NetBSD ld.elf_so'
7997 shlibpath_var=LD_LIBRARY_PATH
7998 shlibpath_overrides_runpath=yes
7999 hardcode_into_libs=yes
8004 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8005 shlibpath_var=LD_LIBRARY_PATH
8006 shlibpath_overrides_runpath=yes
8013 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8014 soname_spec='${libname}${release}${shared_ext}$major'
8015 shlibpath_var=LD_LIBRARY_PATH
8016 shlibpath_overrides_runpath=yes
8023 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8024 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8025 shlibpath_var=LD_LIBRARY_PATH
8026 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8028 openbsd2.[89] | openbsd2.[89].*)
8029 shlibpath_overrides_runpath=no
8032 shlibpath_overrides_runpath=yes
8036 shlibpath_overrides_runpath=yes
8041 libname_spec='$name'
8044 library_names_spec='$libname${shared_ext} $libname.a'
8045 dynamic_linker='OS/2 ld.exe'
8046 shlibpath_var=LIBPATH
8049 osf3* | osf4* | osf5*)
8053 soname_spec='${libname}${release}${shared_ext}$major'
8054 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8055 shlibpath_var=LD_LIBRARY_PATH
8056 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8057 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8062 soname_spec='${libname}${release}${shared_ext}$major'
8063 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8064 shlibpath_var=LD_LIBRARY_PATH
8071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8072 soname_spec='${libname}${release}${shared_ext}$major'
8073 shlibpath_var=LD_LIBRARY_PATH
8074 shlibpath_overrides_runpath=yes
8075 hardcode_into_libs=yes
8076 # ldd complains unless libraries are executable
8077 postinstall_cmds='chmod +x $lib'
8082 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8083 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8084 shlibpath_var=LD_LIBRARY_PATH
8085 shlibpath_overrides_runpath=yes
8086 if test "$with_gnu_ld" = yes; then
8092 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8094 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8095 soname_spec='${libname}${release}${shared_ext}$major'
8096 shlibpath_var=LD_LIBRARY_PATH
8097 case $host_vendor in
8099 shlibpath_overrides_runpath=no
8101 export_dynamic_flag_spec='${wl}-Blargedynsym'
8102 runpath_var=LD_RUN_PATH
8110 shlibpath_overrides_runpath=no
8111 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8117 if test -d /usr/nec ;then
8119 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8120 soname_spec='$libname${shared_ext}.$major'
8121 shlibpath_var=LD_LIBRARY_PATH
8127 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8128 soname_spec='${libname}${release}${shared_ext}$major'
8129 shlibpath_var=LD_LIBRARY_PATH
8136 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8137 echo "${ECHO_T}$dynamic_linker" >&6
8138 test "$dynamic_linker" = no && can_build_shared=no
8140 if test "x$enable_dlopen" != xyes; then
8141 enable_dlopen=unknown
8142 enable_dlopen_self=unknown
8143 enable_dlopen_self_static=unknown
8150 lt_cv_dlopen="load_add_on"
8152 lt_cv_dlopen_self=yes
8156 lt_cv_dlopen="LoadLibrary"
8161 lt_cv_dlopen="dlopen"
8166 # if libdl is installed we need to link against it
8167 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8168 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8169 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8170 echo $ECHO_N "(cached) $ECHO_C" >&6
8172 ac_check_lib_save_LIBS=$LIBS
8174 cat >conftest.$ac_ext <<_ACEOF
8175 #line $LINENO "configure"
8178 cat confdefs.h >>conftest.$ac_ext
8179 cat >>conftest.$ac_ext <<_ACEOF
8180 /* end confdefs.h. */
8182 /* Override any gcc2 internal prototype to avoid an error. */
8186 /* We use char because int might match the return type of a gcc2
8187 builtin and then its argument prototype would still apply. */
8197 rm -f conftest.$ac_objext conftest$ac_exeext
8198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8199 (eval $ac_link) 2>&5
8201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8202 (exit $ac_status); } &&
8203 { ac_try='test -s conftest$ac_exeext'
8204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8208 (exit $ac_status); }; }; then
8209 ac_cv_lib_dl_dlopen=yes
8211 echo "$as_me: failed program was:" >&5
8212 sed 's/^/| /' conftest.$ac_ext >&5
8214 ac_cv_lib_dl_dlopen=no
8216 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8217 LIBS=$ac_check_lib_save_LIBS
8219 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8220 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8221 if test $ac_cv_lib_dl_dlopen = yes; then
8222 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8227 lt_cv_dlopen_self=yes
8234 echo "$as_me:$LINENO: checking for shl_load" >&5
8235 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8236 if test "${ac_cv_func_shl_load+set}" = set; then
8237 echo $ECHO_N "(cached) $ECHO_C" >&6
8239 cat >conftest.$ac_ext <<_ACEOF
8240 #line $LINENO "configure"
8243 cat confdefs.h >>conftest.$ac_ext
8244 cat >>conftest.$ac_ext <<_ACEOF
8245 /* end confdefs.h. */
8246 /* System header to define __stub macros and hopefully few prototypes,
8247 which can conflict with char shl_load (); below.
8248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8249 <limits.h> exists even on freestanding compilers. */
8251 # include <limits.h>
8253 # include <assert.h>
8255 /* Override any gcc2 internal prototype to avoid an error. */
8260 /* We use char because int might match the return type of a gcc2
8261 builtin and then its argument prototype would still apply. */
8263 /* The GNU C library defines this for functions which it implements
8264 to always fail with ENOSYS. Some functions are actually named
8265 something starting with __ and the normal name is an alias. */
8266 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8269 char (*f) () = shl_load;
8278 return f != shl_load;
8283 rm -f conftest.$ac_objext conftest$ac_exeext
8284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8285 (eval $ac_link) 2>&5
8287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8288 (exit $ac_status); } &&
8289 { ac_try='test -s conftest$ac_exeext'
8290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8294 (exit $ac_status); }; }; then
8295 ac_cv_func_shl_load=yes
8297 echo "$as_me: failed program was:" >&5
8298 sed 's/^/| /' conftest.$ac_ext >&5
8300 ac_cv_func_shl_load=no
8302 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8304 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8305 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8306 if test $ac_cv_func_shl_load = yes; then
8307 lt_cv_dlopen="shl_load"
8309 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8310 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8311 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8312 echo $ECHO_N "(cached) $ECHO_C" >&6
8314 ac_check_lib_save_LIBS=$LIBS
8316 cat >conftest.$ac_ext <<_ACEOF
8317 #line $LINENO "configure"
8320 cat confdefs.h >>conftest.$ac_ext
8321 cat >>conftest.$ac_ext <<_ACEOF
8322 /* end confdefs.h. */
8324 /* Override any gcc2 internal prototype to avoid an error. */
8328 /* We use char because int might match the return type of a gcc2
8329 builtin and then its argument prototype would still apply. */
8339 rm -f conftest.$ac_objext conftest$ac_exeext
8340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8341 (eval $ac_link) 2>&5
8343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8344 (exit $ac_status); } &&
8345 { ac_try='test -s conftest$ac_exeext'
8346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8350 (exit $ac_status); }; }; then
8351 ac_cv_lib_dld_shl_load=yes
8353 echo "$as_me: failed program was:" >&5
8354 sed 's/^/| /' conftest.$ac_ext >&5
8356 ac_cv_lib_dld_shl_load=no
8358 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8359 LIBS=$ac_check_lib_save_LIBS
8361 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8362 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8363 if test $ac_cv_lib_dld_shl_load = yes; then
8364 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8366 echo "$as_me:$LINENO: checking for dlopen" >&5
8367 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8368 if test "${ac_cv_func_dlopen+set}" = set; then
8369 echo $ECHO_N "(cached) $ECHO_C" >&6
8371 cat >conftest.$ac_ext <<_ACEOF
8372 #line $LINENO "configure"
8375 cat confdefs.h >>conftest.$ac_ext
8376 cat >>conftest.$ac_ext <<_ACEOF
8377 /* end confdefs.h. */
8378 /* System header to define __stub macros and hopefully few prototypes,
8379 which can conflict with char dlopen (); below.
8380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8381 <limits.h> exists even on freestanding compilers. */
8383 # include <limits.h>
8385 # include <assert.h>
8387 /* Override any gcc2 internal prototype to avoid an error. */
8392 /* We use char because int might match the return type of a gcc2
8393 builtin and then its argument prototype would still apply. */
8395 /* The GNU C library defines this for functions which it implements
8396 to always fail with ENOSYS. Some functions are actually named
8397 something starting with __ and the normal name is an alias. */
8398 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8401 char (*f) () = dlopen;
8415 rm -f conftest.$ac_objext conftest$ac_exeext
8416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8417 (eval $ac_link) 2>&5
8419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8420 (exit $ac_status); } &&
8421 { ac_try='test -s conftest$ac_exeext'
8422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8426 (exit $ac_status); }; }; then
8427 ac_cv_func_dlopen=yes
8429 echo "$as_me: failed program was:" >&5
8430 sed 's/^/| /' conftest.$ac_ext >&5
8432 ac_cv_func_dlopen=no
8434 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8436 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8437 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8438 if test $ac_cv_func_dlopen = yes; then
8439 lt_cv_dlopen="dlopen"
8441 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8442 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8443 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8444 echo $ECHO_N "(cached) $ECHO_C" >&6
8446 ac_check_lib_save_LIBS=$LIBS
8448 cat >conftest.$ac_ext <<_ACEOF
8449 #line $LINENO "configure"
8452 cat confdefs.h >>conftest.$ac_ext
8453 cat >>conftest.$ac_ext <<_ACEOF
8454 /* end confdefs.h. */
8456 /* Override any gcc2 internal prototype to avoid an error. */
8460 /* We use char because int might match the return type of a gcc2
8461 builtin and then its argument prototype would still apply. */
8471 rm -f conftest.$ac_objext conftest$ac_exeext
8472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8473 (eval $ac_link) 2>&5
8475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8476 (exit $ac_status); } &&
8477 { ac_try='test -s conftest$ac_exeext'
8478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8482 (exit $ac_status); }; }; then
8483 ac_cv_lib_dl_dlopen=yes
8485 echo "$as_me: failed program was:" >&5
8486 sed 's/^/| /' conftest.$ac_ext >&5
8488 ac_cv_lib_dl_dlopen=no
8490 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8491 LIBS=$ac_check_lib_save_LIBS
8493 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8494 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8495 if test $ac_cv_lib_dl_dlopen = yes; then
8496 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8498 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8499 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8500 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8501 echo $ECHO_N "(cached) $ECHO_C" >&6
8503 ac_check_lib_save_LIBS=$LIBS
8505 cat >conftest.$ac_ext <<_ACEOF
8506 #line $LINENO "configure"
8509 cat confdefs.h >>conftest.$ac_ext
8510 cat >>conftest.$ac_ext <<_ACEOF
8511 /* end confdefs.h. */
8513 /* Override any gcc2 internal prototype to avoid an error. */
8517 /* We use char because int might match the return type of a gcc2
8518 builtin and then its argument prototype would still apply. */
8528 rm -f conftest.$ac_objext conftest$ac_exeext
8529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8530 (eval $ac_link) 2>&5
8532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8533 (exit $ac_status); } &&
8534 { ac_try='test -s conftest$ac_exeext'
8535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8539 (exit $ac_status); }; }; then
8540 ac_cv_lib_svld_dlopen=yes
8542 echo "$as_me: failed program was:" >&5
8543 sed 's/^/| /' conftest.$ac_ext >&5
8545 ac_cv_lib_svld_dlopen=no
8547 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8548 LIBS=$ac_check_lib_save_LIBS
8550 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8551 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8552 if test $ac_cv_lib_svld_dlopen = yes; then
8553 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8555 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8556 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8557 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8558 echo $ECHO_N "(cached) $ECHO_C" >&6
8560 ac_check_lib_save_LIBS=$LIBS
8562 cat >conftest.$ac_ext <<_ACEOF
8563 #line $LINENO "configure"
8566 cat confdefs.h >>conftest.$ac_ext
8567 cat >>conftest.$ac_ext <<_ACEOF
8568 /* end confdefs.h. */
8570 /* Override any gcc2 internal prototype to avoid an error. */
8574 /* We use char because int might match the return type of a gcc2
8575 builtin and then its argument prototype would still apply. */
8585 rm -f conftest.$ac_objext conftest$ac_exeext
8586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8587 (eval $ac_link) 2>&5
8589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8590 (exit $ac_status); } &&
8591 { ac_try='test -s conftest$ac_exeext'
8592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8596 (exit $ac_status); }; }; then
8597 ac_cv_lib_dld_dld_link=yes
8599 echo "$as_me: failed program was:" >&5
8600 sed 's/^/| /' conftest.$ac_ext >&5
8602 ac_cv_lib_dld_dld_link=no
8604 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8605 LIBS=$ac_check_lib_save_LIBS
8607 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8608 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8609 if test $ac_cv_lib_dld_dld_link = yes; then
8610 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8631 if test "x$lt_cv_dlopen" != xno; then
8637 case $lt_cv_dlopen in
8639 save_CPPFLAGS="$CPPFLAGS"
8640 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8642 save_LDFLAGS="$LDFLAGS"
8643 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8646 LIBS="$lt_cv_dlopen_libs $LIBS"
8648 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8649 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8650 if test "${lt_cv_dlopen_self+set}" = set; then
8651 echo $ECHO_N "(cached) $ECHO_C" >&6
8653 if test "$cross_compiling" = yes; then :
8654 lt_cv_dlopen_self=cross
8656 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8657 lt_status=$lt_dlunknown
8658 cat > conftest.$ac_ext <<EOF
8659 #line 8659 "configure"
8660 #include "confdefs.h"
8669 # define LT_DLGLOBAL RTLD_GLOBAL
8672 # define LT_DLGLOBAL DL_GLOBAL
8674 # define LT_DLGLOBAL 0
8678 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8679 find out it does not work in some platform. */
8680 #ifndef LT_DLLAZY_OR_NOW
8682 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8685 # define LT_DLLAZY_OR_NOW DL_LAZY
8688 # define LT_DLLAZY_OR_NOW RTLD_NOW
8691 # define LT_DLLAZY_OR_NOW DL_NOW
8693 # define LT_DLLAZY_OR_NOW 0
8701 extern "C" void exit (int);
8704 void fnord() { int i=42;}
8707 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8708 int status = $lt_dlunknown;
8712 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8713 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8714 /* dlclose (self); */
8720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8721 (eval $ac_link) 2>&5
8723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8724 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8725 (./conftest; exit; ) 2>/dev/null
8728 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8729 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8730 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
8733 # compilation failed
8734 lt_cv_dlopen_self=no
8741 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8742 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8744 if test "x$lt_cv_dlopen_self" = xyes; then
8745 LDFLAGS="$LDFLAGS $link_static_flag"
8746 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8747 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8748 if test "${lt_cv_dlopen_self_static+set}" = set; then
8749 echo $ECHO_N "(cached) $ECHO_C" >&6
8751 if test "$cross_compiling" = yes; then :
8752 lt_cv_dlopen_self_static=cross
8754 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8755 lt_status=$lt_dlunknown
8756 cat > conftest.$ac_ext <<EOF
8757 #line 8757 "configure"
8758 #include "confdefs.h"
8767 # define LT_DLGLOBAL RTLD_GLOBAL
8770 # define LT_DLGLOBAL DL_GLOBAL
8772 # define LT_DLGLOBAL 0
8776 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8777 find out it does not work in some platform. */
8778 #ifndef LT_DLLAZY_OR_NOW
8780 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8783 # define LT_DLLAZY_OR_NOW DL_LAZY
8786 # define LT_DLLAZY_OR_NOW RTLD_NOW
8789 # define LT_DLLAZY_OR_NOW DL_NOW
8791 # define LT_DLLAZY_OR_NOW 0
8799 extern "C" void exit (int);
8802 void fnord() { int i=42;}
8805 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8806 int status = $lt_dlunknown;
8810 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8811 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8812 /* dlclose (self); */
8818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8819 (eval $ac_link) 2>&5
8821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8822 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8823 (./conftest; exit; ) 2>/dev/null
8826 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8827 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8828 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
8831 # compilation failed
8832 lt_cv_dlopen_self_static=no
8839 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8840 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8843 CPPFLAGS="$save_CPPFLAGS"
8844 LDFLAGS="$save_LDFLAGS"
8849 case $lt_cv_dlopen_self in
8850 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
8851 *) enable_dlopen_self=unknown ;;
8854 case $lt_cv_dlopen_self_static in
8855 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
8856 *) enable_dlopen_self_static=unknown ;;
8861 # Report which librarie types wil actually be built
8862 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8863 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8864 echo "$as_me:$LINENO: result: $can_build_shared" >&5
8865 echo "${ECHO_T}$can_build_shared" >&6
8867 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8868 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8869 test "$can_build_shared" = "no" && enable_shared=no
8871 # On AIX, shared libraries and static libraries use the same namespace, and
8872 # are all built from PIC.
8875 test "$enable_shared" = yes && enable_static=no
8876 if test -n "$RANLIB"; then
8877 archive_cmds="$archive_cmds~\$RANLIB \$lib"
8878 postinstall_cmds='$RANLIB $lib'
8883 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8884 test "$enable_shared" = yes && enable_static=no
8887 darwin* | rhapsody*)
8888 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8889 archive_cmds_need_lc=no
8891 rhapsody* | darwin1.[012])
8892 allow_undefined_flag='-undefined suppress'
8895 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
8898 # FIXME: Relying on posixy $() will cause problems for
8899 # cross-compilation, but unfortunately the echo tests do not
8900 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
8901 # `"' quotes if we put them in here... so don't!
8902 output_verbose_link_cmd='echo'
8903 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8904 module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
8905 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8906 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}'
8907 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}'
8909 hardcode_automatic=yes
8910 hardcode_shlibpath_var=unsupported
8911 whole_archive_flag_spec='-all_load $convenience'
8912 link_all_deplibs=yes
8916 echo "$as_me:$LINENO: result: $enable_shared" >&5
8917 echo "${ECHO_T}$enable_shared" >&6
8919 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8920 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
8921 # Make sure either enable_shared or enable_static is yes.
8922 test "$enable_shared" = yes || enable_static=yes
8923 echo "$as_me:$LINENO: result: $enable_static" >&5
8924 echo "${ECHO_T}$enable_static" >&6
8926 # The else clause should only fire when bootstrapping the
8927 # libtool distribution, otherwise you forgot to ship ltmain.sh
8928 # with your package, and you will get complaints that there are
8929 # no rules to generate ltmain.sh.
8930 if test -f "$ltmain"; then
8931 # See if we are running on zsh, and set the options which allow our commands through
8932 # without removal of \ escapes.
8933 if test -n "${ZSH_VERSION+set}" ; then
8934 setopt NO_GLOB_SUBST
8936 # Now quote all the things that may contain metacharacters while being
8937 # careful not to overquote the AC_SUBSTed values. We take copies of the
8938 # variables and quote the copies for generation of the libtool script.
8939 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8940 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8941 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8942 deplibs_check_method reload_flag reload_cmds need_locks \
8943 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
8944 lt_cv_sys_global_symbol_to_c_name_address \
8945 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8946 old_postinstall_cmds old_postuninstall_cmds \
8950 lt_prog_compiler_wl \
8951 lt_prog_compiler_pic \
8952 lt_prog_compiler_static \
8953 lt_prog_compiler_no_builtin_flag \
8954 export_dynamic_flag_spec \
8955 thread_safe_flag_spec \
8956 whole_archive_flag_spec \
8957 enable_shared_with_static_runtimes \
8959 old_archive_from_new_cmds \
8964 compiler_lib_search_path \
8966 archive_expsym_cmds \
8968 postuninstall_cmds \
8969 old_archive_from_expsyms_cmds \
8970 allow_undefined_flag \
8972 export_symbols_cmds \
8973 hardcode_libdir_flag_spec \
8974 hardcode_libdir_flag_spec_ld \
8975 hardcode_libdir_separator \
8976 hardcode_automatic \
8978 module_expsym_cmds \
8979 lt_cv_prog_compiler_c_o \
8984 old_archive_cmds | \
8985 old_archive_from_new_cmds | \
8987 archive_expsym_cmds | \
8989 module_expsym_cmds | \
8990 old_archive_from_expsyms_cmds | \
8991 export_symbols_cmds | \
8992 extract_expsyms_cmds | reload_cmds | finish_cmds | \
8993 postinstall_cmds | postuninstall_cmds | \
8994 old_postinstall_cmds | old_postuninstall_cmds | \
8995 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
8996 # Double-quote double-evaled strings.
8997 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
9000 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
9006 *'\$0 --fallback-echo"')
9007 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
9012 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
9014 { echo "$as_me:$LINENO: creating $ofile" >&5
9015 echo "$as_me: creating $ofile" >&6;}
9017 cat <<__EOF__ >> "$cfgfile"
9020 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
9021 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
9022 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9024 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9025 # Free Software Foundation, Inc.
9027 # This file is part of GNU Libtool:
9028 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9030 # This program is free software; you can redistribute it and/or modify
9031 # it under the terms of the GNU General Public License as published by
9032 # the Free Software Foundation; either version 2 of the License, or
9033 # (at your option) any later version.
9035 # This program is distributed in the hope that it will be useful, but
9036 # WITHOUT ANY WARRANTY; without even the implied warranty of
9037 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9038 # General Public License for more details.
9040 # You should have received a copy of the GNU General Public License
9041 # along with this program; if not, write to the Free Software
9042 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
9044 # As a special exception to the GNU General Public License, if you
9045 # distribute this file as part of a program that contains a
9046 # configuration script generated by Autoconf, you may include it under
9047 # the same distribution terms that you use for the rest of that program.
9049 # A sed program that does not truncate output.
9052 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9053 Xsed="$SED -e s/^X//"
9055 # The HP-UX ksh and POSIX shell print the target directory to stdout
9057 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
9059 # The names of the tagged configurations supported by this script.
9062 # ### BEGIN LIBTOOL CONFIG
9064 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9066 # Shell to use when invoking shell scripts.
9069 # Whether or not to build shared libraries.
9070 build_libtool_libs=$enable_shared
9072 # Whether or not to build static libraries.
9073 build_old_libs=$enable_static
9075 # Whether or not to add -lc for building shared libraries.
9076 build_libtool_need_lc=$archive_cmds_need_lc
9078 # Whether or not to disallow shared libs when runtime libs are static
9079 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9081 # Whether or not to optimize for fast installation.
9082 fast_install=$enable_fast_install
9085 host_alias=$host_alias
9088 # An echo program that does not interpret backslashes.
9093 AR_FLAGS=$lt_AR_FLAGS
9098 # A language-specific compiler.
9101 # Is the compiler the GNU C compiler?
9107 # The linker used to build libraries.
9110 # Whether we need hard or soft links.
9113 # A BSD-compatible nm program.
9116 # A symbol stripping program
9119 # Used to examine libraries when file_magic_cmd begins "file"
9120 MAGIC_CMD=$MAGIC_CMD
9122 # Used on cygwin: DLL creation program.
9125 # Used on cygwin: object dumper.
9128 # Used on cygwin: assembler.
9131 # The name of the directory that contains temporary libtool files.
9134 # How to create reloadable object files.
9135 reload_flag=$lt_reload_flag
9136 reload_cmds=$lt_reload_cmds
9138 # How to pass a linker flag through the compiler.
9139 wl=$lt_lt_prog_compiler_wl
9141 # Object file suffix (normally "o").
9144 # Old archive suffix (normally "a").
9147 # Shared library suffix (normally ".so").
9150 # Executable file suffix (normally "").
9153 # Additional compiler flags for building library objects.
9154 pic_flag=$lt_lt_prog_compiler_pic
9157 # What is the maximum length of a command?
9158 max_cmd_len=$lt_cv_sys_max_cmd_len
9160 # Does compiler simultaneously support -c and -o options?
9161 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9163 # Must we lock files when doing compilation ?
9164 need_locks=$lt_need_locks
9166 # Do we need the lib prefix for modules?
9167 need_lib_prefix=$need_lib_prefix
9169 # Do we need a version for libraries?
9170 need_version=$need_version
9172 # Whether dlopen is supported.
9173 dlopen_support=$enable_dlopen
9175 # Whether dlopen of programs is supported.
9176 dlopen_self=$enable_dlopen_self
9178 # Whether dlopen of statically linked programs is supported.
9179 dlopen_self_static=$enable_dlopen_self_static
9181 # Compiler flag to prevent dynamic linking.
9182 link_static_flag=$lt_lt_prog_compiler_static
9184 # Compiler flag to turn off builtin functions.
9185 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9187 # Compiler flag to allow reflexive dlopens.
9188 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9190 # Compiler flag to generate shared objects directly from archives.
9191 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9193 # Compiler flag to generate thread-safe objects.
9194 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9196 # Library versioning type.
9197 version_type=$version_type
9199 # Format of library name prefix.
9200 libname_spec=$lt_libname_spec
9202 # List of archive names. First name is the real one, the rest are links.
9203 # The last name is the one that the linker finds with -lNAME.
9204 library_names_spec=$lt_library_names_spec
9206 # The coded name of the library, if different from the real name.
9207 soname_spec=$lt_soname_spec
9209 # Commands used to build and install an old-style archive.
9211 old_archive_cmds=$lt_old_archive_cmds
9212 old_postinstall_cmds=$lt_old_postinstall_cmds
9213 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9215 # Create an old-style archive from a shared archive.
9216 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9218 # Create a temporary old-style archive to link instead of a shared archive.
9219 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9221 # Commands used to build and install a shared archive.
9222 archive_cmds=$lt_archive_cmds
9223 archive_expsym_cmds=$lt_archive_expsym_cmds
9224 postinstall_cmds=$lt_postinstall_cmds
9225 postuninstall_cmds=$lt_postuninstall_cmds
9227 # Commands used to build a loadable module (assumed same as above if empty)
9228 module_cmds=$lt_module_cmds
9229 module_expsym_cmds=$lt_module_expsym_cmds
9231 # Commands to strip libraries.
9232 old_striplib=$lt_old_striplib
9233 striplib=$lt_striplib
9235 # Dependencies to place before the objects being linked to create a
9237 predep_objects=$lt_predep_objects
9239 # Dependencies to place after the objects being linked to create a
9241 postdep_objects=$lt_postdep_objects
9243 # Dependencies to place before the objects being linked to create a
9247 # Dependencies to place after the objects being linked to create a
9249 postdeps=$lt_postdeps
9251 # The library search path used internally by the compiler when linking
9253 compiler_lib_search_path=$lt_compiler_lib_search_path
9255 # Method to check whether dependent libraries are shared objects.
9256 deplibs_check_method=$lt_deplibs_check_method
9258 # Command to use when deplibs_check_method == file_magic.
9259 file_magic_cmd=$lt_file_magic_cmd
9261 # Flag that allows shared libraries with undefined symbols to be built.
9262 allow_undefined_flag=$lt_allow_undefined_flag
9264 # Flag that forces no undefined symbols.
9265 no_undefined_flag=$lt_no_undefined_flag
9267 # Commands used to finish a libtool library installation in a directory.
9268 finish_cmds=$lt_finish_cmds
9270 # Same as above, but a single script fragment to be evaled but not shown.
9271 finish_eval=$lt_finish_eval
9273 # Take the output of nm and produce a listing of raw symbols and C names.
9274 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9276 # Transform the output of nm in a proper C declaration
9277 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9279 # Transform the output of nm in a C name address pair
9280 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9282 # This is the shared library runtime path variable.
9283 runpath_var=$runpath_var
9285 # This is the shared library path variable.
9286 shlibpath_var=$shlibpath_var
9288 # Is shlibpath searched before the hard-coded library search path?
9289 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9291 # How to hardcode a shared library path into an executable.
9292 hardcode_action=$hardcode_action
9294 # Whether we should hardcode library paths into libraries.
9295 hardcode_into_libs=$hardcode_into_libs
9297 # Flag to hardcode \$libdir into a binary during linking.
9298 # This must work even if \$libdir does not exist.
9299 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9301 # If ld is used when linking, flag to hardcode \$libdir into
9302 # a binary during linking. This must work even if \$libdir does
9304 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9306 # Whether we need a single -rpath flag with a separated argument.
9307 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9309 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9311 hardcode_direct=$hardcode_direct
9313 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9315 hardcode_minus_L=$hardcode_minus_L
9317 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9318 # the resulting binary.
9319 hardcode_shlibpath_var=$hardcode_shlibpath_var
9321 # Set to yes if building a shared library automatically hardcodes DIR into the library
9322 # and all subsequent libraries and executables linked against it.
9323 hardcode_automatic=$hardcode_automatic
9325 # Variables whose values should be saved in libtool wrapper scripts and
9326 # restored at relink time.
9327 variables_saved_for_relink="$variables_saved_for_relink"
9329 # Whether libtool must link a program against all its dependency libraries.
9330 link_all_deplibs=$link_all_deplibs
9332 # Compile-time system search path for libraries
9333 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9335 # Run-time system search path for libraries
9336 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9338 # Fix the shell variable \$srcfile for the compiler.
9339 fix_srcfile_path="$fix_srcfile_path"
9341 # Set to yes if exported symbols are required.
9342 always_export_symbols=$always_export_symbols
9344 # The commands to list exported symbols.
9345 export_symbols_cmds=$lt_export_symbols_cmds
9347 # The commands to extract the exported symbol list from a shared archive.
9348 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9350 # Symbols that should not be listed in the preloaded symbols.
9351 exclude_expsyms=$lt_exclude_expsyms
9353 # Symbols that must always be exported.
9354 include_expsyms=$lt_include_expsyms
9356 # ### END LIBTOOL CONFIG
9363 cat <<\EOF >> "$cfgfile"
9365 # AIX sometimes has problems with the GCC collect2 program. For some
9366 # reason, if we set the COLLECT_NAMES environment variable, the problems
9367 # vanish in a puff of smoke.
9368 if test "X${COLLECT_NAMES+set}" != Xset; then
9370 export COLLECT_NAMES
9376 # We use sed instead of cat because bash on DJGPP gets confused if
9377 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9378 # text mode, it properly converts lines to CR/LF. This bash problem
9379 # is reportedly fixed, but why not run on old versions too?
9380 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9382 mv -f "$cfgfile" "$ofile" || \
9383 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9387 # If there is no Makefile yet, we rely on a make rule to execute
9388 # `config.status --recheck' to rerun these tests and create the
9389 # libtool script then.
9390 test -f Makefile && make "$ltmain"
9395 ac_cpp='$CPP $CPPFLAGS'
9396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9403 # Check whether --with-tags or --without-tags was given.
9404 if test "${with_tags+set}" = set; then
9405 withval="$with_tags"
9409 if test -f "$ltmain" && test -n "$tagnames"; then
9410 if test ! -f "${ofile}"; then
9411 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9412 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9415 if test -z "$LTCC"; then
9416 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9417 if test -z "$LTCC"; then
9418 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9419 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9421 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9422 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9426 # Extract list of available tagged configurations in $ofile.
9427 # Note that this assumes the entire list is on one line.
9428 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9430 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9431 for tagname in $tagnames; do
9433 # Check whether tagname contains only valid characters
9434 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9436 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9437 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9438 { (exit 1); exit 1; }; }
9442 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9444 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9445 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9446 { (exit 1); exit 1; }; }
9449 # Update the list of available tags.
9450 if test -n "$tagname"; then
9451 echo appending configuration tag \"$tagname\" to $ofile
9455 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9457 ac_cpp='$CXXCPP $CPPFLAGS'
9458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9465 archive_cmds_need_lc_CXX=no
9466 allow_undefined_flag_CXX=
9467 always_export_symbols_CXX=no
9468 archive_expsym_cmds_CXX=
9469 export_dynamic_flag_spec_CXX=
9470 hardcode_direct_CXX=no
9471 hardcode_libdir_flag_spec_CXX=
9472 hardcode_libdir_flag_spec_ld_CXX=
9473 hardcode_libdir_separator_CXX=
9474 hardcode_minus_L_CXX=no
9475 hardcode_automatic_CXX=no
9477 module_expsym_cmds_CXX=
9478 link_all_deplibs_CXX=unknown
9479 old_archive_cmds_CXX=$old_archive_cmds
9480 no_undefined_flag_CXX=
9481 whole_archive_flag_spec_CXX=
9482 enable_shared_with_static_runtimes_CXX=no
9484 # Dependencies to place before and after the object being linked:
9486 postdep_objects_CXX=
9489 compiler_lib_search_path_CXX=
9491 # Source file extension for C++ test sources.
9494 # Object file extension for compiled C++ test sources.
9498 # Code to be used in simple compile tests
9499 lt_simple_compile_test_code="int some_variable = 0;\n"
9501 # Code to be used in simple link tests
9502 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
9504 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9506 # If no C compiler was specified, use CC.
9509 # Allow CC to be a program name with arguments.
9513 # Allow CC to be a program name with arguments.
9518 lt_save_with_gnu_ld=$with_gnu_ld
9519 lt_save_path_LD=$lt_cv_path_LD
9520 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9521 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9523 unset lt_cv_prog_gnu_ld
9525 if test -n "${lt_cv_path_LDCXX+set}"; then
9526 lt_cv_path_LD=$lt_cv_path_LDCXX
9530 test -z "${LDCXX+set}" || LD=$LDCXX
9534 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9536 # We don't want -fno-exception wen compiling C++ code, so set the
9537 # no_builtin_flag separately
9538 if test "$GXX" = yes; then
9539 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9541 lt_prog_compiler_no_builtin_flag_CXX=
9544 if test "$GXX" = yes; then
9545 # Set up default GNU C++ configuration
9548 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9549 if test "${with_gnu_ld+set}" = set; then
9550 withval="$with_gnu_ld"
9551 test "$withval" = no || with_gnu_ld=yes
9556 if test "$GCC" = yes; then
9557 # Check if gcc -print-prog-name=ld gives a path.
9558 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9559 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9562 # gcc leaves a trailing carriage return which upsets mingw
9563 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9565 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9568 # Accept absolute paths.
9570 re_direlt='/[^/][^/]*/\.\./'
9571 # Canonicalize the path of ld
9572 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9573 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9574 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9576 test -z "$LD" && LD="$ac_prog"
9579 # If it fails, then pretend we aren't using GCC.
9583 # If it is relative, then search for the first ld in PATH.
9587 elif test "$with_gnu_ld" = yes; then
9588 echo "$as_me:$LINENO: checking for GNU ld" >&5
9589 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9591 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9592 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9594 if test "${lt_cv_path_LD+set}" = set; then
9595 echo $ECHO_N "(cached) $ECHO_C" >&6
9597 if test -z "$LD"; then
9598 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9599 for ac_dir in $PATH; do
9601 test -z "$ac_dir" && ac_dir=.
9602 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9603 lt_cv_path_LD="$ac_dir/$ac_prog"
9604 # Check to see if the program is GNU ld. I'd rather use --version,
9605 # but apparently some GNU ld's only accept -v.
9606 # Break only if it was the GNU/non-GNU ld that we prefer.
9607 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9608 *GNU* | *'with BFD'*)
9609 test "$with_gnu_ld" != no && break
9612 test "$with_gnu_ld" != yes && break
9619 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9624 if test -n "$LD"; then
9625 echo "$as_me:$LINENO: result: $LD" >&5
9626 echo "${ECHO_T}$LD" >&6
9628 echo "$as_me:$LINENO: result: no" >&5
9629 echo "${ECHO_T}no" >&6
9631 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9632 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9633 { (exit 1); exit 1; }; }
9634 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9635 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9636 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9637 echo $ECHO_N "(cached) $ECHO_C" >&6
9639 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9640 case `"$LD" -v 2>&1 </dev/null` in
9641 *GNU* | *'with BFD'*)
9642 lt_cv_prog_gnu_ld=yes
9645 lt_cv_prog_gnu_ld=no
9649 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9650 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9651 with_gnu_ld=$lt_cv_prog_gnu_ld
9655 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9656 # archiving commands below assume that GNU ld is being used.
9657 if test "$with_gnu_ld" = yes; then
9658 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9659 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'
9661 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
9662 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9664 # If archive_cmds runs LD, not CC, wlarc should be empty
9665 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9666 # investigate it a little bit more. (MM)
9669 # ancient GNU ld didn't support --whole-archive et. al.
9670 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9671 grep 'no-whole-archive' > /dev/null; then
9672 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9674 whole_archive_flag_spec_CXX=
9680 # A generic and very simple default shared library creation
9681 # command for GNU C++ for the case where it uses the native
9682 # linker, instead of GNU ld. If possible, this setting should
9683 # overridden to take advantage of the native linker features on
9684 # the platform it is being used on.
9685 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9688 # Commands to make compiler produce verbose output that lists
9689 # what "hidden" libraries, object files and flags are used when
9690 # linking a shared library.
9691 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9699 # PORTME: fill in a description of your system's C++ link characteristics
9700 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9701 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9705 # FIXME: insert proper C++ library support
9709 if test "$host_cpu" = ia64; then
9710 # On IA64, the linker does run time linking by default, so we don't
9711 # have to do anything special.
9712 aix_use_runtimelinking=no
9713 exp_sym_flag='-Bexport'
9716 aix_use_runtimelinking=no
9718 # Test if we are trying to use run time linking or normal
9719 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9720 # need to do runtime linking.
9721 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9722 for ld_flag in $LDFLAGS; do
9725 aix_use_runtimelinking=yes
9732 exp_sym_flag='-bexport'
9733 no_entry_flag='-bnoentry'
9736 # When large executables or shared objects are built, AIX ld can
9737 # have problems creating the table of contents. If linking a library
9738 # or program results in "error TOC overflow" add -mminimal-toc to
9739 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9740 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9743 hardcode_direct_CXX=yes
9744 hardcode_libdir_separator_CXX=':'
9745 link_all_deplibs_CXX=yes
9747 if test "$GXX" = yes; then
9748 case $host_os in aix4.012|aix4.012.*)
9749 # We only want to do this on AIX 4.2 and lower, the check
9750 # below for broken collect2 doesn't work under 4.3+
9751 collect2name=`${CC} -print-prog-name=collect2`
9752 if test -f "$collect2name" && \
9753 strings "$collect2name" | grep resolve_lib_name >/dev/null
9755 # We have reworked collect2
9756 hardcode_direct_CXX=yes
9758 # We have old collect2
9759 hardcode_direct_CXX=unsupported
9760 # It fails to find uninstalled libraries when the uninstalled
9761 # path is not listed in the libpath. Setting hardcode_minus_L
9762 # to unsupported forces relinking
9763 hardcode_minus_L_CXX=yes
9764 hardcode_libdir_flag_spec_CXX='-L$libdir'
9765 hardcode_libdir_separator_CXX=
9768 shared_flag='-shared'
9771 if test "$host_cpu" = ia64; then
9772 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9773 # chokes on -Wl,-G. The following line is correct:
9776 if test "$aix_use_runtimelinking" = yes; then
9777 shared_flag='${wl}-G'
9779 shared_flag='${wl}-bM:SRE'
9784 # It seems that -bexpall does not export symbols beginning with
9785 # underscore (_), so it is better to generate a list of symbols to export.
9786 always_export_symbols_CXX=yes
9787 if test "$aix_use_runtimelinking" = yes; then
9788 # Warning - without using the other runtime loading flags (-brtl),
9789 # -berok will link without error, but may produce a broken library.
9790 allow_undefined_flag_CXX='-berok'
9791 # Determine the default libpath from the value encoded in an empty executable.
9792 cat >conftest.$ac_ext <<_ACEOF
9793 #line $LINENO "configure"
9796 cat confdefs.h >>conftest.$ac_ext
9797 cat >>conftest.$ac_ext <<_ACEOF
9798 /* end confdefs.h. */
9808 rm -f conftest.$ac_objext conftest$ac_exeext
9809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9810 (eval $ac_link) 2>&5
9812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9813 (exit $ac_status); } &&
9814 { ac_try='test -s conftest$ac_exeext'
9815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9819 (exit $ac_status); }; }; then
9821 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9823 # Check for a 64-bit object if we didn't find anything.
9824 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; }
9827 echo "$as_me: failed program was:" >&5
9828 sed 's/^/| /' conftest.$ac_ext >&5
9831 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9832 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9834 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9836 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"
9838 if test "$host_cpu" = ia64; then
9839 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
9840 allow_undefined_flag_CXX="-z nodefs"
9841 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"
9843 # Determine the default libpath from the value encoded in an empty executable.
9844 cat >conftest.$ac_ext <<_ACEOF
9845 #line $LINENO "configure"
9848 cat confdefs.h >>conftest.$ac_ext
9849 cat >>conftest.$ac_ext <<_ACEOF
9850 /* end confdefs.h. */
9860 rm -f conftest.$ac_objext conftest$ac_exeext
9861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9862 (eval $ac_link) 2>&5
9864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9865 (exit $ac_status); } &&
9866 { ac_try='test -s conftest$ac_exeext'
9867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9871 (exit $ac_status); }; }; then
9873 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9875 # Check for a 64-bit object if we didn't find anything.
9876 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; }
9879 echo "$as_me: failed program was:" >&5
9880 sed 's/^/| /' conftest.$ac_ext >&5
9883 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9884 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9886 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9887 # Warning - without using the other run time loading flags,
9888 # -berok will link without error, but may produce a broken library.
9889 no_undefined_flag_CXX=' ${wl}-bernotok'
9890 allow_undefined_flag_CXX=' ${wl}-berok'
9891 # -bexpall does not export symbols beginning with underscore (_)
9892 always_export_symbols_CXX=yes
9893 # Exported symbols can be pulled into shared objects from archives
9894 whole_archive_flag_spec_CXX=' '
9895 archive_cmds_need_lc_CXX=yes
9896 # This is similar to how AIX traditionally builds it's shared libraries.
9897 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'
9902 case $cc_basename in
9904 # FIXME: insert proper C++ library support
9910 cygwin* | mingw* | pw32*)
9911 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
9912 # as there is no search path for DLLs.
9913 hardcode_libdir_flag_spec_CXX='-L$libdir'
9914 allow_undefined_flag_CXX=unsupported
9915 always_export_symbols_CXX=no
9916 enable_shared_with_static_runtimes_CXX=yes
9918 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9919 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'
9920 # If the export-symbols file already is a .def file (1st line
9921 # is EXPORTS), use it as is; otherwise, prepend...
9922 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9923 cp $export_symbols $output_objdir/$soname.def;
9925 echo EXPORTS > $output_objdir/$soname.def;
9926 cat $export_symbols >> $output_objdir/$soname.def;
9928 $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'
9934 darwin* | rhapsody*)
9935 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9936 archive_cmds_need_lc_CXX=no
9938 rhapsody* | darwin1.[012])
9939 allow_undefined_flag_CXX='-undefined suppress'
9942 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9945 lt_int_apple_cc_single_mod=no
9946 output_verbose_link_cmd='echo'
9947 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9948 lt_int_apple_cc_single_mod=yes
9950 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9951 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9953 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'
9955 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9957 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9958 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9959 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}'
9961 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}'
9963 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}'
9964 hardcode_direct_CXX=no
9965 hardcode_automatic_CXX=yes
9966 hardcode_shlibpath_var_CXX=unsupported
9967 whole_archive_flag_spec_CXX='-all_load $convenience'
9968 link_all_deplibs_CXX=yes
9973 case $cc_basename in
9975 # FIXME: insert proper C++ library support
9979 # Green Hills C++ Compiler
9980 # FIXME: insert proper C++ library support
9984 # FIXME: insert proper C++ library support
9990 # C++ shared libraries reported to be fairly broken before switch to ELF
9994 archive_cmds_need_lc_CXX=no
9997 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10004 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10005 hardcode_libdir_separator_CXX=:
10006 export_dynamic_flag_spec_CXX='${wl}-E'
10007 hardcode_direct_CXX=yes
10008 hardcode_minus_L_CXX=yes # Not in the search PATH,
10009 # but as the default
10010 # location of the library.
10012 case $cc_basename in
10014 # FIXME: insert proper C++ library support
10018 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'
10019 # Commands to make compiler produce verbose output that lists
10020 # what "hidden" libraries, object files and flags are used when
10021 # linking a shared library.
10023 # There doesn't appear to be a way to prevent this compiler from
10024 # explicitly linking system object files so we need to strip them
10025 # from the output so that they don't get included in the library
10027 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'
10030 if test "$GXX" = yes; then
10031 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'
10033 # FIXME: insert proper C++ library support
10040 if test $with_gnu_ld = no; then
10041 case "$host_cpu" in
10043 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10044 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
10045 hardcode_libdir_separator_CXX=:
10048 hardcode_libdir_flag_spec_CXX='-L$libdir'
10051 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10052 hardcode_libdir_separator_CXX=:
10053 export_dynamic_flag_spec_CXX='${wl}-E'
10057 case "$host_cpu" in
10059 hardcode_direct_CXX=no
10060 hardcode_shlibpath_var_CXX=no
10063 hardcode_direct_CXX=no
10064 hardcode_shlibpath_var_CXX=no
10065 hardcode_minus_L_CXX=yes # Not in the search PATH,
10066 # but as the default
10067 # location of the library.
10070 hardcode_direct_CXX=yes
10071 hardcode_minus_L_CXX=yes # Not in the search PATH,
10072 # but as the default
10073 # location of the library.
10077 case $cc_basename in
10079 # FIXME: insert proper C++ library support
10083 case "$host_cpu" in
10085 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10088 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10091 # Commands to make compiler produce verbose output that lists
10092 # what "hidden" libraries, object files and flags are used when
10093 # linking a shared library.
10095 # There doesn't appear to be a way to prevent this compiler from
10096 # explicitly linking system object files so we need to strip them
10097 # from the output so that they don't get included in the library
10099 output_verbose_link_cmd='templist=`($CC -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'
10102 if test "$GXX" = yes; then
10103 if test $with_gnu_ld = no; then
10104 case "$host_cpu" in
10106 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10109 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'
10114 # FIXME: insert proper C++ library support
10121 case $cc_basename in
10124 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'
10126 # Archives containing C++ object files must be created using
10127 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10128 # necessary to make sure instantiated templates are included
10130 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10133 if test "$GXX" = yes; then
10134 if test "$with_gnu_ld" = no; then
10135 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'
10137 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'
10140 link_all_deplibs_CXX=yes
10143 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10144 hardcode_libdir_separator_CXX=:
10147 case $cc_basename in
10149 # Kuck and Associates, Inc. (KAI) C++ Compiler
10151 # KCC will only create a shared library if the output file
10152 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10153 # to its proper name (with version) after linking.
10154 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'
10155 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'
10156 # Commands to make compiler produce verbose output that lists
10157 # what "hidden" libraries, object files and flags are used when
10158 # linking a shared library.
10160 # There doesn't appear to be a way to prevent this compiler from
10161 # explicitly linking system object files so we need to strip them
10162 # from the output so that they don't get included in the library
10164 output_verbose_link_cmd='templist=`$CC $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'
10166 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10167 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10169 # Archives containing C++ object files must be created using
10170 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10171 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10176 archive_cmds_need_lc_CXX=no
10177 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10178 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'
10179 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10180 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10181 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10185 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10186 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'
10188 runpath_var=LD_RUN_PATH
10189 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10190 hardcode_libdir_separator_CXX=:
10192 # Commands to make compiler produce verbose output that lists
10193 # what "hidden" libraries, object files and flags are used when
10194 # linking a shared library.
10196 # There doesn't appear to be a way to prevent this compiler from
10197 # explicitly linking system object files so we need to strip them
10198 # from the output so that they don't get included in the library
10200 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'
10205 # FIXME: insert proper C++ library support
10209 # FIXME: insert proper C++ library support
10213 case $cc_basename in
10215 # FIXME: insert proper C++ library support
10219 # FIXME: insert proper C++ library support
10225 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10226 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10228 hardcode_libdir_flag_spec_CXX='-R$libdir'
10229 hardcode_direct_CXX=yes
10230 hardcode_shlibpath_var_CXX=no
10232 # Workaround some broken pre-1.5 toolchains
10233 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10236 case $cc_basename in
10238 # Kuck and Associates, Inc. (KAI) C++ Compiler
10240 # KCC will only create a shared library if the output file
10241 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10242 # to its proper name (with version) after linking.
10243 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'
10245 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10246 hardcode_libdir_separator_CXX=:
10248 # Archives containing C++ object files must be created using
10249 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10250 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10254 # Rational C++ 2.4.1
10255 # FIXME: insert proper C++ library support
10259 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10260 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'
10262 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10263 hardcode_libdir_separator_CXX=:
10265 # Commands to make compiler produce verbose output that lists
10266 # what "hidden" libraries, object files and flags are used when
10267 # linking a shared library.
10269 # There doesn't appear to be a way to prevent this compiler from
10270 # explicitly linking system object files so we need to strip them
10271 # from the output so that they don't get included in the library
10273 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'
10276 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10277 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10278 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'
10280 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10281 hardcode_libdir_separator_CXX=:
10283 # Commands to make compiler produce verbose output that lists
10284 # what "hidden" libraries, object files and flags are used when
10285 # linking a shared library.
10286 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10289 # FIXME: insert proper C++ library support
10296 case $cc_basename in
10298 # Kuck and Associates, Inc. (KAI) C++ Compiler
10300 # KCC will only create a shared library if the output file
10301 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10302 # to its proper name (with version) after linking.
10303 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'
10305 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10306 hardcode_libdir_separator_CXX=:
10308 # Archives containing C++ object files must be created using
10309 # the KAI C++ compiler.
10310 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10313 # Rational C++ 2.4.1
10314 # FIXME: insert proper C++ library support
10318 allow_undefined_flag_CXX=' -expect_unresolved \*'
10319 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'
10320 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10321 echo "-hidden">> $lib.exp~
10322 $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~
10325 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10326 hardcode_libdir_separator_CXX=:
10328 # Commands to make compiler produce verbose output that lists
10329 # what "hidden" libraries, object files and flags are used when
10330 # linking a shared library.
10332 # There doesn't appear to be a way to prevent this compiler from
10333 # explicitly linking system object files so we need to strip them
10334 # from the output so that they don't get included in the library
10336 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'
10339 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10340 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10341 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'
10343 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10344 hardcode_libdir_separator_CXX=:
10346 # Commands to make compiler produce verbose output that lists
10347 # what "hidden" libraries, object files and flags are used when
10348 # linking a shared library.
10349 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10352 # FIXME: insert proper C++ library support
10359 # FIXME: insert proper C++ library support
10363 archive_cmds_need_lc_CXX=no
10364 case $cc_basename in
10366 # FIXME: insert proper C++ library support
10370 # FIXME: insert proper C++ library support
10376 case $cc_basename in
10379 # FIXME: insert proper C++ library support
10384 # FIXME: insert proper C++ library support
10388 # FIXME: insert proper C++ library support
10394 case $cc_basename in
10396 # Sun C++ 4.2, 5.x and Centerline C++
10397 no_undefined_flag_CXX=' -zdefs'
10398 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10399 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10400 $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'
10402 hardcode_libdir_flag_spec_CXX='-R$libdir'
10403 hardcode_shlibpath_var_CXX=no
10405 solaris2.0-5 | solaris2.0-5.*) ;;
10407 # The C++ compiler is used as linker so we must use $wl
10408 # flag to pass the commands to the underlying system
10410 # Supported since Solaris 2.6 (maybe 2.5.1?)
10411 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10414 link_all_deplibs_CXX=yes
10416 # Commands to make compiler produce verbose output that lists
10417 # what "hidden" libraries, object files and flags are used when
10418 # linking a shared library.
10420 # There doesn't appear to be a way to prevent this compiler from
10421 # explicitly linking system object files so we need to strip them
10422 # from the output so that they don't get included in the library
10424 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'
10426 # Archives containing C++ object files must be created using
10427 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10428 # necessary to make sure instantiated templates are included
10430 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10433 # Green Hills C++ Compiler
10434 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10436 # The C++ compiler must be used to create the archive.
10437 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10440 # GNU C++ compiler with Solaris linker
10441 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10442 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10443 if $CC --version | grep -v '^2\.7' > /dev/null; then
10444 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10445 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10446 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10448 # Commands to make compiler produce verbose output that lists
10449 # what "hidden" libraries, object files and flags are used when
10450 # linking a shared library.
10451 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10453 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10455 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10456 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10457 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10459 # Commands to make compiler produce verbose output that lists
10460 # what "hidden" libraries, object files and flags are used when
10461 # linking a shared library.
10462 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10465 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10470 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10471 archive_cmds_need_lc_CXX=no
10474 case $cc_basename in
10476 # NonStop-UX NCC 3.20
10477 # FIXME: insert proper C++ library support
10481 # FIXME: insert proper C++ library support
10487 # FIXME: insert proper C++ library support
10491 # FIXME: insert proper C++ library support
10495 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10496 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10497 test "$ld_shlibs_CXX" = no && can_build_shared=no
10503 ## There is no encapsulation within the following macros, do not change
10504 ## the running order or otherwise move them around unless you know exactly
10505 ## what you are doing...
10507 cat > conftest.$ac_ext <<EOF
10511 Foo (void) { a = 0; }
10517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10518 (eval $ac_compile) 2>&5
10520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10521 (exit $ac_status); }; then
10522 # Parse the compiler output and extract the necessary
10523 # objects, libraries and library flags.
10525 # Sentinel used to keep track of whether or not we are before
10526 # the conftest object file.
10527 pre_test_object_deps_done=no
10529 # The `*' in the case matches for architectures that use `case' in
10530 # $output_verbose_cmd can trigger glob expansion during the loop
10531 # eval without this substitution.
10532 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10534 for p in `eval $output_verbose_link_cmd`; do
10538 # Some compilers place space between "-{L,R}" and the path.
10539 # Remove the space.
10540 if test $p = "-L" \
10541 || test $p = "-R"; then
10548 if test "$pre_test_object_deps_done" = no; then
10551 # Internal compiler library paths should come after those
10552 # provided the user. The postdeps already come after the
10553 # user supplied libs so there is no need to process them.
10554 if test -z "$compiler_lib_search_path_CXX"; then
10555 compiler_lib_search_path_CXX="${prev}${p}"
10557 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10560 # The "-l" case would never come before the object being
10561 # linked, so don't bother handling this case.
10564 if test -z "$postdeps_CXX"; then
10565 postdeps_CXX="${prev}${p}"
10567 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10573 # This assumes that the test object file only shows up
10574 # once in the compiler output.
10575 if test "$p" = "conftest.$objext"; then
10576 pre_test_object_deps_done=yes
10580 if test "$pre_test_object_deps_done" = no; then
10581 if test -z "$predep_objects_CXX"; then
10582 predep_objects_CXX="$p"
10584 predep_objects_CXX="$predep_objects_CXX $p"
10587 if test -z "$postdep_objects_CXX"; then
10588 postdep_objects_CXX="$p"
10590 postdep_objects_CXX="$postdep_objects_CXX $p"
10595 *) ;; # Ignore the rest.
10603 echo "libtool.m4: error: problem compiling CXX test program"
10606 $rm -f confest.$objext
10608 case " $postdeps_CXX " in
10609 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
10612 lt_prog_compiler_wl_CXX=
10613 lt_prog_compiler_pic_CXX=
10614 lt_prog_compiler_static_CXX=
10616 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10617 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10619 # C++ specific cases for pic, static, wl, etc.
10620 if test "$GXX" = yes; then
10621 lt_prog_compiler_wl_CXX='-Wl,'
10622 lt_prog_compiler_static_CXX='-static'
10626 # All AIX code is PIC.
10627 if test "$host_cpu" = ia64; then
10628 # AIX 5 now supports IA64 processor
10629 lt_prog_compiler_static_CXX='-Bstatic'
10633 # FIXME: we need at least 68020 code to build shared libraries, but
10634 # adding the `-m68020' flag to GCC prevents building anything better,
10636 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10638 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10639 # PIC is the default for these OSes.
10641 mingw* | os2* | pw32*)
10642 # This hack is so that the source file can tell whether it is being
10643 # built for inclusion in a dll (and should export symbols for example).
10644 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10646 darwin* | rhapsody*)
10647 # PIC is the default on this platform
10648 # Common symbols not allowed in MH_DYLIB files
10649 lt_prog_compiler_pic_CXX='-fno-common'
10652 # DJGPP does not support shared libraries at all
10653 lt_prog_compiler_pic_CXX=
10656 if test -d /usr/nec; then
10657 lt_prog_compiler_pic_CXX=-Kconform_pic
10661 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10662 # not for PA HP-UX.
10663 case "$host_cpu" in
10667 lt_prog_compiler_pic_CXX='-fPIC'
10672 lt_prog_compiler_pic_CXX='-fPIC'
10678 # All AIX code is PIC.
10679 if test "$host_cpu" = ia64; then
10680 # AIX 5 now supports IA64 processor
10681 lt_prog_compiler_static_CXX='-Bstatic'
10683 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
10687 case $cc_basename in
10689 # Green Hills C++ Compiler
10690 # _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"
10695 case $cc_basename in
10697 lt_prog_compiler_pic_CXX='-KPIC'
10700 # Green Hills C++ Compiler
10701 lt_prog_compiler_pic_CXX='-pic'
10708 # FreeBSD uses GNU C++
10710 hpux9* | hpux10* | hpux11*)
10711 case $cc_basename in
10713 lt_prog_compiler_wl_CXX='-Wl,'
10714 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10715 if test "$host_cpu" != ia64; then
10716 lt_prog_compiler_pic_CXX='+Z'
10720 lt_prog_compiler_wl_CXX='-Wl,'
10721 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10722 case "$host_cpu" in
10727 lt_prog_compiler_pic_CXX='+Z'
10735 irix5* | irix6* | nonstopux*)
10736 case $cc_basename in
10738 lt_prog_compiler_wl_CXX='-Wl,'
10739 lt_prog_compiler_static_CXX='-non_shared'
10740 # CC pic flag -KPIC is the default.
10747 case $cc_basename in
10750 lt_prog_compiler_wl_CXX='--backend -Wl,'
10751 lt_prog_compiler_pic_CXX='-fPIC'
10755 lt_prog_compiler_wl_CXX='-Wl,'
10756 lt_prog_compiler_pic_CXX='-KPIC'
10757 lt_prog_compiler_static_CXX='-static'
10761 # Make sure the PIC flag is empty. It appears that all Alpha
10762 # Linux and Compaq Tru64 Unix objects are PIC.
10763 lt_prog_compiler_pic_CXX=
10764 lt_prog_compiler_static_CXX='-non_shared'
10775 case $cc_basename in
10777 lt_prog_compiler_pic_CXX='-W c,exportall'
10785 osf3* | osf4* | osf5*)
10786 case $cc_basename in
10788 lt_prog_compiler_wl_CXX='--backend -Wl,'
10791 # Rational C++ 2.4.1
10792 lt_prog_compiler_pic_CXX='-pic'
10795 # Digital/Compaq C++
10796 lt_prog_compiler_wl_CXX='-Wl,'
10797 # Make sure the PIC flag is empty. It appears that all Alpha
10798 # Linux and Compaq Tru64 Unix objects are PIC.
10799 lt_prog_compiler_pic_CXX=
10800 lt_prog_compiler_static_CXX='-non_shared'
10809 case $cc_basename in
10811 lt_prog_compiler_pic_CXX='-fPIC'
10818 case $cc_basename in
10820 # Sun C++ 4.2, 5.x and Centerline C++
10821 lt_prog_compiler_pic_CXX='-KPIC'
10822 lt_prog_compiler_static_CXX='-Bstatic'
10823 lt_prog_compiler_wl_CXX='-Qoption ld '
10826 # Green Hills C++ Compiler
10827 lt_prog_compiler_pic_CXX='-PIC'
10834 case $cc_basename in
10837 lt_prog_compiler_pic_CXX='-pic'
10838 lt_prog_compiler_static_CXX='-Bstatic'
10842 lt_prog_compiler_pic_CXX='-pic'
10849 case $cc_basename in
10851 # NonStop-UX NCC 3.20
10852 lt_prog_compiler_pic_CXX='-KPIC'
10863 lt_prog_compiler_can_build_shared_CXX=no
10868 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10869 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
10872 # Check to make sure the PIC flag actually works.
10874 if test -n "$lt_prog_compiler_pic_CXX"; then
10875 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10876 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
10877 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10878 echo $ECHO_N "(cached) $ECHO_C" >&6
10880 lt_prog_compiler_pic_works_CXX=no
10881 ac_outfile=conftest.$ac_objext
10882 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10883 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
10884 # Insert the option either (1) after the last *FLAGS variable, or
10885 # (2) before a word containing "conftest.", or (3) at the end.
10886 # Note that $ac_compile itself does not contain backslashes and begins
10887 # with a dollar sign (not a hyphen), so the echo should work correctly.
10888 # The option is referenced via a variable to avoid confusing sed.
10889 lt_compile=`echo "$ac_compile" | $SED \
10890 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10891 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10892 -e 's:$: $lt_compiler_flag:'`
10893 (eval echo "\"\$as_me:10893: $lt_compile\"" >&5)
10894 (eval "$lt_compile" 2>conftest.err)
10896 cat conftest.err >&5
10897 echo "$as_me:10897: \$? = $ac_status" >&5
10898 if (exit $ac_status) && test -s "$ac_outfile"; then
10899 # The compiler can only warn and ignore the option if not recognized
10900 # So say no if there are warnings
10901 if test ! -s conftest.err; then
10902 lt_prog_compiler_pic_works_CXX=yes
10908 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10909 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
10911 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
10912 case $lt_prog_compiler_pic_CXX in
10914 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
10917 lt_prog_compiler_pic_CXX=
10918 lt_prog_compiler_can_build_shared_CXX=no
10923 # For platforms which do not support PIC, -DPIC is meaningless:
10925 lt_prog_compiler_pic_CXX=
10928 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
10932 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10933 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10934 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
10935 echo $ECHO_N "(cached) $ECHO_C" >&6
10937 lt_cv_prog_compiler_c_o_CXX=no
10938 $rm -r conftest 2>/dev/null
10942 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10944 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10945 # that will create temporary files in the current directory regardless of
10946 # the output directory. Thus, making CWD read-only will cause this test
10947 # to fail, enabling locking or at least warning the user not to do parallel
10951 lt_compiler_flag="-o out/conftest2.$ac_objext"
10952 # Insert the option either (1) after the last *FLAGS variable, or
10953 # (2) before a word containing "conftest.", or (3) at the end.
10954 # Note that $ac_compile itself does not contain backslashes and begins
10955 # with a dollar sign (not a hyphen), so the echo should work correctly.
10956 lt_compile=`echo "$ac_compile" | $SED \
10957 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10958 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10959 -e 's:$: $lt_compiler_flag:'`
10960 (eval echo "\"\$as_me:10960: $lt_compile\"" >&5)
10961 (eval "$lt_compile" 2>out/conftest.err)
10963 cat out/conftest.err >&5
10964 echo "$as_me:10964: \$? = $ac_status" >&5
10965 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10967 # The compiler can only warn and ignore the option if not recognized
10968 # So say no if there are warnings
10969 if test ! -s out/conftest.err; then
10970 lt_cv_prog_compiler_c_o_CXX=yes
10974 $rm conftest* out/*
10981 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10982 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
10985 hard_links="nottested"
10986 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
10987 # do not overwrite the value of need_locks provided by the user
10988 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10989 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10992 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10994 ln conftest.a conftest.b 2>&5 || hard_links=no
10995 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10996 echo "$as_me:$LINENO: result: $hard_links" >&5
10997 echo "${ECHO_T}$hard_links" >&6
10998 if test "$hard_links" = no; then
10999 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11000 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11007 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11008 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11010 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11013 # If we're using GNU nm, then we don't want the "-C" option.
11014 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11015 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
11016 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'
11018 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'
11022 export_symbols_cmds_CXX="$ltdll_cmds"
11025 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
11028 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11032 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11033 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11034 test "$ld_shlibs_CXX" = no && can_build_shared=no
11036 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11037 if test "$GCC" = yes; then
11038 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11042 # Do we need to explicitly link libc?
11044 case "x$archive_cmds_need_lc_CXX" in
11046 # Assume -lc should be added
11047 archive_cmds_need_lc_CXX=yes
11049 if test "$enable_shared" = yes && test "$GCC" = yes; then
11050 case $archive_cmds_CXX in
11052 # FIXME: we may have to deal with multi-command sequences.
11055 # Test whether the compiler implicitly links with -lc since on some
11056 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11057 # to ld, don't add -lc before -lgcc.
11058 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11059 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11061 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11064 (eval $ac_compile) 2>&5
11066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11067 (exit $ac_status); } 2>conftest.err; then
11070 libobjs=conftest.$ac_objext
11072 wl=$lt_prog_compiler_wl_CXX
11078 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
11079 allow_undefined_flag_CXX=
11080 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11081 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
11083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11084 (exit $ac_status); }
11086 archive_cmds_need_lc_CXX=no
11088 archive_cmds_need_lc_CXX=yes
11090 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
11092 cat conftest.err 1>&5
11095 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11096 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11103 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11104 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11105 hardcode_action_CXX=
11106 if test -n "$hardcode_libdir_flag_spec_CXX" || \
11107 test -n "$runpath_var CXX" || \
11108 test "X$hardcode_automatic_CXX"="Xyes" ; then
11110 # We can hardcode non-existant directories.
11111 if test "$hardcode_direct_CXX" != no &&
11112 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11113 # have to relink, otherwise we might link with an installed library
11114 # when we should be linking with a yet-to-be-installed one
11115 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
11116 test "$hardcode_minus_L_CXX" != no; then
11117 # Linking always hardcodes the temporary library directory.
11118 hardcode_action_CXX=relink
11120 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11121 hardcode_action_CXX=immediate
11124 # We cannot hardcode anything, or else we can only hardcode existing
11126 hardcode_action_CXX=unsupported
11128 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11129 echo "${ECHO_T}$hardcode_action_CXX" >&6
11131 if test "$hardcode_action_CXX" = relink; then
11132 # Fast installation is not supported
11133 enable_fast_install=no
11134 elif test "$shlibpath_overrides_runpath" = yes ||
11135 test "$enable_shared" = no; then
11136 # Fast installation is not necessary
11137 enable_fast_install=needless
11142 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11143 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11144 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11145 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11146 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11147 echo "$as_me:$LINENO: result: yes" >&5
11148 echo "${ECHO_T}yes" >&6
11150 # FIXME - insert some real tests, host_os isn't really good enough
11153 if test -n "$STRIP" ; then
11154 striplib="$STRIP -x"
11155 echo "$as_me:$LINENO: result: yes" >&5
11156 echo "${ECHO_T}yes" >&6
11158 echo "$as_me:$LINENO: result: no" >&5
11159 echo "${ECHO_T}no" >&6
11163 echo "$as_me:$LINENO: result: no" >&5
11164 echo "${ECHO_T}no" >&6
11169 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11170 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11171 library_names_spec=
11172 libname_spec='lib$name'
11176 postuninstall_cmds=
11180 shlibpath_overrides_runpath=unknown
11182 dynamic_linker="$host_os ld.so"
11183 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11184 if test "$GCC" = yes; then
11185 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11186 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11187 # if the path contains ";" then we assume it to be the separator
11188 # otherwise default to the standard path separator (i.e. ":") - it is
11189 # assumed that no part of a normal pathname contains ";" but that should
11190 # okay in the real world where ";" in dirpaths is itself problematic.
11191 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11193 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11196 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11198 need_lib_prefix=unknown
11199 hardcode_into_libs=no
11201 # when you set need_version to no, make sure it does not cause -set_version
11202 # flags to be left without arguments
11203 need_version=unknown
11208 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11209 shlibpath_var=LIBPATH
11211 # AIX 3 has no versioning support, so we append a major version to the name.
11212 soname_spec='${libname}${release}${shared_ext}$major'
11219 hardcode_into_libs=yes
11220 if test "$host_cpu" = ia64; then
11221 # AIX 5 supports IA64
11222 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11223 shlibpath_var=LD_LIBRARY_PATH
11225 # With GCC up to 2.95.x, collect2 would create an import file
11226 # for dependence libraries. The import file would start with
11227 # the line `#! .'. This would cause the generated library to
11228 # depend on `.', always an invalid library. This was fixed in
11229 # development snapshots of GCC prior to 3.0.
11231 aix4 | aix4.[01] | aix4.[01].*)
11232 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11234 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11237 can_build_shared=no
11241 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11242 # soname into executable. Probably we can add versioning support to
11243 # collect2, so additional links can be useful in future.
11244 if test "$aix_use_runtimelinking" = yes; then
11245 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11246 # instead of lib<name>.a to let people know that these are not
11247 # typical AIX shared libraries.
11248 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11250 # We preserve .a as extension for shared libraries through AIX4.2
11251 # and later when we are not doing run time linking.
11252 library_names_spec='${libname}${release}.a $libname.a'
11253 soname_spec='${libname}${release}${shared_ext}$major'
11255 shlibpath_var=LIBPATH
11260 library_names_spec='$libname.ixlibrary $libname.a'
11261 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11262 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'
11266 library_names_spec='${libname}${shared_ext}'
11267 dynamic_linker="$host_os ld.so"
11268 shlibpath_var=LIBRARY_PATH
11274 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11275 soname_spec='${libname}${release}${shared_ext}$major'
11276 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11277 shlibpath_var=LD_LIBRARY_PATH
11278 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11279 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11280 # the default ld.so.conf also contains /usr/contrib/lib and
11281 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11282 # libtool to hard-code these into programs
11285 cygwin* | mingw* | pw32*)
11286 version_type=windows
11291 case $GCC,$host_os in
11292 yes,cygwin* | yes,mingw* | yes,pw32*)
11293 library_names_spec='$libname.dll.a'
11294 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11295 postinstall_cmds='base_file=`basename \${file}`~
11296 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11297 dldir=$destdir/`dirname \$dlpath`~
11298 test -d \$dldir || mkdir -p \$dldir~
11299 $install_prog $dir/$dlname \$dldir/$dlname'
11300 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11301 dlpath=$dir/\$dldll~
11303 shlibpath_overrides_runpath=yes
11307 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11308 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11309 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
11312 # MinGW DLLs use traditional 'lib' prefix
11313 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11314 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11315 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11316 # It is most probably a Windows format PATH printed by
11317 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11318 # path with ; separators, and with drive letters. We can handle the
11319 # drive letters (cygwin fileutils understands them), so leave them,
11320 # especially as we might pass files found there to a mingw objdump,
11321 # which wouldn't understand a cygwinified path. Ahh.
11322 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11324 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11328 # pw32 DLLs use 'pw' prefix rather than 'lib'
11329 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11335 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11338 dynamic_linker='Win32 ld.exe'
11339 # FIXME: first we should search . and the directory the executable is in
11343 darwin* | rhapsody*)
11344 dynamic_linker="$host_os dyld"
11345 version_type=darwin
11348 # FIXME: Relying on posixy $() will cause problems for
11349 # cross-compilation, but unfortunately the echo tests do not
11350 # yet detect zsh echo's removal of \ escapes.
11351 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11352 soname_spec='${libname}${release}${major}$shared_ext'
11353 shlibpath_overrides_runpath=yes
11354 shlibpath_var=DYLD_LIBRARY_PATH
11355 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11356 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11357 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
11358 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"`
11360 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11367 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11368 soname_spec='${libname}${release}${shared_ext}$major'
11369 shlibpath_var=LD_LIBRARY_PATH
11377 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11378 version_type=freebsd-$objformat
11379 case $version_type in
11381 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11386 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11390 shlibpath_var=LD_LIBRARY_PATH
11393 shlibpath_overrides_runpath=yes
11395 freebsd3.01* | freebsdelf3.01*)
11396 shlibpath_overrides_runpath=yes
11397 hardcode_into_libs=yes
11400 shlibpath_overrides_runpath=no
11401 hardcode_into_libs=yes
11410 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11411 soname_spec='${libname}${release}${shared_ext}$major'
11412 shlibpath_var=LD_LIBRARY_PATH
11413 hardcode_into_libs=yes
11416 hpux9* | hpux10* | hpux11*)
11417 # Give a soname corresponding to the major version so that dld.sl refuses to
11418 # link against other versions.
11422 case "$host_cpu" in
11425 hardcode_into_libs=yes
11426 dynamic_linker="$host_os dld.so"
11427 shlibpath_var=LD_LIBRARY_PATH
11428 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11429 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11430 soname_spec='${libname}${release}${shared_ext}$major'
11431 if test "X$HPUX_IA64_MODE" = X32; then
11432 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11434 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11436 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11440 hardcode_into_libs=yes
11441 dynamic_linker="$host_os dld.sl"
11442 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11443 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11444 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11445 soname_spec='${libname}${release}${shared_ext}$major'
11446 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11447 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11451 dynamic_linker="$host_os dld.sl"
11452 shlibpath_var=SHLIB_PATH
11453 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11455 soname_spec='${libname}${release}${shared_ext}$major'
11458 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11459 postinstall_cmds='chmod 555 $lib'
11462 irix5* | irix6* | nonstopux*)
11464 nonstopux*) version_type=nonstopux ;;
11466 if test "$lt_cv_prog_gnu_ld" = yes; then
11474 soname_spec='${libname}${release}${shared_ext}$major'
11475 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11477 irix5* | nonstopux*)
11478 libsuff= shlibsuff=
11481 case $LD in # libtool.m4 will add one of these switches to LD
11482 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11483 libsuff= shlibsuff= libmagic=32-bit;;
11484 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11485 libsuff=32 shlibsuff=N32 libmagic=N32;;
11486 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11487 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11488 *) libsuff= shlibsuff= libmagic=never-match;;
11492 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11493 shlibpath_overrides_runpath=no
11494 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11495 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11496 hardcode_into_libs=yes
11499 # No shared lib support for Linux oldld, aout, or coff.
11500 linux*oldld* | linux*aout* | linux*coff*)
11504 # This must be Linux ELF.
11509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11510 soname_spec='${libname}${release}${shared_ext}$major'
11511 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11512 shlibpath_var=LD_LIBRARY_PATH
11513 shlibpath_overrides_runpath=no
11514 # This implies no fast_install, which is unacceptable.
11515 # Some rework will be needed to allow for fast_install
11516 # before this can be enabled.
11517 hardcode_into_libs=yes
11519 # We used to test for /lib/ld.so.1 and disable shared libraries on
11520 # powerpc, because MkLinux only supported shared libraries with the
11521 # GNU dynamic linker. Since this was broken with cross compilers,
11522 # most powerpc-linux boxes support dynamic linking these days and
11523 # people can always --disable-shared, the test was removed, and we
11524 # assume the GNU/Linux dynamic linker is in use.
11525 dynamic_linker='GNU/Linux ld.so'
11532 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11533 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11534 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11535 dynamic_linker='NetBSD (a.out) ld.so'
11537 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11538 soname_spec='${libname}${release}${shared_ext}$major'
11539 dynamic_linker='NetBSD ld.elf_so'
11541 shlibpath_var=LD_LIBRARY_PATH
11542 shlibpath_overrides_runpath=yes
11543 hardcode_into_libs=yes
11548 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11549 shlibpath_var=LD_LIBRARY_PATH
11550 shlibpath_overrides_runpath=yes
11557 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11558 soname_spec='${libname}${release}${shared_ext}$major'
11559 shlibpath_var=LD_LIBRARY_PATH
11560 shlibpath_overrides_runpath=yes
11567 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11568 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11569 shlibpath_var=LD_LIBRARY_PATH
11570 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11572 openbsd2.[89] | openbsd2.[89].*)
11573 shlibpath_overrides_runpath=no
11576 shlibpath_overrides_runpath=yes
11580 shlibpath_overrides_runpath=yes
11585 libname_spec='$name'
11588 library_names_spec='$libname${shared_ext} $libname.a'
11589 dynamic_linker='OS/2 ld.exe'
11590 shlibpath_var=LIBPATH
11593 osf3* | osf4* | osf5*)
11597 soname_spec='${libname}${release}${shared_ext}$major'
11598 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11599 shlibpath_var=LD_LIBRARY_PATH
11600 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11601 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11606 soname_spec='${libname}${release}${shared_ext}$major'
11607 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11608 shlibpath_var=LD_LIBRARY_PATH
11615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11616 soname_spec='${libname}${release}${shared_ext}$major'
11617 shlibpath_var=LD_LIBRARY_PATH
11618 shlibpath_overrides_runpath=yes
11619 hardcode_into_libs=yes
11620 # ldd complains unless libraries are executable
11621 postinstall_cmds='chmod +x $lib'
11626 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11627 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11628 shlibpath_var=LD_LIBRARY_PATH
11629 shlibpath_overrides_runpath=yes
11630 if test "$with_gnu_ld" = yes; then
11636 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11638 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11639 soname_spec='${libname}${release}${shared_ext}$major'
11640 shlibpath_var=LD_LIBRARY_PATH
11641 case $host_vendor in
11643 shlibpath_overrides_runpath=no
11645 export_dynamic_flag_spec='${wl}-Blargedynsym'
11646 runpath_var=LD_RUN_PATH
11654 shlibpath_overrides_runpath=no
11655 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11661 if test -d /usr/nec ;then
11663 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11664 soname_spec='$libname${shared_ext}.$major'
11665 shlibpath_var=LD_LIBRARY_PATH
11671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11672 soname_spec='${libname}${release}${shared_ext}$major'
11673 shlibpath_var=LD_LIBRARY_PATH
11680 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11681 echo "${ECHO_T}$dynamic_linker" >&6
11682 test "$dynamic_linker" = no && can_build_shared=no
11684 if test "x$enable_dlopen" != xyes; then
11685 enable_dlopen=unknown
11686 enable_dlopen_self=unknown
11687 enable_dlopen_self_static=unknown
11694 lt_cv_dlopen="load_add_on"
11696 lt_cv_dlopen_self=yes
11700 lt_cv_dlopen="LoadLibrary"
11705 lt_cv_dlopen="dlopen"
11710 # if libdl is installed we need to link against it
11711 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11712 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11713 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11714 echo $ECHO_N "(cached) $ECHO_C" >&6
11716 ac_check_lib_save_LIBS=$LIBS
11718 cat >conftest.$ac_ext <<_ACEOF
11719 #line $LINENO "configure"
11722 cat confdefs.h >>conftest.$ac_ext
11723 cat >>conftest.$ac_ext <<_ACEOF
11724 /* end confdefs.h. */
11726 /* Override any gcc2 internal prototype to avoid an error. */
11730 /* We use char because int might match the return type of a gcc2
11731 builtin and then its argument prototype would still apply. */
11741 rm -f conftest.$ac_objext conftest$ac_exeext
11742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11743 (eval $ac_link) 2>&5
11745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11746 (exit $ac_status); } &&
11747 { ac_try='test -s conftest$ac_exeext'
11748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11749 (eval $ac_try) 2>&5
11751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11752 (exit $ac_status); }; }; then
11753 ac_cv_lib_dl_dlopen=yes
11755 echo "$as_me: failed program was:" >&5
11756 sed 's/^/| /' conftest.$ac_ext >&5
11758 ac_cv_lib_dl_dlopen=no
11760 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11761 LIBS=$ac_check_lib_save_LIBS
11763 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11764 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11765 if test $ac_cv_lib_dl_dlopen = yes; then
11766 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11769 lt_cv_dlopen="dyld"
11771 lt_cv_dlopen_self=yes
11778 echo "$as_me:$LINENO: checking for shl_load" >&5
11779 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11780 if test "${ac_cv_func_shl_load+set}" = set; then
11781 echo $ECHO_N "(cached) $ECHO_C" >&6
11783 cat >conftest.$ac_ext <<_ACEOF
11784 #line $LINENO "configure"
11787 cat confdefs.h >>conftest.$ac_ext
11788 cat >>conftest.$ac_ext <<_ACEOF
11789 /* end confdefs.h. */
11790 /* System header to define __stub macros and hopefully few prototypes,
11791 which can conflict with char shl_load (); below.
11792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11793 <limits.h> exists even on freestanding compilers. */
11795 # include <limits.h>
11797 # include <assert.h>
11799 /* Override any gcc2 internal prototype to avoid an error. */
11804 /* We use char because int might match the return type of a gcc2
11805 builtin and then its argument prototype would still apply. */
11807 /* The GNU C library defines this for functions which it implements
11808 to always fail with ENOSYS. Some functions are actually named
11809 something starting with __ and the normal name is an alias. */
11810 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11813 char (*f) () = shl_load;
11822 return f != shl_load;
11827 rm -f conftest.$ac_objext conftest$ac_exeext
11828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11829 (eval $ac_link) 2>&5
11831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11832 (exit $ac_status); } &&
11833 { ac_try='test -s conftest$ac_exeext'
11834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11835 (eval $ac_try) 2>&5
11837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11838 (exit $ac_status); }; }; then
11839 ac_cv_func_shl_load=yes
11841 echo "$as_me: failed program was:" >&5
11842 sed 's/^/| /' conftest.$ac_ext >&5
11844 ac_cv_func_shl_load=no
11846 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11848 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11849 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11850 if test $ac_cv_func_shl_load = yes; then
11851 lt_cv_dlopen="shl_load"
11853 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11854 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11855 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11856 echo $ECHO_N "(cached) $ECHO_C" >&6
11858 ac_check_lib_save_LIBS=$LIBS
11860 cat >conftest.$ac_ext <<_ACEOF
11861 #line $LINENO "configure"
11864 cat confdefs.h >>conftest.$ac_ext
11865 cat >>conftest.$ac_ext <<_ACEOF
11866 /* end confdefs.h. */
11868 /* Override any gcc2 internal prototype to avoid an error. */
11872 /* We use char because int might match the return type of a gcc2
11873 builtin and then its argument prototype would still apply. */
11883 rm -f conftest.$ac_objext conftest$ac_exeext
11884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11885 (eval $ac_link) 2>&5
11887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11888 (exit $ac_status); } &&
11889 { ac_try='test -s conftest$ac_exeext'
11890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11891 (eval $ac_try) 2>&5
11893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11894 (exit $ac_status); }; }; then
11895 ac_cv_lib_dld_shl_load=yes
11897 echo "$as_me: failed program was:" >&5
11898 sed 's/^/| /' conftest.$ac_ext >&5
11900 ac_cv_lib_dld_shl_load=no
11902 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11903 LIBS=$ac_check_lib_save_LIBS
11905 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11906 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11907 if test $ac_cv_lib_dld_shl_load = yes; then
11908 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11910 echo "$as_me:$LINENO: checking for dlopen" >&5
11911 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11912 if test "${ac_cv_func_dlopen+set}" = set; then
11913 echo $ECHO_N "(cached) $ECHO_C" >&6
11915 cat >conftest.$ac_ext <<_ACEOF
11916 #line $LINENO "configure"
11919 cat confdefs.h >>conftest.$ac_ext
11920 cat >>conftest.$ac_ext <<_ACEOF
11921 /* end confdefs.h. */
11922 /* System header to define __stub macros and hopefully few prototypes,
11923 which can conflict with char dlopen (); below.
11924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11925 <limits.h> exists even on freestanding compilers. */
11927 # include <limits.h>
11929 # include <assert.h>
11931 /* Override any gcc2 internal prototype to avoid an error. */
11936 /* We use char because int might match the return type of a gcc2
11937 builtin and then its argument prototype would still apply. */
11939 /* The GNU C library defines this for functions which it implements
11940 to always fail with ENOSYS. Some functions are actually named
11941 something starting with __ and the normal name is an alias. */
11942 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11945 char (*f) () = dlopen;
11954 return f != dlopen;
11959 rm -f conftest.$ac_objext conftest$ac_exeext
11960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11961 (eval $ac_link) 2>&5
11963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11964 (exit $ac_status); } &&
11965 { ac_try='test -s conftest$ac_exeext'
11966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11967 (eval $ac_try) 2>&5
11969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11970 (exit $ac_status); }; }; then
11971 ac_cv_func_dlopen=yes
11973 echo "$as_me: failed program was:" >&5
11974 sed 's/^/| /' conftest.$ac_ext >&5
11976 ac_cv_func_dlopen=no
11978 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11980 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11981 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11982 if test $ac_cv_func_dlopen = yes; then
11983 lt_cv_dlopen="dlopen"
11985 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11986 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11987 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11988 echo $ECHO_N "(cached) $ECHO_C" >&6
11990 ac_check_lib_save_LIBS=$LIBS
11992 cat >conftest.$ac_ext <<_ACEOF
11993 #line $LINENO "configure"
11996 cat confdefs.h >>conftest.$ac_ext
11997 cat >>conftest.$ac_ext <<_ACEOF
11998 /* end confdefs.h. */
12000 /* Override any gcc2 internal prototype to avoid an error. */
12004 /* We use char because int might match the return type of a gcc2
12005 builtin and then its argument prototype would still apply. */
12015 rm -f conftest.$ac_objext conftest$ac_exeext
12016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12017 (eval $ac_link) 2>&5
12019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12020 (exit $ac_status); } &&
12021 { ac_try='test -s conftest$ac_exeext'
12022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12023 (eval $ac_try) 2>&5
12025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12026 (exit $ac_status); }; }; then
12027 ac_cv_lib_dl_dlopen=yes
12029 echo "$as_me: failed program was:" >&5
12030 sed 's/^/| /' conftest.$ac_ext >&5
12032 ac_cv_lib_dl_dlopen=no
12034 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12035 LIBS=$ac_check_lib_save_LIBS
12037 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12038 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12039 if test $ac_cv_lib_dl_dlopen = yes; then
12040 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12042 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12043 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
12044 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12045 echo $ECHO_N "(cached) $ECHO_C" >&6
12047 ac_check_lib_save_LIBS=$LIBS
12048 LIBS="-lsvld $LIBS"
12049 cat >conftest.$ac_ext <<_ACEOF
12050 #line $LINENO "configure"
12053 cat confdefs.h >>conftest.$ac_ext
12054 cat >>conftest.$ac_ext <<_ACEOF
12055 /* end confdefs.h. */
12057 /* Override any gcc2 internal prototype to avoid an error. */
12061 /* We use char because int might match the return type of a gcc2
12062 builtin and then its argument prototype would still apply. */
12072 rm -f conftest.$ac_objext conftest$ac_exeext
12073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12074 (eval $ac_link) 2>&5
12076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12077 (exit $ac_status); } &&
12078 { ac_try='test -s conftest$ac_exeext'
12079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12080 (eval $ac_try) 2>&5
12082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12083 (exit $ac_status); }; }; then
12084 ac_cv_lib_svld_dlopen=yes
12086 echo "$as_me: failed program was:" >&5
12087 sed 's/^/| /' conftest.$ac_ext >&5
12089 ac_cv_lib_svld_dlopen=no
12091 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12092 LIBS=$ac_check_lib_save_LIBS
12094 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12095 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12096 if test $ac_cv_lib_svld_dlopen = yes; then
12097 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12099 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12100 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12101 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12102 echo $ECHO_N "(cached) $ECHO_C" >&6
12104 ac_check_lib_save_LIBS=$LIBS
12106 cat >conftest.$ac_ext <<_ACEOF
12107 #line $LINENO "configure"
12110 cat confdefs.h >>conftest.$ac_ext
12111 cat >>conftest.$ac_ext <<_ACEOF
12112 /* end confdefs.h. */
12114 /* Override any gcc2 internal prototype to avoid an error. */
12118 /* We use char because int might match the return type of a gcc2
12119 builtin and then its argument prototype would still apply. */
12129 rm -f conftest.$ac_objext conftest$ac_exeext
12130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12131 (eval $ac_link) 2>&5
12133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12134 (exit $ac_status); } &&
12135 { ac_try='test -s conftest$ac_exeext'
12136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12137 (eval $ac_try) 2>&5
12139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12140 (exit $ac_status); }; }; then
12141 ac_cv_lib_dld_dld_link=yes
12143 echo "$as_me: failed program was:" >&5
12144 sed 's/^/| /' conftest.$ac_ext >&5
12146 ac_cv_lib_dld_dld_link=no
12148 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12149 LIBS=$ac_check_lib_save_LIBS
12151 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12152 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12153 if test $ac_cv_lib_dld_dld_link = yes; then
12154 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12175 if test "x$lt_cv_dlopen" != xno; then
12181 case $lt_cv_dlopen in
12183 save_CPPFLAGS="$CPPFLAGS"
12184 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12186 save_LDFLAGS="$LDFLAGS"
12187 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12190 LIBS="$lt_cv_dlopen_libs $LIBS"
12192 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12193 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12194 if test "${lt_cv_dlopen_self+set}" = set; then
12195 echo $ECHO_N "(cached) $ECHO_C" >&6
12197 if test "$cross_compiling" = yes; then :
12198 lt_cv_dlopen_self=cross
12200 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12201 lt_status=$lt_dlunknown
12202 cat > conftest.$ac_ext <<EOF
12203 #line 12203 "configure"
12204 #include "confdefs.h"
12213 # define LT_DLGLOBAL RTLD_GLOBAL
12216 # define LT_DLGLOBAL DL_GLOBAL
12218 # define LT_DLGLOBAL 0
12222 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12223 find out it does not work in some platform. */
12224 #ifndef LT_DLLAZY_OR_NOW
12226 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12229 # define LT_DLLAZY_OR_NOW DL_LAZY
12232 # define LT_DLLAZY_OR_NOW RTLD_NOW
12235 # define LT_DLLAZY_OR_NOW DL_NOW
12237 # define LT_DLLAZY_OR_NOW 0
12245 extern "C" void exit (int);
12248 void fnord() { int i=42;}
12251 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12252 int status = $lt_dlunknown;
12256 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12257 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12258 /* dlclose (self); */
12264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12265 (eval $ac_link) 2>&5
12267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12268 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12269 (./conftest; exit; ) 2>/dev/null
12271 case x$lt_status in
12272 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12273 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12274 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12277 # compilation failed
12278 lt_cv_dlopen_self=no
12285 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12286 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12288 if test "x$lt_cv_dlopen_self" = xyes; then
12289 LDFLAGS="$LDFLAGS $link_static_flag"
12290 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12291 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12292 if test "${lt_cv_dlopen_self_static+set}" = set; then
12293 echo $ECHO_N "(cached) $ECHO_C" >&6
12295 if test "$cross_compiling" = yes; then :
12296 lt_cv_dlopen_self_static=cross
12298 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12299 lt_status=$lt_dlunknown
12300 cat > conftest.$ac_ext <<EOF
12301 #line 12301 "configure"
12302 #include "confdefs.h"
12311 # define LT_DLGLOBAL RTLD_GLOBAL
12314 # define LT_DLGLOBAL DL_GLOBAL
12316 # define LT_DLGLOBAL 0
12320 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12321 find out it does not work in some platform. */
12322 #ifndef LT_DLLAZY_OR_NOW
12324 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12327 # define LT_DLLAZY_OR_NOW DL_LAZY
12330 # define LT_DLLAZY_OR_NOW RTLD_NOW
12333 # define LT_DLLAZY_OR_NOW DL_NOW
12335 # define LT_DLLAZY_OR_NOW 0
12343 extern "C" void exit (int);
12346 void fnord() { int i=42;}
12349 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12350 int status = $lt_dlunknown;
12354 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12355 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12356 /* dlclose (self); */
12362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12363 (eval $ac_link) 2>&5
12365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12366 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12367 (./conftest; exit; ) 2>/dev/null
12369 case x$lt_status in
12370 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12371 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12372 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12375 # compilation failed
12376 lt_cv_dlopen_self_static=no
12383 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12384 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12387 CPPFLAGS="$save_CPPFLAGS"
12388 LDFLAGS="$save_LDFLAGS"
12393 case $lt_cv_dlopen_self in
12394 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12395 *) enable_dlopen_self=unknown ;;
12398 case $lt_cv_dlopen_self_static in
12399 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12400 *) enable_dlopen_self_static=unknown ;;
12405 # The else clause should only fire when bootstrapping the
12406 # libtool distribution, otherwise you forgot to ship ltmain.sh
12407 # with your package, and you will get complaints that there are
12408 # no rules to generate ltmain.sh.
12409 if test -f "$ltmain"; then
12410 # See if we are running on zsh, and set the options which allow our commands through
12411 # without removal of \ escapes.
12412 if test -n "${ZSH_VERSION+set}" ; then
12413 setopt NO_GLOB_SUBST
12415 # Now quote all the things that may contain metacharacters while being
12416 # careful not to overquote the AC_SUBSTed values. We take copies of the
12417 # variables and quote the copies for generation of the libtool script.
12418 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12419 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12420 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12421 deplibs_check_method reload_flag reload_cmds need_locks \
12422 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12423 lt_cv_sys_global_symbol_to_c_name_address \
12424 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12425 old_postinstall_cmds old_postuninstall_cmds \
12429 lt_prog_compiler_wl_CXX \
12430 lt_prog_compiler_pic_CXX \
12431 lt_prog_compiler_static_CXX \
12432 lt_prog_compiler_no_builtin_flag_CXX \
12433 export_dynamic_flag_spec_CXX \
12434 thread_safe_flag_spec_CXX \
12435 whole_archive_flag_spec_CXX \
12436 enable_shared_with_static_runtimes_CXX \
12437 old_archive_cmds_CXX \
12438 old_archive_from_new_cmds_CXX \
12439 predep_objects_CXX \
12440 postdep_objects_CXX \
12443 compiler_lib_search_path_CXX \
12445 archive_expsym_cmds_CXX \
12446 postinstall_cmds_CXX \
12447 postuninstall_cmds_CXX \
12448 old_archive_from_expsyms_cmds_CXX \
12449 allow_undefined_flag_CXX \
12450 no_undefined_flag_CXX \
12451 export_symbols_cmds_CXX \
12452 hardcode_libdir_flag_spec_CXX \
12453 hardcode_libdir_flag_spec_ld_CXX \
12454 hardcode_libdir_separator_CXX \
12455 hardcode_automatic_CXX \
12457 module_expsym_cmds_CXX \
12458 lt_cv_prog_compiler_c_o_CXX \
12459 exclude_expsyms_CXX \
12460 include_expsyms_CXX; do
12463 old_archive_cmds_CXX | \
12464 old_archive_from_new_cmds_CXX | \
12465 archive_cmds_CXX | \
12466 archive_expsym_cmds_CXX | \
12467 module_cmds_CXX | \
12468 module_expsym_cmds_CXX | \
12469 old_archive_from_expsyms_cmds_CXX | \
12470 export_symbols_cmds_CXX | \
12471 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12472 postinstall_cmds | postuninstall_cmds | \
12473 old_postinstall_cmds | old_postuninstall_cmds | \
12474 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12475 # Double-quote double-evaled strings.
12476 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12479 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12485 *'\$0 --fallback-echo"')
12486 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12492 cat <<__EOF__ >> "$cfgfile"
12493 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12495 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12497 # Shell to use when invoking shell scripts.
12500 # Whether or not to build shared libraries.
12501 build_libtool_libs=$enable_shared
12503 # Whether or not to build static libraries.
12504 build_old_libs=$enable_static
12506 # Whether or not to add -lc for building shared libraries.
12507 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12509 # Whether or not to disallow shared libs when runtime libs are static
12510 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12512 # Whether or not to optimize for fast installation.
12513 fast_install=$enable_fast_install
12516 host_alias=$host_alias
12519 # An echo program that does not interpret backslashes.
12524 AR_FLAGS=$lt_AR_FLAGS
12529 # A language-specific compiler.
12530 CC=$lt_compiler_CXX
12532 # Is the compiler the GNU C compiler?
12538 # The linker used to build libraries.
12541 # Whether we need hard or soft links.
12544 # A BSD-compatible nm program.
12547 # A symbol stripping program
12550 # Used to examine libraries when file_magic_cmd begins "file"
12551 MAGIC_CMD=$MAGIC_CMD
12553 # Used on cygwin: DLL creation program.
12556 # Used on cygwin: object dumper.
12559 # Used on cygwin: assembler.
12562 # The name of the directory that contains temporary libtool files.
12565 # How to create reloadable object files.
12566 reload_flag=$lt_reload_flag
12567 reload_cmds=$lt_reload_cmds
12569 # How to pass a linker flag through the compiler.
12570 wl=$lt_lt_prog_compiler_wl_CXX
12572 # Object file suffix (normally "o").
12573 objext="$ac_objext"
12575 # Old archive suffix (normally "a").
12578 # Shared library suffix (normally ".so").
12581 # Executable file suffix (normally "").
12584 # Additional compiler flags for building library objects.
12585 pic_flag=$lt_lt_prog_compiler_pic_CXX
12588 # What is the maximum length of a command?
12589 max_cmd_len=$lt_cv_sys_max_cmd_len
12591 # Does compiler simultaneously support -c and -o options?
12592 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12594 # Must we lock files when doing compilation ?
12595 need_locks=$lt_need_locks
12597 # Do we need the lib prefix for modules?
12598 need_lib_prefix=$need_lib_prefix
12600 # Do we need a version for libraries?
12601 need_version=$need_version
12603 # Whether dlopen is supported.
12604 dlopen_support=$enable_dlopen
12606 # Whether dlopen of programs is supported.
12607 dlopen_self=$enable_dlopen_self
12609 # Whether dlopen of statically linked programs is supported.
12610 dlopen_self_static=$enable_dlopen_self_static
12612 # Compiler flag to prevent dynamic linking.
12613 link_static_flag=$lt_lt_prog_compiler_static_CXX
12615 # Compiler flag to turn off builtin functions.
12616 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12618 # Compiler flag to allow reflexive dlopens.
12619 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12621 # Compiler flag to generate shared objects directly from archives.
12622 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12624 # Compiler flag to generate thread-safe objects.
12625 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12627 # Library versioning type.
12628 version_type=$version_type
12630 # Format of library name prefix.
12631 libname_spec=$lt_libname_spec
12633 # List of archive names. First name is the real one, the rest are links.
12634 # The last name is the one that the linker finds with -lNAME.
12635 library_names_spec=$lt_library_names_spec
12637 # The coded name of the library, if different from the real name.
12638 soname_spec=$lt_soname_spec
12640 # Commands used to build and install an old-style archive.
12642 old_archive_cmds=$lt_old_archive_cmds_CXX
12643 old_postinstall_cmds=$lt_old_postinstall_cmds
12644 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12646 # Create an old-style archive from a shared archive.
12647 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12649 # Create a temporary old-style archive to link instead of a shared archive.
12650 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12652 # Commands used to build and install a shared archive.
12653 archive_cmds=$lt_archive_cmds_CXX
12654 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12655 postinstall_cmds=$lt_postinstall_cmds
12656 postuninstall_cmds=$lt_postuninstall_cmds
12658 # Commands used to build a loadable module (assumed same as above if empty)
12659 module_cmds=$lt_module_cmds_CXX
12660 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12662 # Commands to strip libraries.
12663 old_striplib=$lt_old_striplib
12664 striplib=$lt_striplib
12666 # Dependencies to place before the objects being linked to create a
12668 predep_objects=$lt_predep_objects_CXX
12670 # Dependencies to place after the objects being linked to create a
12672 postdep_objects=$lt_postdep_objects_CXX
12674 # Dependencies to place before the objects being linked to create a
12676 predeps=$lt_predeps_CXX
12678 # Dependencies to place after the objects being linked to create a
12680 postdeps=$lt_postdeps_CXX
12682 # The library search path used internally by the compiler when linking
12683 # a shared library.
12684 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12686 # Method to check whether dependent libraries are shared objects.
12687 deplibs_check_method=$lt_deplibs_check_method
12689 # Command to use when deplibs_check_method == file_magic.
12690 file_magic_cmd=$lt_file_magic_cmd
12692 # Flag that allows shared libraries with undefined symbols to be built.
12693 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12695 # Flag that forces no undefined symbols.
12696 no_undefined_flag=$lt_no_undefined_flag_CXX
12698 # Commands used to finish a libtool library installation in a directory.
12699 finish_cmds=$lt_finish_cmds
12701 # Same as above, but a single script fragment to be evaled but not shown.
12702 finish_eval=$lt_finish_eval
12704 # Take the output of nm and produce a listing of raw symbols and C names.
12705 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12707 # Transform the output of nm in a proper C declaration
12708 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12710 # Transform the output of nm in a C name address pair
12711 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12713 # This is the shared library runtime path variable.
12714 runpath_var=$runpath_var
12716 # This is the shared library path variable.
12717 shlibpath_var=$shlibpath_var
12719 # Is shlibpath searched before the hard-coded library search path?
12720 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12722 # How to hardcode a shared library path into an executable.
12723 hardcode_action=$hardcode_action_CXX
12725 # Whether we should hardcode library paths into libraries.
12726 hardcode_into_libs=$hardcode_into_libs
12728 # Flag to hardcode \$libdir into a binary during linking.
12729 # This must work even if \$libdir does not exist.
12730 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12732 # If ld is used when linking, flag to hardcode \$libdir into
12733 # a binary during linking. This must work even if \$libdir does
12735 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12737 # Whether we need a single -rpath flag with a separated argument.
12738 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12740 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12741 # resulting binary.
12742 hardcode_direct=$hardcode_direct_CXX
12744 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12745 # resulting binary.
12746 hardcode_minus_L=$hardcode_minus_L_CXX
12748 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12749 # the resulting binary.
12750 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12752 # Set to yes if building a shared library automatically hardcodes DIR into the library
12753 # and all subsequent libraries and executables linked against it.
12754 hardcode_automatic=$hardcode_automatic_CXX
12756 # Variables whose values should be saved in libtool wrapper scripts and
12757 # restored at relink time.
12758 variables_saved_for_relink="$variables_saved_for_relink"
12760 # Whether libtool must link a program against all its dependency libraries.
12761 link_all_deplibs=$link_all_deplibs_CXX
12763 # Compile-time system search path for libraries
12764 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12766 # Run-time system search path for libraries
12767 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12769 # Fix the shell variable \$srcfile for the compiler.
12770 fix_srcfile_path="$fix_srcfile_path_CXX"
12772 # Set to yes if exported symbols are required.
12773 always_export_symbols=$always_export_symbols_CXX
12775 # The commands to list exported symbols.
12776 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12778 # The commands to extract the exported symbol list from a shared archive.
12779 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12781 # Symbols that should not be listed in the preloaded symbols.
12782 exclude_expsyms=$lt_exclude_expsyms_CXX
12784 # Symbols that must always be exported.
12785 include_expsyms=$lt_include_expsyms_CXX
12787 # ### END LIBTOOL TAG CONFIG: $tagname
12793 # If there is no Makefile yet, we rely on a make rule to execute
12794 # `config.status --recheck' to rerun these tests and create the
12795 # libtool script then.
12796 test -f Makefile && make "$ltmain"
12801 ac_cpp='$CPP $CPPFLAGS'
12802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12810 with_gnu_ldcxx=$with_gnu_ld
12811 with_gnu_ld=$lt_save_with_gnu_ld
12812 lt_cv_path_LDCXX=$lt_cv_path_LD
12813 lt_cv_path_LD=$lt_save_path_LD
12814 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12815 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12823 if test -n "$F77" && test "X$F77" != "Xno"; then
12826 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12827 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12828 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12831 archive_cmds_need_lc_F77=no
12832 allow_undefined_flag_F77=
12833 always_export_symbols_F77=no
12834 archive_expsym_cmds_F77=
12835 export_dynamic_flag_spec_F77=
12836 hardcode_direct_F77=no
12837 hardcode_libdir_flag_spec_F77=
12838 hardcode_libdir_flag_spec_ld_F77=
12839 hardcode_libdir_separator_F77=
12840 hardcode_minus_L_F77=no
12841 hardcode_automatic_F77=no
12843 module_expsym_cmds_F77=
12844 link_all_deplibs_F77=unknown
12845 old_archive_cmds_F77=$old_archive_cmds
12846 no_undefined_flag_F77=
12847 whole_archive_flag_spec_F77=
12848 enable_shared_with_static_runtimes_F77=no
12850 # Source file extension for f77 test sources.
12853 # Object file extension for compiled f77 test sources.
12857 # Code to be used in simple compile tests
12858 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12860 # Code to be used in simple link tests
12861 lt_simple_link_test_code=" program t\n end\n"
12863 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12865 # If no C compiler was specified, use CC.
12868 # Allow CC to be a program name with arguments.
12872 # Allow CC to be a program name with arguments.
12877 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12879 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12880 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12881 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12882 echo "${ECHO_T}$can_build_shared" >&6
12884 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12885 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12886 test "$can_build_shared" = "no" && enable_shared=no
12888 # On AIX, shared libraries and static libraries use the same namespace, and
12889 # are all built from PIC.
12892 test "$enable_shared" = yes && enable_static=no
12893 if test -n "$RANLIB"; then
12894 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12895 postinstall_cmds='$RANLIB $lib'
12899 test "$enable_shared" = yes && enable_static=no
12902 echo "$as_me:$LINENO: result: $enable_shared" >&5
12903 echo "${ECHO_T}$enable_shared" >&6
12905 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12906 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12907 # Make sure either enable_shared or enable_static is yes.
12908 test "$enable_shared" = yes || enable_static=yes
12909 echo "$as_me:$LINENO: result: $enable_static" >&5
12910 echo "${ECHO_T}$enable_static" >&6
12912 test "$ld_shlibs_F77" = no && can_build_shared=no
12917 lt_prog_compiler_wl_F77=
12918 lt_prog_compiler_pic_F77=
12919 lt_prog_compiler_static_F77=
12921 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12922 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12924 if test "$GCC" = yes; then
12925 lt_prog_compiler_wl_F77='-Wl,'
12926 lt_prog_compiler_static_F77='-static'
12930 # All AIX code is PIC.
12931 if test "$host_cpu" = ia64; then
12932 # AIX 5 now supports IA64 processor
12933 lt_prog_compiler_static_F77='-Bstatic'
12938 # FIXME: we need at least 68020 code to build shared libraries, but
12939 # adding the `-m68020' flag to GCC prevents building anything better,
12941 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12944 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12945 # PIC is the default for these OSes.
12948 mingw* | pw32* | os2*)
12949 # This hack is so that the source file can tell whether it is being
12950 # built for inclusion in a dll (and should export symbols for example).
12951 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12954 darwin* | rhapsody*)
12955 # PIC is the default on this platform
12956 # Common symbols not allowed in MH_DYLIB files
12957 lt_prog_compiler_pic_F77='-fno-common'
12961 # Just because we use GCC doesn't mean we suddenly get shared libraries
12962 # on systems that don't support them.
12963 lt_prog_compiler_can_build_shared_F77=no
12968 if test -d /usr/nec; then
12969 lt_prog_compiler_pic_F77=-Kconform_pic
12974 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12975 # not for PA HP-UX.
12976 case "$host_cpu" in
12981 lt_prog_compiler_pic_F77='-fPIC'
12987 lt_prog_compiler_pic_F77='-fPIC'
12991 # PORTME Check for flag to pass linker flags through the system compiler.
12994 lt_prog_compiler_wl_F77='-Wl,'
12995 if test "$host_cpu" = ia64; then
12996 # AIX 5 now supports IA64 processor
12997 lt_prog_compiler_static_F77='-Bstatic'
12999 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
13003 mingw* | pw32* | os2*)
13004 # This hack is so that the source file can tell whether it is being
13005 # built for inclusion in a dll (and should export symbols for example).
13006 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
13009 hpux9* | hpux10* | hpux11*)
13010 lt_prog_compiler_wl_F77='-Wl,'
13011 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13012 # not for PA HP-UX.
13013 case "$host_cpu" in
13018 lt_prog_compiler_pic_F77='+Z'
13021 # Is there a better lt_prog_compiler_static that works with the bundled CC?
13022 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
13025 irix5* | irix6* | nonstopux*)
13026 lt_prog_compiler_wl_F77='-Wl,'
13027 # PIC (with -KPIC) is the default.
13028 lt_prog_compiler_static_F77='-non_shared'
13032 lt_prog_compiler_pic_F77='-KPIC'
13033 lt_prog_compiler_static_F77='-Bstatic'
13039 lt_prog_compiler_wl_F77='-Wl,'
13040 lt_prog_compiler_pic_F77='-KPIC'
13041 lt_prog_compiler_static_F77='-static'
13044 lt_prog_compiler_wl_F77='-Wl,'
13045 # All Alpha code is PIC.
13046 lt_prog_compiler_static_F77='-non_shared'
13051 osf3* | osf4* | osf5*)
13052 lt_prog_compiler_wl_F77='-Wl,'
13053 # All OSF/1 code is PIC.
13054 lt_prog_compiler_static_F77='-non_shared'
13058 lt_prog_compiler_pic_F77='-Kpic'
13059 lt_prog_compiler_static_F77='-dn'
13063 lt_prog_compiler_wl_F77='-Wl,'
13064 lt_prog_compiler_pic_F77='-KPIC'
13065 lt_prog_compiler_static_F77='-Bstatic'
13069 lt_prog_compiler_wl_F77='-Qoption ld '
13070 lt_prog_compiler_pic_F77='-PIC'
13071 lt_prog_compiler_static_F77='-Bstatic'
13074 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13075 lt_prog_compiler_wl_F77='-Wl,'
13076 lt_prog_compiler_pic_F77='-KPIC'
13077 lt_prog_compiler_static_F77='-Bstatic'
13081 if test -d /usr/nec ;then
13082 lt_prog_compiler_pic_F77='-Kconform_pic'
13083 lt_prog_compiler_static_F77='-Bstatic'
13088 lt_prog_compiler_pic_F77='-pic'
13089 lt_prog_compiler_static_F77='-Bstatic'
13093 lt_prog_compiler_can_build_shared_F77=no
13098 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13099 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13102 # Check to make sure the PIC flag actually works.
13104 if test -n "$lt_prog_compiler_pic_F77"; then
13105 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13106 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13107 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13108 echo $ECHO_N "(cached) $ECHO_C" >&6
13110 lt_prog_compiler_pic_works_F77=no
13111 ac_outfile=conftest.$ac_objext
13112 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13113 lt_compiler_flag="$lt_prog_compiler_pic_F77"
13114 # Insert the option either (1) after the last *FLAGS variable, or
13115 # (2) before a word containing "conftest.", or (3) at the end.
13116 # Note that $ac_compile itself does not contain backslashes and begins
13117 # with a dollar sign (not a hyphen), so the echo should work correctly.
13118 # The option is referenced via a variable to avoid confusing sed.
13119 lt_compile=`echo "$ac_compile" | $SED \
13120 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13121 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13122 -e 's:$: $lt_compiler_flag:'`
13123 (eval echo "\"\$as_me:13123: $lt_compile\"" >&5)
13124 (eval "$lt_compile" 2>conftest.err)
13126 cat conftest.err >&5
13127 echo "$as_me:13127: \$? = $ac_status" >&5
13128 if (exit $ac_status) && test -s "$ac_outfile"; then
13129 # The compiler can only warn and ignore the option if not recognized
13130 # So say no if there are warnings
13131 if test ! -s conftest.err; then
13132 lt_prog_compiler_pic_works_F77=yes
13138 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13139 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13141 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13142 case $lt_prog_compiler_pic_F77 in
13144 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13147 lt_prog_compiler_pic_F77=
13148 lt_prog_compiler_can_build_shared_F77=no
13153 # For platforms which do not support PIC, -DPIC is meaningless:
13155 lt_prog_compiler_pic_F77=
13158 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13162 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13163 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13164 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13165 echo $ECHO_N "(cached) $ECHO_C" >&6
13167 lt_cv_prog_compiler_c_o_F77=no
13168 $rm -r conftest 2>/dev/null
13172 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13174 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13175 # that will create temporary files in the current directory regardless of
13176 # the output directory. Thus, making CWD read-only will cause this test
13177 # to fail, enabling locking or at least warning the user not to do parallel
13181 lt_compiler_flag="-o out/conftest2.$ac_objext"
13182 # Insert the option either (1) after the last *FLAGS variable, or
13183 # (2) before a word containing "conftest.", or (3) at the end.
13184 # Note that $ac_compile itself does not contain backslashes and begins
13185 # with a dollar sign (not a hyphen), so the echo should work correctly.
13186 lt_compile=`echo "$ac_compile" | $SED \
13187 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13188 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13189 -e 's:$: $lt_compiler_flag:'`
13190 (eval echo "\"\$as_me:13190: $lt_compile\"" >&5)
13191 (eval "$lt_compile" 2>out/conftest.err)
13193 cat out/conftest.err >&5
13194 echo "$as_me:13194: \$? = $ac_status" >&5
13195 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13197 # The compiler can only warn and ignore the option if not recognized
13198 # So say no if there are warnings
13199 if test ! -s out/conftest.err; then
13200 lt_cv_prog_compiler_c_o_F77=yes
13204 $rm conftest* out/*
13211 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13212 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13215 hard_links="nottested"
13216 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13217 # do not overwrite the value of need_locks provided by the user
13218 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13219 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13222 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13224 ln conftest.a conftest.b 2>&5 || hard_links=no
13225 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13226 echo "$as_me:$LINENO: result: $hard_links" >&5
13227 echo "${ECHO_T}$hard_links" >&6
13228 if test "$hard_links" = no; then
13229 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13230 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13237 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13238 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13241 allow_undefined_flag_F77=
13242 enable_shared_with_static_runtimes_F77=no
13244 archive_expsym_cmds_F77=
13245 old_archive_From_new_cmds_F77=
13246 old_archive_from_expsyms_cmds_F77=
13247 export_dynamic_flag_spec_F77=
13248 whole_archive_flag_spec_F77=
13249 thread_safe_flag_spec_F77=
13250 hardcode_libdir_flag_spec_F77=
13251 hardcode_libdir_flag_spec_ld_F77=
13252 hardcode_libdir_separator_F77=
13253 hardcode_direct_F77=no
13254 hardcode_minus_L_F77=no
13255 hardcode_shlibpath_var_F77=unsupported
13256 link_all_deplibs_F77=unknown
13257 hardcode_automatic_F77=no
13259 module_expsym_cmds_F77=
13260 always_export_symbols_F77=no
13261 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13262 # include_expsyms should be a list of space-separated symbols to be *always*
13263 # included in the symbol list
13264 include_expsyms_F77=
13265 # exclude_expsyms can be an extended regexp of symbols to exclude
13266 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13267 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13268 # as well as any symbol that contains `d'.
13269 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13270 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13271 # platforms (ab)use it in PIC code, but their linkers get confused if
13272 # the symbol is explicitly referenced. Since portable code cannot
13273 # rely on this symbol name, it's probably fine to never include it in
13274 # preloaded symbol tables.
13275 extract_expsyms_cmds=
13278 cygwin* | mingw* | pw32*)
13279 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13280 # When not using gcc, we currently assume that we are using
13281 # Microsoft Visual C++.
13282 if test "$GCC" != yes; then
13292 if test "$with_gnu_ld" = yes; then
13293 # If archive_cmds runs LD, not CC, wlarc should be empty
13296 # See if GNU ld supports shared libraries.
13298 aix3* | aix4* | aix5*)
13299 # On AIX/PPC, the GNU linker is very broken
13300 if test "$host_cpu" != ia64; then
13304 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13305 *** to be unable to reliably create shared libraries on AIX.
13306 *** Therefore, libtool is disabling shared libraries support. If you
13307 *** really care for shared libraries, you may want to modify your PATH
13308 *** so that a non-GNU linker is found, and then restart.
13315 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)'
13316 hardcode_libdir_flag_spec_F77='-L$libdir'
13317 hardcode_minus_L_F77=yes
13319 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13320 # that the semantics of dynamic libraries on AmigaOS, at least up
13321 # to version 4, is to share data among multiple programs linked
13322 # with the same dynamic library. Since this doesn't match the
13323 # behavior of shared libraries on other platforms, we can't use
13329 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13330 allow_undefined_flag_F77=unsupported
13331 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13332 # support --undefined. This deserves some investigation. FIXME
13333 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13339 cygwin* | mingw* | pw32*)
13340 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13341 # as there is no search path for DLLs.
13342 hardcode_libdir_flag_spec_F77='-L$libdir'
13343 allow_undefined_flag_F77=unsupported
13344 always_export_symbols_F77=no
13345 enable_shared_with_static_runtimes_F77=yes
13346 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13348 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13349 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13350 # If the export-symbols file already is a .def file (1st line
13351 # is EXPORTS), use it as is; otherwise, prepend...
13352 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13353 cp $export_symbols $output_objdir/$soname.def;
13355 echo EXPORTS > $output_objdir/$soname.def;
13356 cat $export_symbols >> $output_objdir/$soname.def;
13358 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13365 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13366 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13369 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13370 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13375 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13379 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13380 *** create shared libraries on Solaris systems. Therefore, libtool
13381 *** is disabling shared libraries support. We urge you to upgrade GNU
13382 *** binutils to release 2.9.1 or newer. Another option is to modify
13383 *** your PATH or compiler configuration so that the native linker is
13384 *** used, and then restart.
13387 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13388 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13389 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13396 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13398 hardcode_direct_F77=yes
13399 hardcode_shlibpath_var_F77=no
13403 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13404 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13405 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13412 if test "$ld_shlibs_F77" = yes; then
13413 runpath_var=LD_RUN_PATH
13414 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13415 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13416 # ancient GNU ld didn't support --whole-archive et. al.
13417 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13418 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13420 whole_archive_flag_spec_F77=
13424 # PORTME fill in a description of your system's linker (not GNU ld)
13427 allow_undefined_flag_F77=unsupported
13428 always_export_symbols_F77=yes
13429 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'
13430 # Note: this linker hardcodes the directories in LIBPATH if there
13431 # are no directories specified by -L.
13432 hardcode_minus_L_F77=yes
13433 if test "$GCC" = yes && test -z "$link_static_flag"; then
13434 # Neither direct hardcoding nor static linking is supported with a
13436 hardcode_direct_F77=unsupported
13441 if test "$host_cpu" = ia64; then
13442 # On IA64, the linker does run time linking by default, so we don't
13443 # have to do anything special.
13444 aix_use_runtimelinking=no
13445 exp_sym_flag='-Bexport'
13448 # If we're using GNU nm, then we don't want the "-C" option.
13449 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13450 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13451 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'
13453 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'
13455 aix_use_runtimelinking=no
13457 # Test if we are trying to use run time linking or normal
13458 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13459 # need to do runtime linking.
13460 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13461 for ld_flag in $LDFLAGS; do
13462 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13463 aix_use_runtimelinking=yes
13469 exp_sym_flag='-bexport'
13470 no_entry_flag='-bnoentry'
13473 # When large executables or shared objects are built, AIX ld can
13474 # have problems creating the table of contents. If linking a library
13475 # or program results in "error TOC overflow" add -mminimal-toc to
13476 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13477 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13479 archive_cmds_F77=''
13480 hardcode_direct_F77=yes
13481 hardcode_libdir_separator_F77=':'
13482 link_all_deplibs_F77=yes
13484 if test "$GCC" = yes; then
13485 case $host_os in aix4.012|aix4.012.*)
13486 # We only want to do this on AIX 4.2 and lower, the check
13487 # below for broken collect2 doesn't work under 4.3+
13488 collect2name=`${CC} -print-prog-name=collect2`
13489 if test -f "$collect2name" && \
13490 strings "$collect2name" | grep resolve_lib_name >/dev/null
13492 # We have reworked collect2
13493 hardcode_direct_F77=yes
13495 # We have old collect2
13496 hardcode_direct_F77=unsupported
13497 # It fails to find uninstalled libraries when the uninstalled
13498 # path is not listed in the libpath. Setting hardcode_minus_L
13499 # to unsupported forces relinking
13500 hardcode_minus_L_F77=yes
13501 hardcode_libdir_flag_spec_F77='-L$libdir'
13502 hardcode_libdir_separator_F77=
13505 shared_flag='-shared'
13508 if test "$host_cpu" = ia64; then
13509 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13510 # chokes on -Wl,-G. The following line is correct:
13513 if test "$aix_use_runtimelinking" = yes; then
13514 shared_flag='${wl}-G'
13516 shared_flag='${wl}-bM:SRE'
13521 # It seems that -bexpall does not export symbols beginning with
13522 # underscore (_), so it is better to generate a list of symbols to export.
13523 always_export_symbols_F77=yes
13524 if test "$aix_use_runtimelinking" = yes; then
13525 # Warning - without using the other runtime loading flags (-brtl),
13526 # -berok will link without error, but may produce a broken library.
13527 allow_undefined_flag_F77='-berok'
13528 # Determine the default libpath from the value encoded in an empty executable.
13529 cat >conftest.$ac_ext <<_ACEOF
13534 rm -f conftest.$ac_objext conftest$ac_exeext
13535 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13536 (eval $ac_link) 2>&5
13538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13539 (exit $ac_status); } &&
13540 { ac_try='test -s conftest$ac_exeext'
13541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13542 (eval $ac_try) 2>&5
13544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13545 (exit $ac_status); }; }; then
13547 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13549 # Check for a 64-bit object if we didn't find anything.
13550 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; }
13553 echo "$as_me: failed program was:" >&5
13554 sed 's/^/| /' conftest.$ac_ext >&5
13557 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13558 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13560 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13561 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"
13563 if test "$host_cpu" = ia64; then
13564 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13565 allow_undefined_flag_F77="-z nodefs"
13566 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"
13568 # Determine the default libpath from the value encoded in an empty executable.
13569 cat >conftest.$ac_ext <<_ACEOF
13574 rm -f conftest.$ac_objext conftest$ac_exeext
13575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13576 (eval $ac_link) 2>&5
13578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13579 (exit $ac_status); } &&
13580 { ac_try='test -s conftest$ac_exeext'
13581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13582 (eval $ac_try) 2>&5
13584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13585 (exit $ac_status); }; }; then
13587 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13589 # Check for a 64-bit object if we didn't find anything.
13590 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; }
13593 echo "$as_me: failed program was:" >&5
13594 sed 's/^/| /' conftest.$ac_ext >&5
13597 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13598 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13600 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13601 # Warning - without using the other run time loading flags,
13602 # -berok will link without error, but may produce a broken library.
13603 no_undefined_flag_F77=' ${wl}-bernotok'
13604 allow_undefined_flag_F77=' ${wl}-berok'
13605 # -bexpall does not export symbols beginning with underscore (_)
13606 always_export_symbols_F77=yes
13607 # Exported symbols can be pulled into shared objects from archives
13608 whole_archive_flag_spec_F77=' '
13609 archive_cmds_need_lc_F77=yes
13610 # This is similar to how AIX traditionally builds it's shared libraries.
13611 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'
13617 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)'
13618 hardcode_libdir_flag_spec_F77='-L$libdir'
13619 hardcode_minus_L_F77=yes
13620 # see comment about different semantics on the GNU ld section
13625 export_dynamic_flag_spec_F77=-rdynamic
13628 cygwin* | mingw* | pw32*)
13629 # When not using gcc, we currently assume that we are using
13630 # Microsoft Visual C++.
13631 # hardcode_libdir_flag_spec is actually meaningless, as there is
13632 # no search path for DLLs.
13633 hardcode_libdir_flag_spec_F77=' '
13634 allow_undefined_flag_F77=unsupported
13635 # Tell ltmain to make .lib files, not .a files.
13637 # Tell ltmain to make .dll files, not .so files.
13639 # FIXME: Setting linknames here is a bad hack.
13640 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13641 # The linker will automatically build a .lib file if we build a DLL.
13642 old_archive_From_new_cmds_F77='true'
13643 # FIXME: Should let the user specify the lib program.
13644 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13645 fix_srcfile_path='`cygpath -w "$srcfile"`'
13646 enable_shared_with_static_runtimes_F77=yes
13649 darwin* | rhapsody*)
13650 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
13651 archive_cmds_need_lc_F77=no
13653 rhapsody* | darwin1.[012])
13654 allow_undefined_flag_F77='-undefined suppress'
13657 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13660 # FIXME: Relying on posixy $() will cause problems for
13661 # cross-compilation, but unfortunately the echo tests do not
13662 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13663 # `"' quotes if we put them in here... so don't!
13664 lt_int_apple_cc_single_mod=no
13665 output_verbose_link_cmd='echo'
13666 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13667 lt_int_apple_cc_single_mod=yes
13669 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13670 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13672 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'
13674 module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
13675 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13676 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13677 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}'
13679 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}'
13681 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}'
13682 hardcode_direct_F77=no
13683 hardcode_automatic_F77=yes
13684 hardcode_shlibpath_var_F77=unsupported
13685 whole_archive_flag_spec_F77='-all_load $convenience'
13686 link_all_deplibs_F77=yes
13691 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13692 hardcode_libdir_flag_spec_F77='-L$libdir'
13693 hardcode_shlibpath_var_F77=no
13700 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13701 # support. Future versions do this automatically, but an explicit c++rt0.o
13702 # does not break anything, and helps significantly (at the cost of a little
13705 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13706 hardcode_libdir_flag_spec_F77='-R$libdir'
13707 hardcode_direct_F77=yes
13708 hardcode_shlibpath_var_F77=no
13711 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13713 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13714 hardcode_direct_F77=yes
13715 hardcode_minus_L_F77=yes
13716 hardcode_shlibpath_var_F77=no
13719 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13721 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13722 hardcode_libdir_flag_spec_F77='-R$libdir'
13723 hardcode_direct_F77=yes
13724 hardcode_shlibpath_var_F77=no
13728 if test "$GCC" = yes; then
13729 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'
13731 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'
13733 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13734 hardcode_libdir_separator_F77=:
13735 hardcode_direct_F77=yes
13737 # hardcode_minus_L: Not really in the search PATH,
13738 # but as the default location of the library.
13739 hardcode_minus_L_F77=yes
13740 export_dynamic_flag_spec_F77='${wl}-E'
13744 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13745 case "$host_cpu" in
13747 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13750 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13754 case "$host_cpu" in
13756 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13759 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13763 if test "$with_gnu_ld" = no; then
13764 case "$host_cpu" in
13766 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13767 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13768 hardcode_libdir_separator_F77=:
13769 hardcode_direct_F77=no
13770 hardcode_shlibpath_var_F77=no
13773 hardcode_libdir_flag_spec_F77='-L$libdir'
13774 hardcode_direct_F77=no
13775 hardcode_shlibpath_var_F77=no
13777 # hardcode_minus_L: Not really in the search PATH,
13778 # but as the default location of the library.
13779 hardcode_minus_L_F77=yes
13782 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13783 hardcode_libdir_separator_F77=:
13784 hardcode_direct_F77=yes
13785 export_dynamic_flag_spec_F77='${wl}-E'
13787 # hardcode_minus_L: Not really in the search PATH,
13788 # but as the default location of the library.
13789 hardcode_minus_L_F77=yes
13795 irix5* | irix6* | nonstopux*)
13796 if test "$GCC" = yes; then
13797 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'
13799 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'
13800 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13802 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13803 hardcode_libdir_separator_F77=:
13804 link_all_deplibs_F77=yes
13808 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13809 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13811 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13813 hardcode_libdir_flag_spec_F77='-R$libdir'
13814 hardcode_direct_F77=yes
13815 hardcode_shlibpath_var_F77=no
13819 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13820 hardcode_direct_F77=yes
13821 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13822 hardcode_libdir_separator_F77=:
13823 hardcode_shlibpath_var_F77=no
13827 hardcode_direct_F77=yes
13828 hardcode_shlibpath_var_F77=no
13829 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13830 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13831 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13832 export_dynamic_flag_spec_F77='${wl}-E'
13835 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13836 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13837 hardcode_libdir_flag_spec_F77='-R$libdir'
13840 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13841 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13848 hardcode_libdir_flag_spec_F77='-L$libdir'
13849 hardcode_minus_L_F77=yes
13850 allow_undefined_flag_F77=unsupported
13851 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'
13852 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13856 if test "$GCC" = yes; then
13857 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13858 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'
13860 allow_undefined_flag_F77=' -expect_unresolved \*'
13861 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'
13863 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13864 hardcode_libdir_separator_F77=:
13867 osf4* | osf5*) # as osf3* with the addition of -msym flag
13868 if test "$GCC" = yes; then
13869 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13870 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'
13871 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13873 allow_undefined_flag_F77=' -expect_unresolved \*'
13874 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'
13875 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~
13876 $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'
13878 # Both c and cxx compiler support -rpath directly
13879 hardcode_libdir_flag_spec_F77='-rpath $libdir'
13881 hardcode_libdir_separator_F77=:
13885 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13886 hardcode_shlibpath_var_F77=no
13887 export_dynamic_flag_spec_F77='${wl}-Bexport'
13888 runpath_var=LD_RUN_PATH
13889 hardcode_runpath_var=yes
13893 no_undefined_flag_F77=' -z text'
13894 if test "$GCC" = yes; then
13895 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13896 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13897 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13899 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13900 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13901 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13903 hardcode_libdir_flag_spec_F77='-R$libdir'
13904 hardcode_shlibpath_var_F77=no
13906 solaris2.[0-5] | solaris2.[0-5].*) ;;
13907 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13908 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13910 link_all_deplibs_F77=yes
13914 if test "x$host_vendor" = xsequent; then
13915 # Use $CC to link under sequent, because it throws in some extra .o
13916 # files that make .init and .fini sections work.
13917 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13919 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13921 hardcode_libdir_flag_spec_F77='-L$libdir'
13922 hardcode_direct_F77=yes
13923 hardcode_minus_L_F77=yes
13924 hardcode_shlibpath_var_F77=no
13928 case $host_vendor in
13930 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13931 hardcode_direct_F77=yes # is this really true???
13934 ## LD is ld it makes a PLAMLIB
13935 ## CC just makes a GrossModule.
13936 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13937 reload_cmds_F77='$CC -r -o $output$reload_objs'
13938 hardcode_direct_F77=no
13941 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13942 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13945 runpath_var='LD_RUN_PATH'
13946 hardcode_shlibpath_var_F77=no
13950 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13951 hardcode_shlibpath_var_F77=no
13952 export_dynamic_flag_spec_F77='-Bexport'
13956 if test -d /usr/nec; then
13957 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13958 hardcode_shlibpath_var_F77=no
13959 runpath_var=LD_RUN_PATH
13960 hardcode_runpath_var=yes
13966 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13967 hardcode_direct_F77=yes
13968 hardcode_minus_L_F77=no
13969 hardcode_shlibpath_var_F77=no
13970 hardcode_runpath_var=yes
13971 runpath_var=LD_RUN_PATH
13974 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13975 no_undefined_flag_F77='${wl}-z ${wl}text'
13976 if test "$GCC" = yes; then
13977 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13979 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13981 runpath_var='LD_RUN_PATH'
13982 hardcode_shlibpath_var_F77=no
13986 no_undefined_flag_F77=' -z text'
13987 # $CC -shared without GNU ld will not create a library from C++
13988 # object files and a static libstdc++, better avoid it by now
13989 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13990 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13991 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13992 hardcode_libdir_flag_spec_F77=
13993 hardcode_shlibpath_var_F77=no
13994 runpath_var='LD_RUN_PATH'
13998 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13999 hardcode_libdir_flag_spec_F77='-L$libdir'
14000 hardcode_shlibpath_var_F77=no
14009 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
14010 echo "${ECHO_T}$ld_shlibs_F77" >&6
14011 test "$ld_shlibs_F77" = no && can_build_shared=no
14013 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14014 if test "$GCC" = yes; then
14015 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14019 # Do we need to explicitly link libc?
14021 case "x$archive_cmds_need_lc_F77" in
14023 # Assume -lc should be added
14024 archive_cmds_need_lc_F77=yes
14026 if test "$enable_shared" = yes && test "$GCC" = yes; then
14027 case $archive_cmds_F77 in
14029 # FIXME: we may have to deal with multi-command sequences.
14032 # Test whether the compiler implicitly links with -lc since on some
14033 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14034 # to ld, don't add -lc before -lgcc.
14035 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14036 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14038 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14041 (eval $ac_compile) 2>&5
14043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14044 (exit $ac_status); } 2>conftest.err; then
14047 libobjs=conftest.$ac_objext
14049 wl=$lt_prog_compiler_wl_F77
14055 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
14056 allow_undefined_flag_F77=
14057 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14058 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
14060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14061 (exit $ac_status); }
14063 archive_cmds_need_lc_F77=no
14065 archive_cmds_need_lc_F77=yes
14067 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
14069 cat conftest.err 1>&5
14072 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14073 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14080 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14081 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14082 hardcode_action_F77=
14083 if test -n "$hardcode_libdir_flag_spec_F77" || \
14084 test -n "$runpath_var F77" || \
14085 test "X$hardcode_automatic_F77"="Xyes" ; then
14087 # We can hardcode non-existant directories.
14088 if test "$hardcode_direct_F77" != no &&
14089 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14090 # have to relink, otherwise we might link with an installed library
14091 # when we should be linking with a yet-to-be-installed one
14092 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
14093 test "$hardcode_minus_L_F77" != no; then
14094 # Linking always hardcodes the temporary library directory.
14095 hardcode_action_F77=relink
14097 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14098 hardcode_action_F77=immediate
14101 # We cannot hardcode anything, or else we can only hardcode existing
14103 hardcode_action_F77=unsupported
14105 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14106 echo "${ECHO_T}$hardcode_action_F77" >&6
14108 if test "$hardcode_action_F77" = relink; then
14109 # Fast installation is not supported
14110 enable_fast_install=no
14111 elif test "$shlibpath_overrides_runpath" = yes ||
14112 test "$enable_shared" = no; then
14113 # Fast installation is not necessary
14114 enable_fast_install=needless
14119 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14120 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14121 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14122 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14123 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14124 echo "$as_me:$LINENO: result: yes" >&5
14125 echo "${ECHO_T}yes" >&6
14127 # FIXME - insert some real tests, host_os isn't really good enough
14130 if test -n "$STRIP" ; then
14131 striplib="$STRIP -x"
14132 echo "$as_me:$LINENO: result: yes" >&5
14133 echo "${ECHO_T}yes" >&6
14135 echo "$as_me:$LINENO: result: no" >&5
14136 echo "${ECHO_T}no" >&6
14140 echo "$as_me:$LINENO: result: no" >&5
14141 echo "${ECHO_T}no" >&6
14146 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14147 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14148 library_names_spec=
14149 libname_spec='lib$name'
14153 postuninstall_cmds=
14157 shlibpath_overrides_runpath=unknown
14159 dynamic_linker="$host_os ld.so"
14160 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14161 if test "$GCC" = yes; then
14162 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14163 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14164 # if the path contains ";" then we assume it to be the separator
14165 # otherwise default to the standard path separator (i.e. ":") - it is
14166 # assumed that no part of a normal pathname contains ";" but that should
14167 # okay in the real world where ";" in dirpaths is itself problematic.
14168 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14170 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14173 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14175 need_lib_prefix=unknown
14176 hardcode_into_libs=no
14178 # when you set need_version to no, make sure it does not cause -set_version
14179 # flags to be left without arguments
14180 need_version=unknown
14185 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14186 shlibpath_var=LIBPATH
14188 # AIX 3 has no versioning support, so we append a major version to the name.
14189 soname_spec='${libname}${release}${shared_ext}$major'
14196 hardcode_into_libs=yes
14197 if test "$host_cpu" = ia64; then
14198 # AIX 5 supports IA64
14199 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14200 shlibpath_var=LD_LIBRARY_PATH
14202 # With GCC up to 2.95.x, collect2 would create an import file
14203 # for dependence libraries. The import file would start with
14204 # the line `#! .'. This would cause the generated library to
14205 # depend on `.', always an invalid library. This was fixed in
14206 # development snapshots of GCC prior to 3.0.
14208 aix4 | aix4.[01] | aix4.[01].*)
14209 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14211 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14214 can_build_shared=no
14218 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14219 # soname into executable. Probably we can add versioning support to
14220 # collect2, so additional links can be useful in future.
14221 if test "$aix_use_runtimelinking" = yes; then
14222 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14223 # instead of lib<name>.a to let people know that these are not
14224 # typical AIX shared libraries.
14225 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14227 # We preserve .a as extension for shared libraries through AIX4.2
14228 # and later when we are not doing run time linking.
14229 library_names_spec='${libname}${release}.a $libname.a'
14230 soname_spec='${libname}${release}${shared_ext}$major'
14232 shlibpath_var=LIBPATH
14237 library_names_spec='$libname.ixlibrary $libname.a'
14238 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14239 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'
14243 library_names_spec='${libname}${shared_ext}'
14244 dynamic_linker="$host_os ld.so"
14245 shlibpath_var=LIBRARY_PATH
14251 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14252 soname_spec='${libname}${release}${shared_ext}$major'
14253 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14254 shlibpath_var=LD_LIBRARY_PATH
14255 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14256 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14257 # the default ld.so.conf also contains /usr/contrib/lib and
14258 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14259 # libtool to hard-code these into programs
14262 cygwin* | mingw* | pw32*)
14263 version_type=windows
14268 case $GCC,$host_os in
14269 yes,cygwin* | yes,mingw* | yes,pw32*)
14270 library_names_spec='$libname.dll.a'
14271 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14272 postinstall_cmds='base_file=`basename \${file}`~
14273 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14274 dldir=$destdir/`dirname \$dlpath`~
14275 test -d \$dldir || mkdir -p \$dldir~
14276 $install_prog $dir/$dlname \$dldir/$dlname'
14277 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14278 dlpath=$dir/\$dldll~
14280 shlibpath_overrides_runpath=yes
14284 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14285 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14286 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
14289 # MinGW DLLs use traditional 'lib' prefix
14290 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14291 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14292 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14293 # It is most probably a Windows format PATH printed by
14294 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14295 # path with ; separators, and with drive letters. We can handle the
14296 # drive letters (cygwin fileutils understands them), so leave them,
14297 # especially as we might pass files found there to a mingw objdump,
14298 # which wouldn't understand a cygwinified path. Ahh.
14299 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14301 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14305 # pw32 DLLs use 'pw' prefix rather than 'lib'
14306 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14312 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14315 dynamic_linker='Win32 ld.exe'
14316 # FIXME: first we should search . and the directory the executable is in
14320 darwin* | rhapsody*)
14321 dynamic_linker="$host_os dyld"
14322 version_type=darwin
14325 # FIXME: Relying on posixy $() will cause problems for
14326 # cross-compilation, but unfortunately the echo tests do not
14327 # yet detect zsh echo's removal of \ escapes.
14328 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14329 soname_spec='${libname}${release}${major}$shared_ext'
14330 shlibpath_overrides_runpath=yes
14331 shlibpath_var=DYLD_LIBRARY_PATH
14332 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
14333 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14334 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
14335 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"`
14337 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14345 soname_spec='${libname}${release}${shared_ext}$major'
14346 shlibpath_var=LD_LIBRARY_PATH
14354 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14355 version_type=freebsd-$objformat
14356 case $version_type in
14358 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14363 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14367 shlibpath_var=LD_LIBRARY_PATH
14370 shlibpath_overrides_runpath=yes
14372 freebsd3.01* | freebsdelf3.01*)
14373 shlibpath_overrides_runpath=yes
14374 hardcode_into_libs=yes
14377 shlibpath_overrides_runpath=no
14378 hardcode_into_libs=yes
14387 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14388 soname_spec='${libname}${release}${shared_ext}$major'
14389 shlibpath_var=LD_LIBRARY_PATH
14390 hardcode_into_libs=yes
14393 hpux9* | hpux10* | hpux11*)
14394 # Give a soname corresponding to the major version so that dld.sl refuses to
14395 # link against other versions.
14399 case "$host_cpu" in
14402 hardcode_into_libs=yes
14403 dynamic_linker="$host_os dld.so"
14404 shlibpath_var=LD_LIBRARY_PATH
14405 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14407 soname_spec='${libname}${release}${shared_ext}$major'
14408 if test "X$HPUX_IA64_MODE" = X32; then
14409 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14411 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14413 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14417 hardcode_into_libs=yes
14418 dynamic_linker="$host_os dld.sl"
14419 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14420 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14421 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14422 soname_spec='${libname}${release}${shared_ext}$major'
14423 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14424 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14428 dynamic_linker="$host_os dld.sl"
14429 shlibpath_var=SHLIB_PATH
14430 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14432 soname_spec='${libname}${release}${shared_ext}$major'
14435 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14436 postinstall_cmds='chmod 555 $lib'
14439 irix5* | irix6* | nonstopux*)
14441 nonstopux*) version_type=nonstopux ;;
14443 if test "$lt_cv_prog_gnu_ld" = yes; then
14451 soname_spec='${libname}${release}${shared_ext}$major'
14452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14454 irix5* | nonstopux*)
14455 libsuff= shlibsuff=
14458 case $LD in # libtool.m4 will add one of these switches to LD
14459 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14460 libsuff= shlibsuff= libmagic=32-bit;;
14461 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14462 libsuff=32 shlibsuff=N32 libmagic=N32;;
14463 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14464 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14465 *) libsuff= shlibsuff= libmagic=never-match;;
14469 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14470 shlibpath_overrides_runpath=no
14471 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14472 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14473 hardcode_into_libs=yes
14476 # No shared lib support for Linux oldld, aout, or coff.
14477 linux*oldld* | linux*aout* | linux*coff*)
14481 # This must be Linux ELF.
14486 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14487 soname_spec='${libname}${release}${shared_ext}$major'
14488 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14489 shlibpath_var=LD_LIBRARY_PATH
14490 shlibpath_overrides_runpath=no
14491 # This implies no fast_install, which is unacceptable.
14492 # Some rework will be needed to allow for fast_install
14493 # before this can be enabled.
14494 hardcode_into_libs=yes
14496 # We used to test for /lib/ld.so.1 and disable shared libraries on
14497 # powerpc, because MkLinux only supported shared libraries with the
14498 # GNU dynamic linker. Since this was broken with cross compilers,
14499 # most powerpc-linux boxes support dynamic linking these days and
14500 # people can always --disable-shared, the test was removed, and we
14501 # assume the GNU/Linux dynamic linker is in use.
14502 dynamic_linker='GNU/Linux ld.so'
14509 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14510 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14511 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14512 dynamic_linker='NetBSD (a.out) ld.so'
14514 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14515 soname_spec='${libname}${release}${shared_ext}$major'
14516 dynamic_linker='NetBSD ld.elf_so'
14518 shlibpath_var=LD_LIBRARY_PATH
14519 shlibpath_overrides_runpath=yes
14520 hardcode_into_libs=yes
14525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14526 shlibpath_var=LD_LIBRARY_PATH
14527 shlibpath_overrides_runpath=yes
14534 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14535 soname_spec='${libname}${release}${shared_ext}$major'
14536 shlibpath_var=LD_LIBRARY_PATH
14537 shlibpath_overrides_runpath=yes
14544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14545 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14546 shlibpath_var=LD_LIBRARY_PATH
14547 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14549 openbsd2.[89] | openbsd2.[89].*)
14550 shlibpath_overrides_runpath=no
14553 shlibpath_overrides_runpath=yes
14557 shlibpath_overrides_runpath=yes
14562 libname_spec='$name'
14565 library_names_spec='$libname${shared_ext} $libname.a'
14566 dynamic_linker='OS/2 ld.exe'
14567 shlibpath_var=LIBPATH
14570 osf3* | osf4* | osf5*)
14574 soname_spec='${libname}${release}${shared_ext}$major'
14575 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14576 shlibpath_var=LD_LIBRARY_PATH
14577 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14578 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14583 soname_spec='${libname}${release}${shared_ext}$major'
14584 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14585 shlibpath_var=LD_LIBRARY_PATH
14592 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14593 soname_spec='${libname}${release}${shared_ext}$major'
14594 shlibpath_var=LD_LIBRARY_PATH
14595 shlibpath_overrides_runpath=yes
14596 hardcode_into_libs=yes
14597 # ldd complains unless libraries are executable
14598 postinstall_cmds='chmod +x $lib'
14603 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14604 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14605 shlibpath_var=LD_LIBRARY_PATH
14606 shlibpath_overrides_runpath=yes
14607 if test "$with_gnu_ld" = yes; then
14613 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14616 soname_spec='${libname}${release}${shared_ext}$major'
14617 shlibpath_var=LD_LIBRARY_PATH
14618 case $host_vendor in
14620 shlibpath_overrides_runpath=no
14622 export_dynamic_flag_spec='${wl}-Blargedynsym'
14623 runpath_var=LD_RUN_PATH
14631 shlibpath_overrides_runpath=no
14632 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14638 if test -d /usr/nec ;then
14640 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14641 soname_spec='$libname${shared_ext}.$major'
14642 shlibpath_var=LD_LIBRARY_PATH
14648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14649 soname_spec='${libname}${release}${shared_ext}$major'
14650 shlibpath_var=LD_LIBRARY_PATH
14657 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14658 echo "${ECHO_T}$dynamic_linker" >&6
14659 test "$dynamic_linker" = no && can_build_shared=no
14662 # The else clause should only fire when bootstrapping the
14663 # libtool distribution, otherwise you forgot to ship ltmain.sh
14664 # with your package, and you will get complaints that there are
14665 # no rules to generate ltmain.sh.
14666 if test -f "$ltmain"; then
14667 # See if we are running on zsh, and set the options which allow our commands through
14668 # without removal of \ escapes.
14669 if test -n "${ZSH_VERSION+set}" ; then
14670 setopt NO_GLOB_SUBST
14672 # Now quote all the things that may contain metacharacters while being
14673 # careful not to overquote the AC_SUBSTed values. We take copies of the
14674 # variables and quote the copies for generation of the libtool script.
14675 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
14676 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14677 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14678 deplibs_check_method reload_flag reload_cmds need_locks \
14679 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14680 lt_cv_sys_global_symbol_to_c_name_address \
14681 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14682 old_postinstall_cmds old_postuninstall_cmds \
14686 lt_prog_compiler_wl_F77 \
14687 lt_prog_compiler_pic_F77 \
14688 lt_prog_compiler_static_F77 \
14689 lt_prog_compiler_no_builtin_flag_F77 \
14690 export_dynamic_flag_spec_F77 \
14691 thread_safe_flag_spec_F77 \
14692 whole_archive_flag_spec_F77 \
14693 enable_shared_with_static_runtimes_F77 \
14694 old_archive_cmds_F77 \
14695 old_archive_from_new_cmds_F77 \
14696 predep_objects_F77 \
14697 postdep_objects_F77 \
14700 compiler_lib_search_path_F77 \
14702 archive_expsym_cmds_F77 \
14703 postinstall_cmds_F77 \
14704 postuninstall_cmds_F77 \
14705 old_archive_from_expsyms_cmds_F77 \
14706 allow_undefined_flag_F77 \
14707 no_undefined_flag_F77 \
14708 export_symbols_cmds_F77 \
14709 hardcode_libdir_flag_spec_F77 \
14710 hardcode_libdir_flag_spec_ld_F77 \
14711 hardcode_libdir_separator_F77 \
14712 hardcode_automatic_F77 \
14714 module_expsym_cmds_F77 \
14715 lt_cv_prog_compiler_c_o_F77 \
14716 exclude_expsyms_F77 \
14717 include_expsyms_F77; do
14720 old_archive_cmds_F77 | \
14721 old_archive_from_new_cmds_F77 | \
14722 archive_cmds_F77 | \
14723 archive_expsym_cmds_F77 | \
14724 module_cmds_F77 | \
14725 module_expsym_cmds_F77 | \
14726 old_archive_from_expsyms_cmds_F77 | \
14727 export_symbols_cmds_F77 | \
14728 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14729 postinstall_cmds | postuninstall_cmds | \
14730 old_postinstall_cmds | old_postuninstall_cmds | \
14731 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14732 # Double-quote double-evaled strings.
14733 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14736 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14742 *'\$0 --fallback-echo"')
14743 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14749 cat <<__EOF__ >> "$cfgfile"
14750 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14752 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14754 # Shell to use when invoking shell scripts.
14757 # Whether or not to build shared libraries.
14758 build_libtool_libs=$enable_shared
14760 # Whether or not to build static libraries.
14761 build_old_libs=$enable_static
14763 # Whether or not to add -lc for building shared libraries.
14764 build_libtool_need_lc=$archive_cmds_need_lc_F77
14766 # Whether or not to disallow shared libs when runtime libs are static
14767 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14769 # Whether or not to optimize for fast installation.
14770 fast_install=$enable_fast_install
14773 host_alias=$host_alias
14776 # An echo program that does not interpret backslashes.
14781 AR_FLAGS=$lt_AR_FLAGS
14786 # A language-specific compiler.
14787 CC=$lt_compiler_F77
14789 # Is the compiler the GNU C compiler?
14795 # The linker used to build libraries.
14798 # Whether we need hard or soft links.
14801 # A BSD-compatible nm program.
14804 # A symbol stripping program
14807 # Used to examine libraries when file_magic_cmd begins "file"
14808 MAGIC_CMD=$MAGIC_CMD
14810 # Used on cygwin: DLL creation program.
14813 # Used on cygwin: object dumper.
14816 # Used on cygwin: assembler.
14819 # The name of the directory that contains temporary libtool files.
14822 # How to create reloadable object files.
14823 reload_flag=$lt_reload_flag
14824 reload_cmds=$lt_reload_cmds
14826 # How to pass a linker flag through the compiler.
14827 wl=$lt_lt_prog_compiler_wl_F77
14829 # Object file suffix (normally "o").
14830 objext="$ac_objext"
14832 # Old archive suffix (normally "a").
14835 # Shared library suffix (normally ".so").
14838 # Executable file suffix (normally "").
14841 # Additional compiler flags for building library objects.
14842 pic_flag=$lt_lt_prog_compiler_pic_F77
14845 # What is the maximum length of a command?
14846 max_cmd_len=$lt_cv_sys_max_cmd_len
14848 # Does compiler simultaneously support -c and -o options?
14849 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
14851 # Must we lock files when doing compilation ?
14852 need_locks=$lt_need_locks
14854 # Do we need the lib prefix for modules?
14855 need_lib_prefix=$need_lib_prefix
14857 # Do we need a version for libraries?
14858 need_version=$need_version
14860 # Whether dlopen is supported.
14861 dlopen_support=$enable_dlopen
14863 # Whether dlopen of programs is supported.
14864 dlopen_self=$enable_dlopen_self
14866 # Whether dlopen of statically linked programs is supported.
14867 dlopen_self_static=$enable_dlopen_self_static
14869 # Compiler flag to prevent dynamic linking.
14870 link_static_flag=$lt_lt_prog_compiler_static_F77
14872 # Compiler flag to turn off builtin functions.
14873 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
14875 # Compiler flag to allow reflexive dlopens.
14876 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
14878 # Compiler flag to generate shared objects directly from archives.
14879 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
14881 # Compiler flag to generate thread-safe objects.
14882 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
14884 # Library versioning type.
14885 version_type=$version_type
14887 # Format of library name prefix.
14888 libname_spec=$lt_libname_spec
14890 # List of archive names. First name is the real one, the rest are links.
14891 # The last name is the one that the linker finds with -lNAME.
14892 library_names_spec=$lt_library_names_spec
14894 # The coded name of the library, if different from the real name.
14895 soname_spec=$lt_soname_spec
14897 # Commands used to build and install an old-style archive.
14899 old_archive_cmds=$lt_old_archive_cmds_F77
14900 old_postinstall_cmds=$lt_old_postinstall_cmds
14901 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14903 # Create an old-style archive from a shared archive.
14904 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
14906 # Create a temporary old-style archive to link instead of a shared archive.
14907 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
14909 # Commands used to build and install a shared archive.
14910 archive_cmds=$lt_archive_cmds_F77
14911 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
14912 postinstall_cmds=$lt_postinstall_cmds
14913 postuninstall_cmds=$lt_postuninstall_cmds
14915 # Commands used to build a loadable module (assumed same as above if empty)
14916 module_cmds=$lt_module_cmds_F77
14917 module_expsym_cmds=$lt_module_expsym_cmds_F77
14919 # Commands to strip libraries.
14920 old_striplib=$lt_old_striplib
14921 striplib=$lt_striplib
14923 # Dependencies to place before the objects being linked to create a
14925 predep_objects=$lt_predep_objects_F77
14927 # Dependencies to place after the objects being linked to create a
14929 postdep_objects=$lt_postdep_objects_F77
14931 # Dependencies to place before the objects being linked to create a
14933 predeps=$lt_predeps_F77
14935 # Dependencies to place after the objects being linked to create a
14937 postdeps=$lt_postdeps_F77
14939 # The library search path used internally by the compiler when linking
14940 # a shared library.
14941 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
14943 # Method to check whether dependent libraries are shared objects.
14944 deplibs_check_method=$lt_deplibs_check_method
14946 # Command to use when deplibs_check_method == file_magic.
14947 file_magic_cmd=$lt_file_magic_cmd
14949 # Flag that allows shared libraries with undefined symbols to be built.
14950 allow_undefined_flag=$lt_allow_undefined_flag_F77
14952 # Flag that forces no undefined symbols.
14953 no_undefined_flag=$lt_no_undefined_flag_F77
14955 # Commands used to finish a libtool library installation in a directory.
14956 finish_cmds=$lt_finish_cmds
14958 # Same as above, but a single script fragment to be evaled but not shown.
14959 finish_eval=$lt_finish_eval
14961 # Take the output of nm and produce a listing of raw symbols and C names.
14962 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14964 # Transform the output of nm in a proper C declaration
14965 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14967 # Transform the output of nm in a C name address pair
14968 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14970 # This is the shared library runtime path variable.
14971 runpath_var=$runpath_var
14973 # This is the shared library path variable.
14974 shlibpath_var=$shlibpath_var
14976 # Is shlibpath searched before the hard-coded library search path?
14977 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14979 # How to hardcode a shared library path into an executable.
14980 hardcode_action=$hardcode_action_F77
14982 # Whether we should hardcode library paths into libraries.
14983 hardcode_into_libs=$hardcode_into_libs
14985 # Flag to hardcode \$libdir into a binary during linking.
14986 # This must work even if \$libdir does not exist.
14987 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
14989 # If ld is used when linking, flag to hardcode \$libdir into
14990 # a binary during linking. This must work even if \$libdir does
14992 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
14994 # Whether we need a single -rpath flag with a separated argument.
14995 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
14997 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14998 # resulting binary.
14999 hardcode_direct=$hardcode_direct_F77
15001 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
15002 # resulting binary.
15003 hardcode_minus_L=$hardcode_minus_L_F77
15005 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
15006 # the resulting binary.
15007 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
15009 # Set to yes if building a shared library automatically hardcodes DIR into the library
15010 # and all subsequent libraries and executables linked against it.
15011 hardcode_automatic=$hardcode_automatic_F77
15013 # Variables whose values should be saved in libtool wrapper scripts and
15014 # restored at relink time.
15015 variables_saved_for_relink="$variables_saved_for_relink"
15017 # Whether libtool must link a program against all its dependency libraries.
15018 link_all_deplibs=$link_all_deplibs_F77
15020 # Compile-time system search path for libraries
15021 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
15023 # Run-time system search path for libraries
15024 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15026 # Fix the shell variable \$srcfile for the compiler.
15027 fix_srcfile_path="$fix_srcfile_path_F77"
15029 # Set to yes if exported symbols are required.
15030 always_export_symbols=$always_export_symbols_F77
15032 # The commands to list exported symbols.
15033 export_symbols_cmds=$lt_export_symbols_cmds_F77
15035 # The commands to extract the exported symbol list from a shared archive.
15036 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15038 # Symbols that should not be listed in the preloaded symbols.
15039 exclude_expsyms=$lt_exclude_expsyms_F77
15041 # Symbols that must always be exported.
15042 include_expsyms=$lt_include_expsyms_F77
15044 # ### END LIBTOOL TAG CONFIG: $tagname
15050 # If there is no Makefile yet, we rely on a make rule to execute
15051 # `config.status --recheck' to rerun these tests and create the
15052 # libtool script then.
15053 test -f Makefile && make "$ltmain"
15058 ac_cpp='$CPP $CPPFLAGS'
15059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15071 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15075 # Source file extension for Java test sources.
15078 # Object file extension for compiled Java test sources.
15082 # Code to be used in simple compile tests
15083 lt_simple_compile_test_code="class foo {}\n"
15085 # Code to be used in simple link tests
15086 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
15088 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15090 # If no C compiler was specified, use CC.
15093 # Allow CC to be a program name with arguments.
15097 # Allow CC to be a program name with arguments.
15103 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15104 archive_cmds_need_lc_GCJ=no
15107 ## There is no encapsulation within the following macros, do not change
15108 ## the running order or otherwise move them around unless you know exactly
15109 ## what you are doing...
15111 lt_prog_compiler_no_builtin_flag_GCJ=
15113 if test "$GCC" = yes; then
15114 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15116 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15117 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15118 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15119 echo $ECHO_N "(cached) $ECHO_C" >&6
15121 lt_cv_prog_compiler_rtti_exceptions=no
15122 ac_outfile=conftest.$ac_objext
15123 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15124 lt_compiler_flag="-fno-rtti -fno-exceptions"
15125 # Insert the option either (1) after the last *FLAGS variable, or
15126 # (2) before a word containing "conftest.", or (3) at the end.
15127 # Note that $ac_compile itself does not contain backslashes and begins
15128 # with a dollar sign (not a hyphen), so the echo should work correctly.
15129 # The option is referenced via a variable to avoid confusing sed.
15130 lt_compile=`echo "$ac_compile" | $SED \
15131 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15132 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15133 -e 's:$: $lt_compiler_flag:'`
15134 (eval echo "\"\$as_me:15134: $lt_compile\"" >&5)
15135 (eval "$lt_compile" 2>conftest.err)
15137 cat conftest.err >&5
15138 echo "$as_me:15138: \$? = $ac_status" >&5
15139 if (exit $ac_status) && test -s "$ac_outfile"; then
15140 # The compiler can only warn and ignore the option if not recognized
15141 # So say no if there are warnings
15142 if test ! -s conftest.err; then
15143 lt_cv_prog_compiler_rtti_exceptions=yes
15149 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15150 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15152 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15153 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15160 lt_prog_compiler_wl_GCJ=
15161 lt_prog_compiler_pic_GCJ=
15162 lt_prog_compiler_static_GCJ=
15164 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15165 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15167 if test "$GCC" = yes; then
15168 lt_prog_compiler_wl_GCJ='-Wl,'
15169 lt_prog_compiler_static_GCJ='-static'
15173 # All AIX code is PIC.
15174 if test "$host_cpu" = ia64; then
15175 # AIX 5 now supports IA64 processor
15176 lt_prog_compiler_static_GCJ='-Bstatic'
15181 # FIXME: we need at least 68020 code to build shared libraries, but
15182 # adding the `-m68020' flag to GCC prevents building anything better,
15184 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15187 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15188 # PIC is the default for these OSes.
15191 mingw* | pw32* | os2*)
15192 # This hack is so that the source file can tell whether it is being
15193 # built for inclusion in a dll (and should export symbols for example).
15194 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15197 darwin* | rhapsody*)
15198 # PIC is the default on this platform
15199 # Common symbols not allowed in MH_DYLIB files
15200 lt_prog_compiler_pic_GCJ='-fno-common'
15204 # Just because we use GCC doesn't mean we suddenly get shared libraries
15205 # on systems that don't support them.
15206 lt_prog_compiler_can_build_shared_GCJ=no
15211 if test -d /usr/nec; then
15212 lt_prog_compiler_pic_GCJ=-Kconform_pic
15217 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15218 # not for PA HP-UX.
15219 case "$host_cpu" in
15224 lt_prog_compiler_pic_GCJ='-fPIC'
15230 lt_prog_compiler_pic_GCJ='-fPIC'
15234 # PORTME Check for flag to pass linker flags through the system compiler.
15237 lt_prog_compiler_wl_GCJ='-Wl,'
15238 if test "$host_cpu" = ia64; then
15239 # AIX 5 now supports IA64 processor
15240 lt_prog_compiler_static_GCJ='-Bstatic'
15242 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15246 mingw* | pw32* | os2*)
15247 # This hack is so that the source file can tell whether it is being
15248 # built for inclusion in a dll (and should export symbols for example).
15249 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15252 hpux9* | hpux10* | hpux11*)
15253 lt_prog_compiler_wl_GCJ='-Wl,'
15254 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15255 # not for PA HP-UX.
15256 case "$host_cpu" in
15261 lt_prog_compiler_pic_GCJ='+Z'
15264 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15265 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15268 irix5* | irix6* | nonstopux*)
15269 lt_prog_compiler_wl_GCJ='-Wl,'
15270 # PIC (with -KPIC) is the default.
15271 lt_prog_compiler_static_GCJ='-non_shared'
15275 lt_prog_compiler_pic_GCJ='-KPIC'
15276 lt_prog_compiler_static_GCJ='-Bstatic'
15282 lt_prog_compiler_wl_GCJ='-Wl,'
15283 lt_prog_compiler_pic_GCJ='-KPIC'
15284 lt_prog_compiler_static_GCJ='-static'
15287 lt_prog_compiler_wl_GCJ='-Wl,'
15288 # All Alpha code is PIC.
15289 lt_prog_compiler_static_GCJ='-non_shared'
15294 osf3* | osf4* | osf5*)
15295 lt_prog_compiler_wl_GCJ='-Wl,'
15296 # All OSF/1 code is PIC.
15297 lt_prog_compiler_static_GCJ='-non_shared'
15301 lt_prog_compiler_pic_GCJ='-Kpic'
15302 lt_prog_compiler_static_GCJ='-dn'
15306 lt_prog_compiler_wl_GCJ='-Wl,'
15307 lt_prog_compiler_pic_GCJ='-KPIC'
15308 lt_prog_compiler_static_GCJ='-Bstatic'
15312 lt_prog_compiler_wl_GCJ='-Qoption ld '
15313 lt_prog_compiler_pic_GCJ='-PIC'
15314 lt_prog_compiler_static_GCJ='-Bstatic'
15317 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15318 lt_prog_compiler_wl_GCJ='-Wl,'
15319 lt_prog_compiler_pic_GCJ='-KPIC'
15320 lt_prog_compiler_static_GCJ='-Bstatic'
15324 if test -d /usr/nec ;then
15325 lt_prog_compiler_pic_GCJ='-Kconform_pic'
15326 lt_prog_compiler_static_GCJ='-Bstatic'
15331 lt_prog_compiler_pic_GCJ='-pic'
15332 lt_prog_compiler_static_GCJ='-Bstatic'
15336 lt_prog_compiler_can_build_shared_GCJ=no
15341 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15342 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15345 # Check to make sure the PIC flag actually works.
15347 if test -n "$lt_prog_compiler_pic_GCJ"; then
15348 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15349 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15350 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15351 echo $ECHO_N "(cached) $ECHO_C" >&6
15353 lt_prog_compiler_pic_works_GCJ=no
15354 ac_outfile=conftest.$ac_objext
15355 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15356 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15357 # Insert the option either (1) after the last *FLAGS variable, or
15358 # (2) before a word containing "conftest.", or (3) at the end.
15359 # Note that $ac_compile itself does not contain backslashes and begins
15360 # with a dollar sign (not a hyphen), so the echo should work correctly.
15361 # The option is referenced via a variable to avoid confusing sed.
15362 lt_compile=`echo "$ac_compile" | $SED \
15363 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15364 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15365 -e 's:$: $lt_compiler_flag:'`
15366 (eval echo "\"\$as_me:15366: $lt_compile\"" >&5)
15367 (eval "$lt_compile" 2>conftest.err)
15369 cat conftest.err >&5
15370 echo "$as_me:15370: \$? = $ac_status" >&5
15371 if (exit $ac_status) && test -s "$ac_outfile"; then
15372 # The compiler can only warn and ignore the option if not recognized
15373 # So say no if there are warnings
15374 if test ! -s conftest.err; then
15375 lt_prog_compiler_pic_works_GCJ=yes
15381 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15382 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15384 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15385 case $lt_prog_compiler_pic_GCJ in
15387 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15390 lt_prog_compiler_pic_GCJ=
15391 lt_prog_compiler_can_build_shared_GCJ=no
15396 # For platforms which do not support PIC, -DPIC is meaningless:
15398 lt_prog_compiler_pic_GCJ=
15401 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15405 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15406 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15407 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15408 echo $ECHO_N "(cached) $ECHO_C" >&6
15410 lt_cv_prog_compiler_c_o_GCJ=no
15411 $rm -r conftest 2>/dev/null
15415 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15417 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15418 # that will create temporary files in the current directory regardless of
15419 # the output directory. Thus, making CWD read-only will cause this test
15420 # to fail, enabling locking or at least warning the user not to do parallel
15424 lt_compiler_flag="-o out/conftest2.$ac_objext"
15425 # Insert the option either (1) after the last *FLAGS variable, or
15426 # (2) before a word containing "conftest.", or (3) at the end.
15427 # Note that $ac_compile itself does not contain backslashes and begins
15428 # with a dollar sign (not a hyphen), so the echo should work correctly.
15429 lt_compile=`echo "$ac_compile" | $SED \
15430 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15431 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15432 -e 's:$: $lt_compiler_flag:'`
15433 (eval echo "\"\$as_me:15433: $lt_compile\"" >&5)
15434 (eval "$lt_compile" 2>out/conftest.err)
15436 cat out/conftest.err >&5
15437 echo "$as_me:15437: \$? = $ac_status" >&5
15438 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15440 # The compiler can only warn and ignore the option if not recognized
15441 # So say no if there are warnings
15442 if test ! -s out/conftest.err; then
15443 lt_cv_prog_compiler_c_o_GCJ=yes
15447 $rm conftest* out/*
15454 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15455 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15458 hard_links="nottested"
15459 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15460 # do not overwrite the value of need_locks provided by the user
15461 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15462 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15465 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15467 ln conftest.a conftest.b 2>&5 || hard_links=no
15468 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15469 echo "$as_me:$LINENO: result: $hard_links" >&5
15470 echo "${ECHO_T}$hard_links" >&6
15471 if test "$hard_links" = no; then
15472 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15473 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15480 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15481 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15484 allow_undefined_flag_GCJ=
15485 enable_shared_with_static_runtimes_GCJ=no
15487 archive_expsym_cmds_GCJ=
15488 old_archive_From_new_cmds_GCJ=
15489 old_archive_from_expsyms_cmds_GCJ=
15490 export_dynamic_flag_spec_GCJ=
15491 whole_archive_flag_spec_GCJ=
15492 thread_safe_flag_spec_GCJ=
15493 hardcode_libdir_flag_spec_GCJ=
15494 hardcode_libdir_flag_spec_ld_GCJ=
15495 hardcode_libdir_separator_GCJ=
15496 hardcode_direct_GCJ=no
15497 hardcode_minus_L_GCJ=no
15498 hardcode_shlibpath_var_GCJ=unsupported
15499 link_all_deplibs_GCJ=unknown
15500 hardcode_automatic_GCJ=no
15502 module_expsym_cmds_GCJ=
15503 always_export_symbols_GCJ=no
15504 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15505 # include_expsyms should be a list of space-separated symbols to be *always*
15506 # included in the symbol list
15507 include_expsyms_GCJ=
15508 # exclude_expsyms can be an extended regexp of symbols to exclude
15509 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15510 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15511 # as well as any symbol that contains `d'.
15512 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15513 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15514 # platforms (ab)use it in PIC code, but their linkers get confused if
15515 # the symbol is explicitly referenced. Since portable code cannot
15516 # rely on this symbol name, it's probably fine to never include it in
15517 # preloaded symbol tables.
15518 extract_expsyms_cmds=
15521 cygwin* | mingw* | pw32*)
15522 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15523 # When not using gcc, we currently assume that we are using
15524 # Microsoft Visual C++.
15525 if test "$GCC" != yes; then
15535 if test "$with_gnu_ld" = yes; then
15536 # If archive_cmds runs LD, not CC, wlarc should be empty
15539 # See if GNU ld supports shared libraries.
15541 aix3* | aix4* | aix5*)
15542 # On AIX/PPC, the GNU linker is very broken
15543 if test "$host_cpu" != ia64; then
15547 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15548 *** to be unable to reliably create shared libraries on AIX.
15549 *** Therefore, libtool is disabling shared libraries support. If you
15550 *** really care for shared libraries, you may want to modify your PATH
15551 *** so that a non-GNU linker is found, and then restart.
15558 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)'
15559 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15560 hardcode_minus_L_GCJ=yes
15562 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15563 # that the semantics of dynamic libraries on AmigaOS, at least up
15564 # to version 4, is to share data among multiple programs linked
15565 # with the same dynamic library. Since this doesn't match the
15566 # behavior of shared libraries on other platforms, we can't use
15572 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15573 allow_undefined_flag_GCJ=unsupported
15574 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15575 # support --undefined. This deserves some investigation. FIXME
15576 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15582 cygwin* | mingw* | pw32*)
15583 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15584 # as there is no search path for DLLs.
15585 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15586 allow_undefined_flag_GCJ=unsupported
15587 always_export_symbols_GCJ=no
15588 enable_shared_with_static_runtimes_GCJ=yes
15589 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15591 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15592 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15593 # If the export-symbols file already is a .def file (1st line
15594 # is EXPORTS), use it as is; otherwise, prepend...
15595 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15596 cp $export_symbols $output_objdir/$soname.def;
15598 echo EXPORTS > $output_objdir/$soname.def;
15599 cat $export_symbols >> $output_objdir/$soname.def;
15601 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15608 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15609 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15612 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15613 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15618 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15622 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15623 *** create shared libraries on Solaris systems. Therefore, libtool
15624 *** is disabling shared libraries support. We urge you to upgrade GNU
15625 *** binutils to release 2.9.1 or newer. Another option is to modify
15626 *** your PATH or compiler configuration so that the native linker is
15627 *** used, and then restart.
15630 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15631 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15632 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15639 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15641 hardcode_direct_GCJ=yes
15642 hardcode_shlibpath_var_GCJ=no
15646 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15647 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15648 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15655 if test "$ld_shlibs_GCJ" = yes; then
15656 runpath_var=LD_RUN_PATH
15657 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15658 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15659 # ancient GNU ld didn't support --whole-archive et. al.
15660 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15661 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15663 whole_archive_flag_spec_GCJ=
15667 # PORTME fill in a description of your system's linker (not GNU ld)
15670 allow_undefined_flag_GCJ=unsupported
15671 always_export_symbols_GCJ=yes
15672 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'
15673 # Note: this linker hardcodes the directories in LIBPATH if there
15674 # are no directories specified by -L.
15675 hardcode_minus_L_GCJ=yes
15676 if test "$GCC" = yes && test -z "$link_static_flag"; then
15677 # Neither direct hardcoding nor static linking is supported with a
15679 hardcode_direct_GCJ=unsupported
15684 if test "$host_cpu" = ia64; then
15685 # On IA64, the linker does run time linking by default, so we don't
15686 # have to do anything special.
15687 aix_use_runtimelinking=no
15688 exp_sym_flag='-Bexport'
15691 # If we're using GNU nm, then we don't want the "-C" option.
15692 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15693 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15694 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'
15696 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'
15698 aix_use_runtimelinking=no
15700 # Test if we are trying to use run time linking or normal
15701 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15702 # need to do runtime linking.
15703 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15704 for ld_flag in $LDFLAGS; do
15705 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15706 aix_use_runtimelinking=yes
15712 exp_sym_flag='-bexport'
15713 no_entry_flag='-bnoentry'
15716 # When large executables or shared objects are built, AIX ld can
15717 # have problems creating the table of contents. If linking a library
15718 # or program results in "error TOC overflow" add -mminimal-toc to
15719 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15720 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15722 archive_cmds_GCJ=''
15723 hardcode_direct_GCJ=yes
15724 hardcode_libdir_separator_GCJ=':'
15725 link_all_deplibs_GCJ=yes
15727 if test "$GCC" = yes; then
15728 case $host_os in aix4.012|aix4.012.*)
15729 # We only want to do this on AIX 4.2 and lower, the check
15730 # below for broken collect2 doesn't work under 4.3+
15731 collect2name=`${CC} -print-prog-name=collect2`
15732 if test -f "$collect2name" && \
15733 strings "$collect2name" | grep resolve_lib_name >/dev/null
15735 # We have reworked collect2
15736 hardcode_direct_GCJ=yes
15738 # We have old collect2
15739 hardcode_direct_GCJ=unsupported
15740 # It fails to find uninstalled libraries when the uninstalled
15741 # path is not listed in the libpath. Setting hardcode_minus_L
15742 # to unsupported forces relinking
15743 hardcode_minus_L_GCJ=yes
15744 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15745 hardcode_libdir_separator_GCJ=
15748 shared_flag='-shared'
15751 if test "$host_cpu" = ia64; then
15752 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15753 # chokes on -Wl,-G. The following line is correct:
15756 if test "$aix_use_runtimelinking" = yes; then
15757 shared_flag='${wl}-G'
15759 shared_flag='${wl}-bM:SRE'
15764 # It seems that -bexpall does not export symbols beginning with
15765 # underscore (_), so it is better to generate a list of symbols to export.
15766 always_export_symbols_GCJ=yes
15767 if test "$aix_use_runtimelinking" = yes; then
15768 # Warning - without using the other runtime loading flags (-brtl),
15769 # -berok will link without error, but may produce a broken library.
15770 allow_undefined_flag_GCJ='-berok'
15771 # Determine the default libpath from the value encoded in an empty executable.
15772 cat >conftest.$ac_ext <<_ACEOF
15773 #line $LINENO "configure"
15776 cat confdefs.h >>conftest.$ac_ext
15777 cat >>conftest.$ac_ext <<_ACEOF
15778 /* end confdefs.h. */
15788 rm -f conftest.$ac_objext conftest$ac_exeext
15789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15790 (eval $ac_link) 2>&5
15792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15793 (exit $ac_status); } &&
15794 { ac_try='test -s conftest$ac_exeext'
15795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15796 (eval $ac_try) 2>&5
15798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15799 (exit $ac_status); }; }; then
15801 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15803 # Check for a 64-bit object if we didn't find anything.
15804 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; }
15807 echo "$as_me: failed program was:" >&5
15808 sed 's/^/| /' conftest.$ac_ext >&5
15811 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15812 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15814 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15815 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"
15817 if test "$host_cpu" = ia64; then
15818 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
15819 allow_undefined_flag_GCJ="-z nodefs"
15820 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"
15822 # Determine the default libpath from the value encoded in an empty executable.
15823 cat >conftest.$ac_ext <<_ACEOF
15824 #line $LINENO "configure"
15827 cat confdefs.h >>conftest.$ac_ext
15828 cat >>conftest.$ac_ext <<_ACEOF
15829 /* end confdefs.h. */
15839 rm -f conftest.$ac_objext conftest$ac_exeext
15840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15841 (eval $ac_link) 2>&5
15843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15844 (exit $ac_status); } &&
15845 { ac_try='test -s conftest$ac_exeext'
15846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15847 (eval $ac_try) 2>&5
15849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15850 (exit $ac_status); }; }; then
15852 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15854 # Check for a 64-bit object if we didn't find anything.
15855 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; }
15858 echo "$as_me: failed program was:" >&5
15859 sed 's/^/| /' conftest.$ac_ext >&5
15862 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15863 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15865 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15866 # Warning - without using the other run time loading flags,
15867 # -berok will link without error, but may produce a broken library.
15868 no_undefined_flag_GCJ=' ${wl}-bernotok'
15869 allow_undefined_flag_GCJ=' ${wl}-berok'
15870 # -bexpall does not export symbols beginning with underscore (_)
15871 always_export_symbols_GCJ=yes
15872 # Exported symbols can be pulled into shared objects from archives
15873 whole_archive_flag_spec_GCJ=' '
15874 archive_cmds_need_lc_GCJ=yes
15875 # This is similar to how AIX traditionally builds it's shared libraries.
15876 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'
15882 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)'
15883 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15884 hardcode_minus_L_GCJ=yes
15885 # see comment about different semantics on the GNU ld section
15890 export_dynamic_flag_spec_GCJ=-rdynamic
15893 cygwin* | mingw* | pw32*)
15894 # When not using gcc, we currently assume that we are using
15895 # Microsoft Visual C++.
15896 # hardcode_libdir_flag_spec is actually meaningless, as there is
15897 # no search path for DLLs.
15898 hardcode_libdir_flag_spec_GCJ=' '
15899 allow_undefined_flag_GCJ=unsupported
15900 # Tell ltmain to make .lib files, not .a files.
15902 # Tell ltmain to make .dll files, not .so files.
15904 # FIXME: Setting linknames here is a bad hack.
15905 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15906 # The linker will automatically build a .lib file if we build a DLL.
15907 old_archive_From_new_cmds_GCJ='true'
15908 # FIXME: Should let the user specify the lib program.
15909 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
15910 fix_srcfile_path='`cygpath -w "$srcfile"`'
15911 enable_shared_with_static_runtimes_GCJ=yes
15914 darwin* | rhapsody*)
15915 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
15916 archive_cmds_need_lc_GCJ=no
15918 rhapsody* | darwin1.[012])
15919 allow_undefined_flag_GCJ='-undefined suppress'
15922 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
15925 # FIXME: Relying on posixy $() will cause problems for
15926 # cross-compilation, but unfortunately the echo tests do not
15927 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
15928 # `"' quotes if we put them in here... so don't!
15929 lt_int_apple_cc_single_mod=no
15930 output_verbose_link_cmd='echo'
15931 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
15932 lt_int_apple_cc_single_mod=yes
15934 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15935 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15937 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'
15939 module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
15940 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15941 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15942 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}'
15944 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}'
15946 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}'
15947 hardcode_direct_GCJ=no
15948 hardcode_automatic_GCJ=yes
15949 hardcode_shlibpath_var_GCJ=unsupported
15950 whole_archive_flag_spec_GCJ='-all_load $convenience'
15951 link_all_deplibs_GCJ=yes
15956 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15957 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15958 hardcode_shlibpath_var_GCJ=no
15965 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15966 # support. Future versions do this automatically, but an explicit c++rt0.o
15967 # does not break anything, and helps significantly (at the cost of a little
15970 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15971 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15972 hardcode_direct_GCJ=yes
15973 hardcode_shlibpath_var_GCJ=no
15976 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15978 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15979 hardcode_direct_GCJ=yes
15980 hardcode_minus_L_GCJ=yes
15981 hardcode_shlibpath_var_GCJ=no
15984 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15986 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15987 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15988 hardcode_direct_GCJ=yes
15989 hardcode_shlibpath_var_GCJ=no
15993 if test "$GCC" = yes; then
15994 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'
15996 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'
15998 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15999 hardcode_libdir_separator_GCJ=:
16000 hardcode_direct_GCJ=yes
16002 # hardcode_minus_L: Not really in the search PATH,
16003 # but as the default location of the library.
16004 hardcode_minus_L_GCJ=yes
16005 export_dynamic_flag_spec_GCJ='${wl}-E'
16009 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16010 case "$host_cpu" in
16012 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16015 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
16019 case "$host_cpu" in
16021 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
16024 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16028 if test "$with_gnu_ld" = no; then
16029 case "$host_cpu" in
16031 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
16032 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
16033 hardcode_libdir_separator_GCJ=:
16034 hardcode_direct_GCJ=no
16035 hardcode_shlibpath_var_GCJ=no
16038 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16039 hardcode_direct_GCJ=no
16040 hardcode_shlibpath_var_GCJ=no
16042 # hardcode_minus_L: Not really in the search PATH,
16043 # but as the default location of the library.
16044 hardcode_minus_L_GCJ=yes
16047 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
16048 hardcode_libdir_separator_GCJ=:
16049 hardcode_direct_GCJ=yes
16050 export_dynamic_flag_spec_GCJ='${wl}-E'
16052 # hardcode_minus_L: Not really in the search PATH,
16053 # but as the default location of the library.
16054 hardcode_minus_L_GCJ=yes
16060 irix5* | irix6* | nonstopux*)
16061 if test "$GCC" = yes; then
16062 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'
16064 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'
16065 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
16067 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16068 hardcode_libdir_separator_GCJ=:
16069 link_all_deplibs_GCJ=yes
16073 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16074 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16076 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16078 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16079 hardcode_direct_GCJ=yes
16080 hardcode_shlibpath_var_GCJ=no
16084 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16085 hardcode_direct_GCJ=yes
16086 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16087 hardcode_libdir_separator_GCJ=:
16088 hardcode_shlibpath_var_GCJ=no
16092 hardcode_direct_GCJ=yes
16093 hardcode_shlibpath_var_GCJ=no
16094 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16095 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16096 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16097 export_dynamic_flag_spec_GCJ='${wl}-E'
16100 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16101 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16102 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16105 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16106 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16113 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16114 hardcode_minus_L_GCJ=yes
16115 allow_undefined_flag_GCJ=unsupported
16116 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'
16117 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16121 if test "$GCC" = yes; then
16122 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16123 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'
16125 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16126 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'
16128 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16129 hardcode_libdir_separator_GCJ=:
16132 osf4* | osf5*) # as osf3* with the addition of -msym flag
16133 if test "$GCC" = yes; then
16134 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16135 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'
16136 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16138 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16139 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'
16140 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~
16141 $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'
16143 # Both c and cxx compiler support -rpath directly
16144 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16146 hardcode_libdir_separator_GCJ=:
16150 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16151 hardcode_shlibpath_var_GCJ=no
16152 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16153 runpath_var=LD_RUN_PATH
16154 hardcode_runpath_var=yes
16158 no_undefined_flag_GCJ=' -z text'
16159 if test "$GCC" = yes; then
16160 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16161 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16162 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16164 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16165 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16166 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16168 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16169 hardcode_shlibpath_var_GCJ=no
16171 solaris2.[0-5] | solaris2.[0-5].*) ;;
16172 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16173 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16175 link_all_deplibs_GCJ=yes
16179 if test "x$host_vendor" = xsequent; then
16180 # Use $CC to link under sequent, because it throws in some extra .o
16181 # files that make .init and .fini sections work.
16182 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16184 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16186 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16187 hardcode_direct_GCJ=yes
16188 hardcode_minus_L_GCJ=yes
16189 hardcode_shlibpath_var_GCJ=no
16193 case $host_vendor in
16195 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16196 hardcode_direct_GCJ=yes # is this really true???
16199 ## LD is ld it makes a PLAMLIB
16200 ## CC just makes a GrossModule.
16201 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16202 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16203 hardcode_direct_GCJ=no
16206 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16207 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16210 runpath_var='LD_RUN_PATH'
16211 hardcode_shlibpath_var_GCJ=no
16215 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16216 hardcode_shlibpath_var_GCJ=no
16217 export_dynamic_flag_spec_GCJ='-Bexport'
16221 if test -d /usr/nec; then
16222 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16223 hardcode_shlibpath_var_GCJ=no
16224 runpath_var=LD_RUN_PATH
16225 hardcode_runpath_var=yes
16231 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16232 hardcode_direct_GCJ=yes
16233 hardcode_minus_L_GCJ=no
16234 hardcode_shlibpath_var_GCJ=no
16235 hardcode_runpath_var=yes
16236 runpath_var=LD_RUN_PATH
16239 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16240 no_undefined_flag_GCJ='${wl}-z ${wl}text'
16241 if test "$GCC" = yes; then
16242 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16244 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16246 runpath_var='LD_RUN_PATH'
16247 hardcode_shlibpath_var_GCJ=no
16251 no_undefined_flag_GCJ=' -z text'
16252 # $CC -shared without GNU ld will not create a library from C++
16253 # object files and a static libstdc++, better avoid it by now
16254 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16255 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16256 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16257 hardcode_libdir_flag_spec_GCJ=
16258 hardcode_shlibpath_var_GCJ=no
16259 runpath_var='LD_RUN_PATH'
16263 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16264 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16265 hardcode_shlibpath_var_GCJ=no
16274 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16275 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16276 test "$ld_shlibs_GCJ" = no && can_build_shared=no
16278 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16279 if test "$GCC" = yes; then
16280 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16284 # Do we need to explicitly link libc?
16286 case "x$archive_cmds_need_lc_GCJ" in
16288 # Assume -lc should be added
16289 archive_cmds_need_lc_GCJ=yes
16291 if test "$enable_shared" = yes && test "$GCC" = yes; then
16292 case $archive_cmds_GCJ in
16294 # FIXME: we may have to deal with multi-command sequences.
16297 # Test whether the compiler implicitly links with -lc since on some
16298 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16299 # to ld, don't add -lc before -lgcc.
16300 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16301 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16303 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16306 (eval $ac_compile) 2>&5
16308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16309 (exit $ac_status); } 2>conftest.err; then
16312 libobjs=conftest.$ac_objext
16314 wl=$lt_prog_compiler_wl_GCJ
16320 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16321 allow_undefined_flag_GCJ=
16322 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16323 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16326 (exit $ac_status); }
16328 archive_cmds_need_lc_GCJ=no
16330 archive_cmds_need_lc_GCJ=yes
16332 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16334 cat conftest.err 1>&5
16337 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16338 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16345 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16346 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16347 hardcode_action_GCJ=
16348 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
16349 test -n "$runpath_var GCJ" || \
16350 test "X$hardcode_automatic_GCJ"="Xyes" ; then
16352 # We can hardcode non-existant directories.
16353 if test "$hardcode_direct_GCJ" != no &&
16354 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16355 # have to relink, otherwise we might link with an installed library
16356 # when we should be linking with a yet-to-be-installed one
16357 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
16358 test "$hardcode_minus_L_GCJ" != no; then
16359 # Linking always hardcodes the temporary library directory.
16360 hardcode_action_GCJ=relink
16362 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16363 hardcode_action_GCJ=immediate
16366 # We cannot hardcode anything, or else we can only hardcode existing
16368 hardcode_action_GCJ=unsupported
16370 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
16371 echo "${ECHO_T}$hardcode_action_GCJ" >&6
16373 if test "$hardcode_action_GCJ" = relink; then
16374 # Fast installation is not supported
16375 enable_fast_install=no
16376 elif test "$shlibpath_overrides_runpath" = yes ||
16377 test "$enable_shared" = no; then
16378 # Fast installation is not necessary
16379 enable_fast_install=needless
16384 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16385 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16386 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16387 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16388 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16389 echo "$as_me:$LINENO: result: yes" >&5
16390 echo "${ECHO_T}yes" >&6
16392 # FIXME - insert some real tests, host_os isn't really good enough
16395 if test -n "$STRIP" ; then
16396 striplib="$STRIP -x"
16397 echo "$as_me:$LINENO: result: yes" >&5
16398 echo "${ECHO_T}yes" >&6
16400 echo "$as_me:$LINENO: result: no" >&5
16401 echo "${ECHO_T}no" >&6
16405 echo "$as_me:$LINENO: result: no" >&5
16406 echo "${ECHO_T}no" >&6
16411 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16412 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16413 library_names_spec=
16414 libname_spec='lib$name'
16418 postuninstall_cmds=
16422 shlibpath_overrides_runpath=unknown
16424 dynamic_linker="$host_os ld.so"
16425 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16426 if test "$GCC" = yes; then
16427 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16428 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16429 # if the path contains ";" then we assume it to be the separator
16430 # otherwise default to the standard path separator (i.e. ":") - it is
16431 # assumed that no part of a normal pathname contains ";" but that should
16432 # okay in the real world where ";" in dirpaths is itself problematic.
16433 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16435 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16438 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16440 need_lib_prefix=unknown
16441 hardcode_into_libs=no
16443 # when you set need_version to no, make sure it does not cause -set_version
16444 # flags to be left without arguments
16445 need_version=unknown
16450 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16451 shlibpath_var=LIBPATH
16453 # AIX 3 has no versioning support, so we append a major version to the name.
16454 soname_spec='${libname}${release}${shared_ext}$major'
16461 hardcode_into_libs=yes
16462 if test "$host_cpu" = ia64; then
16463 # AIX 5 supports IA64
16464 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16465 shlibpath_var=LD_LIBRARY_PATH
16467 # With GCC up to 2.95.x, collect2 would create an import file
16468 # for dependence libraries. The import file would start with
16469 # the line `#! .'. This would cause the generated library to
16470 # depend on `.', always an invalid library. This was fixed in
16471 # development snapshots of GCC prior to 3.0.
16473 aix4 | aix4.[01] | aix4.[01].*)
16474 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16476 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16479 can_build_shared=no
16483 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16484 # soname into executable. Probably we can add versioning support to
16485 # collect2, so additional links can be useful in future.
16486 if test "$aix_use_runtimelinking" = yes; then
16487 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16488 # instead of lib<name>.a to let people know that these are not
16489 # typical AIX shared libraries.
16490 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16492 # We preserve .a as extension for shared libraries through AIX4.2
16493 # and later when we are not doing run time linking.
16494 library_names_spec='${libname}${release}.a $libname.a'
16495 soname_spec='${libname}${release}${shared_ext}$major'
16497 shlibpath_var=LIBPATH
16502 library_names_spec='$libname.ixlibrary $libname.a'
16503 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16504 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'
16508 library_names_spec='${libname}${shared_ext}'
16509 dynamic_linker="$host_os ld.so"
16510 shlibpath_var=LIBRARY_PATH
16516 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16517 soname_spec='${libname}${release}${shared_ext}$major'
16518 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16519 shlibpath_var=LD_LIBRARY_PATH
16520 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16521 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16522 # the default ld.so.conf also contains /usr/contrib/lib and
16523 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16524 # libtool to hard-code these into programs
16527 cygwin* | mingw* | pw32*)
16528 version_type=windows
16533 case $GCC,$host_os in
16534 yes,cygwin* | yes,mingw* | yes,pw32*)
16535 library_names_spec='$libname.dll.a'
16536 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16537 postinstall_cmds='base_file=`basename \${file}`~
16538 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16539 dldir=$destdir/`dirname \$dlpath`~
16540 test -d \$dldir || mkdir -p \$dldir~
16541 $install_prog $dir/$dlname \$dldir/$dlname'
16542 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16543 dlpath=$dir/\$dldll~
16545 shlibpath_overrides_runpath=yes
16549 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16550 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16551 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
16554 # MinGW DLLs use traditional 'lib' prefix
16555 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16556 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16557 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16558 # It is most probably a Windows format PATH printed by
16559 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16560 # path with ; separators, and with drive letters. We can handle the
16561 # drive letters (cygwin fileutils understands them), so leave them,
16562 # especially as we might pass files found there to a mingw objdump,
16563 # which wouldn't understand a cygwinified path. Ahh.
16564 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16566 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16570 # pw32 DLLs use 'pw' prefix rather than 'lib'
16571 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16577 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16580 dynamic_linker='Win32 ld.exe'
16581 # FIXME: first we should search . and the directory the executable is in
16585 darwin* | rhapsody*)
16586 dynamic_linker="$host_os dyld"
16587 version_type=darwin
16590 # FIXME: Relying on posixy $() will cause problems for
16591 # cross-compilation, but unfortunately the echo tests do not
16592 # yet detect zsh echo's removal of \ escapes.
16593 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16594 soname_spec='${libname}${release}${major}$shared_ext'
16595 shlibpath_overrides_runpath=yes
16596 shlibpath_var=DYLD_LIBRARY_PATH
16597 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
16598 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16599 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
16600 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"`
16602 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16610 soname_spec='${libname}${release}${shared_ext}$major'
16611 shlibpath_var=LD_LIBRARY_PATH
16619 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16620 version_type=freebsd-$objformat
16621 case $version_type in
16623 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16628 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16632 shlibpath_var=LD_LIBRARY_PATH
16635 shlibpath_overrides_runpath=yes
16637 freebsd3.01* | freebsdelf3.01*)
16638 shlibpath_overrides_runpath=yes
16639 hardcode_into_libs=yes
16642 shlibpath_overrides_runpath=no
16643 hardcode_into_libs=yes
16652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16653 soname_spec='${libname}${release}${shared_ext}$major'
16654 shlibpath_var=LD_LIBRARY_PATH
16655 hardcode_into_libs=yes
16658 hpux9* | hpux10* | hpux11*)
16659 # Give a soname corresponding to the major version so that dld.sl refuses to
16660 # link against other versions.
16664 case "$host_cpu" in
16667 hardcode_into_libs=yes
16668 dynamic_linker="$host_os dld.so"
16669 shlibpath_var=LD_LIBRARY_PATH
16670 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16672 soname_spec='${libname}${release}${shared_ext}$major'
16673 if test "X$HPUX_IA64_MODE" = X32; then
16674 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16676 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16678 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16682 hardcode_into_libs=yes
16683 dynamic_linker="$host_os dld.sl"
16684 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16685 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16686 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16687 soname_spec='${libname}${release}${shared_ext}$major'
16688 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16689 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16693 dynamic_linker="$host_os dld.sl"
16694 shlibpath_var=SHLIB_PATH
16695 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16696 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16697 soname_spec='${libname}${release}${shared_ext}$major'
16700 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16701 postinstall_cmds='chmod 555 $lib'
16704 irix5* | irix6* | nonstopux*)
16706 nonstopux*) version_type=nonstopux ;;
16708 if test "$lt_cv_prog_gnu_ld" = yes; then
16716 soname_spec='${libname}${release}${shared_ext}$major'
16717 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16719 irix5* | nonstopux*)
16720 libsuff= shlibsuff=
16723 case $LD in # libtool.m4 will add one of these switches to LD
16724 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16725 libsuff= shlibsuff= libmagic=32-bit;;
16726 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16727 libsuff=32 shlibsuff=N32 libmagic=N32;;
16728 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16729 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16730 *) libsuff= shlibsuff= libmagic=never-match;;
16734 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16735 shlibpath_overrides_runpath=no
16736 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16737 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16738 hardcode_into_libs=yes
16741 # No shared lib support for Linux oldld, aout, or coff.
16742 linux*oldld* | linux*aout* | linux*coff*)
16746 # This must be Linux ELF.
16751 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16752 soname_spec='${libname}${release}${shared_ext}$major'
16753 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16754 shlibpath_var=LD_LIBRARY_PATH
16755 shlibpath_overrides_runpath=no
16756 # This implies no fast_install, which is unacceptable.
16757 # Some rework will be needed to allow for fast_install
16758 # before this can be enabled.
16759 hardcode_into_libs=yes
16761 # We used to test for /lib/ld.so.1 and disable shared libraries on
16762 # powerpc, because MkLinux only supported shared libraries with the
16763 # GNU dynamic linker. Since this was broken with cross compilers,
16764 # most powerpc-linux boxes support dynamic linking these days and
16765 # people can always --disable-shared, the test was removed, and we
16766 # assume the GNU/Linux dynamic linker is in use.
16767 dynamic_linker='GNU/Linux ld.so'
16774 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16775 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16776 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16777 dynamic_linker='NetBSD (a.out) ld.so'
16779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16780 soname_spec='${libname}${release}${shared_ext}$major'
16781 dynamic_linker='NetBSD ld.elf_so'
16783 shlibpath_var=LD_LIBRARY_PATH
16784 shlibpath_overrides_runpath=yes
16785 hardcode_into_libs=yes
16790 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16791 shlibpath_var=LD_LIBRARY_PATH
16792 shlibpath_overrides_runpath=yes
16799 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16800 soname_spec='${libname}${release}${shared_ext}$major'
16801 shlibpath_var=LD_LIBRARY_PATH
16802 shlibpath_overrides_runpath=yes
16809 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16810 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16811 shlibpath_var=LD_LIBRARY_PATH
16812 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16814 openbsd2.[89] | openbsd2.[89].*)
16815 shlibpath_overrides_runpath=no
16818 shlibpath_overrides_runpath=yes
16822 shlibpath_overrides_runpath=yes
16827 libname_spec='$name'
16830 library_names_spec='$libname${shared_ext} $libname.a'
16831 dynamic_linker='OS/2 ld.exe'
16832 shlibpath_var=LIBPATH
16835 osf3* | osf4* | osf5*)
16839 soname_spec='${libname}${release}${shared_ext}$major'
16840 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16841 shlibpath_var=LD_LIBRARY_PATH
16842 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16843 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16848 soname_spec='${libname}${release}${shared_ext}$major'
16849 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16850 shlibpath_var=LD_LIBRARY_PATH
16857 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16858 soname_spec='${libname}${release}${shared_ext}$major'
16859 shlibpath_var=LD_LIBRARY_PATH
16860 shlibpath_overrides_runpath=yes
16861 hardcode_into_libs=yes
16862 # ldd complains unless libraries are executable
16863 postinstall_cmds='chmod +x $lib'
16868 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16869 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16870 shlibpath_var=LD_LIBRARY_PATH
16871 shlibpath_overrides_runpath=yes
16872 if test "$with_gnu_ld" = yes; then
16878 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16880 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16881 soname_spec='${libname}${release}${shared_ext}$major'
16882 shlibpath_var=LD_LIBRARY_PATH
16883 case $host_vendor in
16885 shlibpath_overrides_runpath=no
16887 export_dynamic_flag_spec='${wl}-Blargedynsym'
16888 runpath_var=LD_RUN_PATH
16896 shlibpath_overrides_runpath=no
16897 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16903 if test -d /usr/nec ;then
16905 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16906 soname_spec='$libname${shared_ext}.$major'
16907 shlibpath_var=LD_LIBRARY_PATH
16913 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16914 soname_spec='${libname}${release}${shared_ext}$major'
16915 shlibpath_var=LD_LIBRARY_PATH
16922 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16923 echo "${ECHO_T}$dynamic_linker" >&6
16924 test "$dynamic_linker" = no && can_build_shared=no
16926 if test "x$enable_dlopen" != xyes; then
16927 enable_dlopen=unknown
16928 enable_dlopen_self=unknown
16929 enable_dlopen_self_static=unknown
16936 lt_cv_dlopen="load_add_on"
16938 lt_cv_dlopen_self=yes
16942 lt_cv_dlopen="LoadLibrary"
16947 lt_cv_dlopen="dlopen"
16952 # if libdl is installed we need to link against it
16953 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16954 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16955 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16956 echo $ECHO_N "(cached) $ECHO_C" >&6
16958 ac_check_lib_save_LIBS=$LIBS
16960 cat >conftest.$ac_ext <<_ACEOF
16961 #line $LINENO "configure"
16964 cat confdefs.h >>conftest.$ac_ext
16965 cat >>conftest.$ac_ext <<_ACEOF
16966 /* end confdefs.h. */
16968 /* Override any gcc2 internal prototype to avoid an error. */
16972 /* We use char because int might match the return type of a gcc2
16973 builtin and then its argument prototype would still apply. */
16983 rm -f conftest.$ac_objext conftest$ac_exeext
16984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16985 (eval $ac_link) 2>&5
16987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16988 (exit $ac_status); } &&
16989 { ac_try='test -s conftest$ac_exeext'
16990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16991 (eval $ac_try) 2>&5
16993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16994 (exit $ac_status); }; }; then
16995 ac_cv_lib_dl_dlopen=yes
16997 echo "$as_me: failed program was:" >&5
16998 sed 's/^/| /' conftest.$ac_ext >&5
17000 ac_cv_lib_dl_dlopen=no
17002 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17003 LIBS=$ac_check_lib_save_LIBS
17005 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17006 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17007 if test $ac_cv_lib_dl_dlopen = yes; then
17008 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17011 lt_cv_dlopen="dyld"
17013 lt_cv_dlopen_self=yes
17020 echo "$as_me:$LINENO: checking for shl_load" >&5
17021 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
17022 if test "${ac_cv_func_shl_load+set}" = set; then
17023 echo $ECHO_N "(cached) $ECHO_C" >&6
17025 cat >conftest.$ac_ext <<_ACEOF
17026 #line $LINENO "configure"
17029 cat confdefs.h >>conftest.$ac_ext
17030 cat >>conftest.$ac_ext <<_ACEOF
17031 /* end confdefs.h. */
17032 /* System header to define __stub macros and hopefully few prototypes,
17033 which can conflict with char shl_load (); below.
17034 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17035 <limits.h> exists even on freestanding compilers. */
17037 # include <limits.h>
17039 # include <assert.h>
17041 /* Override any gcc2 internal prototype to avoid an error. */
17046 /* We use char because int might match the return type of a gcc2
17047 builtin and then its argument prototype would still apply. */
17049 /* The GNU C library defines this for functions which it implements
17050 to always fail with ENOSYS. Some functions are actually named
17051 something starting with __ and the normal name is an alias. */
17052 #if defined (__stub_shl_load) || defined (__stub___shl_load)
17055 char (*f) () = shl_load;
17064 return f != shl_load;
17069 rm -f conftest.$ac_objext conftest$ac_exeext
17070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17071 (eval $ac_link) 2>&5
17073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17074 (exit $ac_status); } &&
17075 { ac_try='test -s conftest$ac_exeext'
17076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17077 (eval $ac_try) 2>&5
17079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17080 (exit $ac_status); }; }; then
17081 ac_cv_func_shl_load=yes
17083 echo "$as_me: failed program was:" >&5
17084 sed 's/^/| /' conftest.$ac_ext >&5
17086 ac_cv_func_shl_load=no
17088 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17090 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17091 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17092 if test $ac_cv_func_shl_load = yes; then
17093 lt_cv_dlopen="shl_load"
17095 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17096 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17097 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17098 echo $ECHO_N "(cached) $ECHO_C" >&6
17100 ac_check_lib_save_LIBS=$LIBS
17102 cat >conftest.$ac_ext <<_ACEOF
17103 #line $LINENO "configure"
17106 cat confdefs.h >>conftest.$ac_ext
17107 cat >>conftest.$ac_ext <<_ACEOF
17108 /* end confdefs.h. */
17110 /* Override any gcc2 internal prototype to avoid an error. */
17114 /* We use char because int might match the return type of a gcc2
17115 builtin and then its argument prototype would still apply. */
17125 rm -f conftest.$ac_objext conftest$ac_exeext
17126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17127 (eval $ac_link) 2>&5
17129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17130 (exit $ac_status); } &&
17131 { ac_try='test -s conftest$ac_exeext'
17132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17133 (eval $ac_try) 2>&5
17135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17136 (exit $ac_status); }; }; then
17137 ac_cv_lib_dld_shl_load=yes
17139 echo "$as_me: failed program was:" >&5
17140 sed 's/^/| /' conftest.$ac_ext >&5
17142 ac_cv_lib_dld_shl_load=no
17144 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17145 LIBS=$ac_check_lib_save_LIBS
17147 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17148 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17149 if test $ac_cv_lib_dld_shl_load = yes; then
17150 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17152 echo "$as_me:$LINENO: checking for dlopen" >&5
17153 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17154 if test "${ac_cv_func_dlopen+set}" = set; then
17155 echo $ECHO_N "(cached) $ECHO_C" >&6
17157 cat >conftest.$ac_ext <<_ACEOF
17158 #line $LINENO "configure"
17161 cat confdefs.h >>conftest.$ac_ext
17162 cat >>conftest.$ac_ext <<_ACEOF
17163 /* end confdefs.h. */
17164 /* System header to define __stub macros and hopefully few prototypes,
17165 which can conflict with char dlopen (); below.
17166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17167 <limits.h> exists even on freestanding compilers. */
17169 # include <limits.h>
17171 # include <assert.h>
17173 /* Override any gcc2 internal prototype to avoid an error. */
17178 /* We use char because int might match the return type of a gcc2
17179 builtin and then its argument prototype would still apply. */
17181 /* The GNU C library defines this for functions which it implements
17182 to always fail with ENOSYS. Some functions are actually named
17183 something starting with __ and the normal name is an alias. */
17184 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17187 char (*f) () = dlopen;
17196 return f != dlopen;
17201 rm -f conftest.$ac_objext conftest$ac_exeext
17202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17203 (eval $ac_link) 2>&5
17205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17206 (exit $ac_status); } &&
17207 { ac_try='test -s conftest$ac_exeext'
17208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17209 (eval $ac_try) 2>&5
17211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17212 (exit $ac_status); }; }; then
17213 ac_cv_func_dlopen=yes
17215 echo "$as_me: failed program was:" >&5
17216 sed 's/^/| /' conftest.$ac_ext >&5
17218 ac_cv_func_dlopen=no
17220 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17222 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17223 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17224 if test $ac_cv_func_dlopen = yes; then
17225 lt_cv_dlopen="dlopen"
17227 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17228 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17229 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17230 echo $ECHO_N "(cached) $ECHO_C" >&6
17232 ac_check_lib_save_LIBS=$LIBS
17234 cat >conftest.$ac_ext <<_ACEOF
17235 #line $LINENO "configure"
17238 cat confdefs.h >>conftest.$ac_ext
17239 cat >>conftest.$ac_ext <<_ACEOF
17240 /* end confdefs.h. */
17242 /* Override any gcc2 internal prototype to avoid an error. */
17246 /* We use char because int might match the return type of a gcc2
17247 builtin and then its argument prototype would still apply. */
17257 rm -f conftest.$ac_objext conftest$ac_exeext
17258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17259 (eval $ac_link) 2>&5
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); } &&
17263 { ac_try='test -s conftest$ac_exeext'
17264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17265 (eval $ac_try) 2>&5
17267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17268 (exit $ac_status); }; }; then
17269 ac_cv_lib_dl_dlopen=yes
17271 echo "$as_me: failed program was:" >&5
17272 sed 's/^/| /' conftest.$ac_ext >&5
17274 ac_cv_lib_dl_dlopen=no
17276 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17277 LIBS=$ac_check_lib_save_LIBS
17279 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17280 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17281 if test $ac_cv_lib_dl_dlopen = yes; then
17282 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17284 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17285 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17286 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17287 echo $ECHO_N "(cached) $ECHO_C" >&6
17289 ac_check_lib_save_LIBS=$LIBS
17290 LIBS="-lsvld $LIBS"
17291 cat >conftest.$ac_ext <<_ACEOF
17292 #line $LINENO "configure"
17295 cat confdefs.h >>conftest.$ac_ext
17296 cat >>conftest.$ac_ext <<_ACEOF
17297 /* end confdefs.h. */
17299 /* Override any gcc2 internal prototype to avoid an error. */
17303 /* We use char because int might match the return type of a gcc2
17304 builtin and then its argument prototype would still apply. */
17314 rm -f conftest.$ac_objext conftest$ac_exeext
17315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17316 (eval $ac_link) 2>&5
17318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17319 (exit $ac_status); } &&
17320 { ac_try='test -s conftest$ac_exeext'
17321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17322 (eval $ac_try) 2>&5
17324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17325 (exit $ac_status); }; }; then
17326 ac_cv_lib_svld_dlopen=yes
17328 echo "$as_me: failed program was:" >&5
17329 sed 's/^/| /' conftest.$ac_ext >&5
17331 ac_cv_lib_svld_dlopen=no
17333 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17334 LIBS=$ac_check_lib_save_LIBS
17336 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17337 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17338 if test $ac_cv_lib_svld_dlopen = yes; then
17339 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17341 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17342 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17343 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17344 echo $ECHO_N "(cached) $ECHO_C" >&6
17346 ac_check_lib_save_LIBS=$LIBS
17348 cat >conftest.$ac_ext <<_ACEOF
17349 #line $LINENO "configure"
17352 cat confdefs.h >>conftest.$ac_ext
17353 cat >>conftest.$ac_ext <<_ACEOF
17354 /* end confdefs.h. */
17356 /* Override any gcc2 internal prototype to avoid an error. */
17360 /* We use char because int might match the return type of a gcc2
17361 builtin and then its argument prototype would still apply. */
17371 rm -f conftest.$ac_objext conftest$ac_exeext
17372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17373 (eval $ac_link) 2>&5
17375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17376 (exit $ac_status); } &&
17377 { ac_try='test -s conftest$ac_exeext'
17378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17379 (eval $ac_try) 2>&5
17381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17382 (exit $ac_status); }; }; then
17383 ac_cv_lib_dld_dld_link=yes
17385 echo "$as_me: failed program was:" >&5
17386 sed 's/^/| /' conftest.$ac_ext >&5
17388 ac_cv_lib_dld_dld_link=no
17390 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17391 LIBS=$ac_check_lib_save_LIBS
17393 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17394 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17395 if test $ac_cv_lib_dld_dld_link = yes; then
17396 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17417 if test "x$lt_cv_dlopen" != xno; then
17423 case $lt_cv_dlopen in
17425 save_CPPFLAGS="$CPPFLAGS"
17426 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17428 save_LDFLAGS="$LDFLAGS"
17429 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17432 LIBS="$lt_cv_dlopen_libs $LIBS"
17434 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17435 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17436 if test "${lt_cv_dlopen_self+set}" = set; then
17437 echo $ECHO_N "(cached) $ECHO_C" >&6
17439 if test "$cross_compiling" = yes; then :
17440 lt_cv_dlopen_self=cross
17442 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17443 lt_status=$lt_dlunknown
17444 cat > conftest.$ac_ext <<EOF
17445 #line 17445 "configure"
17446 #include "confdefs.h"
17455 # define LT_DLGLOBAL RTLD_GLOBAL
17458 # define LT_DLGLOBAL DL_GLOBAL
17460 # define LT_DLGLOBAL 0
17464 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17465 find out it does not work in some platform. */
17466 #ifndef LT_DLLAZY_OR_NOW
17468 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17471 # define LT_DLLAZY_OR_NOW DL_LAZY
17474 # define LT_DLLAZY_OR_NOW RTLD_NOW
17477 # define LT_DLLAZY_OR_NOW DL_NOW
17479 # define LT_DLLAZY_OR_NOW 0
17487 extern "C" void exit (int);
17490 void fnord() { int i=42;}
17493 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17494 int status = $lt_dlunknown;
17498 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17499 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17500 /* dlclose (self); */
17506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17507 (eval $ac_link) 2>&5
17509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17510 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17511 (./conftest; exit; ) 2>/dev/null
17513 case x$lt_status in
17514 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17515 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17516 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
17519 # compilation failed
17520 lt_cv_dlopen_self=no
17527 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17528 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17530 if test "x$lt_cv_dlopen_self" = xyes; then
17531 LDFLAGS="$LDFLAGS $link_static_flag"
17532 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17533 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17534 if test "${lt_cv_dlopen_self_static+set}" = set; then
17535 echo $ECHO_N "(cached) $ECHO_C" >&6
17537 if test "$cross_compiling" = yes; then :
17538 lt_cv_dlopen_self_static=cross
17540 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17541 lt_status=$lt_dlunknown
17542 cat > conftest.$ac_ext <<EOF
17543 #line 17543 "configure"
17544 #include "confdefs.h"
17553 # define LT_DLGLOBAL RTLD_GLOBAL
17556 # define LT_DLGLOBAL DL_GLOBAL
17558 # define LT_DLGLOBAL 0
17562 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17563 find out it does not work in some platform. */
17564 #ifndef LT_DLLAZY_OR_NOW
17566 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17569 # define LT_DLLAZY_OR_NOW DL_LAZY
17572 # define LT_DLLAZY_OR_NOW RTLD_NOW
17575 # define LT_DLLAZY_OR_NOW DL_NOW
17577 # define LT_DLLAZY_OR_NOW 0
17585 extern "C" void exit (int);
17588 void fnord() { int i=42;}
17591 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17592 int status = $lt_dlunknown;
17596 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17597 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17598 /* dlclose (self); */
17604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17605 (eval $ac_link) 2>&5
17607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17608 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17609 (./conftest; exit; ) 2>/dev/null
17611 case x$lt_status in
17612 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17613 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17614 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
17617 # compilation failed
17618 lt_cv_dlopen_self_static=no
17625 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17626 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17629 CPPFLAGS="$save_CPPFLAGS"
17630 LDFLAGS="$save_LDFLAGS"
17635 case $lt_cv_dlopen_self in
17636 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17637 *) enable_dlopen_self=unknown ;;
17640 case $lt_cv_dlopen_self_static in
17641 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17642 *) enable_dlopen_self_static=unknown ;;
17647 # The else clause should only fire when bootstrapping the
17648 # libtool distribution, otherwise you forgot to ship ltmain.sh
17649 # with your package, and you will get complaints that there are
17650 # no rules to generate ltmain.sh.
17651 if test -f "$ltmain"; then
17652 # See if we are running on zsh, and set the options which allow our commands through
17653 # without removal of \ escapes.
17654 if test -n "${ZSH_VERSION+set}" ; then
17655 setopt NO_GLOB_SUBST
17657 # Now quote all the things that may contain metacharacters while being
17658 # careful not to overquote the AC_SUBSTed values. We take copies of the
17659 # variables and quote the copies for generation of the libtool script.
17660 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17661 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17662 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17663 deplibs_check_method reload_flag reload_cmds need_locks \
17664 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17665 lt_cv_sys_global_symbol_to_c_name_address \
17666 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17667 old_postinstall_cmds old_postuninstall_cmds \
17671 lt_prog_compiler_wl_GCJ \
17672 lt_prog_compiler_pic_GCJ \
17673 lt_prog_compiler_static_GCJ \
17674 lt_prog_compiler_no_builtin_flag_GCJ \
17675 export_dynamic_flag_spec_GCJ \
17676 thread_safe_flag_spec_GCJ \
17677 whole_archive_flag_spec_GCJ \
17678 enable_shared_with_static_runtimes_GCJ \
17679 old_archive_cmds_GCJ \
17680 old_archive_from_new_cmds_GCJ \
17681 predep_objects_GCJ \
17682 postdep_objects_GCJ \
17685 compiler_lib_search_path_GCJ \
17687 archive_expsym_cmds_GCJ \
17688 postinstall_cmds_GCJ \
17689 postuninstall_cmds_GCJ \
17690 old_archive_from_expsyms_cmds_GCJ \
17691 allow_undefined_flag_GCJ \
17692 no_undefined_flag_GCJ \
17693 export_symbols_cmds_GCJ \
17694 hardcode_libdir_flag_spec_GCJ \
17695 hardcode_libdir_flag_spec_ld_GCJ \
17696 hardcode_libdir_separator_GCJ \
17697 hardcode_automatic_GCJ \
17699 module_expsym_cmds_GCJ \
17700 lt_cv_prog_compiler_c_o_GCJ \
17701 exclude_expsyms_GCJ \
17702 include_expsyms_GCJ; do
17705 old_archive_cmds_GCJ | \
17706 old_archive_from_new_cmds_GCJ | \
17707 archive_cmds_GCJ | \
17708 archive_expsym_cmds_GCJ | \
17709 module_cmds_GCJ | \
17710 module_expsym_cmds_GCJ | \
17711 old_archive_from_expsyms_cmds_GCJ | \
17712 export_symbols_cmds_GCJ | \
17713 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17714 postinstall_cmds | postuninstall_cmds | \
17715 old_postinstall_cmds | old_postuninstall_cmds | \
17716 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17717 # Double-quote double-evaled strings.
17718 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17721 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17727 *'\$0 --fallback-echo"')
17728 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17734 cat <<__EOF__ >> "$cfgfile"
17735 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17737 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17739 # Shell to use when invoking shell scripts.
17742 # Whether or not to build shared libraries.
17743 build_libtool_libs=$enable_shared
17745 # Whether or not to build static libraries.
17746 build_old_libs=$enable_static
17748 # Whether or not to add -lc for building shared libraries.
17749 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17751 # Whether or not to disallow shared libs when runtime libs are static
17752 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17754 # Whether or not to optimize for fast installation.
17755 fast_install=$enable_fast_install
17758 host_alias=$host_alias
17761 # An echo program that does not interpret backslashes.
17766 AR_FLAGS=$lt_AR_FLAGS
17771 # A language-specific compiler.
17772 CC=$lt_compiler_GCJ
17774 # Is the compiler the GNU C compiler?
17780 # The linker used to build libraries.
17783 # Whether we need hard or soft links.
17786 # A BSD-compatible nm program.
17789 # A symbol stripping program
17792 # Used to examine libraries when file_magic_cmd begins "file"
17793 MAGIC_CMD=$MAGIC_CMD
17795 # Used on cygwin: DLL creation program.
17798 # Used on cygwin: object dumper.
17801 # Used on cygwin: assembler.
17804 # The name of the directory that contains temporary libtool files.
17807 # How to create reloadable object files.
17808 reload_flag=$lt_reload_flag
17809 reload_cmds=$lt_reload_cmds
17811 # How to pass a linker flag through the compiler.
17812 wl=$lt_lt_prog_compiler_wl_GCJ
17814 # Object file suffix (normally "o").
17815 objext="$ac_objext"
17817 # Old archive suffix (normally "a").
17820 # Shared library suffix (normally ".so").
17823 # Executable file suffix (normally "").
17826 # Additional compiler flags for building library objects.
17827 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17830 # What is the maximum length of a command?
17831 max_cmd_len=$lt_cv_sys_max_cmd_len
17833 # Does compiler simultaneously support -c and -o options?
17834 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17836 # Must we lock files when doing compilation ?
17837 need_locks=$lt_need_locks
17839 # Do we need the lib prefix for modules?
17840 need_lib_prefix=$need_lib_prefix
17842 # Do we need a version for libraries?
17843 need_version=$need_version
17845 # Whether dlopen is supported.
17846 dlopen_support=$enable_dlopen
17848 # Whether dlopen of programs is supported.
17849 dlopen_self=$enable_dlopen_self
17851 # Whether dlopen of statically linked programs is supported.
17852 dlopen_self_static=$enable_dlopen_self_static
17854 # Compiler flag to prevent dynamic linking.
17855 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17857 # Compiler flag to turn off builtin functions.
17858 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17860 # Compiler flag to allow reflexive dlopens.
17861 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17863 # Compiler flag to generate shared objects directly from archives.
17864 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17866 # Compiler flag to generate thread-safe objects.
17867 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17869 # Library versioning type.
17870 version_type=$version_type
17872 # Format of library name prefix.
17873 libname_spec=$lt_libname_spec
17875 # List of archive names. First name is the real one, the rest are links.
17876 # The last name is the one that the linker finds with -lNAME.
17877 library_names_spec=$lt_library_names_spec
17879 # The coded name of the library, if different from the real name.
17880 soname_spec=$lt_soname_spec
17882 # Commands used to build and install an old-style archive.
17884 old_archive_cmds=$lt_old_archive_cmds_GCJ
17885 old_postinstall_cmds=$lt_old_postinstall_cmds
17886 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17888 # Create an old-style archive from a shared archive.
17889 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17891 # Create a temporary old-style archive to link instead of a shared archive.
17892 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17894 # Commands used to build and install a shared archive.
17895 archive_cmds=$lt_archive_cmds_GCJ
17896 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17897 postinstall_cmds=$lt_postinstall_cmds
17898 postuninstall_cmds=$lt_postuninstall_cmds
17900 # Commands used to build a loadable module (assumed same as above if empty)
17901 module_cmds=$lt_module_cmds_GCJ
17902 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17904 # Commands to strip libraries.
17905 old_striplib=$lt_old_striplib
17906 striplib=$lt_striplib
17908 # Dependencies to place before the objects being linked to create a
17910 predep_objects=$lt_predep_objects_GCJ
17912 # Dependencies to place after the objects being linked to create a
17914 postdep_objects=$lt_postdep_objects_GCJ
17916 # Dependencies to place before the objects being linked to create a
17918 predeps=$lt_predeps_GCJ
17920 # Dependencies to place after the objects being linked to create a
17922 postdeps=$lt_postdeps_GCJ
17924 # The library search path used internally by the compiler when linking
17925 # a shared library.
17926 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17928 # Method to check whether dependent libraries are shared objects.
17929 deplibs_check_method=$lt_deplibs_check_method
17931 # Command to use when deplibs_check_method == file_magic.
17932 file_magic_cmd=$lt_file_magic_cmd
17934 # Flag that allows shared libraries with undefined symbols to be built.
17935 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17937 # Flag that forces no undefined symbols.
17938 no_undefined_flag=$lt_no_undefined_flag_GCJ
17940 # Commands used to finish a libtool library installation in a directory.
17941 finish_cmds=$lt_finish_cmds
17943 # Same as above, but a single script fragment to be evaled but not shown.
17944 finish_eval=$lt_finish_eval
17946 # Take the output of nm and produce a listing of raw symbols and C names.
17947 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17949 # Transform the output of nm in a proper C declaration
17950 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17952 # Transform the output of nm in a C name address pair
17953 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17955 # This is the shared library runtime path variable.
17956 runpath_var=$runpath_var
17958 # This is the shared library path variable.
17959 shlibpath_var=$shlibpath_var
17961 # Is shlibpath searched before the hard-coded library search path?
17962 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17964 # How to hardcode a shared library path into an executable.
17965 hardcode_action=$hardcode_action_GCJ
17967 # Whether we should hardcode library paths into libraries.
17968 hardcode_into_libs=$hardcode_into_libs
17970 # Flag to hardcode \$libdir into a binary during linking.
17971 # This must work even if \$libdir does not exist.
17972 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17974 # If ld is used when linking, flag to hardcode \$libdir into
17975 # a binary during linking. This must work even if \$libdir does
17977 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17979 # Whether we need a single -rpath flag with a separated argument.
17980 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17982 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17983 # resulting binary.
17984 hardcode_direct=$hardcode_direct_GCJ
17986 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17987 # resulting binary.
17988 hardcode_minus_L=$hardcode_minus_L_GCJ
17990 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17991 # the resulting binary.
17992 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17994 # Set to yes if building a shared library automatically hardcodes DIR into the library
17995 # and all subsequent libraries and executables linked against it.
17996 hardcode_automatic=$hardcode_automatic_GCJ
17998 # Variables whose values should be saved in libtool wrapper scripts and
17999 # restored at relink time.
18000 variables_saved_for_relink="$variables_saved_for_relink"
18002 # Whether libtool must link a program against all its dependency libraries.
18003 link_all_deplibs=$link_all_deplibs_GCJ
18005 # Compile-time system search path for libraries
18006 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18008 # Run-time system search path for libraries
18009 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18011 # Fix the shell variable \$srcfile for the compiler.
18012 fix_srcfile_path="$fix_srcfile_path_GCJ"
18014 # Set to yes if exported symbols are required.
18015 always_export_symbols=$always_export_symbols_GCJ
18017 # The commands to list exported symbols.
18018 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
18020 # The commands to extract the exported symbol list from a shared archive.
18021 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18023 # Symbols that should not be listed in the preloaded symbols.
18024 exclude_expsyms=$lt_exclude_expsyms_GCJ
18026 # Symbols that must always be exported.
18027 include_expsyms=$lt_include_expsyms_GCJ
18029 # ### END LIBTOOL TAG CONFIG: $tagname
18035 # If there is no Makefile yet, we rely on a make rule to execute
18036 # `config.status --recheck' to rerun these tests and create the
18037 # libtool script then.
18038 test -f Makefile && make "$ltmain"
18043 ac_cpp='$CPP $CPPFLAGS'
18044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18059 # Source file extension for RC test sources.
18062 # Object file extension for compiled RC test sources.
18066 # Code to be used in simple compile tests
18067 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18069 # Code to be used in simple link tests
18070 lt_simple_link_test_code="$lt_simple_compile_test_code"
18072 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18074 # If no C compiler was specified, use CC.
18077 # Allow CC to be a program name with arguments.
18081 # Allow CC to be a program name with arguments.
18086 lt_cv_prog_compiler_c_o_RC=yes
18088 # The else clause should only fire when bootstrapping the
18089 # libtool distribution, otherwise you forgot to ship ltmain.sh
18090 # with your package, and you will get complaints that there are
18091 # no rules to generate ltmain.sh.
18092 if test -f "$ltmain"; then
18093 # See if we are running on zsh, and set the options which allow our commands through
18094 # without removal of \ escapes.
18095 if test -n "${ZSH_VERSION+set}" ; then
18096 setopt NO_GLOB_SUBST
18098 # Now quote all the things that may contain metacharacters while being
18099 # careful not to overquote the AC_SUBSTed values. We take copies of the
18100 # variables and quote the copies for generation of the libtool script.
18101 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18102 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18103 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18104 deplibs_check_method reload_flag reload_cmds need_locks \
18105 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18106 lt_cv_sys_global_symbol_to_c_name_address \
18107 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18108 old_postinstall_cmds old_postuninstall_cmds \
18112 lt_prog_compiler_wl_RC \
18113 lt_prog_compiler_pic_RC \
18114 lt_prog_compiler_static_RC \
18115 lt_prog_compiler_no_builtin_flag_RC \
18116 export_dynamic_flag_spec_RC \
18117 thread_safe_flag_spec_RC \
18118 whole_archive_flag_spec_RC \
18119 enable_shared_with_static_runtimes_RC \
18120 old_archive_cmds_RC \
18121 old_archive_from_new_cmds_RC \
18122 predep_objects_RC \
18123 postdep_objects_RC \
18126 compiler_lib_search_path_RC \
18128 archive_expsym_cmds_RC \
18129 postinstall_cmds_RC \
18130 postuninstall_cmds_RC \
18131 old_archive_from_expsyms_cmds_RC \
18132 allow_undefined_flag_RC \
18133 no_undefined_flag_RC \
18134 export_symbols_cmds_RC \
18135 hardcode_libdir_flag_spec_RC \
18136 hardcode_libdir_flag_spec_ld_RC \
18137 hardcode_libdir_separator_RC \
18138 hardcode_automatic_RC \
18140 module_expsym_cmds_RC \
18141 lt_cv_prog_compiler_c_o_RC \
18142 exclude_expsyms_RC \
18143 include_expsyms_RC; do
18146 old_archive_cmds_RC | \
18147 old_archive_from_new_cmds_RC | \
18148 archive_cmds_RC | \
18149 archive_expsym_cmds_RC | \
18151 module_expsym_cmds_RC | \
18152 old_archive_from_expsyms_cmds_RC | \
18153 export_symbols_cmds_RC | \
18154 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18155 postinstall_cmds | postuninstall_cmds | \
18156 old_postinstall_cmds | old_postuninstall_cmds | \
18157 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18158 # Double-quote double-evaled strings.
18159 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18162 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18168 *'\$0 --fallback-echo"')
18169 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18175 cat <<__EOF__ >> "$cfgfile"
18176 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18178 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18180 # Shell to use when invoking shell scripts.
18183 # Whether or not to build shared libraries.
18184 build_libtool_libs=$enable_shared
18186 # Whether or not to build static libraries.
18187 build_old_libs=$enable_static
18189 # Whether or not to add -lc for building shared libraries.
18190 build_libtool_need_lc=$archive_cmds_need_lc_RC
18192 # Whether or not to disallow shared libs when runtime libs are static
18193 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18195 # Whether or not to optimize for fast installation.
18196 fast_install=$enable_fast_install
18199 host_alias=$host_alias
18202 # An echo program that does not interpret backslashes.
18207 AR_FLAGS=$lt_AR_FLAGS
18212 # A language-specific compiler.
18215 # Is the compiler the GNU C compiler?
18221 # The linker used to build libraries.
18224 # Whether we need hard or soft links.
18227 # A BSD-compatible nm program.
18230 # A symbol stripping program
18233 # Used to examine libraries when file_magic_cmd begins "file"
18234 MAGIC_CMD=$MAGIC_CMD
18236 # Used on cygwin: DLL creation program.
18239 # Used on cygwin: object dumper.
18242 # Used on cygwin: assembler.
18245 # The name of the directory that contains temporary libtool files.
18248 # How to create reloadable object files.
18249 reload_flag=$lt_reload_flag
18250 reload_cmds=$lt_reload_cmds
18252 # How to pass a linker flag through the compiler.
18253 wl=$lt_lt_prog_compiler_wl_RC
18255 # Object file suffix (normally "o").
18256 objext="$ac_objext"
18258 # Old archive suffix (normally "a").
18261 # Shared library suffix (normally ".so").
18264 # Executable file suffix (normally "").
18267 # Additional compiler flags for building library objects.
18268 pic_flag=$lt_lt_prog_compiler_pic_RC
18271 # What is the maximum length of a command?
18272 max_cmd_len=$lt_cv_sys_max_cmd_len
18274 # Does compiler simultaneously support -c and -o options?
18275 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18277 # Must we lock files when doing compilation ?
18278 need_locks=$lt_need_locks
18280 # Do we need the lib prefix for modules?
18281 need_lib_prefix=$need_lib_prefix
18283 # Do we need a version for libraries?
18284 need_version=$need_version
18286 # Whether dlopen is supported.
18287 dlopen_support=$enable_dlopen
18289 # Whether dlopen of programs is supported.
18290 dlopen_self=$enable_dlopen_self
18292 # Whether dlopen of statically linked programs is supported.
18293 dlopen_self_static=$enable_dlopen_self_static
18295 # Compiler flag to prevent dynamic linking.
18296 link_static_flag=$lt_lt_prog_compiler_static_RC
18298 # Compiler flag to turn off builtin functions.
18299 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18301 # Compiler flag to allow reflexive dlopens.
18302 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18304 # Compiler flag to generate shared objects directly from archives.
18305 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18307 # Compiler flag to generate thread-safe objects.
18308 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18310 # Library versioning type.
18311 version_type=$version_type
18313 # Format of library name prefix.
18314 libname_spec=$lt_libname_spec
18316 # List of archive names. First name is the real one, the rest are links.
18317 # The last name is the one that the linker finds with -lNAME.
18318 library_names_spec=$lt_library_names_spec
18320 # The coded name of the library, if different from the real name.
18321 soname_spec=$lt_soname_spec
18323 # Commands used to build and install an old-style archive.
18325 old_archive_cmds=$lt_old_archive_cmds_RC
18326 old_postinstall_cmds=$lt_old_postinstall_cmds
18327 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18329 # Create an old-style archive from a shared archive.
18330 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18332 # Create a temporary old-style archive to link instead of a shared archive.
18333 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18335 # Commands used to build and install a shared archive.
18336 archive_cmds=$lt_archive_cmds_RC
18337 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18338 postinstall_cmds=$lt_postinstall_cmds
18339 postuninstall_cmds=$lt_postuninstall_cmds
18341 # Commands used to build a loadable module (assumed same as above if empty)
18342 module_cmds=$lt_module_cmds_RC
18343 module_expsym_cmds=$lt_module_expsym_cmds_RC
18345 # Commands to strip libraries.
18346 old_striplib=$lt_old_striplib
18347 striplib=$lt_striplib
18349 # Dependencies to place before the objects being linked to create a
18351 predep_objects=$lt_predep_objects_RC
18353 # Dependencies to place after the objects being linked to create a
18355 postdep_objects=$lt_postdep_objects_RC
18357 # Dependencies to place before the objects being linked to create a
18359 predeps=$lt_predeps_RC
18361 # Dependencies to place after the objects being linked to create a
18363 postdeps=$lt_postdeps_RC
18365 # The library search path used internally by the compiler when linking
18366 # a shared library.
18367 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18369 # Method to check whether dependent libraries are shared objects.
18370 deplibs_check_method=$lt_deplibs_check_method
18372 # Command to use when deplibs_check_method == file_magic.
18373 file_magic_cmd=$lt_file_magic_cmd
18375 # Flag that allows shared libraries with undefined symbols to be built.
18376 allow_undefined_flag=$lt_allow_undefined_flag_RC
18378 # Flag that forces no undefined symbols.
18379 no_undefined_flag=$lt_no_undefined_flag_RC
18381 # Commands used to finish a libtool library installation in a directory.
18382 finish_cmds=$lt_finish_cmds
18384 # Same as above, but a single script fragment to be evaled but not shown.
18385 finish_eval=$lt_finish_eval
18387 # Take the output of nm and produce a listing of raw symbols and C names.
18388 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18390 # Transform the output of nm in a proper C declaration
18391 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18393 # Transform the output of nm in a C name address pair
18394 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18396 # This is the shared library runtime path variable.
18397 runpath_var=$runpath_var
18399 # This is the shared library path variable.
18400 shlibpath_var=$shlibpath_var
18402 # Is shlibpath searched before the hard-coded library search path?
18403 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18405 # How to hardcode a shared library path into an executable.
18406 hardcode_action=$hardcode_action_RC
18408 # Whether we should hardcode library paths into libraries.
18409 hardcode_into_libs=$hardcode_into_libs
18411 # Flag to hardcode \$libdir into a binary during linking.
18412 # This must work even if \$libdir does not exist.
18413 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18415 # If ld is used when linking, flag to hardcode \$libdir into
18416 # a binary during linking. This must work even if \$libdir does
18418 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18420 # Whether we need a single -rpath flag with a separated argument.
18421 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18423 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18424 # resulting binary.
18425 hardcode_direct=$hardcode_direct_RC
18427 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18428 # resulting binary.
18429 hardcode_minus_L=$hardcode_minus_L_RC
18431 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18432 # the resulting binary.
18433 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18435 # Set to yes if building a shared library automatically hardcodes DIR into the library
18436 # and all subsequent libraries and executables linked against it.
18437 hardcode_automatic=$hardcode_automatic_RC
18439 # Variables whose values should be saved in libtool wrapper scripts and
18440 # restored at relink time.
18441 variables_saved_for_relink="$variables_saved_for_relink"
18443 # Whether libtool must link a program against all its dependency libraries.
18444 link_all_deplibs=$link_all_deplibs_RC
18446 # Compile-time system search path for libraries
18447 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18449 # Run-time system search path for libraries
18450 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18452 # Fix the shell variable \$srcfile for the compiler.
18453 fix_srcfile_path="$fix_srcfile_path_RC"
18455 # Set to yes if exported symbols are required.
18456 always_export_symbols=$always_export_symbols_RC
18458 # The commands to list exported symbols.
18459 export_symbols_cmds=$lt_export_symbols_cmds_RC
18461 # The commands to extract the exported symbol list from a shared archive.
18462 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18464 # Symbols that should not be listed in the preloaded symbols.
18465 exclude_expsyms=$lt_exclude_expsyms_RC
18467 # Symbols that must always be exported.
18468 include_expsyms=$lt_include_expsyms_RC
18470 # ### END LIBTOOL TAG CONFIG: $tagname
18476 # If there is no Makefile yet, we rely on a make rule to execute
18477 # `config.status --recheck' to rerun these tests and create the
18478 # libtool script then.
18479 test -f Makefile && make "$ltmain"
18484 ac_cpp='$CPP $CPPFLAGS'
18485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18494 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18495 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18496 { (exit 1); exit 1; }; }
18500 # Append the new tag name to the list of available tags.
18501 if test -n "$tagname" ; then
18502 available_tags="$available_tags $tagname"
18508 # Now substitute the updated list of available tags.
18509 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18510 mv "${ofile}T" "$ofile"
18514 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18515 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18516 { (exit 1); exit 1; }; }
18522 # This can be used to rebuild libtool when needed
18523 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18525 # Always use our own libtool.
18526 LIBTOOL='$(SHELL) $(top_builddir)/mklib'
18528 # Prevent multiple expansion
18550 # Extract the first word of "pwd", so it can be a program name with args.
18551 set dummy pwd; ac_word=$2
18552 echo "$as_me:$LINENO: checking for $ac_word" >&5
18553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18554 if test "${ac_cv_path_RPWD+set}" = set; then
18555 echo $ECHO_N "(cached) $ECHO_C" >&6
18559 ac_cv_path_RPWD="$RPWD" # Let the user override the test with a path.
18562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18563 for as_dir in $PATH
18566 test -z "$as_dir" && as_dir=.
18567 for ac_exec_ext in '' $ac_executable_extensions; do
18568 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18569 ac_cv_path_RPWD="$as_dir/$ac_word$ac_exec_ext"
18570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18576 test -z "$ac_cv_path_RPWD" && ac_cv_path_RPWD="false"
18580 RPWD=$ac_cv_path_RPWD
18582 if test -n "$RPWD"; then
18583 echo "$as_me:$LINENO: result: $RPWD" >&5
18584 echo "${ECHO_T}$RPWD" >&6
18586 echo "$as_me:$LINENO: result: no" >&5
18587 echo "${ECHO_T}no" >&6
18590 if test ${RPWD} = "false"
18592 { { echo "$as_me:$LINENO: error: pwd required but not found" >&5
18593 echo "$as_me: error: pwd required but not found" >&2;}
18594 { (exit 1); exit 1; }; }
18597 # Extract the first word of "ar", so it can be a program name with args.
18598 set dummy ar; ac_word=$2
18599 echo "$as_me:$LINENO: checking for $ac_word" >&5
18600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18601 if test "${ac_cv_path_AR+set}" = set; then
18602 echo $ECHO_N "(cached) $ECHO_C" >&6
18606 ac_cv_path_AR="$AR" # Let the user override the test with a path.
18609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18610 for as_dir in $PATH
18613 test -z "$as_dir" && as_dir=.
18614 for ac_exec_ext in '' $ac_executable_extensions; do
18615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18616 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
18617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18623 test -z "$ac_cv_path_AR" && ac_cv_path_AR="false"
18629 if test -n "$AR"; then
18630 echo "$as_me:$LINENO: result: $AR" >&5
18631 echo "${ECHO_T}$AR" >&6
18633 echo "$as_me:$LINENO: result: no" >&5
18634 echo "${ECHO_T}no" >&6
18637 if test ${AR} = "false"
18639 { { echo "$as_me:$LINENO: error: ar required but not found" >&5
18640 echo "$as_me: error: ar required but not found" >&2;}
18641 { (exit 1); exit 1; }; }
18644 # Extract the first word of "sed", so it can be a program name with args.
18645 set dummy sed; ac_word=$2
18646 echo "$as_me:$LINENO: checking for $ac_word" >&5
18647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18648 if test "${ac_cv_path_SED+set}" = set; then
18649 echo $ECHO_N "(cached) $ECHO_C" >&6
18653 ac_cv_path_SED="$SED" # Let the user override the test with a path.
18656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18657 for as_dir in $PATH
18660 test -z "$as_dir" && as_dir=.
18661 for ac_exec_ext in '' $ac_executable_extensions; do
18662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18663 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
18664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18670 test -z "$ac_cv_path_SED" && ac_cv_path_SED="false"
18674 SED=$ac_cv_path_SED
18676 if test -n "$SED"; then
18677 echo "$as_me:$LINENO: result: $SED" >&5
18678 echo "${ECHO_T}$SED" >&6
18680 echo "$as_me:$LINENO: result: no" >&5
18681 echo "${ECHO_T}no" >&6
18684 if test ${SED} = "false"
18686 { { echo "$as_me:$LINENO: error: sed required but not found" >&5
18687 echo "$as_me: error: sed required but not found" >&2;}
18688 { (exit 1); exit 1; }; }
18691 # Extract the first word of "rm", so it can be a program name with args.
18692 set dummy rm; ac_word=$2
18693 echo "$as_me:$LINENO: checking for $ac_word" >&5
18694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18695 if test "${ac_cv_path_RM+set}" = set; then
18696 echo $ECHO_N "(cached) $ECHO_C" >&6
18700 ac_cv_path_RM="$RM" # Let the user override the test with a path.
18703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18704 for as_dir in $PATH
18707 test -z "$as_dir" && as_dir=.
18708 for ac_exec_ext in '' $ac_executable_extensions; do
18709 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18710 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
18711 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18717 test -z "$ac_cv_path_RM" && ac_cv_path_RM="false"
18723 if test -n "$RM"; then
18724 echo "$as_me:$LINENO: result: $RM" >&5
18725 echo "${ECHO_T}$RM" >&6
18727 echo "$as_me:$LINENO: result: no" >&5
18728 echo "${ECHO_T}no" >&6
18731 if test ${RM} = "false"
18733 { { echo "$as_me:$LINENO: error: rm required but not found" >&5
18734 echo "$as_me: error: rm required but not found" >&2;}
18735 { (exit 1); exit 1; }; }
18738 # Extract the first word of "echo", so it can be a program name with args.
18739 set dummy echo; ac_word=$2
18740 echo "$as_me:$LINENO: checking for $ac_word" >&5
18741 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18742 if test "${ac_cv_path_ECHO+set}" = set; then
18743 echo $ECHO_N "(cached) $ECHO_C" >&6
18747 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
18750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18751 for as_dir in $PATH
18754 test -z "$as_dir" && as_dir=.
18755 for ac_exec_ext in '' $ac_executable_extensions; do
18756 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18757 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
18758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18764 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="false"
18768 ECHO=$ac_cv_path_ECHO
18770 if test -n "$ECHO"; then
18771 echo "$as_me:$LINENO: result: $ECHO" >&5
18772 echo "${ECHO_T}$ECHO" >&6
18774 echo "$as_me:$LINENO: result: no" >&5
18775 echo "${ECHO_T}no" >&6
18778 if test ${ECHO} = "false"
18780 { { echo "$as_me:$LINENO: error: echo required but not found" >&5
18781 echo "$as_me: error: echo required but not found" >&2;}
18782 { (exit 1); exit 1; }; }
18785 # Extract the first word of "mkdir", so it can be a program name with args.
18786 set dummy mkdir; ac_word=$2
18787 echo "$as_me:$LINENO: checking for $ac_word" >&5
18788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18789 if test "${ac_cv_path_MKDIR+set}" = set; then
18790 echo $ECHO_N "(cached) $ECHO_C" >&6
18794 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
18797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18798 for as_dir in $PATH
18801 test -z "$as_dir" && as_dir=.
18802 for ac_exec_ext in '' $ac_executable_extensions; do
18803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18804 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
18805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18811 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR="false"
18815 MKDIR=$ac_cv_path_MKDIR
18817 if test -n "$MKDIR"; then
18818 echo "$as_me:$LINENO: result: $MKDIR" >&5
18819 echo "${ECHO_T}$MKDIR" >&6
18821 echo "$as_me:$LINENO: result: no" >&5
18822 echo "${ECHO_T}no" >&6
18825 if test ${MKDIR} = "false"
18827 { { echo "$as_me:$LINENO: error: mkdir required but not found" >&5
18828 echo "$as_me: error: mkdir required but not found" >&2;}
18829 { (exit 1); exit 1; }; }
18832 # Extract the first word of "date", so it can be a program name with args.
18833 set dummy date; ac_word=$2
18834 echo "$as_me:$LINENO: checking for $ac_word" >&5
18835 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18836 if test "${ac_cv_path_DATE+set}" = set; then
18837 echo $ECHO_N "(cached) $ECHO_C" >&6
18841 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
18844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18845 for as_dir in $PATH
18848 test -z "$as_dir" && as_dir=.
18849 for ac_exec_ext in '' $ac_executable_extensions; do
18850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18851 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
18852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18858 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE="false"
18862 DATE=$ac_cv_path_DATE
18864 if test -n "$DATE"; then
18865 echo "$as_me:$LINENO: result: $DATE" >&5
18866 echo "${ECHO_T}$DATE" >&6
18868 echo "$as_me:$LINENO: result: no" >&5
18869 echo "${ECHO_T}no" >&6
18872 if test ${DATE} = "false"
18874 { { echo "$as_me:$LINENO: error: date required but not found" >&5
18875 echo "$as_me: error: date required but not found" >&2;}
18876 { (exit 1); exit 1; }; }
18879 # Extract the first word of "mv", so it can be a program name with args.
18880 set dummy mv; ac_word=$2
18881 echo "$as_me:$LINENO: checking for $ac_word" >&5
18882 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18883 if test "${ac_cv_path_MV+set}" = set; then
18884 echo $ECHO_N "(cached) $ECHO_C" >&6
18888 ac_cv_path_MV="$MV" # Let the user override the test with a path.
18891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18892 for as_dir in $PATH
18895 test -z "$as_dir" && as_dir=.
18896 for ac_exec_ext in '' $ac_executable_extensions; do
18897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18898 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
18899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18905 test -z "$ac_cv_path_MV" && ac_cv_path_MV="false"
18911 if test -n "$MV"; then
18912 echo "$as_me:$LINENO: result: $MV" >&5
18913 echo "${ECHO_T}$MV" >&6
18915 echo "$as_me:$LINENO: result: no" >&5
18916 echo "${ECHO_T}no" >&6
18919 if test ${MV} = "false"
18921 { { echo "$as_me:$LINENO: error: mv required but not found" >&5
18922 echo "$as_me: error: mv required but not found" >&2;}
18923 { (exit 1); exit 1; }; }
18926 # Extract the first word of "dot", so it can be a program name with args.
18927 set dummy dot; ac_word=$2
18928 echo "$as_me:$LINENO: checking for $ac_word" >&5
18929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18930 if test "${ac_cv_path_DOT+set}" = set; then
18931 echo $ECHO_N "(cached) $ECHO_C" >&6
18935 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18939 for as_dir in $PATH
18942 test -z "$as_dir" && as_dir=.
18943 for ac_exec_ext in '' $ac_executable_extensions; do
18944 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18945 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18952 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="false"
18956 DOT=$ac_cv_path_DOT
18958 if test -n "$DOT"; then
18959 echo "$as_me:$LINENO: result: $DOT" >&5
18960 echo "${ECHO_T}$DOT" >&6
18962 echo "$as_me:$LINENO: result: no" >&5
18963 echo "${ECHO_T}no" >&6
18967 # Extract the first word of "etags", so it can be a program name with args.
18968 set dummy etags; ac_word=$2
18969 echo "$as_me:$LINENO: checking for $ac_word" >&5
18970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18971 if test "${ac_cv_path_ETAGS+set}" = set; then
18972 echo $ECHO_N "(cached) $ECHO_C" >&6
18976 ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
18979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18980 for as_dir in $PATH
18983 test -z "$as_dir" && as_dir=.
18984 for ac_exec_ext in '' $ac_executable_extensions; do
18985 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18986 ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext"
18987 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18993 test -z "$ac_cv_path_ETAGS" && ac_cv_path_ETAGS="false"
18997 ETAGS=$ac_cv_path_ETAGS
18999 if test -n "$ETAGS"; then
19000 echo "$as_me:$LINENO: result: $ETAGS" >&5
19001 echo "${ECHO_T}$ETAGS" >&6
19003 echo "$as_me:$LINENO: result: no" >&5
19004 echo "${ECHO_T}no" >&6
19008 # Extract the first word of "python", so it can be a program name with args.
19009 set dummy python; ac_word=$2
19010 echo "$as_me:$LINENO: checking for $ac_word" >&5
19011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19012 if test "${ac_cv_path_PYTHON+set}" = set; then
19013 echo $ECHO_N "(cached) $ECHO_C" >&6
19017 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
19020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19021 for as_dir in $PATH
19024 test -z "$as_dir" && as_dir=.
19025 for ac_exec_ext in '' $ac_executable_extensions; do
19026 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19027 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
19028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19034 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="false"
19038 PYTHON=$ac_cv_path_PYTHON
19040 if test -n "$PYTHON"; then
19041 echo "$as_me:$LINENO: result: $PYTHON" >&5
19042 echo "${ECHO_T}$PYTHON" >&6
19044 echo "$as_me:$LINENO: result: no" >&5
19045 echo "${ECHO_T}no" >&6
19048 if test ${PYTHON} = "false"
19050 { echo "$as_me:$LINENO: WARNING: python required but not found" >&5
19051 echo "$as_me: WARNING: python required but not found" >&2;}
19054 # Extract the first word of "qmtest", so it can be a program name with args.
19055 set dummy qmtest; ac_word=$2
19056 echo "$as_me:$LINENO: checking for $ac_word" >&5
19057 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19058 if test "${ac_cv_path_QMTEST+set}" = set; then
19059 echo $ECHO_N "(cached) $ECHO_C" >&6
19063 ac_cv_path_QMTEST="$QMTEST" # Let the user override the test with a path.
19066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19067 for as_dir in $PATH
19070 test -z "$as_dir" && as_dir=.
19071 for ac_exec_ext in '' $ac_executable_extensions; do
19072 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19073 ac_cv_path_QMTEST="$as_dir/$ac_word$ac_exec_ext"
19074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19080 test -z "$ac_cv_path_QMTEST" && ac_cv_path_QMTEST="false"
19084 QMTEST=$ac_cv_path_QMTEST
19086 if test -n "$QMTEST"; then
19087 echo "$as_me:$LINENO: result: $QMTEST" >&5
19088 echo "${ECHO_T}$QMTEST" >&6
19090 echo "$as_me:$LINENO: result: no" >&5
19091 echo "${ECHO_T}no" >&6
19094 if test ${QMTEST} = "false"
19096 { echo "$as_me:$LINENO: WARNING: qmtest required but not found" >&5
19097 echo "$as_me: WARNING: qmtest required but not found" >&2;}
19100 pyversion=`$PYTHON -V 2>&1 | cut -d\ -f2`
19101 pymajor=`echo $pyversion | cut -d. -f1`
19102 pyminor=`echo $pyversion | cut -d. -f2`
19104 if test "$pymajor" -ge "2"
19106 if test "$pymajor" -eq "2"
19108 if test "$pyminor" -lt "2"
19110 { echo "$as_me:$LINENO: WARNING: Python 2.2 or greater required for qmtest" >&5
19111 echo "$as_me: WARNING: Python 2.2 or greater required for qmtest" >&2;}
19115 { echo "$as_me:$LINENO: WARNING: Python 2.2 or greater required for qmtest" >&5
19116 echo "$as_me: WARNING: Python 2.2 or greater required for qmtest" >&2;}
19123 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
19124 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
19125 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
19126 echo $ECHO_N "(cached) $ECHO_C" >&6
19128 ac_check_lib_save_LIBS=$LIBS
19130 cat >conftest.$ac_ext <<_ACEOF
19131 #line $LINENO "configure"
19134 cat confdefs.h >>conftest.$ac_ext
19135 cat >>conftest.$ac_ext <<_ACEOF
19136 /* end confdefs.h. */
19138 /* Override any gcc2 internal prototype to avoid an error. */
19142 /* We use char because int might match the return type of a gcc2
19143 builtin and then its argument prototype would still apply. */
19153 rm -f conftest.$ac_objext conftest$ac_exeext
19154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19155 (eval $ac_link) 2>&5
19157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19158 (exit $ac_status); } &&
19159 { ac_try='test -s conftest$ac_exeext'
19160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19161 (eval $ac_try) 2>&5
19163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19164 (exit $ac_status); }; }; then
19165 ac_cv_lib_elf_elf_begin=yes
19167 echo "$as_me: failed program was:" >&5
19168 sed 's/^/| /' conftest.$ac_ext >&5
19170 ac_cv_lib_elf_elf_begin=no
19172 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19173 LIBS=$ac_check_lib_save_LIBS
19175 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
19176 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
19177 if test $ac_cv_lib_elf_elf_begin = yes; then
19178 cat >>confdefs.h <<_ACEOF
19179 #define HAVE_LIBELF 1
19187 echo "$as_me:$LINENO: checking for library containing dlopen" >&5
19188 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
19189 if test "${ac_cv_search_dlopen+set}" = set; then
19190 echo $ECHO_N "(cached) $ECHO_C" >&6
19192 ac_func_search_save_LIBS=$LIBS
19193 ac_cv_search_dlopen=no
19194 cat >conftest.$ac_ext <<_ACEOF
19195 #line $LINENO "configure"
19198 cat confdefs.h >>conftest.$ac_ext
19199 cat >>conftest.$ac_ext <<_ACEOF
19200 /* end confdefs.h. */
19202 /* Override any gcc2 internal prototype to avoid an error. */
19206 /* We use char because int might match the return type of a gcc2
19207 builtin and then its argument prototype would still apply. */
19217 rm -f conftest.$ac_objext conftest$ac_exeext
19218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19219 (eval $ac_link) 2>&5
19221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19222 (exit $ac_status); } &&
19223 { ac_try='test -s conftest$ac_exeext'
19224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19225 (eval $ac_try) 2>&5
19227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19228 (exit $ac_status); }; }; then
19229 ac_cv_search_dlopen="none required"
19231 echo "$as_me: failed program was:" >&5
19232 sed 's/^/| /' conftest.$ac_ext >&5
19235 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19236 if test "$ac_cv_search_dlopen" = no; then
19237 for ac_lib in dl; do
19238 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19239 cat >conftest.$ac_ext <<_ACEOF
19240 #line $LINENO "configure"
19243 cat confdefs.h >>conftest.$ac_ext
19244 cat >>conftest.$ac_ext <<_ACEOF
19245 /* end confdefs.h. */
19247 /* Override any gcc2 internal prototype to avoid an error. */
19251 /* We use char because int might match the return type of a gcc2
19252 builtin and then its argument prototype would still apply. */
19262 rm -f conftest.$ac_objext conftest$ac_exeext
19263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19264 (eval $ac_link) 2>&5
19266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19267 (exit $ac_status); } &&
19268 { ac_try='test -s conftest$ac_exeext'
19269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19270 (eval $ac_try) 2>&5
19272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19273 (exit $ac_status); }; }; then
19274 ac_cv_search_dlopen="-l$ac_lib"
19277 echo "$as_me: failed program was:" >&5
19278 sed 's/^/| /' conftest.$ac_ext >&5
19281 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19284 LIBS=$ac_func_search_save_LIBS
19286 echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
19287 echo "${ECHO_T}$ac_cv_search_dlopen" >&6
19288 if test "$ac_cv_search_dlopen" != no; then
19289 test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
19291 cat >>confdefs.h <<\_ACEOF
19292 #define HAVE_DLOPEN 1
19296 { echo "$as_me:$LINENO: WARNING: dlopen() not found - disabling plugin support" >&5
19297 echo "$as_me: WARNING: dlopen() not found - disabling plugin support" >&2;}
19301 echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
19302 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6
19303 if test "${ac_cv_search_mallinfo+set}" = set; then
19304 echo $ECHO_N "(cached) $ECHO_C" >&6
19306 ac_func_search_save_LIBS=$LIBS
19307 ac_cv_search_mallinfo=no
19308 cat >conftest.$ac_ext <<_ACEOF
19309 #line $LINENO "configure"
19312 cat confdefs.h >>conftest.$ac_ext
19313 cat >>conftest.$ac_ext <<_ACEOF
19314 /* end confdefs.h. */
19316 /* Override any gcc2 internal prototype to avoid an error. */
19320 /* We use char because int might match the return type of a gcc2
19321 builtin and then its argument prototype would still apply. */
19331 rm -f conftest.$ac_objext conftest$ac_exeext
19332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19333 (eval $ac_link) 2>&5
19335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19336 (exit $ac_status); } &&
19337 { ac_try='test -s conftest$ac_exeext'
19338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19339 (eval $ac_try) 2>&5
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); }; }; then
19343 ac_cv_search_mallinfo="none required"
19345 echo "$as_me: failed program was:" >&5
19346 sed 's/^/| /' conftest.$ac_ext >&5
19349 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19350 if test "$ac_cv_search_mallinfo" = no; then
19351 for ac_lib in malloc; do
19352 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19353 cat >conftest.$ac_ext <<_ACEOF
19354 #line $LINENO "configure"
19357 cat confdefs.h >>conftest.$ac_ext
19358 cat >>conftest.$ac_ext <<_ACEOF
19359 /* end confdefs.h. */
19361 /* Override any gcc2 internal prototype to avoid an error. */
19365 /* We use char because int might match the return type of a gcc2
19366 builtin and then its argument prototype would still apply. */
19376 rm -f conftest.$ac_objext conftest$ac_exeext
19377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19378 (eval $ac_link) 2>&5
19380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19381 (exit $ac_status); } &&
19382 { ac_try='test -s conftest$ac_exeext'
19383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19384 (eval $ac_try) 2>&5
19386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19387 (exit $ac_status); }; }; then
19388 ac_cv_search_mallinfo="-l$ac_lib"
19391 echo "$as_me: failed program was:" >&5
19392 sed 's/^/| /' conftest.$ac_ext >&5
19395 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19398 LIBS=$ac_func_search_save_LIBS
19400 echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
19401 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6
19402 if test "$ac_cv_search_mallinfo" != no; then
19403 test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS"
19405 cat >>confdefs.h <<\_ACEOF
19406 #define HAVE_MALLINFO 1
19413 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19414 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19415 if test "${ac_cv_header_stdc+set}" = set; then
19416 echo $ECHO_N "(cached) $ECHO_C" >&6
19418 cat >conftest.$ac_ext <<_ACEOF
19419 #line $LINENO "configure"
19422 cat confdefs.h >>conftest.$ac_ext
19423 cat >>conftest.$ac_ext <<_ACEOF
19424 /* end confdefs.h. */
19425 #include <stdlib.h>
19426 #include <stdarg.h>
19427 #include <string.h>
19438 rm -f conftest.$ac_objext
19439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19440 (eval $ac_compile) 2>&5
19442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19443 (exit $ac_status); } &&
19444 { ac_try='test -s conftest.$ac_objext'
19445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19446 (eval $ac_try) 2>&5
19448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19449 (exit $ac_status); }; }; then
19450 ac_cv_header_stdc=yes
19452 echo "$as_me: failed program was:" >&5
19453 sed 's/^/| /' conftest.$ac_ext >&5
19455 ac_cv_header_stdc=no
19457 rm -f conftest.$ac_objext conftest.$ac_ext
19459 if test $ac_cv_header_stdc = yes; then
19460 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19461 cat >conftest.$ac_ext <<_ACEOF
19462 #line $LINENO "configure"
19465 cat confdefs.h >>conftest.$ac_ext
19466 cat >>conftest.$ac_ext <<_ACEOF
19467 /* end confdefs.h. */
19468 #include <string.h>
19471 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19472 $EGREP "memchr" >/dev/null 2>&1; then
19475 ac_cv_header_stdc=no
19481 if test $ac_cv_header_stdc = yes; then
19482 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19483 cat >conftest.$ac_ext <<_ACEOF
19484 #line $LINENO "configure"
19487 cat confdefs.h >>conftest.$ac_ext
19488 cat >>conftest.$ac_ext <<_ACEOF
19489 /* end confdefs.h. */
19490 #include <stdlib.h>
19493 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19494 $EGREP "free" >/dev/null 2>&1; then
19497 ac_cv_header_stdc=no
19503 if test $ac_cv_header_stdc = yes; then
19504 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19505 if test "$cross_compiling" = yes; then
19508 cat >conftest.$ac_ext <<_ACEOF
19509 #line $LINENO "configure"
19512 cat confdefs.h >>conftest.$ac_ext
19513 cat >>conftest.$ac_ext <<_ACEOF
19514 /* end confdefs.h. */
19516 #if ((' ' & 0x0FF) == 0x020)
19517 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19518 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19520 # define ISLOWER(c) \
19521 (('a' <= (c) && (c) <= 'i') \
19522 || ('j' <= (c) && (c) <= 'r') \
19523 || ('s' <= (c) && (c) <= 'z'))
19524 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19527 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19532 for (i = 0; i < 256; i++)
19533 if (XOR (islower (i), ISLOWER (i))
19534 || toupper (i) != TOUPPER (i))
19539 rm -f conftest$ac_exeext
19540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19541 (eval $ac_link) 2>&5
19543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19544 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19546 (eval $ac_try) 2>&5
19548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19549 (exit $ac_status); }; }; then
19552 echo "$as_me: program exited with status $ac_status" >&5
19553 echo "$as_me: failed program was:" >&5
19554 sed 's/^/| /' conftest.$ac_ext >&5
19556 ( exit $ac_status )
19557 ac_cv_header_stdc=no
19559 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19563 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19564 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19565 if test $ac_cv_header_stdc = yes; then
19567 cat >>confdefs.h <<\_ACEOF
19568 #define STDC_HEADERS 1
19573 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19574 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
19575 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19576 echo $ECHO_N "(cached) $ECHO_C" >&6
19578 cat >conftest.$ac_ext <<_ACEOF
19579 #line $LINENO "configure"
19582 cat confdefs.h >>conftest.$ac_ext
19583 cat >>conftest.$ac_ext <<_ACEOF
19584 /* end confdefs.h. */
19585 #include <sys/types.h>
19586 #include <sys/wait.h>
19587 #ifndef WEXITSTATUS
19588 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
19591 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19599 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19604 rm -f conftest.$ac_objext
19605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19606 (eval $ac_compile) 2>&5
19608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19609 (exit $ac_status); } &&
19610 { ac_try='test -s conftest.$ac_objext'
19611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19612 (eval $ac_try) 2>&5
19614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19615 (exit $ac_status); }; }; then
19616 ac_cv_header_sys_wait_h=yes
19618 echo "$as_me: failed program was:" >&5
19619 sed 's/^/| /' conftest.$ac_ext >&5
19621 ac_cv_header_sys_wait_h=no
19623 rm -f conftest.$ac_objext conftest.$ac_ext
19625 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19626 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
19627 if test $ac_cv_header_sys_wait_h = yes; then
19629 cat >>confdefs.h <<\_ACEOF
19630 #define HAVE_SYS_WAIT_H 1
19644 for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h
19646 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19647 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19648 echo "$as_me:$LINENO: checking for $ac_header" >&5
19649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19651 echo $ECHO_N "(cached) $ECHO_C" >&6
19653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19654 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19656 # Is the header compilable?
19657 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19658 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19659 cat >conftest.$ac_ext <<_ACEOF
19660 #line $LINENO "configure"
19663 cat confdefs.h >>conftest.$ac_ext
19664 cat >>conftest.$ac_ext <<_ACEOF
19665 /* end confdefs.h. */
19666 $ac_includes_default
19667 #include <$ac_header>
19669 rm -f conftest.$ac_objext
19670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19671 (eval $ac_compile) 2>&5
19673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19674 (exit $ac_status); } &&
19675 { ac_try='test -s conftest.$ac_objext'
19676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19677 (eval $ac_try) 2>&5
19679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19680 (exit $ac_status); }; }; then
19681 ac_header_compiler=yes
19683 echo "$as_me: failed program was:" >&5
19684 sed 's/^/| /' conftest.$ac_ext >&5
19686 ac_header_compiler=no
19688 rm -f conftest.$ac_objext conftest.$ac_ext
19689 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19690 echo "${ECHO_T}$ac_header_compiler" >&6
19692 # Is the header present?
19693 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19694 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19695 cat >conftest.$ac_ext <<_ACEOF
19696 #line $LINENO "configure"
19699 cat confdefs.h >>conftest.$ac_ext
19700 cat >>conftest.$ac_ext <<_ACEOF
19701 /* end confdefs.h. */
19702 #include <$ac_header>
19704 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19705 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19707 grep -v '^ *+' conftest.er1 >conftest.err
19709 cat conftest.err >&5
19710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19711 (exit $ac_status); } >/dev/null; then
19712 if test -s conftest.err; then
19713 ac_cpp_err=$ac_c_preproc_warn_flag
19720 if test -z "$ac_cpp_err"; then
19721 ac_header_preproc=yes
19723 echo "$as_me: failed program was:" >&5
19724 sed 's/^/| /' conftest.$ac_ext >&5
19726 ac_header_preproc=no
19728 rm -f conftest.err conftest.$ac_ext
19729 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19730 echo "${ECHO_T}$ac_header_preproc" >&6
19732 # So? What about this header?
19733 case $ac_header_compiler:$ac_header_preproc in
19735 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19736 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19737 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19738 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19741 ## ------------------------------------ ##
19742 ## Report this to bug-autoconf@gnu.org. ##
19743 ## ------------------------------------ ##
19746 sed "s/^/$as_me: WARNING: /" >&2
19749 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19750 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19751 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19752 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19753 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19754 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19757 ## ------------------------------------ ##
19758 ## Report this to bug-autoconf@gnu.org. ##
19759 ## ------------------------------------ ##
19762 sed "s/^/$as_me: WARNING: /" >&2
19765 echo "$as_me:$LINENO: checking for $ac_header" >&5
19766 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19768 echo $ECHO_N "(cached) $ECHO_C" >&6
19770 eval "$as_ac_Header=$ac_header_preproc"
19772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19773 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19776 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19777 cat >>confdefs.h <<_ACEOF
19778 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19789 for ac_header in malloc.h sys/mman.h sys/resource.h
19791 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19792 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19793 echo "$as_me:$LINENO: checking for $ac_header" >&5
19794 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19795 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19796 echo $ECHO_N "(cached) $ECHO_C" >&6
19798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19799 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19801 # Is the header compilable?
19802 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19803 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19804 cat >conftest.$ac_ext <<_ACEOF
19805 #line $LINENO "configure"
19808 cat confdefs.h >>conftest.$ac_ext
19809 cat >>conftest.$ac_ext <<_ACEOF
19810 /* end confdefs.h. */
19811 $ac_includes_default
19812 #include <$ac_header>
19814 rm -f conftest.$ac_objext
19815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19816 (eval $ac_compile) 2>&5
19818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19819 (exit $ac_status); } &&
19820 { ac_try='test -s conftest.$ac_objext'
19821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19822 (eval $ac_try) 2>&5
19824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19825 (exit $ac_status); }; }; then
19826 ac_header_compiler=yes
19828 echo "$as_me: failed program was:" >&5
19829 sed 's/^/| /' conftest.$ac_ext >&5
19831 ac_header_compiler=no
19833 rm -f conftest.$ac_objext conftest.$ac_ext
19834 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19835 echo "${ECHO_T}$ac_header_compiler" >&6
19837 # Is the header present?
19838 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19839 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19840 cat >conftest.$ac_ext <<_ACEOF
19841 #line $LINENO "configure"
19844 cat confdefs.h >>conftest.$ac_ext
19845 cat >>conftest.$ac_ext <<_ACEOF
19846 /* end confdefs.h. */
19847 #include <$ac_header>
19849 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19850 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19852 grep -v '^ *+' conftest.er1 >conftest.err
19854 cat conftest.err >&5
19855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19856 (exit $ac_status); } >/dev/null; then
19857 if test -s conftest.err; then
19858 ac_cpp_err=$ac_c_preproc_warn_flag
19865 if test -z "$ac_cpp_err"; then
19866 ac_header_preproc=yes
19868 echo "$as_me: failed program was:" >&5
19869 sed 's/^/| /' conftest.$ac_ext >&5
19871 ac_header_preproc=no
19873 rm -f conftest.err conftest.$ac_ext
19874 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19875 echo "${ECHO_T}$ac_header_preproc" >&6
19877 # So? What about this header?
19878 case $ac_header_compiler:$ac_header_preproc in
19880 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19881 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19882 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19883 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19886 ## ------------------------------------ ##
19887 ## Report this to bug-autoconf@gnu.org. ##
19888 ## ------------------------------------ ##
19891 sed "s/^/$as_me: WARNING: /" >&2
19894 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19895 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19896 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19897 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19898 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19899 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19902 ## ------------------------------------ ##
19903 ## Report this to bug-autoconf@gnu.org. ##
19904 ## ------------------------------------ ##
19907 sed "s/^/$as_me: WARNING: /" >&2
19910 echo "$as_me:$LINENO: checking for $ac_header" >&5
19911 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19913 echo $ECHO_N "(cached) $ECHO_C" >&6
19915 eval "$as_ac_Header=$ac_header_preproc"
19917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19918 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19921 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19922 cat >>confdefs.h <<_ACEOF
19923 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19933 for ac_header in dlfcn.h link.h
19935 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19936 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19937 echo "$as_me:$LINENO: checking for $ac_header" >&5
19938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19940 echo $ECHO_N "(cached) $ECHO_C" >&6
19942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19943 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19945 # Is the header compilable?
19946 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19947 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19948 cat >conftest.$ac_ext <<_ACEOF
19949 #line $LINENO "configure"
19952 cat confdefs.h >>conftest.$ac_ext
19953 cat >>conftest.$ac_ext <<_ACEOF
19954 /* end confdefs.h. */
19955 $ac_includes_default
19956 #include <$ac_header>
19958 rm -f conftest.$ac_objext
19959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19960 (eval $ac_compile) 2>&5
19962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19963 (exit $ac_status); } &&
19964 { ac_try='test -s conftest.$ac_objext'
19965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19966 (eval $ac_try) 2>&5
19968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19969 (exit $ac_status); }; }; then
19970 ac_header_compiler=yes
19972 echo "$as_me: failed program was:" >&5
19973 sed 's/^/| /' conftest.$ac_ext >&5
19975 ac_header_compiler=no
19977 rm -f conftest.$ac_objext conftest.$ac_ext
19978 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19979 echo "${ECHO_T}$ac_header_compiler" >&6
19981 # Is the header present?
19982 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19983 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19984 cat >conftest.$ac_ext <<_ACEOF
19985 #line $LINENO "configure"
19988 cat confdefs.h >>conftest.$ac_ext
19989 cat >>conftest.$ac_ext <<_ACEOF
19990 /* end confdefs.h. */
19991 #include <$ac_header>
19993 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19994 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19996 grep -v '^ *+' conftest.er1 >conftest.err
19998 cat conftest.err >&5
19999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20000 (exit $ac_status); } >/dev/null; then
20001 if test -s conftest.err; then
20002 ac_cpp_err=$ac_c_preproc_warn_flag
20009 if test -z "$ac_cpp_err"; then
20010 ac_header_preproc=yes
20012 echo "$as_me: failed program was:" >&5
20013 sed 's/^/| /' conftest.$ac_ext >&5
20015 ac_header_preproc=no
20017 rm -f conftest.err conftest.$ac_ext
20018 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20019 echo "${ECHO_T}$ac_header_preproc" >&6
20021 # So? What about this header?
20022 case $ac_header_compiler:$ac_header_preproc in
20024 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20025 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20026 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20027 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20030 ## ------------------------------------ ##
20031 ## Report this to bug-autoconf@gnu.org. ##
20032 ## ------------------------------------ ##
20035 sed "s/^/$as_me: WARNING: /" >&2
20038 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20039 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20040 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20041 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20043 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20046 ## ------------------------------------ ##
20047 ## Report this to bug-autoconf@gnu.org. ##
20048 ## ------------------------------------ ##
20051 sed "s/^/$as_me: WARNING: /" >&2
20054 echo "$as_me:$LINENO: checking for $ac_header" >&5
20055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20057 echo $ECHO_N "(cached) $ECHO_C" >&6
20059 eval "$as_ac_Header=$ac_header_preproc"
20061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20062 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20065 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20066 cat >>confdefs.h <<_ACEOF
20067 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20076 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20077 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
20078 if test "${ac_cv_c_const+set}" = set; then
20079 echo $ECHO_N "(cached) $ECHO_C" >&6
20081 cat >conftest.$ac_ext <<_ACEOF
20082 #line $LINENO "configure"
20085 cat confdefs.h >>conftest.$ac_ext
20086 cat >>conftest.$ac_ext <<_ACEOF
20087 /* end confdefs.h. */
20092 /* FIXME: Include the comments suggested by Paul. */
20093 #ifndef __cplusplus
20094 /* Ultrix mips cc rejects this. */
20095 typedef int charset[2];
20097 /* SunOS 4.1.1 cc rejects this. */
20098 char const *const *ccp;
20100 /* NEC SVR4.0.2 mips cc rejects this. */
20101 struct point {int x, y;};
20102 static struct point const zero = {0,0};
20103 /* AIX XL C 1.02.0.0 rejects this.
20104 It does not let you subtract one const X* pointer from another in
20105 an arm of an if-expression whose if-part is not a constant
20107 const char *g = "string";
20108 ccp = &g + (g ? g-g : 0);
20109 /* HPUX 7.0 cc rejects these. */
20112 ccp = (char const *const *) p;
20113 { /* SCO 3.2v4 cc rejects this. */
20115 char const *s = 0 ? (char *) 0 : (char const *) 0;
20119 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20120 int x[] = {25, 17};
20121 const int *foo = &x[0];
20124 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20125 typedef const int *iptr;
20129 { /* AIX XL C 1.02.0.0 rejects this saying
20130 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20131 struct s { int j; const int *ap[3]; };
20132 struct s *b; b->j = 5;
20134 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20135 const int foo = 10;
20143 rm -f conftest.$ac_objext
20144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20145 (eval $ac_compile) 2>&5
20147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20148 (exit $ac_status); } &&
20149 { ac_try='test -s conftest.$ac_objext'
20150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20151 (eval $ac_try) 2>&5
20153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20154 (exit $ac_status); }; }; then
20157 echo "$as_me: failed program was:" >&5
20158 sed 's/^/| /' conftest.$ac_ext >&5
20162 rm -f conftest.$ac_objext conftest.$ac_ext
20164 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20165 echo "${ECHO_T}$ac_cv_c_const" >&6
20166 if test $ac_cv_c_const = no; then
20168 cat >>confdefs.h <<\_ACEOF
20174 echo "$as_me:$LINENO: checking for inline" >&5
20175 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20176 if test "${ac_cv_c_inline+set}" = set; then
20177 echo $ECHO_N "(cached) $ECHO_C" >&6
20180 for ac_kw in inline __inline__ __inline; do
20181 cat >conftest.$ac_ext <<_ACEOF
20182 #line $LINENO "configure"
20185 cat confdefs.h >>conftest.$ac_ext
20186 cat >>conftest.$ac_ext <<_ACEOF
20187 /* end confdefs.h. */
20188 #ifndef __cplusplus
20190 static $ac_kw foo_t static_foo () {return 0; }
20191 $ac_kw foo_t foo () {return 0; }
20195 rm -f conftest.$ac_objext
20196 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20197 (eval $ac_compile) 2>&5
20199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20200 (exit $ac_status); } &&
20201 { ac_try='test -s conftest.$ac_objext'
20202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20203 (eval $ac_try) 2>&5
20205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20206 (exit $ac_status); }; }; then
20207 ac_cv_c_inline=$ac_kw; break
20209 echo "$as_me: failed program was:" >&5
20210 sed 's/^/| /' conftest.$ac_ext >&5
20213 rm -f conftest.$ac_objext conftest.$ac_ext
20217 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20218 echo "${ECHO_T}$ac_cv_c_inline" >&6
20219 case $ac_cv_c_inline in
20222 cat >>confdefs.h <<\_ACEOF
20226 *) cat >>confdefs.h <<_ACEOF
20227 #define inline $ac_cv_c_inline
20233 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20234 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20235 if test "${ac_cv_c_bigendian+set}" = set; then
20236 echo $ECHO_N "(cached) $ECHO_C" >&6
20238 # See if sys/param.h defines the BYTE_ORDER macro.
20239 cat >conftest.$ac_ext <<_ACEOF
20240 #line $LINENO "configure"
20243 cat confdefs.h >>conftest.$ac_ext
20244 cat >>conftest.$ac_ext <<_ACEOF
20245 /* end confdefs.h. */
20246 #include <sys/types.h>
20247 #include <sys/param.h>
20252 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20253 bogus endian macros
20260 rm -f conftest.$ac_objext
20261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20262 (eval $ac_compile) 2>&5
20264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20265 (exit $ac_status); } &&
20266 { ac_try='test -s conftest.$ac_objext'
20267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20268 (eval $ac_try) 2>&5
20270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20271 (exit $ac_status); }; }; then
20272 # It does; now see whether it defined to BIG_ENDIAN or not.
20273 cat >conftest.$ac_ext <<_ACEOF
20274 #line $LINENO "configure"
20277 cat confdefs.h >>conftest.$ac_ext
20278 cat >>conftest.$ac_ext <<_ACEOF
20279 /* end confdefs.h. */
20280 #include <sys/types.h>
20281 #include <sys/param.h>
20286 #if BYTE_ORDER != BIG_ENDIAN
20294 rm -f conftest.$ac_objext
20295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20296 (eval $ac_compile) 2>&5
20298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20299 (exit $ac_status); } &&
20300 { ac_try='test -s conftest.$ac_objext'
20301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20302 (eval $ac_try) 2>&5
20304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20305 (exit $ac_status); }; }; then
20306 ac_cv_c_bigendian=yes
20308 echo "$as_me: failed program was:" >&5
20309 sed 's/^/| /' conftest.$ac_ext >&5
20311 ac_cv_c_bigendian=no
20313 rm -f conftest.$ac_objext conftest.$ac_ext
20315 echo "$as_me: failed program was:" >&5
20316 sed 's/^/| /' conftest.$ac_ext >&5
20318 # It does not; compile a test program.
20319 if test "$cross_compiling" = yes; then
20320 # try to guess the endianness by grepping values into an object file
20321 ac_cv_c_bigendian=unknown
20322 cat >conftest.$ac_ext <<_ACEOF
20323 #line $LINENO "configure"
20326 cat confdefs.h >>conftest.$ac_ext
20327 cat >>conftest.$ac_ext <<_ACEOF
20328 /* end confdefs.h. */
20329 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20330 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20331 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20332 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20333 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20334 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20338 _ascii (); _ebcdic ();
20343 rm -f conftest.$ac_objext
20344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20345 (eval $ac_compile) 2>&5
20347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20348 (exit $ac_status); } &&
20349 { ac_try='test -s conftest.$ac_objext'
20350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20351 (eval $ac_try) 2>&5
20353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354 (exit $ac_status); }; }; then
20355 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
20356 ac_cv_c_bigendian=yes
20358 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
20359 if test "$ac_cv_c_bigendian" = unknown; then
20360 ac_cv_c_bigendian=no
20362 # finding both strings is unlikely to happen, but who knows?
20363 ac_cv_c_bigendian=unknown
20367 echo "$as_me: failed program was:" >&5
20368 sed 's/^/| /' conftest.$ac_ext >&5
20371 rm -f conftest.$ac_objext conftest.$ac_ext
20373 cat >conftest.$ac_ext <<_ACEOF
20374 #line $LINENO "configure"
20377 cat confdefs.h >>conftest.$ac_ext
20378 cat >>conftest.$ac_ext <<_ACEOF
20379 /* end confdefs.h. */
20383 /* Are we little or big endian? From Harbison&Steele. */
20387 char c[sizeof (long)];
20390 exit (u.c[sizeof (long) - 1] == 1);
20393 rm -f conftest$ac_exeext
20394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20395 (eval $ac_link) 2>&5
20397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20398 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20400 (eval $ac_try) 2>&5
20402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20403 (exit $ac_status); }; }; then
20404 ac_cv_c_bigendian=no
20406 echo "$as_me: program exited with status $ac_status" >&5
20407 echo "$as_me: failed program was:" >&5
20408 sed 's/^/| /' conftest.$ac_ext >&5
20410 ( exit $ac_status )
20411 ac_cv_c_bigendian=yes
20413 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20416 rm -f conftest.$ac_objext conftest.$ac_ext
20418 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20419 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20420 case $ac_cv_c_bigendian in
20423 cat >>confdefs.h <<\_ACEOF
20429 cat >>confdefs.h <<\_ACEOF
20430 #define ENDIAN_LITTLE
20434 { { echo "$as_me:$LINENO: error: unknown endianness
20435 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20436 echo "$as_me: error: unknown endianness
20437 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20438 { (exit 1); exit 1; }; } ;;
20442 echo "$as_me:$LINENO: checking for pid_t" >&5
20443 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20444 if test "${ac_cv_type_pid_t+set}" = set; then
20445 echo $ECHO_N "(cached) $ECHO_C" >&6
20447 cat >conftest.$ac_ext <<_ACEOF
20448 #line $LINENO "configure"
20451 cat confdefs.h >>conftest.$ac_ext
20452 cat >>conftest.$ac_ext <<_ACEOF
20453 /* end confdefs.h. */
20454 $ac_includes_default
20460 if (sizeof (pid_t))
20466 rm -f conftest.$ac_objext
20467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20468 (eval $ac_compile) 2>&5
20470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20471 (exit $ac_status); } &&
20472 { ac_try='test -s conftest.$ac_objext'
20473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20474 (eval $ac_try) 2>&5
20476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20477 (exit $ac_status); }; }; then
20478 ac_cv_type_pid_t=yes
20480 echo "$as_me: failed program was:" >&5
20481 sed 's/^/| /' conftest.$ac_ext >&5
20483 ac_cv_type_pid_t=no
20485 rm -f conftest.$ac_objext conftest.$ac_ext
20487 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20488 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20489 if test $ac_cv_type_pid_t = yes; then
20493 cat >>confdefs.h <<_ACEOF
20499 echo "$as_me:$LINENO: checking for size_t" >&5
20500 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20501 if test "${ac_cv_type_size_t+set}" = set; then
20502 echo $ECHO_N "(cached) $ECHO_C" >&6
20504 cat >conftest.$ac_ext <<_ACEOF
20505 #line $LINENO "configure"
20508 cat confdefs.h >>conftest.$ac_ext
20509 cat >>conftest.$ac_ext <<_ACEOF
20510 /* end confdefs.h. */
20511 $ac_includes_default
20517 if (sizeof (size_t))
20523 rm -f conftest.$ac_objext
20524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20525 (eval $ac_compile) 2>&5
20527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20528 (exit $ac_status); } &&
20529 { ac_try='test -s conftest.$ac_objext'
20530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20531 (eval $ac_try) 2>&5
20533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20534 (exit $ac_status); }; }; then
20535 ac_cv_type_size_t=yes
20537 echo "$as_me: failed program was:" >&5
20538 sed 's/^/| /' conftest.$ac_ext >&5
20540 ac_cv_type_size_t=no
20542 rm -f conftest.$ac_objext conftest.$ac_ext
20544 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20545 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20546 if test $ac_cv_type_size_t = yes; then
20550 cat >>confdefs.h <<_ACEOF
20551 #define size_t unsigned
20556 echo "$as_me:$LINENO: checking for int64_t" >&5
20557 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
20558 if test "${ac_cv_type_int64_t+set}" = set; then
20559 echo $ECHO_N "(cached) $ECHO_C" >&6
20561 cat >conftest.$ac_ext <<_ACEOF
20562 #line $LINENO "configure"
20565 cat confdefs.h >>conftest.$ac_ext
20566 cat >>conftest.$ac_ext <<_ACEOF
20567 /* end confdefs.h. */
20568 $ac_includes_default
20574 if (sizeof (int64_t))
20580 rm -f conftest.$ac_objext
20581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20582 (eval $ac_compile) 2>&5
20584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20585 (exit $ac_status); } &&
20586 { ac_try='test -s conftest.$ac_objext'
20587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20588 (eval $ac_try) 2>&5
20590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20591 (exit $ac_status); }; }; then
20592 ac_cv_type_int64_t=yes
20594 echo "$as_me: failed program was:" >&5
20595 sed 's/^/| /' conftest.$ac_ext >&5
20597 ac_cv_type_int64_t=no
20599 rm -f conftest.$ac_objext conftest.$ac_ext
20601 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
20602 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
20603 if test $ac_cv_type_int64_t = yes; then
20605 cat >>confdefs.h <<_ACEOF
20606 #define HAVE_INT64_T 1
20611 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
20612 echo "$as_me: error: Type int64_t required but not found" >&2;}
20613 { (exit 1); exit 1; }; }
20616 echo "$as_me:$LINENO: checking for uint64_t" >&5
20617 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
20618 if test "${ac_cv_type_uint64_t+set}" = set; then
20619 echo $ECHO_N "(cached) $ECHO_C" >&6
20621 cat >conftest.$ac_ext <<_ACEOF
20622 #line $LINENO "configure"
20625 cat confdefs.h >>conftest.$ac_ext
20626 cat >>conftest.$ac_ext <<_ACEOF
20627 /* end confdefs.h. */
20628 $ac_includes_default
20632 if ((uint64_t *) 0)
20634 if (sizeof (uint64_t))
20640 rm -f conftest.$ac_objext
20641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20642 (eval $ac_compile) 2>&5
20644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645 (exit $ac_status); } &&
20646 { ac_try='test -s conftest.$ac_objext'
20647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20648 (eval $ac_try) 2>&5
20650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20651 (exit $ac_status); }; }; then
20652 ac_cv_type_uint64_t=yes
20654 echo "$as_me: failed program was:" >&5
20655 sed 's/^/| /' conftest.$ac_ext >&5
20657 ac_cv_type_uint64_t=no
20659 rm -f conftest.$ac_objext conftest.$ac_ext
20661 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
20662 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
20663 if test $ac_cv_type_uint64_t = yes; then
20665 cat >>confdefs.h <<_ACEOF
20666 #define HAVE_UINT64_T 1
20671 { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5
20672 echo "$as_me: error: Type uint64_t required but not found" >&2;}
20673 { (exit 1); exit 1; }; }
20676 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20677 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20678 if test "${ac_cv_header_time+set}" = set; then
20679 echo $ECHO_N "(cached) $ECHO_C" >&6
20681 cat >conftest.$ac_ext <<_ACEOF
20682 #line $LINENO "configure"
20685 cat confdefs.h >>conftest.$ac_ext
20686 cat >>conftest.$ac_ext <<_ACEOF
20687 /* end confdefs.h. */
20688 #include <sys/types.h>
20689 #include <sys/time.h>
20695 if ((struct tm *) 0)
20701 rm -f conftest.$ac_objext
20702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20703 (eval $ac_compile) 2>&5
20705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20706 (exit $ac_status); } &&
20707 { ac_try='test -s conftest.$ac_objext'
20708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20709 (eval $ac_try) 2>&5
20711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20712 (exit $ac_status); }; }; then
20713 ac_cv_header_time=yes
20715 echo "$as_me: failed program was:" >&5
20716 sed 's/^/| /' conftest.$ac_ext >&5
20718 ac_cv_header_time=no
20720 rm -f conftest.$ac_objext conftest.$ac_ext
20722 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20723 echo "${ECHO_T}$ac_cv_header_time" >&6
20724 if test $ac_cv_header_time = yes; then
20726 cat >>confdefs.h <<\_ACEOF
20727 #define TIME_WITH_SYS_TIME 1
20732 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20733 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
20734 if test "${ac_cv_struct_tm+set}" = set; then
20735 echo $ECHO_N "(cached) $ECHO_C" >&6
20737 cat >conftest.$ac_ext <<_ACEOF
20738 #line $LINENO "configure"
20741 cat confdefs.h >>conftest.$ac_ext
20742 cat >>conftest.$ac_ext <<_ACEOF
20743 /* end confdefs.h. */
20744 #include <sys/types.h>
20750 struct tm *tp; tp->tm_sec;
20755 rm -f conftest.$ac_objext
20756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20757 (eval $ac_compile) 2>&5
20759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20760 (exit $ac_status); } &&
20761 { ac_try='test -s conftest.$ac_objext'
20762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20763 (eval $ac_try) 2>&5
20765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20766 (exit $ac_status); }; }; then
20767 ac_cv_struct_tm=time.h
20769 echo "$as_me: failed program was:" >&5
20770 sed 's/^/| /' conftest.$ac_ext >&5
20772 ac_cv_struct_tm=sys/time.h
20774 rm -f conftest.$ac_objext conftest.$ac_ext
20776 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20777 echo "${ECHO_T}$ac_cv_struct_tm" >&6
20778 if test $ac_cv_struct_tm = sys/time.h; then
20780 cat >>confdefs.h <<\_ACEOF
20781 #define TM_IN_SYS_TIME 1
20791 ac_cpp='$CPP $CPPFLAGS'
20792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20796 if test "$cross_compiling" = yes; then
20797 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20798 See \`config.log' for more details." >&5
20799 echo "$as_me: error: cannot run test program while cross compiling
20800 See \`config.log' for more details." >&2;}
20801 { (exit 1); exit 1; }; }
20803 cat >conftest.$ac_ext <<_ACEOF
20804 #line $LINENO "configure"
20807 cat confdefs.h >>conftest.$ac_ext
20808 cat >>conftest.$ac_ext <<_ACEOF
20809 /* end confdefs.h. */
20811 #include <stdlib.h>
20816 volatile double A, B;
20820 sprintf(Buffer, "%a", A);
20824 if (A != 0x1.999999999999ap-4)
20831 rm -f conftest$ac_exeext
20832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20833 (eval $ac_link) 2>&5
20835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20836 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20838 (eval $ac_try) 2>&5
20840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20841 (exit $ac_status); }; }; then
20844 echo "$as_me: program exited with status $ac_status" >&5
20845 echo "$as_me: failed program was:" >&5
20846 sed 's/^/| /' conftest.$ac_ext >&5
20848 ( exit $ac_status )
20851 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20854 ac_cpp='$CPP $CPPFLAGS'
20855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20859 if test "$ac_c_printf_a" = "yes"; then
20861 cat >>confdefs.h <<\_ACEOF
20862 #define HAVE_PRINTF_A 1
20868 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
20869 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
20870 if test "${ac_cv_cxx_namespaces+set}" = set; then
20871 echo $ECHO_N "(cached) $ECHO_C" >&6
20876 ac_cpp='$CXXCPP $CPPFLAGS'
20877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20881 cat >conftest.$ac_ext <<_ACEOF
20882 #line $LINENO "configure"
20885 cat confdefs.h >>conftest.$ac_ext
20886 cat >>conftest.$ac_ext <<_ACEOF
20887 /* end confdefs.h. */
20888 namespace Outer { namespace Inner { int i = 0; }}
20892 using namespace Outer::Inner; return i;
20897 rm -f conftest.$ac_objext
20898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20899 (eval $ac_compile) 2>&5
20901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20902 (exit $ac_status); } &&
20903 { ac_try='test -s conftest.$ac_objext'
20904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20905 (eval $ac_try) 2>&5
20907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20908 (exit $ac_status); }; }; then
20909 ac_cv_cxx_namespaces=yes
20911 echo "$as_me: failed program was:" >&5
20912 sed 's/^/| /' conftest.$ac_ext >&5
20914 ac_cv_cxx_namespaces=no
20916 rm -f conftest.$ac_objext conftest.$ac_ext
20918 ac_cpp='$CPP $CPPFLAGS'
20919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20925 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
20926 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
20927 if test "$ac_cv_cxx_namespaces" = yes; then
20929 cat >>confdefs.h <<\_ACEOF
20930 #define HAVE_NAMESPACES
20935 echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_map> defining template class std::hash_map" >&5
20936 echo $ECHO_N "checking whether the compiler has <ext/hash_map> defining template class std::hash_map... $ECHO_C" >&6
20937 if test "${ac_cv_cxx_have_std_ext_hash_map+set}" = set; then
20938 echo $ECHO_N "(cached) $ECHO_C" >&6
20944 ac_cpp='$CXXCPP $CPPFLAGS'
20945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20949 cat >conftest.$ac_ext <<_ACEOF
20950 #line $LINENO "configure"
20953 cat confdefs.h >>conftest.$ac_ext
20954 cat >>conftest.$ac_ext <<_ACEOF
20955 /* end confdefs.h. */
20956 #include <ext/hash_map>
20957 #ifdef HAVE_NAMESPACES
20958 using namespace std;
20963 hash_map<int, int> t;
20968 rm -f conftest.$ac_objext
20969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20970 (eval $ac_compile) 2>&5
20972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20973 (exit $ac_status); } &&
20974 { ac_try='test -s conftest.$ac_objext'
20975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20976 (eval $ac_try) 2>&5
20978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20979 (exit $ac_status); }; }; then
20980 ac_cv_cxx_have_std_ext_hash_map=yes
20982 echo "$as_me: failed program was:" >&5
20983 sed 's/^/| /' conftest.$ac_ext >&5
20985 ac_cv_cxx_have_std_ext_hash_map=no
20987 rm -f conftest.$ac_objext conftest.$ac_ext
20989 ac_cpp='$CPP $CPPFLAGS'
20990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20995 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_ext_hash_map" >&5
20996 echo "${ECHO_T}$ac_cv_cxx_have_std_ext_hash_map" >&6
20997 if test "$ac_cv_cxx_have_std_ext_hash_map" = yes; then
20999 cat >>confdefs.h <<\_ACEOF
21000 #define HAVE_STD_EXT_HASH_MAP
21004 echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_map> defining template class __gnu_cxx::hash_map" >&5
21005 echo $ECHO_N "checking whether the compiler has <ext/hash_map> defining template class __gnu_cxx::hash_map... $ECHO_C" >&6
21006 if test "${ac_cv_cxx_have_gnu_ext_hash_map+set}" = set; then
21007 echo $ECHO_N "(cached) $ECHO_C" >&6
21013 ac_cpp='$CXXCPP $CPPFLAGS'
21014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21018 cat >conftest.$ac_ext <<_ACEOF
21019 #line $LINENO "configure"
21022 cat confdefs.h >>conftest.$ac_ext
21023 cat >>conftest.$ac_ext <<_ACEOF
21024 /* end confdefs.h. */
21025 #include <ext/hash_map>
21026 #ifdef HAVE_NAMESPACES
21027 using namespace __gnu_cxx;
21032 hash_map<int,int> t;
21037 rm -f conftest.$ac_objext
21038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21039 (eval $ac_compile) 2>&5
21041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21042 (exit $ac_status); } &&
21043 { ac_try='test -s conftest.$ac_objext'
21044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21045 (eval $ac_try) 2>&5
21047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21048 (exit $ac_status); }; }; then
21049 ac_cv_cxx_have_gnu_ext_hash_map=yes
21051 echo "$as_me: failed program was:" >&5
21052 sed 's/^/| /' conftest.$ac_ext >&5
21054 ac_cv_cxx_have_gnu_ext_hash_map=no
21056 rm -f conftest.$ac_objext conftest.$ac_ext
21058 ac_cpp='$CPP $CPPFLAGS'
21059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21064 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_gnu_ext_hash_map" >&5
21065 echo "${ECHO_T}$ac_cv_cxx_have_gnu_ext_hash_map" >&6
21066 if test "$ac_cv_cxx_have_gnu_ext_hash_map" = yes; then
21068 cat >>confdefs.h <<\_ACEOF
21069 #define HAVE_GNU_EXT_HASH_MAP
21073 echo "$as_me:$LINENO: checking whether the compiler has <hash_map> defining template class ::hash_map" >&5
21074 echo $ECHO_N "checking whether the compiler has <hash_map> defining template class ::hash_map... $ECHO_C" >&6
21075 if test "${ac_cv_cxx_have_global_hash_map+set}" = set; then
21076 echo $ECHO_N "(cached) $ECHO_C" >&6
21082 ac_cpp='$CXXCPP $CPPFLAGS'
21083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21087 cat >conftest.$ac_ext <<_ACEOF
21088 #line $LINENO "configure"
21091 cat confdefs.h >>conftest.$ac_ext
21092 cat >>conftest.$ac_ext <<_ACEOF
21093 /* end confdefs.h. */
21094 #include <hash_map>
21098 hash_map<int,int> t;
21103 rm -f conftest.$ac_objext
21104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21105 (eval $ac_compile) 2>&5
21107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21108 (exit $ac_status); } &&
21109 { ac_try='test -s conftest.$ac_objext'
21110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21111 (eval $ac_try) 2>&5
21113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21114 (exit $ac_status); }; }; then
21115 ac_cv_cxx_have_global_hash_map=yes
21117 echo "$as_me: failed program was:" >&5
21118 sed 's/^/| /' conftest.$ac_ext >&5
21120 ac_cv_cxx_have_global_hash_map=no
21122 rm -f conftest.$ac_objext conftest.$ac_ext
21124 ac_cpp='$CPP $CPPFLAGS'
21125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21130 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_global_hash_map" >&5
21131 echo "${ECHO_T}$ac_cv_cxx_have_global_hash_map" >&6
21132 if test "$ac_cv_cxx_have_global_hash_map" = yes; then
21134 cat >>confdefs.h <<\_ACEOF
21135 #define HAVE_GLOBAL_HASH_MAP
21139 echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_set> defining template class std::hash_set" >&5
21140 echo $ECHO_N "checking whether the compiler has <ext/hash_set> defining template class std::hash_set... $ECHO_C" >&6
21141 if test "${ac_cv_cxx_have_std_ext_hash_set+set}" = set; then
21142 echo $ECHO_N "(cached) $ECHO_C" >&6
21148 ac_cpp='$CXXCPP $CPPFLAGS'
21149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21153 cat >conftest.$ac_ext <<_ACEOF
21154 #line $LINENO "configure"
21157 cat confdefs.h >>conftest.$ac_ext
21158 cat >>conftest.$ac_ext <<_ACEOF
21159 /* end confdefs.h. */
21160 #include <ext/hash_set>
21161 #ifdef HAVE_NAMESPACES
21162 using namespace std;
21172 rm -f conftest.$ac_objext
21173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21174 (eval $ac_compile) 2>&5
21176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21177 (exit $ac_status); } &&
21178 { ac_try='test -s conftest.$ac_objext'
21179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21180 (eval $ac_try) 2>&5
21182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21183 (exit $ac_status); }; }; then
21184 ac_cv_cxx_have_std_ext_hash_set=yes
21186 echo "$as_me: failed program was:" >&5
21187 sed 's/^/| /' conftest.$ac_ext >&5
21189 ac_cv_cxx_have_std_ext_hash_set=no
21191 rm -f conftest.$ac_objext conftest.$ac_ext
21193 ac_cpp='$CPP $CPPFLAGS'
21194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21199 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_ext_hash_set" >&5
21200 echo "${ECHO_T}$ac_cv_cxx_have_std_ext_hash_set" >&6
21201 if test "$ac_cv_cxx_have_std_ext_hash_set" = yes; then
21203 cat >>confdefs.h <<\_ACEOF
21204 #define HAVE_STD_EXT_HASH_SET
21208 echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_set> defining template class __gnu_cxx::hash_set" >&5
21209 echo $ECHO_N "checking whether the compiler has <ext/hash_set> defining template class __gnu_cxx::hash_set... $ECHO_C" >&6
21210 if test "${ac_cv_cxx_have_gnu_ext_hash_set+set}" = set; then
21211 echo $ECHO_N "(cached) $ECHO_C" >&6
21217 ac_cpp='$CXXCPP $CPPFLAGS'
21218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21222 cat >conftest.$ac_ext <<_ACEOF
21223 #line $LINENO "configure"
21226 cat confdefs.h >>conftest.$ac_ext
21227 cat >>conftest.$ac_ext <<_ACEOF
21228 /* end confdefs.h. */
21229 #include <ext/hash_set>
21230 #ifdef HAVE_NAMESPACES
21231 using namespace __gnu_cxx;
21241 rm -f conftest.$ac_objext
21242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21243 (eval $ac_compile) 2>&5
21245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21246 (exit $ac_status); } &&
21247 { ac_try='test -s conftest.$ac_objext'
21248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21249 (eval $ac_try) 2>&5
21251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21252 (exit $ac_status); }; }; then
21253 ac_cv_cxx_have_gnu_ext_hash_set=yes
21255 echo "$as_me: failed program was:" >&5
21256 sed 's/^/| /' conftest.$ac_ext >&5
21258 ac_cv_cxx_have_gnu_ext_hash_set=no
21260 rm -f conftest.$ac_objext conftest.$ac_ext
21262 ac_cpp='$CPP $CPPFLAGS'
21263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21268 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_gnu_ext_hash_set" >&5
21269 echo "${ECHO_T}$ac_cv_cxx_have_gnu_ext_hash_set" >&6
21270 if test "$ac_cv_cxx_have_gnu_ext_hash_set" = yes; then
21272 cat >>confdefs.h <<\_ACEOF
21273 #define HAVE_GNU_EXT_HASH_SET
21277 echo "$as_me:$LINENO: checking whether the compiler has <hash_set> defining template class ::hash_set" >&5
21278 echo $ECHO_N "checking whether the compiler has <hash_set> defining template class ::hash_set... $ECHO_C" >&6
21279 if test "${ac_cv_cxx_have_global_hash_set+set}" = set; then
21280 echo $ECHO_N "(cached) $ECHO_C" >&6
21286 ac_cpp='$CXXCPP $CPPFLAGS'
21287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21291 cat >conftest.$ac_ext <<_ACEOF
21292 #line $LINENO "configure"
21295 cat confdefs.h >>conftest.$ac_ext
21296 cat >>conftest.$ac_ext <<_ACEOF
21297 /* end confdefs.h. */
21298 #include <hash_set>
21302 hash_set<int> t; return 0;
21307 rm -f conftest.$ac_objext
21308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21309 (eval $ac_compile) 2>&5
21311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21312 (exit $ac_status); } &&
21313 { ac_try='test -s conftest.$ac_objext'
21314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21315 (eval $ac_try) 2>&5
21317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21318 (exit $ac_status); }; }; then
21319 ac_cv_cxx_have_global_hash_set=yes
21321 echo "$as_me: failed program was:" >&5
21322 sed 's/^/| /' conftest.$ac_ext >&5
21324 ac_cv_cxx_have_global_hash_set=no
21326 rm -f conftest.$ac_objext conftest.$ac_ext
21328 ac_cpp='$CPP $CPPFLAGS'
21329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21334 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_global_hash_set" >&5
21335 echo "${ECHO_T}$ac_cv_cxx_have_global_hash_set" >&6
21336 if test "$ac_cv_cxx_have_global_hash_set" = yes; then
21338 cat >>confdefs.h <<\_ACEOF
21339 #define HAVE_GLOBAL_HASH_SET
21343 echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5
21344 echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6
21345 if test "${ac_cv_cxx_have_ext_slist+set}" = set; then
21346 echo $ECHO_N "(cached) $ECHO_C" >&6
21352 ac_cpp='$CXXCPP $CPPFLAGS'
21353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21357 cat >conftest.$ac_ext <<_ACEOF
21358 #line $LINENO "configure"
21361 cat confdefs.h >>conftest.$ac_ext
21362 cat >>conftest.$ac_ext <<_ACEOF
21363 /* end confdefs.h. */
21364 #include <ext/slist>
21365 #ifdef HAVE_NAMESPACES
21366 using namespace std;
21371 slist<int> s; return 0;
21376 rm -f conftest.$ac_objext
21377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21378 (eval $ac_compile) 2>&5
21380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21381 (exit $ac_status); } &&
21382 { ac_try='test -s conftest.$ac_objext'
21383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21384 (eval $ac_try) 2>&5
21386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21387 (exit $ac_status); }; }; then
21388 ac_cv_cxx_have_ext_slist=std
21390 echo "$as_me: failed program was:" >&5
21391 sed 's/^/| /' conftest.$ac_ext >&5
21393 ac_cv_cxx_have_ext_slist=no
21395 rm -f conftest.$ac_objext conftest.$ac_ext
21396 cat >conftest.$ac_ext <<_ACEOF
21397 #line $LINENO "configure"
21400 cat confdefs.h >>conftest.$ac_ext
21401 cat >>conftest.$ac_ext <<_ACEOF
21402 /* end confdefs.h. */
21403 #include <ext/slist>
21404 #ifdef HAVE_NAMESPACES
21405 using namespace __gnu_cxx;
21410 slist<int> s; return 0;
21415 rm -f conftest.$ac_objext
21416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21417 (eval $ac_compile) 2>&5
21419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21420 (exit $ac_status); } &&
21421 { ac_try='test -s conftest.$ac_objext'
21422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21423 (eval $ac_try) 2>&5
21425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21426 (exit $ac_status); }; }; then
21427 ac_cv_cxx_have_ext_slist=gnu
21429 echo "$as_me: failed program was:" >&5
21430 sed 's/^/| /' conftest.$ac_ext >&5
21432 ac_cv_cxx_have_ext_slist=no
21434 rm -f conftest.$ac_objext conftest.$ac_ext
21437 ac_cpp='$CPP $CPPFLAGS'
21438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21444 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5
21445 echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6
21446 if test "$ac_cv_cxx_have_ext_slist" = std; then
21448 cat >>confdefs.h <<\_ACEOF
21449 #define HAVE_EXT_SLIST std
21453 if test "$ac_cv_cxx_have_ext_slist" = gnu; then
21455 cat >>confdefs.h <<\_ACEOF
21456 #define HAVE_EXT_SLIST gnu
21461 echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
21462 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6
21463 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
21464 echo $ECHO_N "(cached) $ECHO_C" >&6
21470 ac_cpp='$CXXCPP $CPPFLAGS'
21471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21475 cat >conftest.$ac_ext <<_ACEOF
21476 #line $LINENO "configure"
21479 cat confdefs.h >>conftest.$ac_ext
21480 cat >>conftest.$ac_ext <<_ACEOF
21481 /* end confdefs.h. */
21482 #include <iterator>
21483 #ifdef HAVE_NAMESPACES
21484 using namespace std;
21489 iterator<int,int,int> t; return 0;
21494 rm -f conftest.$ac_objext
21495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21496 (eval $ac_compile) 2>&5
21498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21499 (exit $ac_status); } &&
21500 { ac_try='test -s conftest.$ac_objext'
21501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21502 (eval $ac_try) 2>&5
21504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21505 (exit $ac_status); }; }; then
21506 ac_cv_cxx_have_std_iterator=yes
21508 echo "$as_me: failed program was:" >&5
21509 sed 's/^/| /' conftest.$ac_ext >&5
21511 ac_cv_cxx_have_std_iterator=no
21513 rm -f conftest.$ac_objext conftest.$ac_ext
21515 ac_cpp='$CPP $CPPFLAGS'
21516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21522 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
21523 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6
21524 if test "$ac_cv_cxx_have_std_iterator" = yes; then
21526 cat >>confdefs.h <<\_ACEOF
21527 #define HAVE_STD_ITERATOR
21532 echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
21533 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6
21534 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
21535 echo $ECHO_N "(cached) $ECHO_C" >&6
21541 ac_cpp='$CXXCPP $CPPFLAGS'
21542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21546 cat >conftest.$ac_ext <<_ACEOF
21547 #line $LINENO "configure"
21550 cat confdefs.h >>conftest.$ac_ext
21551 cat >>conftest.$ac_ext <<_ACEOF
21552 /* end confdefs.h. */
21553 #include <iterator>
21554 #ifdef HAVE_NAMESPACES
21555 using namespace std;
21560 bidirectional_iterator<int,int> t; return 0;
21565 rm -f conftest.$ac_objext
21566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21567 (eval $ac_compile) 2>&5
21569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21570 (exit $ac_status); } &&
21571 { ac_try='test -s conftest.$ac_objext'
21572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21573 (eval $ac_try) 2>&5
21575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21576 (exit $ac_status); }; }; then
21577 ac_cv_cxx_have_bi_iterator=yes
21579 echo "$as_me: failed program was:" >&5
21580 sed 's/^/| /' conftest.$ac_ext >&5
21582 ac_cv_cxx_have_bi_iterator=no
21584 rm -f conftest.$ac_objext conftest.$ac_ext
21586 ac_cpp='$CPP $CPPFLAGS'
21587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21593 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
21594 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6
21595 if test "$ac_cv_cxx_have_bi_iterator" = yes; then
21597 cat >>confdefs.h <<\_ACEOF
21598 #define HAVE_BI_ITERATOR
21603 echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
21604 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6
21605 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
21606 echo $ECHO_N "(cached) $ECHO_C" >&6
21612 ac_cpp='$CXXCPP $CPPFLAGS'
21613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21617 cat >conftest.$ac_ext <<_ACEOF
21618 #line $LINENO "configure"
21621 cat confdefs.h >>conftest.$ac_ext
21622 cat >>conftest.$ac_ext <<_ACEOF
21623 /* end confdefs.h. */
21624 #include <iterator>
21625 #ifdef HAVE_NAMESPACES
21626 using namespace std;
21631 forward_iterator<int,int> t; return 0;
21636 rm -f conftest.$ac_objext
21637 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21638 (eval $ac_compile) 2>&5
21640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21641 (exit $ac_status); } &&
21642 { ac_try='test -s conftest.$ac_objext'
21643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21644 (eval $ac_try) 2>&5
21646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21647 (exit $ac_status); }; }; then
21648 ac_cv_cxx_have_fwd_iterator=yes
21650 echo "$as_me: failed program was:" >&5
21651 sed 's/^/| /' conftest.$ac_ext >&5
21653 ac_cv_cxx_have_fwd_iterator=no
21655 rm -f conftest.$ac_objext conftest.$ac_ext
21657 ac_cpp='$CPP $CPPFLAGS'
21658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21664 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
21665 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6
21666 if test "$ac_cv_cxx_have_fwd_iterator" = yes; then
21668 cat >>confdefs.h <<\_ACEOF
21669 #define HAVE_FWD_ITERATOR
21675 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21676 # for constant arguments. Useless!
21677 echo "$as_me:$LINENO: checking for working alloca.h" >&5
21678 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
21679 if test "${ac_cv_working_alloca_h+set}" = set; then
21680 echo $ECHO_N "(cached) $ECHO_C" >&6
21682 cat >conftest.$ac_ext <<_ACEOF
21683 #line $LINENO "configure"
21686 cat confdefs.h >>conftest.$ac_ext
21687 cat >>conftest.$ac_ext <<_ACEOF
21688 /* end confdefs.h. */
21689 #include <alloca.h>
21693 char *p = (char *) alloca (2 * sizeof (int));
21698 rm -f conftest.$ac_objext conftest$ac_exeext
21699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21700 (eval $ac_link) 2>&5
21702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21703 (exit $ac_status); } &&
21704 { ac_try='test -s conftest$ac_exeext'
21705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21706 (eval $ac_try) 2>&5
21708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21709 (exit $ac_status); }; }; then
21710 ac_cv_working_alloca_h=yes
21712 echo "$as_me: failed program was:" >&5
21713 sed 's/^/| /' conftest.$ac_ext >&5
21715 ac_cv_working_alloca_h=no
21717 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21719 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21720 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
21721 if test $ac_cv_working_alloca_h = yes; then
21723 cat >>confdefs.h <<\_ACEOF
21724 #define HAVE_ALLOCA_H 1
21729 echo "$as_me:$LINENO: checking for alloca" >&5
21730 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
21731 if test "${ac_cv_func_alloca_works+set}" = set; then
21732 echo $ECHO_N "(cached) $ECHO_C" >&6
21734 cat >conftest.$ac_ext <<_ACEOF
21735 #line $LINENO "configure"
21738 cat confdefs.h >>conftest.$ac_ext
21739 cat >>conftest.$ac_ext <<_ACEOF
21740 /* end confdefs.h. */
21742 # define alloca __builtin_alloca
21745 # include <malloc.h>
21746 # define alloca _alloca
21749 # include <alloca.h>
21754 # ifndef alloca /* predefined by HP cc +Olibcalls */
21765 char *p = (char *) alloca (1);
21770 rm -f conftest.$ac_objext conftest$ac_exeext
21771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21772 (eval $ac_link) 2>&5
21774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21775 (exit $ac_status); } &&
21776 { ac_try='test -s conftest$ac_exeext'
21777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21778 (eval $ac_try) 2>&5
21780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21781 (exit $ac_status); }; }; then
21782 ac_cv_func_alloca_works=yes
21784 echo "$as_me: failed program was:" >&5
21785 sed 's/^/| /' conftest.$ac_ext >&5
21787 ac_cv_func_alloca_works=no
21789 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21791 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21792 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
21794 if test $ac_cv_func_alloca_works = yes; then
21796 cat >>confdefs.h <<\_ACEOF
21797 #define HAVE_ALLOCA 1
21801 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21802 # that cause trouble. Some versions do not even contain alloca or
21803 # contain a buggy version. If you still want to use their alloca,
21804 # use ar to extract alloca.o from them instead of compiling alloca.c.
21806 ALLOCA=alloca.$ac_objext
21808 cat >>confdefs.h <<\_ACEOF
21813 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21814 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
21815 if test "${ac_cv_os_cray+set}" = set; then
21816 echo $ECHO_N "(cached) $ECHO_C" >&6
21818 cat >conftest.$ac_ext <<_ACEOF
21819 #line $LINENO "configure"
21822 cat confdefs.h >>conftest.$ac_ext
21823 cat >>conftest.$ac_ext <<_ACEOF
21824 /* end confdefs.h. */
21825 #if defined(CRAY) && ! defined(CRAY2)
21832 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21833 $EGREP "webecray" >/dev/null 2>&1; then
21841 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
21842 echo "${ECHO_T}$ac_cv_os_cray" >&6
21843 if test $ac_cv_os_cray = yes; then
21844 for ac_func in _getb67 GETB67 getb67; do
21845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21846 echo "$as_me:$LINENO: checking for $ac_func" >&5
21847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21848 if eval "test \"\${$as_ac_var+set}\" = set"; then
21849 echo $ECHO_N "(cached) $ECHO_C" >&6
21851 cat >conftest.$ac_ext <<_ACEOF
21852 #line $LINENO "configure"
21855 cat confdefs.h >>conftest.$ac_ext
21856 cat >>conftest.$ac_ext <<_ACEOF
21857 /* end confdefs.h. */
21858 /* System header to define __stub macros and hopefully few prototypes,
21859 which can conflict with char $ac_func (); below.
21860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21861 <limits.h> exists even on freestanding compilers. */
21863 # include <limits.h>
21865 # include <assert.h>
21867 /* Override any gcc2 internal prototype to avoid an error. */
21872 /* We use char because int might match the return type of a gcc2
21873 builtin and then its argument prototype would still apply. */
21875 /* The GNU C library defines this for functions which it implements
21876 to always fail with ENOSYS. Some functions are actually named
21877 something starting with __ and the normal name is an alias. */
21878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21881 char (*f) () = $ac_func;
21890 return f != $ac_func;
21895 rm -f conftest.$ac_objext conftest$ac_exeext
21896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21897 (eval $ac_link) 2>&5
21899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21900 (exit $ac_status); } &&
21901 { ac_try='test -s conftest$ac_exeext'
21902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21903 (eval $ac_try) 2>&5
21905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21906 (exit $ac_status); }; }; then
21907 eval "$as_ac_var=yes"
21909 echo "$as_me: failed program was:" >&5
21910 sed 's/^/| /' conftest.$ac_ext >&5
21912 eval "$as_ac_var=no"
21914 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21918 if test `eval echo '${'$as_ac_var'}'` = yes; then
21920 cat >>confdefs.h <<_ACEOF
21921 #define CRAY_STACKSEG_END $ac_func
21930 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21931 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
21932 if test "${ac_cv_c_stack_direction+set}" = set; then
21933 echo $ECHO_N "(cached) $ECHO_C" >&6
21935 if test "$cross_compiling" = yes; then
21936 ac_cv_c_stack_direction=0
21938 cat >conftest.$ac_ext <<_ACEOF
21939 #line $LINENO "configure"
21942 cat confdefs.h >>conftest.$ac_ext
21943 cat >>conftest.$ac_ext <<_ACEOF
21944 /* end confdefs.h. */
21946 find_stack_direction ()
21948 static char *addr = 0;
21953 return find_stack_direction ();
21956 return (&dummy > addr) ? 1 : -1;
21962 exit (find_stack_direction () < 0);
21965 rm -f conftest$ac_exeext
21966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21967 (eval $ac_link) 2>&5
21969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21970 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21972 (eval $ac_try) 2>&5
21974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21975 (exit $ac_status); }; }; then
21976 ac_cv_c_stack_direction=1
21978 echo "$as_me: program exited with status $ac_status" >&5
21979 echo "$as_me: failed program was:" >&5
21980 sed 's/^/| /' conftest.$ac_ext >&5
21982 ( exit $ac_status )
21983 ac_cv_c_stack_direction=-1
21985 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21988 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21989 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
21991 cat >>confdefs.h <<_ACEOF
21992 #define STACK_DIRECTION $ac_cv_c_stack_direction
21998 if test $ac_cv_c_compiler_gnu = yes; then
21999 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
22000 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
22001 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
22002 echo $ECHO_N "(cached) $ECHO_C" >&6
22004 ac_pattern="Autoconf.*'x'"
22005 cat >conftest.$ac_ext <<_ACEOF
22006 #line $LINENO "configure"
22009 cat confdefs.h >>conftest.$ac_ext
22010 cat >>conftest.$ac_ext <<_ACEOF
22011 /* end confdefs.h. */
22015 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22016 $EGREP "$ac_pattern" >/dev/null 2>&1; then
22017 ac_cv_prog_gcc_traditional=yes
22019 ac_cv_prog_gcc_traditional=no
22024 if test $ac_cv_prog_gcc_traditional = no; then
22025 cat >conftest.$ac_ext <<_ACEOF
22026 #line $LINENO "configure"
22029 cat confdefs.h >>conftest.$ac_ext
22030 cat >>conftest.$ac_ext <<_ACEOF
22031 /* end confdefs.h. */
22032 #include <termio.h>
22035 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22036 $EGREP "$ac_pattern" >/dev/null 2>&1; then
22037 ac_cv_prog_gcc_traditional=yes
22043 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
22044 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
22045 if test $ac_cv_prog_gcc_traditional = yes; then
22046 CC="$CC -traditional"
22050 echo "$as_me:$LINENO: checking for working memcmp" >&5
22051 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
22052 if test "${ac_cv_func_memcmp_working+set}" = set; then
22053 echo $ECHO_N "(cached) $ECHO_C" >&6
22055 if test "$cross_compiling" = yes; then
22056 ac_cv_func_memcmp_working=no
22058 cat >conftest.$ac_ext <<_ACEOF
22059 #line $LINENO "configure"
22062 cat confdefs.h >>conftest.$ac_ext
22063 cat >>conftest.$ac_ext <<_ACEOF
22064 /* end confdefs.h. */
22070 /* Some versions of memcmp are not 8-bit clean. */
22071 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
22072 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
22075 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
22076 or more and with at least one buffer not starting on a 4-byte boundary.
22077 William Lewis provided this test program. */
22082 for (i = 0; i < 4; i++)
22086 strcpy (a, "--------01111111");
22087 strcpy (b, "--------10000000");
22088 if (memcmp (a, b, 16) >= 0)
22098 rm -f conftest$ac_exeext
22099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22100 (eval $ac_link) 2>&5
22102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22103 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22105 (eval $ac_try) 2>&5
22107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22108 (exit $ac_status); }; }; then
22109 ac_cv_func_memcmp_working=yes
22111 echo "$as_me: program exited with status $ac_status" >&5
22112 echo "$as_me: failed program was:" >&5
22113 sed 's/^/| /' conftest.$ac_ext >&5
22115 ( exit $ac_status )
22116 ac_cv_func_memcmp_working=no
22118 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22121 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
22122 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
22123 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
22127 for ac_header in stdlib.h unistd.h
22129 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22130 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22131 echo "$as_me:$LINENO: checking for $ac_header" >&5
22132 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22134 echo $ECHO_N "(cached) $ECHO_C" >&6
22136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22137 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22139 # Is the header compilable?
22140 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22141 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22142 cat >conftest.$ac_ext <<_ACEOF
22143 #line $LINENO "configure"
22146 cat confdefs.h >>conftest.$ac_ext
22147 cat >>conftest.$ac_ext <<_ACEOF
22148 /* end confdefs.h. */
22149 $ac_includes_default
22150 #include <$ac_header>
22152 rm -f conftest.$ac_objext
22153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22154 (eval $ac_compile) 2>&5
22156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22157 (exit $ac_status); } &&
22158 { ac_try='test -s conftest.$ac_objext'
22159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22160 (eval $ac_try) 2>&5
22162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22163 (exit $ac_status); }; }; then
22164 ac_header_compiler=yes
22166 echo "$as_me: failed program was:" >&5
22167 sed 's/^/| /' conftest.$ac_ext >&5
22169 ac_header_compiler=no
22171 rm -f conftest.$ac_objext conftest.$ac_ext
22172 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22173 echo "${ECHO_T}$ac_header_compiler" >&6
22175 # Is the header present?
22176 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22177 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22178 cat >conftest.$ac_ext <<_ACEOF
22179 #line $LINENO "configure"
22182 cat confdefs.h >>conftest.$ac_ext
22183 cat >>conftest.$ac_ext <<_ACEOF
22184 /* end confdefs.h. */
22185 #include <$ac_header>
22187 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22188 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22190 grep -v '^ *+' conftest.er1 >conftest.err
22192 cat conftest.err >&5
22193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22194 (exit $ac_status); } >/dev/null; then
22195 if test -s conftest.err; then
22196 ac_cpp_err=$ac_c_preproc_warn_flag
22203 if test -z "$ac_cpp_err"; then
22204 ac_header_preproc=yes
22206 echo "$as_me: failed program was:" >&5
22207 sed 's/^/| /' conftest.$ac_ext >&5
22209 ac_header_preproc=no
22211 rm -f conftest.err conftest.$ac_ext
22212 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22213 echo "${ECHO_T}$ac_header_preproc" >&6
22215 # So? What about this header?
22216 case $ac_header_compiler:$ac_header_preproc in
22218 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22219 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22220 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22221 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22224 ## ------------------------------------ ##
22225 ## Report this to bug-autoconf@gnu.org. ##
22226 ## ------------------------------------ ##
22229 sed "s/^/$as_me: WARNING: /" >&2
22232 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22233 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22234 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22235 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22236 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22237 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22240 ## ------------------------------------ ##
22241 ## Report this to bug-autoconf@gnu.org. ##
22242 ## ------------------------------------ ##
22245 sed "s/^/$as_me: WARNING: /" >&2
22248 echo "$as_me:$LINENO: checking for $ac_header" >&5
22249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22251 echo $ECHO_N "(cached) $ECHO_C" >&6
22253 eval "$as_ac_Header=$ac_header_preproc"
22255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22256 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22259 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22260 cat >>confdefs.h <<_ACEOF
22261 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22269 for ac_func in getpagesize
22271 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22272 echo "$as_me:$LINENO: checking for $ac_func" >&5
22273 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22274 if eval "test \"\${$as_ac_var+set}\" = set"; then
22275 echo $ECHO_N "(cached) $ECHO_C" >&6
22277 cat >conftest.$ac_ext <<_ACEOF
22278 #line $LINENO "configure"
22281 cat confdefs.h >>conftest.$ac_ext
22282 cat >>conftest.$ac_ext <<_ACEOF
22283 /* end confdefs.h. */
22284 /* System header to define __stub macros and hopefully few prototypes,
22285 which can conflict with char $ac_func (); below.
22286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22287 <limits.h> exists even on freestanding compilers. */
22289 # include <limits.h>
22291 # include <assert.h>
22293 /* Override any gcc2 internal prototype to avoid an error. */
22298 /* We use char because int might match the return type of a gcc2
22299 builtin and then its argument prototype would still apply. */
22301 /* The GNU C library defines this for functions which it implements
22302 to always fail with ENOSYS. Some functions are actually named
22303 something starting with __ and the normal name is an alias. */
22304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22307 char (*f) () = $ac_func;
22316 return f != $ac_func;
22321 rm -f conftest.$ac_objext conftest$ac_exeext
22322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22323 (eval $ac_link) 2>&5
22325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22326 (exit $ac_status); } &&
22327 { ac_try='test -s conftest$ac_exeext'
22328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22329 (eval $ac_try) 2>&5
22331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22332 (exit $ac_status); }; }; then
22333 eval "$as_ac_var=yes"
22335 echo "$as_me: failed program was:" >&5
22336 sed 's/^/| /' conftest.$ac_ext >&5
22338 eval "$as_ac_var=no"
22340 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22344 if test `eval echo '${'$as_ac_var'}'` = yes; then
22345 cat >>confdefs.h <<_ACEOF
22346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22352 echo "$as_me:$LINENO: checking for working mmap" >&5
22353 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
22354 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
22355 echo $ECHO_N "(cached) $ECHO_C" >&6
22357 if test "$cross_compiling" = yes; then
22358 ac_cv_func_mmap_fixed_mapped=no
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 $ac_includes_default
22368 /* malloc might have been renamed as rpl_malloc. */
22371 /* Thanks to Mike Haertel and Jim Avera for this test.
22372 Here is a matrix of mmap possibilities:
22373 mmap private not fixed
22374 mmap private fixed at somewhere currently unmapped
22375 mmap private fixed at somewhere already mapped
22376 mmap shared not fixed
22377 mmap shared fixed at somewhere currently unmapped
22378 mmap shared fixed at somewhere already mapped
22379 For private mappings, we should verify that changes cannot be read()
22380 back from the file, nor mmap's back from the file at a different
22381 address. (There have been systems where private was not correctly
22382 implemented like the infamous i386 svr4.0, and systems where the
22383 VM page cache was not coherent with the file system buffer cache
22384 like early versions of FreeBSD and possibly contemporary NetBSD.)
22385 For shared mappings, we should conversely verify that changes get
22386 propagated back to all the places they're supposed to be.
22388 Grep wants private fixed already mapped.
22389 The main things grep needs to know about mmap are:
22390 * does it exist and is it safe to write into the mmap'd area
22391 * how to use it (BSD variants) */
22394 #include <sys/mman.h>
22396 #if !STDC_HEADERS && !HAVE_STDLIB_H
22400 /* This mess was copied from the GNU getpagesize.h. */
22401 #if !HAVE_GETPAGESIZE
22402 /* Assume that all systems that can run configure have sys/param.h. */
22403 # if !HAVE_SYS_PARAM_H
22404 # define HAVE_SYS_PARAM_H 1
22407 # ifdef _SC_PAGESIZE
22408 # define getpagesize() sysconf(_SC_PAGESIZE)
22409 # else /* no _SC_PAGESIZE */
22410 # if HAVE_SYS_PARAM_H
22411 # include <sys/param.h>
22412 # ifdef EXEC_PAGESIZE
22413 # define getpagesize() EXEC_PAGESIZE
22414 # else /* no EXEC_PAGESIZE */
22416 # define getpagesize() NBPG * CLSIZE
22419 # endif /* no CLSIZE */
22420 # else /* no NBPG */
22422 # define getpagesize() NBPC
22423 # else /* no NBPC */
22425 # define getpagesize() PAGESIZE
22426 # endif /* PAGESIZE */
22427 # endif /* no NBPC */
22428 # endif /* no NBPG */
22429 # endif /* no EXEC_PAGESIZE */
22430 # else /* no HAVE_SYS_PARAM_H */
22431 # define getpagesize() 8192 /* punt totally */
22432 # endif /* no HAVE_SYS_PARAM_H */
22433 # endif /* no _SC_PAGESIZE */
22435 #endif /* no HAVE_GETPAGESIZE */
22440 char *data, *data2, *data3;
22444 pagesize = getpagesize ();
22446 /* First, make a file with some known garbage in it. */
22447 data = (char *) malloc (pagesize);
22450 for (i = 0; i < pagesize; ++i)
22451 *(data + i) = rand ();
22453 fd = creat ("conftest.mmap", 0600);
22456 if (write (fd, data, pagesize) != pagesize)
22460 /* Next, try to mmap the file at a fixed address which already has
22461 something else allocated at it. If we can, also make sure that
22462 we see the same garbage. */
22463 fd = open ("conftest.mmap", O_RDWR);
22466 data2 = (char *) malloc (2 * pagesize);
22469 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
22470 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22471 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22473 for (i = 0; i < pagesize; ++i)
22474 if (*(data + i) != *(data2 + i))
22477 /* Finally, make sure that changes to the mapped area do not
22478 percolate back to the file as seen by read(). (This is a bug on
22479 some variants of i386 svr4.0.) */
22480 for (i = 0; i < pagesize; ++i)
22481 *(data2 + i) = *(data2 + i) + 1;
22482 data3 = (char *) malloc (pagesize);
22485 if (read (fd, data3, pagesize) != pagesize)
22487 for (i = 0; i < pagesize; ++i)
22488 if (*(data + i) != *(data3 + i))
22494 rm -f conftest$ac_exeext
22495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22496 (eval $ac_link) 2>&5
22498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22499 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22501 (eval $ac_try) 2>&5
22503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22504 (exit $ac_status); }; }; then
22505 ac_cv_func_mmap_fixed_mapped=yes
22507 echo "$as_me: program exited with status $ac_status" >&5
22508 echo "$as_me: failed program was:" >&5
22509 sed 's/^/| /' conftest.$ac_ext >&5
22511 ( exit $ac_status )
22512 ac_cv_func_mmap_fixed_mapped=no
22514 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22517 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22518 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22519 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22521 cat >>confdefs.h <<\_ACEOF
22522 #define HAVE_MMAP 1
22526 rm -f conftest.mmap
22528 echo "$as_me:$LINENO: checking for mmap of files" >&5
22529 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6
22530 if test "${ac_cv_func_mmap_file+set}" = set; then
22531 echo $ECHO_N "(cached) $ECHO_C" >&6
22536 ac_cpp='$CPP $CPPFLAGS'
22537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22541 if test "$cross_compiling" = yes; then
22542 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22543 See \`config.log' for more details." >&5
22544 echo "$as_me: error: cannot run test program while cross compiling
22545 See \`config.log' for more details." >&2;}
22546 { (exit 1); exit 1; }; }
22548 cat >conftest.$ac_ext <<_ACEOF
22549 #line $LINENO "configure"
22552 cat confdefs.h >>conftest.$ac_ext
22553 cat >>conftest.$ac_ext <<_ACEOF
22554 /* end confdefs.h. */
22556 #ifdef HAVE_SYS_TYPES_H
22557 #include <sys/types.h>
22560 #ifdef HAVE_SYS_MMAN_H
22561 #include <sys/mman.h>
22564 #ifdef HAVE_FCNTL_H
22570 fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != (int) MAP_FAILED);}
22572 rm -f conftest$ac_exeext
22573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22574 (eval $ac_link) 2>&5
22576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22579 (eval $ac_try) 2>&5
22581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22582 (exit $ac_status); }; }; then
22583 ac_cv_func_mmap_file=yes
22585 echo "$as_me: program exited with status $ac_status" >&5
22586 echo "$as_me: failed program was:" >&5
22587 sed 's/^/| /' conftest.$ac_ext >&5
22589 ( exit $ac_status )
22590 ac_cv_func_mmap_file=no
22592 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22595 ac_cpp='$CPP $CPPFLAGS'
22596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22602 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
22603 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
22604 if test "$ac_cv_func_mmap_file" = yes; then
22606 cat >>confdefs.h <<\_ACEOF
22607 #define HAVE_MMAP_FILE
22614 if test ${ac_cv_func_mmap_file} = "no"
22616 { { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5
22617 echo "$as_me: error: mmap() of files required but not found" >&2;}
22618 { (exit 1); exit 1; }; }
22620 echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
22621 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6
22622 if test "${ac_cv_header_mmap_anon+set}" = set; then
22623 echo $ECHO_N "(cached) $ECHO_C" >&6
22628 ac_cpp='$CPP $CPPFLAGS'
22629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22633 cat >conftest.$ac_ext <<_ACEOF
22634 #line $LINENO "configure"
22637 cat confdefs.h >>conftest.$ac_ext
22638 cat >>conftest.$ac_ext <<_ACEOF
22639 /* end confdefs.h. */
22640 #include <sys/mman.h>
22641 #include <unistd.h>
22646 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
22651 rm -f conftest.$ac_objext
22652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22653 (eval $ac_compile) 2>&5
22655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22656 (exit $ac_status); } &&
22657 { ac_try='test -s conftest.$ac_objext'
22658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22659 (eval $ac_try) 2>&5
22661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22662 (exit $ac_status); }; }; then
22663 ac_cv_header_mmap_anon=yes
22665 echo "$as_me: failed program was:" >&5
22666 sed 's/^/| /' conftest.$ac_ext >&5
22668 ac_cv_header_mmap_anon=no
22670 rm -f conftest.$ac_objext conftest.$ac_ext
22672 ac_cpp='$CPP $CPPFLAGS'
22673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22679 echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
22680 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6
22681 if test "$ac_cv_header_mmap_anon" = yes; then
22683 cat >>confdefs.h <<\_ACEOF
22684 #define HAVE_MMAP_ANONYMOUS
22689 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
22690 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
22691 if test "${ac_cv_type_signal+set}" = set; then
22692 echo $ECHO_N "(cached) $ECHO_C" >&6
22694 cat >conftest.$ac_ext <<_ACEOF
22695 #line $LINENO "configure"
22698 cat confdefs.h >>conftest.$ac_ext
22699 cat >>conftest.$ac_ext <<_ACEOF
22700 /* end confdefs.h. */
22701 #include <sys/types.h>
22702 #include <signal.h>
22707 extern "C" void (*signal (int, void (*)(int)))(int);
22709 void (*signal ()) ();
22720 rm -f conftest.$ac_objext
22721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22722 (eval $ac_compile) 2>&5
22724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22725 (exit $ac_status); } &&
22726 { ac_try='test -s conftest.$ac_objext'
22727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22728 (eval $ac_try) 2>&5
22730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22731 (exit $ac_status); }; }; then
22732 ac_cv_type_signal=void
22734 echo "$as_me: failed program was:" >&5
22735 sed 's/^/| /' conftest.$ac_ext >&5
22737 ac_cv_type_signal=int
22739 rm -f conftest.$ac_objext conftest.$ac_ext
22741 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
22742 echo "${ECHO_T}$ac_cv_type_signal" >&6
22744 cat >>confdefs.h <<_ACEOF
22745 #define RETSIGTYPE $ac_cv_type_signal
22760 for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol strtoq strtoll
22762 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22763 echo "$as_me:$LINENO: checking for $ac_func" >&5
22764 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22765 if eval "test \"\${$as_ac_var+set}\" = set"; then
22766 echo $ECHO_N "(cached) $ECHO_C" >&6
22768 cat >conftest.$ac_ext <<_ACEOF
22769 #line $LINENO "configure"
22772 cat confdefs.h >>conftest.$ac_ext
22773 cat >>conftest.$ac_ext <<_ACEOF
22774 /* end confdefs.h. */
22775 /* System header to define __stub macros and hopefully few prototypes,
22776 which can conflict with char $ac_func (); below.
22777 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22778 <limits.h> exists even on freestanding compilers. */
22780 # include <limits.h>
22782 # include <assert.h>
22784 /* Override any gcc2 internal prototype to avoid an error. */
22789 /* We use char because int might match the return type of a gcc2
22790 builtin and then its argument prototype would still apply. */
22792 /* The GNU C library defines this for functions which it implements
22793 to always fail with ENOSYS. Some functions are actually named
22794 something starting with __ and the normal name is an alias. */
22795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22798 char (*f) () = $ac_func;
22807 return f != $ac_func;
22812 rm -f conftest.$ac_objext conftest$ac_exeext
22813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22814 (eval $ac_link) 2>&5
22816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22817 (exit $ac_status); } &&
22818 { ac_try='test -s conftest$ac_exeext'
22819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22820 (eval $ac_try) 2>&5
22822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22823 (exit $ac_status); }; }; then
22824 eval "$as_ac_var=yes"
22826 echo "$as_me: failed program was:" >&5
22827 sed 's/^/| /' conftest.$ac_ext >&5
22829 eval "$as_ac_var=no"
22831 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22835 if test `eval echo '${'$as_ac_var'}'` = yes; then
22836 cat >>confdefs.h <<_ACEOF
22837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22845 echo "$as_me:$LINENO: checking for mmap" >&5
22846 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
22847 if test "${ac_cv_func_mmap+set}" = set; then
22848 echo $ECHO_N "(cached) $ECHO_C" >&6
22850 cat >conftest.$ac_ext <<_ACEOF
22851 #line $LINENO "configure"
22854 cat confdefs.h >>conftest.$ac_ext
22855 cat >>conftest.$ac_ext <<_ACEOF
22856 /* end confdefs.h. */
22857 /* System header to define __stub macros and hopefully few prototypes,
22858 which can conflict with char mmap (); below.
22859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22860 <limits.h> exists even on freestanding compilers. */
22862 # include <limits.h>
22864 # include <assert.h>
22866 /* Override any gcc2 internal prototype to avoid an error. */
22871 /* We use char because int might match the return type of a gcc2
22872 builtin and then its argument prototype would still apply. */
22874 /* The GNU C library defines this for functions which it implements
22875 to always fail with ENOSYS. Some functions are actually named
22876 something starting with __ and the normal name is an alias. */
22877 #if defined (__stub_mmap) || defined (__stub___mmap)
22880 char (*f) () = mmap;
22894 rm -f conftest.$ac_objext conftest$ac_exeext
22895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22896 (eval $ac_link) 2>&5
22898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22899 (exit $ac_status); } &&
22900 { ac_try='test -s conftest$ac_exeext'
22901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22902 (eval $ac_try) 2>&5
22904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22905 (exit $ac_status); }; }; then
22906 ac_cv_func_mmap=yes
22908 echo "$as_me: failed program was:" >&5
22909 sed 's/^/| /' conftest.$ac_ext >&5
22913 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22915 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
22916 echo "${ECHO_T}$ac_cv_func_mmap" >&6
22917 if test $ac_cv_func_mmap = yes; then
22920 { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5
22921 echo "$as_me: error: Function mmap() required but not found" >&2;}
22922 { (exit 1); exit 1; }; }
22925 echo "$as_me:$LINENO: checking for mprotect" >&5
22926 echo $ECHO_N "checking for mprotect... $ECHO_C" >&6
22927 if test "${ac_cv_func_mprotect+set}" = set; then
22928 echo $ECHO_N "(cached) $ECHO_C" >&6
22930 cat >conftest.$ac_ext <<_ACEOF
22931 #line $LINENO "configure"
22934 cat confdefs.h >>conftest.$ac_ext
22935 cat >>conftest.$ac_ext <<_ACEOF
22936 /* end confdefs.h. */
22937 /* System header to define __stub macros and hopefully few prototypes,
22938 which can conflict with char mprotect (); below.
22939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22940 <limits.h> exists even on freestanding compilers. */
22942 # include <limits.h>
22944 # include <assert.h>
22946 /* Override any gcc2 internal prototype to avoid an error. */
22951 /* We use char because int might match the return type of a gcc2
22952 builtin and then its argument prototype would still apply. */
22954 /* The GNU C library defines this for functions which it implements
22955 to always fail with ENOSYS. Some functions are actually named
22956 something starting with __ and the normal name is an alias. */
22957 #if defined (__stub_mprotect) || defined (__stub___mprotect)
22960 char (*f) () = mprotect;
22969 return f != mprotect;
22974 rm -f conftest.$ac_objext conftest$ac_exeext
22975 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22976 (eval $ac_link) 2>&5
22978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22979 (exit $ac_status); } &&
22980 { ac_try='test -s conftest$ac_exeext'
22981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22982 (eval $ac_try) 2>&5
22984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22985 (exit $ac_status); }; }; then
22986 ac_cv_func_mprotect=yes
22988 echo "$as_me: failed program was:" >&5
22989 sed 's/^/| /' conftest.$ac_ext >&5
22991 ac_cv_func_mprotect=no
22993 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22995 echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
22996 echo "${ECHO_T}$ac_cv_func_mprotect" >&6
22997 if test $ac_cv_func_mprotect = yes; then
23000 { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5
23001 echo "$as_me: error: Function mprotect() required but not found" >&2;}
23002 { (exit 1); exit 1; }; }
23010 ac_cpp='$CPP $CPPFLAGS'
23011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23015 oldcflags="$CFLAGS"
23016 CFLAGS="$CFLAGS -Wl,-R."
23017 cat >conftest.$ac_ext <<_ACEOF
23018 int main() { return 0; }
23020 rm -f conftest.$ac_objext conftest$ac_exeext
23021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23022 (eval $ac_link) 2>&5
23024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23025 (exit $ac_status); } &&
23026 { ac_try='test -s conftest$ac_exeext'
23027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23028 (eval $ac_try) 2>&5
23030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23031 (exit $ac_status); }; }; then
23032 ac_cv_link_use_r=yes
23034 echo "$as_me: failed program was:" >&5
23035 sed 's/^/| /' conftest.$ac_ext >&5
23037 ac_cv_link_use_r=no
23039 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23040 CFLAGS="$oldcflags"
23042 ac_cpp='$CPP $CPPFLAGS'
23043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23047 if test "$ac_cv_link_use_r" = yes
23050 cat >>confdefs.h <<\_ACEOF
23051 #define HAVE_LINK_R 1
23058 # Check whether --enable-purify or --disable-purify was given.
23059 if test "${enable_purify+set}" = set; then
23060 enableval="$enable_purify"
23065 if test ${enableval} = "no"
23070 ENABLE_PURIFY=ENABLE_PURIFY=1
23074 # Check whether --enable-optimized or --disable-optimized was given.
23075 if test "${enable_optimized+set}" = set; then
23076 enableval="$enable_optimized"
23081 if test ${enableval} = "no"
23086 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
23090 # Check whether --enable-spec2000 or --disable-spec2000 was given.
23091 if test "${enable_spec2000+set}" = set; then
23092 enableval="$enable_spec2000"
23097 if test ${enableval} = "no"
23099 if test -d /home/vadve/shared/benchmarks/speccpu2000/benchspec
23101 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
23103 USE_SPEC=USE_SPEC=1
23111 if test ${enableval} = ""
23113 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
23116 SPEC_ROOT=${enableval}
23119 USE_SPEC=USE_SPEC=1
23123 # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given.
23124 if test "${enable_precompiled_bytecode+set}" = set; then
23125 enableval="$enable_precompiled_bytecode"
23130 if test ${enableval} = "no"
23135 UPB=USE_PRECOMPILED_BYTECODE=1
23140 # Check whether --enable-llc_diffs or --disable-llc_diffs was given.
23141 if test "${enable_llc_diffs+set}" = set; then
23142 enableval="$enable_llc_diffs"
23147 if test ${enableval} = "no"
23149 DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1
23156 # Check whether --enable-jit or --disable-jit was given.
23157 if test "${enable_jit+set}" = set; then
23158 enableval="$enable_jit"
23164 if test ${enableval} = "no"
23171 JIT=TARGET_HAS_JIT=1
23175 JIT=TARGET_HAS_JIT=1
23187 # Check whether --with-llvmgccdir or --without-llvmgccdir was given.
23188 if test "${with_llvmgccdir+set}" = set; then
23189 withval="$with_llvmgccdir"
23190 LLVMGCCDIR=$withval
23194 echo "$as_me:$LINENO: checking for llvm-gcc" >&5
23195 echo $ECHO_N "checking for llvm-gcc... $ECHO_C" >&6
23197 if test -d "$LLVMGCCDIR"
23199 if test -x "$LLVMGCCDIR/bin/gcc"
23201 LLVM_GCC_CHECK="$LLVMGCCDIR/bin/gcc"
23205 echo "$as_me:$LINENO: result: $LLVM_GCC_CHECK" >&5
23206 echo "${ECHO_T}$LLVM_GCC_CHECK" >&6
23207 if test "$LLVM_GCC_CHECK" = "no"
23212 echo "$as_me:$LINENO: checking whether llvm-gcc is sane" >&5
23213 echo $ECHO_N "checking whether llvm-gcc is sane... $ECHO_C" >&6
23215 if test -x "$LLVM_GCC_CHECK"
23217 cp /dev/null conftest.c
23218 "$LLVM_GCC_CHECK" -S -o - conftest.c | grep implementation > /dev/null 2>&1
23225 echo "$as_me:$LINENO: result: $LLVM_GCC_SANE" >&5
23226 echo "${ECHO_T}$LLVM_GCC_SANE" >&6
23227 if test "$LLVM_GCC_SANE" = "no"
23233 # Check whether --with-bcrepos or --without-bcrepos was given.
23234 if test "${with_bcrepos+set}" = set; then
23235 withval="$with_bcrepos"
23239 BCR=/home/vadve/lattner/LLVMPrograms
23244 # Check whether --with-papi or --without-papi was given.
23245 if test "${with_papi+set}" = set; then
23246 withval="$with_papi"
23250 PAPIDIR=/home/vadve/shared/Sparc/papi-2.3.4.1
23255 # Check whether --with-purify or --without-purify was given.
23256 if test "${with_purify+set}" = set; then
23257 withval="$with_purify"
23263 ac_config_files="$ac_config_files Makefile.config"
23264 cat >confcache <<\_ACEOF
23265 # This file is a shell script that caches the results of configure
23266 # tests run on this system so they can be shared between configure
23267 # scripts and configure runs, see configure's option --config-cache.
23268 # It is not useful on other systems. If it contains results you don't
23269 # want to keep, you may remove or edit it.
23271 # config.status only pays attention to the cache file if you give it
23272 # the --recheck option to rerun configure.
23274 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23275 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23276 # following values.
23280 # The following way of writing the cache mishandles newlines in values,
23281 # but we know of no workaround that is simple, portable, and efficient.
23282 # So, don't put newlines in cache variables' values.
23283 # Ultrix sh set writes to stderr and can't be redirected directly,
23284 # and sets the high bit in the cache file unless we assign to the vars.
23287 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23289 # `set' does not quote correctly, so add quotes (double-quote
23290 # substitution turns \\\\ into \\, and sed turns \\ into \).
23293 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23296 # `set' quotes correctly as required by POSIX, so do not add quotes.
23298 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23305 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23307 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23309 if diff $cache_file confcache >/dev/null 2>&1; then :; else
23310 if test -w $cache_file; then
23311 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23312 cat confcache >$cache_file
23314 echo "not updating unwritable cache $cache_file"
23319 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23320 # Let make expand exec_prefix.
23321 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23323 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23324 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23325 # trailing colons and then remove the whole line if VPATH becomes empty
23326 # (actually we leave an empty line to preserve line numbers).
23327 if test "x$srcdir" = x.; then
23328 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23329 s/:*\$(srcdir):*/:/;
23330 s/:*\${srcdir}:*/:/;
23332 s/^\([^=]*=[ ]*\):*/\1/;
23338 DEFS=-DHAVE_CONFIG_H
23342 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23343 # 1. Remove the extension, and $U if already installed.
23344 ac_i=`echo "$ac_i" |
23345 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
23347 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
23348 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
23350 LIBOBJS=$ac_libobjs
23352 LTLIBOBJS=$ac_ltlibobjs
23356 : ${CONFIG_STATUS=./config.status}
23357 ac_clean_files_save=$ac_clean_files
23358 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23359 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23360 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23361 cat >$CONFIG_STATUS <<_ACEOF
23363 # Generated by $as_me.
23364 # Run this file to recreate the current configuration.
23365 # Compiler output produced by configure, useful for debugging
23366 # configure, is in config.log if it exists.
23369 ac_cs_recheck=false
23371 SHELL=\${CONFIG_SHELL-$SHELL}
23374 cat >>$CONFIG_STATUS <<\_ACEOF
23375 ## --------------------- ##
23376 ## M4sh Initialization. ##
23377 ## --------------------- ##
23379 # Be Bourne compatible
23380 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23383 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23384 # is contrary to our usage. Disable this feature.
23385 alias -g '${1+"$@"}'='"$@"'
23386 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23390 # Support unset when possible.
23391 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
23398 # Work around bugs in pre-3.0 UWIN ksh.
23399 $as_unset ENV MAIL MAILPATH
23406 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23407 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23408 LC_TELEPHONE LC_TIME
23410 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
23411 eval $as_var=C; export $as_var
23417 # Required to use basename.
23418 if expr a : '\(a\)' >/dev/null 2>&1; then
23424 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
23425 as_basename=basename
23431 # Name of the executable.
23432 as_me=`$as_basename "$0" ||
23433 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23434 X"$0" : 'X\(//\)$' \| \
23435 X"$0" : 'X\(/\)$' \| \
23436 . : '\(.\)' 2>/dev/null ||
23438 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23439 /^X\/\(\/\/\)$/{ s//\1/; q; }
23440 /^X\/\(\/\).*/{ s//\1/; q; }
23444 # PATH needs CR, and LINENO needs CR and PATH.
23445 # Avoid depending upon Character Ranges.
23446 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23447 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23448 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23449 as_cr_digits='0123456789'
23450 as_cr_alnum=$as_cr_Letters$as_cr_digits
23452 # The user is always right.
23453 if test "${PATH_SEPARATOR+set}" != set; then
23454 echo "#! /bin/sh" >conf$$.sh
23455 echo "exit 0" >>conf$$.sh
23457 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23466 as_lineno_1=$LINENO
23467 as_lineno_2=$LINENO
23468 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23469 test "x$as_lineno_1" != "x$as_lineno_2" &&
23470 test "x$as_lineno_3" = "x$as_lineno_2" || {
23471 # Find who we are. Look in the path if we contain no path at all
23474 *[\\/]* ) as_myself=$0 ;;
23475 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23476 for as_dir in $PATH
23479 test -z "$as_dir" && as_dir=.
23480 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23485 # We did not find ourselves, most probably we were run as `sh COMMAND'
23486 # in which case we are not to be found in the path.
23487 if test "x$as_myself" = x; then
23490 if test ! -f "$as_myself"; then
23491 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23492 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23493 { (exit 1); exit 1; }; }
23495 case $CONFIG_SHELL in
23497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23498 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
23501 test -z "$as_dir" && as_dir=.
23502 for as_base in sh bash ksh sh5; do
23505 if ("$as_dir/$as_base" -c '
23506 as_lineno_1=$LINENO
23507 as_lineno_2=$LINENO
23508 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23509 test "x$as_lineno_1" != "x$as_lineno_2" &&
23510 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
23511 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23512 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23513 CONFIG_SHELL=$as_dir/$as_base
23514 export CONFIG_SHELL
23515 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23523 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23524 # uniformly replaced by the line number. The first 'sed' inserts a
23525 # line-number line before each line; the second 'sed' does the real
23526 # work. The second script uses 'N' to pair each line-number line
23527 # with the numbered line, and appends trailing '-' during
23528 # substitution so that $LINENO is not a special case at line end.
23529 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23530 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23531 sed '=' <$as_myself |
23536 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23539 s,^['$as_cr_digits']*\n,,
23540 ' >$as_me.lineno &&
23541 chmod +x $as_me.lineno ||
23542 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23543 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23544 { (exit 1); exit 1; }; }
23546 # Don't try to exec as it changes $[0], causing all sort of problems
23547 # (the dirname of $[0] is not the place where we might find the
23548 # original and so on. Autoconf is especially sensible to this).
23550 # Exit status is that of the last command.
23555 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23556 *c*,-n*) ECHO_N= ECHO_C='
23558 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23559 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23562 if expr a : '\(a\)' >/dev/null 2>&1; then
23568 rm -f conf$$ conf$$.exe conf$$.file
23570 if ln -s conf$$.file conf$$ 2>/dev/null; then
23571 # We could just check for DJGPP; but this test a) works b) is more generic
23572 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23573 if test -f conf$$.exe; then
23574 # Don't use ln at all; we don't have any links
23579 elif ln conf$$.file conf$$ 2>/dev/null; then
23584 rm -f conf$$ conf$$.exe conf$$.file
23586 if mkdir -p . 2>/dev/null; then
23592 as_executable_p="test -f"
23594 # Sed expression to map a string onto a valid CPP name.
23595 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23597 # Sed expression to map a string onto a valid variable name.
23598 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
23602 # We need space, tab and new line, in precisely that order.
23612 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23613 # report actual input values of CONFIG_FILES etc. instead of their
23614 # values after options handling. Logging --version etc. is OK.
23618 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23619 ## Running $as_me. ##
23624 This file was extended by [LLVM] $as_me [1.0], which was
23625 generated by GNU Autoconf 2.57. Invocation command line was
23627 CONFIG_FILES = $CONFIG_FILES
23628 CONFIG_HEADERS = $CONFIG_HEADERS
23629 CONFIG_LINKS = $CONFIG_LINKS
23630 CONFIG_COMMANDS = $CONFIG_COMMANDS
23634 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23638 # Files that config.status was made for.
23639 if test -n "$ac_config_files"; then
23640 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23643 if test -n "$ac_config_headers"; then
23644 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23647 if test -n "$ac_config_links"; then
23648 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23651 if test -n "$ac_config_commands"; then
23652 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23655 cat >>$CONFIG_STATUS <<\_ACEOF
23658 \`$as_me' instantiates files from templates according to the
23659 current configuration.
23661 Usage: $0 [OPTIONS] [FILE]...
23663 -h, --help print this help, then exit
23664 -V, --version print version number, then exit
23665 -q, --quiet do not print progress messages
23666 -d, --debug don't remove temporary files
23667 --recheck update $as_me by reconfiguring in the same conditions
23668 --file=FILE[:TEMPLATE]
23669 instantiate the configuration file FILE
23670 --header=FILE[:TEMPLATE]
23671 instantiate the configuration header FILE
23673 Configuration files:
23676 Configuration headers:
23679 Configuration commands:
23682 Report bugs to <bug-autoconf@gnu.org>."
23685 cat >>$CONFIG_STATUS <<_ACEOF
23687 [LLVM] config.status [1.0]
23688 configured by $0, generated by GNU Autoconf 2.57,
23689 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23691 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
23692 Free Software Foundation, Inc.
23693 This config.status script is free software; the Free Software Foundation
23694 gives unlimited permission to copy, distribute and modify it."
23699 cat >>$CONFIG_STATUS <<\_ACEOF
23700 # If no file are specified by the user, then we need to provide default
23701 # value. By we need to know if files were specified by the user.
23707 ac_option=`expr "x$1" : 'x\([^=]*\)='`
23708 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23716 *) # This is not an option, so the user has probably given explicit
23719 ac_need_defaults=false;;
23723 # Handling of the options.
23725 cat >>$CONFIG_STATUS <<\_ACEOF
23726 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23728 --version | --vers* | -V )
23729 echo "$ac_cs_version"; exit 0 ;;
23731 # Conflict between --help and --header
23732 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23733 Try \`$0 --help' for more information." >&5
23734 echo "$as_me: error: ambiguous option: $1
23735 Try \`$0 --help' for more information." >&2;}
23736 { (exit 1); exit 1; }; };;
23737 --help | --hel | -h )
23738 echo "$ac_cs_usage"; exit 0 ;;
23739 --debug | --d* | -d )
23741 --file | --fil | --fi | --f )
23743 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23744 ac_need_defaults=false;;
23745 --header | --heade | --head | --hea )
23747 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23748 ac_need_defaults=false;;
23749 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23750 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23753 # This is an error.
23754 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23755 Try \`$0 --help' for more information." >&5
23756 echo "$as_me: error: unrecognized option: $1
23757 Try \`$0 --help' for more information." >&2;}
23758 { (exit 1); exit 1; }; } ;;
23760 *) ac_config_targets="$ac_config_targets $1" ;;
23766 ac_configure_extra_args=
23768 if $ac_cs_silent; then
23770 ac_configure_extra_args="$ac_configure_extra_args --silent"
23774 cat >>$CONFIG_STATUS <<_ACEOF
23775 if \$ac_cs_recheck; then
23776 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23777 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23782 cat >>$CONFIG_STATUS <<_ACEOF
23784 # INIT-COMMANDS section.
23787 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
23788 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common`
23789 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.rules`
23790 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
23791 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/Makefile`
23792 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/DataStructure/Makefile`
23793 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/IPA/Makefile`
23794 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/LiveVar/Makefile`
23795 ${srcdir}/autoconf/mkinstalldirs `dirname lib/AsmParser/Makefile`
23796 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Makefile`
23797 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Reader/Makefile`
23798 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Writer/Makefile`
23799 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CWriter/Makefile`
23800 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/Makefile`
23801 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSched/Makefile`
23802 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSelection/Makefile`
23803 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/ModuloScheduling/Makefile`
23804 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/RegAlloc/Makefile`
23805 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/SelectionDAG/Makefile`
23806 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Makefile`
23807 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Interpreter/Makefile`
23808 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/JIT/Makefile`
23809 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Support/Makefile`
23810 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Makefile`
23811 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Sparc/Makefile`
23812 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/X86/Makefile`
23813 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Makefile`
23814 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Hello/Makefile`
23815 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/IPO/Makefile`
23816 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/Makefile`
23817 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/ProfilePaths/Makefile`
23818 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Scalar/Makefile`
23819 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Utils/Makefile`
23820 ${srcdir}/autoconf/mkinstalldirs `dirname lib/VMCore/Makefile`
23821 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile`
23822 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/Makefile`
23823 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/crtend/Makefile`
23824 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libc/Makefile`
23825 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libcurses/Makefile`
23826 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libg/Makefile`
23827 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libgcc/Makefile`
23828 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libm/Makefile`
23829 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libmalloc/Makefile`
23830 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libtermcap/Makefile`
23831 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libucb/Makefile`
23832 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutempter/Makefile`
23833 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutil/Makefile`
23834 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libdummy/Makefile`
23835 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libtrace/Makefile`
23836 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libprofile/Makefile`
23837 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile`
23838 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests`
23839 ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTest/llvm.py`
23840 ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTest/llvmdb.py`
23841 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile`
23842 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.programs`
23843 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.Makefile`
23844 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.report`
23845 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.report`
23846 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.report`
23847 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.example.Makefile`
23848 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.Makefile`
23849 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.buildrepo.Makefile`
23850 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.Makefile`
23851 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.report`
23852 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.Makefile`
23853 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.report`
23854 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.typesafe.Makefile`
23855 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.gnuplot`
23856 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.Makefile`
23857 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/Makefile`
23858 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile`
23859 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile.spec`
23860 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/Makefile`
23861 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/177.mesa/Makefile`
23862 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/179.art/Makefile`
23863 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/183.equake/Makefile`
23864 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/188.ammp/Makefile`
23865 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/Makefile`
23866 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/164.gzip/Makefile`
23867 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/175.vpr/Makefile`
23868 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/176.gcc/Makefile`
23869 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/181.mcf/Makefile`
23870 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/186.crafty/Makefile`
23871 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/197.parser/Makefile`
23872 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/252.eon/Makefile`
23873 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile`
23874 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/254.gap/Makefile`
23875 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/255.vortex/Makefile`
23876 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile`
23877 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/300.twolf/Makefile`
23878 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/LLVMSource/Makefile`
23879 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile`
23880 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile.multisrc`
23881 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Makefile`
23882 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Burg/Makefile`
23883 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/aha/Makefile`
23884 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/sgefa/Makefile`
23885 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Makefile`
23886 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile`
23887 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/Makefile`
23888 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/Makefile`
23889 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in`
23890 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile`
23891 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in`
23892 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile`
23893 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in`
23894 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile`
23895 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in`
23896 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile`
23897 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in`
23898 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile`
23899 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in`
23900 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile`
23901 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in`
23902 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/Makefile`
23903 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile`
23904 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile`
23905 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile`
23906 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile`
23907 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile`
23908 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile`
23909 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile`
23910 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile`
23911 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile`
23912 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile`
23913 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/Makefile`
23914 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile`
23915 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile`
23916 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile`
23917 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/health/Makefile`
23918 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile`
23919 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile`
23920 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/power/Makefile`
23921 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile`
23922 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile`
23923 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile`
23924 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile`
23925 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile`
23926 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile`
23927 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile`
23928 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile`
23929 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile`
23930 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile`
23931 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile`
23932 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/sim/Makefile`
23933 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile`
23934 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile.singlesrc`
23935 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Gizmos/Makefile`
23936 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Makefile`
23937 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile`
23938 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Shootout/Makefile`
23939 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Stanford/Makefile`
23940 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Misc/Makefile`
23941 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/CustomChecked/Makefile`
23942 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/Makefile`
23943 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile`
23944 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/Makefile`
23945 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C/Makefile`
23946 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/Makefile`
23947 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/EH/Makefile`
23948 ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
23949 ${srcdir}/autoconf/mkinstalldirs `dirname tools/analyze/Makefile`
23950 ${srcdir}/autoconf/mkinstalldirs `dirname tools/bugpoint/Makefile`
23951 ${srcdir}/autoconf/mkinstalldirs `dirname tools/extract/Makefile`
23952 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccas/Makefile`
23953 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccld/Makefile`
23954 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llc/Makefile`
23955 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llee/Makefile`
23956 ${srcdir}/autoconf/mkinstalldirs `dirname tools/lli/Makefile`
23957 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-ar/Makefile`
23958 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-as/Makefile`
23959 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-dis/Makefile`
23960 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-link/Makefile`
23961 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-nm/Makefile`
23962 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-prof/Makefile`
23963 ${srcdir}/autoconf/mkinstalldirs `dirname tools/opt/Makefile`
23964 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Makefile`
23965 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Makefile`
23966 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Doc/Makefile`
23967 ${srcdir}/autoconf/mkinstalldirs `dirname utils/TableGen/Makefile`
23968 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile`
23969 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile`
23970 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile.common`
23971 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/Makefile`
23972 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/ModuleMaker/Makefile`
23973 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Stacker/Makefile`
23974 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Stacker/lib/Makefile`
23975 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Stacker/lib/compiler/Makefile`
23976 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Stacker/lib/runtime/Makefile`
23977 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Stacker/tools/Makefile`
23978 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Stacker/tools/stkrc/Makefile`
23979 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Stacker/test/Makefile`
23980 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Stacker/samples/Makefile`
23986 cat >>$CONFIG_STATUS <<\_ACEOF
23987 for ac_config_target in $ac_config_targets
23989 case "$ac_config_target" in
23990 # Handling of arguments.
23991 "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
23992 "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23993 "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;;
23994 "Makefile.rules" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.rules" ;;
23995 "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
23996 "lib/Analysis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/Makefile" ;;
23997 "lib/Analysis/DataStructure/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/DataStructure/Makefile" ;;
23998 "lib/Analysis/IPA/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/IPA/Makefile" ;;
23999 "lib/Analysis/LiveVar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/LiveVar/Makefile" ;;
24000 "lib/AsmParser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/AsmParser/Makefile" ;;
24001 "lib/Bytecode/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Makefile" ;;
24002 "lib/Bytecode/Reader/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Reader/Makefile" ;;
24003 "lib/Bytecode/Writer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Writer/Makefile" ;;
24004 "lib/CWriter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CWriter/Makefile" ;;
24005 "lib/CodeGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/Makefile" ;;
24006 "lib/CodeGen/InstrSched/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSched/Makefile" ;;
24007 "lib/CodeGen/InstrSelection/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSelection/Makefile" ;;
24008 "lib/CodeGen/ModuloScheduling/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/ModuloScheduling/Makefile" ;;
24009 "lib/CodeGen/RegAlloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/RegAlloc/Makefile" ;;
24010 "lib/CodeGen/SelectionDAG/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/SelectionDAG/Makefile" ;;
24011 "lib/ExecutionEngine/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Makefile" ;;
24012 "lib/ExecutionEngine/Interpreter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Interpreter/Makefile" ;;
24013 "lib/ExecutionEngine/JIT/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/JIT/Makefile" ;;
24014 "lib/Support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Support/Makefile" ;;
24015 "lib/Target/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Makefile" ;;
24016 "lib/Target/Sparc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Sparc/Makefile" ;;
24017 "lib/Target/X86/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/X86/Makefile" ;;
24018 "lib/Transforms/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Makefile" ;;
24019 "lib/Transforms/Hello/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Hello/Makefile" ;;
24020 "lib/Transforms/IPO/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/IPO/Makefile" ;;
24021 "lib/Transforms/Instrumentation/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/Makefile" ;;
24022 "lib/Transforms/Instrumentation/ProfilePaths/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/ProfilePaths/Makefile" ;;
24023 "lib/Transforms/Scalar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Scalar/Makefile" ;;
24024 "lib/Transforms/Utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Utils/Makefile" ;;
24025 "lib/VMCore/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/VMCore/Makefile" ;;
24026 "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;;
24027 "runtime/GCCLibraries/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/Makefile" ;;
24028 "runtime/GCCLibraries/crtend/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/crtend/Makefile" ;;
24029 "runtime/GCCLibraries/libc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libc/Makefile" ;;
24030 "runtime/GCCLibraries/libcurses/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libcurses/Makefile" ;;
24031 "runtime/GCCLibraries/libg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libg/Makefile" ;;
24032 "runtime/GCCLibraries/libgcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libgcc/Makefile" ;;
24033 "runtime/GCCLibraries/libm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libm/Makefile" ;;
24034 "runtime/GCCLibraries/libmalloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libmalloc/Makefile" ;;
24035 "runtime/GCCLibraries/libtermcap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libtermcap/Makefile" ;;
24036 "runtime/GCCLibraries/libucb/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libucb/Makefile" ;;
24037 "runtime/GCCLibraries/libutempter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutempter/Makefile" ;;
24038 "runtime/GCCLibraries/libutil/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutil/Makefile" ;;
24039 "runtime/libdummy/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libdummy/Makefile" ;;
24040 "runtime/libtrace/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libtrace/Makefile" ;;
24041 "runtime/libprofile/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libprofile/Makefile" ;;
24042 "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;;
24043 "test/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile.tests" ;;
24044 "test/QMTest/llvm.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTest/llvm.py" ;;
24045 "test/QMTest/llvmdb.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTest/llvmdb.py" ;;
24046 "test/Programs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile" ;;
24047 "test/Programs/Makefile.programs" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.programs" ;;
24048 "test/Programs/TEST.aa.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.Makefile" ;;
24049 "test/Programs/TEST.dsgraph.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.report" ;;
24050 "test/Programs/TEST.micro.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.report" ;;
24051 "test/Programs/TEST.aa.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.report" ;;
24052 "test/Programs/TEST.example.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.example.Makefile" ;;
24053 "test/Programs/TEST.nightly.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.Makefile" ;;
24054 "test/Programs/TEST.buildrepo.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.buildrepo.Makefile" ;;
24055 "test/Programs/TEST.jit.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.Makefile" ;;
24056 "test/Programs/TEST.nightly.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.report" ;;
24057 "test/Programs/TEST.dsgraph.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.Makefile" ;;
24058 "test/Programs/TEST.jit.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.report" ;;
24059 "test/Programs/TEST.typesafe.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.typesafe.Makefile" ;;
24060 "test/Programs/TEST.dsgraph.gnuplot" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.gnuplot" ;;
24061 "test/Programs/TEST.micro.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.Makefile" ;;
24062 "test/Programs/External/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/Makefile" ;;
24063 "test/Programs/External/SPEC/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile" ;;
24064 "test/Programs/External/SPEC/Makefile.spec" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile.spec" ;;
24065 "test/Programs/External/SPEC/CFP2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/Makefile" ;;
24066 "test/Programs/External/SPEC/CFP2000/177.mesa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/177.mesa/Makefile" ;;
24067 "test/Programs/External/SPEC/CFP2000/179.art/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/179.art/Makefile" ;;
24068 "test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ;;
24069 "test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ;;
24070 "test/Programs/External/SPEC/CINT2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/Makefile" ;;
24071 "test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ;;
24072 "test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ;;
24073 "test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ;;
24074 "test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ;;
24075 "test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ;;
24076 "test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ;;
24077 "test/Programs/External/SPEC/CINT2000/252.eon/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/252.eon/Makefile" ;;
24078 "test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile" ;;
24079 "test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ;;
24080 "test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ;;
24081 "test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ;;
24082 "test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ;;
24083 "test/Programs/LLVMSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/LLVMSource/Makefile" ;;
24084 "test/Programs/MultiSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile" ;;
24085 "test/Programs/MultiSource/Makefile.multisrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile.multisrc" ;;
24086 "test/Programs/MultiSource/Applications/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Makefile" ;;
24087 "test/Programs/MultiSource/Applications/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Burg/Makefile" ;;
24088 "test/Programs/MultiSource/Applications/aha/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/aha/Makefile" ;;
24089 "test/Programs/MultiSource/Applications/sgefa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/sgefa/Makefile" ;;
24090 "test/Programs/MultiSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Makefile" ;;
24091 "test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ;;
24092 "test/Programs/MultiSource/Benchmarks/FreeBench/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/Makefile" ;;
24093 "test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/Makefile" ;;
24094 "test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in" ;;
24095 "test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile" ;;
24096 "test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in" ;;
24097 "test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile" ;;
24098 "test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in" ;;
24099 "test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile" ;;
24100 "test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in" ;;
24101 "test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile" ;;
24102 "test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in" ;;
24103 "test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile" ;;
24104 "test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in" ;;
24105 "test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile" ;;
24106 "test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in" ;;
24107 "test/Programs/MultiSource/Benchmarks/McCat/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/Makefile" ;;
24108 "test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ;;
24109 "test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ;;
24110 "test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ;;
24111 "test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ;;
24112 "test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ;;
24113 "test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ;;
24114 "test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ;;
24115 "test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ;;
24116 "test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ;;
24117 "test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ;;
24118 "test/Programs/MultiSource/Benchmarks/Olden/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/Makefile" ;;
24119 "test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ;;
24120 "test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ;;
24121 "test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ;;
24122 "test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ;;
24123 "test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ;;
24124 "test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ;;
24125 "test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ;;
24126 "test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ;;
24127 "test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ;;
24128 "test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ;;
24129 "test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ;;
24130 "test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ;;
24131 "test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ;;
24132 "test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ;;
24133 "test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ;;
24134 "test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ;;
24135 "test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ;;
24136 "test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ;;
24137 "test/Programs/MultiSource/Benchmarks/sim/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/sim/Makefile" ;;
24138 "test/Programs/SingleSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile" ;;
24139 "test/Programs/SingleSource/Makefile.singlesrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile.singlesrc" ;;
24140 "test/Programs/SingleSource/Gizmos/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Gizmos/Makefile" ;;
24141 "test/Programs/SingleSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Makefile" ;;
24142 "test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ;;
24143 "test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ;;
24144 "test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ;;
24145 "test/Programs/SingleSource/Benchmarks/Misc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Misc/Makefile" ;;
24146 "test/Programs/SingleSource/CustomChecked/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/CustomChecked/Makefile" ;;
24147 "test/Programs/SingleSource/UnitTests/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/Makefile" ;;
24148 "test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ;;
24149 "test/Programs/SingleSource/Regression/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/Makefile" ;;
24150 "test/Programs/SingleSource/Regression/C/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C/Makefile" ;;
24151 "test/Programs/SingleSource/Regression/C++/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/Makefile" ;;
24152 "test/Programs/SingleSource/Regression/C++/EH/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/EH/Makefile" ;;
24153 "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
24154 "tools/analyze/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/analyze/Makefile" ;;
24155 "tools/bugpoint/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/bugpoint/Makefile" ;;
24156 "tools/extract/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/extract/Makefile" ;;
24157 "tools/gccas/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccas/Makefile" ;;
24158 "tools/gccld/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccld/Makefile" ;;
24159 "tools/llc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llc/Makefile" ;;
24160 "tools/llee/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llee/Makefile" ;;
24161 "tools/lli/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/lli/Makefile" ;;
24162 "tools/llvm-ar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-ar/Makefile" ;;
24163 "tools/llvm-as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-as/Makefile" ;;
24164 "tools/llvm-dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-dis/Makefile" ;;
24165 "tools/llvm-link/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-link/Makefile" ;;
24166 "tools/llvm-nm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-nm/Makefile" ;;
24167 "tools/llvm-prof/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-prof/Makefile" ;;
24168 "tools/opt/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/opt/Makefile" ;;
24169 "utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Makefile" ;;
24170 "utils/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Makefile" ;;
24171 "utils/Burg/Doc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Doc/Makefile" ;;
24172 "utils/TableGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/TableGen/Makefile" ;;
24173 "projects/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Makefile" ;;
24174 "projects/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile" ;;
24175 "projects/ModuleMaker/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile.common" ;;
24176 "projects/ModuleMaker/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/Makefile" ;;
24177 "projects/ModuleMaker/tools/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/ModuleMaker/Makefile" ;;
24178 "projects/Stacker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Stacker/Makefile" ;;
24179 "projects/Stacker/lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Stacker/lib/Makefile" ;;
24180 "projects/Stacker/lib/compiler/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Stacker/lib/compiler/Makefile" ;;
24181 "projects/Stacker/lib/runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Stacker/lib/runtime/Makefile" ;;
24182 "projects/Stacker/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Stacker/tools/Makefile" ;;
24183 "projects/Stacker/tools/stkrc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Stacker/tools/stkrc/Makefile" ;;
24184 "projects/Stacker/test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Stacker/test/Makefile" ;;
24185 "projects/Stacker/samples/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Stacker/samples/Makefile" ;;
24186 "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;;
24187 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24188 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24189 { (exit 1); exit 1; }; };;
24193 # If the user did not use the arguments to specify the items to instantiate,
24194 # then the envvar interface is used. Set only those that are not.
24195 # We use the long form for the default assignment because of an extremely
24196 # bizarre bug on SunOS 4.1.3.
24197 if $ac_need_defaults; then
24198 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24199 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24200 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24203 # Have a temporary directory for convenience. Make it in the build tree
24204 # simply because there is no reason to put it here, and in addition,
24205 # creating and moving files from /tmp can sometimes cause problems.
24206 # Create a temporary directory, and hook for its removal unless debugging.
24209 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
24210 trap '{ (exit 1); exit 1; }' 1 2 13 15
24213 # Create a (secure) tmp directory for tmp files.
24216 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
24217 test -n "$tmp" && test -d "$tmp"
24220 tmp=./confstat$$-$RANDOM
24221 (umask 077 && mkdir $tmp)
24224 echo "$me: cannot create a temporary directory in ." >&2
24225 { (exit 1); exit 1; }
24230 cat >>$CONFIG_STATUS <<_ACEOF
24233 # CONFIG_FILES section.
24236 # No need to generate the scripts if there are no CONFIG_FILES.
24237 # This happens for instance when ./config.status config.h
24238 if test -n "\$CONFIG_FILES"; then
24239 # Protect against being on the right side of a sed subst in config.status.
24240 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
24241 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
24242 s,@SHELL@,$SHELL,;t t
24243 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
24244 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
24245 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
24246 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
24247 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
24248 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
24249 s,@exec_prefix@,$exec_prefix,;t t
24250 s,@prefix@,$prefix,;t t
24251 s,@program_transform_name@,$program_transform_name,;t t
24252 s,@bindir@,$bindir,;t t
24253 s,@sbindir@,$sbindir,;t t
24254 s,@libexecdir@,$libexecdir,;t t
24255 s,@datadir@,$datadir,;t t
24256 s,@sysconfdir@,$sysconfdir,;t t
24257 s,@sharedstatedir@,$sharedstatedir,;t t
24258 s,@localstatedir@,$localstatedir,;t t
24259 s,@libdir@,$libdir,;t t
24260 s,@includedir@,$includedir,;t t
24261 s,@oldincludedir@,$oldincludedir,;t t
24262 s,@infodir@,$infodir,;t t
24263 s,@mandir@,$mandir,;t t
24264 s,@build_alias@,$build_alias,;t t
24265 s,@host_alias@,$host_alias,;t t
24266 s,@target_alias@,$target_alias,;t t
24267 s,@DEFS@,$DEFS,;t t
24268 s,@ECHO_C@,$ECHO_C,;t t
24269 s,@ECHO_N@,$ECHO_N,;t t
24270 s,@ECHO_T@,$ECHO_T,;t t
24271 s,@LIBS@,$LIBS,;t t
24272 s,@subdirs@,$subdirs,;t t
24273 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
24274 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
24275 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
24276 s,@build@,$build,;t t
24277 s,@build_cpu@,$build_cpu,;t t
24278 s,@build_vendor@,$build_vendor,;t t
24279 s,@build_os@,$build_os,;t t
24280 s,@host@,$host,;t t
24281 s,@host_cpu@,$host_cpu,;t t
24282 s,@host_vendor@,$host_vendor,;t t
24283 s,@host_os@,$host_os,;t t
24284 s,@target@,$target,;t t
24285 s,@target_cpu@,$target_cpu,;t t
24286 s,@target_vendor@,$target_vendor,;t t
24287 s,@target_os@,$target_os,;t t
24289 s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t
24290 s,@ARCH@,$ARCH,;t t
24292 s,@CXXFLAGS@,$CXXFLAGS,;t t
24293 s,@LDFLAGS@,$LDFLAGS,;t t
24294 s,@CPPFLAGS@,$CPPFLAGS,;t t
24295 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
24296 s,@EXEEXT@,$EXEEXT,;t t
24297 s,@OBJEXT@,$OBJEXT,;t t
24299 s,@CFLAGS@,$CFLAGS,;t t
24300 s,@ac_ct_CC@,$ac_ct_CC,;t t
24302 s,@ifGNUmake@,$ifGNUmake,;t t
24304 s,@LEXLIB@,$LEXLIB,;t t
24305 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
24306 s,@YACC@,$YACC,;t t
24307 s,@EGREP@,$EGREP,;t t
24308 s,@LN_S@,$LN_S,;t t
24309 s,@ECHO@,$ECHO,;t t
24311 s,@ac_ct_AR@,$ac_ct_AR,;t t
24312 s,@RANLIB@,$RANLIB,;t t
24313 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
24314 s,@STRIP@,$STRIP,;t t
24315 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
24316 s,@CXXCPP@,$CXXCPP,;t t
24318 s,@FFLAGS@,$FFLAGS,;t t
24319 s,@ac_ct_F77@,$ac_ct_F77,;t t
24320 s,@LIBTOOL@,$LIBTOOL,;t t
24321 s,@RPWD@,$RPWD,;t t
24324 s,@MKDIR@,$MKDIR,;t t
24325 s,@DATE@,$DATE,;t t
24328 s,@ETAGS@,$ETAGS,;t t
24329 s,@PYTHON@,$PYTHON,;t t
24330 s,@QMTEST@,$QMTEST,;t t
24331 s,@ALLOCA@,$ALLOCA,;t t
24332 s,@LIBOBJS@,$LIBOBJS,;t t
24333 s,@MMAP_FILE@,$MMAP_FILE,;t t
24334 s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t
24335 s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t
24336 s,@SPEC_ROOT@,$SPEC_ROOT,;t t
24337 s,@USE_SPEC@,$USE_SPEC,;t t
24339 s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t
24342 s,@PAPIDIR@,$PAPIDIR,;t t
24343 s,@PURIFY@,$PURIFY,;t t
24344 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
24349 cat >>$CONFIG_STATUS <<\_ACEOF
24350 # Split the substitutions into bite-sized pieces for seds with
24351 # small command number limits, like on Digital OSF/1 and HP-UX.
24352 ac_max_sed_lines=48
24353 ac_sed_frag=1 # Number of current file.
24354 ac_beg=1 # First line for current file.
24355 ac_end=$ac_max_sed_lines # Line after last line for current file.
24358 while $ac_more_lines; do
24359 if test $ac_beg -gt 1; then
24360 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
24362 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
24364 if test ! -s $tmp/subs.frag; then
24365 ac_more_lines=false
24367 # The purpose of the label and of the branching condition is to
24368 # speed up the sed processing (if there are no `@' at all, there
24369 # is no need to browse any of the substitutions).
24370 # These are the two extra sed commands mentioned above.
24372 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
24373 if test -z "$ac_sed_cmds"; then
24374 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
24376 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
24378 ac_sed_frag=`expr $ac_sed_frag + 1`
24380 ac_end=`expr $ac_end + $ac_max_sed_lines`
24383 if test -z "$ac_sed_cmds"; then
24386 fi # test -n "$CONFIG_FILES"
24389 cat >>$CONFIG_STATUS <<\_ACEOF
24390 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
24391 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24393 - | *:- | *:-:* ) # input from stdin
24395 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24396 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24397 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24398 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24399 * ) ac_file_in=$ac_file.in ;;
24402 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
24403 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24404 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24405 X"$ac_file" : 'X\(//\)[^/]' \| \
24406 X"$ac_file" : 'X\(//\)$' \| \
24407 X"$ac_file" : 'X\(/\)' \| \
24408 . : '\(.\)' 2>/dev/null ||
24410 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24411 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24412 /^X\(\/\/\)$/{ s//\1/; q; }
24413 /^X\(\/\).*/{ s//\1/; q; }
24415 { if $as_mkdir_p; then
24420 while test ! -d "$as_dir"; do
24421 as_dirs="$as_dir $as_dirs"
24422 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24423 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24424 X"$as_dir" : 'X\(//\)[^/]' \| \
24425 X"$as_dir" : 'X\(//\)$' \| \
24426 X"$as_dir" : 'X\(/\)' \| \
24427 . : '\(.\)' 2>/dev/null ||
24429 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24430 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24431 /^X\(\/\/\)$/{ s//\1/; q; }
24432 /^X\(\/\).*/{ s//\1/; q; }
24435 test ! -n "$as_dirs" || mkdir $as_dirs
24436 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24437 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24438 { (exit 1); exit 1; }; }; }
24442 if test "$ac_dir" != .; then
24443 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24444 # A "../" for each directory in $ac_dir_suffix.
24445 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24447 ac_dir_suffix= ac_top_builddir=
24451 .) # No --srcdir option. We are building in place.
24453 if test -z "$ac_top_builddir"; then
24456 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24458 [\\/]* | ?:[\\/]* ) # Absolute path.
24459 ac_srcdir=$srcdir$ac_dir_suffix;
24460 ac_top_srcdir=$srcdir ;;
24461 *) # Relative path.
24462 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24463 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24465 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24467 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24468 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24469 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24470 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24474 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24475 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
24478 if test x"$ac_file" != x-; then
24479 { echo "$as_me:$LINENO: creating $ac_file" >&5
24480 echo "$as_me: creating $ac_file" >&6;}
24483 # Let's still pretend it is `configure' which instantiates (i.e., don't
24484 # use $as_me), people would be surprised to read:
24485 # /* config.h. Generated by config.status. */
24486 if test x"$ac_file" = x-; then
24489 configure_input="$ac_file. "
24491 configure_input=$configure_input"Generated from `echo $ac_file_in |
24492 sed 's,.*/,,'` by configure."
24494 # First look for the input files in the build tree, otherwise in the
24496 ac_file_inputs=`IFS=:
24497 for f in $ac_file_in; do
24499 -) echo $tmp/stdin ;;
24501 # Absolute (can't be DOS-style, as IFS=:)
24502 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24503 echo "$as_me: error: cannot find input file: $f" >&2;}
24504 { (exit 1); exit 1; }; }
24507 if test -f "$f"; then
24510 elif test -f "$srcdir/$f"; then
24515 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24516 echo "$as_me: error: cannot find input file: $f" >&2;}
24517 { (exit 1); exit 1; }; }
24520 done` || { (exit 1); exit 1; }
24522 cat >>$CONFIG_STATUS <<_ACEOF
24526 cat >>$CONFIG_STATUS <<\_ACEOF
24528 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24529 s,@configure_input@,$configure_input,;t t
24530 s,@srcdir@,$ac_srcdir,;t t
24531 s,@abs_srcdir@,$ac_abs_srcdir,;t t
24532 s,@top_srcdir@,$ac_top_srcdir,;t t
24533 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
24534 s,@builddir@,$ac_builddir,;t t
24535 s,@abs_builddir@,$ac_abs_builddir,;t t
24536 s,@top_builddir@,$ac_top_builddir,;t t
24537 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
24538 s,@INSTALL@,$ac_INSTALL,;t t
24539 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24541 if test x"$ac_file" != x-; then
24542 mv $tmp/out $ac_file
24550 cat >>$CONFIG_STATUS <<\_ACEOF
24553 # CONFIG_HEADER section.
24556 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24557 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24559 # ac_d sets the value in "#define NAME VALUE" lines.
24560 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24561 ac_dB='[ ].*$,\1#\2'
24564 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24565 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24566 ac_uB='$,\1#\2define\3'
24570 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24571 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24573 - | *:- | *:-:* ) # input from stdin
24575 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24576 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24577 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24578 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24579 * ) ac_file_in=$ac_file.in ;;
24582 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24583 echo "$as_me: creating $ac_file" >&6;}
24585 # First look for the input files in the build tree, otherwise in the
24587 ac_file_inputs=`IFS=:
24588 for f in $ac_file_in; do
24590 -) echo $tmp/stdin ;;
24592 # Absolute (can't be DOS-style, as IFS=:)
24593 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24594 echo "$as_me: error: cannot find input file: $f" >&2;}
24595 { (exit 1); exit 1; }; }
24598 if test -f "$f"; then
24601 elif test -f "$srcdir/$f"; then
24606 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24607 echo "$as_me: error: cannot find input file: $f" >&2;}
24608 { (exit 1); exit 1; }; }
24611 done` || { (exit 1); exit 1; }
24612 # Remove the trailing spaces.
24613 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24617 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24618 # `conftest.undefs', that substitutes the proper values into
24619 # config.h.in to produce config.h. The first handles `#define'
24620 # templates, and the second `#undef' templates.
24621 # And first: Protect against being on the right side of a sed subst in
24622 # config.status. Protect against being in an unquoted here document
24623 # in config.status.
24624 rm -f conftest.defines conftest.undefs
24625 # Using a here document instead of a string reduces the quoting nightmare.
24626 # Putting comments in sed scripts is not portable.
24628 # `end' is used to avoid that the second main sed command (meant for
24629 # 0-ary CPP macros) applies to n-ary macro definitions.
24630 # See the Autoconf documentation for `clear'.
24631 cat >confdef2sed.sed <<\_ACEOF
24636 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24638 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24641 # If some macros were called several times there might be several times
24642 # the same #defines, which is useless. Nevertheless, we may not want to
24643 # sort them, since we want the *last* AC-DEFINE to be honored.
24644 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24645 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24646 rm -f confdef2sed.sed
24648 # This sed command replaces #undef with comments. This is necessary, for
24649 # example, in the case of _POSIX_SOURCE, which is predefined and required
24650 # on some systems where configure will not decide to define it.
24651 cat >>conftest.undefs <<\_ACEOF
24652 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24655 # Break up conftest.defines because some shells have a limit on the size
24656 # of here documents, and old seds have small limits too (100 cmds).
24657 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24658 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24659 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24660 echo ' :' >>$CONFIG_STATUS
24661 rm -f conftest.tail
24662 while grep . conftest.defines >/dev/null
24664 # Write a limited-size here document to $tmp/defines.sed.
24665 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24666 # Speed up: don't consider the non `#define' lines.
24667 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24668 # Work around the forget-to-reset-the-flag bug.
24669 echo 't clr' >>$CONFIG_STATUS
24670 echo ': clr' >>$CONFIG_STATUS
24671 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24673 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24675 mv $tmp/out $tmp/in
24677 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24678 rm -f conftest.defines
24679 mv conftest.tail conftest.defines
24681 rm -f conftest.defines
24682 echo ' fi # grep' >>$CONFIG_STATUS
24683 echo >>$CONFIG_STATUS
24685 # Break up conftest.undefs because some shells have a limit on the size
24686 # of here documents, and old seds have small limits too (100 cmds).
24687 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24688 rm -f conftest.tail
24689 while grep . conftest.undefs >/dev/null
24691 # Write a limited-size here document to $tmp/undefs.sed.
24692 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24693 # Speed up: don't consider the non `#undef'
24694 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24695 # Work around the forget-to-reset-the-flag bug.
24696 echo 't clr' >>$CONFIG_STATUS
24697 echo ': clr' >>$CONFIG_STATUS
24698 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24700 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24702 mv $tmp/out $tmp/in
24704 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24705 rm -f conftest.undefs
24706 mv conftest.tail conftest.undefs
24708 rm -f conftest.undefs
24710 cat >>$CONFIG_STATUS <<\_ACEOF
24711 # Let's still pretend it is `configure' which instantiates (i.e., don't
24712 # use $as_me), people would be surprised to read:
24713 # /* config.h. Generated by config.status. */
24714 if test x"$ac_file" = x-; then
24715 echo "/* Generated by configure. */" >$tmp/config.h
24717 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24719 cat $tmp/in >>$tmp/config.h
24721 if test x"$ac_file" != x-; then
24722 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24723 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24724 echo "$as_me: $ac_file is unchanged" >&6;}
24726 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24727 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24728 X"$ac_file" : 'X\(//\)[^/]' \| \
24729 X"$ac_file" : 'X\(//\)$' \| \
24730 X"$ac_file" : 'X\(/\)' \| \
24731 . : '\(.\)' 2>/dev/null ||
24733 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24734 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24735 /^X\(\/\/\)$/{ s//\1/; q; }
24736 /^X\(\/\).*/{ s//\1/; q; }
24738 { if $as_mkdir_p; then
24743 while test ! -d "$as_dir"; do
24744 as_dirs="$as_dir $as_dirs"
24745 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24746 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24747 X"$as_dir" : 'X\(//\)[^/]' \| \
24748 X"$as_dir" : 'X\(//\)$' \| \
24749 X"$as_dir" : 'X\(/\)' \| \
24750 . : '\(.\)' 2>/dev/null ||
24752 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24753 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24754 /^X\(\/\/\)$/{ s//\1/; q; }
24755 /^X\(\/\).*/{ s//\1/; q; }
24758 test ! -n "$as_dirs" || mkdir $as_dirs
24759 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24760 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24761 { (exit 1); exit 1; }; }; }
24764 mv $tmp/config.h $ac_file
24768 rm -f $tmp/config.h
24772 cat >>$CONFIG_STATUS <<\_ACEOF
24775 # CONFIG_COMMANDS section.
24777 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24778 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24779 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24780 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24781 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24782 X"$ac_dest" : 'X\(//\)[^/]' \| \
24783 X"$ac_dest" : 'X\(//\)$' \| \
24784 X"$ac_dest" : 'X\(/\)' \| \
24785 . : '\(.\)' 2>/dev/null ||
24787 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24788 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24789 /^X\(\/\/\)$/{ s//\1/; q; }
24790 /^X\(\/\).*/{ s//\1/; q; }
24794 if test "$ac_dir" != .; then
24795 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24796 # A "../" for each directory in $ac_dir_suffix.
24797 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24799 ac_dir_suffix= ac_top_builddir=
24803 .) # No --srcdir option. We are building in place.
24805 if test -z "$ac_top_builddir"; then
24808 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24810 [\\/]* | ?:[\\/]* ) # Absolute path.
24811 ac_srcdir=$srcdir$ac_dir_suffix;
24812 ac_top_srcdir=$srcdir ;;
24813 *) # Relative path.
24814 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24815 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24817 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24819 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24820 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24821 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24822 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24825 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24826 echo "$as_me: executing $ac_dest commands" >&6;}
24828 Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
24829 Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common ;;
24830 Makefile.rules ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.rules Makefile.rules ;;
24831 lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
24832 lib/Analysis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/Makefile lib/Analysis/Makefile ;;
24833 lib/Analysis/DataStructure/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/DataStructure/Makefile lib/Analysis/DataStructure/Makefile ;;
24834 lib/Analysis/IPA/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/IPA/Makefile lib/Analysis/IPA/Makefile ;;
24835 lib/Analysis/LiveVar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/LiveVar/Makefile lib/Analysis/LiveVar/Makefile ;;
24836 lib/AsmParser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/AsmParser/Makefile lib/AsmParser/Makefile ;;
24837 lib/Bytecode/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Makefile lib/Bytecode/Makefile ;;
24838 lib/Bytecode/Reader/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Reader/Makefile lib/Bytecode/Reader/Makefile ;;
24839 lib/Bytecode/Writer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Writer/Makefile lib/Bytecode/Writer/Makefile ;;
24840 lib/CWriter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CWriter/Makefile lib/CWriter/Makefile ;;
24841 lib/CodeGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/Makefile lib/CodeGen/Makefile ;;
24842 lib/CodeGen/InstrSched/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSched/Makefile lib/CodeGen/InstrSched/Makefile ;;
24843 lib/CodeGen/InstrSelection/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSelection/Makefile lib/CodeGen/InstrSelection/Makefile ;;
24844 lib/CodeGen/ModuloScheduling/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/ModuloScheduling/Makefile lib/CodeGen/ModuloScheduling/Makefile ;;
24845 lib/CodeGen/RegAlloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/RegAlloc/Makefile lib/CodeGen/RegAlloc/Makefile ;;
24846 lib/CodeGen/SelectionDAG/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/SelectionDAG/Makefile lib/CodeGen/SelectionDAG/Makefile ;;
24847 lib/ExecutionEngine/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Makefile lib/ExecutionEngine/Makefile ;;
24848 lib/ExecutionEngine/Interpreter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Interpreter/Makefile lib/ExecutionEngine/Interpreter/Makefile ;;
24849 lib/ExecutionEngine/JIT/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/JIT/Makefile lib/ExecutionEngine/JIT/Makefile ;;
24850 lib/Support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Support/Makefile lib/Support/Makefile ;;
24851 lib/Target/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Makefile lib/Target/Makefile ;;
24852 lib/Target/Sparc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Sparc/Makefile lib/Target/Sparc/Makefile ;;
24853 lib/Target/X86/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/X86/Makefile lib/Target/X86/Makefile ;;
24854 lib/Transforms/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Makefile lib/Transforms/Makefile ;;
24855 lib/Transforms/Hello/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Hello/Makefile lib/Transforms/Hello/Makefile ;;
24856 lib/Transforms/IPO/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/IPO/Makefile lib/Transforms/IPO/Makefile ;;
24857 lib/Transforms/Instrumentation/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/Makefile lib/Transforms/Instrumentation/Makefile ;;
24858 lib/Transforms/Instrumentation/ProfilePaths/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/ProfilePaths/Makefile lib/Transforms/Instrumentation/ProfilePaths/Makefile ;;
24859 lib/Transforms/Scalar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Scalar/Makefile lib/Transforms/Scalar/Makefile ;;
24860 lib/Transforms/Utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Utils/Makefile lib/Transforms/Utils/Makefile ;;
24861 lib/VMCore/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/VMCore/Makefile lib/VMCore/Makefile ;;
24862 runtime/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/Makefile runtime/Makefile ;;
24863 runtime/GCCLibraries/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/Makefile runtime/GCCLibraries/Makefile ;;
24864 runtime/GCCLibraries/crtend/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/crtend/Makefile runtime/GCCLibraries/crtend/Makefile ;;
24865 runtime/GCCLibraries/libc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libc/Makefile runtime/GCCLibraries/libc/Makefile ;;
24866 runtime/GCCLibraries/libcurses/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libcurses/Makefile runtime/GCCLibraries/libcurses/Makefile ;;
24867 runtime/GCCLibraries/libg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libg/Makefile runtime/GCCLibraries/libg/Makefile ;;
24868 runtime/GCCLibraries/libgcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libgcc/Makefile runtime/GCCLibraries/libgcc/Makefile ;;
24869 runtime/GCCLibraries/libm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libm/Makefile runtime/GCCLibraries/libm/Makefile ;;
24870 runtime/GCCLibraries/libmalloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libmalloc/Makefile runtime/GCCLibraries/libmalloc/Makefile ;;
24871 runtime/GCCLibraries/libtermcap/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libtermcap/Makefile runtime/GCCLibraries/libtermcap/Makefile ;;
24872 runtime/GCCLibraries/libucb/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libucb/Makefile runtime/GCCLibraries/libucb/Makefile ;;
24873 runtime/GCCLibraries/libutempter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutempter/Makefile runtime/GCCLibraries/libutempter/Makefile ;;
24874 runtime/GCCLibraries/libutil/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutil/Makefile runtime/GCCLibraries/libutil/Makefile ;;
24875 runtime/libdummy/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libdummy/Makefile runtime/libdummy/Makefile ;;
24876 runtime/libtrace/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libtrace/Makefile runtime/libtrace/Makefile ;;
24877 runtime/libprofile/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libprofile/Makefile runtime/libprofile/Makefile ;;
24878 test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;;
24879 test/Makefile.tests ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile.tests test/Makefile.tests ;;
24880 test/QMTest/llvm.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTest/llvm.py test/QMTest/llvm.py ;;
24881 test/QMTest/llvmdb.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTest/llvmdb.py test/QMTest/llvmdb.py ;;
24882 test/Programs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile test/Programs/Makefile ;;
24883 test/Programs/Makefile.programs ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.programs test/Programs/Makefile.programs ;;
24884 test/Programs/TEST.aa.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.Makefile test/Programs/TEST.aa.Makefile ;;
24885 test/Programs/TEST.dsgraph.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.report test/Programs/TEST.dsgraph.report ;;
24886 test/Programs/TEST.micro.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.report test/Programs/TEST.micro.report ;;
24887 test/Programs/TEST.aa.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.report test/Programs/TEST.aa.report ;;
24888 test/Programs/TEST.example.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.example.Makefile test/Programs/TEST.example.Makefile ;;
24889 test/Programs/TEST.nightly.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.Makefile test/Programs/TEST.nightly.Makefile ;;
24890 test/Programs/TEST.buildrepo.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.buildrepo.Makefile test/Programs/TEST.buildrepo.Makefile ;;
24891 test/Programs/TEST.jit.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.Makefile test/Programs/TEST.jit.Makefile ;;
24892 test/Programs/TEST.nightly.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.report test/Programs/TEST.nightly.report ;;
24893 test/Programs/TEST.dsgraph.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.Makefile test/Programs/TEST.dsgraph.Makefile ;;
24894 test/Programs/TEST.jit.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.report test/Programs/TEST.jit.report ;;
24895 test/Programs/TEST.typesafe.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.typesafe.Makefile test/Programs/TEST.typesafe.Makefile ;;
24896 test/Programs/TEST.dsgraph.gnuplot ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.gnuplot test/Programs/TEST.dsgraph.gnuplot ;;
24897 test/Programs/TEST.micro.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.Makefile test/Programs/TEST.micro.Makefile ;;
24898 test/Programs/External/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/Makefile test/Programs/External/Makefile ;;
24899 test/Programs/External/SPEC/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile test/Programs/External/SPEC/Makefile ;;
24900 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 ;;
24901 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 ;;
24902 test/Programs/External/SPEC/CFP2000/177.mesa/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CFP2000/177.mesa/Makefile test/Programs/External/SPEC/CFP2000/177.mesa/Makefile ;;
24903 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 ;;
24904 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 ;;
24905 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 ;;
24906 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 ;;
24907 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 ;;
24908 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 ;;
24909 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 ;;
24910 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 ;;
24911 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 ;;
24912 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 ;;
24913 test/Programs/External/SPEC/CINT2000/252.eon/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/252.eon/Makefile test/Programs/External/SPEC/CINT2000/252.eon/Makefile ;;
24914 test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile ;;
24915 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 ;;
24916 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 ;;
24917 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 ;;
24918 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 ;;
24919 test/Programs/LLVMSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/LLVMSource/Makefile test/Programs/LLVMSource/Makefile ;;
24920 test/Programs/MultiSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile test/Programs/MultiSource/Makefile ;;
24921 test/Programs/MultiSource/Makefile.multisrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile.multisrc test/Programs/MultiSource/Makefile.multisrc ;;
24922 test/Programs/MultiSource/Applications/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/Makefile test/Programs/MultiSource/Applications/Makefile ;;
24923 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 ;;
24924 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 ;;
24925 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 ;;
24926 test/Programs/MultiSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Makefile test/Programs/MultiSource/Benchmarks/Makefile ;;
24927 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 ;;
24928 test/Programs/MultiSource/Benchmarks/FreeBench/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/Makefile test/Programs/MultiSource/Benchmarks/FreeBench/Makefile ;;
24929 test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/Makefile test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/Makefile ;;
24930 test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in ;;
24931 test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile ;;
24932 test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in ;;
24933 test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile ;;
24934 test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in ;;
24935 test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile ;;
24936 test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in ;;
24937 test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile ;;
24938 test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in ;;
24939 test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile ;;
24940 test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in ;;
24941 test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile ;;
24942 test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in ;;
24943 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 ;;
24944 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 ;;
24945 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 ;;
24946 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 ;;
24947 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 ;;
24948 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 ;;
24949 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 ;;
24950 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 ;;
24951 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 ;;
24952 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 ;;
24953 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 ;;
24954 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 ;;
24955 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 ;;
24956 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 ;;
24957 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 ;;
24958 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 ;;
24959 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 ;;
24960 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 ;;
24961 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 ;;
24962 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 ;;
24963 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 ;;
24964 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 ;;
24965 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 ;;
24966 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 ;;
24967 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 ;;
24968 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 ;;
24969 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 ;;
24970 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 ;;
24971 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 ;;
24972 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 ;;
24973 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 ;;
24974 test/Programs/SingleSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile test/Programs/SingleSource/Makefile ;;
24975 test/Programs/SingleSource/Makefile.singlesrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile.singlesrc test/Programs/SingleSource/Makefile.singlesrc ;;
24976 test/Programs/SingleSource/Gizmos/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Gizmos/Makefile test/Programs/SingleSource/Gizmos/Makefile ;;
24977 test/Programs/SingleSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Makefile test/Programs/SingleSource/Benchmarks/Makefile ;;
24978 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 ;;
24979 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 ;;
24980 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 ;;
24981 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 ;;
24982 test/Programs/SingleSource/CustomChecked/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/CustomChecked/Makefile test/Programs/SingleSource/CustomChecked/Makefile ;;
24983 test/Programs/SingleSource/UnitTests/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/Makefile test/Programs/SingleSource/UnitTests/Makefile ;;
24984 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 ;;
24985 test/Programs/SingleSource/Regression/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/Makefile test/Programs/SingleSource/Regression/Makefile ;;
24986 test/Programs/SingleSource/Regression/C/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/C/Makefile test/Programs/SingleSource/Regression/C/Makefile ;;
24987 test/Programs/SingleSource/Regression/C++/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/C++/Makefile test/Programs/SingleSource/Regression/C++/Makefile ;;
24988 test/Programs/SingleSource/Regression/C++/EH/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/C++/EH/Makefile test/Programs/SingleSource/Regression/C++/EH/Makefile ;;
24989 tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
24990 tools/analyze/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/analyze/Makefile tools/analyze/Makefile ;;
24991 tools/bugpoint/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/bugpoint/Makefile tools/bugpoint/Makefile ;;
24992 tools/extract/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/extract/Makefile tools/extract/Makefile ;;
24993 tools/gccas/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccas/Makefile tools/gccas/Makefile ;;
24994 tools/gccld/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccld/Makefile tools/gccld/Makefile ;;
24995 tools/llc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llc/Makefile tools/llc/Makefile ;;
24996 tools/llee/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llee/Makefile tools/llee/Makefile ;;
24997 tools/lli/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/lli/Makefile tools/lli/Makefile ;;
24998 tools/llvm-ar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-ar/Makefile tools/llvm-ar/Makefile ;;
24999 tools/llvm-as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-as/Makefile tools/llvm-as/Makefile ;;
25000 tools/llvm-dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-dis/Makefile tools/llvm-dis/Makefile ;;
25001 tools/llvm-link/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-link/Makefile tools/llvm-link/Makefile ;;
25002 tools/llvm-nm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-nm/Makefile tools/llvm-nm/Makefile ;;
25003 tools/llvm-prof/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-prof/Makefile tools/llvm-prof/Makefile ;;
25004 tools/opt/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/opt/Makefile tools/opt/Makefile ;;
25005 utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Makefile utils/Makefile ;;
25006 utils/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Makefile utils/Burg/Makefile ;;
25007 utils/Burg/Doc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Doc/Makefile utils/Burg/Doc/Makefile ;;
25008 utils/TableGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/TableGen/Makefile utils/TableGen/Makefile ;;
25009 projects/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Makefile projects/Makefile ;;
25010 projects/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile projects/ModuleMaker/Makefile ;;
25011 projects/ModuleMaker/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile.common projects/ModuleMaker/Makefile.common ;;
25012 projects/ModuleMaker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/Makefile projects/ModuleMaker/tools/Makefile ;;
25013 projects/ModuleMaker/tools/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/ModuleMaker/Makefile projects/ModuleMaker/tools/ModuleMaker/Makefile ;;
25014 projects/Stacker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Stacker/Makefile projects/Stacker/Makefile ;;
25015 projects/Stacker/lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Stacker/lib/Makefile projects/Stacker/lib/Makefile ;;
25016 projects/Stacker/lib/compiler/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Stacker/lib/compiler/Makefile projects/Stacker/lib/compiler/Makefile ;;
25017 projects/Stacker/lib/runtime/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Stacker/lib/runtime/Makefile projects/Stacker/lib/runtime/Makefile ;;
25018 projects/Stacker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Stacker/tools/Makefile projects/Stacker/tools/Makefile ;;
25019 projects/Stacker/tools/stkrc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Stacker/tools/stkrc/Makefile projects/Stacker/tools/stkrc/Makefile ;;
25020 projects/Stacker/test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Stacker/test/Makefile projects/Stacker/test/Makefile ;;
25021 projects/Stacker/samples/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Stacker/samples/Makefile projects/Stacker/samples/Makefile ;;
25026 cat >>$CONFIG_STATUS <<\_ACEOF
25028 { (exit 0); exit 0; }
25030 chmod +x $CONFIG_STATUS
25031 ac_clean_files=$ac_clean_files_save
25034 # configure is writing to config.log, and then calls config.status.
25035 # config.status does its own redirection, appending to config.log.
25036 # Unfortunately, on DOS this fails, as config.log is still kept open
25037 # by configure, so config.status won't be able to write to it; its
25038 # output is simply discarded. So we exec the FD to /dev/null,
25039 # effectively closing config.log, so it can be properly (re)opened and
25040 # appended to by config.status. When coming back to configure, we
25041 # need to make the FD available again.
25042 if test "$no_create" != yes; then
25044 ac_config_status_args=
25045 test "$silent" = yes &&
25046 ac_config_status_args="$ac_config_status_args --quiet"
25048 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25050 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25051 # would make configure fail if this is the last instruction.
25052 $ac_cs_success || { (exit 1); exit 1; }
25056 # CONFIG_SUBDIRS section.
25058 if test "$no_recursion" != yes; then
25060 # Remove --cache-file and --srcdir arguments so they do not pile up.
25061 ac_sub_configure_args=
25063 for ac_arg in $ac_configure_args; do
25064 if test -n "$ac_prev"; then
25069 -cache-file | --cache-file | --cache-fil | --cache-fi \
25070 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
25071 ac_prev=cache_file ;;
25072 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
25073 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
25076 --config-cache | -C)
25078 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
25080 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
25082 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
25084 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
25086 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
25090 # Always prepend --prefix to ensure using the same prefix
25091 # in subdir configurations.
25092 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
25095 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
25097 # Do not complain, so a configure script can configure whichever
25098 # parts of a large source tree are present.
25099 test -d $srcdir/$ac_dir || continue
25101 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
25102 echo "$as_me: configuring in $ac_dir" >&6;}
25103 { if $as_mkdir_p; then
25108 while test ! -d "$as_dir"; do
25109 as_dirs="$as_dir $as_dirs"
25110 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25111 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25112 X"$as_dir" : 'X\(//\)[^/]' \| \
25113 X"$as_dir" : 'X\(//\)$' \| \
25114 X"$as_dir" : 'X\(/\)' \| \
25115 . : '\(.\)' 2>/dev/null ||
25117 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25118 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25119 /^X\(\/\/\)$/{ s//\1/; q; }
25120 /^X\(\/\).*/{ s//\1/; q; }
25123 test ! -n "$as_dirs" || mkdir $as_dirs
25124 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25125 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25126 { (exit 1); exit 1; }; }; }
25130 if test "$ac_dir" != .; then
25131 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25132 # A "../" for each directory in $ac_dir_suffix.
25133 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25135 ac_dir_suffix= ac_top_builddir=
25139 .) # No --srcdir option. We are building in place.
25141 if test -z "$ac_top_builddir"; then
25144 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
25146 [\\/]* | ?:[\\/]* ) # Absolute path.
25147 ac_srcdir=$srcdir$ac_dir_suffix;
25148 ac_top_srcdir=$srcdir ;;
25149 *) # Relative path.
25150 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
25151 ac_top_srcdir=$ac_top_builddir$srcdir ;;
25153 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
25155 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
25156 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
25157 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
25158 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
25163 # Check for guested configure; otherwise get Cygnus style configure.
25164 if test -f $ac_srcdir/configure.gnu; then
25165 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
25166 elif test -f $ac_srcdir/configure; then
25167 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
25168 elif test -f $ac_srcdir/configure.in; then
25169 ac_sub_configure=$ac_configure
25171 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
25172 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
25176 # The recursion is here.
25177 if test -n "$ac_sub_configure"; then
25178 # Make the cache file name correct relative to the subdirectory.
25179 case $cache_file in
25180 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
25181 *) # Relative path.
25182 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
25185 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
25186 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
25187 # The eval makes quoting arguments work.
25188 eval $ac_sub_configure $ac_sub_configure_args \
25189 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
25190 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
25191 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
25192 { (exit 1); exit 1; }; }
25200 if test $llvmgccwarn = yes
25202 { echo "$as_me:$LINENO: WARNING: ***** llvm C/C++ front end was not found, or does not" >&5
25203 echo "$as_me: WARNING: ***** llvm C/C++ front end was not found, or does not" >&2;}
25204 { echo "$as_me:$LINENO: WARNING: ***** appear to be working." >&5
25205 echo "$as_me: WARNING: ***** appear to be working." >&2;}
25206 { echo "$as_me:$LINENO: WARNING: ***** " >&5
25207 echo "$as_me: WARNING: ***** " >&2;}
25208 { echo "$as_me:$LINENO: WARNING: ***** Please check configure's --with-llvmgccdir option." >&5
25209 echo "$as_me: WARNING: ***** Please check configure's --with-llvmgccdir option." >&2;}
25210 { echo "$as_me:$LINENO: WARNING: ***** Runtime libraries (in llvm/runtime) will not be built," >&5
25211 echo "$as_me: WARNING: ***** Runtime libraries (in llvm/runtime) will not be built," >&2;}
25212 { echo "$as_me:$LINENO: WARNING: ***** but you should be able to build the llvm tools." >&5
25213 echo "$as_me: WARNING: ***** but you should be able to build the llvm tools." >&2;}