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"
2110 # Find a good install program. We prefer a C program (faster),
2111 # so one script is as good as another. But avoid the broken or
2112 # incompatible versions:
2113 # SysV /etc/install, /usr/sbin/install
2114 # SunOS /usr/etc/install
2115 # IRIX /sbin/install
2117 # AmigaOS /C/install, which installs bootblocks on floppy discs
2118 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2119 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2120 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2121 # ./install, which can be erroneously created by make from ./install.sh.
2122 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2123 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2124 if test -z "$INSTALL"; then
2125 if test "${ac_cv_path_install+set}" = set; then
2126 echo $ECHO_N "(cached) $ECHO_C" >&6
2128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2132 test -z "$as_dir" && as_dir=.
2133 # Account for people who put trailing slashes in PATH elements.
2135 ./ | .// | /cC/* | \
2136 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2139 # OSF1 and SCO ODT 3.0 have their own names for install.
2140 # Don't use installbsd from OSF since it installs stuff as root
2142 for ac_prog in ginstall scoinst install; do
2143 for ac_exec_ext in '' $ac_executable_extensions; do
2144 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2145 if test $ac_prog = install &&
2146 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2147 # AIX install. It has an incompatible calling convention.
2149 elif test $ac_prog = install &&
2150 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2151 # program-specific install script used by HP pwplus--don't use.
2154 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2166 if test "${ac_cv_path_install+set}" = set; then
2167 INSTALL=$ac_cv_path_install
2169 # As a last resort, use the slow shell script. We don't cache a
2170 # path for INSTALL within a source directory, because that will
2171 # break other packages using the cache if that directory is
2172 # removed, or if the path is relative.
2173 INSTALL=$ac_install_sh
2176 echo "$as_me:$LINENO: result: $INSTALL" >&5
2177 echo "${ECHO_T}$INSTALL" >&6
2179 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2180 # It thinks the first close brace ends the variable substitution.
2181 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2183 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2185 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2188 # Make sure we can run config.sub.
2189 $ac_config_sub sun4 >/dev/null 2>&1 ||
2190 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
2191 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2192 { (exit 1); exit 1; }; }
2194 echo "$as_me:$LINENO: checking build system type" >&5
2195 echo $ECHO_N "checking build system type... $ECHO_C" >&6
2196 if test "${ac_cv_build+set}" = set; then
2197 echo $ECHO_N "(cached) $ECHO_C" >&6
2199 ac_cv_build_alias=$build_alias
2200 test -z "$ac_cv_build_alias" &&
2201 ac_cv_build_alias=`$ac_config_guess`
2202 test -z "$ac_cv_build_alias" &&
2203 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2204 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2205 { (exit 1); exit 1; }; }
2206 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
2207 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
2208 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2209 { (exit 1); exit 1; }; }
2212 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2213 echo "${ECHO_T}$ac_cv_build" >&6
2215 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2216 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2217 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2220 echo "$as_me:$LINENO: checking host system type" >&5
2221 echo $ECHO_N "checking host system type... $ECHO_C" >&6
2222 if test "${ac_cv_host+set}" = set; then
2223 echo $ECHO_N "(cached) $ECHO_C" >&6
2225 ac_cv_host_alias=$host_alias
2226 test -z "$ac_cv_host_alias" &&
2227 ac_cv_host_alias=$ac_cv_build_alias
2228 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
2229 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
2230 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2231 { (exit 1); exit 1; }; }
2234 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2235 echo "${ECHO_T}$ac_cv_host" >&6
2237 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2238 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2239 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2242 echo "$as_me:$LINENO: checking target system type" >&5
2243 echo $ECHO_N "checking target system type... $ECHO_C" >&6
2244 if test "${ac_cv_target+set}" = set; then
2245 echo $ECHO_N "(cached) $ECHO_C" >&6
2247 ac_cv_target_alias=$target_alias
2248 test "x$ac_cv_target_alias" = "x" &&
2249 ac_cv_target_alias=$ac_cv_host_alias
2250 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
2251 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
2252 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2253 { (exit 1); exit 1; }; }
2256 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2257 echo "${ECHO_T}$ac_cv_target" >&6
2258 target=$ac_cv_target
2259 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
2260 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
2261 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2264 # The aliases save the names the user supplied, while $host etc.
2265 # will get canonicalized.
2266 test -n "$target_alias" &&
2267 test "$program_prefix$program_suffix$program_transform_name" = \
2269 program_prefix=${target_alias}-
2275 if test -d /home/vadve/lattner/local/x86/llvm-gcc
2277 LLVMGCCDIR=/home/vadve/lattner/local/x86/llvm-gcc/
2285 if test -d /home/vadve/lattner/local/sparc/llvm-gcc
2287 LLVMGCCDIR=/home/vadve/lattner/local/sparc/llvm-gcc/
2303 sparc*-*-solaris*) target=sparcv9-sun-solaris2.8
2312 sparc*-*) ARCH=Sparc
2315 powerpc*-*) ARCH=PowerPC
2325 ac_cpp='$CXXCPP $CPPFLAGS'
2326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2329 if test -n "$ac_tool_prefix"; then
2330 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2332 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2333 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2334 echo "$as_me:$LINENO: checking for $ac_word" >&5
2335 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2336 if test "${ac_cv_prog_CXX+set}" = set; then
2337 echo $ECHO_N "(cached) $ECHO_C" >&6
2339 if test -n "$CXX"; then
2340 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2346 test -z "$as_dir" && as_dir=.
2347 for ac_exec_ext in '' $ac_executable_extensions; do
2348 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2349 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2359 if test -n "$CXX"; then
2360 echo "$as_me:$LINENO: result: $CXX" >&5
2361 echo "${ECHO_T}$CXX" >&6
2363 echo "$as_me:$LINENO: result: no" >&5
2364 echo "${ECHO_T}no" >&6
2367 test -n "$CXX" && break
2370 if test -z "$CXX"; then
2372 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2374 # Extract the first word of "$ac_prog", so it can be a program name with args.
2375 set dummy $ac_prog; ac_word=$2
2376 echo "$as_me:$LINENO: checking for $ac_word" >&5
2377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2378 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2379 echo $ECHO_N "(cached) $ECHO_C" >&6
2381 if test -n "$ac_ct_CXX"; then
2382 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2388 test -z "$as_dir" && as_dir=.
2389 for ac_exec_ext in '' $ac_executable_extensions; do
2390 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2391 ac_cv_prog_ac_ct_CXX="$ac_prog"
2392 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2400 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2401 if test -n "$ac_ct_CXX"; then
2402 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2403 echo "${ECHO_T}$ac_ct_CXX" >&6
2405 echo "$as_me:$LINENO: result: no" >&5
2406 echo "${ECHO_T}no" >&6
2409 test -n "$ac_ct_CXX" && break
2411 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2417 # Provide some information about the compiler.
2418 echo "$as_me:$LINENO:" \
2419 "checking for C++ compiler version" >&5
2420 ac_compiler=`set X $ac_compile; echo $2`
2421 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2422 (eval $ac_compiler --version </dev/null >&5) 2>&5
2424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2425 (exit $ac_status); }
2426 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2427 (eval $ac_compiler -v </dev/null >&5) 2>&5
2429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2430 (exit $ac_status); }
2431 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2432 (eval $ac_compiler -V </dev/null >&5) 2>&5
2434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435 (exit $ac_status); }
2437 cat >conftest.$ac_ext <<_ACEOF
2438 #line $LINENO "configure"
2441 cat confdefs.h >>conftest.$ac_ext
2442 cat >>conftest.$ac_ext <<_ACEOF
2443 /* end confdefs.h. */
2453 ac_clean_files_save=$ac_clean_files
2454 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2455 # Try to create an executable without -o first, disregard a.out.
2456 # It will help us diagnose broken compilers, and finding out an intuition
2458 echo "$as_me:$LINENO: checking for C++ compiler default output" >&5
2459 echo $ECHO_N "checking for C++ compiler default output... $ECHO_C" >&6
2460 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2461 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2462 (eval $ac_link_default) 2>&5
2464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2465 (exit $ac_status); }; then
2466 # Find the output, starting from the most likely. This scheme is
2467 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2470 # Be careful to initialize this variable, since it used to be cached.
2471 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2473 # b.out is created by i960 compilers.
2474 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2476 test -f "$ac_file" || continue
2478 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2481 # This is the source file.
2484 # We found the default executable, but exeext='' is most
2488 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2489 # FIXME: I believe we export ac_cv_exeext for Libtool,
2490 # but it would be cool to find out if it's true. Does anybody
2491 # maintain Libtool? --akim.
2499 echo "$as_me: failed program was:" >&5
2500 sed 's/^/| /' conftest.$ac_ext >&5
2502 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2503 See \`config.log' for more details." >&5
2504 echo "$as_me: error: C++ compiler cannot create executables
2505 See \`config.log' for more details." >&2;}
2506 { (exit 77); exit 77; }; }
2509 ac_exeext=$ac_cv_exeext
2510 echo "$as_me:$LINENO: result: $ac_file" >&5
2511 echo "${ECHO_T}$ac_file" >&6
2513 # Check the compiler produces executables we can run. If not, either
2514 # the compiler is broken, or we cross compile.
2515 echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2516 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
2517 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2518 # If not cross compiling, check that we can run a simple program.
2519 if test "$cross_compiling" != yes; then
2520 if { ac_try='./$ac_file'
2521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525 (exit $ac_status); }; }; then
2528 if test "$cross_compiling" = maybe; then
2531 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2532 If you meant to cross compile, use \`--host'.
2533 See \`config.log' for more details." >&5
2534 echo "$as_me: error: cannot run C++ compiled programs.
2535 If you meant to cross compile, use \`--host'.
2536 See \`config.log' for more details." >&2;}
2537 { (exit 1); exit 1; }; }
2541 echo "$as_me:$LINENO: result: yes" >&5
2542 echo "${ECHO_T}yes" >&6
2544 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2545 ac_clean_files=$ac_clean_files_save
2546 # Check the compiler produces executables we can run. If not, either
2547 # the compiler is broken, or we cross compile.
2548 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2549 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2550 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2551 echo "${ECHO_T}$cross_compiling" >&6
2553 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2554 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2556 (eval $ac_link) 2>&5
2558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2559 (exit $ac_status); }; then
2560 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2561 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2562 # work properly (i.e., refer to `conftest.exe'), while it won't with
2564 for ac_file in conftest.exe conftest conftest.*; do
2565 test -f "$ac_file" || continue
2567 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2568 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2575 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2576 See \`config.log' for more details." >&5
2577 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2578 See \`config.log' for more details." >&2;}
2579 { (exit 1); exit 1; }; }
2582 rm -f conftest$ac_cv_exeext
2583 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2584 echo "${ECHO_T}$ac_cv_exeext" >&6
2586 rm -f conftest.$ac_ext
2587 EXEEXT=$ac_cv_exeext
2589 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2590 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2591 if test "${ac_cv_objext+set}" = set; then
2592 echo $ECHO_N "(cached) $ECHO_C" >&6
2594 cat >conftest.$ac_ext <<_ACEOF
2595 #line $LINENO "configure"
2598 cat confdefs.h >>conftest.$ac_ext
2599 cat >>conftest.$ac_ext <<_ACEOF
2600 /* end confdefs.h. */
2610 rm -f conftest.o conftest.obj
2611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2612 (eval $ac_compile) 2>&5
2614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2615 (exit $ac_status); }; then
2616 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2618 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2619 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2624 echo "$as_me: failed program was:" >&5
2625 sed 's/^/| /' conftest.$ac_ext >&5
2627 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2628 See \`config.log' for more details." >&5
2629 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2630 See \`config.log' for more details." >&2;}
2631 { (exit 1); exit 1; }; }
2634 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2636 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2637 echo "${ECHO_T}$ac_cv_objext" >&6
2638 OBJEXT=$ac_cv_objext
2640 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2641 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2642 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2643 echo $ECHO_N "(cached) $ECHO_C" >&6
2645 cat >conftest.$ac_ext <<_ACEOF
2646 #line $LINENO "configure"
2649 cat confdefs.h >>conftest.$ac_ext
2650 cat >>conftest.$ac_ext <<_ACEOF
2651 /* end confdefs.h. */
2664 rm -f conftest.$ac_objext
2665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2666 (eval $ac_compile) 2>&5
2668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2669 (exit $ac_status); } &&
2670 { ac_try='test -s conftest.$ac_objext'
2671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2675 (exit $ac_status); }; }; then
2678 echo "$as_me: failed program was:" >&5
2679 sed 's/^/| /' conftest.$ac_ext >&5
2683 rm -f conftest.$ac_objext conftest.$ac_ext
2684 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2687 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2688 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2689 GXX=`test $ac_compiler_gnu = yes && echo yes`
2690 ac_test_CXXFLAGS=${CXXFLAGS+set}
2691 ac_save_CXXFLAGS=$CXXFLAGS
2693 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2694 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2695 if test "${ac_cv_prog_cxx_g+set}" = set; then
2696 echo $ECHO_N "(cached) $ECHO_C" >&6
2698 cat >conftest.$ac_ext <<_ACEOF
2699 #line $LINENO "configure"
2702 cat confdefs.h >>conftest.$ac_ext
2703 cat >>conftest.$ac_ext <<_ACEOF
2704 /* end confdefs.h. */
2714 rm -f conftest.$ac_objext
2715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2716 (eval $ac_compile) 2>&5
2718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719 (exit $ac_status); } &&
2720 { ac_try='test -s conftest.$ac_objext'
2721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2725 (exit $ac_status); }; }; then
2726 ac_cv_prog_cxx_g=yes
2728 echo "$as_me: failed program was:" >&5
2729 sed 's/^/| /' conftest.$ac_ext >&5
2733 rm -f conftest.$ac_objext conftest.$ac_ext
2735 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2736 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2737 if test "$ac_test_CXXFLAGS" = set; then
2738 CXXFLAGS=$ac_save_CXXFLAGS
2739 elif test $ac_cv_prog_cxx_g = yes; then
2740 if test "$GXX" = yes; then
2746 if test "$GXX" = yes; then
2752 for ac_declaration in \
2754 '#include <stdlib.h>' \
2755 'extern "C" void std::exit (int) throw (); using std::exit;' \
2756 'extern "C" void std::exit (int); using std::exit;' \
2757 'extern "C" void exit (int) throw ();' \
2758 'extern "C" void exit (int);' \
2761 cat >conftest.$ac_ext <<_ACEOF
2762 #line $LINENO "configure"
2765 cat confdefs.h >>conftest.$ac_ext
2766 cat >>conftest.$ac_ext <<_ACEOF
2767 /* end confdefs.h. */
2778 rm -f conftest.$ac_objext
2779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2780 (eval $ac_compile) 2>&5
2782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); } &&
2784 { ac_try='test -s conftest.$ac_objext'
2785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2789 (exit $ac_status); }; }; then
2792 echo "$as_me: failed program was:" >&5
2793 sed 's/^/| /' conftest.$ac_ext >&5
2797 rm -f conftest.$ac_objext conftest.$ac_ext
2798 cat >conftest.$ac_ext <<_ACEOF
2799 #line $LINENO "configure"
2802 cat confdefs.h >>conftest.$ac_ext
2803 cat >>conftest.$ac_ext <<_ACEOF
2804 /* end confdefs.h. */
2814 rm -f conftest.$ac_objext
2815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2816 (eval $ac_compile) 2>&5
2818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2819 (exit $ac_status); } &&
2820 { ac_try='test -s conftest.$ac_objext'
2821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2825 (exit $ac_status); }; }; then
2828 echo "$as_me: failed program was:" >&5
2829 sed 's/^/| /' conftest.$ac_ext >&5
2832 rm -f conftest.$ac_objext conftest.$ac_ext
2835 if test -n "$ac_declaration"; then
2836 echo '#ifdef __cplusplus' >>confdefs.h
2837 echo $ac_declaration >>confdefs.h
2838 echo '#endif' >>confdefs.h
2842 ac_cpp='$CPP $CPPFLAGS'
2843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2848 ac_cpp='$CPP $CPPFLAGS'
2849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2852 if test -n "$ac_tool_prefix"; then
2855 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2856 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2857 echo "$as_me:$LINENO: checking for $ac_word" >&5
2858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2859 if test "${ac_cv_prog_CC+set}" = set; then
2860 echo $ECHO_N "(cached) $ECHO_C" >&6
2862 if test -n "$CC"; then
2863 ac_cv_prog_CC="$CC" # Let the user override the test.
2865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2869 test -z "$as_dir" && as_dir=.
2870 for ac_exec_ext in '' $ac_executable_extensions; do
2871 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2872 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2882 if test -n "$CC"; then
2883 echo "$as_me:$LINENO: result: $CC" >&5
2884 echo "${ECHO_T}$CC" >&6
2886 echo "$as_me:$LINENO: result: no" >&5
2887 echo "${ECHO_T}no" >&6
2890 test -n "$CC" && break
2893 if test -z "$CC"; then
2897 # Extract the first word of "$ac_prog", so it can be a program name with args.
2898 set dummy $ac_prog; ac_word=$2
2899 echo "$as_me:$LINENO: checking for $ac_word" >&5
2900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2901 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2902 echo $ECHO_N "(cached) $ECHO_C" >&6
2904 if test -n "$ac_ct_CC"; then
2905 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2911 test -z "$as_dir" && as_dir=.
2912 for ac_exec_ext in '' $ac_executable_extensions; do
2913 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2914 ac_cv_prog_ac_ct_CC="$ac_prog"
2915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2923 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2924 if test -n "$ac_ct_CC"; then
2925 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2926 echo "${ECHO_T}$ac_ct_CC" >&6
2928 echo "$as_me:$LINENO: result: no" >&5
2929 echo "${ECHO_T}no" >&6
2932 test -n "$ac_ct_CC" && break
2939 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2940 See \`config.log' for more details." >&5
2941 echo "$as_me: error: no acceptable C compiler found in \$PATH
2942 See \`config.log' for more details." >&2;}
2943 { (exit 1); exit 1; }; }
2945 # Provide some information about the compiler.
2946 echo "$as_me:$LINENO:" \
2947 "checking for C compiler version" >&5
2948 ac_compiler=`set X $ac_compile; echo $2`
2949 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2950 (eval $ac_compiler --version </dev/null >&5) 2>&5
2952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2953 (exit $ac_status); }
2954 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2955 (eval $ac_compiler -v </dev/null >&5) 2>&5
2957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2958 (exit $ac_status); }
2959 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2960 (eval $ac_compiler -V </dev/null >&5) 2>&5
2962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2963 (exit $ac_status); }
2965 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2966 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2967 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2968 echo $ECHO_N "(cached) $ECHO_C" >&6
2970 cat >conftest.$ac_ext <<_ACEOF
2971 #line $LINENO "configure"
2974 cat confdefs.h >>conftest.$ac_ext
2975 cat >>conftest.$ac_ext <<_ACEOF
2976 /* end confdefs.h. */
2989 rm -f conftest.$ac_objext
2990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2991 (eval $ac_compile) 2>&5
2993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2994 (exit $ac_status); } &&
2995 { ac_try='test -s conftest.$ac_objext'
2996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3000 (exit $ac_status); }; }; then
3003 echo "$as_me: failed program was:" >&5
3004 sed 's/^/| /' conftest.$ac_ext >&5
3008 rm -f conftest.$ac_objext conftest.$ac_ext
3009 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3012 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3013 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3014 GCC=`test $ac_compiler_gnu = yes && echo yes`
3015 ac_test_CFLAGS=${CFLAGS+set}
3016 ac_save_CFLAGS=$CFLAGS
3018 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3019 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3020 if test "${ac_cv_prog_cc_g+set}" = set; then
3021 echo $ECHO_N "(cached) $ECHO_C" >&6
3023 cat >conftest.$ac_ext <<_ACEOF
3024 #line $LINENO "configure"
3027 cat confdefs.h >>conftest.$ac_ext
3028 cat >>conftest.$ac_ext <<_ACEOF
3029 /* end confdefs.h. */
3039 rm -f conftest.$ac_objext
3040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3041 (eval $ac_compile) 2>&5
3043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3044 (exit $ac_status); } &&
3045 { ac_try='test -s conftest.$ac_objext'
3046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); }; }; then
3053 echo "$as_me: failed program was:" >&5
3054 sed 's/^/| /' conftest.$ac_ext >&5
3058 rm -f conftest.$ac_objext conftest.$ac_ext
3060 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3061 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3062 if test "$ac_test_CFLAGS" = set; then
3063 CFLAGS=$ac_save_CFLAGS
3064 elif test $ac_cv_prog_cc_g = yes; then
3065 if test "$GCC" = yes; then
3071 if test "$GCC" = yes; then
3077 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3078 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3079 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3080 echo $ECHO_N "(cached) $ECHO_C" >&6
3082 ac_cv_prog_cc_stdc=no
3084 cat >conftest.$ac_ext <<_ACEOF
3085 #line $LINENO "configure"
3088 cat confdefs.h >>conftest.$ac_ext
3089 cat >>conftest.$ac_ext <<_ACEOF
3090 /* end confdefs.h. */
3093 #include <sys/types.h>
3094 #include <sys/stat.h>
3095 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3096 struct buf { int x; };
3097 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3098 static char *e (p, i)
3104 static char *f (char * (*g) (char **, int), char **p, ...)
3109 s = g (p, va_arg (v,int));
3113 int test (int i, double x);
3114 struct s1 {int (*f) (int a);};
3115 struct s2 {int (*f) (double a);};
3116 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3122 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3127 # Don't try gcc -ansi; that turns off useful extensions and
3128 # breaks some systems' header files.
3129 # AIX -qlanglvl=ansi
3130 # Ultrix and OSF/1 -std1
3131 # HP-UX 10.20 and later -Ae
3132 # HP-UX older versions -Aa -D_HPUX_SOURCE
3133 # SVR4 -Xc -D__EXTENSIONS__
3134 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3136 CC="$ac_save_CC $ac_arg"
3137 rm -f conftest.$ac_objext
3138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3139 (eval $ac_compile) 2>&5
3141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3142 (exit $ac_status); } &&
3143 { ac_try='test -s conftest.$ac_objext'
3144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3148 (exit $ac_status); }; }; then
3149 ac_cv_prog_cc_stdc=$ac_arg
3152 echo "$as_me: failed program was:" >&5
3153 sed 's/^/| /' conftest.$ac_ext >&5
3156 rm -f conftest.$ac_objext
3158 rm -f conftest.$ac_ext conftest.$ac_objext
3163 case "x$ac_cv_prog_cc_stdc" in
3165 echo "$as_me:$LINENO: result: none needed" >&5
3166 echo "${ECHO_T}none needed" >&6 ;;
3168 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3169 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3170 CC="$CC $ac_cv_prog_cc_stdc" ;;
3173 # Some people use a C++ compiler to compile C. Since we use `exit',
3174 # in C++ we need to declare it. In case someone uses the same compiler
3175 # for both compiling C and C++ we need to have the C++ compiler decide
3176 # the declaration of exit, since it's the most demanding environment.
3177 cat >conftest.$ac_ext <<_ACEOF
3182 rm -f conftest.$ac_objext
3183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3184 (eval $ac_compile) 2>&5
3186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3187 (exit $ac_status); } &&
3188 { ac_try='test -s conftest.$ac_objext'
3189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193 (exit $ac_status); }; }; then
3194 for ac_declaration in \
3196 '#include <stdlib.h>' \
3197 'extern "C" void std::exit (int) throw (); using std::exit;' \
3198 'extern "C" void std::exit (int); using std::exit;' \
3199 'extern "C" void exit (int) throw ();' \
3200 'extern "C" void exit (int);' \
3203 cat >conftest.$ac_ext <<_ACEOF
3204 #line $LINENO "configure"
3207 cat confdefs.h >>conftest.$ac_ext
3208 cat >>conftest.$ac_ext <<_ACEOF
3209 /* end confdefs.h. */
3220 rm -f conftest.$ac_objext
3221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3222 (eval $ac_compile) 2>&5
3224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3225 (exit $ac_status); } &&
3226 { ac_try='test -s conftest.$ac_objext'
3227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3231 (exit $ac_status); }; }; then
3234 echo "$as_me: failed program was:" >&5
3235 sed 's/^/| /' conftest.$ac_ext >&5
3239 rm -f conftest.$ac_objext conftest.$ac_ext
3240 cat >conftest.$ac_ext <<_ACEOF
3241 #line $LINENO "configure"
3244 cat confdefs.h >>conftest.$ac_ext
3245 cat >>conftest.$ac_ext <<_ACEOF
3246 /* end confdefs.h. */
3256 rm -f conftest.$ac_objext
3257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3258 (eval $ac_compile) 2>&5
3260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3261 (exit $ac_status); } &&
3262 { ac_try='test -s conftest.$ac_objext'
3263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3267 (exit $ac_status); }; }; then
3270 echo "$as_me: failed program was:" >&5
3271 sed 's/^/| /' conftest.$ac_ext >&5
3274 rm -f conftest.$ac_objext conftest.$ac_ext
3277 if test -n "$ac_declaration"; then
3278 echo '#ifdef __cplusplus' >>confdefs.h
3279 echo $ac_declaration >>confdefs.h
3280 echo '#endif' >>confdefs.h
3284 echo "$as_me: failed program was:" >&5
3285 sed 's/^/| /' conftest.$ac_ext >&5
3288 rm -f conftest.$ac_objext conftest.$ac_ext
3290 ac_cpp='$CPP $CPPFLAGS'
3291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3296 ac_cpp='$CPP $CPPFLAGS'
3297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3300 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3301 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3302 # On Suns, sometimes $CPP names a directory.
3303 if test -n "$CPP" && test -d "$CPP"; then
3306 if test -z "$CPP"; then
3307 if test "${ac_cv_prog_CPP+set}" = set; then
3308 echo $ECHO_N "(cached) $ECHO_C" >&6
3310 # Double quotes because CPP needs to be expanded
3311 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3314 for ac_c_preproc_warn_flag in '' yes
3316 # Use a header file that comes with gcc, so configuring glibc
3317 # with a fresh cross-compiler works.
3318 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3319 # <limits.h> exists even on freestanding compilers.
3320 # On the NeXT, cc -E runs the code through the compiler's parser,
3321 # not just through cpp. "Syntax error" is here to catch this case.
3322 cat >conftest.$ac_ext <<_ACEOF
3323 #line $LINENO "configure"
3326 cat confdefs.h >>conftest.$ac_ext
3327 cat >>conftest.$ac_ext <<_ACEOF
3328 /* end confdefs.h. */
3330 # include <limits.h>
3332 # include <assert.h>
3336 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3337 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3339 grep -v '^ *+' conftest.er1 >conftest.err
3341 cat conftest.err >&5
3342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3343 (exit $ac_status); } >/dev/null; then
3344 if test -s conftest.err; then
3345 ac_cpp_err=$ac_c_preproc_warn_flag
3352 if test -z "$ac_cpp_err"; then
3355 echo "$as_me: failed program was:" >&5
3356 sed 's/^/| /' conftest.$ac_ext >&5
3358 # Broken: fails on valid input.
3361 rm -f conftest.err conftest.$ac_ext
3363 # OK, works on sane cases. Now check whether non-existent headers
3364 # can be detected and how.
3365 cat >conftest.$ac_ext <<_ACEOF
3366 #line $LINENO "configure"
3369 cat confdefs.h >>conftest.$ac_ext
3370 cat >>conftest.$ac_ext <<_ACEOF
3371 /* end confdefs.h. */
3372 #include <ac_nonexistent.h>
3374 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3375 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3377 grep -v '^ *+' conftest.er1 >conftest.err
3379 cat conftest.err >&5
3380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3381 (exit $ac_status); } >/dev/null; then
3382 if test -s conftest.err; then
3383 ac_cpp_err=$ac_c_preproc_warn_flag
3390 if test -z "$ac_cpp_err"; then
3391 # Broken: success on invalid input.
3394 echo "$as_me: failed program was:" >&5
3395 sed 's/^/| /' conftest.$ac_ext >&5
3397 # Passes both tests.
3401 rm -f conftest.err conftest.$ac_ext
3404 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3405 rm -f conftest.err conftest.$ac_ext
3406 if $ac_preproc_ok; then
3418 echo "$as_me:$LINENO: result: $CPP" >&5
3419 echo "${ECHO_T}$CPP" >&6
3421 for ac_c_preproc_warn_flag in '' yes
3423 # Use a header file that comes with gcc, so configuring glibc
3424 # with a fresh cross-compiler works.
3425 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3426 # <limits.h> exists even on freestanding compilers.
3427 # On the NeXT, cc -E runs the code through the compiler's parser,
3428 # not just through cpp. "Syntax error" is here to catch this case.
3429 cat >conftest.$ac_ext <<_ACEOF
3430 #line $LINENO "configure"
3433 cat confdefs.h >>conftest.$ac_ext
3434 cat >>conftest.$ac_ext <<_ACEOF
3435 /* end confdefs.h. */
3437 # include <limits.h>
3439 # include <assert.h>
3443 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3444 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3446 grep -v '^ *+' conftest.er1 >conftest.err
3448 cat conftest.err >&5
3449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3450 (exit $ac_status); } >/dev/null; then
3451 if test -s conftest.err; then
3452 ac_cpp_err=$ac_c_preproc_warn_flag
3459 if test -z "$ac_cpp_err"; then
3462 echo "$as_me: failed program was:" >&5
3463 sed 's/^/| /' conftest.$ac_ext >&5
3465 # Broken: fails on valid input.
3468 rm -f conftest.err conftest.$ac_ext
3470 # OK, works on sane cases. Now check whether non-existent headers
3471 # can be detected and how.
3472 cat >conftest.$ac_ext <<_ACEOF
3473 #line $LINENO "configure"
3476 cat confdefs.h >>conftest.$ac_ext
3477 cat >>conftest.$ac_ext <<_ACEOF
3478 /* end confdefs.h. */
3479 #include <ac_nonexistent.h>
3481 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3482 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3484 grep -v '^ *+' conftest.er1 >conftest.err
3486 cat conftest.err >&5
3487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488 (exit $ac_status); } >/dev/null; then
3489 if test -s conftest.err; then
3490 ac_cpp_err=$ac_c_preproc_warn_flag
3497 if test -z "$ac_cpp_err"; then
3498 # Broken: success on invalid input.
3501 echo "$as_me: failed program was:" >&5
3502 sed 's/^/| /' conftest.$ac_ext >&5
3504 # Passes both tests.
3508 rm -f conftest.err conftest.$ac_ext
3511 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3512 rm -f conftest.err conftest.$ac_ext
3513 if $ac_preproc_ok; then
3516 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3517 See \`config.log' for more details." >&5
3518 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3519 See \`config.log' for more details." >&2;}
3520 { (exit 1); exit 1; }; }
3524 ac_cpp='$CPP $CPPFLAGS'
3525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3530 if test "$GCC" != "yes"
3532 { { echo "$as_me:$LINENO: error: gcc required but not found" >&5
3533 echo "$as_me: error: gcc required but not found" >&2;}
3534 { (exit 1); exit 1; }; }
3537 if test "$GXX" != "yes"
3539 { { echo "$as_me:$LINENO: error: g++ required but not found" >&5
3540 echo "$as_me: error: g++ required but not found" >&2;}
3541 { (exit 1); exit 1; }; }
3544 gccmajor=`$CC --version | head -n 1 | awk '{print $NF;}' | cut -d. -f1`
3545 if test "$gccmajor" -lt "3"
3547 { { echo "$as_me:$LINENO: error: gcc 3.x required" >&5
3548 echo "$as_me: error: gcc 3.x required" >&2;}
3549 { (exit 1); exit 1; }; }
3552 echo "$as_me:$LINENO: checking for GNU make" >&5
3553 echo $ECHO_N "checking for GNU make... $ECHO_C" >&6
3554 if test "${_cv_gnu_make_command+set}" = set; then
3555 echo $ECHO_N "(cached) $ECHO_C" >&6
3557 _cv_gnu_make_command='' ;
3558 for a in "$MAKE" make gmake gnumake ; do
3559 if test -z "$a" ; then continue ; fi ;
3560 if ( sh -c "$a --version" 2> /dev/null | grep GNU 2>&1 > /dev/null ) ; then
3561 _cv_gnu_make_command=$a ;
3567 echo "$as_me:$LINENO: result: $_cv_gnu_make_command" >&5
3568 echo "${ECHO_T}$_cv_gnu_make_command" >&6 ;
3569 if test "x$_cv_gnu_make_command" != "x" ; then
3573 echo "$as_me:$LINENO: result: \"Not found\"" >&5
3574 echo "${ECHO_T}\"Not found\"" >&6;
3578 if test -z "$_cv_gnu_make_command"
3580 { { echo "$as_me:$LINENO: error: GNU Make required but not found" >&5
3581 echo "$as_me: error: GNU Make required but not found" >&2;}
3582 { (exit 1); exit 1; }; }
3586 echo "$as_me:$LINENO: checking " >&5
3587 echo $ECHO_N "checking ... $ECHO_C" >&6
3588 if test "${ac_cv_has_flex+set}" = set; then
3589 echo $ECHO_N "(cached) $ECHO_C" >&6
3591 for ac_prog in flex lex
3593 # Extract the first word of "$ac_prog", so it can be a program name with args.
3594 set dummy $ac_prog; ac_word=$2
3595 echo "$as_me:$LINENO: checking for $ac_word" >&5
3596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3597 if test "${ac_cv_prog_LEX+set}" = set; then
3598 echo $ECHO_N "(cached) $ECHO_C" >&6
3600 if test -n "$LEX"; then
3601 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3607 test -z "$as_dir" && as_dir=.
3608 for ac_exec_ext in '' $ac_executable_extensions; do
3609 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3610 ac_cv_prog_LEX="$ac_prog"
3611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3620 if test -n "$LEX"; then
3621 echo "$as_me:$LINENO: result: $LEX" >&5
3622 echo "${ECHO_T}$LEX" >&6
3624 echo "$as_me:$LINENO: result: no" >&5
3625 echo "${ECHO_T}no" >&6
3628 test -n "$LEX" && break
3630 test -n "$LEX" || LEX=":"
3632 if test -z "$LEXLIB"
3634 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3635 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3636 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3637 echo $ECHO_N "(cached) $ECHO_C" >&6
3639 ac_check_lib_save_LIBS=$LIBS
3641 cat >conftest.$ac_ext <<_ACEOF
3642 #line $LINENO "configure"
3645 cat confdefs.h >>conftest.$ac_ext
3646 cat >>conftest.$ac_ext <<_ACEOF
3647 /* end confdefs.h. */
3649 /* Override any gcc2 internal prototype to avoid an error. */
3653 /* We use char because int might match the return type of a gcc2
3654 builtin and then its argument prototype would still apply. */
3664 rm -f conftest.$ac_objext conftest$ac_exeext
3665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3666 (eval $ac_link) 2>&5
3668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3669 (exit $ac_status); } &&
3670 { ac_try='test -s conftest$ac_exeext'
3671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3675 (exit $ac_status); }; }; then
3676 ac_cv_lib_fl_yywrap=yes
3678 echo "$as_me: failed program was:" >&5
3679 sed 's/^/| /' conftest.$ac_ext >&5
3681 ac_cv_lib_fl_yywrap=no
3683 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3684 LIBS=$ac_check_lib_save_LIBS
3686 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
3687 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
3688 if test $ac_cv_lib_fl_yywrap = yes; then
3691 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
3692 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
3693 if test "${ac_cv_lib_l_yywrap+set}" = set; then
3694 echo $ECHO_N "(cached) $ECHO_C" >&6
3696 ac_check_lib_save_LIBS=$LIBS
3698 cat >conftest.$ac_ext <<_ACEOF
3699 #line $LINENO "configure"
3702 cat confdefs.h >>conftest.$ac_ext
3703 cat >>conftest.$ac_ext <<_ACEOF
3704 /* end confdefs.h. */
3706 /* Override any gcc2 internal prototype to avoid an error. */
3710 /* We use char because int might match the return type of a gcc2
3711 builtin and then its argument prototype would still apply. */
3721 rm -f conftest.$ac_objext conftest$ac_exeext
3722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3723 (eval $ac_link) 2>&5
3725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3726 (exit $ac_status); } &&
3727 { ac_try='test -s conftest$ac_exeext'
3728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3732 (exit $ac_status); }; }; then
3733 ac_cv_lib_l_yywrap=yes
3735 echo "$as_me: failed program was:" >&5
3736 sed 's/^/| /' conftest.$ac_ext >&5
3738 ac_cv_lib_l_yywrap=no
3740 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3741 LIBS=$ac_check_lib_save_LIBS
3743 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
3744 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
3745 if test $ac_cv_lib_l_yywrap = yes; then
3753 if test "x$LEX" != "x:"; then
3754 echo "$as_me:$LINENO: checking lex output file root" >&5
3755 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
3756 if test "${ac_cv_prog_lex_root+set}" = set; then
3757 echo $ECHO_N "(cached) $ECHO_C" >&6
3759 # The minimal lex program is just a single line: %%. But some broken lexes
3760 # (Solaris, I think it was) want two %% lines, so accommodate them.
3761 cat >conftest.l <<_ACEOF
3765 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
3766 (eval $LEX conftest.l) 2>&5
3768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3769 (exit $ac_status); }
3770 if test -f lex.yy.c; then
3771 ac_cv_prog_lex_root=lex.yy
3772 elif test -f lexyy.c; then
3773 ac_cv_prog_lex_root=lexyy
3775 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
3776 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
3777 { (exit 1); exit 1; }; }
3780 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
3781 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
3783 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
3785 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
3786 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
3787 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
3788 echo $ECHO_N "(cached) $ECHO_C" >&6
3790 # POSIX says lex can declare yytext either as a pointer or an array; the
3791 # default is implementation-dependent. Figure out which it is, since
3792 # not all implementations provide the %pointer and %array declarations.
3793 ac_cv_prog_lex_yytext_pointer=no
3794 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3796 LIBS="$LIBS $LEXLIB"
3797 cat >conftest.$ac_ext <<_ACEOF
3798 `cat $LEX_OUTPUT_ROOT.c`
3800 rm -f conftest.$ac_objext conftest$ac_exeext
3801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3802 (eval $ac_link) 2>&5
3804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3805 (exit $ac_status); } &&
3806 { ac_try='test -s conftest$ac_exeext'
3807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3811 (exit $ac_status); }; }; then
3812 ac_cv_prog_lex_yytext_pointer=yes
3814 echo "$as_me: failed program was:" >&5
3815 sed 's/^/| /' conftest.$ac_ext >&5
3818 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3820 rm -f "${LEX_OUTPUT_ROOT}.c"
3823 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
3824 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
3825 if test $ac_cv_prog_lex_yytext_pointer = yes; then
3827 cat >>confdefs.h <<\_ACEOF
3828 #define YYTEXT_POINTER 1
3836 echo "$as_me:$LINENO: result: $ac_cv_has_flex" >&5
3837 echo "${ECHO_T}$ac_cv_has_flex" >&6
3838 if test "$LEX" != "flex"; then
3839 { { echo "$as_me:$LINENO: error: flex not found but required" >&5
3840 echo "$as_me: error: flex not found but required" >&2;}
3841 { (exit 1); exit 1; }; }
3844 echo "$as_me:$LINENO: checking " >&5
3845 echo $ECHO_N "checking ... $ECHO_C" >&6
3846 if test "${ac_cv_has_bison+set}" = set; then
3847 echo $ECHO_N "(cached) $ECHO_C" >&6
3849 for ac_prog in 'bison -y' byacc
3851 # Extract the first word of "$ac_prog", so it can be a program name with args.
3852 set dummy $ac_prog; ac_word=$2
3853 echo "$as_me:$LINENO: checking for $ac_word" >&5
3854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3855 if test "${ac_cv_prog_YACC+set}" = set; then
3856 echo $ECHO_N "(cached) $ECHO_C" >&6
3858 if test -n "$YACC"; then
3859 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3865 test -z "$as_dir" && as_dir=.
3866 for ac_exec_ext in '' $ac_executable_extensions; do
3867 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3868 ac_cv_prog_YACC="$ac_prog"
3869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3877 YACC=$ac_cv_prog_YACC
3878 if test -n "$YACC"; then
3879 echo "$as_me:$LINENO: result: $YACC" >&5
3880 echo "${ECHO_T}$YACC" >&6
3882 echo "$as_me:$LINENO: result: no" >&5
3883 echo "${ECHO_T}no" >&6
3886 test -n "$YACC" && break
3888 test -n "$YACC" || YACC="yacc"
3892 echo "$as_me:$LINENO: result: $ac_cv_has_bison" >&5
3893 echo "${ECHO_T}$ac_cv_has_bison" >&6
3894 if test "$YACC" != "bison -y"; then
3895 { { echo "$as_me:$LINENO: error: bison not found but required" >&5
3896 echo "$as_me: error: bison not found but required" >&2;}
3897 { (exit 1); exit 1; }; }
3904 # Check whether --enable-shared or --disable-shared was given.
3905 if test "${enable_shared+set}" = set; then
3906 enableval="$enable_shared"
3907 p=${PACKAGE-default}
3909 yes) enable_shared=yes ;;
3910 no) enable_shared=no ;;
3913 # Look at the argument we got. We use all the common list separators.
3914 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3915 for pkg in $enableval; do
3917 if test "X$pkg" = "X$p"; then
3928 # Check whether --enable-static or --disable-static was given.
3929 if test "${enable_static+set}" = set; then
3930 enableval="$enable_static"
3931 p=${PACKAGE-default}
3933 yes) enable_static=yes ;;
3934 no) enable_static=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-fast-install or --disable-fast-install was given.
3953 if test "${enable_fast_install+set}" = set; then
3954 enableval="$enable_fast_install"
3955 p=${PACKAGE-default}
3957 yes) enable_fast_install=yes ;;
3958 no) enable_fast_install=no ;;
3960 enable_fast_install=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
3966 enable_fast_install=yes
3973 enable_fast_install=yes
3976 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
3977 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
3978 if test "${lt_cv_path_SED+set}" = set; then
3979 echo $ECHO_N "(cached) $ECHO_C" >&6
3981 # Loop through the user's path and test for sed and gsed.
3982 # Then use that list of sed's as ones to test for truncation.
3983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3987 test -z "$as_dir" && as_dir=.
3988 for lt_ac_prog in sed gsed; do
3989 for ac_exec_ext in '' $ac_executable_extensions; do
3990 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
3991 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
3998 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
3999 # along with /bin/sed that truncates output.
4000 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4001 test ! -f $lt_ac_sed && break
4002 cat /dev/null > conftest.in
4004 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4005 # Check for GNU sed and select it if it is found.
4006 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4007 lt_cv_path_SED=$lt_ac_sed
4011 cat conftest.in conftest.in >conftest.tmp
4012 mv conftest.tmp conftest.in
4013 cp conftest.in conftest.nl
4015 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4016 cmp -s conftest.out conftest.nl || break
4017 # 10000 chars as input seems more than enough
4018 test $lt_ac_count -gt 10 && break
4019 lt_ac_count=`expr $lt_ac_count + 1`
4020 if test $lt_ac_count -gt $lt_ac_max; then
4021 lt_ac_max=$lt_ac_count
4022 lt_cv_path_SED=$lt_ac_sed
4030 echo "$as_me:$LINENO: result: $SED" >&5
4031 echo "${ECHO_T}$SED" >&6
4033 echo "$as_me:$LINENO: checking for egrep" >&5
4034 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4035 if test "${ac_cv_prog_egrep+set}" = set; then
4036 echo $ECHO_N "(cached) $ECHO_C" >&6
4038 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
4039 then ac_cv_prog_egrep='grep -E'
4040 else ac_cv_prog_egrep='egrep'
4043 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4044 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4045 EGREP=$ac_cv_prog_egrep
4049 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4050 if test "${with_gnu_ld+set}" = set; then
4051 withval="$with_gnu_ld"
4052 test "$withval" = no || with_gnu_ld=yes
4057 if test "$GCC" = yes; then
4058 # Check if gcc -print-prog-name=ld gives a path.
4059 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4060 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4063 # gcc leaves a trailing carriage return which upsets mingw
4064 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4066 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4069 # Accept absolute paths.
4071 re_direlt='/[^/][^/]*/\.\./'
4072 # Canonicalize the path of ld
4073 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
4074 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
4075 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
4077 test -z "$LD" && LD="$ac_prog"
4080 # If it fails, then pretend we aren't using GCC.
4084 # If it is relative, then search for the first ld in PATH.
4088 elif test "$with_gnu_ld" = yes; then
4089 echo "$as_me:$LINENO: checking for GNU ld" >&5
4090 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4092 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4093 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4095 if test "${lt_cv_path_LD+set}" = set; then
4096 echo $ECHO_N "(cached) $ECHO_C" >&6
4098 if test -z "$LD"; then
4099 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4100 for ac_dir in $PATH; do
4102 test -z "$ac_dir" && ac_dir=.
4103 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4104 lt_cv_path_LD="$ac_dir/$ac_prog"
4105 # Check to see if the program is GNU ld. I'd rather use --version,
4106 # but apparently some GNU ld's only accept -v.
4107 # Break only if it was the GNU/non-GNU ld that we prefer.
4108 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4109 *GNU* | *'with BFD'*)
4110 test "$with_gnu_ld" != no && break
4113 test "$with_gnu_ld" != yes && break
4120 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4125 if test -n "$LD"; then
4126 echo "$as_me:$LINENO: result: $LD" >&5
4127 echo "${ECHO_T}$LD" >&6
4129 echo "$as_me:$LINENO: result: no" >&5
4130 echo "${ECHO_T}no" >&6
4132 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4133 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4134 { (exit 1); exit 1; }; }
4135 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4136 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4137 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4138 echo $ECHO_N "(cached) $ECHO_C" >&6
4140 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
4141 case `"$LD" -v 2>&1 </dev/null` in
4142 *GNU* | *'with BFD'*)
4143 lt_cv_prog_gnu_ld=yes
4146 lt_cv_prog_gnu_ld=no
4150 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4151 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4152 with_gnu_ld=$lt_cv_prog_gnu_ld
4155 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4156 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4157 if test "${lt_cv_ld_reload_flag+set}" = set; then
4158 echo $ECHO_N "(cached) $ECHO_C" >&6
4160 lt_cv_ld_reload_flag='-r'
4162 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4163 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4164 reload_flag=$lt_cv_ld_reload_flag
4165 case $reload_flag in
4167 *) reload_flag=" $reload_flag" ;;
4169 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4171 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
4172 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
4173 if test "${lt_cv_path_NM+set}" = set; then
4174 echo $ECHO_N "(cached) $ECHO_C" >&6
4176 if test -n "$NM"; then
4177 # Let the user override the test.
4180 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4181 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
4183 test -z "$ac_dir" && ac_dir=.
4184 tmp_nm="$ac_dir/${ac_tool_prefix}nm"
4185 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4186 # Check to see if the nm accepts a BSD-compat flag.
4187 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4188 # nm: unknown option "B" ignored
4189 # Tru64's nm complains that /dev/null is an invalid object file
4190 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4191 */dev/null* | *'Invalid file or object type'*)
4192 lt_cv_path_NM="$tmp_nm -B"
4196 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4198 lt_cv_path_NM="$tmp_nm -p"
4202 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4203 continue # so that we can try to find one that supports BSD flags
4210 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
4213 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4214 echo "${ECHO_T}$lt_cv_path_NM" >&6
4217 echo "$as_me:$LINENO: checking whether ln -s works" >&5
4218 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
4220 if test "$LN_S" = "ln -s"; then
4221 echo "$as_me:$LINENO: result: yes" >&5
4222 echo "${ECHO_T}yes" >&6
4224 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
4225 echo "${ECHO_T}no, using $LN_S" >&6
4228 echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4229 echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6
4230 if test "${lt_cv_deplibs_check_method+set}" = set; then
4231 echo $ECHO_N "(cached) $ECHO_C" >&6
4233 lt_cv_file_magic_cmd='$MAGIC_CMD'
4234 lt_cv_file_magic_test_file=
4235 lt_cv_deplibs_check_method='unknown'
4236 # Need to set the preceding variable on all platforms that support
4237 # interlibrary dependencies.
4238 # 'none' -- dependencies not supported.
4239 # `unknown' -- same as none, but documents that we really don't know.
4240 # 'pass_all' -- all dependencies passed with no checks.
4241 # 'test_compile' -- check by making test program.
4242 # 'file_magic [[regex]]' -- check by looking for files in library path
4243 # which responds to the $file_magic_cmd with a given extended regex.
4244 # If you have `file' or equivalent on your system and you're not sure
4245 # whether `pass_all' will *always* work, you probably want this one.
4249 lt_cv_deplibs_check_method=pass_all
4253 lt_cv_deplibs_check_method=pass_all
4257 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4258 lt_cv_file_magic_cmd='/usr/bin/file -L'
4259 lt_cv_file_magic_test_file=/shlib/libc.so
4262 cygwin* | mingw* | pw32*)
4263 # win32_libid is a shell function defined in ltmain.sh
4264 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4265 lt_cv_file_magic_cmd='win32_libid'
4268 darwin* | rhapsody*)
4269 # this will be overwritten by pass_all, but leave it in just in case
4270 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
4271 lt_cv_file_magic_cmd='/usr/bin/file -L'
4273 rhapsody* | darwin1.[012])
4274 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`
4277 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
4280 lt_cv_deplibs_check_method=pass_all
4284 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4287 # Not sure whether the presence of OpenBSD here was a mistake.
4288 # Let's accept both of them until this is cleared up.
4289 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
4290 lt_cv_file_magic_cmd=/usr/bin/file
4291 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4295 lt_cv_deplibs_check_method=pass_all
4300 lt_cv_deplibs_check_method=pass_all
4303 hpux10.20* | hpux11*)
4304 lt_cv_file_magic_cmd=/usr/bin/file
4307 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4308 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4311 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]'
4312 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
4315 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
4316 lt_cv_file_magic_test_file=/usr/lib/libc.sl
4321 irix5* | irix6* | nonstopux*)
4323 irix5* | nonstopux*)
4324 # this will be overridden with pass_all, but let us keep it just in case
4325 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
4329 *-32|*"-32 ") libmagic=32-bit;;
4330 *-n32|*"-n32 ") libmagic=N32;;
4331 *-64|*"-64 ") libmagic=64-bit;;
4332 *) libmagic=never-match;;
4334 # this will be overridden with pass_all, but let us keep it just in case
4335 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
4338 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
4339 lt_cv_deplibs_check_method=pass_all
4342 # This must be Linux ELF.
4345 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh*)
4346 lt_cv_deplibs_check_method=pass_all ;;
4348 # glibc up to 2.1.1 does not perform some relocations on ARM
4349 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4351 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4355 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4356 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4358 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
4363 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4364 lt_cv_file_magic_cmd=/usr/bin/file
4365 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4369 lt_cv_deplibs_check_method=unknown
4373 lt_cv_file_magic_cmd=/usr/bin/file
4374 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4375 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4376 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
4378 lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
4382 osf3* | osf4* | osf5*)
4383 # this will be overridden with pass_all, but let us keep it just in case
4384 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4385 lt_cv_file_magic_test_file=/shlib/libc.so
4386 lt_cv_deplibs_check_method=pass_all
4390 lt_cv_deplibs_check_method=pass_all
4394 lt_cv_deplibs_check_method=pass_all
4395 lt_cv_file_magic_test_file=/lib/libc.so
4398 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4399 case $host_vendor in
4401 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]'
4402 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4405 lt_cv_deplibs_check_method=pass_all
4408 lt_cv_file_magic_cmd='/bin/file'
4409 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
4412 lt_cv_file_magic_cmd='/bin/file'
4413 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
4414 lt_cv_file_magic_test_file=/lib/libc.so
4417 lt_cv_deplibs_check_method=pass_all
4422 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7* | sysv4*uw2*)
4423 lt_cv_deplibs_check_method=pass_all
4428 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4429 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4430 file_magic_cmd=$lt_cv_file_magic_cmd
4431 deplibs_check_method=$lt_cv_deplibs_check_method
4432 test -z "$deplibs_check_method" && deplibs_check_method=unknown
4437 # If no C compiler was specified, use CC.
4440 # Allow CC to be a program name with arguments.
4443 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4444 if test "${enable_libtool_lock+set}" = set; then
4445 enableval="$enable_libtool_lock"
4448 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
4450 # Some flags need to be propagated to the compiler or linker for good
4454 # Find out which ABI we are using.
4455 echo 'int i;' > conftest.$ac_ext
4456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4457 (eval $ac_compile) 2>&5
4459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4460 (exit $ac_status); }; then
4461 case `/usr/bin/file conftest.$ac_objext` in
4473 # Find out which ABI we are using.
4474 echo '#line 4474 "configure"' > conftest.$ac_ext
4475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4476 (eval $ac_compile) 2>&5
4478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4479 (exit $ac_status); }; then
4480 if test "$lt_cv_prog_gnu_ld" = yes; then
4481 case `/usr/bin/file conftest.$ac_objext` in
4483 LD="${LD-ld} -melf32bsmip"
4486 LD="${LD-ld} -melf32bmipn32"
4489 LD="${LD-ld} -melf64bmip"
4493 case `/usr/bin/file conftest.$ac_objext` in
4509 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4510 # Find out which ABI we are using.
4511 echo 'int i;' > conftest.$ac_ext
4512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4513 (eval $ac_compile) 2>&5
4515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4516 (exit $ac_status); }; then
4517 case "`/usr/bin/file conftest.o`" in
4521 LD="${LD-ld} -m elf_i386"
4524 LD="${LD-ld} -m elf32ppclinux"
4527 LD="${LD-ld} -m elf_s390"
4530 LD="${LD-ld} -m elf32_sparc"
4537 LD="${LD-ld} -m elf_x86_64"
4539 ppc*-*linux*|powerpc*-*linux*)
4540 LD="${LD-ld} -m elf64ppc"
4543 LD="${LD-ld} -m elf64_s390"
4546 LD="${LD-ld} -m elf64_sparc"
4556 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4557 SAVE_CFLAGS="$CFLAGS"
4558 CFLAGS="$CFLAGS -belf"
4559 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4560 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4561 if test "${lt_cv_cc_needs_belf+set}" = set; then
4562 echo $ECHO_N "(cached) $ECHO_C" >&6
4565 ac_cpp='$CPP $CPPFLAGS'
4566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4570 cat >conftest.$ac_ext <<_ACEOF
4571 #line $LINENO "configure"
4574 cat confdefs.h >>conftest.$ac_ext
4575 cat >>conftest.$ac_ext <<_ACEOF
4576 /* end confdefs.h. */
4586 rm -f conftest.$ac_objext conftest$ac_exeext
4587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4588 (eval $ac_link) 2>&5
4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591 (exit $ac_status); } &&
4592 { ac_try='test -s conftest$ac_exeext'
4593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4597 (exit $ac_status); }; }; then
4598 lt_cv_cc_needs_belf=yes
4600 echo "$as_me: failed program was:" >&5
4601 sed 's/^/| /' conftest.$ac_ext >&5
4603 lt_cv_cc_needs_belf=no
4605 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4607 ac_cpp='$CPP $CPPFLAGS'
4608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4613 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4614 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4615 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4616 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4617 CFLAGS="$SAVE_CFLAGS"
4623 need_locks="$enable_libtool_lock"
4627 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4628 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4629 if test "${ac_cv_header_stdc+set}" = set; then
4630 echo $ECHO_N "(cached) $ECHO_C" >&6
4632 cat >conftest.$ac_ext <<_ACEOF
4633 #line $LINENO "configure"
4636 cat confdefs.h >>conftest.$ac_ext
4637 cat >>conftest.$ac_ext <<_ACEOF
4638 /* end confdefs.h. */
4652 rm -f conftest.$ac_objext
4653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4654 (eval $ac_compile) 2>&5
4656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4657 (exit $ac_status); } &&
4658 { ac_try='test -s conftest.$ac_objext'
4659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663 (exit $ac_status); }; }; then
4664 ac_cv_header_stdc=yes
4666 echo "$as_me: failed program was:" >&5
4667 sed 's/^/| /' conftest.$ac_ext >&5
4669 ac_cv_header_stdc=no
4671 rm -f conftest.$ac_objext conftest.$ac_ext
4673 if test $ac_cv_header_stdc = yes; then
4674 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4675 cat >conftest.$ac_ext <<_ACEOF
4676 #line $LINENO "configure"
4679 cat confdefs.h >>conftest.$ac_ext
4680 cat >>conftest.$ac_ext <<_ACEOF
4681 /* end confdefs.h. */
4685 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4686 $EGREP "memchr" >/dev/null 2>&1; then
4689 ac_cv_header_stdc=no
4695 if test $ac_cv_header_stdc = yes; then
4696 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4697 cat >conftest.$ac_ext <<_ACEOF
4698 #line $LINENO "configure"
4701 cat confdefs.h >>conftest.$ac_ext
4702 cat >>conftest.$ac_ext <<_ACEOF
4703 /* end confdefs.h. */
4707 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4708 $EGREP "free" >/dev/null 2>&1; then
4711 ac_cv_header_stdc=no
4717 if test $ac_cv_header_stdc = yes; then
4718 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4719 if test "$cross_compiling" = yes; then
4722 cat >conftest.$ac_ext <<_ACEOF
4723 #line $LINENO "configure"
4726 cat confdefs.h >>conftest.$ac_ext
4727 cat >>conftest.$ac_ext <<_ACEOF
4728 /* end confdefs.h. */
4730 #if ((' ' & 0x0FF) == 0x020)
4731 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4732 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4734 # define ISLOWER(c) \
4735 (('a' <= (c) && (c) <= 'i') \
4736 || ('j' <= (c) && (c) <= 'r') \
4737 || ('s' <= (c) && (c) <= 'z'))
4738 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4741 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4746 for (i = 0; i < 256; i++)
4747 if (XOR (islower (i), ISLOWER (i))
4748 || toupper (i) != TOUPPER (i))
4753 rm -f conftest$ac_exeext
4754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4755 (eval $ac_link) 2>&5
4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4763 (exit $ac_status); }; }; then
4766 echo "$as_me: program exited with status $ac_status" >&5
4767 echo "$as_me: failed program was:" >&5
4768 sed 's/^/| /' conftest.$ac_ext >&5
4771 ac_cv_header_stdc=no
4773 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4777 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4778 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4779 if test $ac_cv_header_stdc = yes; then
4781 cat >>confdefs.h <<\_ACEOF
4782 #define STDC_HEADERS 1
4787 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4797 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4798 inttypes.h stdint.h unistd.h
4800 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4801 echo "$as_me:$LINENO: checking for $ac_header" >&5
4802 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4803 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4804 echo $ECHO_N "(cached) $ECHO_C" >&6
4806 cat >conftest.$ac_ext <<_ACEOF
4807 #line $LINENO "configure"
4810 cat confdefs.h >>conftest.$ac_ext
4811 cat >>conftest.$ac_ext <<_ACEOF
4812 /* end confdefs.h. */
4813 $ac_includes_default
4815 #include <$ac_header>
4817 rm -f conftest.$ac_objext
4818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4819 (eval $ac_compile) 2>&5
4821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4822 (exit $ac_status); } &&
4823 { ac_try='test -s conftest.$ac_objext'
4824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); }; }; then
4829 eval "$as_ac_Header=yes"
4831 echo "$as_me: failed program was:" >&5
4832 sed 's/^/| /' conftest.$ac_ext >&5
4834 eval "$as_ac_Header=no"
4836 rm -f conftest.$ac_objext conftest.$ac_ext
4838 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4839 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4840 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4841 cat >>confdefs.h <<_ACEOF
4842 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4851 for ac_header in dlfcn.h
4853 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4855 echo "$as_me:$LINENO: checking for $ac_header" >&5
4856 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4857 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4858 echo $ECHO_N "(cached) $ECHO_C" >&6
4860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4863 # Is the header compilable?
4864 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4865 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4866 cat >conftest.$ac_ext <<_ACEOF
4867 #line $LINENO "configure"
4870 cat confdefs.h >>conftest.$ac_ext
4871 cat >>conftest.$ac_ext <<_ACEOF
4872 /* end confdefs.h. */
4873 $ac_includes_default
4874 #include <$ac_header>
4876 rm -f conftest.$ac_objext
4877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4878 (eval $ac_compile) 2>&5
4880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4881 (exit $ac_status); } &&
4882 { ac_try='test -s conftest.$ac_objext'
4883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4887 (exit $ac_status); }; }; then
4888 ac_header_compiler=yes
4890 echo "$as_me: failed program was:" >&5
4891 sed 's/^/| /' conftest.$ac_ext >&5
4893 ac_header_compiler=no
4895 rm -f conftest.$ac_objext conftest.$ac_ext
4896 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4897 echo "${ECHO_T}$ac_header_compiler" >&6
4899 # Is the header present?
4900 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4901 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4902 cat >conftest.$ac_ext <<_ACEOF
4903 #line $LINENO "configure"
4906 cat confdefs.h >>conftest.$ac_ext
4907 cat >>conftest.$ac_ext <<_ACEOF
4908 /* end confdefs.h. */
4909 #include <$ac_header>
4911 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4912 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4914 grep -v '^ *+' conftest.er1 >conftest.err
4916 cat conftest.err >&5
4917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4918 (exit $ac_status); } >/dev/null; then
4919 if test -s conftest.err; then
4920 ac_cpp_err=$ac_c_preproc_warn_flag
4927 if test -z "$ac_cpp_err"; then
4928 ac_header_preproc=yes
4930 echo "$as_me: failed program was:" >&5
4931 sed 's/^/| /' conftest.$ac_ext >&5
4933 ac_header_preproc=no
4935 rm -f conftest.err conftest.$ac_ext
4936 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4937 echo "${ECHO_T}$ac_header_preproc" >&6
4939 # So? What about this header?
4940 case $ac_header_compiler:$ac_header_preproc in
4942 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4943 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4944 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4945 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4948 ## ------------------------------------ ##
4949 ## Report this to bug-autoconf@gnu.org. ##
4950 ## ------------------------------------ ##
4953 sed "s/^/$as_me: WARNING: /" >&2
4956 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4957 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4958 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4959 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4960 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4961 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4964 ## ------------------------------------ ##
4965 ## Report this to bug-autoconf@gnu.org. ##
4966 ## ------------------------------------ ##
4969 sed "s/^/$as_me: WARNING: /" >&2
4972 echo "$as_me:$LINENO: checking for $ac_header" >&5
4973 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4974 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4975 echo $ECHO_N "(cached) $ECHO_C" >&6
4977 eval "$as_ac_Header=$ac_header_preproc"
4979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4980 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4983 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4984 cat >>confdefs.h <<_ACEOF
4985 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4993 ac_cpp='$CXXCPP $CPPFLAGS'
4994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4997 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4998 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4999 if test -z "$CXXCPP"; then
5000 if test "${ac_cv_prog_CXXCPP+set}" = set; then
5001 echo $ECHO_N "(cached) $ECHO_C" >&6
5003 # Double quotes because CXXCPP needs to be expanded
5004 for CXXCPP in "$CXX -E" "/lib/cpp"
5007 for ac_cxx_preproc_warn_flag in '' yes
5009 # Use a header file that comes with gcc, so configuring glibc
5010 # with a fresh cross-compiler works.
5011 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5012 # <limits.h> exists even on freestanding compilers.
5013 # On the NeXT, cc -E runs the code through the compiler's parser,
5014 # not just through cpp. "Syntax error" is here to catch this case.
5015 cat >conftest.$ac_ext <<_ACEOF
5016 #line $LINENO "configure"
5019 cat confdefs.h >>conftest.$ac_ext
5020 cat >>conftest.$ac_ext <<_ACEOF
5021 /* end confdefs.h. */
5023 # include <limits.h>
5025 # include <assert.h>
5029 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5030 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5032 grep -v '^ *+' conftest.er1 >conftest.err
5034 cat conftest.err >&5
5035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5036 (exit $ac_status); } >/dev/null; then
5037 if test -s conftest.err; then
5038 ac_cpp_err=$ac_cxx_preproc_warn_flag
5045 if test -z "$ac_cpp_err"; then
5048 echo "$as_me: failed program was:" >&5
5049 sed 's/^/| /' conftest.$ac_ext >&5
5051 # Broken: fails on valid input.
5054 rm -f conftest.err conftest.$ac_ext
5056 # OK, works on sane cases. Now check whether non-existent headers
5057 # can be detected and how.
5058 cat >conftest.$ac_ext <<_ACEOF
5059 #line $LINENO "configure"
5062 cat confdefs.h >>conftest.$ac_ext
5063 cat >>conftest.$ac_ext <<_ACEOF
5064 /* end confdefs.h. */
5065 #include <ac_nonexistent.h>
5067 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5068 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5070 grep -v '^ *+' conftest.er1 >conftest.err
5072 cat conftest.err >&5
5073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5074 (exit $ac_status); } >/dev/null; then
5075 if test -s conftest.err; then
5076 ac_cpp_err=$ac_cxx_preproc_warn_flag
5083 if test -z "$ac_cpp_err"; then
5084 # Broken: success on invalid input.
5087 echo "$as_me: failed program was:" >&5
5088 sed 's/^/| /' conftest.$ac_ext >&5
5090 # Passes both tests.
5094 rm -f conftest.err conftest.$ac_ext
5097 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5098 rm -f conftest.err conftest.$ac_ext
5099 if $ac_preproc_ok; then
5104 ac_cv_prog_CXXCPP=$CXXCPP
5107 CXXCPP=$ac_cv_prog_CXXCPP
5109 ac_cv_prog_CXXCPP=$CXXCPP
5111 echo "$as_me:$LINENO: result: $CXXCPP" >&5
5112 echo "${ECHO_T}$CXXCPP" >&6
5114 for ac_cxx_preproc_warn_flag in '' yes
5116 # Use a header file that comes with gcc, so configuring glibc
5117 # with a fresh cross-compiler works.
5118 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5119 # <limits.h> exists even on freestanding compilers.
5120 # On the NeXT, cc -E runs the code through the compiler's parser,
5121 # not just through cpp. "Syntax error" is here to catch this case.
5122 cat >conftest.$ac_ext <<_ACEOF
5123 #line $LINENO "configure"
5126 cat confdefs.h >>conftest.$ac_ext
5127 cat >>conftest.$ac_ext <<_ACEOF
5128 /* end confdefs.h. */
5130 # include <limits.h>
5132 # include <assert.h>
5136 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5137 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5139 grep -v '^ *+' conftest.er1 >conftest.err
5141 cat conftest.err >&5
5142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5143 (exit $ac_status); } >/dev/null; then
5144 if test -s conftest.err; then
5145 ac_cpp_err=$ac_cxx_preproc_warn_flag
5152 if test -z "$ac_cpp_err"; then
5155 echo "$as_me: failed program was:" >&5
5156 sed 's/^/| /' conftest.$ac_ext >&5
5158 # Broken: fails on valid input.
5161 rm -f conftest.err conftest.$ac_ext
5163 # OK, works on sane cases. Now check whether non-existent headers
5164 # can be detected and how.
5165 cat >conftest.$ac_ext <<_ACEOF
5166 #line $LINENO "configure"
5169 cat confdefs.h >>conftest.$ac_ext
5170 cat >>conftest.$ac_ext <<_ACEOF
5171 /* end confdefs.h. */
5172 #include <ac_nonexistent.h>
5174 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5175 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5177 grep -v '^ *+' conftest.er1 >conftest.err
5179 cat conftest.err >&5
5180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5181 (exit $ac_status); } >/dev/null; then
5182 if test -s conftest.err; then
5183 ac_cpp_err=$ac_cxx_preproc_warn_flag
5190 if test -z "$ac_cpp_err"; then
5191 # Broken: success on invalid input.
5194 echo "$as_me: failed program was:" >&5
5195 sed 's/^/| /' conftest.$ac_ext >&5
5197 # Passes both tests.
5201 rm -f conftest.err conftest.$ac_ext
5204 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5205 rm -f conftest.err conftest.$ac_ext
5206 if $ac_preproc_ok; then
5209 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5210 See \`config.log' for more details." >&5
5211 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
5212 See \`config.log' for more details." >&2;}
5213 { (exit 1); exit 1; }; }
5217 ac_cpp='$CXXCPP $CPPFLAGS'
5218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5224 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5225 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5226 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
5227 if test -n "$ac_tool_prefix"; then
5228 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5230 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5231 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5232 echo "$as_me:$LINENO: checking for $ac_word" >&5
5233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5234 if test "${ac_cv_prog_F77+set}" = set; then
5235 echo $ECHO_N "(cached) $ECHO_C" >&6
5237 if test -n "$F77"; then
5238 ac_cv_prog_F77="$F77" # Let the user override the test.
5240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5244 test -z "$as_dir" && as_dir=.
5245 for ac_exec_ext in '' $ac_executable_extensions; do
5246 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5247 ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
5248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5257 if test -n "$F77"; then
5258 echo "$as_me:$LINENO: result: $F77" >&5
5259 echo "${ECHO_T}$F77" >&6
5261 echo "$as_me:$LINENO: result: no" >&5
5262 echo "${ECHO_T}no" >&6
5265 test -n "$F77" && break
5268 if test -z "$F77"; then
5270 for ac_prog in g77 f77 xlf frt pgf77 fl32 af77 fort77 f90 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95
5272 # Extract the first word of "$ac_prog", so it can be a program name with args.
5273 set dummy $ac_prog; ac_word=$2
5274 echo "$as_me:$LINENO: checking for $ac_word" >&5
5275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5276 if test "${ac_cv_prog_ac_ct_F77+set}" = set; then
5277 echo $ECHO_N "(cached) $ECHO_C" >&6
5279 if test -n "$ac_ct_F77"; then
5280 ac_cv_prog_ac_ct_F77="$ac_ct_F77" # Let the user override the test.
5282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5286 test -z "$as_dir" && as_dir=.
5287 for ac_exec_ext in '' $ac_executable_extensions; do
5288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5289 ac_cv_prog_ac_ct_F77="$ac_prog"
5290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5298 ac_ct_F77=$ac_cv_prog_ac_ct_F77
5299 if test -n "$ac_ct_F77"; then
5300 echo "$as_me:$LINENO: result: $ac_ct_F77" >&5
5301 echo "${ECHO_T}$ac_ct_F77" >&6
5303 echo "$as_me:$LINENO: result: no" >&5
5304 echo "${ECHO_T}no" >&6
5307 test -n "$ac_ct_F77" && break
5314 # Provide some information about the compiler.
5315 echo "$as_me:5315:" \
5316 "checking for Fortran 77 compiler version" >&5
5317 ac_compiler=`set X $ac_compile; echo $2`
5318 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5319 (eval $ac_compiler --version </dev/null >&5) 2>&5
5321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5322 (exit $ac_status); }
5323 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
5324 (eval $ac_compiler -v </dev/null >&5) 2>&5
5326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5327 (exit $ac_status); }
5328 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
5329 (eval $ac_compiler -V </dev/null >&5) 2>&5
5331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5332 (exit $ac_status); }
5334 # If we don't use `.F' as extension, the preprocessor is not run on the
5338 echo "$as_me:$LINENO: checking whether we are using the GNU Fortran 77 compiler" >&5
5339 echo $ECHO_N "checking whether we are using the GNU Fortran 77 compiler... $ECHO_C" >&6
5340 if test "${ac_cv_f77_compiler_gnu+set}" = set; then
5341 echo $ECHO_N "(cached) $ECHO_C" >&6
5343 cat >conftest.$ac_ext <<_ACEOF
5351 rm -f conftest.$ac_objext
5352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5353 (eval $ac_compile) 2>&5
5355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5356 (exit $ac_status); } &&
5357 { ac_try='test -s conftest.$ac_objext'
5358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5362 (exit $ac_status); }; }; then
5365 echo "$as_me: failed program was:" >&5
5366 sed 's/^/| /' conftest.$ac_ext >&5
5370 rm -f conftest.$ac_objext conftest.$ac_ext
5371 ac_cv_f77_compiler_gnu=$ac_compiler_gnu
5374 echo "$as_me:$LINENO: result: $ac_cv_f77_compiler_gnu" >&5
5375 echo "${ECHO_T}$ac_cv_f77_compiler_gnu" >&6
5377 G77=`test $ac_compiler_gnu = yes && echo yes`
5378 ac_test_FFLAGS=${FFLAGS+set}
5379 ac_save_FFLAGS=$FFLAGS
5381 echo "$as_me:$LINENO: checking whether $F77 accepts -g" >&5
5382 echo $ECHO_N "checking whether $F77 accepts -g... $ECHO_C" >&6
5383 if test "${ac_cv_prog_f77_g+set}" = set; then
5384 echo $ECHO_N "(cached) $ECHO_C" >&6
5387 cat >conftest.$ac_ext <<_ACEOF
5392 rm -f conftest.$ac_objext
5393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5394 (eval $ac_compile) 2>&5
5396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5397 (exit $ac_status); } &&
5398 { ac_try='test -s conftest.$ac_objext'
5399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5403 (exit $ac_status); }; }; then
5404 ac_cv_prog_f77_g=yes
5406 echo "$as_me: failed program was:" >&5
5407 sed 's/^/| /' conftest.$ac_ext >&5
5411 rm -f conftest.$ac_objext conftest.$ac_ext
5414 echo "$as_me:$LINENO: result: $ac_cv_prog_f77_g" >&5
5415 echo "${ECHO_T}$ac_cv_prog_f77_g" >&6
5416 if test "$ac_test_FFLAGS" = set; then
5417 FFLAGS=$ac_save_FFLAGS
5418 elif test $ac_cv_prog_f77_g = yes; then
5419 if test "$G77" = yes; then
5425 if test "$G77" = yes; then
5432 ac_cpp='$CPP $CPPFLAGS'
5433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5439 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
5441 # find the maximum length of command line arguments
5442 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5443 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
5444 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5445 echo $ECHO_N "(cached) $ECHO_C" >&6
5452 # On DJGPP, this test can blow up pretty badly due to problems in libc
5453 # (any single argument exceeding 2000 bytes causes a buffer overrun
5454 # during glob expansion). Even if it were fixed, the result of this
5455 # check would be larger than it should be.
5456 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5460 # Under GNU Hurd, this test is not required because there is
5461 # no limit to the length of command line arguments.
5462 # Libtool will interpret -1 as no limit whatsoever
5463 lt_cv_sys_max_cmd_len=-1;
5467 # On Win9x/ME, this test blows up -- it succeeds, but takes
5468 # about 5 minutes as the teststring grows exponentially.
5469 # Worse, since 9x/ME are not pre-emptively multitasking,
5470 # you end up with a "frozen" computer, even though with patience
5471 # the test eventually succeeds (with a max line length of 256k).
5472 # Instead, let's just punt: use the minimum linelength reported by
5473 # all of the supported platforms: 8192 (on NT/2K/XP).
5474 lt_cv_sys_max_cmd_len=8192;
5478 # If test is not a shell built-in, we'll probably end up computing a
5479 # maximum length that is only half of the actual maximum length, but
5481 while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$testring" 2>/dev/null` \
5482 = "XX$testring") >/dev/null 2>&1 &&
5483 new_result=`expr "X$testring" : ".*" 2>&1` &&
5484 lt_cv_sys_max_cmd_len=$new_result &&
5485 test $i != 17 # 1/2 MB should be enough
5488 testring=$testring$testring
5491 # Add a significant safety factor because C++ compilers can tack on massive
5492 # amounts of additional arguments before passing them to the linker.
5493 # It appears as though 1/2 is a usable value.
5494 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5500 if test -n $lt_cv_sys_max_cmd_len ; then
5501 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5502 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
5504 echo "$as_me:$LINENO: result: none" >&5
5505 echo "${ECHO_T}none" >&6
5511 # Check for command to grab the raw symbol name followed by C symbol from nm.
5512 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5513 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5514 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5515 echo $ECHO_N "(cached) $ECHO_C" >&6
5518 # These are sane defaults that work on at least a few old systems.
5519 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5521 # Character class describing NM global symbol codes.
5522 symcode='[BCDEGRST]'
5524 # Regexp to match symbols that can be accessed directly from C.
5525 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5527 # Transform the above into a raw symbol and a C symbol.
5528 symxfrm='\1 \2\3 \3'
5530 # Transform an extracted symbol line into a proper C declaration
5531 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5533 # Transform an extracted symbol line into symbol name and symbol address
5534 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'"
5536 # Define system-specific variables.
5541 cygwin* | mingw* | pw32*)
5542 symcode='[ABCDGISTW]'
5544 hpux*) # Its linker distinguishes data from code symbols
5545 if test "$host_cpu" = ia64; then
5546 symcode='[ABCDEGRST]'
5548 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5549 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'"
5552 symcode='[BCDEGRST]'
5555 symcode='[BCDEGQRST]'
5565 # Handle CRLF in mingw tool chain
5569 opt_cr=`echo 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5573 # If we're using GNU nm, then use its standard symbol codes.
5574 case `$NM -V 2>&1` in
5575 *GNU* | *'with BFD'*)
5576 symcode='[ABCDGISTW]' ;;
5579 # Try without a prefix undercore, then with it.
5580 for ac_symprfx in "" "_"; do
5582 # Write the raw and C identifiers.
5583 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
5585 # Check to see that the pipe works correctly.
5589 cat > conftest.$ac_ext <<EOF
5594 void nm_test_func(){}
5598 int main(){nm_test_var='a';nm_test_func();return(0);}
5601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5602 (eval $ac_compile) 2>&5
5604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5605 (exit $ac_status); }; then
5606 # Now try to grab the symbols.
5608 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5609 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5612 (exit $ac_status); } && test -s "$nlist"; then
5613 # Try sorting and uniquifying the output.
5614 if sort "$nlist" | uniq > "$nlist"T; then
5615 mv -f "$nlist"T "$nlist"
5620 # Make sure that we snagged all the symbols we need.
5621 if grep ' nm_test_var$' "$nlist" >/dev/null; then
5622 if grep ' nm_test_func$' "$nlist" >/dev/null; then
5623 cat <<EOF > conftest.$ac_ext
5629 # Now generate the symbol file.
5630 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | grep -v main >> conftest.$ac_ext'
5632 cat <<EOF >> conftest.$ac_ext
5633 #if defined (__STDC__) && __STDC__
5634 # define lt_ptr_t void *
5636 # define lt_ptr_t char *
5640 /* The mapping between symbol names and symbols. */
5645 lt_preloaded_symbols[] =
5648 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (lt_ptr_t) \&\2},/" < "$nlist" | grep -v main >> conftest.$ac_ext
5649 cat <<\EOF >> conftest.$ac_ext
5657 # Now try linking the two files.
5658 mv conftest.$ac_objext conftstm.$ac_objext
5659 lt_save_LIBS="$LIBS"
5660 lt_save_CFLAGS="$CFLAGS"
5661 LIBS="conftstm.$ac_objext"
5662 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5664 (eval $ac_link) 2>&5
5666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5667 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5670 LIBS="$lt_save_LIBS"
5671 CFLAGS="$lt_save_CFLAGS"
5673 echo "cannot find nm_test_func in $nlist" >&5
5676 echo "cannot find nm_test_var in $nlist" >&5
5679 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5682 echo "$progname: failed program was:" >&5
5683 cat conftest.$ac_ext >&5
5685 rm -f conftest* conftst*
5687 # Do not use the global_symbol_pipe unless it works.
5688 if test "$pipe_works" = yes; then
5691 lt_cv_sys_global_symbol_pipe=
5697 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5698 lt_cv_sys_global_symbol_to_cdecl=
5700 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5701 echo "$as_me:$LINENO: result: failed" >&5
5702 echo "${ECHO_T}failed" >&6
5704 echo "$as_me:$LINENO: result: ok" >&5
5705 echo "${ECHO_T}ok" >&6
5708 echo "$as_me:$LINENO: checking for objdir" >&5
5709 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
5710 if test "${lt_cv_objdir+set}" = set; then
5711 echo $ECHO_N "(cached) $ECHO_C" >&6
5713 rm -f .libs 2>/dev/null
5714 mkdir .libs 2>/dev/null
5715 if test -d .libs; then
5718 # MS-DOS does not allow filenames that begin with a dot.
5721 rmdir .libs 2>/dev/null
5723 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
5724 echo "${ECHO_T}$lt_cv_objdir" >&6
5725 objdir=$lt_cv_objdir
5733 # AIX sometimes has problems with the GCC collect2 program. For some
5734 # reason, if we set the COLLECT_NAMES environment variable, the problems
5735 # vanish in a puff of smoke.
5736 if test "X${COLLECT_NAMES+set}" != Xset; then
5738 export COLLECT_NAMES
5743 # Sed substitution that helps us do robust quoting. It backslashifies
5744 # metacharacters that are still active within double-quoted strings.
5745 Xsed='sed -e s/^X//'
5746 sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5748 # Same as above, but do not quote variable references.
5749 double_quote_subst='s/\([\\"\\`\\\\]\)/\\\1/g'
5751 # Sed substitution to delay expansion of an escaped shell variable in a
5752 # double_quote_subst'ed string.
5753 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5755 # Sed substitution to avoid accidental globbing in evaled expressions
5756 no_glob_subst='s/\*/\\\*/g'
5763 can_build_shared=yes
5765 # All known linkers require a `.a' archive for static linking (except M$VC,
5766 # which needs '.lib').
5768 ltmain="$ac_aux_dir/ltmain.sh"
5769 ofile="$default_ofile"
5770 with_gnu_ld="$lt_cv_prog_gnu_ld"
5772 if test -n "$ac_tool_prefix"; then
5773 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5774 set dummy ${ac_tool_prefix}ar; ac_word=$2
5775 echo "$as_me:$LINENO: checking for $ac_word" >&5
5776 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5777 if test "${ac_cv_prog_AR+set}" = set; then
5778 echo $ECHO_N "(cached) $ECHO_C" >&6
5780 if test -n "$AR"; then
5781 ac_cv_prog_AR="$AR" # Let the user override the test.
5783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5787 test -z "$as_dir" && as_dir=.
5788 for ac_exec_ext in '' $ac_executable_extensions; do
5789 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5790 ac_cv_prog_AR="${ac_tool_prefix}ar"
5791 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5800 if test -n "$AR"; then
5801 echo "$as_me:$LINENO: result: $AR" >&5
5802 echo "${ECHO_T}$AR" >&6
5804 echo "$as_me:$LINENO: result: no" >&5
5805 echo "${ECHO_T}no" >&6
5809 if test -z "$ac_cv_prog_AR"; then
5811 # Extract the first word of "ar", so it can be a program name with args.
5812 set dummy ar; ac_word=$2
5813 echo "$as_me:$LINENO: checking for $ac_word" >&5
5814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5815 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5816 echo $ECHO_N "(cached) $ECHO_C" >&6
5818 if test -n "$ac_ct_AR"; then
5819 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5825 test -z "$as_dir" && as_dir=.
5826 for ac_exec_ext in '' $ac_executable_extensions; do
5827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5828 ac_cv_prog_ac_ct_AR="ar"
5829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5835 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5838 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5839 if test -n "$ac_ct_AR"; then
5840 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5841 echo "${ECHO_T}$ac_ct_AR" >&6
5843 echo "$as_me:$LINENO: result: no" >&5
5844 echo "${ECHO_T}no" >&6
5852 if test -n "$ac_tool_prefix"; then
5853 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5854 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5855 echo "$as_me:$LINENO: checking for $ac_word" >&5
5856 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5857 if test "${ac_cv_prog_RANLIB+set}" = set; then
5858 echo $ECHO_N "(cached) $ECHO_C" >&6
5860 if test -n "$RANLIB"; then
5861 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5867 test -z "$as_dir" && as_dir=.
5868 for ac_exec_ext in '' $ac_executable_extensions; do
5869 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5870 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5871 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5879 RANLIB=$ac_cv_prog_RANLIB
5880 if test -n "$RANLIB"; then
5881 echo "$as_me:$LINENO: result: $RANLIB" >&5
5882 echo "${ECHO_T}$RANLIB" >&6
5884 echo "$as_me:$LINENO: result: no" >&5
5885 echo "${ECHO_T}no" >&6
5889 if test -z "$ac_cv_prog_RANLIB"; then
5890 ac_ct_RANLIB=$RANLIB
5891 # Extract the first word of "ranlib", so it can be a program name with args.
5892 set dummy ranlib; ac_word=$2
5893 echo "$as_me:$LINENO: checking for $ac_word" >&5
5894 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5895 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5896 echo $ECHO_N "(cached) $ECHO_C" >&6
5898 if test -n "$ac_ct_RANLIB"; then
5899 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5905 test -z "$as_dir" && as_dir=.
5906 for ac_exec_ext in '' $ac_executable_extensions; do
5907 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5908 ac_cv_prog_ac_ct_RANLIB="ranlib"
5909 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5915 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5918 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5919 if test -n "$ac_ct_RANLIB"; then
5920 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5921 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5923 echo "$as_me:$LINENO: result: no" >&5
5924 echo "${ECHO_T}no" >&6
5927 RANLIB=$ac_ct_RANLIB
5929 RANLIB="$ac_cv_prog_RANLIB"
5932 if test -n "$ac_tool_prefix"; then
5933 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5934 set dummy ${ac_tool_prefix}strip; ac_word=$2
5935 echo "$as_me:$LINENO: checking for $ac_word" >&5
5936 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5937 if test "${ac_cv_prog_STRIP+set}" = set; then
5938 echo $ECHO_N "(cached) $ECHO_C" >&6
5940 if test -n "$STRIP"; then
5941 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5947 test -z "$as_dir" && as_dir=.
5948 for ac_exec_ext in '' $ac_executable_extensions; do
5949 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5950 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5951 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5959 STRIP=$ac_cv_prog_STRIP
5960 if test -n "$STRIP"; then
5961 echo "$as_me:$LINENO: result: $STRIP" >&5
5962 echo "${ECHO_T}$STRIP" >&6
5964 echo "$as_me:$LINENO: result: no" >&5
5965 echo "${ECHO_T}no" >&6
5969 if test -z "$ac_cv_prog_STRIP"; then
5971 # Extract the first word of "strip", so it can be a program name with args.
5972 set dummy strip; ac_word=$2
5973 echo "$as_me:$LINENO: checking for $ac_word" >&5
5974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5975 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5976 echo $ECHO_N "(cached) $ECHO_C" >&6
5978 if test -n "$ac_ct_STRIP"; then
5979 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5985 test -z "$as_dir" && as_dir=.
5986 for ac_exec_ext in '' $ac_executable_extensions; do
5987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5988 ac_cv_prog_ac_ct_STRIP="strip"
5989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5995 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5998 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5999 if test -n "$ac_ct_STRIP"; then
6000 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6001 echo "${ECHO_T}$ac_ct_STRIP" >&6
6003 echo "$as_me:$LINENO: result: no" >&5
6004 echo "${ECHO_T}no" >&6
6009 STRIP="$ac_cv_prog_STRIP"
6014 old_CFLAGS="$CFLAGS"
6016 # Set sane defaults for various variables
6017 test -z "$AR" && AR=ar
6018 test -z "$AR_FLAGS" && AR_FLAGS=cru
6019 test -z "$AS" && AS=as
6020 test -z "$CC" && CC=cc
6021 test -z "$LTCC" && LTCC=$CC
6022 test -z "$DLLTOOL" && DLLTOOL=dlltool
6023 test -z "$LD" && LD=ld
6024 test -z "$LN_S" && LN_S="ln -s"
6025 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6026 test -z "$NM" && NM=nm
6027 test -z "$SED" && SED=sed
6028 test -z "$OBJDUMP" && OBJDUMP=objdump
6029 test -z "$RANLIB" && RANLIB=:
6030 test -z "$STRIP" && STRIP=:
6031 test -z "$ac_objext" && ac_objext=o
6033 # Determine commands to create old-style static archives.
6034 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
6035 old_postinstall_cmds='chmod 644 $oldlib'
6036 old_postuninstall_cmds=
6038 if test -n "$RANLIB"; then
6041 old_postinstall_cmds="\$RANLIB -t \$oldlib~$old_postinstall_cmds"
6044 old_postinstall_cmds="\$RANLIB \$oldlib~$old_postinstall_cmds"
6047 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6050 # Only perform the check for file, if the check method requires it
6051 case $deplibs_check_method in
6053 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6054 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6055 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6056 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6057 echo $ECHO_N "(cached) $ECHO_C" >&6
6061 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6064 lt_save_MAGIC_CMD="$MAGIC_CMD"
6065 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6066 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6067 for ac_dir in $ac_dummy; do
6069 test -z "$ac_dir" && ac_dir=.
6070 if test -f $ac_dir/${ac_tool_prefix}file; then
6071 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
6072 if test -n "$file_magic_test_file"; then
6073 case $deplibs_check_method in
6075 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6076 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6077 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6078 $EGREP "$file_magic_regex" > /dev/null; then
6083 *** Warning: the command libtool uses to detect shared libraries,
6084 *** $file_magic_cmd, produces output that libtool cannot recognize.
6085 *** The result is that libtool may fail to recognize shared libraries
6086 *** as such. This will affect the creation of libtool libraries that
6087 *** depend on shared libraries, but programs linked with such libtool
6088 *** libraries will work regardless of this problem. Nevertheless, you
6089 *** may want to report the problem to your system manager and/or to
6090 *** bug-libtool@gnu.org
6100 MAGIC_CMD="$lt_save_MAGIC_CMD"
6105 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6106 if test -n "$MAGIC_CMD"; then
6107 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6108 echo "${ECHO_T}$MAGIC_CMD" >&6
6110 echo "$as_me:$LINENO: result: no" >&5
6111 echo "${ECHO_T}no" >&6
6114 if test -z "$lt_cv_path_MAGIC_CMD"; then
6115 if test -n "$ac_tool_prefix"; then
6116 echo "$as_me:$LINENO: checking for file" >&5
6117 echo $ECHO_N "checking for file... $ECHO_C" >&6
6118 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6119 echo $ECHO_N "(cached) $ECHO_C" >&6
6123 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6126 lt_save_MAGIC_CMD="$MAGIC_CMD"
6127 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6128 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6129 for ac_dir in $ac_dummy; do
6131 test -z "$ac_dir" && ac_dir=.
6132 if test -f $ac_dir/file; then
6133 lt_cv_path_MAGIC_CMD="$ac_dir/file"
6134 if test -n "$file_magic_test_file"; then
6135 case $deplibs_check_method in
6137 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
6138 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6139 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
6140 $EGREP "$file_magic_regex" > /dev/null; then
6145 *** Warning: the command libtool uses to detect shared libraries,
6146 *** $file_magic_cmd, produces output that libtool cannot recognize.
6147 *** The result is that libtool may fail to recognize shared libraries
6148 *** as such. This will affect the creation of libtool libraries that
6149 *** depend on shared libraries, but programs linked with such libtool
6150 *** libraries will work regardless of this problem. Nevertheless, you
6151 *** may want to report the problem to your system manager and/or to
6152 *** bug-libtool@gnu.org
6162 MAGIC_CMD="$lt_save_MAGIC_CMD"
6167 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
6168 if test -n "$MAGIC_CMD"; then
6169 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
6170 echo "${ECHO_T}$MAGIC_CMD" >&6
6172 echo "$as_me:$LINENO: result: no" >&5
6173 echo "${ECHO_T}no" >&6
6188 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
6189 if test "${enable_libtool_lock+set}" = set; then
6190 enableval="$enable_libtool_lock"
6193 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6196 # Check whether --with-pic or --without-pic was given.
6197 if test "${with_pic+set}" = set; then
6203 test -z "$pic_mode" && pic_mode=default
6205 # Use C for the default configuration in the libtool script
6209 ac_cpp='$CPP $CPPFLAGS'
6210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6215 # Source file extension for C test sources.
6218 # Object file extension for compiled C test sources.
6222 # Code to be used in simple compile tests
6223 lt_simple_compile_test_code="int some_variable = 0;\n"
6225 # Code to be used in simple link tests
6226 lt_simple_link_test_code='int main(){return(0);}\n'
6229 # If no C compiler was specified, use CC.
6232 # Allow CC to be a program name with arguments.
6237 # Check for any special shared library compilation flags.
6240 if test "$GCC" = no; then
6243 lt_prog_cc_shlib='-belf'
6247 if test -n "$lt_prog_cc_shlib"; then
6248 { echo "$as_me:$LINENO: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&5
6249 echo "$as_me: WARNING: \`$CC' requires \`$lt_prog_cc_shlib' to build shared libraries" >&2;}
6250 if echo "$old_CC $old_CFLAGS " | grep "[ ]$lt_prog_cc_shlib[ ]" >/dev/null; then :
6252 { echo "$as_me:$LINENO: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&5
6253 echo "$as_me: WARNING: add \`$lt_prog_cc_shlib' to the CC or CFLAGS env variable and reconfigure" >&2;}
6254 lt_cv_prog_cc_can_build_shared=no
6260 # Check to make sure the static flag actually works.
6262 echo "$as_me:$LINENO: checking if $compiler static flag $lt_prog_compiler_static works" >&5
6263 echo $ECHO_N "checking if $compiler static flag $lt_prog_compiler_static works... $ECHO_C" >&6
6264 if test "${lt_prog_compiler_static_works+set}" = set; then
6265 echo $ECHO_N "(cached) $ECHO_C" >&6
6267 lt_prog_compiler_static_works=no
6268 save_LDFLAGS="$LDFLAGS"
6269 LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6270 printf "$lt_simple_link_test_code" > conftest.$ac_ext
6271 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6272 # The compiler can only warn and ignore the option if not recognized
6273 # So say no if there are warnings
6274 if test -s conftest.err; then
6275 # Append any errors to the config.log.
6276 cat conftest.err 1>&5
6278 lt_prog_compiler_static_works=yes
6282 LDFLAGS="$save_LDFLAGS"
6285 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
6286 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
6288 if test x"$lt_prog_compiler_static_works" = xyes; then
6291 lt_prog_compiler_static=
6297 ## There is no encapsulation within the following macros, do not change
6298 ## the running order or otherwise move them around unless you know exactly
6299 ## what you are doing...
6301 lt_prog_compiler_no_builtin_flag=
6303 if test "$GCC" = yes; then
6304 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
6306 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
6307 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
6308 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
6309 echo $ECHO_N "(cached) $ECHO_C" >&6
6311 lt_cv_prog_compiler_rtti_exceptions=no
6312 ac_outfile=conftest.$ac_objext
6313 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6314 lt_compiler_flag="-fno-rtti -fno-exceptions"
6315 # Insert the option either (1) after the last *FLAGS variable, or
6316 # (2) before a word containing "conftest.", or (3) at the end.
6317 # Note that $ac_compile itself does not contain backslashes and begins
6318 # with a dollar sign (not a hyphen), so the echo should work correctly.
6319 # The option is referenced via a variable to avoid confusing sed.
6320 lt_compile=`echo "$ac_compile" | $SED \
6321 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6322 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6323 -e 's:$: $lt_compiler_flag:'`
6324 (eval echo "\"\$as_me:6324: $lt_compile\"" >&5)
6325 (eval "$lt_compile" 2>conftest.err)
6327 cat conftest.err >&5
6328 echo "$as_me:6328: \$? = $ac_status" >&5
6329 if (exit $ac_status) && test -s "$ac_outfile"; then
6330 # The compiler can only warn and ignore the option if not recognized
6331 # So say no if there are warnings
6332 if test ! -s conftest.err; then
6333 lt_cv_prog_compiler_rtti_exceptions=yes
6339 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
6340 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
6342 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
6343 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
6350 lt_prog_compiler_wl=
6351 lt_prog_compiler_pic=
6352 lt_prog_compiler_static=
6354 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
6355 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
6357 if test "$GCC" = yes; then
6358 lt_prog_compiler_wl='-Wl,'
6359 lt_prog_compiler_static='-static'
6363 # All AIX code is PIC.
6364 if test "$host_cpu" = ia64; then
6365 # AIX 5 now supports IA64 processor
6366 lt_prog_compiler_static='-Bstatic'
6371 # FIXME: we need at least 68020 code to build shared libraries, but
6372 # adding the `-m68020' flag to GCC prevents building anything better,
6374 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
6377 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
6378 # PIC is the default for these OSes.
6381 mingw* | pw32* | os2*)
6382 # This hack is so that the source file can tell whether it is being
6383 # built for inclusion in a dll (and should export symbols for example).
6384 lt_prog_compiler_pic='-DDLL_EXPORT'
6387 darwin* | rhapsody*)
6388 # PIC is the default on this platform
6389 # Common symbols not allowed in MH_DYLIB files
6390 lt_prog_compiler_pic='-fno-common'
6394 # Just because we use GCC doesn't mean we suddenly get shared libraries
6395 # on systems that don't support them.
6396 lt_prog_compiler_can_build_shared=no
6401 if test -d /usr/nec; then
6402 lt_prog_compiler_pic=-Kconform_pic
6407 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6414 lt_prog_compiler_pic='-fPIC'
6420 lt_prog_compiler_pic='-fPIC'
6424 # PORTME Check for flag to pass linker flags through the system compiler.
6427 lt_prog_compiler_wl='-Wl,'
6428 if test "$host_cpu" = ia64; then
6429 # AIX 5 now supports IA64 processor
6430 lt_prog_compiler_static='-Bstatic'
6432 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6436 mingw* | pw32* | os2*)
6437 # This hack is so that the source file can tell whether it is being
6438 # built for inclusion in a dll (and should export symbols for example).
6439 lt_prog_compiler_pic='-DDLL_EXPORT'
6442 hpux9* | hpux10* | hpux11*)
6443 lt_prog_compiler_wl='-Wl,'
6444 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6451 lt_prog_compiler_pic='+Z'
6454 # Is there a better lt_prog_compiler_static that works with the bundled CC?
6455 lt_prog_compiler_static='${wl}-a ${wl}archive'
6458 irix5* | irix6* | nonstopux*)
6459 lt_prog_compiler_wl='-Wl,'
6460 # PIC (with -KPIC) is the default.
6461 lt_prog_compiler_static='-non_shared'
6465 lt_prog_compiler_pic='-KPIC'
6466 lt_prog_compiler_static='-Bstatic'
6472 lt_prog_compiler_wl='-Wl,'
6473 lt_prog_compiler_pic='-KPIC'
6474 lt_prog_compiler_static='-static'
6477 lt_prog_compiler_wl='-Wl,'
6478 # All Alpha code is PIC.
6479 lt_prog_compiler_static='-non_shared'
6484 osf3* | osf4* | osf5*)
6485 lt_prog_compiler_wl='-Wl,'
6486 # All OSF/1 code is PIC.
6487 lt_prog_compiler_static='-non_shared'
6491 lt_prog_compiler_pic='-Kpic'
6492 lt_prog_compiler_static='-dn'
6496 lt_prog_compiler_wl='-Wl,'
6497 lt_prog_compiler_pic='-KPIC'
6498 lt_prog_compiler_static='-Bstatic'
6502 lt_prog_compiler_wl='-Qoption ld '
6503 lt_prog_compiler_pic='-PIC'
6504 lt_prog_compiler_static='-Bstatic'
6507 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
6508 lt_prog_compiler_wl='-Wl,'
6509 lt_prog_compiler_pic='-KPIC'
6510 lt_prog_compiler_static='-Bstatic'
6514 if test -d /usr/nec ;then
6515 lt_prog_compiler_pic='-Kconform_pic'
6516 lt_prog_compiler_static='-Bstatic'
6521 lt_prog_compiler_pic='-pic'
6522 lt_prog_compiler_static='-Bstatic'
6526 lt_prog_compiler_can_build_shared=no
6531 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
6532 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
6535 # Check to make sure the PIC flag actually works.
6537 if test -n "$lt_prog_compiler_pic"; then
6538 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
6539 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
6540 if test "${lt_prog_compiler_pic_works+set}" = set; then
6541 echo $ECHO_N "(cached) $ECHO_C" >&6
6543 lt_prog_compiler_pic_works=no
6544 ac_outfile=conftest.$ac_objext
6545 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6546 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
6547 # Insert the option either (1) after the last *FLAGS variable, or
6548 # (2) before a word containing "conftest.", or (3) at the end.
6549 # Note that $ac_compile itself does not contain backslashes and begins
6550 # with a dollar sign (not a hyphen), so the echo should work correctly.
6551 # The option is referenced via a variable to avoid confusing sed.
6552 lt_compile=`echo "$ac_compile" | $SED \
6553 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6554 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6555 -e 's:$: $lt_compiler_flag:'`
6556 (eval echo "\"\$as_me:6556: $lt_compile\"" >&5)
6557 (eval "$lt_compile" 2>conftest.err)
6559 cat conftest.err >&5
6560 echo "$as_me:6560: \$? = $ac_status" >&5
6561 if (exit $ac_status) && test -s "$ac_outfile"; then
6562 # The compiler can only warn and ignore the option if not recognized
6563 # So say no if there are warnings
6564 if test ! -s conftest.err; then
6565 lt_prog_compiler_pic_works=yes
6571 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
6572 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
6574 if test x"$lt_prog_compiler_pic_works" = xyes; then
6575 case $lt_prog_compiler_pic in
6577 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
6580 lt_prog_compiler_pic=
6581 lt_prog_compiler_can_build_shared=no
6586 # For platforms which do not support PIC, -DPIC is meaningless:
6588 lt_prog_compiler_pic=
6591 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
6595 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
6596 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
6597 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
6598 echo $ECHO_N "(cached) $ECHO_C" >&6
6600 lt_cv_prog_compiler_c_o=no
6601 $rm -r conftest 2>/dev/null
6605 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
6607 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
6608 # that will create temporary files in the current directory regardless of
6609 # the output directory. Thus, making CWD read-only will cause this test
6610 # to fail, enabling locking or at least warning the user not to do parallel
6614 lt_compiler_flag="-o out/conftest2.$ac_objext"
6615 # Insert the option either (1) after the last *FLAGS variable, or
6616 # (2) before a word containing "conftest.", or (3) at the end.
6617 # Note that $ac_compile itself does not contain backslashes and begins
6618 # with a dollar sign (not a hyphen), so the echo should work correctly.
6619 lt_compile=`echo "$ac_compile" | $SED \
6620 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
6621 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6622 -e 's:$: $lt_compiler_flag:'`
6623 (eval echo "\"\$as_me:6623: $lt_compile\"" >&5)
6624 (eval "$lt_compile" 2>out/conftest.err)
6626 cat out/conftest.err >&5
6627 echo "$as_me:6627: \$? = $ac_status" >&5
6628 if (exit $ac_status) && test -s out/conftest2.$ac_objext
6630 # The compiler can only warn and ignore the option if not recognized
6631 # So say no if there are warnings
6632 if test ! -s out/conftest.err; then
6633 lt_cv_prog_compiler_c_o=yes
6644 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
6645 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
6648 hard_links="nottested"
6649 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
6650 # do not overwrite the value of need_locks provided by the user
6651 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
6652 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
6655 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6657 ln conftest.a conftest.b 2>&5 || hard_links=no
6658 ln conftest.a conftest.b 2>/dev/null && hard_links=no
6659 echo "$as_me:$LINENO: result: $hard_links" >&5
6660 echo "${ECHO_T}$hard_links" >&6
6661 if test "$hard_links" = no; then
6662 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
6663 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
6670 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
6671 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
6674 allow_undefined_flag=
6675 enable_shared_with_static_runtimes=no
6677 archive_expsym_cmds=
6678 old_archive_From_new_cmds=
6679 old_archive_from_expsyms_cmds=
6680 export_dynamic_flag_spec=
6681 whole_archive_flag_spec=
6682 thread_safe_flag_spec=
6683 hardcode_libdir_flag_spec=
6684 hardcode_libdir_flag_spec_ld=
6685 hardcode_libdir_separator=
6688 hardcode_shlibpath_var=unsupported
6689 link_all_deplibs=unknown
6690 hardcode_automatic=no
6693 always_export_symbols=no
6694 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
6695 # include_expsyms should be a list of space-separated symbols to be *always*
6696 # included in the symbol list
6698 # exclude_expsyms can be an extended regexp of symbols to exclude
6699 # it will be wrapped by ` (' and `)$', so one must not match beginning or
6700 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
6701 # as well as any symbol that contains `d'.
6702 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
6703 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
6704 # platforms (ab)use it in PIC code, but their linkers get confused if
6705 # the symbol is explicitly referenced. Since portable code cannot
6706 # rely on this symbol name, it's probably fine to never include it in
6707 # preloaded symbol tables.
6708 extract_expsyms_cmds=
6711 cygwin* | mingw* | pw32*)
6712 # FIXME: the MSVC++ port hasn't been tested in a loooong time
6713 # When not using gcc, we currently assume that we are using
6714 # Microsoft Visual C++.
6715 if test "$GCC" != yes; then
6725 if test "$with_gnu_ld" = yes; then
6726 # If archive_cmds runs LD, not CC, wlarc should be empty
6729 # See if GNU ld supports shared libraries.
6731 aix3* | aix4* | aix5*)
6732 # On AIX/PPC, the GNU linker is very broken
6733 if test "$host_cpu" != ia64; then
6737 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
6738 *** to be unable to reliably create shared libraries on AIX.
6739 *** Therefore, libtool is disabling shared libraries support. If you
6740 *** really care for shared libraries, you may want to modify your PATH
6741 *** so that a non-GNU linker is found, and then restart.
6748 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)'
6749 hardcode_libdir_flag_spec='-L$libdir'
6750 hardcode_minus_L=yes
6752 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
6753 # that the semantics of dynamic libraries on AmigaOS, at least up
6754 # to version 4, is to share data among multiple programs linked
6755 # with the same dynamic library. Since this doesn't match the
6756 # behavior of shared libraries on other platforms, we can't use
6762 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6763 allow_undefined_flag=unsupported
6764 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
6765 # support --undefined. This deserves some investigation. FIXME
6766 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6772 cygwin* | mingw* | pw32*)
6773 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
6774 # as there is no search path for DLLs.
6775 hardcode_libdir_flag_spec='-L$libdir'
6776 allow_undefined_flag=unsupported
6777 always_export_symbols=no
6778 enable_shared_with_static_runtimes=yes
6779 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6781 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6782 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6783 # If the export-symbols file already is a .def file (1st line
6784 # is EXPORTS), use it as is; otherwise, prepend...
6785 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
6786 cp $export_symbols $output_objdir/$soname.def;
6788 echo EXPORTS > $output_objdir/$soname.def;
6789 cat $export_symbols >> $output_objdir/$soname.def;
6791 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6798 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6799 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6802 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6803 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6808 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
6812 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
6813 *** create shared libraries on Solaris systems. Therefore, libtool
6814 *** is disabling shared libraries support. We urge you to upgrade GNU
6815 *** binutils to release 2.9.1 or newer. Another option is to modify
6816 *** your PATH or compiler configuration so that the native linker is
6817 *** used, and then restart.
6820 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6821 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6822 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6829 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
6832 hardcode_shlibpath_var=no
6836 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6837 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6838 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
6845 if test "$ld_shlibs" = yes; then
6846 runpath_var=LD_RUN_PATH
6847 hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6848 export_dynamic_flag_spec='${wl}--export-dynamic'
6849 # ancient GNU ld didn't support --whole-archive et. al.
6850 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6851 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6853 whole_archive_flag_spec=
6857 # PORTME fill in a description of your system's linker (not GNU ld)
6860 allow_undefined_flag=unsupported
6861 always_export_symbols=yes
6862 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'
6863 # Note: this linker hardcodes the directories in LIBPATH if there
6864 # are no directories specified by -L.
6865 hardcode_minus_L=yes
6866 if test "$GCC" = yes && test -z "$link_static_flag"; then
6867 # Neither direct hardcoding nor static linking is supported with a
6869 hardcode_direct=unsupported
6874 if test "$host_cpu" = ia64; then
6875 # On IA64, the linker does run time linking by default, so we don't
6876 # have to do anything special.
6877 aix_use_runtimelinking=no
6878 exp_sym_flag='-Bexport'
6881 # If we're using GNU nm, then we don't want the "-C" option.
6882 # -C means demangle to AIX nm, but means don't demangle with GNU nm
6883 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
6884 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'
6886 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'
6888 aix_use_runtimelinking=no
6890 # Test if we are trying to use run time linking or normal
6891 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
6892 # need to do runtime linking.
6893 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
6894 for ld_flag in $LDFLAGS; do
6895 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
6896 aix_use_runtimelinking=yes
6902 exp_sym_flag='-bexport'
6903 no_entry_flag='-bnoentry'
6906 # When large executables or shared objects are built, AIX ld can
6907 # have problems creating the table of contents. If linking a library
6908 # or program results in "error TOC overflow" add -mminimal-toc to
6909 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
6910 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
6914 hardcode_libdir_separator=':'
6915 link_all_deplibs=yes
6917 if test "$GCC" = yes; then
6918 case $host_os in aix4.012|aix4.012.*)
6919 # We only want to do this on AIX 4.2 and lower, the check
6920 # below for broken collect2 doesn't work under 4.3+
6921 collect2name=`${CC} -print-prog-name=collect2`
6922 if test -f "$collect2name" && \
6923 strings "$collect2name" | grep resolve_lib_name >/dev/null
6925 # We have reworked collect2
6928 # We have old collect2
6929 hardcode_direct=unsupported
6930 # It fails to find uninstalled libraries when the uninstalled
6931 # path is not listed in the libpath. Setting hardcode_minus_L
6932 # to unsupported forces relinking
6933 hardcode_minus_L=yes
6934 hardcode_libdir_flag_spec='-L$libdir'
6935 hardcode_libdir_separator=
6938 shared_flag='-shared'
6941 if test "$host_cpu" = ia64; then
6942 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
6943 # chokes on -Wl,-G. The following line is correct:
6946 if test "$aix_use_runtimelinking" = yes; then
6947 shared_flag='${wl}-G'
6949 shared_flag='${wl}-bM:SRE'
6954 # It seems that -bexpall does not export symbols beginning with
6955 # underscore (_), so it is better to generate a list of symbols to export.
6956 always_export_symbols=yes
6957 if test "$aix_use_runtimelinking" = yes; then
6958 # Warning - without using the other runtime loading flags (-brtl),
6959 # -berok will link without error, but may produce a broken library.
6960 allow_undefined_flag='-berok'
6961 # Determine the default libpath from the value encoded in an empty executable.
6962 cat >conftest.$ac_ext <<_ACEOF
6963 #line $LINENO "configure"
6966 cat confdefs.h >>conftest.$ac_ext
6967 cat >>conftest.$ac_ext <<_ACEOF
6968 /* end confdefs.h. */
6978 rm -f conftest.$ac_objext conftest$ac_exeext
6979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6980 (eval $ac_link) 2>&5
6982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6983 (exit $ac_status); } &&
6984 { ac_try='test -s conftest$ac_exeext'
6985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6989 (exit $ac_status); }; }; then
6991 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
6993 # Check for a 64-bit object if we didn't find anything.
6994 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; }
6997 echo "$as_me: failed program was:" >&5
6998 sed 's/^/| /' conftest.$ac_ext >&5
7001 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7002 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7004 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7005 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"
7007 if test "$host_cpu" = ia64; then
7008 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
7009 allow_undefined_flag="-z nodefs"
7010 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"
7012 # Determine the default libpath from the value encoded in an empty executable.
7013 cat >conftest.$ac_ext <<_ACEOF
7014 #line $LINENO "configure"
7017 cat confdefs.h >>conftest.$ac_ext
7018 cat >>conftest.$ac_ext <<_ACEOF
7019 /* end confdefs.h. */
7029 rm -f conftest.$ac_objext conftest$ac_exeext
7030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7031 (eval $ac_link) 2>&5
7033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7034 (exit $ac_status); } &&
7035 { ac_try='test -s conftest$ac_exeext'
7036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7040 (exit $ac_status); }; }; then
7042 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
7044 # Check for a 64-bit object if we didn't find anything.
7045 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; }
7048 echo "$as_me: failed program was:" >&5
7049 sed 's/^/| /' conftest.$ac_ext >&5
7052 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
7053 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
7055 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
7056 # Warning - without using the other run time loading flags,
7057 # -berok will link without error, but may produce a broken library.
7058 no_undefined_flag=' ${wl}-bernotok'
7059 allow_undefined_flag=' ${wl}-berok'
7060 # -bexpall does not export symbols beginning with underscore (_)
7061 always_export_symbols=yes
7062 # Exported symbols can be pulled into shared objects from archives
7063 whole_archive_flag_spec=' '
7064 archive_cmds_need_lc=yes
7065 # This is similar to how AIX traditionally builds it's shared libraries.
7066 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'
7072 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)'
7073 hardcode_libdir_flag_spec='-L$libdir'
7074 hardcode_minus_L=yes
7075 # see comment about different semantics on the GNU ld section
7080 export_dynamic_flag_spec=-rdynamic
7083 cygwin* | mingw* | pw32*)
7084 # When not using gcc, we currently assume that we are using
7085 # Microsoft Visual C++.
7086 # hardcode_libdir_flag_spec is actually meaningless, as there is
7087 # no search path for DLLs.
7088 hardcode_libdir_flag_spec=' '
7089 allow_undefined_flag=unsupported
7090 # Tell ltmain to make .lib files, not .a files.
7092 # Tell ltmain to make .dll files, not .so files.
7094 # FIXME: Setting linknames here is a bad hack.
7095 archive_cmds='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
7096 # The linker will automatically build a .lib file if we build a DLL.
7097 old_archive_From_new_cmds='true'
7098 # FIXME: Should let the user specify the lib program.
7099 old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
7100 fix_srcfile_path='`cygpath -w "$srcfile"`'
7101 enable_shared_with_static_runtimes=yes
7104 darwin* | rhapsody*)
7105 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7106 archive_cmds_need_lc=no
7108 rhapsody* | darwin1.[012])
7109 allow_undefined_flag='-undefined suppress'
7112 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
7115 # FIXME: Relying on posixy $() will cause problems for
7116 # cross-compilation, but unfortunately the echo tests do not
7117 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
7118 # `"' quotes if we put them in here... so don't!
7119 lt_int_apple_cc_single_mod=no
7120 output_verbose_link_cmd='echo'
7121 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7122 lt_int_apple_cc_single_mod=yes
7124 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7125 archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7127 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'
7129 module_cmds='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
7130 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7131 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7132 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}'
7134 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}'
7136 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}'
7138 hardcode_automatic=yes
7139 hardcode_shlibpath_var=unsupported
7140 whole_archive_flag_spec='-all_load $convenience'
7141 link_all_deplibs=yes
7146 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7147 hardcode_libdir_flag_spec='-L$libdir'
7148 hardcode_shlibpath_var=no
7155 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
7156 # support. Future versions do this automatically, but an explicit c++rt0.o
7157 # does not break anything, and helps significantly (at the cost of a little
7160 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
7161 hardcode_libdir_flag_spec='-R$libdir'
7163 hardcode_shlibpath_var=no
7166 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
7168 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7170 hardcode_minus_L=yes
7171 hardcode_shlibpath_var=no
7174 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7176 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7177 hardcode_libdir_flag_spec='-R$libdir'
7179 hardcode_shlibpath_var=no
7183 if test "$GCC" = yes; then
7184 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'
7186 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'
7188 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7189 hardcode_libdir_separator=:
7192 # hardcode_minus_L: Not really in the search PATH,
7193 # but as the default location of the library.
7194 hardcode_minus_L=yes
7195 export_dynamic_flag_spec='${wl}-E'
7199 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7202 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7205 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7211 archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7214 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7218 if test "$with_gnu_ld" = no; then
7221 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7222 hardcode_libdir_flag_spec_ld='+b $libdir'
7223 hardcode_libdir_separator=:
7225 hardcode_shlibpath_var=no
7228 hardcode_libdir_flag_spec='-L$libdir'
7230 hardcode_shlibpath_var=no
7232 # hardcode_minus_L: Not really in the search PATH,
7233 # but as the default location of the library.
7234 hardcode_minus_L=yes
7237 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7238 hardcode_libdir_separator=:
7240 export_dynamic_flag_spec='${wl}-E'
7242 # hardcode_minus_L: Not really in the search PATH,
7243 # but as the default location of the library.
7244 hardcode_minus_L=yes
7250 irix5* | irix6* | nonstopux*)
7251 if test "$GCC" = yes; then
7252 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'
7254 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'
7255 hardcode_libdir_flag_spec_ld='-rpath $libdir'
7257 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7258 hardcode_libdir_separator=:
7259 link_all_deplibs=yes
7263 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7264 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
7266 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
7268 hardcode_libdir_flag_spec='-R$libdir'
7270 hardcode_shlibpath_var=no
7274 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7276 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7277 hardcode_libdir_separator=:
7278 hardcode_shlibpath_var=no
7283 hardcode_shlibpath_var=no
7284 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7285 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7286 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7287 export_dynamic_flag_spec='${wl}-E'
7290 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
7291 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
7292 hardcode_libdir_flag_spec='-R$libdir'
7295 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
7296 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7303 hardcode_libdir_flag_spec='-L$libdir'
7304 hardcode_minus_L=yes
7305 allow_undefined_flag=unsupported
7306 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'
7307 old_archive_From_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7311 if test "$GCC" = yes; then
7312 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7313 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'
7315 allow_undefined_flag=' -expect_unresolved \*'
7316 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'
7318 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7319 hardcode_libdir_separator=:
7322 osf4* | osf5*) # as osf3* with the addition of -msym flag
7323 if test "$GCC" = yes; then
7324 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
7325 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'
7326 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7328 allow_undefined_flag=' -expect_unresolved \*'
7329 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'
7330 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7331 $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'
7333 # Both c and cxx compiler support -rpath directly
7334 hardcode_libdir_flag_spec='-rpath $libdir'
7336 hardcode_libdir_separator=:
7340 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7341 hardcode_shlibpath_var=no
7342 export_dynamic_flag_spec='${wl}-Bexport'
7343 runpath_var=LD_RUN_PATH
7344 hardcode_runpath_var=yes
7348 no_undefined_flag=' -z text'
7349 if test "$GCC" = yes; then
7350 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7351 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7352 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7354 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7355 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7356 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7358 hardcode_libdir_flag_spec='-R$libdir'
7359 hardcode_shlibpath_var=no
7361 solaris2.[0-5] | solaris2.[0-5].*) ;;
7362 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7363 whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
7365 link_all_deplibs=yes
7369 if test "x$host_vendor" = xsequent; then
7370 # Use $CC to link under sequent, because it throws in some extra .o
7371 # files that make .init and .fini sections work.
7372 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
7374 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
7376 hardcode_libdir_flag_spec='-L$libdir'
7378 hardcode_minus_L=yes
7379 hardcode_shlibpath_var=no
7383 case $host_vendor in
7385 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7386 hardcode_direct=yes # is this really true???
7389 ## LD is ld it makes a PLAMLIB
7390 ## CC just makes a GrossModule.
7391 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7392 reload_cmds='$CC -r -o $output$reload_objs'
7396 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7397 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
7400 runpath_var='LD_RUN_PATH'
7401 hardcode_shlibpath_var=no
7405 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7406 hardcode_shlibpath_var=no
7407 export_dynamic_flag_spec='-Bexport'
7411 if test -d /usr/nec; then
7412 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7413 hardcode_shlibpath_var=no
7414 runpath_var=LD_RUN_PATH
7415 hardcode_runpath_var=yes
7421 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
7424 hardcode_shlibpath_var=no
7425 hardcode_runpath_var=yes
7426 runpath_var=LD_RUN_PATH
7429 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
7430 no_undefined_flag='${wl}-z ${wl}text'
7431 if test "$GCC" = yes; then
7432 archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7434 archive_cmds='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7436 runpath_var='LD_RUN_PATH'
7437 hardcode_shlibpath_var=no
7441 no_undefined_flag=' -z text'
7442 # $CC -shared without GNU ld will not create a library from C++
7443 # object files and a static libstdc++, better avoid it by now
7444 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7445 archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7446 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7447 hardcode_libdir_flag_spec=
7448 hardcode_shlibpath_var=no
7449 runpath_var='LD_RUN_PATH'
7453 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
7454 hardcode_libdir_flag_spec='-L$libdir'
7455 hardcode_shlibpath_var=no
7464 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
7465 echo "${ECHO_T}$ld_shlibs" >&6
7466 test "$ld_shlibs" = no && can_build_shared=no
7468 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
7469 if test "$GCC" = yes; then
7470 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
7474 # Do we need to explicitly link libc?
7476 case "x$archive_cmds_need_lc" in
7478 # Assume -lc should be added
7479 archive_cmds_need_lc=yes
7481 if test "$enable_shared" = yes && test "$GCC" = yes; then
7482 case $archive_cmds in
7484 # FIXME: we may have to deal with multi-command sequences.
7487 # Test whether the compiler implicitly links with -lc since on some
7488 # systems, -lgcc has to come before -lc. If gcc already passes -lc
7489 # to ld, don't add -lc before -lgcc.
7490 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
7491 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
7493 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
7495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7496 (eval $ac_compile) 2>&5
7498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7499 (exit $ac_status); } 2>conftest.err; then
7502 libobjs=conftest.$ac_objext
7504 wl=$lt_prog_compiler_wl
7510 lt_save_allow_undefined_flag=$allow_undefined_flag
7511 allow_undefined_flag=
7512 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
7513 (eval $archive_cmds 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
7515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7516 (exit $ac_status); }
7518 archive_cmds_need_lc=no
7520 archive_cmds_need_lc=yes
7522 allow_undefined_flag=$lt_save_allow_undefined_flag
7524 cat conftest.err 1>&5
7527 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
7528 echo "${ECHO_T}$archive_cmds_need_lc" >&6
7535 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
7536 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7538 if test -n "$hardcode_libdir_flag_spec" || \
7539 test -n "$runpath_var " || \
7540 test "X$hardcode_automatic"="Xyes" ; then
7542 # We can hardcode non-existant directories.
7543 if test "$hardcode_direct" != no &&
7544 # If the only mechanism to avoid hardcoding is shlibpath_var, we
7545 # have to relink, otherwise we might link with an installed library
7546 # when we should be linking with a yet-to-be-installed one
7547 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, )" != no &&
7548 test "$hardcode_minus_L" != no; then
7549 # Linking always hardcodes the temporary library directory.
7550 hardcode_action=relink
7552 # We can link without hardcoding, and we can hardcode nonexisting dirs.
7553 hardcode_action=immediate
7556 # We cannot hardcode anything, or else we can only hardcode existing
7558 hardcode_action=unsupported
7560 echo "$as_me:$LINENO: result: $hardcode_action" >&5
7561 echo "${ECHO_T}$hardcode_action" >&6
7563 if test "$hardcode_action" = relink; then
7564 # Fast installation is not supported
7565 enable_fast_install=no
7566 elif test "$shlibpath_overrides_runpath" = yes ||
7567 test "$enable_shared" = no; then
7568 # Fast installation is not necessary
7569 enable_fast_install=needless
7574 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
7575 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
7576 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
7577 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
7578 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
7579 echo "$as_me:$LINENO: result: yes" >&5
7580 echo "${ECHO_T}yes" >&6
7582 # FIXME - insert some real tests, host_os isn't really good enough
7585 if test -n "$STRIP" ; then
7586 striplib="$STRIP -x"
7587 echo "$as_me:$LINENO: result: yes" >&5
7588 echo "${ECHO_T}yes" >&6
7590 echo "$as_me:$LINENO: result: no" >&5
7591 echo "${ECHO_T}no" >&6
7595 echo "$as_me:$LINENO: result: no" >&5
7596 echo "${ECHO_T}no" >&6
7601 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
7602 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
7604 libname_spec='lib$name'
7612 shlibpath_overrides_runpath=unknown
7614 dynamic_linker="$host_os ld.so"
7615 sys_lib_dlsearch_path_spec="/lib /usr/lib"
7616 if test "$GCC" = yes; then
7617 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7618 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
7619 # if the path contains ";" then we assume it to be the separator
7620 # otherwise default to the standard path separator (i.e. ":") - it is
7621 # assumed that no part of a normal pathname contains ";" but that should
7622 # okay in the real world where ";" in dirpaths is itself problematic.
7623 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7625 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7628 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
7630 need_lib_prefix=unknown
7631 hardcode_into_libs=no
7633 # when you set need_version to no, make sure it does not cause -set_version
7634 # flags to be left without arguments
7635 need_version=unknown
7640 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
7641 shlibpath_var=LIBPATH
7643 # AIX 3 has no versioning support, so we append a major version to the name.
7644 soname_spec='${libname}${release}${shared_ext}$major'
7651 hardcode_into_libs=yes
7652 if test "$host_cpu" = ia64; then
7653 # AIX 5 supports IA64
7654 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
7655 shlibpath_var=LD_LIBRARY_PATH
7657 # With GCC up to 2.95.x, collect2 would create an import file
7658 # for dependence libraries. The import file would start with
7659 # the line `#! .'. This would cause the generated library to
7660 # depend on `.', always an invalid library. This was fixed in
7661 # development snapshots of GCC prior to 3.0.
7663 aix4 | aix4.[01] | aix4.[01].*)
7664 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
7666 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
7673 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
7674 # soname into executable. Probably we can add versioning support to
7675 # collect2, so additional links can be useful in future.
7676 if test "$aix_use_runtimelinking" = yes; then
7677 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
7678 # instead of lib<name>.a to let people know that these are not
7679 # typical AIX shared libraries.
7680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7682 # We preserve .a as extension for shared libraries through AIX4.2
7683 # and later when we are not doing run time linking.
7684 library_names_spec='${libname}${release}.a $libname.a'
7685 soname_spec='${libname}${release}${shared_ext}$major'
7687 shlibpath_var=LIBPATH
7692 library_names_spec='$libname.ixlibrary $libname.a'
7693 # Create ${libname}_ixlibrary.a entries in /sys/libs.
7694 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'
7698 library_names_spec='${libname}${shared_ext}'
7699 dynamic_linker="$host_os ld.so"
7700 shlibpath_var=LIBRARY_PATH
7706 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7707 soname_spec='${libname}${release}${shared_ext}$major'
7708 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
7709 shlibpath_var=LD_LIBRARY_PATH
7710 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
7711 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
7712 # the default ld.so.conf also contains /usr/contrib/lib and
7713 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
7714 # libtool to hard-code these into programs
7717 cygwin* | mingw* | pw32*)
7718 version_type=windows
7723 case $GCC,$host_os in
7724 yes,cygwin* | yes,mingw* | yes,pw32*)
7725 library_names_spec='$libname.dll.a'
7726 # DLL is installed to $(libdir)/../bin by postinstall_cmds
7727 postinstall_cmds='base_file=`basename \${file}`~
7728 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7729 dldir=$destdir/`dirname \$dlpath`~
7730 test -d \$dldir || mkdir -p \$dldir~
7731 $install_prog $dir/$dlname \$dldir/$dlname'
7732 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7733 dlpath=$dir/\$dldll~
7735 shlibpath_overrides_runpath=yes
7739 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
7740 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7741 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
7744 # MinGW DLLs use traditional 'lib' prefix
7745 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7746 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
7747 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
7748 # It is most probably a Windows format PATH printed by
7749 # mingw gcc, but we are running on Cygwin. Gcc prints its search
7750 # path with ; separators, and with drive letters. We can handle the
7751 # drive letters (cygwin fileutils understands them), so leave them,
7752 # especially as we might pass files found there to a mingw objdump,
7753 # which wouldn't understand a cygwinified path. Ahh.
7754 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
7756 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
7760 # pw32 DLLs use 'pw' prefix rather than 'lib'
7761 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
7767 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
7770 dynamic_linker='Win32 ld.exe'
7771 # FIXME: first we should search . and the directory the executable is in
7775 darwin* | rhapsody*)
7776 dynamic_linker="$host_os dyld"
7780 # FIXME: Relying on posixy $() will cause problems for
7781 # cross-compilation, but unfortunately the echo tests do not
7782 # yet detect zsh echo's removal of \ escapes.
7783 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
7784 soname_spec='${libname}${release}${major}$shared_ext'
7785 shlibpath_overrides_runpath=yes
7786 shlibpath_var=DYLD_LIBRARY_PATH
7787 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
7788 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7789 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
7790 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"`
7792 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
7799 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
7800 soname_spec='${libname}${release}${shared_ext}$major'
7801 shlibpath_var=LD_LIBRARY_PATH
7809 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
7810 version_type=freebsd-$objformat
7811 case $version_type in
7813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
7818 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
7822 shlibpath_var=LD_LIBRARY_PATH
7825 shlibpath_overrides_runpath=yes
7827 freebsd3.01* | freebsdelf3.01*)
7828 shlibpath_overrides_runpath=yes
7829 hardcode_into_libs=yes
7832 shlibpath_overrides_runpath=no
7833 hardcode_into_libs=yes
7842 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
7843 soname_spec='${libname}${release}${shared_ext}$major'
7844 shlibpath_var=LD_LIBRARY_PATH
7845 hardcode_into_libs=yes
7848 hpux9* | hpux10* | hpux11*)
7849 # Give a soname corresponding to the major version so that dld.sl refuses to
7850 # link against other versions.
7857 hardcode_into_libs=yes
7858 dynamic_linker="$host_os dld.so"
7859 shlibpath_var=LD_LIBRARY_PATH
7860 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7861 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7862 soname_spec='${libname}${release}${shared_ext}$major'
7863 if test "X$HPUX_IA64_MODE" = X32; then
7864 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
7866 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
7868 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7872 hardcode_into_libs=yes
7873 dynamic_linker="$host_os dld.sl"
7874 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
7875 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
7876 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7877 soname_spec='${libname}${release}${shared_ext}$major'
7878 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
7879 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
7883 dynamic_linker="$host_os dld.sl"
7884 shlibpath_var=SHLIB_PATH
7885 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
7886 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7887 soname_spec='${libname}${release}${shared_ext}$major'
7890 # HP-UX runs *really* slowly unless shared libraries are mode 555.
7891 postinstall_cmds='chmod 555 $lib'
7894 irix5* | irix6* | nonstopux*)
7896 nonstopux*) version_type=nonstopux ;;
7898 if test "$lt_cv_prog_gnu_ld" = yes; then
7906 soname_spec='${libname}${release}${shared_ext}$major'
7907 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
7909 irix5* | nonstopux*)
7913 case $LD in # libtool.m4 will add one of these switches to LD
7914 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
7915 libsuff= shlibsuff= libmagic=32-bit;;
7916 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
7917 libsuff=32 shlibsuff=N32 libmagic=N32;;
7918 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
7919 libsuff=64 shlibsuff=64 libmagic=64-bit;;
7920 *) libsuff= shlibsuff= libmagic=never-match;;
7924 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
7925 shlibpath_overrides_runpath=no
7926 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
7927 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
7928 hardcode_into_libs=yes
7931 # No shared lib support for Linux oldld, aout, or coff.
7932 linux*oldld* | linux*aout* | linux*coff*)
7936 # This must be Linux ELF.
7941 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7942 soname_spec='${libname}${release}${shared_ext}$major'
7943 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
7944 shlibpath_var=LD_LIBRARY_PATH
7945 shlibpath_overrides_runpath=no
7946 # This implies no fast_install, which is unacceptable.
7947 # Some rework will be needed to allow for fast_install
7948 # before this can be enabled.
7949 hardcode_into_libs=yes
7951 # We used to test for /lib/ld.so.1 and disable shared libraries on
7952 # powerpc, because MkLinux only supported shared libraries with the
7953 # GNU dynamic linker. Since this was broken with cross compilers,
7954 # most powerpc-linux boxes support dynamic linking these days and
7955 # people can always --disable-shared, the test was removed, and we
7956 # assume the GNU/Linux dynamic linker is in use.
7957 dynamic_linker='GNU/Linux ld.so'
7964 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7965 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7966 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7967 dynamic_linker='NetBSD (a.out) ld.so'
7969 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
7970 soname_spec='${libname}${release}${shared_ext}$major'
7971 dynamic_linker='NetBSD ld.elf_so'
7973 shlibpath_var=LD_LIBRARY_PATH
7974 shlibpath_overrides_runpath=yes
7975 hardcode_into_libs=yes
7980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7981 shlibpath_var=LD_LIBRARY_PATH
7982 shlibpath_overrides_runpath=yes
7989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7990 soname_spec='${libname}${release}${shared_ext}$major'
7991 shlibpath_var=LD_LIBRARY_PATH
7992 shlibpath_overrides_runpath=yes
7999 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8000 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
8001 shlibpath_var=LD_LIBRARY_PATH
8002 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8004 openbsd2.[89] | openbsd2.[89].*)
8005 shlibpath_overrides_runpath=no
8008 shlibpath_overrides_runpath=yes
8012 shlibpath_overrides_runpath=yes
8017 libname_spec='$name'
8020 library_names_spec='$libname${shared_ext} $libname.a'
8021 dynamic_linker='OS/2 ld.exe'
8022 shlibpath_var=LIBPATH
8025 osf3* | osf4* | osf5*)
8029 soname_spec='${libname}${release}${shared_ext}$major'
8030 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8031 shlibpath_var=LD_LIBRARY_PATH
8032 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
8033 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
8038 soname_spec='${libname}${release}${shared_ext}$major'
8039 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8040 shlibpath_var=LD_LIBRARY_PATH
8047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8048 soname_spec='${libname}${release}${shared_ext}$major'
8049 shlibpath_var=LD_LIBRARY_PATH
8050 shlibpath_overrides_runpath=yes
8051 hardcode_into_libs=yes
8052 # ldd complains unless libraries are executable
8053 postinstall_cmds='chmod +x $lib'
8058 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
8059 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
8060 shlibpath_var=LD_LIBRARY_PATH
8061 shlibpath_overrides_runpath=yes
8062 if test "$with_gnu_ld" = yes; then
8068 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8070 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8071 soname_spec='${libname}${release}${shared_ext}$major'
8072 shlibpath_var=LD_LIBRARY_PATH
8073 case $host_vendor in
8075 shlibpath_overrides_runpath=no
8077 export_dynamic_flag_spec='${wl}-Blargedynsym'
8078 runpath_var=LD_RUN_PATH
8086 shlibpath_overrides_runpath=no
8087 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
8093 if test -d /usr/nec ;then
8095 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
8096 soname_spec='$libname${shared_ext}.$major'
8097 shlibpath_var=LD_LIBRARY_PATH
8103 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
8104 soname_spec='${libname}${release}${shared_ext}$major'
8105 shlibpath_var=LD_LIBRARY_PATH
8112 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
8113 echo "${ECHO_T}$dynamic_linker" >&6
8114 test "$dynamic_linker" = no && can_build_shared=no
8116 if test "x$enable_dlopen" != xyes; then
8117 enable_dlopen=unknown
8118 enable_dlopen_self=unknown
8119 enable_dlopen_self_static=unknown
8126 lt_cv_dlopen="load_add_on"
8128 lt_cv_dlopen_self=yes
8132 lt_cv_dlopen="LoadLibrary"
8137 lt_cv_dlopen="dlopen"
8142 # if libdl is installed we need to link against it
8143 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8144 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8145 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8146 echo $ECHO_N "(cached) $ECHO_C" >&6
8148 ac_check_lib_save_LIBS=$LIBS
8150 cat >conftest.$ac_ext <<_ACEOF
8151 #line $LINENO "configure"
8154 cat confdefs.h >>conftest.$ac_ext
8155 cat >>conftest.$ac_ext <<_ACEOF
8156 /* end confdefs.h. */
8158 /* Override any gcc2 internal prototype to avoid an error. */
8162 /* We use char because int might match the return type of a gcc2
8163 builtin and then its argument prototype would still apply. */
8173 rm -f conftest.$ac_objext conftest$ac_exeext
8174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8175 (eval $ac_link) 2>&5
8177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8178 (exit $ac_status); } &&
8179 { ac_try='test -s conftest$ac_exeext'
8180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8184 (exit $ac_status); }; }; then
8185 ac_cv_lib_dl_dlopen=yes
8187 echo "$as_me: failed program was:" >&5
8188 sed 's/^/| /' conftest.$ac_ext >&5
8190 ac_cv_lib_dl_dlopen=no
8192 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8193 LIBS=$ac_check_lib_save_LIBS
8195 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8196 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8197 if test $ac_cv_lib_dl_dlopen = yes; then
8198 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8203 lt_cv_dlopen_self=yes
8210 echo "$as_me:$LINENO: checking for shl_load" >&5
8211 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
8212 if test "${ac_cv_func_shl_load+set}" = set; then
8213 echo $ECHO_N "(cached) $ECHO_C" >&6
8215 cat >conftest.$ac_ext <<_ACEOF
8216 #line $LINENO "configure"
8219 cat confdefs.h >>conftest.$ac_ext
8220 cat >>conftest.$ac_ext <<_ACEOF
8221 /* end confdefs.h. */
8222 /* System header to define __stub macros and hopefully few prototypes,
8223 which can conflict with char shl_load (); below.
8224 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8225 <limits.h> exists even on freestanding compilers. */
8227 # include <limits.h>
8229 # include <assert.h>
8231 /* Override any gcc2 internal prototype to avoid an error. */
8236 /* We use char because int might match the return type of a gcc2
8237 builtin and then its argument prototype would still apply. */
8239 /* The GNU C library defines this for functions which it implements
8240 to always fail with ENOSYS. Some functions are actually named
8241 something starting with __ and the normal name is an alias. */
8242 #if defined (__stub_shl_load) || defined (__stub___shl_load)
8245 char (*f) () = shl_load;
8254 return f != shl_load;
8259 rm -f conftest.$ac_objext conftest$ac_exeext
8260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8261 (eval $ac_link) 2>&5
8263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8264 (exit $ac_status); } &&
8265 { ac_try='test -s conftest$ac_exeext'
8266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8270 (exit $ac_status); }; }; then
8271 ac_cv_func_shl_load=yes
8273 echo "$as_me: failed program was:" >&5
8274 sed 's/^/| /' conftest.$ac_ext >&5
8276 ac_cv_func_shl_load=no
8278 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8280 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
8281 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
8282 if test $ac_cv_func_shl_load = yes; then
8283 lt_cv_dlopen="shl_load"
8285 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
8286 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
8287 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
8288 echo $ECHO_N "(cached) $ECHO_C" >&6
8290 ac_check_lib_save_LIBS=$LIBS
8292 cat >conftest.$ac_ext <<_ACEOF
8293 #line $LINENO "configure"
8296 cat confdefs.h >>conftest.$ac_ext
8297 cat >>conftest.$ac_ext <<_ACEOF
8298 /* end confdefs.h. */
8300 /* Override any gcc2 internal prototype to avoid an error. */
8304 /* We use char because int might match the return type of a gcc2
8305 builtin and then its argument prototype would still apply. */
8315 rm -f conftest.$ac_objext conftest$ac_exeext
8316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8317 (eval $ac_link) 2>&5
8319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8320 (exit $ac_status); } &&
8321 { ac_try='test -s conftest$ac_exeext'
8322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8326 (exit $ac_status); }; }; then
8327 ac_cv_lib_dld_shl_load=yes
8329 echo "$as_me: failed program was:" >&5
8330 sed 's/^/| /' conftest.$ac_ext >&5
8332 ac_cv_lib_dld_shl_load=no
8334 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8335 LIBS=$ac_check_lib_save_LIBS
8337 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
8338 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
8339 if test $ac_cv_lib_dld_shl_load = yes; then
8340 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
8342 echo "$as_me:$LINENO: checking for dlopen" >&5
8343 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
8344 if test "${ac_cv_func_dlopen+set}" = set; then
8345 echo $ECHO_N "(cached) $ECHO_C" >&6
8347 cat >conftest.$ac_ext <<_ACEOF
8348 #line $LINENO "configure"
8351 cat confdefs.h >>conftest.$ac_ext
8352 cat >>conftest.$ac_ext <<_ACEOF
8353 /* end confdefs.h. */
8354 /* System header to define __stub macros and hopefully few prototypes,
8355 which can conflict with char dlopen (); below.
8356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8357 <limits.h> exists even on freestanding compilers. */
8359 # include <limits.h>
8361 # include <assert.h>
8363 /* Override any gcc2 internal prototype to avoid an error. */
8368 /* We use char because int might match the return type of a gcc2
8369 builtin and then its argument prototype would still apply. */
8371 /* The GNU C library defines this for functions which it implements
8372 to always fail with ENOSYS. Some functions are actually named
8373 something starting with __ and the normal name is an alias. */
8374 #if defined (__stub_dlopen) || defined (__stub___dlopen)
8377 char (*f) () = dlopen;
8391 rm -f conftest.$ac_objext conftest$ac_exeext
8392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8393 (eval $ac_link) 2>&5
8395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8396 (exit $ac_status); } &&
8397 { ac_try='test -s conftest$ac_exeext'
8398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8402 (exit $ac_status); }; }; then
8403 ac_cv_func_dlopen=yes
8405 echo "$as_me: failed program was:" >&5
8406 sed 's/^/| /' conftest.$ac_ext >&5
8408 ac_cv_func_dlopen=no
8410 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8412 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
8413 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
8414 if test $ac_cv_func_dlopen = yes; then
8415 lt_cv_dlopen="dlopen"
8417 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
8418 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
8419 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
8420 echo $ECHO_N "(cached) $ECHO_C" >&6
8422 ac_check_lib_save_LIBS=$LIBS
8424 cat >conftest.$ac_ext <<_ACEOF
8425 #line $LINENO "configure"
8428 cat confdefs.h >>conftest.$ac_ext
8429 cat >>conftest.$ac_ext <<_ACEOF
8430 /* end confdefs.h. */
8432 /* Override any gcc2 internal prototype to avoid an error. */
8436 /* We use char because int might match the return type of a gcc2
8437 builtin and then its argument prototype would still apply. */
8447 rm -f conftest.$ac_objext conftest$ac_exeext
8448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8449 (eval $ac_link) 2>&5
8451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8452 (exit $ac_status); } &&
8453 { ac_try='test -s conftest$ac_exeext'
8454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8458 (exit $ac_status); }; }; then
8459 ac_cv_lib_dl_dlopen=yes
8461 echo "$as_me: failed program was:" >&5
8462 sed 's/^/| /' conftest.$ac_ext >&5
8464 ac_cv_lib_dl_dlopen=no
8466 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8467 LIBS=$ac_check_lib_save_LIBS
8469 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
8470 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
8471 if test $ac_cv_lib_dl_dlopen = yes; then
8472 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
8474 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
8475 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
8476 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
8477 echo $ECHO_N "(cached) $ECHO_C" >&6
8479 ac_check_lib_save_LIBS=$LIBS
8481 cat >conftest.$ac_ext <<_ACEOF
8482 #line $LINENO "configure"
8485 cat confdefs.h >>conftest.$ac_ext
8486 cat >>conftest.$ac_ext <<_ACEOF
8487 /* end confdefs.h. */
8489 /* Override any gcc2 internal prototype to avoid an error. */
8493 /* We use char because int might match the return type of a gcc2
8494 builtin and then its argument prototype would still apply. */
8504 rm -f conftest.$ac_objext conftest$ac_exeext
8505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8506 (eval $ac_link) 2>&5
8508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8509 (exit $ac_status); } &&
8510 { ac_try='test -s conftest$ac_exeext'
8511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8515 (exit $ac_status); }; }; then
8516 ac_cv_lib_svld_dlopen=yes
8518 echo "$as_me: failed program was:" >&5
8519 sed 's/^/| /' conftest.$ac_ext >&5
8521 ac_cv_lib_svld_dlopen=no
8523 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8524 LIBS=$ac_check_lib_save_LIBS
8526 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
8527 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
8528 if test $ac_cv_lib_svld_dlopen = yes; then
8529 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
8531 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
8532 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
8533 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
8534 echo $ECHO_N "(cached) $ECHO_C" >&6
8536 ac_check_lib_save_LIBS=$LIBS
8538 cat >conftest.$ac_ext <<_ACEOF
8539 #line $LINENO "configure"
8542 cat confdefs.h >>conftest.$ac_ext
8543 cat >>conftest.$ac_ext <<_ACEOF
8544 /* end confdefs.h. */
8546 /* Override any gcc2 internal prototype to avoid an error. */
8550 /* We use char because int might match the return type of a gcc2
8551 builtin and then its argument prototype would still apply. */
8561 rm -f conftest.$ac_objext conftest$ac_exeext
8562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8563 (eval $ac_link) 2>&5
8565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8566 (exit $ac_status); } &&
8567 { ac_try='test -s conftest$ac_exeext'
8568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8572 (exit $ac_status); }; }; then
8573 ac_cv_lib_dld_dld_link=yes
8575 echo "$as_me: failed program was:" >&5
8576 sed 's/^/| /' conftest.$ac_ext >&5
8578 ac_cv_lib_dld_dld_link=no
8580 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
8581 LIBS=$ac_check_lib_save_LIBS
8583 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
8584 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
8585 if test $ac_cv_lib_dld_dld_link = yes; then
8586 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
8607 if test "x$lt_cv_dlopen" != xno; then
8613 case $lt_cv_dlopen in
8615 save_CPPFLAGS="$CPPFLAGS"
8616 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
8618 save_LDFLAGS="$LDFLAGS"
8619 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
8622 LIBS="$lt_cv_dlopen_libs $LIBS"
8624 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
8625 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
8626 if test "${lt_cv_dlopen_self+set}" = set; then
8627 echo $ECHO_N "(cached) $ECHO_C" >&6
8629 if test "$cross_compiling" = yes; then :
8630 lt_cv_dlopen_self=cross
8632 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8633 lt_status=$lt_dlunknown
8634 cat > conftest.$ac_ext <<EOF
8635 #line 8635 "configure"
8636 #include "confdefs.h"
8645 # define LT_DLGLOBAL RTLD_GLOBAL
8648 # define LT_DLGLOBAL DL_GLOBAL
8650 # define LT_DLGLOBAL 0
8654 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8655 find out it does not work in some platform. */
8656 #ifndef LT_DLLAZY_OR_NOW
8658 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8661 # define LT_DLLAZY_OR_NOW DL_LAZY
8664 # define LT_DLLAZY_OR_NOW RTLD_NOW
8667 # define LT_DLLAZY_OR_NOW DL_NOW
8669 # define LT_DLLAZY_OR_NOW 0
8677 extern "C" void exit (int);
8680 void fnord() { int i=42;}
8683 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8684 int status = $lt_dlunknown;
8688 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8689 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8690 /* dlclose (self); */
8696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8697 (eval $ac_link) 2>&5
8699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8700 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8701 (./conftest; exit; ) 2>/dev/null
8704 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8705 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
8706 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
8709 # compilation failed
8710 lt_cv_dlopen_self=no
8717 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
8718 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
8720 if test "x$lt_cv_dlopen_self" = xyes; then
8721 LDFLAGS="$LDFLAGS $link_static_flag"
8722 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
8723 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
8724 if test "${lt_cv_dlopen_self_static+set}" = set; then
8725 echo $ECHO_N "(cached) $ECHO_C" >&6
8727 if test "$cross_compiling" = yes; then :
8728 lt_cv_dlopen_self_static=cross
8730 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8731 lt_status=$lt_dlunknown
8732 cat > conftest.$ac_ext <<EOF
8733 #line 8733 "configure"
8734 #include "confdefs.h"
8743 # define LT_DLGLOBAL RTLD_GLOBAL
8746 # define LT_DLGLOBAL DL_GLOBAL
8748 # define LT_DLGLOBAL 0
8752 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
8753 find out it does not work in some platform. */
8754 #ifndef LT_DLLAZY_OR_NOW
8756 # define LT_DLLAZY_OR_NOW RTLD_LAZY
8759 # define LT_DLLAZY_OR_NOW DL_LAZY
8762 # define LT_DLLAZY_OR_NOW RTLD_NOW
8765 # define LT_DLLAZY_OR_NOW DL_NOW
8767 # define LT_DLLAZY_OR_NOW 0
8775 extern "C" void exit (int);
8778 void fnord() { int i=42;}
8781 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
8782 int status = $lt_dlunknown;
8786 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
8787 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
8788 /* dlclose (self); */
8794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8795 (eval $ac_link) 2>&5
8797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8798 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8799 (./conftest; exit; ) 2>/dev/null
8802 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8803 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
8804 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
8807 # compilation failed
8808 lt_cv_dlopen_self_static=no
8815 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
8816 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
8819 CPPFLAGS="$save_CPPFLAGS"
8820 LDFLAGS="$save_LDFLAGS"
8825 case $lt_cv_dlopen_self in
8826 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
8827 *) enable_dlopen_self=unknown ;;
8830 case $lt_cv_dlopen_self_static in
8831 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
8832 *) enable_dlopen_self_static=unknown ;;
8837 # Report which librarie types wil actually be built
8838 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
8839 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
8840 echo "$as_me:$LINENO: result: $can_build_shared" >&5
8841 echo "${ECHO_T}$can_build_shared" >&6
8843 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
8844 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
8845 test "$can_build_shared" = "no" && enable_shared=no
8847 # On AIX, shared libraries and static libraries use the same namespace, and
8848 # are all built from PIC.
8851 test "$enable_shared" = yes && enable_static=no
8852 if test -n "$RANLIB"; then
8853 archive_cmds="$archive_cmds~\$RANLIB \$lib"
8854 postinstall_cmds='$RANLIB $lib'
8859 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8860 test "$enable_shared" = yes && enable_static=no
8863 darwin* | rhapsody*)
8864 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
8865 archive_cmds_need_lc=no
8867 rhapsody* | darwin1.[012])
8868 allow_undefined_flag='-undefined suppress'
8871 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag='-flat_namespace -undefined suppress'
8874 # FIXME: Relying on posixy $() will cause problems for
8875 # cross-compilation, but unfortunately the echo tests do not
8876 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
8877 # `"' quotes if we put them in here... so don't!
8878 output_verbose_link_cmd='echo'
8879 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8880 module_cmds='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
8881 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8882 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}'
8883 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}'
8885 hardcode_automatic=yes
8886 hardcode_shlibpath_var=unsupported
8887 whole_archive_flag_spec='-all_load $convenience'
8888 link_all_deplibs=yes
8892 echo "$as_me:$LINENO: result: $enable_shared" >&5
8893 echo "${ECHO_T}$enable_shared" >&6
8895 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
8896 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
8897 # Make sure either enable_shared or enable_static is yes.
8898 test "$enable_shared" = yes || enable_static=yes
8899 echo "$as_me:$LINENO: result: $enable_static" >&5
8900 echo "${ECHO_T}$enable_static" >&6
8902 # The else clause should only fire when bootstrapping the
8903 # libtool distribution, otherwise you forgot to ship ltmain.sh
8904 # with your package, and you will get complaints that there are
8905 # no rules to generate ltmain.sh.
8906 if test -f "$ltmain"; then
8907 # See if we are running on zsh, and set the options which allow our commands through
8908 # without removal of \ escapes.
8909 if test -n "${ZSH_VERSION+set}" ; then
8910 setopt NO_GLOB_SUBST
8912 # Now quote all the things that may contain metacharacters while being
8913 # careful not to overquote the AC_SUBSTed values. We take copies of the
8914 # variables and quote the copies for generation of the libtool script.
8915 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
8916 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
8917 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
8918 deplibs_check_method reload_flag reload_cmds need_locks \
8919 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
8920 lt_cv_sys_global_symbol_to_c_name_address \
8921 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
8922 old_postinstall_cmds old_postuninstall_cmds \
8926 lt_prog_compiler_wl \
8927 lt_prog_compiler_pic \
8928 lt_prog_compiler_static \
8929 lt_prog_compiler_no_builtin_flag \
8930 export_dynamic_flag_spec \
8931 thread_safe_flag_spec \
8932 whole_archive_flag_spec \
8933 enable_shared_with_static_runtimes \
8935 old_archive_from_new_cmds \
8940 compiler_lib_search_path \
8942 archive_expsym_cmds \
8944 postuninstall_cmds \
8945 old_archive_from_expsyms_cmds \
8946 allow_undefined_flag \
8948 export_symbols_cmds \
8949 hardcode_libdir_flag_spec \
8950 hardcode_libdir_flag_spec_ld \
8951 hardcode_libdir_separator \
8952 hardcode_automatic \
8954 module_expsym_cmds \
8955 lt_cv_prog_compiler_c_o \
8960 old_archive_cmds | \
8961 old_archive_from_new_cmds | \
8963 archive_expsym_cmds | \
8965 module_expsym_cmds | \
8966 old_archive_from_expsyms_cmds | \
8967 export_symbols_cmds | \
8968 extract_expsyms_cmds | reload_cmds | finish_cmds | \
8969 postinstall_cmds | postuninstall_cmds | \
8970 old_postinstall_cmds | old_postuninstall_cmds | \
8971 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
8972 # Double-quote double-evaled strings.
8973 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
8976 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
8982 *'\$0 --fallback-echo"')
8983 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
8988 trap "$rm \"$cfgfile\"; exit 1" 1 2 15
8990 { echo "$as_me:$LINENO: creating $ofile" >&5
8991 echo "$as_me: creating $ofile" >&6;}
8993 cat <<__EOF__ >> "$cfgfile"
8996 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
8997 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
8998 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
9000 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
9001 # Free Software Foundation, Inc.
9003 # This file is part of GNU Libtool:
9004 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
9006 # This program is free software; you can redistribute it and/or modify
9007 # it under the terms of the GNU General Public License as published by
9008 # the Free Software Foundation; either version 2 of the License, or
9009 # (at your option) any later version.
9011 # This program is distributed in the hope that it will be useful, but
9012 # WITHOUT ANY WARRANTY; without even the implied warranty of
9013 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
9014 # General Public License for more details.
9016 # You should have received a copy of the GNU General Public License
9017 # along with this program; if not, write to the Free Software
9018 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
9020 # As a special exception to the GNU General Public License, if you
9021 # distribute this file as part of a program that contains a
9022 # configuration script generated by Autoconf, you may include it under
9023 # the same distribution terms that you use for the rest of that program.
9025 # A sed program that does not truncate output.
9028 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
9029 Xsed="$SED -e s/^X//"
9031 # The HP-UX ksh and POSIX shell print the target directory to stdout
9033 if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
9035 # The names of the tagged configurations supported by this script.
9038 # ### BEGIN LIBTOOL CONFIG
9040 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
9042 # Shell to use when invoking shell scripts.
9045 # Whether or not to build shared libraries.
9046 build_libtool_libs=$enable_shared
9048 # Whether or not to build static libraries.
9049 build_old_libs=$enable_static
9051 # Whether or not to add -lc for building shared libraries.
9052 build_libtool_need_lc=$archive_cmds_need_lc
9054 # Whether or not to disallow shared libs when runtime libs are static
9055 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
9057 # Whether or not to optimize for fast installation.
9058 fast_install=$enable_fast_install
9061 host_alias=$host_alias
9064 # An echo program that does not interpret backslashes.
9069 AR_FLAGS=$lt_AR_FLAGS
9074 # A language-specific compiler.
9077 # Is the compiler the GNU C compiler?
9083 # The linker used to build libraries.
9086 # Whether we need hard or soft links.
9089 # A BSD-compatible nm program.
9092 # A symbol stripping program
9095 # Used to examine libraries when file_magic_cmd begins "file"
9096 MAGIC_CMD=$MAGIC_CMD
9098 # Used on cygwin: DLL creation program.
9101 # Used on cygwin: object dumper.
9104 # Used on cygwin: assembler.
9107 # The name of the directory that contains temporary libtool files.
9110 # How to create reloadable object files.
9111 reload_flag=$lt_reload_flag
9112 reload_cmds=$lt_reload_cmds
9114 # How to pass a linker flag through the compiler.
9115 wl=$lt_lt_prog_compiler_wl
9117 # Object file suffix (normally "o").
9120 # Old archive suffix (normally "a").
9123 # Shared library suffix (normally ".so").
9126 # Executable file suffix (normally "").
9129 # Additional compiler flags for building library objects.
9130 pic_flag=$lt_lt_prog_compiler_pic
9133 # What is the maximum length of a command?
9134 max_cmd_len=$lt_cv_sys_max_cmd_len
9136 # Does compiler simultaneously support -c and -o options?
9137 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9139 # Must we lock files when doing compilation ?
9140 need_locks=$lt_need_locks
9142 # Do we need the lib prefix for modules?
9143 need_lib_prefix=$need_lib_prefix
9145 # Do we need a version for libraries?
9146 need_version=$need_version
9148 # Whether dlopen is supported.
9149 dlopen_support=$enable_dlopen
9151 # Whether dlopen of programs is supported.
9152 dlopen_self=$enable_dlopen_self
9154 # Whether dlopen of statically linked programs is supported.
9155 dlopen_self_static=$enable_dlopen_self_static
9157 # Compiler flag to prevent dynamic linking.
9158 link_static_flag=$lt_lt_prog_compiler_static
9160 # Compiler flag to turn off builtin functions.
9161 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
9163 # Compiler flag to allow reflexive dlopens.
9164 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
9166 # Compiler flag to generate shared objects directly from archives.
9167 whole_archive_flag_spec=$lt_whole_archive_flag_spec
9169 # Compiler flag to generate thread-safe objects.
9170 thread_safe_flag_spec=$lt_thread_safe_flag_spec
9172 # Library versioning type.
9173 version_type=$version_type
9175 # Format of library name prefix.
9176 libname_spec=$lt_libname_spec
9178 # List of archive names. First name is the real one, the rest are links.
9179 # The last name is the one that the linker finds with -lNAME.
9180 library_names_spec=$lt_library_names_spec
9182 # The coded name of the library, if different from the real name.
9183 soname_spec=$lt_soname_spec
9185 # Commands used to build and install an old-style archive.
9187 old_archive_cmds=$lt_old_archive_cmds
9188 old_postinstall_cmds=$lt_old_postinstall_cmds
9189 old_postuninstall_cmds=$lt_old_postuninstall_cmds
9191 # Create an old-style archive from a shared archive.
9192 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
9194 # Create a temporary old-style archive to link instead of a shared archive.
9195 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
9197 # Commands used to build and install a shared archive.
9198 archive_cmds=$lt_archive_cmds
9199 archive_expsym_cmds=$lt_archive_expsym_cmds
9200 postinstall_cmds=$lt_postinstall_cmds
9201 postuninstall_cmds=$lt_postuninstall_cmds
9203 # Commands used to build a loadable module (assumed same as above if empty)
9204 module_cmds=$lt_module_cmds
9205 module_expsym_cmds=$lt_module_expsym_cmds
9207 # Commands to strip libraries.
9208 old_striplib=$lt_old_striplib
9209 striplib=$lt_striplib
9211 # Dependencies to place before the objects being linked to create a
9213 predep_objects=$lt_predep_objects
9215 # Dependencies to place after the objects being linked to create a
9217 postdep_objects=$lt_postdep_objects
9219 # Dependencies to place before the objects being linked to create a
9223 # Dependencies to place after the objects being linked to create a
9225 postdeps=$lt_postdeps
9227 # The library search path used internally by the compiler when linking
9229 compiler_lib_search_path=$lt_compiler_lib_search_path
9231 # Method to check whether dependent libraries are shared objects.
9232 deplibs_check_method=$lt_deplibs_check_method
9234 # Command to use when deplibs_check_method == file_magic.
9235 file_magic_cmd=$lt_file_magic_cmd
9237 # Flag that allows shared libraries with undefined symbols to be built.
9238 allow_undefined_flag=$lt_allow_undefined_flag
9240 # Flag that forces no undefined symbols.
9241 no_undefined_flag=$lt_no_undefined_flag
9243 # Commands used to finish a libtool library installation in a directory.
9244 finish_cmds=$lt_finish_cmds
9246 # Same as above, but a single script fragment to be evaled but not shown.
9247 finish_eval=$lt_finish_eval
9249 # Take the output of nm and produce a listing of raw symbols and C names.
9250 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
9252 # Transform the output of nm in a proper C declaration
9253 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
9255 # Transform the output of nm in a C name address pair
9256 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
9258 # This is the shared library runtime path variable.
9259 runpath_var=$runpath_var
9261 # This is the shared library path variable.
9262 shlibpath_var=$shlibpath_var
9264 # Is shlibpath searched before the hard-coded library search path?
9265 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
9267 # How to hardcode a shared library path into an executable.
9268 hardcode_action=$hardcode_action
9270 # Whether we should hardcode library paths into libraries.
9271 hardcode_into_libs=$hardcode_into_libs
9273 # Flag to hardcode \$libdir into a binary during linking.
9274 # This must work even if \$libdir does not exist.
9275 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
9277 # If ld is used when linking, flag to hardcode \$libdir into
9278 # a binary during linking. This must work even if \$libdir does
9280 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
9282 # Whether we need a single -rpath flag with a separated argument.
9283 hardcode_libdir_separator=$lt_hardcode_libdir_separator
9285 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
9287 hardcode_direct=$hardcode_direct
9289 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
9291 hardcode_minus_L=$hardcode_minus_L
9293 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
9294 # the resulting binary.
9295 hardcode_shlibpath_var=$hardcode_shlibpath_var
9297 # Set to yes if building a shared library automatically hardcodes DIR into the library
9298 # and all subsequent libraries and executables linked against it.
9299 hardcode_automatic=$hardcode_automatic
9301 # Variables whose values should be saved in libtool wrapper scripts and
9302 # restored at relink time.
9303 variables_saved_for_relink="$variables_saved_for_relink"
9305 # Whether libtool must link a program against all its dependency libraries.
9306 link_all_deplibs=$link_all_deplibs
9308 # Compile-time system search path for libraries
9309 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
9311 # Run-time system search path for libraries
9312 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
9314 # Fix the shell variable \$srcfile for the compiler.
9315 fix_srcfile_path="$fix_srcfile_path"
9317 # Set to yes if exported symbols are required.
9318 always_export_symbols=$always_export_symbols
9320 # The commands to list exported symbols.
9321 export_symbols_cmds=$lt_export_symbols_cmds
9323 # The commands to extract the exported symbol list from a shared archive.
9324 extract_expsyms_cmds=$lt_extract_expsyms_cmds
9326 # Symbols that should not be listed in the preloaded symbols.
9327 exclude_expsyms=$lt_exclude_expsyms
9329 # Symbols that must always be exported.
9330 include_expsyms=$lt_include_expsyms
9332 # ### END LIBTOOL CONFIG
9339 cat <<\EOF >> "$cfgfile"
9341 # AIX sometimes has problems with the GCC collect2 program. For some
9342 # reason, if we set the COLLECT_NAMES environment variable, the problems
9343 # vanish in a puff of smoke.
9344 if test "X${COLLECT_NAMES+set}" != Xset; then
9346 export COLLECT_NAMES
9352 # We use sed instead of cat because bash on DJGPP gets confused if
9353 # if finds mixed CR/LF and LF-only lines. Since sed operates in
9354 # text mode, it properly converts lines to CR/LF. This bash problem
9355 # is reportedly fixed, but why not run on old versions too?
9356 sed '$q' "$ltmain" >> "$cfgfile" || (rm -f "$cfgfile"; exit 1)
9358 mv -f "$cfgfile" "$ofile" || \
9359 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
9363 # If there is no Makefile yet, we rely on a make rule to execute
9364 # `config.status --recheck' to rerun these tests and create the
9365 # libtool script then.
9366 test -f Makefile && make "$ltmain"
9371 ac_cpp='$CPP $CPPFLAGS'
9372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9379 # Check whether --with-tags or --without-tags was given.
9380 if test "${with_tags+set}" = set; then
9381 withval="$with_tags"
9385 if test -f "$ltmain" && test -n "$tagnames"; then
9386 if test ! -f "${ofile}"; then
9387 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not exist" >&5
9388 echo "$as_me: WARNING: output file \`$ofile' does not exist" >&2;}
9391 if test -z "$LTCC"; then
9392 eval "`$SHELL ${ofile} --config | grep '^LTCC='`"
9393 if test -z "$LTCC"; then
9394 { echo "$as_me:$LINENO: WARNING: output file \`$ofile' does not look like a libtool script" >&5
9395 echo "$as_me: WARNING: output file \`$ofile' does not look like a libtool script" >&2;}
9397 { echo "$as_me:$LINENO: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&5
9398 echo "$as_me: WARNING: using \`LTCC=$LTCC', extracted from \`$ofile'" >&2;}
9402 # Extract list of available tagged configurations in $ofile.
9403 # Note that this assumes the entire list is on one line.
9404 available_tags=`grep "^available_tags=" "${ofile}" | $SED -e 's/available_tags=\(.*$\)/\1/' -e 's/\"//g'`
9406 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
9407 for tagname in $tagnames; do
9409 # Check whether tagname contains only valid characters
9410 case `$echo "X$tagname" | $Xsed -e 's:[-_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890,/]::g'` in
9412 *) { { echo "$as_me:$LINENO: error: invalid tag name: $tagname" >&5
9413 echo "$as_me: error: invalid tag name: $tagname" >&2;}
9414 { (exit 1); exit 1; }; }
9418 if grep "^# ### BEGIN LIBTOOL TAG CONFIG: $tagname$" < "${ofile}" > /dev/null
9420 { { echo "$as_me:$LINENO: error: tag name \"$tagname\" already exists" >&5
9421 echo "$as_me: error: tag name \"$tagname\" already exists" >&2;}
9422 { (exit 1); exit 1; }; }
9425 # Update the list of available tags.
9426 if test -n "$tagname"; then
9427 echo appending configuration tag \"$tagname\" to $ofile
9431 if test -n "$CXX" && test "X$CXX" != "Xno"; then
9433 ac_cpp='$CXXCPP $CPPFLAGS'
9434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9441 archive_cmds_need_lc_CXX=no
9442 allow_undefined_flag_CXX=
9443 always_export_symbols_CXX=no
9444 archive_expsym_cmds_CXX=
9445 export_dynamic_flag_spec_CXX=
9446 hardcode_direct_CXX=no
9447 hardcode_libdir_flag_spec_CXX=
9448 hardcode_libdir_flag_spec_ld_CXX=
9449 hardcode_libdir_separator_CXX=
9450 hardcode_minus_L_CXX=no
9451 hardcode_automatic_CXX=no
9453 module_expsym_cmds_CXX=
9454 link_all_deplibs_CXX=unknown
9455 old_archive_cmds_CXX=$old_archive_cmds
9456 no_undefined_flag_CXX=
9457 whole_archive_flag_spec_CXX=
9458 enable_shared_with_static_runtimes_CXX=no
9460 # Dependencies to place before and after the object being linked:
9462 postdep_objects_CXX=
9465 compiler_lib_search_path_CXX=
9467 # Source file extension for C++ test sources.
9470 # Object file extension for compiled C++ test sources.
9474 # Code to be used in simple compile tests
9475 lt_simple_compile_test_code="int some_variable = 0;\n"
9477 # Code to be used in simple link tests
9478 lt_simple_link_test_code='int main(int, char *) { return(0); }\n'
9480 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
9482 # If no C compiler was specified, use CC.
9485 # Allow CC to be a program name with arguments.
9489 # Allow CC to be a program name with arguments.
9494 lt_save_with_gnu_ld=$with_gnu_ld
9495 lt_save_path_LD=$lt_cv_path_LD
9496 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
9497 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
9499 unset lt_cv_prog_gnu_ld
9501 if test -n "${lt_cv_path_LDCXX+set}"; then
9502 lt_cv_path_LD=$lt_cv_path_LDCXX
9506 test -z "${LDCXX+set}" || LD=$LDCXX
9510 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
9512 # We don't want -fno-exception wen compiling C++ code, so set the
9513 # no_builtin_flag separately
9514 if test "$GXX" = yes; then
9515 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
9517 lt_prog_compiler_no_builtin_flag_CXX=
9520 if test "$GXX" = yes; then
9521 # Set up default GNU C++ configuration
9524 # Check whether --with-gnu-ld or --without-gnu-ld was given.
9525 if test "${with_gnu_ld+set}" = set; then
9526 withval="$with_gnu_ld"
9527 test "$withval" = no || with_gnu_ld=yes
9532 if test "$GCC" = yes; then
9533 # Check if gcc -print-prog-name=ld gives a path.
9534 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
9535 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
9538 # gcc leaves a trailing carriage return which upsets mingw
9539 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
9541 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
9544 # Accept absolute paths.
9546 re_direlt='/[^/][^/]*/\.\./'
9547 # Canonicalize the path of ld
9548 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'`
9549 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
9550 ac_prog=`echo $ac_prog| $SED "s%$re_direlt%/%"`
9552 test -z "$LD" && LD="$ac_prog"
9555 # If it fails, then pretend we aren't using GCC.
9559 # If it is relative, then search for the first ld in PATH.
9563 elif test "$with_gnu_ld" = yes; then
9564 echo "$as_me:$LINENO: checking for GNU ld" >&5
9565 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
9567 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
9568 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
9570 if test "${lt_cv_path_LD+set}" = set; then
9571 echo $ECHO_N "(cached) $ECHO_C" >&6
9573 if test -z "$LD"; then
9574 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9575 for ac_dir in $PATH; do
9577 test -z "$ac_dir" && ac_dir=.
9578 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9579 lt_cv_path_LD="$ac_dir/$ac_prog"
9580 # Check to see if the program is GNU ld. I'd rather use --version,
9581 # but apparently some GNU ld's only accept -v.
9582 # Break only if it was the GNU/non-GNU ld that we prefer.
9583 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9584 *GNU* | *'with BFD'*)
9585 test "$with_gnu_ld" != no && break
9588 test "$with_gnu_ld" != yes && break
9595 lt_cv_path_LD="$LD" # Let the user override the test with a path.
9600 if test -n "$LD"; then
9601 echo "$as_me:$LINENO: result: $LD" >&5
9602 echo "${ECHO_T}$LD" >&6
9604 echo "$as_me:$LINENO: result: no" >&5
9605 echo "${ECHO_T}no" >&6
9607 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
9608 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
9609 { (exit 1); exit 1; }; }
9610 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
9611 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
9612 if test "${lt_cv_prog_gnu_ld+set}" = set; then
9613 echo $ECHO_N "(cached) $ECHO_C" >&6
9615 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
9616 case `"$LD" -v 2>&1 </dev/null` in
9617 *GNU* | *'with BFD'*)
9618 lt_cv_prog_gnu_ld=yes
9621 lt_cv_prog_gnu_ld=no
9625 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
9626 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
9627 with_gnu_ld=$lt_cv_prog_gnu_ld
9631 # Check if GNU C++ uses GNU ld as the underlying linker, since the
9632 # archiving commands below assume that GNU ld is being used.
9633 if test "$with_gnu_ld" = yes; then
9634 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
9635 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'
9637 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
9638 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
9640 # If archive_cmds runs LD, not CC, wlarc should be empty
9641 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
9642 # investigate it a little bit more. (MM)
9645 # ancient GNU ld didn't support --whole-archive et. al.
9646 if eval "`$CC -print-prog-name=ld` --help 2>&1" | \
9647 grep 'no-whole-archive' > /dev/null; then
9648 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9650 whole_archive_flag_spec_CXX=
9656 # A generic and very simple default shared library creation
9657 # command for GNU C++ for the case where it uses the native
9658 # linker, instead of GNU ld. If possible, this setting should
9659 # overridden to take advantage of the native linker features on
9660 # the platform it is being used on.
9661 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
9664 # Commands to make compiler produce verbose output that lists
9665 # what "hidden" libraries, object files and flags are used when
9666 # linking a shared library.
9667 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
9675 # PORTME: fill in a description of your system's C++ link characteristics
9676 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9677 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
9681 # FIXME: insert proper C++ library support
9685 if test "$host_cpu" = ia64; then
9686 # On IA64, the linker does run time linking by default, so we don't
9687 # have to do anything special.
9688 aix_use_runtimelinking=no
9689 exp_sym_flag='-Bexport'
9692 aix_use_runtimelinking=no
9694 # Test if we are trying to use run time linking or normal
9695 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9696 # need to do runtime linking.
9697 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
9698 for ld_flag in $LDFLAGS; do
9701 aix_use_runtimelinking=yes
9708 exp_sym_flag='-bexport'
9709 no_entry_flag='-bnoentry'
9712 # When large executables or shared objects are built, AIX ld can
9713 # have problems creating the table of contents. If linking a library
9714 # or program results in "error TOC overflow" add -mminimal-toc to
9715 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9716 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9719 hardcode_direct_CXX=yes
9720 hardcode_libdir_separator_CXX=':'
9721 link_all_deplibs_CXX=yes
9723 if test "$GXX" = yes; then
9724 case $host_os in aix4.012|aix4.012.*)
9725 # We only want to do this on AIX 4.2 and lower, the check
9726 # below for broken collect2 doesn't work under 4.3+
9727 collect2name=`${CC} -print-prog-name=collect2`
9728 if test -f "$collect2name" && \
9729 strings "$collect2name" | grep resolve_lib_name >/dev/null
9731 # We have reworked collect2
9732 hardcode_direct_CXX=yes
9734 # We have old collect2
9735 hardcode_direct_CXX=unsupported
9736 # It fails to find uninstalled libraries when the uninstalled
9737 # path is not listed in the libpath. Setting hardcode_minus_L
9738 # to unsupported forces relinking
9739 hardcode_minus_L_CXX=yes
9740 hardcode_libdir_flag_spec_CXX='-L$libdir'
9741 hardcode_libdir_separator_CXX=
9744 shared_flag='-shared'
9747 if test "$host_cpu" = ia64; then
9748 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9749 # chokes on -Wl,-G. The following line is correct:
9752 if test "$aix_use_runtimelinking" = yes; then
9753 shared_flag='${wl}-G'
9755 shared_flag='${wl}-bM:SRE'
9760 # It seems that -bexpall does not export symbols beginning with
9761 # underscore (_), so it is better to generate a list of symbols to export.
9762 always_export_symbols_CXX=yes
9763 if test "$aix_use_runtimelinking" = yes; then
9764 # Warning - without using the other runtime loading flags (-brtl),
9765 # -berok will link without error, but may produce a broken library.
9766 allow_undefined_flag_CXX='-berok'
9767 # Determine the default libpath from the value encoded in an empty executable.
9768 cat >conftest.$ac_ext <<_ACEOF
9769 #line $LINENO "configure"
9772 cat confdefs.h >>conftest.$ac_ext
9773 cat >>conftest.$ac_ext <<_ACEOF
9774 /* end confdefs.h. */
9784 rm -f conftest.$ac_objext conftest$ac_exeext
9785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9786 (eval $ac_link) 2>&5
9788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9789 (exit $ac_status); } &&
9790 { ac_try='test -s conftest$ac_exeext'
9791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9795 (exit $ac_status); }; }; then
9797 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9799 # Check for a 64-bit object if we didn't find anything.
9800 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; }
9803 echo "$as_me: failed program was:" >&5
9804 sed 's/^/| /' conftest.$ac_ext >&5
9807 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9808 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9810 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9812 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"
9814 if test "$host_cpu" = ia64; then
9815 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
9816 allow_undefined_flag_CXX="-z nodefs"
9817 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"
9819 # Determine the default libpath from the value encoded in an empty executable.
9820 cat >conftest.$ac_ext <<_ACEOF
9821 #line $LINENO "configure"
9824 cat confdefs.h >>conftest.$ac_ext
9825 cat >>conftest.$ac_ext <<_ACEOF
9826 /* end confdefs.h. */
9836 rm -f conftest.$ac_objext conftest$ac_exeext
9837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9838 (eval $ac_link) 2>&5
9840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9841 (exit $ac_status); } &&
9842 { ac_try='test -s conftest$ac_exeext'
9843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9847 (exit $ac_status); }; }; then
9849 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
9851 # Check for a 64-bit object if we didn't find anything.
9852 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; }
9855 echo "$as_me: failed program was:" >&5
9856 sed 's/^/| /' conftest.$ac_ext >&5
9859 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
9860 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9862 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
9863 # Warning - without using the other run time loading flags,
9864 # -berok will link without error, but may produce a broken library.
9865 no_undefined_flag_CXX=' ${wl}-bernotok'
9866 allow_undefined_flag_CXX=' ${wl}-berok'
9867 # -bexpall does not export symbols beginning with underscore (_)
9868 always_export_symbols_CXX=yes
9869 # Exported symbols can be pulled into shared objects from archives
9870 whole_archive_flag_spec_CXX=' '
9871 archive_cmds_need_lc_CXX=yes
9872 # This is similar to how AIX traditionally builds it's shared libraries.
9873 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'
9878 case $cc_basename in
9880 # FIXME: insert proper C++ library support
9886 cygwin* | mingw* | pw32*)
9887 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
9888 # as there is no search path for DLLs.
9889 hardcode_libdir_flag_spec_CXX='-L$libdir'
9890 allow_undefined_flag_CXX=unsupported
9891 always_export_symbols_CXX=no
9892 enable_shared_with_static_runtimes_CXX=yes
9894 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
9895 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'
9896 # If the export-symbols file already is a .def file (1st line
9897 # is EXPORTS), use it as is; otherwise, prepend...
9898 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9899 cp $export_symbols $output_objdir/$soname.def;
9901 echo EXPORTS > $output_objdir/$soname.def;
9902 cat $export_symbols >> $output_objdir/$soname.def;
9904 $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'
9910 darwin* | rhapsody*)
9911 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
9912 archive_cmds_need_lc_CXX=no
9914 rhapsody* | darwin1.[012])
9915 allow_undefined_flag_CXX='-undefined suppress'
9918 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9921 lt_int_apple_cc_single_mod=no
9922 output_verbose_link_cmd='echo'
9923 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9924 lt_int_apple_cc_single_mod=yes
9926 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9927 archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9929 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'
9931 module_cmds_CXX='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
9933 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9934 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9935 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}'
9937 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}'
9939 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}'
9940 hardcode_direct_CXX=no
9941 hardcode_automatic_CXX=yes
9942 hardcode_shlibpath_var_CXX=unsupported
9943 whole_archive_flag_spec_CXX='-all_load $convenience'
9944 link_all_deplibs_CXX=yes
9949 case $cc_basename in
9951 # FIXME: insert proper C++ library support
9955 # Green Hills C++ Compiler
9956 # FIXME: insert proper C++ library support
9960 # FIXME: insert proper C++ library support
9966 # C++ shared libraries reported to be fairly broken before switch to ELF
9970 archive_cmds_need_lc_CXX=no
9973 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
9980 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
9981 hardcode_libdir_separator_CXX=:
9982 export_dynamic_flag_spec_CXX='${wl}-E'
9983 hardcode_direct_CXX=yes
9984 hardcode_minus_L_CXX=yes # Not in the search PATH,
9985 # but as the default
9986 # location of the library.
9988 case $cc_basename in
9990 # FIXME: insert proper C++ library support
9994 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'
9995 # Commands to make compiler produce verbose output that lists
9996 # what "hidden" libraries, object files and flags are used when
9997 # linking a shared library.
9999 # There doesn't appear to be a way to prevent this compiler from
10000 # explicitly linking system object files so we need to strip them
10001 # from the output so that they don't get included in the library
10003 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'
10006 if test "$GXX" = yes; then
10007 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'
10009 # FIXME: insert proper C++ library support
10016 if test $with_gnu_ld = no; then
10017 case "$host_cpu" in
10019 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10020 hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
10021 hardcode_libdir_separator_CXX=:
10024 hardcode_libdir_flag_spec_CXX='-L$libdir'
10027 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10028 hardcode_libdir_separator_CXX=:
10029 export_dynamic_flag_spec_CXX='${wl}-E'
10033 case "$host_cpu" in
10035 hardcode_direct_CXX=no
10036 hardcode_shlibpath_var_CXX=no
10039 hardcode_direct_CXX=no
10040 hardcode_shlibpath_var_CXX=no
10041 hardcode_minus_L_CXX=yes # Not in the search PATH,
10042 # but as the default
10043 # location of the library.
10046 hardcode_direct_CXX=yes
10047 hardcode_minus_L_CXX=yes # Not in the search PATH,
10048 # but as the default
10049 # location of the library.
10053 case $cc_basename in
10055 # FIXME: insert proper C++ library support
10059 case "$host_cpu" in
10061 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10064 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10067 # Commands to make compiler produce verbose output that lists
10068 # what "hidden" libraries, object files and flags are used when
10069 # linking a shared library.
10071 # There doesn't appear to be a way to prevent this compiler from
10072 # explicitly linking system object files so we need to strip them
10073 # from the output so that they don't get included in the library
10075 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'
10078 if test "$GXX" = yes; then
10079 if test $with_gnu_ld = no; then
10080 case "$host_cpu" in
10082 archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10085 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'
10090 # FIXME: insert proper C++ library support
10097 case $cc_basename in
10100 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'
10102 # Archives containing C++ object files must be created using
10103 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
10104 # necessary to make sure instantiated templates are included
10106 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
10109 if test "$GXX" = yes; then
10110 if test "$with_gnu_ld" = no; then
10111 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'
10113 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'
10116 link_all_deplibs_CXX=yes
10119 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10120 hardcode_libdir_separator_CXX=:
10123 case $cc_basename in
10125 # Kuck and Associates, Inc. (KAI) C++ Compiler
10127 # KCC will only create a shared library if the output file
10128 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10129 # to its proper name (with version) after linking.
10130 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'
10131 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'
10132 # Commands to make compiler produce verbose output that lists
10133 # what "hidden" libraries, object files and flags are used when
10134 # linking a shared library.
10136 # There doesn't appear to be a way to prevent this compiler from
10137 # explicitly linking system object files so we need to strip them
10138 # from the output so that they don't get included in the library
10140 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'
10142 hardcode_libdir_flag_spec_CXX='${wl}--rpath,$libdir'
10143 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10145 # Archives containing C++ object files must be created using
10146 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10147 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10152 archive_cmds_need_lc_CXX=no
10153 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10154 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'
10155 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10156 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10157 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10161 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10162 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'
10164 runpath_var=LD_RUN_PATH
10165 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10166 hardcode_libdir_separator_CXX=:
10168 # Commands to make compiler produce verbose output that lists
10169 # what "hidden" libraries, object files and flags are used when
10170 # linking a shared library.
10172 # There doesn't appear to be a way to prevent this compiler from
10173 # explicitly linking system object files so we need to strip them
10174 # from the output so that they don't get included in the library
10176 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'
10181 # FIXME: insert proper C++ library support
10185 # FIXME: insert proper C++ library support
10189 case $cc_basename in
10191 # FIXME: insert proper C++ library support
10195 # FIXME: insert proper C++ library support
10201 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10202 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10204 hardcode_libdir_flag_spec_CXX='-R$libdir'
10205 hardcode_direct_CXX=yes
10206 hardcode_shlibpath_var_CXX=no
10208 # Workaround some broken pre-1.5 toolchains
10209 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10212 case $cc_basename in
10214 # Kuck and Associates, Inc. (KAI) C++ Compiler
10216 # KCC will only create a shared library if the output file
10217 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10218 # to its proper name (with version) after linking.
10219 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'
10221 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10222 hardcode_libdir_separator_CXX=:
10224 # Archives containing C++ object files must be created using
10225 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10226 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10230 # Rational C++ 2.4.1
10231 # FIXME: insert proper C++ library support
10235 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10236 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'
10238 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10239 hardcode_libdir_separator_CXX=:
10241 # Commands to make compiler produce verbose output that lists
10242 # what "hidden" libraries, object files and flags are used when
10243 # linking a shared library.
10245 # There doesn't appear to be a way to prevent this compiler from
10246 # explicitly linking system object files so we need to strip them
10247 # from the output so that they don't get included in the library
10249 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'
10252 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10253 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10254 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'
10256 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10257 hardcode_libdir_separator_CXX=:
10259 # Commands to make compiler produce verbose output that lists
10260 # what "hidden" libraries, object files and flags are used when
10261 # linking a shared library.
10262 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10265 # FIXME: insert proper C++ library support
10272 case $cc_basename in
10274 # Kuck and Associates, Inc. (KAI) C++ Compiler
10276 # KCC will only create a shared library if the output file
10277 # ends with ".so" (or ".sl" for HP-UX), so rename the library
10278 # to its proper name (with version) after linking.
10279 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'
10281 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10282 hardcode_libdir_separator_CXX=:
10284 # Archives containing C++ object files must be created using
10285 # the KAI C++ compiler.
10286 old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10289 # Rational C++ 2.4.1
10290 # FIXME: insert proper C++ library support
10294 allow_undefined_flag_CXX=' -expect_unresolved \*'
10295 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'
10296 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10297 echo "-hidden">> $lib.exp~
10298 $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~
10301 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10302 hardcode_libdir_separator_CXX=:
10304 # Commands to make compiler produce verbose output that lists
10305 # what "hidden" libraries, object files and flags are used when
10306 # linking a shared library.
10308 # There doesn't appear to be a way to prevent this compiler from
10309 # explicitly linking system object files so we need to strip them
10310 # from the output so that they don't get included in the library
10312 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'
10315 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10316 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10317 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'
10319 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10320 hardcode_libdir_separator_CXX=:
10322 # Commands to make compiler produce verbose output that lists
10323 # what "hidden" libraries, object files and flags are used when
10324 # linking a shared library.
10325 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "\-L"'
10328 # FIXME: insert proper C++ library support
10335 # FIXME: insert proper C++ library support
10339 archive_cmds_need_lc_CXX=no
10340 case $cc_basename in
10342 # FIXME: insert proper C++ library support
10346 # FIXME: insert proper C++ library support
10352 case $cc_basename in
10355 # FIXME: insert proper C++ library support
10360 # FIXME: insert proper C++ library support
10364 # FIXME: insert proper C++ library support
10370 case $cc_basename in
10372 # Sun C++ 4.2, 5.x and Centerline C++
10373 no_undefined_flag_CXX=' -zdefs'
10374 archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10375 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10376 $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'
10378 hardcode_libdir_flag_spec_CXX='-R$libdir'
10379 hardcode_shlibpath_var_CXX=no
10381 solaris2.0-5 | solaris2.0-5.*) ;;
10383 # The C++ compiler is used as linker so we must use $wl
10384 # flag to pass the commands to the underlying system
10386 # Supported since Solaris 2.6 (maybe 2.5.1?)
10387 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10390 link_all_deplibs_CXX=yes
10392 # Commands to make compiler produce verbose output that lists
10393 # what "hidden" libraries, object files and flags are used when
10394 # linking a shared library.
10396 # There doesn't appear to be a way to prevent this compiler from
10397 # explicitly linking system object files so we need to strip them
10398 # from the output so that they don't get included in the library
10400 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'
10402 # Archives containing C++ object files must be created using
10403 # "CC -xar", where "CC" is the Sun C++ compiler. This is
10404 # necessary to make sure instantiated templates are included
10406 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10409 # Green Hills C++ Compiler
10410 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10412 # The C++ compiler must be used to create the archive.
10413 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
10416 # GNU C++ compiler with Solaris linker
10417 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10418 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
10419 if $CC --version | grep -v '^2\.7' > /dev/null; then
10420 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10421 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10422 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10424 # Commands to make compiler produce verbose output that lists
10425 # what "hidden" libraries, object files and flags are used when
10426 # linking a shared library.
10427 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10429 # g++ 2.7 appears to require `-G' NOT `-shared' on this
10431 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10432 archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10433 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10435 # Commands to make compiler produce verbose output that lists
10436 # what "hidden" libraries, object files and flags are used when
10437 # linking a shared library.
10438 output_verbose_link_cmd="$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep \"\-L\""
10441 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
10446 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
10447 archive_cmds_need_lc_CXX=no
10450 case $cc_basename in
10452 # NonStop-UX NCC 3.20
10453 # FIXME: insert proper C++ library support
10457 # FIXME: insert proper C++ library support
10463 # FIXME: insert proper C++ library support
10467 # FIXME: insert proper C++ library support
10471 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
10472 echo "${ECHO_T}$ld_shlibs_CXX" >&6
10473 test "$ld_shlibs_CXX" = no && can_build_shared=no
10479 ## There is no encapsulation within the following macros, do not change
10480 ## the running order or otherwise move them around unless you know exactly
10481 ## what you are doing...
10483 cat > conftest.$ac_ext <<EOF
10487 Foo (void) { a = 0; }
10493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10494 (eval $ac_compile) 2>&5
10496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10497 (exit $ac_status); }; then
10498 # Parse the compiler output and extract the necessary
10499 # objects, libraries and library flags.
10501 # Sentinel used to keep track of whether or not we are before
10502 # the conftest object file.
10503 pre_test_object_deps_done=no
10505 # The `*' in the case matches for architectures that use `case' in
10506 # $output_verbose_cmd can trigger glob expansion during the loop
10507 # eval without this substitution.
10508 output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
10510 for p in `eval $output_verbose_link_cmd`; do
10514 # Some compilers place space between "-{L,R}" and the path.
10515 # Remove the space.
10516 if test $p = "-L" \
10517 || test $p = "-R"; then
10524 if test "$pre_test_object_deps_done" = no; then
10527 # Internal compiler library paths should come after those
10528 # provided the user. The postdeps already come after the
10529 # user supplied libs so there is no need to process them.
10530 if test -z "$compiler_lib_search_path_CXX"; then
10531 compiler_lib_search_path_CXX="${prev}${p}"
10533 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
10536 # The "-l" case would never come before the object being
10537 # linked, so don't bother handling this case.
10540 if test -z "$postdeps_CXX"; then
10541 postdeps_CXX="${prev}${p}"
10543 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
10549 # This assumes that the test object file only shows up
10550 # once in the compiler output.
10551 if test "$p" = "conftest.$objext"; then
10552 pre_test_object_deps_done=yes
10556 if test "$pre_test_object_deps_done" = no; then
10557 if test -z "$predep_objects_CXX"; then
10558 predep_objects_CXX="$p"
10560 predep_objects_CXX="$predep_objects_CXX $p"
10563 if test -z "$postdep_objects_CXX"; then
10564 postdep_objects_CXX="$p"
10566 postdep_objects_CXX="$postdep_objects_CXX $p"
10571 *) ;; # Ignore the rest.
10579 echo "libtool.m4: error: problem compiling CXX test program"
10582 $rm -f confest.$objext
10584 case " $postdeps_CXX " in
10585 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
10588 lt_prog_compiler_wl_CXX=
10589 lt_prog_compiler_pic_CXX=
10590 lt_prog_compiler_static_CXX=
10592 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
10593 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
10595 # C++ specific cases for pic, static, wl, etc.
10596 if test "$GXX" = yes; then
10597 lt_prog_compiler_wl_CXX='-Wl,'
10598 lt_prog_compiler_static_CXX='-static'
10602 # All AIX code is PIC.
10603 if test "$host_cpu" = ia64; then
10604 # AIX 5 now supports IA64 processor
10605 lt_prog_compiler_static_CXX='-Bstatic'
10609 # FIXME: we need at least 68020 code to build shared libraries, but
10610 # adding the `-m68020' flag to GCC prevents building anything better,
10612 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
10614 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10615 # PIC is the default for these OSes.
10617 mingw* | os2* | pw32*)
10618 # This hack is so that the source file can tell whether it is being
10619 # built for inclusion in a dll (and should export symbols for example).
10620 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
10622 darwin* | rhapsody*)
10623 # PIC is the default on this platform
10624 # Common symbols not allowed in MH_DYLIB files
10625 lt_prog_compiler_pic_CXX='-fno-common'
10628 # DJGPP does not support shared libraries at all
10629 lt_prog_compiler_pic_CXX=
10632 if test -d /usr/nec; then
10633 lt_prog_compiler_pic_CXX=-Kconform_pic
10637 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10638 # not for PA HP-UX.
10639 case "$host_cpu" in
10643 lt_prog_compiler_pic_CXX='-fPIC'
10648 lt_prog_compiler_pic_CXX='-fPIC'
10654 # All AIX code is PIC.
10655 if test "$host_cpu" = ia64; then
10656 # AIX 5 now supports IA64 processor
10657 lt_prog_compiler_static_CXX='-Bstatic'
10659 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
10663 case $cc_basename in
10665 # Green Hills C++ Compiler
10666 # _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"
10671 case $cc_basename in
10673 lt_prog_compiler_pic_CXX='-KPIC'
10676 # Green Hills C++ Compiler
10677 lt_prog_compiler_pic_CXX='-pic'
10684 # FreeBSD uses GNU C++
10686 hpux9* | hpux10* | hpux11*)
10687 case $cc_basename in
10689 lt_prog_compiler_wl_CXX='-Wl,'
10690 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10691 if test "$host_cpu" != ia64; then
10692 lt_prog_compiler_pic_CXX='+Z'
10696 lt_prog_compiler_wl_CXX='-Wl,'
10697 lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10698 case "$host_cpu" in
10703 lt_prog_compiler_pic_CXX='+Z'
10711 irix5* | irix6* | nonstopux*)
10712 case $cc_basename in
10714 lt_prog_compiler_wl_CXX='-Wl,'
10715 lt_prog_compiler_static_CXX='-non_shared'
10716 # CC pic flag -KPIC is the default.
10723 case $cc_basename in
10726 lt_prog_compiler_wl_CXX='--backend -Wl,'
10727 lt_prog_compiler_pic_CXX='-fPIC'
10731 lt_prog_compiler_wl_CXX='-Wl,'
10732 lt_prog_compiler_pic_CXX='-KPIC'
10733 lt_prog_compiler_static_CXX='-static'
10737 # Make sure the PIC flag is empty. It appears that all Alpha
10738 # Linux and Compaq Tru64 Unix objects are PIC.
10739 lt_prog_compiler_pic_CXX=
10740 lt_prog_compiler_static_CXX='-non_shared'
10751 case $cc_basename in
10753 lt_prog_compiler_pic_CXX='-W c,exportall'
10761 osf3* | osf4* | osf5*)
10762 case $cc_basename in
10764 lt_prog_compiler_wl_CXX='--backend -Wl,'
10767 # Rational C++ 2.4.1
10768 lt_prog_compiler_pic_CXX='-pic'
10771 # Digital/Compaq C++
10772 lt_prog_compiler_wl_CXX='-Wl,'
10773 # Make sure the PIC flag is empty. It appears that all Alpha
10774 # Linux and Compaq Tru64 Unix objects are PIC.
10775 lt_prog_compiler_pic_CXX=
10776 lt_prog_compiler_static_CXX='-non_shared'
10785 case $cc_basename in
10787 lt_prog_compiler_pic_CXX='-fPIC'
10794 case $cc_basename in
10796 # Sun C++ 4.2, 5.x and Centerline C++
10797 lt_prog_compiler_pic_CXX='-KPIC'
10798 lt_prog_compiler_static_CXX='-Bstatic'
10799 lt_prog_compiler_wl_CXX='-Qoption ld '
10802 # Green Hills C++ Compiler
10803 lt_prog_compiler_pic_CXX='-PIC'
10810 case $cc_basename in
10813 lt_prog_compiler_pic_CXX='-pic'
10814 lt_prog_compiler_static_CXX='-Bstatic'
10818 lt_prog_compiler_pic_CXX='-pic'
10825 case $cc_basename in
10827 # NonStop-UX NCC 3.20
10828 lt_prog_compiler_pic_CXX='-KPIC'
10839 lt_prog_compiler_can_build_shared_CXX=no
10844 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
10845 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
10848 # Check to make sure the PIC flag actually works.
10850 if test -n "$lt_prog_compiler_pic_CXX"; then
10851 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
10852 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
10853 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
10854 echo $ECHO_N "(cached) $ECHO_C" >&6
10856 lt_prog_compiler_pic_works_CXX=no
10857 ac_outfile=conftest.$ac_objext
10858 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10859 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
10860 # Insert the option either (1) after the last *FLAGS variable, or
10861 # (2) before a word containing "conftest.", or (3) at the end.
10862 # Note that $ac_compile itself does not contain backslashes and begins
10863 # with a dollar sign (not a hyphen), so the echo should work correctly.
10864 # The option is referenced via a variable to avoid confusing sed.
10865 lt_compile=`echo "$ac_compile" | $SED \
10866 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10867 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10868 -e 's:$: $lt_compiler_flag:'`
10869 (eval echo "\"\$as_me:10869: $lt_compile\"" >&5)
10870 (eval "$lt_compile" 2>conftest.err)
10872 cat conftest.err >&5
10873 echo "$as_me:10873: \$? = $ac_status" >&5
10874 if (exit $ac_status) && test -s "$ac_outfile"; then
10875 # The compiler can only warn and ignore the option if not recognized
10876 # So say no if there are warnings
10877 if test ! -s conftest.err; then
10878 lt_prog_compiler_pic_works_CXX=yes
10884 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
10885 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
10887 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
10888 case $lt_prog_compiler_pic_CXX in
10890 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
10893 lt_prog_compiler_pic_CXX=
10894 lt_prog_compiler_can_build_shared_CXX=no
10899 # For platforms which do not support PIC, -DPIC is meaningless:
10901 lt_prog_compiler_pic_CXX=
10904 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
10908 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
10909 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
10910 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
10911 echo $ECHO_N "(cached) $ECHO_C" >&6
10913 lt_cv_prog_compiler_c_o_CXX=no
10914 $rm -r conftest 2>/dev/null
10918 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
10920 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
10921 # that will create temporary files in the current directory regardless of
10922 # the output directory. Thus, making CWD read-only will cause this test
10923 # to fail, enabling locking or at least warning the user not to do parallel
10927 lt_compiler_flag="-o out/conftest2.$ac_objext"
10928 # Insert the option either (1) after the last *FLAGS variable, or
10929 # (2) before a word containing "conftest.", or (3) at the end.
10930 # Note that $ac_compile itself does not contain backslashes and begins
10931 # with a dollar sign (not a hyphen), so the echo should work correctly.
10932 lt_compile=`echo "$ac_compile" | $SED \
10933 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
10934 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10935 -e 's:$: $lt_compiler_flag:'`
10936 (eval echo "\"\$as_me:10936: $lt_compile\"" >&5)
10937 (eval "$lt_compile" 2>out/conftest.err)
10939 cat out/conftest.err >&5
10940 echo "$as_me:10940: \$? = $ac_status" >&5
10941 if (exit $ac_status) && test -s out/conftest2.$ac_objext
10943 # The compiler can only warn and ignore the option if not recognized
10944 # So say no if there are warnings
10945 if test ! -s out/conftest.err; then
10946 lt_cv_prog_compiler_c_o_CXX=yes
10950 $rm conftest* out/*
10957 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
10958 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
10961 hard_links="nottested"
10962 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
10963 # do not overwrite the value of need_locks provided by the user
10964 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
10965 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
10968 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10970 ln conftest.a conftest.b 2>&5 || hard_links=no
10971 ln conftest.a conftest.b 2>/dev/null && hard_links=no
10972 echo "$as_me:$LINENO: result: $hard_links" >&5
10973 echo "${ECHO_T}$hard_links" >&6
10974 if test "$hard_links" = no; then
10975 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
10976 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
10983 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
10984 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
10986 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
10989 # If we're using GNU nm, then we don't want the "-C" option.
10990 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10991 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
10992 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'
10994 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'
10998 export_symbols_cmds_CXX="$ltdll_cmds"
11001 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
11004 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11008 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
11009 echo "${ECHO_T}$ld_shlibs_CXX" >&6
11010 test "$ld_shlibs_CXX" = no && can_build_shared=no
11012 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11013 if test "$GCC" = yes; then
11014 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11018 # Do we need to explicitly link libc?
11020 case "x$archive_cmds_need_lc_CXX" in
11022 # Assume -lc should be added
11023 archive_cmds_need_lc_CXX=yes
11025 if test "$enable_shared" = yes && test "$GCC" = yes; then
11026 case $archive_cmds_CXX in
11028 # FIXME: we may have to deal with multi-command sequences.
11031 # Test whether the compiler implicitly links with -lc since on some
11032 # systems, -lgcc has to come before -lc. If gcc already passes -lc
11033 # to ld, don't add -lc before -lgcc.
11034 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
11035 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
11037 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
11039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11040 (eval $ac_compile) 2>&5
11042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11043 (exit $ac_status); } 2>conftest.err; then
11046 libobjs=conftest.$ac_objext
11048 wl=$lt_prog_compiler_wl_CXX
11054 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
11055 allow_undefined_flag_CXX=
11056 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
11057 (eval $archive_cmds_CXX 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
11059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11060 (exit $ac_status); }
11062 archive_cmds_need_lc_CXX=no
11064 archive_cmds_need_lc_CXX=yes
11066 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
11068 cat conftest.err 1>&5
11071 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
11072 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
11079 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11080 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11081 hardcode_action_CXX=
11082 if test -n "$hardcode_libdir_flag_spec_CXX" || \
11083 test -n "$runpath_var CXX" || \
11084 test "X$hardcode_automatic_CXX"="Xyes" ; then
11086 # We can hardcode non-existant directories.
11087 if test "$hardcode_direct_CXX" != no &&
11088 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11089 # have to relink, otherwise we might link with an installed library
11090 # when we should be linking with a yet-to-be-installed one
11091 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
11092 test "$hardcode_minus_L_CXX" != no; then
11093 # Linking always hardcodes the temporary library directory.
11094 hardcode_action_CXX=relink
11096 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11097 hardcode_action_CXX=immediate
11100 # We cannot hardcode anything, or else we can only hardcode existing
11102 hardcode_action_CXX=unsupported
11104 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
11105 echo "${ECHO_T}$hardcode_action_CXX" >&6
11107 if test "$hardcode_action_CXX" = relink; then
11108 # Fast installation is not supported
11109 enable_fast_install=no
11110 elif test "$shlibpath_overrides_runpath" = yes ||
11111 test "$enable_shared" = no; then
11112 # Fast installation is not necessary
11113 enable_fast_install=needless
11118 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11119 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11120 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
11121 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11122 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11123 echo "$as_me:$LINENO: result: yes" >&5
11124 echo "${ECHO_T}yes" >&6
11126 # FIXME - insert some real tests, host_os isn't really good enough
11129 if test -n "$STRIP" ; then
11130 striplib="$STRIP -x"
11131 echo "$as_me:$LINENO: result: yes" >&5
11132 echo "${ECHO_T}yes" >&6
11134 echo "$as_me:$LINENO: result: no" >&5
11135 echo "${ECHO_T}no" >&6
11139 echo "$as_me:$LINENO: result: no" >&5
11140 echo "${ECHO_T}no" >&6
11145 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
11146 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
11147 library_names_spec=
11148 libname_spec='lib$name'
11152 postuninstall_cmds=
11156 shlibpath_overrides_runpath=unknown
11158 dynamic_linker="$host_os ld.so"
11159 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11160 if test "$GCC" = yes; then
11161 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11162 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
11163 # if the path contains ";" then we assume it to be the separator
11164 # otherwise default to the standard path separator (i.e. ":") - it is
11165 # assumed that no part of a normal pathname contains ";" but that should
11166 # okay in the real world where ";" in dirpaths is itself problematic.
11167 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11169 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11172 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11174 need_lib_prefix=unknown
11175 hardcode_into_libs=no
11177 # when you set need_version to no, make sure it does not cause -set_version
11178 # flags to be left without arguments
11179 need_version=unknown
11184 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11185 shlibpath_var=LIBPATH
11187 # AIX 3 has no versioning support, so we append a major version to the name.
11188 soname_spec='${libname}${release}${shared_ext}$major'
11195 hardcode_into_libs=yes
11196 if test "$host_cpu" = ia64; then
11197 # AIX 5 supports IA64
11198 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11199 shlibpath_var=LD_LIBRARY_PATH
11201 # With GCC up to 2.95.x, collect2 would create an import file
11202 # for dependence libraries. The import file would start with
11203 # the line `#! .'. This would cause the generated library to
11204 # depend on `.', always an invalid library. This was fixed in
11205 # development snapshots of GCC prior to 3.0.
11207 aix4 | aix4.[01] | aix4.[01].*)
11208 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11210 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
11213 can_build_shared=no
11217 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11218 # soname into executable. Probably we can add versioning support to
11219 # collect2, so additional links can be useful in future.
11220 if test "$aix_use_runtimelinking" = yes; then
11221 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11222 # instead of lib<name>.a to let people know that these are not
11223 # typical AIX shared libraries.
11224 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11226 # We preserve .a as extension for shared libraries through AIX4.2
11227 # and later when we are not doing run time linking.
11228 library_names_spec='${libname}${release}.a $libname.a'
11229 soname_spec='${libname}${release}${shared_ext}$major'
11231 shlibpath_var=LIBPATH
11236 library_names_spec='$libname.ixlibrary $libname.a'
11237 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11238 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'
11242 library_names_spec='${libname}${shared_ext}'
11243 dynamic_linker="$host_os ld.so"
11244 shlibpath_var=LIBRARY_PATH
11250 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11251 soname_spec='${libname}${release}${shared_ext}$major'
11252 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11253 shlibpath_var=LD_LIBRARY_PATH
11254 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11255 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11256 # the default ld.so.conf also contains /usr/contrib/lib and
11257 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11258 # libtool to hard-code these into programs
11261 cygwin* | mingw* | pw32*)
11262 version_type=windows
11267 case $GCC,$host_os in
11268 yes,cygwin* | yes,mingw* | yes,pw32*)
11269 library_names_spec='$libname.dll.a'
11270 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11271 postinstall_cmds='base_file=`basename \${file}`~
11272 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11273 dldir=$destdir/`dirname \$dlpath`~
11274 test -d \$dldir || mkdir -p \$dldir~
11275 $install_prog $dir/$dlname \$dldir/$dlname'
11276 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11277 dlpath=$dir/\$dldll~
11279 shlibpath_overrides_runpath=yes
11283 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11284 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11285 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
11288 # MinGW DLLs use traditional 'lib' prefix
11289 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11290 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
11291 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
11292 # It is most probably a Windows format PATH printed by
11293 # mingw gcc, but we are running on Cygwin. Gcc prints its search
11294 # path with ; separators, and with drive letters. We can handle the
11295 # drive letters (cygwin fileutils understands them), so leave them,
11296 # especially as we might pass files found there to a mingw objdump,
11297 # which wouldn't understand a cygwinified path. Ahh.
11298 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11300 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11304 # pw32 DLLs use 'pw' prefix rather than 'lib'
11305 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
11311 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11314 dynamic_linker='Win32 ld.exe'
11315 # FIXME: first we should search . and the directory the executable is in
11319 darwin* | rhapsody*)
11320 dynamic_linker="$host_os dyld"
11321 version_type=darwin
11324 # FIXME: Relying on posixy $() will cause problems for
11325 # cross-compilation, but unfortunately the echo tests do not
11326 # yet detect zsh echo's removal of \ escapes.
11327 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11328 soname_spec='${libname}${release}${major}$shared_ext'
11329 shlibpath_overrides_runpath=yes
11330 shlibpath_var=DYLD_LIBRARY_PATH
11331 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
11332 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11333 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
11334 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"`
11336 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11343 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11344 soname_spec='${libname}${release}${shared_ext}$major'
11345 shlibpath_var=LD_LIBRARY_PATH
11353 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
11354 version_type=freebsd-$objformat
11355 case $version_type in
11357 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11362 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11366 shlibpath_var=LD_LIBRARY_PATH
11369 shlibpath_overrides_runpath=yes
11371 freebsd3.01* | freebsdelf3.01*)
11372 shlibpath_overrides_runpath=yes
11373 hardcode_into_libs=yes
11376 shlibpath_overrides_runpath=no
11377 hardcode_into_libs=yes
11386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11387 soname_spec='${libname}${release}${shared_ext}$major'
11388 shlibpath_var=LD_LIBRARY_PATH
11389 hardcode_into_libs=yes
11392 hpux9* | hpux10* | hpux11*)
11393 # Give a soname corresponding to the major version so that dld.sl refuses to
11394 # link against other versions.
11398 case "$host_cpu" in
11401 hardcode_into_libs=yes
11402 dynamic_linker="$host_os dld.so"
11403 shlibpath_var=LD_LIBRARY_PATH
11404 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11405 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11406 soname_spec='${libname}${release}${shared_ext}$major'
11407 if test "X$HPUX_IA64_MODE" = X32; then
11408 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11410 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11412 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11416 hardcode_into_libs=yes
11417 dynamic_linker="$host_os dld.sl"
11418 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11419 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11421 soname_spec='${libname}${release}${shared_ext}$major'
11422 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11423 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11427 dynamic_linker="$host_os dld.sl"
11428 shlibpath_var=SHLIB_PATH
11429 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11431 soname_spec='${libname}${release}${shared_ext}$major'
11434 # HP-UX runs *really* slowly unless shared libraries are mode 555.
11435 postinstall_cmds='chmod 555 $lib'
11438 irix5* | irix6* | nonstopux*)
11440 nonstopux*) version_type=nonstopux ;;
11442 if test "$lt_cv_prog_gnu_ld" = yes; then
11450 soname_spec='${libname}${release}${shared_ext}$major'
11451 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11453 irix5* | nonstopux*)
11454 libsuff= shlibsuff=
11457 case $LD in # libtool.m4 will add one of these switches to LD
11458 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11459 libsuff= shlibsuff= libmagic=32-bit;;
11460 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11461 libsuff=32 shlibsuff=N32 libmagic=N32;;
11462 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11463 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11464 *) libsuff= shlibsuff= libmagic=never-match;;
11468 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11469 shlibpath_overrides_runpath=no
11470 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11471 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11472 hardcode_into_libs=yes
11475 # No shared lib support for Linux oldld, aout, or coff.
11476 linux*oldld* | linux*aout* | linux*coff*)
11480 # This must be Linux ELF.
11485 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11486 soname_spec='${libname}${release}${shared_ext}$major'
11487 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11488 shlibpath_var=LD_LIBRARY_PATH
11489 shlibpath_overrides_runpath=no
11490 # This implies no fast_install, which is unacceptable.
11491 # Some rework will be needed to allow for fast_install
11492 # before this can be enabled.
11493 hardcode_into_libs=yes
11495 # We used to test for /lib/ld.so.1 and disable shared libraries on
11496 # powerpc, because MkLinux only supported shared libraries with the
11497 # GNU dynamic linker. Since this was broken with cross compilers,
11498 # most powerpc-linux boxes support dynamic linking these days and
11499 # people can always --disable-shared, the test was removed, and we
11500 # assume the GNU/Linux dynamic linker is in use.
11501 dynamic_linker='GNU/Linux ld.so'
11508 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
11509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11510 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11511 dynamic_linker='NetBSD (a.out) ld.so'
11513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
11514 soname_spec='${libname}${release}${shared_ext}$major'
11515 dynamic_linker='NetBSD ld.elf_so'
11517 shlibpath_var=LD_LIBRARY_PATH
11518 shlibpath_overrides_runpath=yes
11519 hardcode_into_libs=yes
11524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11525 shlibpath_var=LD_LIBRARY_PATH
11526 shlibpath_overrides_runpath=yes
11533 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11534 soname_spec='${libname}${release}${shared_ext}$major'
11535 shlibpath_var=LD_LIBRARY_PATH
11536 shlibpath_overrides_runpath=yes
11543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11544 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11545 shlibpath_var=LD_LIBRARY_PATH
11546 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11548 openbsd2.[89] | openbsd2.[89].*)
11549 shlibpath_overrides_runpath=no
11552 shlibpath_overrides_runpath=yes
11556 shlibpath_overrides_runpath=yes
11561 libname_spec='$name'
11564 library_names_spec='$libname${shared_ext} $libname.a'
11565 dynamic_linker='OS/2 ld.exe'
11566 shlibpath_var=LIBPATH
11569 osf3* | osf4* | osf5*)
11573 soname_spec='${libname}${release}${shared_ext}$major'
11574 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11575 shlibpath_var=LD_LIBRARY_PATH
11576 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11577 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11582 soname_spec='${libname}${release}${shared_ext}$major'
11583 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11584 shlibpath_var=LD_LIBRARY_PATH
11591 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11592 soname_spec='${libname}${release}${shared_ext}$major'
11593 shlibpath_var=LD_LIBRARY_PATH
11594 shlibpath_overrides_runpath=yes
11595 hardcode_into_libs=yes
11596 # ldd complains unless libraries are executable
11597 postinstall_cmds='chmod +x $lib'
11602 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11603 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11604 shlibpath_var=LD_LIBRARY_PATH
11605 shlibpath_overrides_runpath=yes
11606 if test "$with_gnu_ld" = yes; then
11612 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
11614 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11615 soname_spec='${libname}${release}${shared_ext}$major'
11616 shlibpath_var=LD_LIBRARY_PATH
11617 case $host_vendor in
11619 shlibpath_overrides_runpath=no
11621 export_dynamic_flag_spec='${wl}-Blargedynsym'
11622 runpath_var=LD_RUN_PATH
11630 shlibpath_overrides_runpath=no
11631 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11637 if test -d /usr/nec ;then
11639 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11640 soname_spec='$libname${shared_ext}.$major'
11641 shlibpath_var=LD_LIBRARY_PATH
11647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11648 soname_spec='${libname}${release}${shared_ext}$major'
11649 shlibpath_var=LD_LIBRARY_PATH
11656 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11657 echo "${ECHO_T}$dynamic_linker" >&6
11658 test "$dynamic_linker" = no && can_build_shared=no
11660 if test "x$enable_dlopen" != xyes; then
11661 enable_dlopen=unknown
11662 enable_dlopen_self=unknown
11663 enable_dlopen_self_static=unknown
11670 lt_cv_dlopen="load_add_on"
11672 lt_cv_dlopen_self=yes
11676 lt_cv_dlopen="LoadLibrary"
11681 lt_cv_dlopen="dlopen"
11686 # if libdl is installed we need to link against it
11687 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11688 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11689 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11690 echo $ECHO_N "(cached) $ECHO_C" >&6
11692 ac_check_lib_save_LIBS=$LIBS
11694 cat >conftest.$ac_ext <<_ACEOF
11695 #line $LINENO "configure"
11698 cat confdefs.h >>conftest.$ac_ext
11699 cat >>conftest.$ac_ext <<_ACEOF
11700 /* end confdefs.h. */
11702 /* Override any gcc2 internal prototype to avoid an error. */
11706 /* We use char because int might match the return type of a gcc2
11707 builtin and then its argument prototype would still apply. */
11717 rm -f conftest.$ac_objext conftest$ac_exeext
11718 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11719 (eval $ac_link) 2>&5
11721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11722 (exit $ac_status); } &&
11723 { ac_try='test -s conftest$ac_exeext'
11724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11725 (eval $ac_try) 2>&5
11727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11728 (exit $ac_status); }; }; then
11729 ac_cv_lib_dl_dlopen=yes
11731 echo "$as_me: failed program was:" >&5
11732 sed 's/^/| /' conftest.$ac_ext >&5
11734 ac_cv_lib_dl_dlopen=no
11736 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11737 LIBS=$ac_check_lib_save_LIBS
11739 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11740 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11741 if test $ac_cv_lib_dl_dlopen = yes; then
11742 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11745 lt_cv_dlopen="dyld"
11747 lt_cv_dlopen_self=yes
11754 echo "$as_me:$LINENO: checking for shl_load" >&5
11755 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
11756 if test "${ac_cv_func_shl_load+set}" = set; then
11757 echo $ECHO_N "(cached) $ECHO_C" >&6
11759 cat >conftest.$ac_ext <<_ACEOF
11760 #line $LINENO "configure"
11763 cat confdefs.h >>conftest.$ac_ext
11764 cat >>conftest.$ac_ext <<_ACEOF
11765 /* end confdefs.h. */
11766 /* System header to define __stub macros and hopefully few prototypes,
11767 which can conflict with char shl_load (); below.
11768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11769 <limits.h> exists even on freestanding compilers. */
11771 # include <limits.h>
11773 # include <assert.h>
11775 /* Override any gcc2 internal prototype to avoid an error. */
11780 /* We use char because int might match the return type of a gcc2
11781 builtin and then its argument prototype would still apply. */
11783 /* The GNU C library defines this for functions which it implements
11784 to always fail with ENOSYS. Some functions are actually named
11785 something starting with __ and the normal name is an alias. */
11786 #if defined (__stub_shl_load) || defined (__stub___shl_load)
11789 char (*f) () = shl_load;
11798 return f != shl_load;
11803 rm -f conftest.$ac_objext conftest$ac_exeext
11804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11805 (eval $ac_link) 2>&5
11807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11808 (exit $ac_status); } &&
11809 { ac_try='test -s conftest$ac_exeext'
11810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11811 (eval $ac_try) 2>&5
11813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11814 (exit $ac_status); }; }; then
11815 ac_cv_func_shl_load=yes
11817 echo "$as_me: failed program was:" >&5
11818 sed 's/^/| /' conftest.$ac_ext >&5
11820 ac_cv_func_shl_load=no
11822 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11824 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
11825 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
11826 if test $ac_cv_func_shl_load = yes; then
11827 lt_cv_dlopen="shl_load"
11829 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11830 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
11831 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11832 echo $ECHO_N "(cached) $ECHO_C" >&6
11834 ac_check_lib_save_LIBS=$LIBS
11836 cat >conftest.$ac_ext <<_ACEOF
11837 #line $LINENO "configure"
11840 cat confdefs.h >>conftest.$ac_ext
11841 cat >>conftest.$ac_ext <<_ACEOF
11842 /* end confdefs.h. */
11844 /* Override any gcc2 internal prototype to avoid an error. */
11848 /* We use char because int might match the return type of a gcc2
11849 builtin and then its argument prototype would still apply. */
11859 rm -f conftest.$ac_objext conftest$ac_exeext
11860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11861 (eval $ac_link) 2>&5
11863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11864 (exit $ac_status); } &&
11865 { ac_try='test -s conftest$ac_exeext'
11866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11867 (eval $ac_try) 2>&5
11869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11870 (exit $ac_status); }; }; then
11871 ac_cv_lib_dld_shl_load=yes
11873 echo "$as_me: failed program was:" >&5
11874 sed 's/^/| /' conftest.$ac_ext >&5
11876 ac_cv_lib_dld_shl_load=no
11878 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11879 LIBS=$ac_check_lib_save_LIBS
11881 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11882 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
11883 if test $ac_cv_lib_dld_shl_load = yes; then
11884 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
11886 echo "$as_me:$LINENO: checking for dlopen" >&5
11887 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
11888 if test "${ac_cv_func_dlopen+set}" = set; then
11889 echo $ECHO_N "(cached) $ECHO_C" >&6
11891 cat >conftest.$ac_ext <<_ACEOF
11892 #line $LINENO "configure"
11895 cat confdefs.h >>conftest.$ac_ext
11896 cat >>conftest.$ac_ext <<_ACEOF
11897 /* end confdefs.h. */
11898 /* System header to define __stub macros and hopefully few prototypes,
11899 which can conflict with char dlopen (); below.
11900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11901 <limits.h> exists even on freestanding compilers. */
11903 # include <limits.h>
11905 # include <assert.h>
11907 /* Override any gcc2 internal prototype to avoid an error. */
11912 /* We use char because int might match the return type of a gcc2
11913 builtin and then its argument prototype would still apply. */
11915 /* The GNU C library defines this for functions which it implements
11916 to always fail with ENOSYS. Some functions are actually named
11917 something starting with __ and the normal name is an alias. */
11918 #if defined (__stub_dlopen) || defined (__stub___dlopen)
11921 char (*f) () = dlopen;
11930 return f != dlopen;
11935 rm -f conftest.$ac_objext conftest$ac_exeext
11936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11937 (eval $ac_link) 2>&5
11939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11940 (exit $ac_status); } &&
11941 { ac_try='test -s conftest$ac_exeext'
11942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11943 (eval $ac_try) 2>&5
11945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11946 (exit $ac_status); }; }; then
11947 ac_cv_func_dlopen=yes
11949 echo "$as_me: failed program was:" >&5
11950 sed 's/^/| /' conftest.$ac_ext >&5
11952 ac_cv_func_dlopen=no
11954 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
11956 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
11957 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
11958 if test $ac_cv_func_dlopen = yes; then
11959 lt_cv_dlopen="dlopen"
11961 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11962 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11963 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11964 echo $ECHO_N "(cached) $ECHO_C" >&6
11966 ac_check_lib_save_LIBS=$LIBS
11968 cat >conftest.$ac_ext <<_ACEOF
11969 #line $LINENO "configure"
11972 cat confdefs.h >>conftest.$ac_ext
11973 cat >>conftest.$ac_ext <<_ACEOF
11974 /* end confdefs.h. */
11976 /* Override any gcc2 internal prototype to avoid an error. */
11980 /* We use char because int might match the return type of a gcc2
11981 builtin and then its argument prototype would still apply. */
11991 rm -f conftest.$ac_objext conftest$ac_exeext
11992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11993 (eval $ac_link) 2>&5
11995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11996 (exit $ac_status); } &&
11997 { ac_try='test -s conftest$ac_exeext'
11998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11999 (eval $ac_try) 2>&5
12001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12002 (exit $ac_status); }; }; then
12003 ac_cv_lib_dl_dlopen=yes
12005 echo "$as_me: failed program was:" >&5
12006 sed 's/^/| /' conftest.$ac_ext >&5
12008 ac_cv_lib_dl_dlopen=no
12010 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12011 LIBS=$ac_check_lib_save_LIBS
12013 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
12014 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
12015 if test $ac_cv_lib_dl_dlopen = yes; then
12016 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12018 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
12019 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
12020 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
12021 echo $ECHO_N "(cached) $ECHO_C" >&6
12023 ac_check_lib_save_LIBS=$LIBS
12024 LIBS="-lsvld $LIBS"
12025 cat >conftest.$ac_ext <<_ACEOF
12026 #line $LINENO "configure"
12029 cat confdefs.h >>conftest.$ac_ext
12030 cat >>conftest.$ac_ext <<_ACEOF
12031 /* end confdefs.h. */
12033 /* Override any gcc2 internal prototype to avoid an error. */
12037 /* We use char because int might match the return type of a gcc2
12038 builtin and then its argument prototype would still apply. */
12048 rm -f conftest.$ac_objext conftest$ac_exeext
12049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12050 (eval $ac_link) 2>&5
12052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12053 (exit $ac_status); } &&
12054 { ac_try='test -s conftest$ac_exeext'
12055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12056 (eval $ac_try) 2>&5
12058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12059 (exit $ac_status); }; }; then
12060 ac_cv_lib_svld_dlopen=yes
12062 echo "$as_me: failed program was:" >&5
12063 sed 's/^/| /' conftest.$ac_ext >&5
12065 ac_cv_lib_svld_dlopen=no
12067 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12068 LIBS=$ac_check_lib_save_LIBS
12070 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
12071 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
12072 if test $ac_cv_lib_svld_dlopen = yes; then
12073 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12075 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
12076 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
12077 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
12078 echo $ECHO_N "(cached) $ECHO_C" >&6
12080 ac_check_lib_save_LIBS=$LIBS
12082 cat >conftest.$ac_ext <<_ACEOF
12083 #line $LINENO "configure"
12086 cat confdefs.h >>conftest.$ac_ext
12087 cat >>conftest.$ac_ext <<_ACEOF
12088 /* end confdefs.h. */
12090 /* Override any gcc2 internal prototype to avoid an error. */
12094 /* We use char because int might match the return type of a gcc2
12095 builtin and then its argument prototype would still apply. */
12105 rm -f conftest.$ac_objext conftest$ac_exeext
12106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12107 (eval $ac_link) 2>&5
12109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12110 (exit $ac_status); } &&
12111 { ac_try='test -s conftest$ac_exeext'
12112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12113 (eval $ac_try) 2>&5
12115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12116 (exit $ac_status); }; }; then
12117 ac_cv_lib_dld_dld_link=yes
12119 echo "$as_me: failed program was:" >&5
12120 sed 's/^/| /' conftest.$ac_ext >&5
12122 ac_cv_lib_dld_dld_link=no
12124 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
12125 LIBS=$ac_check_lib_save_LIBS
12127 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
12128 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
12129 if test $ac_cv_lib_dld_dld_link = yes; then
12130 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
12151 if test "x$lt_cv_dlopen" != xno; then
12157 case $lt_cv_dlopen in
12159 save_CPPFLAGS="$CPPFLAGS"
12160 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12162 save_LDFLAGS="$LDFLAGS"
12163 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12166 LIBS="$lt_cv_dlopen_libs $LIBS"
12168 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
12169 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
12170 if test "${lt_cv_dlopen_self+set}" = set; then
12171 echo $ECHO_N "(cached) $ECHO_C" >&6
12173 if test "$cross_compiling" = yes; then :
12174 lt_cv_dlopen_self=cross
12176 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12177 lt_status=$lt_dlunknown
12178 cat > conftest.$ac_ext <<EOF
12179 #line 12179 "configure"
12180 #include "confdefs.h"
12189 # define LT_DLGLOBAL RTLD_GLOBAL
12192 # define LT_DLGLOBAL DL_GLOBAL
12194 # define LT_DLGLOBAL 0
12198 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12199 find out it does not work in some platform. */
12200 #ifndef LT_DLLAZY_OR_NOW
12202 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12205 # define LT_DLLAZY_OR_NOW DL_LAZY
12208 # define LT_DLLAZY_OR_NOW RTLD_NOW
12211 # define LT_DLLAZY_OR_NOW DL_NOW
12213 # define LT_DLLAZY_OR_NOW 0
12221 extern "C" void exit (int);
12224 void fnord() { int i=42;}
12227 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12228 int status = $lt_dlunknown;
12232 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12233 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12234 /* dlclose (self); */
12240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12241 (eval $ac_link) 2>&5
12243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12244 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12245 (./conftest; exit; ) 2>/dev/null
12247 case x$lt_status in
12248 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12249 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12250 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
12253 # compilation failed
12254 lt_cv_dlopen_self=no
12261 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
12262 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
12264 if test "x$lt_cv_dlopen_self" = xyes; then
12265 LDFLAGS="$LDFLAGS $link_static_flag"
12266 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
12267 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
12268 if test "${lt_cv_dlopen_self_static+set}" = set; then
12269 echo $ECHO_N "(cached) $ECHO_C" >&6
12271 if test "$cross_compiling" = yes; then :
12272 lt_cv_dlopen_self_static=cross
12274 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12275 lt_status=$lt_dlunknown
12276 cat > conftest.$ac_ext <<EOF
12277 #line 12277 "configure"
12278 #include "confdefs.h"
12287 # define LT_DLGLOBAL RTLD_GLOBAL
12290 # define LT_DLGLOBAL DL_GLOBAL
12292 # define LT_DLGLOBAL 0
12296 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12297 find out it does not work in some platform. */
12298 #ifndef LT_DLLAZY_OR_NOW
12300 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12303 # define LT_DLLAZY_OR_NOW DL_LAZY
12306 # define LT_DLLAZY_OR_NOW RTLD_NOW
12309 # define LT_DLLAZY_OR_NOW DL_NOW
12311 # define LT_DLLAZY_OR_NOW 0
12319 extern "C" void exit (int);
12322 void fnord() { int i=42;}
12325 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12326 int status = $lt_dlunknown;
12330 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12331 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12332 /* dlclose (self); */
12338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12339 (eval $ac_link) 2>&5
12341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12342 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12343 (./conftest; exit; ) 2>/dev/null
12345 case x$lt_status in
12346 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12347 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12348 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
12351 # compilation failed
12352 lt_cv_dlopen_self_static=no
12359 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
12360 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
12363 CPPFLAGS="$save_CPPFLAGS"
12364 LDFLAGS="$save_LDFLAGS"
12369 case $lt_cv_dlopen_self in
12370 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12371 *) enable_dlopen_self=unknown ;;
12374 case $lt_cv_dlopen_self_static in
12375 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12376 *) enable_dlopen_self_static=unknown ;;
12381 # The else clause should only fire when bootstrapping the
12382 # libtool distribution, otherwise you forgot to ship ltmain.sh
12383 # with your package, and you will get complaints that there are
12384 # no rules to generate ltmain.sh.
12385 if test -f "$ltmain"; then
12386 # See if we are running on zsh, and set the options which allow our commands through
12387 # without removal of \ escapes.
12388 if test -n "${ZSH_VERSION+set}" ; then
12389 setopt NO_GLOB_SUBST
12391 # Now quote all the things that may contain metacharacters while being
12392 # careful not to overquote the AC_SUBSTed values. We take copies of the
12393 # variables and quote the copies for generation of the libtool script.
12394 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
12395 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
12396 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
12397 deplibs_check_method reload_flag reload_cmds need_locks \
12398 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
12399 lt_cv_sys_global_symbol_to_c_name_address \
12400 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
12401 old_postinstall_cmds old_postuninstall_cmds \
12405 lt_prog_compiler_wl_CXX \
12406 lt_prog_compiler_pic_CXX \
12407 lt_prog_compiler_static_CXX \
12408 lt_prog_compiler_no_builtin_flag_CXX \
12409 export_dynamic_flag_spec_CXX \
12410 thread_safe_flag_spec_CXX \
12411 whole_archive_flag_spec_CXX \
12412 enable_shared_with_static_runtimes_CXX \
12413 old_archive_cmds_CXX \
12414 old_archive_from_new_cmds_CXX \
12415 predep_objects_CXX \
12416 postdep_objects_CXX \
12419 compiler_lib_search_path_CXX \
12421 archive_expsym_cmds_CXX \
12422 postinstall_cmds_CXX \
12423 postuninstall_cmds_CXX \
12424 old_archive_from_expsyms_cmds_CXX \
12425 allow_undefined_flag_CXX \
12426 no_undefined_flag_CXX \
12427 export_symbols_cmds_CXX \
12428 hardcode_libdir_flag_spec_CXX \
12429 hardcode_libdir_flag_spec_ld_CXX \
12430 hardcode_libdir_separator_CXX \
12431 hardcode_automatic_CXX \
12433 module_expsym_cmds_CXX \
12434 lt_cv_prog_compiler_c_o_CXX \
12435 exclude_expsyms_CXX \
12436 include_expsyms_CXX; do
12439 old_archive_cmds_CXX | \
12440 old_archive_from_new_cmds_CXX | \
12441 archive_cmds_CXX | \
12442 archive_expsym_cmds_CXX | \
12443 module_cmds_CXX | \
12444 module_expsym_cmds_CXX | \
12445 old_archive_from_expsyms_cmds_CXX | \
12446 export_symbols_cmds_CXX | \
12447 extract_expsyms_cmds | reload_cmds | finish_cmds | \
12448 postinstall_cmds | postuninstall_cmds | \
12449 old_postinstall_cmds | old_postuninstall_cmds | \
12450 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
12451 # Double-quote double-evaled strings.
12452 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
12455 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
12461 *'\$0 --fallback-echo"')
12462 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
12468 cat <<__EOF__ >> "$cfgfile"
12469 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
12471 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12473 # Shell to use when invoking shell scripts.
12476 # Whether or not to build shared libraries.
12477 build_libtool_libs=$enable_shared
12479 # Whether or not to build static libraries.
12480 build_old_libs=$enable_static
12482 # Whether or not to add -lc for building shared libraries.
12483 build_libtool_need_lc=$archive_cmds_need_lc_CXX
12485 # Whether or not to disallow shared libs when runtime libs are static
12486 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
12488 # Whether or not to optimize for fast installation.
12489 fast_install=$enable_fast_install
12492 host_alias=$host_alias
12495 # An echo program that does not interpret backslashes.
12500 AR_FLAGS=$lt_AR_FLAGS
12505 # A language-specific compiler.
12506 CC=$lt_compiler_CXX
12508 # Is the compiler the GNU C compiler?
12514 # The linker used to build libraries.
12517 # Whether we need hard or soft links.
12520 # A BSD-compatible nm program.
12523 # A symbol stripping program
12526 # Used to examine libraries when file_magic_cmd begins "file"
12527 MAGIC_CMD=$MAGIC_CMD
12529 # Used on cygwin: DLL creation program.
12532 # Used on cygwin: object dumper.
12535 # Used on cygwin: assembler.
12538 # The name of the directory that contains temporary libtool files.
12541 # How to create reloadable object files.
12542 reload_flag=$lt_reload_flag
12543 reload_cmds=$lt_reload_cmds
12545 # How to pass a linker flag through the compiler.
12546 wl=$lt_lt_prog_compiler_wl_CXX
12548 # Object file suffix (normally "o").
12549 objext="$ac_objext"
12551 # Old archive suffix (normally "a").
12554 # Shared library suffix (normally ".so").
12557 # Executable file suffix (normally "").
12560 # Additional compiler flags for building library objects.
12561 pic_flag=$lt_lt_prog_compiler_pic_CXX
12564 # What is the maximum length of a command?
12565 max_cmd_len=$lt_cv_sys_max_cmd_len
12567 # Does compiler simultaneously support -c and -o options?
12568 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12570 # Must we lock files when doing compilation ?
12571 need_locks=$lt_need_locks
12573 # Do we need the lib prefix for modules?
12574 need_lib_prefix=$need_lib_prefix
12576 # Do we need a version for libraries?
12577 need_version=$need_version
12579 # Whether dlopen is supported.
12580 dlopen_support=$enable_dlopen
12582 # Whether dlopen of programs is supported.
12583 dlopen_self=$enable_dlopen_self
12585 # Whether dlopen of statically linked programs is supported.
12586 dlopen_self_static=$enable_dlopen_self_static
12588 # Compiler flag to prevent dynamic linking.
12589 link_static_flag=$lt_lt_prog_compiler_static_CXX
12591 # Compiler flag to turn off builtin functions.
12592 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
12594 # Compiler flag to allow reflexive dlopens.
12595 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
12597 # Compiler flag to generate shared objects directly from archives.
12598 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
12600 # Compiler flag to generate thread-safe objects.
12601 thread_safe_flag_spec=$lt_thread_safe_flag_spec_CXX
12603 # Library versioning type.
12604 version_type=$version_type
12606 # Format of library name prefix.
12607 libname_spec=$lt_libname_spec
12609 # List of archive names. First name is the real one, the rest are links.
12610 # The last name is the one that the linker finds with -lNAME.
12611 library_names_spec=$lt_library_names_spec
12613 # The coded name of the library, if different from the real name.
12614 soname_spec=$lt_soname_spec
12616 # Commands used to build and install an old-style archive.
12618 old_archive_cmds=$lt_old_archive_cmds_CXX
12619 old_postinstall_cmds=$lt_old_postinstall_cmds
12620 old_postuninstall_cmds=$lt_old_postuninstall_cmds
12622 # Create an old-style archive from a shared archive.
12623 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
12625 # Create a temporary old-style archive to link instead of a shared archive.
12626 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
12628 # Commands used to build and install a shared archive.
12629 archive_cmds=$lt_archive_cmds_CXX
12630 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
12631 postinstall_cmds=$lt_postinstall_cmds
12632 postuninstall_cmds=$lt_postuninstall_cmds
12634 # Commands used to build a loadable module (assumed same as above if empty)
12635 module_cmds=$lt_module_cmds_CXX
12636 module_expsym_cmds=$lt_module_expsym_cmds_CXX
12638 # Commands to strip libraries.
12639 old_striplib=$lt_old_striplib
12640 striplib=$lt_striplib
12642 # Dependencies to place before the objects being linked to create a
12644 predep_objects=$lt_predep_objects_CXX
12646 # Dependencies to place after the objects being linked to create a
12648 postdep_objects=$lt_postdep_objects_CXX
12650 # Dependencies to place before the objects being linked to create a
12652 predeps=$lt_predeps_CXX
12654 # Dependencies to place after the objects being linked to create a
12656 postdeps=$lt_postdeps_CXX
12658 # The library search path used internally by the compiler when linking
12659 # a shared library.
12660 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
12662 # Method to check whether dependent libraries are shared objects.
12663 deplibs_check_method=$lt_deplibs_check_method
12665 # Command to use when deplibs_check_method == file_magic.
12666 file_magic_cmd=$lt_file_magic_cmd
12668 # Flag that allows shared libraries with undefined symbols to be built.
12669 allow_undefined_flag=$lt_allow_undefined_flag_CXX
12671 # Flag that forces no undefined symbols.
12672 no_undefined_flag=$lt_no_undefined_flag_CXX
12674 # Commands used to finish a libtool library installation in a directory.
12675 finish_cmds=$lt_finish_cmds
12677 # Same as above, but a single script fragment to be evaled but not shown.
12678 finish_eval=$lt_finish_eval
12680 # Take the output of nm and produce a listing of raw symbols and C names.
12681 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
12683 # Transform the output of nm in a proper C declaration
12684 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
12686 # Transform the output of nm in a C name address pair
12687 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
12689 # This is the shared library runtime path variable.
12690 runpath_var=$runpath_var
12692 # This is the shared library path variable.
12693 shlibpath_var=$shlibpath_var
12695 # Is shlibpath searched before the hard-coded library search path?
12696 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
12698 # How to hardcode a shared library path into an executable.
12699 hardcode_action=$hardcode_action_CXX
12701 # Whether we should hardcode library paths into libraries.
12702 hardcode_into_libs=$hardcode_into_libs
12704 # Flag to hardcode \$libdir into a binary during linking.
12705 # This must work even if \$libdir does not exist.
12706 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
12708 # If ld is used when linking, flag to hardcode \$libdir into
12709 # a binary during linking. This must work even if \$libdir does
12711 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
12713 # Whether we need a single -rpath flag with a separated argument.
12714 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
12716 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
12717 # resulting binary.
12718 hardcode_direct=$hardcode_direct_CXX
12720 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
12721 # resulting binary.
12722 hardcode_minus_L=$hardcode_minus_L_CXX
12724 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
12725 # the resulting binary.
12726 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
12728 # Set to yes if building a shared library automatically hardcodes DIR into the library
12729 # and all subsequent libraries and executables linked against it.
12730 hardcode_automatic=$hardcode_automatic_CXX
12732 # Variables whose values should be saved in libtool wrapper scripts and
12733 # restored at relink time.
12734 variables_saved_for_relink="$variables_saved_for_relink"
12736 # Whether libtool must link a program against all its dependency libraries.
12737 link_all_deplibs=$link_all_deplibs_CXX
12739 # Compile-time system search path for libraries
12740 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
12742 # Run-time system search path for libraries
12743 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
12745 # Fix the shell variable \$srcfile for the compiler.
12746 fix_srcfile_path="$fix_srcfile_path_CXX"
12748 # Set to yes if exported symbols are required.
12749 always_export_symbols=$always_export_symbols_CXX
12751 # The commands to list exported symbols.
12752 export_symbols_cmds=$lt_export_symbols_cmds_CXX
12754 # The commands to extract the exported symbol list from a shared archive.
12755 extract_expsyms_cmds=$lt_extract_expsyms_cmds
12757 # Symbols that should not be listed in the preloaded symbols.
12758 exclude_expsyms=$lt_exclude_expsyms_CXX
12760 # Symbols that must always be exported.
12761 include_expsyms=$lt_include_expsyms_CXX
12763 # ### END LIBTOOL TAG CONFIG: $tagname
12769 # If there is no Makefile yet, we rely on a make rule to execute
12770 # `config.status --recheck' to rerun these tests and create the
12771 # libtool script then.
12772 test -f Makefile && make "$ltmain"
12777 ac_cpp='$CPP $CPPFLAGS'
12778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12786 with_gnu_ldcxx=$with_gnu_ld
12787 with_gnu_ld=$lt_save_with_gnu_ld
12788 lt_cv_path_LDCXX=$lt_cv_path_LD
12789 lt_cv_path_LD=$lt_save_path_LD
12790 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
12791 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
12799 if test -n "$F77" && test "X$F77" != "Xno"; then
12802 ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
12803 ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12804 ac_compiler_gnu=$ac_cv_f77_compiler_gnu
12807 archive_cmds_need_lc_F77=no
12808 allow_undefined_flag_F77=
12809 always_export_symbols_F77=no
12810 archive_expsym_cmds_F77=
12811 export_dynamic_flag_spec_F77=
12812 hardcode_direct_F77=no
12813 hardcode_libdir_flag_spec_F77=
12814 hardcode_libdir_flag_spec_ld_F77=
12815 hardcode_libdir_separator_F77=
12816 hardcode_minus_L_F77=no
12817 hardcode_automatic_F77=no
12819 module_expsym_cmds_F77=
12820 link_all_deplibs_F77=unknown
12821 old_archive_cmds_F77=$old_archive_cmds
12822 no_undefined_flag_F77=
12823 whole_archive_flag_spec_F77=
12824 enable_shared_with_static_runtimes_F77=no
12826 # Source file extension for f77 test sources.
12829 # Object file extension for compiled f77 test sources.
12833 # Code to be used in simple compile tests
12834 lt_simple_compile_test_code=" subroutine t\n return\n end\n"
12836 # Code to be used in simple link tests
12837 lt_simple_link_test_code=" program t\n end\n"
12839 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12841 # If no C compiler was specified, use CC.
12844 # Allow CC to be a program name with arguments.
12848 # Allow CC to be a program name with arguments.
12853 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
12855 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
12856 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
12857 echo "$as_me:$LINENO: result: $can_build_shared" >&5
12858 echo "${ECHO_T}$can_build_shared" >&6
12860 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
12861 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
12862 test "$can_build_shared" = "no" && enable_shared=no
12864 # On AIX, shared libraries and static libraries use the same namespace, and
12865 # are all built from PIC.
12868 test "$enable_shared" = yes && enable_static=no
12869 if test -n "$RANLIB"; then
12870 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12871 postinstall_cmds='$RANLIB $lib'
12875 test "$enable_shared" = yes && enable_static=no
12878 echo "$as_me:$LINENO: result: $enable_shared" >&5
12879 echo "${ECHO_T}$enable_shared" >&6
12881 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
12882 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
12883 # Make sure either enable_shared or enable_static is yes.
12884 test "$enable_shared" = yes || enable_static=yes
12885 echo "$as_me:$LINENO: result: $enable_static" >&5
12886 echo "${ECHO_T}$enable_static" >&6
12888 test "$ld_shlibs_F77" = no && can_build_shared=no
12893 lt_prog_compiler_wl_F77=
12894 lt_prog_compiler_pic_F77=
12895 lt_prog_compiler_static_F77=
12897 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12898 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12900 if test "$GCC" = yes; then
12901 lt_prog_compiler_wl_F77='-Wl,'
12902 lt_prog_compiler_static_F77='-static'
12906 # All AIX code is PIC.
12907 if test "$host_cpu" = ia64; then
12908 # AIX 5 now supports IA64 processor
12909 lt_prog_compiler_static_F77='-Bstatic'
12914 # FIXME: we need at least 68020 code to build shared libraries, but
12915 # adding the `-m68020' flag to GCC prevents building anything better,
12917 lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
12920 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12921 # PIC is the default for these OSes.
12924 mingw* | pw32* | os2*)
12925 # This hack is so that the source file can tell whether it is being
12926 # built for inclusion in a dll (and should export symbols for example).
12927 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12930 darwin* | rhapsody*)
12931 # PIC is the default on this platform
12932 # Common symbols not allowed in MH_DYLIB files
12933 lt_prog_compiler_pic_F77='-fno-common'
12937 # Just because we use GCC doesn't mean we suddenly get shared libraries
12938 # on systems that don't support them.
12939 lt_prog_compiler_can_build_shared_F77=no
12944 if test -d /usr/nec; then
12945 lt_prog_compiler_pic_F77=-Kconform_pic
12950 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12951 # not for PA HP-UX.
12952 case "$host_cpu" in
12957 lt_prog_compiler_pic_F77='-fPIC'
12963 lt_prog_compiler_pic_F77='-fPIC'
12967 # PORTME Check for flag to pass linker flags through the system compiler.
12970 lt_prog_compiler_wl_F77='-Wl,'
12971 if test "$host_cpu" = ia64; then
12972 # AIX 5 now supports IA64 processor
12973 lt_prog_compiler_static_F77='-Bstatic'
12975 lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
12979 mingw* | pw32* | os2*)
12980 # This hack is so that the source file can tell whether it is being
12981 # built for inclusion in a dll (and should export symbols for example).
12982 lt_prog_compiler_pic_F77='-DDLL_EXPORT'
12985 hpux9* | hpux10* | hpux11*)
12986 lt_prog_compiler_wl_F77='-Wl,'
12987 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12988 # not for PA HP-UX.
12989 case "$host_cpu" in
12994 lt_prog_compiler_pic_F77='+Z'
12997 # Is there a better lt_prog_compiler_static that works with the bundled CC?
12998 lt_prog_compiler_static_F77='${wl}-a ${wl}archive'
13001 irix5* | irix6* | nonstopux*)
13002 lt_prog_compiler_wl_F77='-Wl,'
13003 # PIC (with -KPIC) is the default.
13004 lt_prog_compiler_static_F77='-non_shared'
13008 lt_prog_compiler_pic_F77='-KPIC'
13009 lt_prog_compiler_static_F77='-Bstatic'
13015 lt_prog_compiler_wl_F77='-Wl,'
13016 lt_prog_compiler_pic_F77='-KPIC'
13017 lt_prog_compiler_static_F77='-static'
13020 lt_prog_compiler_wl_F77='-Wl,'
13021 # All Alpha code is PIC.
13022 lt_prog_compiler_static_F77='-non_shared'
13027 osf3* | osf4* | osf5*)
13028 lt_prog_compiler_wl_F77='-Wl,'
13029 # All OSF/1 code is PIC.
13030 lt_prog_compiler_static_F77='-non_shared'
13034 lt_prog_compiler_pic_F77='-Kpic'
13035 lt_prog_compiler_static_F77='-dn'
13039 lt_prog_compiler_wl_F77='-Wl,'
13040 lt_prog_compiler_pic_F77='-KPIC'
13041 lt_prog_compiler_static_F77='-Bstatic'
13045 lt_prog_compiler_wl_F77='-Qoption ld '
13046 lt_prog_compiler_pic_F77='-PIC'
13047 lt_prog_compiler_static_F77='-Bstatic'
13050 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13051 lt_prog_compiler_wl_F77='-Wl,'
13052 lt_prog_compiler_pic_F77='-KPIC'
13053 lt_prog_compiler_static_F77='-Bstatic'
13057 if test -d /usr/nec ;then
13058 lt_prog_compiler_pic_F77='-Kconform_pic'
13059 lt_prog_compiler_static_F77='-Bstatic'
13064 lt_prog_compiler_pic_F77='-pic'
13065 lt_prog_compiler_static_F77='-Bstatic'
13069 lt_prog_compiler_can_build_shared_F77=no
13074 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_F77" >&5
13075 echo "${ECHO_T}$lt_prog_compiler_pic_F77" >&6
13078 # Check to make sure the PIC flag actually works.
13080 if test -n "$lt_prog_compiler_pic_F77"; then
13081 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works" >&5
13082 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_F77 works... $ECHO_C" >&6
13083 if test "${lt_prog_compiler_pic_works_F77+set}" = set; then
13084 echo $ECHO_N "(cached) $ECHO_C" >&6
13086 lt_prog_compiler_pic_works_F77=no
13087 ac_outfile=conftest.$ac_objext
13088 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13089 lt_compiler_flag="$lt_prog_compiler_pic_F77"
13090 # Insert the option either (1) after the last *FLAGS variable, or
13091 # (2) before a word containing "conftest.", or (3) at the end.
13092 # Note that $ac_compile itself does not contain backslashes and begins
13093 # with a dollar sign (not a hyphen), so the echo should work correctly.
13094 # The option is referenced via a variable to avoid confusing sed.
13095 lt_compile=`echo "$ac_compile" | $SED \
13096 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13097 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13098 -e 's:$: $lt_compiler_flag:'`
13099 (eval echo "\"\$as_me:13099: $lt_compile\"" >&5)
13100 (eval "$lt_compile" 2>conftest.err)
13102 cat conftest.err >&5
13103 echo "$as_me:13103: \$? = $ac_status" >&5
13104 if (exit $ac_status) && test -s "$ac_outfile"; then
13105 # The compiler can only warn and ignore the option if not recognized
13106 # So say no if there are warnings
13107 if test ! -s conftest.err; then
13108 lt_prog_compiler_pic_works_F77=yes
13114 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_F77" >&5
13115 echo "${ECHO_T}$lt_prog_compiler_pic_works_F77" >&6
13117 if test x"$lt_prog_compiler_pic_works_F77" = xyes; then
13118 case $lt_prog_compiler_pic_F77 in
13120 *) lt_prog_compiler_pic_F77=" $lt_prog_compiler_pic_F77" ;;
13123 lt_prog_compiler_pic_F77=
13124 lt_prog_compiler_can_build_shared_F77=no
13129 # For platforms which do not support PIC, -DPIC is meaningless:
13131 lt_prog_compiler_pic_F77=
13134 lt_prog_compiler_pic_F77="$lt_prog_compiler_pic_F77"
13138 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13139 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13140 if test "${lt_cv_prog_compiler_c_o_F77+set}" = set; then
13141 echo $ECHO_N "(cached) $ECHO_C" >&6
13143 lt_cv_prog_compiler_c_o_F77=no
13144 $rm -r conftest 2>/dev/null
13148 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
13150 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
13151 # that will create temporary files in the current directory regardless of
13152 # the output directory. Thus, making CWD read-only will cause this test
13153 # to fail, enabling locking or at least warning the user not to do parallel
13157 lt_compiler_flag="-o out/conftest2.$ac_objext"
13158 # Insert the option either (1) after the last *FLAGS variable, or
13159 # (2) before a word containing "conftest.", or (3) at the end.
13160 # Note that $ac_compile itself does not contain backslashes and begins
13161 # with a dollar sign (not a hyphen), so the echo should work correctly.
13162 lt_compile=`echo "$ac_compile" | $SED \
13163 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
13164 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13165 -e 's:$: $lt_compiler_flag:'`
13166 (eval echo "\"\$as_me:13166: $lt_compile\"" >&5)
13167 (eval "$lt_compile" 2>out/conftest.err)
13169 cat out/conftest.err >&5
13170 echo "$as_me:13170: \$? = $ac_status" >&5
13171 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13173 # The compiler can only warn and ignore the option if not recognized
13174 # So say no if there are warnings
13175 if test ! -s out/conftest.err; then
13176 lt_cv_prog_compiler_c_o_F77=yes
13180 $rm conftest* out/*
13187 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_F77" >&5
13188 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_F77" >&6
13191 hard_links="nottested"
13192 if test "$lt_cv_prog_compiler_c_o_F77" = no && test "$need_locks" != no; then
13193 # do not overwrite the value of need_locks provided by the user
13194 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13195 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13198 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13200 ln conftest.a conftest.b 2>&5 || hard_links=no
13201 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13202 echo "$as_me:$LINENO: result: $hard_links" >&5
13203 echo "${ECHO_T}$hard_links" >&6
13204 if test "$hard_links" = no; then
13205 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13206 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13213 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13214 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13217 allow_undefined_flag_F77=
13218 enable_shared_with_static_runtimes_F77=no
13220 archive_expsym_cmds_F77=
13221 old_archive_From_new_cmds_F77=
13222 old_archive_from_expsyms_cmds_F77=
13223 export_dynamic_flag_spec_F77=
13224 whole_archive_flag_spec_F77=
13225 thread_safe_flag_spec_F77=
13226 hardcode_libdir_flag_spec_F77=
13227 hardcode_libdir_flag_spec_ld_F77=
13228 hardcode_libdir_separator_F77=
13229 hardcode_direct_F77=no
13230 hardcode_minus_L_F77=no
13231 hardcode_shlibpath_var_F77=unsupported
13232 link_all_deplibs_F77=unknown
13233 hardcode_automatic_F77=no
13235 module_expsym_cmds_F77=
13236 always_export_symbols_F77=no
13237 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13238 # include_expsyms should be a list of space-separated symbols to be *always*
13239 # included in the symbol list
13240 include_expsyms_F77=
13241 # exclude_expsyms can be an extended regexp of symbols to exclude
13242 # it will be wrapped by ` (' and `)$', so one must not match beginning or
13243 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
13244 # as well as any symbol that contains `d'.
13245 exclude_expsyms_F77="_GLOBAL_OFFSET_TABLE_"
13246 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
13247 # platforms (ab)use it in PIC code, but their linkers get confused if
13248 # the symbol is explicitly referenced. Since portable code cannot
13249 # rely on this symbol name, it's probably fine to never include it in
13250 # preloaded symbol tables.
13251 extract_expsyms_cmds=
13254 cygwin* | mingw* | pw32*)
13255 # FIXME: the MSVC++ port hasn't been tested in a loooong time
13256 # When not using gcc, we currently assume that we are using
13257 # Microsoft Visual C++.
13258 if test "$GCC" != yes; then
13268 if test "$with_gnu_ld" = yes; then
13269 # If archive_cmds runs LD, not CC, wlarc should be empty
13272 # See if GNU ld supports shared libraries.
13274 aix3* | aix4* | aix5*)
13275 # On AIX/PPC, the GNU linker is very broken
13276 if test "$host_cpu" != ia64; then
13280 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
13281 *** to be unable to reliably create shared libraries on AIX.
13282 *** Therefore, libtool is disabling shared libraries support. If you
13283 *** really care for shared libraries, you may want to modify your PATH
13284 *** so that a non-GNU linker is found, and then restart.
13291 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)'
13292 hardcode_libdir_flag_spec_F77='-L$libdir'
13293 hardcode_minus_L_F77=yes
13295 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
13296 # that the semantics of dynamic libraries on AmigaOS, at least up
13297 # to version 4, is to share data among multiple programs linked
13298 # with the same dynamic library. Since this doesn't match the
13299 # behavior of shared libraries on other platforms, we can't use
13305 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13306 allow_undefined_flag_F77=unsupported
13307 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13308 # support --undefined. This deserves some investigation. FIXME
13309 archive_cmds_F77='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13315 cygwin* | mingw* | pw32*)
13316 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, F77) is actually meaningless,
13317 # as there is no search path for DLLs.
13318 hardcode_libdir_flag_spec_F77='-L$libdir'
13319 allow_undefined_flag_F77=unsupported
13320 always_export_symbols_F77=no
13321 enable_shared_with_static_runtimes_F77=yes
13322 export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13324 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13325 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13326 # If the export-symbols file already is a .def file (1st line
13327 # is EXPORTS), use it as is; otherwise, prepend...
13328 archive_expsym_cmds_F77='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13329 cp $export_symbols $output_objdir/$soname.def;
13331 echo EXPORTS > $output_objdir/$soname.def;
13332 cat $export_symbols >> $output_objdir/$soname.def;
13334 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13341 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13342 archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13345 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13346 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13351 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
13355 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
13356 *** create shared libraries on Solaris systems. Therefore, libtool
13357 *** is disabling shared libraries support. We urge you to upgrade GNU
13358 *** binutils to release 2.9.1 or newer. Another option is to modify
13359 *** your PATH or compiler configuration so that the native linker is
13360 *** used, and then restart.
13363 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13364 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13365 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13372 archive_cmds_F77='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13374 hardcode_direct_F77=yes
13375 hardcode_shlibpath_var_F77=no
13379 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13380 archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13381 archive_expsym_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
13388 if test "$ld_shlibs_F77" = yes; then
13389 runpath_var=LD_RUN_PATH
13390 hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13391 export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13392 # ancient GNU ld didn't support --whole-archive et. al.
13393 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13394 whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13396 whole_archive_flag_spec_F77=
13400 # PORTME fill in a description of your system's linker (not GNU ld)
13403 allow_undefined_flag_F77=unsupported
13404 always_export_symbols_F77=yes
13405 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'
13406 # Note: this linker hardcodes the directories in LIBPATH if there
13407 # are no directories specified by -L.
13408 hardcode_minus_L_F77=yes
13409 if test "$GCC" = yes && test -z "$link_static_flag"; then
13410 # Neither direct hardcoding nor static linking is supported with a
13412 hardcode_direct_F77=unsupported
13417 if test "$host_cpu" = ia64; then
13418 # On IA64, the linker does run time linking by default, so we don't
13419 # have to do anything special.
13420 aix_use_runtimelinking=no
13421 exp_sym_flag='-Bexport'
13424 # If we're using GNU nm, then we don't want the "-C" option.
13425 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13426 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
13427 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'
13429 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'
13431 aix_use_runtimelinking=no
13433 # Test if we are trying to use run time linking or normal
13434 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
13435 # need to do runtime linking.
13436 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
13437 for ld_flag in $LDFLAGS; do
13438 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
13439 aix_use_runtimelinking=yes
13445 exp_sym_flag='-bexport'
13446 no_entry_flag='-bnoentry'
13449 # When large executables or shared objects are built, AIX ld can
13450 # have problems creating the table of contents. If linking a library
13451 # or program results in "error TOC overflow" add -mminimal-toc to
13452 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
13453 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
13455 archive_cmds_F77=''
13456 hardcode_direct_F77=yes
13457 hardcode_libdir_separator_F77=':'
13458 link_all_deplibs_F77=yes
13460 if test "$GCC" = yes; then
13461 case $host_os in aix4.012|aix4.012.*)
13462 # We only want to do this on AIX 4.2 and lower, the check
13463 # below for broken collect2 doesn't work under 4.3+
13464 collect2name=`${CC} -print-prog-name=collect2`
13465 if test -f "$collect2name" && \
13466 strings "$collect2name" | grep resolve_lib_name >/dev/null
13468 # We have reworked collect2
13469 hardcode_direct_F77=yes
13471 # We have old collect2
13472 hardcode_direct_F77=unsupported
13473 # It fails to find uninstalled libraries when the uninstalled
13474 # path is not listed in the libpath. Setting hardcode_minus_L
13475 # to unsupported forces relinking
13476 hardcode_minus_L_F77=yes
13477 hardcode_libdir_flag_spec_F77='-L$libdir'
13478 hardcode_libdir_separator_F77=
13481 shared_flag='-shared'
13484 if test "$host_cpu" = ia64; then
13485 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13486 # chokes on -Wl,-G. The following line is correct:
13489 if test "$aix_use_runtimelinking" = yes; then
13490 shared_flag='${wl}-G'
13492 shared_flag='${wl}-bM:SRE'
13497 # It seems that -bexpall does not export symbols beginning with
13498 # underscore (_), so it is better to generate a list of symbols to export.
13499 always_export_symbols_F77=yes
13500 if test "$aix_use_runtimelinking" = yes; then
13501 # Warning - without using the other runtime loading flags (-brtl),
13502 # -berok will link without error, but may produce a broken library.
13503 allow_undefined_flag_F77='-berok'
13504 # Determine the default libpath from the value encoded in an empty executable.
13505 cat >conftest.$ac_ext <<_ACEOF
13510 rm -f conftest.$ac_objext conftest$ac_exeext
13511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13512 (eval $ac_link) 2>&5
13514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13515 (exit $ac_status); } &&
13516 { ac_try='test -s conftest$ac_exeext'
13517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13518 (eval $ac_try) 2>&5
13520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13521 (exit $ac_status); }; }; then
13523 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13525 # Check for a 64-bit object if we didn't find anything.
13526 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; }
13529 echo "$as_me: failed program was:" >&5
13530 sed 's/^/| /' conftest.$ac_ext >&5
13533 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13534 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13536 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13537 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"
13539 if test "$host_cpu" = ia64; then
13540 hardcode_libdir_flag_spec_F77='${wl}-R $libdir:/usr/lib:/lib'
13541 allow_undefined_flag_F77="-z nodefs"
13542 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"
13544 # Determine the default libpath from the value encoded in an empty executable.
13545 cat >conftest.$ac_ext <<_ACEOF
13550 rm -f conftest.$ac_objext conftest$ac_exeext
13551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13552 (eval $ac_link) 2>&5
13554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13555 (exit $ac_status); } &&
13556 { ac_try='test -s conftest$ac_exeext'
13557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13558 (eval $ac_try) 2>&5
13560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13561 (exit $ac_status); }; }; then
13563 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
13565 # Check for a 64-bit object if we didn't find anything.
13566 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; }
13569 echo "$as_me: failed program was:" >&5
13570 sed 's/^/| /' conftest.$ac_ext >&5
13573 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
13574 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13576 hardcode_libdir_flag_spec_F77='${wl}-blibpath:$libdir:'"$aix_libpath"
13577 # Warning - without using the other run time loading flags,
13578 # -berok will link without error, but may produce a broken library.
13579 no_undefined_flag_F77=' ${wl}-bernotok'
13580 allow_undefined_flag_F77=' ${wl}-berok'
13581 # -bexpall does not export symbols beginning with underscore (_)
13582 always_export_symbols_F77=yes
13583 # Exported symbols can be pulled into shared objects from archives
13584 whole_archive_flag_spec_F77=' '
13585 archive_cmds_need_lc_F77=yes
13586 # This is similar to how AIX traditionally builds it's shared libraries.
13587 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'
13593 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)'
13594 hardcode_libdir_flag_spec_F77='-L$libdir'
13595 hardcode_minus_L_F77=yes
13596 # see comment about different semantics on the GNU ld section
13601 export_dynamic_flag_spec_F77=-rdynamic
13604 cygwin* | mingw* | pw32*)
13605 # When not using gcc, we currently assume that we are using
13606 # Microsoft Visual C++.
13607 # hardcode_libdir_flag_spec is actually meaningless, as there is
13608 # no search path for DLLs.
13609 hardcode_libdir_flag_spec_F77=' '
13610 allow_undefined_flag_F77=unsupported
13611 # Tell ltmain to make .lib files, not .a files.
13613 # Tell ltmain to make .dll files, not .so files.
13615 # FIXME: Setting linknames here is a bad hack.
13616 archive_cmds_F77='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
13617 # The linker will automatically build a .lib file if we build a DLL.
13618 old_archive_From_new_cmds_F77='true'
13619 # FIXME: Should let the user specify the lib program.
13620 old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13621 fix_srcfile_path='`cygpath -w "$srcfile"`'
13622 enable_shared_with_static_runtimes_F77=yes
13625 darwin* | rhapsody*)
13626 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
13627 archive_cmds_need_lc_F77=no
13629 rhapsody* | darwin1.[012])
13630 allow_undefined_flag_F77='-undefined suppress'
13633 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13636 # FIXME: Relying on posixy $() will cause problems for
13637 # cross-compilation, but unfortunately the echo tests do not
13638 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
13639 # `"' quotes if we put them in here... so don't!
13640 lt_int_apple_cc_single_mod=no
13641 output_verbose_link_cmd='echo'
13642 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13643 lt_int_apple_cc_single_mod=yes
13645 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13646 archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13648 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'
13650 module_cmds_F77='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
13651 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13652 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13653 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}'
13655 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}'
13657 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}'
13658 hardcode_direct_F77=no
13659 hardcode_automatic_F77=yes
13660 hardcode_shlibpath_var_F77=unsupported
13661 whole_archive_flag_spec_F77='-all_load $convenience'
13662 link_all_deplibs_F77=yes
13667 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13668 hardcode_libdir_flag_spec_F77='-L$libdir'
13669 hardcode_shlibpath_var_F77=no
13676 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
13677 # support. Future versions do this automatically, but an explicit c++rt0.o
13678 # does not break anything, and helps significantly (at the cost of a little
13681 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
13682 hardcode_libdir_flag_spec_F77='-R$libdir'
13683 hardcode_direct_F77=yes
13684 hardcode_shlibpath_var_F77=no
13687 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
13689 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13690 hardcode_direct_F77=yes
13691 hardcode_minus_L_F77=yes
13692 hardcode_shlibpath_var_F77=no
13695 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13697 archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13698 hardcode_libdir_flag_spec_F77='-R$libdir'
13699 hardcode_direct_F77=yes
13700 hardcode_shlibpath_var_F77=no
13704 if test "$GCC" = yes; then
13705 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'
13707 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'
13709 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13710 hardcode_libdir_separator_F77=:
13711 hardcode_direct_F77=yes
13713 # hardcode_minus_L: Not really in the search PATH,
13714 # but as the default location of the library.
13715 hardcode_minus_L_F77=yes
13716 export_dynamic_flag_spec_F77='${wl}-E'
13720 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13721 case "$host_cpu" in
13723 archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13726 archive_cmds_F77='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
13730 case "$host_cpu" in
13732 archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13735 archive_cmds_F77='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
13739 if test "$with_gnu_ld" = no; then
13740 case "$host_cpu" in
13742 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13743 hardcode_libdir_flag_spec_ld_F77='+b $libdir'
13744 hardcode_libdir_separator_F77=:
13745 hardcode_direct_F77=no
13746 hardcode_shlibpath_var_F77=no
13749 hardcode_libdir_flag_spec_F77='-L$libdir'
13750 hardcode_direct_F77=no
13751 hardcode_shlibpath_var_F77=no
13753 # hardcode_minus_L: Not really in the search PATH,
13754 # but as the default location of the library.
13755 hardcode_minus_L_F77=yes
13758 hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13759 hardcode_libdir_separator_F77=:
13760 hardcode_direct_F77=yes
13761 export_dynamic_flag_spec_F77='${wl}-E'
13763 # hardcode_minus_L: Not really in the search PATH,
13764 # but as the default location of the library.
13765 hardcode_minus_L_F77=yes
13771 irix5* | irix6* | nonstopux*)
13772 if test "$GCC" = yes; then
13773 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'
13775 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'
13776 hardcode_libdir_flag_spec_ld_F77='-rpath $libdir'
13778 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13779 hardcode_libdir_separator_F77=:
13780 link_all_deplibs_F77=yes
13784 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13785 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13787 archive_cmds_F77='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13789 hardcode_libdir_flag_spec_F77='-R$libdir'
13790 hardcode_direct_F77=yes
13791 hardcode_shlibpath_var_F77=no
13795 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13796 hardcode_direct_F77=yes
13797 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13798 hardcode_libdir_separator_F77=:
13799 hardcode_shlibpath_var_F77=no
13803 hardcode_direct_F77=yes
13804 hardcode_shlibpath_var_F77=no
13805 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13806 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13807 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13808 export_dynamic_flag_spec_F77='${wl}-E'
13811 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
13812 archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
13813 hardcode_libdir_flag_spec_F77='-R$libdir'
13816 archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13817 hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
13824 hardcode_libdir_flag_spec_F77='-L$libdir'
13825 hardcode_minus_L_F77=yes
13826 allow_undefined_flag_F77=unsupported
13827 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'
13828 old_archive_From_new_cmds_F77='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
13832 if test "$GCC" = yes; then
13833 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13834 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'
13836 allow_undefined_flag_F77=' -expect_unresolved \*'
13837 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'
13839 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13840 hardcode_libdir_separator_F77=:
13843 osf4* | osf5*) # as osf3* with the addition of -msym flag
13844 if test "$GCC" = yes; then
13845 allow_undefined_flag_F77=' ${wl}-expect_unresolved ${wl}\*'
13846 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'
13847 hardcode_libdir_flag_spec_F77='${wl}-rpath ${wl}$libdir'
13849 allow_undefined_flag_F77=' -expect_unresolved \*'
13850 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'
13851 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~
13852 $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'
13854 # Both c and cxx compiler support -rpath directly
13855 hardcode_libdir_flag_spec_F77='-rpath $libdir'
13857 hardcode_libdir_separator_F77=:
13861 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13862 hardcode_shlibpath_var_F77=no
13863 export_dynamic_flag_spec_F77='${wl}-Bexport'
13864 runpath_var=LD_RUN_PATH
13865 hardcode_runpath_var=yes
13869 no_undefined_flag_F77=' -z text'
13870 if test "$GCC" = yes; then
13871 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13872 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13873 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
13875 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13876 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13877 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13879 hardcode_libdir_flag_spec_F77='-R$libdir'
13880 hardcode_shlibpath_var_F77=no
13882 solaris2.[0-5] | solaris2.[0-5].*) ;;
13883 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
13884 whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
13886 link_all_deplibs_F77=yes
13890 if test "x$host_vendor" = xsequent; then
13891 # Use $CC to link under sequent, because it throws in some extra .o
13892 # files that make .init and .fini sections work.
13893 archive_cmds_F77='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13895 archive_cmds_F77='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13897 hardcode_libdir_flag_spec_F77='-L$libdir'
13898 hardcode_direct_F77=yes
13899 hardcode_minus_L_F77=yes
13900 hardcode_shlibpath_var_F77=no
13904 case $host_vendor in
13906 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13907 hardcode_direct_F77=yes # is this really true???
13910 ## LD is ld it makes a PLAMLIB
13911 ## CC just makes a GrossModule.
13912 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13913 reload_cmds_F77='$CC -r -o $output$reload_objs'
13914 hardcode_direct_F77=no
13917 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13918 hardcode_direct_F77=no #Motorola manual says yes, but my tests say they lie
13921 runpath_var='LD_RUN_PATH'
13922 hardcode_shlibpath_var_F77=no
13926 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13927 hardcode_shlibpath_var_F77=no
13928 export_dynamic_flag_spec_F77='-Bexport'
13932 if test -d /usr/nec; then
13933 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13934 hardcode_shlibpath_var_F77=no
13935 runpath_var=LD_RUN_PATH
13936 hardcode_runpath_var=yes
13942 archive_cmds_F77='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13943 hardcode_direct_F77=yes
13944 hardcode_minus_L_F77=no
13945 hardcode_shlibpath_var_F77=no
13946 hardcode_runpath_var=yes
13947 runpath_var=LD_RUN_PATH
13950 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
13951 no_undefined_flag_F77='${wl}-z ${wl}text'
13952 if test "$GCC" = yes; then
13953 archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13955 archive_cmds_F77='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13957 runpath_var='LD_RUN_PATH'
13958 hardcode_shlibpath_var_F77=no
13962 no_undefined_flag_F77=' -z text'
13963 # $CC -shared without GNU ld will not create a library from C++
13964 # object files and a static libstdc++, better avoid it by now
13965 archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
13966 archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
13967 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
13968 hardcode_libdir_flag_spec_F77=
13969 hardcode_shlibpath_var_F77=no
13970 runpath_var='LD_RUN_PATH'
13974 archive_cmds_F77='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13975 hardcode_libdir_flag_spec_F77='-L$libdir'
13976 hardcode_shlibpath_var_F77=no
13985 echo "$as_me:$LINENO: result: $ld_shlibs_F77" >&5
13986 echo "${ECHO_T}$ld_shlibs_F77" >&6
13987 test "$ld_shlibs_F77" = no && can_build_shared=no
13989 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13990 if test "$GCC" = yes; then
13991 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13995 # Do we need to explicitly link libc?
13997 case "x$archive_cmds_need_lc_F77" in
13999 # Assume -lc should be added
14000 archive_cmds_need_lc_F77=yes
14002 if test "$enable_shared" = yes && test "$GCC" = yes; then
14003 case $archive_cmds_F77 in
14005 # FIXME: we may have to deal with multi-command sequences.
14008 # Test whether the compiler implicitly links with -lc since on some
14009 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14010 # to ld, don't add -lc before -lgcc.
14011 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
14012 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
14014 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
14016 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14017 (eval $ac_compile) 2>&5
14019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14020 (exit $ac_status); } 2>conftest.err; then
14023 libobjs=conftest.$ac_objext
14025 wl=$lt_prog_compiler_wl_F77
14031 lt_save_allow_undefined_flag=$allow_undefined_flag_F77
14032 allow_undefined_flag_F77=
14033 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
14034 (eval $archive_cmds_F77 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
14036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14037 (exit $ac_status); }
14039 archive_cmds_need_lc_F77=no
14041 archive_cmds_need_lc_F77=yes
14043 allow_undefined_flag_F77=$lt_save_allow_undefined_flag
14045 cat conftest.err 1>&5
14048 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_F77" >&5
14049 echo "${ECHO_T}$archive_cmds_need_lc_F77" >&6
14056 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14057 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14058 hardcode_action_F77=
14059 if test -n "$hardcode_libdir_flag_spec_F77" || \
14060 test -n "$runpath_var F77" || \
14061 test "X$hardcode_automatic_F77"="Xyes" ; then
14063 # We can hardcode non-existant directories.
14064 if test "$hardcode_direct_F77" != no &&
14065 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14066 # have to relink, otherwise we might link with an installed library
14067 # when we should be linking with a yet-to-be-installed one
14068 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, F77)" != no &&
14069 test "$hardcode_minus_L_F77" != no; then
14070 # Linking always hardcodes the temporary library directory.
14071 hardcode_action_F77=relink
14073 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14074 hardcode_action_F77=immediate
14077 # We cannot hardcode anything, or else we can only hardcode existing
14079 hardcode_action_F77=unsupported
14081 echo "$as_me:$LINENO: result: $hardcode_action_F77" >&5
14082 echo "${ECHO_T}$hardcode_action_F77" >&6
14084 if test "$hardcode_action_F77" = relink; then
14085 # Fast installation is not supported
14086 enable_fast_install=no
14087 elif test "$shlibpath_overrides_runpath" = yes ||
14088 test "$enable_shared" = no; then
14089 # Fast installation is not necessary
14090 enable_fast_install=needless
14095 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
14096 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
14097 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
14098 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14099 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14100 echo "$as_me:$LINENO: result: yes" >&5
14101 echo "${ECHO_T}yes" >&6
14103 # FIXME - insert some real tests, host_os isn't really good enough
14106 if test -n "$STRIP" ; then
14107 striplib="$STRIP -x"
14108 echo "$as_me:$LINENO: result: yes" >&5
14109 echo "${ECHO_T}yes" >&6
14111 echo "$as_me:$LINENO: result: no" >&5
14112 echo "${ECHO_T}no" >&6
14116 echo "$as_me:$LINENO: result: no" >&5
14117 echo "${ECHO_T}no" >&6
14122 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14123 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
14124 library_names_spec=
14125 libname_spec='lib$name'
14129 postuninstall_cmds=
14133 shlibpath_overrides_runpath=unknown
14135 dynamic_linker="$host_os ld.so"
14136 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14137 if test "$GCC" = yes; then
14138 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14139 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
14140 # if the path contains ";" then we assume it to be the separator
14141 # otherwise default to the standard path separator (i.e. ":") - it is
14142 # assumed that no part of a normal pathname contains ";" but that should
14143 # okay in the real world where ";" in dirpaths is itself problematic.
14144 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14146 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14149 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14151 need_lib_prefix=unknown
14152 hardcode_into_libs=no
14154 # when you set need_version to no, make sure it does not cause -set_version
14155 # flags to be left without arguments
14156 need_version=unknown
14161 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14162 shlibpath_var=LIBPATH
14164 # AIX 3 has no versioning support, so we append a major version to the name.
14165 soname_spec='${libname}${release}${shared_ext}$major'
14172 hardcode_into_libs=yes
14173 if test "$host_cpu" = ia64; then
14174 # AIX 5 supports IA64
14175 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14176 shlibpath_var=LD_LIBRARY_PATH
14178 # With GCC up to 2.95.x, collect2 would create an import file
14179 # for dependence libraries. The import file would start with
14180 # the line `#! .'. This would cause the generated library to
14181 # depend on `.', always an invalid library. This was fixed in
14182 # development snapshots of GCC prior to 3.0.
14184 aix4 | aix4.[01] | aix4.[01].*)
14185 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14187 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
14190 can_build_shared=no
14194 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14195 # soname into executable. Probably we can add versioning support to
14196 # collect2, so additional links can be useful in future.
14197 if test "$aix_use_runtimelinking" = yes; then
14198 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14199 # instead of lib<name>.a to let people know that these are not
14200 # typical AIX shared libraries.
14201 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14203 # We preserve .a as extension for shared libraries through AIX4.2
14204 # and later when we are not doing run time linking.
14205 library_names_spec='${libname}${release}.a $libname.a'
14206 soname_spec='${libname}${release}${shared_ext}$major'
14208 shlibpath_var=LIBPATH
14213 library_names_spec='$libname.ixlibrary $libname.a'
14214 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14215 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'
14219 library_names_spec='${libname}${shared_ext}'
14220 dynamic_linker="$host_os ld.so"
14221 shlibpath_var=LIBRARY_PATH
14227 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14228 soname_spec='${libname}${release}${shared_ext}$major'
14229 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14230 shlibpath_var=LD_LIBRARY_PATH
14231 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14232 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14233 # the default ld.so.conf also contains /usr/contrib/lib and
14234 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14235 # libtool to hard-code these into programs
14238 cygwin* | mingw* | pw32*)
14239 version_type=windows
14244 case $GCC,$host_os in
14245 yes,cygwin* | yes,mingw* | yes,pw32*)
14246 library_names_spec='$libname.dll.a'
14247 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14248 postinstall_cmds='base_file=`basename \${file}`~
14249 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14250 dldir=$destdir/`dirname \$dlpath`~
14251 test -d \$dldir || mkdir -p \$dldir~
14252 $install_prog $dir/$dlname \$dldir/$dlname'
14253 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14254 dlpath=$dir/\$dldll~
14256 shlibpath_overrides_runpath=yes
14260 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14261 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14262 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
14265 # MinGW DLLs use traditional 'lib' prefix
14266 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14267 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
14268 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
14269 # It is most probably a Windows format PATH printed by
14270 # mingw gcc, but we are running on Cygwin. Gcc prints its search
14271 # path with ; separators, and with drive letters. We can handle the
14272 # drive letters (cygwin fileutils understands them), so leave them,
14273 # especially as we might pass files found there to a mingw objdump,
14274 # which wouldn't understand a cygwinified path. Ahh.
14275 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
14277 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
14281 # pw32 DLLs use 'pw' prefix rather than 'lib'
14282 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
14288 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14291 dynamic_linker='Win32 ld.exe'
14292 # FIXME: first we should search . and the directory the executable is in
14296 darwin* | rhapsody*)
14297 dynamic_linker="$host_os dyld"
14298 version_type=darwin
14301 # FIXME: Relying on posixy $() will cause problems for
14302 # cross-compilation, but unfortunately the echo tests do not
14303 # yet detect zsh echo's removal of \ escapes.
14304 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14305 soname_spec='${libname}${release}${major}$shared_ext'
14306 shlibpath_overrides_runpath=yes
14307 shlibpath_var=DYLD_LIBRARY_PATH
14308 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
14309 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14310 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
14311 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"`
14313 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14321 soname_spec='${libname}${release}${shared_ext}$major'
14322 shlibpath_var=LD_LIBRARY_PATH
14330 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
14331 version_type=freebsd-$objformat
14332 case $version_type in
14334 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14339 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14343 shlibpath_var=LD_LIBRARY_PATH
14346 shlibpath_overrides_runpath=yes
14348 freebsd3.01* | freebsdelf3.01*)
14349 shlibpath_overrides_runpath=yes
14350 hardcode_into_libs=yes
14353 shlibpath_overrides_runpath=no
14354 hardcode_into_libs=yes
14363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14364 soname_spec='${libname}${release}${shared_ext}$major'
14365 shlibpath_var=LD_LIBRARY_PATH
14366 hardcode_into_libs=yes
14369 hpux9* | hpux10* | hpux11*)
14370 # Give a soname corresponding to the major version so that dld.sl refuses to
14371 # link against other versions.
14375 case "$host_cpu" in
14378 hardcode_into_libs=yes
14379 dynamic_linker="$host_os dld.so"
14380 shlibpath_var=LD_LIBRARY_PATH
14381 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14382 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14383 soname_spec='${libname}${release}${shared_ext}$major'
14384 if test "X$HPUX_IA64_MODE" = X32; then
14385 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14387 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14389 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14393 hardcode_into_libs=yes
14394 dynamic_linker="$host_os dld.sl"
14395 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14396 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14397 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14398 soname_spec='${libname}${release}${shared_ext}$major'
14399 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14400 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14404 dynamic_linker="$host_os dld.sl"
14405 shlibpath_var=SHLIB_PATH
14406 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14407 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14408 soname_spec='${libname}${release}${shared_ext}$major'
14411 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14412 postinstall_cmds='chmod 555 $lib'
14415 irix5* | irix6* | nonstopux*)
14417 nonstopux*) version_type=nonstopux ;;
14419 if test "$lt_cv_prog_gnu_ld" = yes; then
14427 soname_spec='${libname}${release}${shared_ext}$major'
14428 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14430 irix5* | nonstopux*)
14431 libsuff= shlibsuff=
14434 case $LD in # libtool.m4 will add one of these switches to LD
14435 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14436 libsuff= shlibsuff= libmagic=32-bit;;
14437 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14438 libsuff=32 shlibsuff=N32 libmagic=N32;;
14439 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14440 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14441 *) libsuff= shlibsuff= libmagic=never-match;;
14445 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14446 shlibpath_overrides_runpath=no
14447 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14448 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14449 hardcode_into_libs=yes
14452 # No shared lib support for Linux oldld, aout, or coff.
14453 linux*oldld* | linux*aout* | linux*coff*)
14457 # This must be Linux ELF.
14462 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14463 soname_spec='${libname}${release}${shared_ext}$major'
14464 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14465 shlibpath_var=LD_LIBRARY_PATH
14466 shlibpath_overrides_runpath=no
14467 # This implies no fast_install, which is unacceptable.
14468 # Some rework will be needed to allow for fast_install
14469 # before this can be enabled.
14470 hardcode_into_libs=yes
14472 # We used to test for /lib/ld.so.1 and disable shared libraries on
14473 # powerpc, because MkLinux only supported shared libraries with the
14474 # GNU dynamic linker. Since this was broken with cross compilers,
14475 # most powerpc-linux boxes support dynamic linking these days and
14476 # people can always --disable-shared, the test was removed, and we
14477 # assume the GNU/Linux dynamic linker is in use.
14478 dynamic_linker='GNU/Linux ld.so'
14485 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14486 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14487 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14488 dynamic_linker='NetBSD (a.out) ld.so'
14490 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
14491 soname_spec='${libname}${release}${shared_ext}$major'
14492 dynamic_linker='NetBSD ld.elf_so'
14494 shlibpath_var=LD_LIBRARY_PATH
14495 shlibpath_overrides_runpath=yes
14496 hardcode_into_libs=yes
14501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14502 shlibpath_var=LD_LIBRARY_PATH
14503 shlibpath_overrides_runpath=yes
14510 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14511 soname_spec='${libname}${release}${shared_ext}$major'
14512 shlibpath_var=LD_LIBRARY_PATH
14513 shlibpath_overrides_runpath=yes
14520 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14521 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14522 shlibpath_var=LD_LIBRARY_PATH
14523 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14525 openbsd2.[89] | openbsd2.[89].*)
14526 shlibpath_overrides_runpath=no
14529 shlibpath_overrides_runpath=yes
14533 shlibpath_overrides_runpath=yes
14538 libname_spec='$name'
14541 library_names_spec='$libname${shared_ext} $libname.a'
14542 dynamic_linker='OS/2 ld.exe'
14543 shlibpath_var=LIBPATH
14546 osf3* | osf4* | osf5*)
14550 soname_spec='${libname}${release}${shared_ext}$major'
14551 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14552 shlibpath_var=LD_LIBRARY_PATH
14553 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14554 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14559 soname_spec='${libname}${release}${shared_ext}$major'
14560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14561 shlibpath_var=LD_LIBRARY_PATH
14568 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14569 soname_spec='${libname}${release}${shared_ext}$major'
14570 shlibpath_var=LD_LIBRARY_PATH
14571 shlibpath_overrides_runpath=yes
14572 hardcode_into_libs=yes
14573 # ldd complains unless libraries are executable
14574 postinstall_cmds='chmod +x $lib'
14579 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14580 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14581 shlibpath_var=LD_LIBRARY_PATH
14582 shlibpath_overrides_runpath=yes
14583 if test "$with_gnu_ld" = yes; then
14589 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
14591 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14592 soname_spec='${libname}${release}${shared_ext}$major'
14593 shlibpath_var=LD_LIBRARY_PATH
14594 case $host_vendor in
14596 shlibpath_overrides_runpath=no
14598 export_dynamic_flag_spec='${wl}-Blargedynsym'
14599 runpath_var=LD_RUN_PATH
14607 shlibpath_overrides_runpath=no
14608 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14614 if test -d /usr/nec ;then
14616 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14617 soname_spec='$libname${shared_ext}.$major'
14618 shlibpath_var=LD_LIBRARY_PATH
14624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14625 soname_spec='${libname}${release}${shared_ext}$major'
14626 shlibpath_var=LD_LIBRARY_PATH
14633 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14634 echo "${ECHO_T}$dynamic_linker" >&6
14635 test "$dynamic_linker" = no && can_build_shared=no
14638 # The else clause should only fire when bootstrapping the
14639 # libtool distribution, otherwise you forgot to ship ltmain.sh
14640 # with your package, and you will get complaints that there are
14641 # no rules to generate ltmain.sh.
14642 if test -f "$ltmain"; then
14643 # See if we are running on zsh, and set the options which allow our commands through
14644 # without removal of \ escapes.
14645 if test -n "${ZSH_VERSION+set}" ; then
14646 setopt NO_GLOB_SUBST
14648 # Now quote all the things that may contain metacharacters while being
14649 # careful not to overquote the AC_SUBSTed values. We take copies of the
14650 # variables and quote the copies for generation of the libtool script.
14651 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
14652 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
14653 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
14654 deplibs_check_method reload_flag reload_cmds need_locks \
14655 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
14656 lt_cv_sys_global_symbol_to_c_name_address \
14657 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
14658 old_postinstall_cmds old_postuninstall_cmds \
14662 lt_prog_compiler_wl_F77 \
14663 lt_prog_compiler_pic_F77 \
14664 lt_prog_compiler_static_F77 \
14665 lt_prog_compiler_no_builtin_flag_F77 \
14666 export_dynamic_flag_spec_F77 \
14667 thread_safe_flag_spec_F77 \
14668 whole_archive_flag_spec_F77 \
14669 enable_shared_with_static_runtimes_F77 \
14670 old_archive_cmds_F77 \
14671 old_archive_from_new_cmds_F77 \
14672 predep_objects_F77 \
14673 postdep_objects_F77 \
14676 compiler_lib_search_path_F77 \
14678 archive_expsym_cmds_F77 \
14679 postinstall_cmds_F77 \
14680 postuninstall_cmds_F77 \
14681 old_archive_from_expsyms_cmds_F77 \
14682 allow_undefined_flag_F77 \
14683 no_undefined_flag_F77 \
14684 export_symbols_cmds_F77 \
14685 hardcode_libdir_flag_spec_F77 \
14686 hardcode_libdir_flag_spec_ld_F77 \
14687 hardcode_libdir_separator_F77 \
14688 hardcode_automatic_F77 \
14690 module_expsym_cmds_F77 \
14691 lt_cv_prog_compiler_c_o_F77 \
14692 exclude_expsyms_F77 \
14693 include_expsyms_F77; do
14696 old_archive_cmds_F77 | \
14697 old_archive_from_new_cmds_F77 | \
14698 archive_cmds_F77 | \
14699 archive_expsym_cmds_F77 | \
14700 module_cmds_F77 | \
14701 module_expsym_cmds_F77 | \
14702 old_archive_from_expsyms_cmds_F77 | \
14703 export_symbols_cmds_F77 | \
14704 extract_expsyms_cmds | reload_cmds | finish_cmds | \
14705 postinstall_cmds | postuninstall_cmds | \
14706 old_postinstall_cmds | old_postuninstall_cmds | \
14707 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
14708 # Double-quote double-evaled strings.
14709 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
14712 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
14718 *'\$0 --fallback-echo"')
14719 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
14725 cat <<__EOF__ >> "$cfgfile"
14726 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
14728 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
14730 # Shell to use when invoking shell scripts.
14733 # Whether or not to build shared libraries.
14734 build_libtool_libs=$enable_shared
14736 # Whether or not to build static libraries.
14737 build_old_libs=$enable_static
14739 # Whether or not to add -lc for building shared libraries.
14740 build_libtool_need_lc=$archive_cmds_need_lc_F77
14742 # Whether or not to disallow shared libs when runtime libs are static
14743 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_F77
14745 # Whether or not to optimize for fast installation.
14746 fast_install=$enable_fast_install
14749 host_alias=$host_alias
14752 # An echo program that does not interpret backslashes.
14757 AR_FLAGS=$lt_AR_FLAGS
14762 # A language-specific compiler.
14763 CC=$lt_compiler_F77
14765 # Is the compiler the GNU C compiler?
14771 # The linker used to build libraries.
14774 # Whether we need hard or soft links.
14777 # A BSD-compatible nm program.
14780 # A symbol stripping program
14783 # Used to examine libraries when file_magic_cmd begins "file"
14784 MAGIC_CMD=$MAGIC_CMD
14786 # Used on cygwin: DLL creation program.
14789 # Used on cygwin: object dumper.
14792 # Used on cygwin: assembler.
14795 # The name of the directory that contains temporary libtool files.
14798 # How to create reloadable object files.
14799 reload_flag=$lt_reload_flag
14800 reload_cmds=$lt_reload_cmds
14802 # How to pass a linker flag through the compiler.
14803 wl=$lt_lt_prog_compiler_wl_F77
14805 # Object file suffix (normally "o").
14806 objext="$ac_objext"
14808 # Old archive suffix (normally "a").
14811 # Shared library suffix (normally ".so").
14814 # Executable file suffix (normally "").
14817 # Additional compiler flags for building library objects.
14818 pic_flag=$lt_lt_prog_compiler_pic_F77
14821 # What is the maximum length of a command?
14822 max_cmd_len=$lt_cv_sys_max_cmd_len
14824 # Does compiler simultaneously support -c and -o options?
14825 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
14827 # Must we lock files when doing compilation ?
14828 need_locks=$lt_need_locks
14830 # Do we need the lib prefix for modules?
14831 need_lib_prefix=$need_lib_prefix
14833 # Do we need a version for libraries?
14834 need_version=$need_version
14836 # Whether dlopen is supported.
14837 dlopen_support=$enable_dlopen
14839 # Whether dlopen of programs is supported.
14840 dlopen_self=$enable_dlopen_self
14842 # Whether dlopen of statically linked programs is supported.
14843 dlopen_self_static=$enable_dlopen_self_static
14845 # Compiler flag to prevent dynamic linking.
14846 link_static_flag=$lt_lt_prog_compiler_static_F77
14848 # Compiler flag to turn off builtin functions.
14849 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_F77
14851 # Compiler flag to allow reflexive dlopens.
14852 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_F77
14854 # Compiler flag to generate shared objects directly from archives.
14855 whole_archive_flag_spec=$lt_whole_archive_flag_spec_F77
14857 # Compiler flag to generate thread-safe objects.
14858 thread_safe_flag_spec=$lt_thread_safe_flag_spec_F77
14860 # Library versioning type.
14861 version_type=$version_type
14863 # Format of library name prefix.
14864 libname_spec=$lt_libname_spec
14866 # List of archive names. First name is the real one, the rest are links.
14867 # The last name is the one that the linker finds with -lNAME.
14868 library_names_spec=$lt_library_names_spec
14870 # The coded name of the library, if different from the real name.
14871 soname_spec=$lt_soname_spec
14873 # Commands used to build and install an old-style archive.
14875 old_archive_cmds=$lt_old_archive_cmds_F77
14876 old_postinstall_cmds=$lt_old_postinstall_cmds
14877 old_postuninstall_cmds=$lt_old_postuninstall_cmds
14879 # Create an old-style archive from a shared archive.
14880 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_F77
14882 # Create a temporary old-style archive to link instead of a shared archive.
14883 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_F77
14885 # Commands used to build and install a shared archive.
14886 archive_cmds=$lt_archive_cmds_F77
14887 archive_expsym_cmds=$lt_archive_expsym_cmds_F77
14888 postinstall_cmds=$lt_postinstall_cmds
14889 postuninstall_cmds=$lt_postuninstall_cmds
14891 # Commands used to build a loadable module (assumed same as above if empty)
14892 module_cmds=$lt_module_cmds_F77
14893 module_expsym_cmds=$lt_module_expsym_cmds_F77
14895 # Commands to strip libraries.
14896 old_striplib=$lt_old_striplib
14897 striplib=$lt_striplib
14899 # Dependencies to place before the objects being linked to create a
14901 predep_objects=$lt_predep_objects_F77
14903 # Dependencies to place after the objects being linked to create a
14905 postdep_objects=$lt_postdep_objects_F77
14907 # Dependencies to place before the objects being linked to create a
14909 predeps=$lt_predeps_F77
14911 # Dependencies to place after the objects being linked to create a
14913 postdeps=$lt_postdeps_F77
14915 # The library search path used internally by the compiler when linking
14916 # a shared library.
14917 compiler_lib_search_path=$lt_compiler_lib_search_path_F77
14919 # Method to check whether dependent libraries are shared objects.
14920 deplibs_check_method=$lt_deplibs_check_method
14922 # Command to use when deplibs_check_method == file_magic.
14923 file_magic_cmd=$lt_file_magic_cmd
14925 # Flag that allows shared libraries with undefined symbols to be built.
14926 allow_undefined_flag=$lt_allow_undefined_flag_F77
14928 # Flag that forces no undefined symbols.
14929 no_undefined_flag=$lt_no_undefined_flag_F77
14931 # Commands used to finish a libtool library installation in a directory.
14932 finish_cmds=$lt_finish_cmds
14934 # Same as above, but a single script fragment to be evaled but not shown.
14935 finish_eval=$lt_finish_eval
14937 # Take the output of nm and produce a listing of raw symbols and C names.
14938 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
14940 # Transform the output of nm in a proper C declaration
14941 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
14943 # Transform the output of nm in a C name address pair
14944 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
14946 # This is the shared library runtime path variable.
14947 runpath_var=$runpath_var
14949 # This is the shared library path variable.
14950 shlibpath_var=$shlibpath_var
14952 # Is shlibpath searched before the hard-coded library search path?
14953 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
14955 # How to hardcode a shared library path into an executable.
14956 hardcode_action=$hardcode_action_F77
14958 # Whether we should hardcode library paths into libraries.
14959 hardcode_into_libs=$hardcode_into_libs
14961 # Flag to hardcode \$libdir into a binary during linking.
14962 # This must work even if \$libdir does not exist.
14963 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_F77
14965 # If ld is used when linking, flag to hardcode \$libdir into
14966 # a binary during linking. This must work even if \$libdir does
14968 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_F77
14970 # Whether we need a single -rpath flag with a separated argument.
14971 hardcode_libdir_separator=$lt_hardcode_libdir_separator_F77
14973 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
14974 # resulting binary.
14975 hardcode_direct=$hardcode_direct_F77
14977 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
14978 # resulting binary.
14979 hardcode_minus_L=$hardcode_minus_L_F77
14981 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
14982 # the resulting binary.
14983 hardcode_shlibpath_var=$hardcode_shlibpath_var_F77
14985 # Set to yes if building a shared library automatically hardcodes DIR into the library
14986 # and all subsequent libraries and executables linked against it.
14987 hardcode_automatic=$hardcode_automatic_F77
14989 # Variables whose values should be saved in libtool wrapper scripts and
14990 # restored at relink time.
14991 variables_saved_for_relink="$variables_saved_for_relink"
14993 # Whether libtool must link a program against all its dependency libraries.
14994 link_all_deplibs=$link_all_deplibs_F77
14996 # Compile-time system search path for libraries
14997 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
14999 # Run-time system search path for libraries
15000 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
15002 # Fix the shell variable \$srcfile for the compiler.
15003 fix_srcfile_path="$fix_srcfile_path_F77"
15005 # Set to yes if exported symbols are required.
15006 always_export_symbols=$always_export_symbols_F77
15008 # The commands to list exported symbols.
15009 export_symbols_cmds=$lt_export_symbols_cmds_F77
15011 # The commands to extract the exported symbol list from a shared archive.
15012 extract_expsyms_cmds=$lt_extract_expsyms_cmds
15014 # Symbols that should not be listed in the preloaded symbols.
15015 exclude_expsyms=$lt_exclude_expsyms_F77
15017 # Symbols that must always be exported.
15018 include_expsyms=$lt_include_expsyms_F77
15020 # ### END LIBTOOL TAG CONFIG: $tagname
15026 # If there is no Makefile yet, we rely on a make rule to execute
15027 # `config.status --recheck' to rerun these tests and create the
15028 # libtool script then.
15029 test -f Makefile && make "$ltmain"
15034 ac_cpp='$CPP $CPPFLAGS'
15035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15047 if test -n "$GCJ" && test "X$GCJ" != "Xno"; then
15051 # Source file extension for Java test sources.
15054 # Object file extension for compiled Java test sources.
15058 # Code to be used in simple compile tests
15059 lt_simple_compile_test_code="class foo {}\n"
15061 # Code to be used in simple link tests
15062 lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
15064 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15066 # If no C compiler was specified, use CC.
15069 # Allow CC to be a program name with arguments.
15073 # Allow CC to be a program name with arguments.
15079 # GCJ did not exist at the time GCC didn't implicitly link libc in.
15080 archive_cmds_need_lc_GCJ=no
15083 ## There is no encapsulation within the following macros, do not change
15084 ## the running order or otherwise move them around unless you know exactly
15085 ## what you are doing...
15087 lt_prog_compiler_no_builtin_flag_GCJ=
15089 if test "$GCC" = yes; then
15090 lt_prog_compiler_no_builtin_flag_GCJ=' -fno-builtin'
15092 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
15093 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
15094 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
15095 echo $ECHO_N "(cached) $ECHO_C" >&6
15097 lt_cv_prog_compiler_rtti_exceptions=no
15098 ac_outfile=conftest.$ac_objext
15099 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15100 lt_compiler_flag="-fno-rtti -fno-exceptions"
15101 # Insert the option either (1) after the last *FLAGS variable, or
15102 # (2) before a word containing "conftest.", or (3) at the end.
15103 # Note that $ac_compile itself does not contain backslashes and begins
15104 # with a dollar sign (not a hyphen), so the echo should work correctly.
15105 # The option is referenced via a variable to avoid confusing sed.
15106 lt_compile=`echo "$ac_compile" | $SED \
15107 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15108 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15109 -e 's:$: $lt_compiler_flag:'`
15110 (eval echo "\"\$as_me:15110: $lt_compile\"" >&5)
15111 (eval "$lt_compile" 2>conftest.err)
15113 cat conftest.err >&5
15114 echo "$as_me:15114: \$? = $ac_status" >&5
15115 if (exit $ac_status) && test -s "$ac_outfile"; then
15116 # The compiler can only warn and ignore the option if not recognized
15117 # So say no if there are warnings
15118 if test ! -s conftest.err; then
15119 lt_cv_prog_compiler_rtti_exceptions=yes
15125 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
15126 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
15128 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
15129 lt_prog_compiler_no_builtin_flag_GCJ="$lt_prog_compiler_no_builtin_flag_GCJ -fno-rtti -fno-exceptions"
15136 lt_prog_compiler_wl_GCJ=
15137 lt_prog_compiler_pic_GCJ=
15138 lt_prog_compiler_static_GCJ=
15140 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
15141 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
15143 if test "$GCC" = yes; then
15144 lt_prog_compiler_wl_GCJ='-Wl,'
15145 lt_prog_compiler_static_GCJ='-static'
15149 # All AIX code is PIC.
15150 if test "$host_cpu" = ia64; then
15151 # AIX 5 now supports IA64 processor
15152 lt_prog_compiler_static_GCJ='-Bstatic'
15157 # FIXME: we need at least 68020 code to build shared libraries, but
15158 # adding the `-m68020' flag to GCC prevents building anything better,
15160 lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
15163 beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
15164 # PIC is the default for these OSes.
15167 mingw* | pw32* | os2*)
15168 # This hack is so that the source file can tell whether it is being
15169 # built for inclusion in a dll (and should export symbols for example).
15170 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15173 darwin* | rhapsody*)
15174 # PIC is the default on this platform
15175 # Common symbols not allowed in MH_DYLIB files
15176 lt_prog_compiler_pic_GCJ='-fno-common'
15180 # Just because we use GCC doesn't mean we suddenly get shared libraries
15181 # on systems that don't support them.
15182 lt_prog_compiler_can_build_shared_GCJ=no
15187 if test -d /usr/nec; then
15188 lt_prog_compiler_pic_GCJ=-Kconform_pic
15193 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15194 # not for PA HP-UX.
15195 case "$host_cpu" in
15200 lt_prog_compiler_pic_GCJ='-fPIC'
15206 lt_prog_compiler_pic_GCJ='-fPIC'
15210 # PORTME Check for flag to pass linker flags through the system compiler.
15213 lt_prog_compiler_wl_GCJ='-Wl,'
15214 if test "$host_cpu" = ia64; then
15215 # AIX 5 now supports IA64 processor
15216 lt_prog_compiler_static_GCJ='-Bstatic'
15218 lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15222 mingw* | pw32* | os2*)
15223 # This hack is so that the source file can tell whether it is being
15224 # built for inclusion in a dll (and should export symbols for example).
15225 lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
15228 hpux9* | hpux10* | hpux11*)
15229 lt_prog_compiler_wl_GCJ='-Wl,'
15230 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15231 # not for PA HP-UX.
15232 case "$host_cpu" in
15237 lt_prog_compiler_pic_GCJ='+Z'
15240 # Is there a better lt_prog_compiler_static that works with the bundled CC?
15241 lt_prog_compiler_static_GCJ='${wl}-a ${wl}archive'
15244 irix5* | irix6* | nonstopux*)
15245 lt_prog_compiler_wl_GCJ='-Wl,'
15246 # PIC (with -KPIC) is the default.
15247 lt_prog_compiler_static_GCJ='-non_shared'
15251 lt_prog_compiler_pic_GCJ='-KPIC'
15252 lt_prog_compiler_static_GCJ='-Bstatic'
15258 lt_prog_compiler_wl_GCJ='-Wl,'
15259 lt_prog_compiler_pic_GCJ='-KPIC'
15260 lt_prog_compiler_static_GCJ='-static'
15263 lt_prog_compiler_wl_GCJ='-Wl,'
15264 # All Alpha code is PIC.
15265 lt_prog_compiler_static_GCJ='-non_shared'
15270 osf3* | osf4* | osf5*)
15271 lt_prog_compiler_wl_GCJ='-Wl,'
15272 # All OSF/1 code is PIC.
15273 lt_prog_compiler_static_GCJ='-non_shared'
15277 lt_prog_compiler_pic_GCJ='-Kpic'
15278 lt_prog_compiler_static_GCJ='-dn'
15282 lt_prog_compiler_wl_GCJ='-Wl,'
15283 lt_prog_compiler_pic_GCJ='-KPIC'
15284 lt_prog_compiler_static_GCJ='-Bstatic'
15288 lt_prog_compiler_wl_GCJ='-Qoption ld '
15289 lt_prog_compiler_pic_GCJ='-PIC'
15290 lt_prog_compiler_static_GCJ='-Bstatic'
15293 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
15294 lt_prog_compiler_wl_GCJ='-Wl,'
15295 lt_prog_compiler_pic_GCJ='-KPIC'
15296 lt_prog_compiler_static_GCJ='-Bstatic'
15300 if test -d /usr/nec ;then
15301 lt_prog_compiler_pic_GCJ='-Kconform_pic'
15302 lt_prog_compiler_static_GCJ='-Bstatic'
15307 lt_prog_compiler_pic_GCJ='-pic'
15308 lt_prog_compiler_static_GCJ='-Bstatic'
15312 lt_prog_compiler_can_build_shared_GCJ=no
15317 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_GCJ" >&5
15318 echo "${ECHO_T}$lt_prog_compiler_pic_GCJ" >&6
15321 # Check to make sure the PIC flag actually works.
15323 if test -n "$lt_prog_compiler_pic_GCJ"; then
15324 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works" >&5
15325 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_GCJ works... $ECHO_C" >&6
15326 if test "${lt_prog_compiler_pic_works_GCJ+set}" = set; then
15327 echo $ECHO_N "(cached) $ECHO_C" >&6
15329 lt_prog_compiler_pic_works_GCJ=no
15330 ac_outfile=conftest.$ac_objext
15331 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15332 lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
15333 # Insert the option either (1) after the last *FLAGS variable, or
15334 # (2) before a word containing "conftest.", or (3) at the end.
15335 # Note that $ac_compile itself does not contain backslashes and begins
15336 # with a dollar sign (not a hyphen), so the echo should work correctly.
15337 # The option is referenced via a variable to avoid confusing sed.
15338 lt_compile=`echo "$ac_compile" | $SED \
15339 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15340 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15341 -e 's:$: $lt_compiler_flag:'`
15342 (eval echo "\"\$as_me:15342: $lt_compile\"" >&5)
15343 (eval "$lt_compile" 2>conftest.err)
15345 cat conftest.err >&5
15346 echo "$as_me:15346: \$? = $ac_status" >&5
15347 if (exit $ac_status) && test -s "$ac_outfile"; then
15348 # The compiler can only warn and ignore the option if not recognized
15349 # So say no if there are warnings
15350 if test ! -s conftest.err; then
15351 lt_prog_compiler_pic_works_GCJ=yes
15357 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_GCJ" >&5
15358 echo "${ECHO_T}$lt_prog_compiler_pic_works_GCJ" >&6
15360 if test x"$lt_prog_compiler_pic_works_GCJ" = xyes; then
15361 case $lt_prog_compiler_pic_GCJ in
15363 *) lt_prog_compiler_pic_GCJ=" $lt_prog_compiler_pic_GCJ" ;;
15366 lt_prog_compiler_pic_GCJ=
15367 lt_prog_compiler_can_build_shared_GCJ=no
15372 # For platforms which do not support PIC, -DPIC is meaningless:
15374 lt_prog_compiler_pic_GCJ=
15377 lt_prog_compiler_pic_GCJ="$lt_prog_compiler_pic_GCJ"
15381 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
15382 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
15383 if test "${lt_cv_prog_compiler_c_o_GCJ+set}" = set; then
15384 echo $ECHO_N "(cached) $ECHO_C" >&6
15386 lt_cv_prog_compiler_c_o_GCJ=no
15387 $rm -r conftest 2>/dev/null
15391 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
15393 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers
15394 # that will create temporary files in the current directory regardless of
15395 # the output directory. Thus, making CWD read-only will cause this test
15396 # to fail, enabling locking or at least warning the user not to do parallel
15400 lt_compiler_flag="-o out/conftest2.$ac_objext"
15401 # Insert the option either (1) after the last *FLAGS variable, or
15402 # (2) before a word containing "conftest.", or (3) at the end.
15403 # Note that $ac_compile itself does not contain backslashes and begins
15404 # with a dollar sign (not a hyphen), so the echo should work correctly.
15405 lt_compile=`echo "$ac_compile" | $SED \
15406 -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
15407 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15408 -e 's:$: $lt_compiler_flag:'`
15409 (eval echo "\"\$as_me:15409: $lt_compile\"" >&5)
15410 (eval "$lt_compile" 2>out/conftest.err)
15412 cat out/conftest.err >&5
15413 echo "$as_me:15413: \$? = $ac_status" >&5
15414 if (exit $ac_status) && test -s out/conftest2.$ac_objext
15416 # The compiler can only warn and ignore the option if not recognized
15417 # So say no if there are warnings
15418 if test ! -s out/conftest.err; then
15419 lt_cv_prog_compiler_c_o_GCJ=yes
15423 $rm conftest* out/*
15430 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_GCJ" >&5
15431 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_GCJ" >&6
15434 hard_links="nottested"
15435 if test "$lt_cv_prog_compiler_c_o_GCJ" = no && test "$need_locks" != no; then
15436 # do not overwrite the value of need_locks provided by the user
15437 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
15438 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
15441 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15443 ln conftest.a conftest.b 2>&5 || hard_links=no
15444 ln conftest.a conftest.b 2>/dev/null && hard_links=no
15445 echo "$as_me:$LINENO: result: $hard_links" >&5
15446 echo "${ECHO_T}$hard_links" >&6
15447 if test "$hard_links" = no; then
15448 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
15449 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
15456 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15457 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
15460 allow_undefined_flag_GCJ=
15461 enable_shared_with_static_runtimes_GCJ=no
15463 archive_expsym_cmds_GCJ=
15464 old_archive_From_new_cmds_GCJ=
15465 old_archive_from_expsyms_cmds_GCJ=
15466 export_dynamic_flag_spec_GCJ=
15467 whole_archive_flag_spec_GCJ=
15468 thread_safe_flag_spec_GCJ=
15469 hardcode_libdir_flag_spec_GCJ=
15470 hardcode_libdir_flag_spec_ld_GCJ=
15471 hardcode_libdir_separator_GCJ=
15472 hardcode_direct_GCJ=no
15473 hardcode_minus_L_GCJ=no
15474 hardcode_shlibpath_var_GCJ=unsupported
15475 link_all_deplibs_GCJ=unknown
15476 hardcode_automatic_GCJ=no
15478 module_expsym_cmds_GCJ=
15479 always_export_symbols_GCJ=no
15480 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
15481 # include_expsyms should be a list of space-separated symbols to be *always*
15482 # included in the symbol list
15483 include_expsyms_GCJ=
15484 # exclude_expsyms can be an extended regexp of symbols to exclude
15485 # it will be wrapped by ` (' and `)$', so one must not match beginning or
15486 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
15487 # as well as any symbol that contains `d'.
15488 exclude_expsyms_GCJ="_GLOBAL_OFFSET_TABLE_"
15489 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
15490 # platforms (ab)use it in PIC code, but their linkers get confused if
15491 # the symbol is explicitly referenced. Since portable code cannot
15492 # rely on this symbol name, it's probably fine to never include it in
15493 # preloaded symbol tables.
15494 extract_expsyms_cmds=
15497 cygwin* | mingw* | pw32*)
15498 # FIXME: the MSVC++ port hasn't been tested in a loooong time
15499 # When not using gcc, we currently assume that we are using
15500 # Microsoft Visual C++.
15501 if test "$GCC" != yes; then
15511 if test "$with_gnu_ld" = yes; then
15512 # If archive_cmds runs LD, not CC, wlarc should be empty
15515 # See if GNU ld supports shared libraries.
15517 aix3* | aix4* | aix5*)
15518 # On AIX/PPC, the GNU linker is very broken
15519 if test "$host_cpu" != ia64; then
15523 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
15524 *** to be unable to reliably create shared libraries on AIX.
15525 *** Therefore, libtool is disabling shared libraries support. If you
15526 *** really care for shared libraries, you may want to modify your PATH
15527 *** so that a non-GNU linker is found, and then restart.
15534 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)'
15535 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15536 hardcode_minus_L_GCJ=yes
15538 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
15539 # that the semantics of dynamic libraries on AmigaOS, at least up
15540 # to version 4, is to share data among multiple programs linked
15541 # with the same dynamic library. Since this doesn't match the
15542 # behavior of shared libraries on other platforms, we can't use
15548 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15549 allow_undefined_flag_GCJ=unsupported
15550 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15551 # support --undefined. This deserves some investigation. FIXME
15552 archive_cmds_GCJ='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15558 cygwin* | mingw* | pw32*)
15559 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, GCJ) is actually meaningless,
15560 # as there is no search path for DLLs.
15561 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15562 allow_undefined_flag_GCJ=unsupported
15563 always_export_symbols_GCJ=no
15564 enable_shared_with_static_runtimes_GCJ=yes
15565 export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15567 if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15568 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15569 # If the export-symbols file already is a .def file (1st line
15570 # is EXPORTS), use it as is; otherwise, prepend...
15571 archive_expsym_cmds_GCJ='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15572 cp $export_symbols $output_objdir/$soname.def;
15574 echo EXPORTS > $output_objdir/$soname.def;
15575 cat $export_symbols >> $output_objdir/$soname.def;
15577 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15584 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15585 archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15588 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15589 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15594 if $LD -v 2>&1 | grep 'BFD 2\.8' > /dev/null; then
15598 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
15599 *** create shared libraries on Solaris systems. Therefore, libtool
15600 *** is disabling shared libraries support. We urge you to upgrade GNU
15601 *** binutils to release 2.9.1 or newer. Another option is to modify
15602 *** your PATH or compiler configuration so that the native linker is
15603 *** used, and then restart.
15606 elif $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15607 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15608 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15615 archive_cmds_GCJ='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15617 hardcode_direct_GCJ=yes
15618 hardcode_shlibpath_var_GCJ=no
15622 if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15623 archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15624 archive_expsym_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
15631 if test "$ld_shlibs_GCJ" = yes; then
15632 runpath_var=LD_RUN_PATH
15633 hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15634 export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15635 # ancient GNU ld didn't support --whole-archive et. al.
15636 if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15637 whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15639 whole_archive_flag_spec_GCJ=
15643 # PORTME fill in a description of your system's linker (not GNU ld)
15646 allow_undefined_flag_GCJ=unsupported
15647 always_export_symbols_GCJ=yes
15648 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'
15649 # Note: this linker hardcodes the directories in LIBPATH if there
15650 # are no directories specified by -L.
15651 hardcode_minus_L_GCJ=yes
15652 if test "$GCC" = yes && test -z "$link_static_flag"; then
15653 # Neither direct hardcoding nor static linking is supported with a
15655 hardcode_direct_GCJ=unsupported
15660 if test "$host_cpu" = ia64; then
15661 # On IA64, the linker does run time linking by default, so we don't
15662 # have to do anything special.
15663 aix_use_runtimelinking=no
15664 exp_sym_flag='-Bexport'
15667 # If we're using GNU nm, then we don't want the "-C" option.
15668 # -C means demangle to AIX nm, but means don't demangle with GNU nm
15669 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then
15670 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'
15672 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'
15674 aix_use_runtimelinking=no
15676 # Test if we are trying to use run time linking or normal
15677 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15678 # need to do runtime linking.
15679 case $host_os in aix4.[23]|aix4.[23].*|aix5*)
15680 for ld_flag in $LDFLAGS; do
15681 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
15682 aix_use_runtimelinking=yes
15688 exp_sym_flag='-bexport'
15689 no_entry_flag='-bnoentry'
15692 # When large executables or shared objects are built, AIX ld can
15693 # have problems creating the table of contents. If linking a library
15694 # or program results in "error TOC overflow" add -mminimal-toc to
15695 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15696 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15698 archive_cmds_GCJ=''
15699 hardcode_direct_GCJ=yes
15700 hardcode_libdir_separator_GCJ=':'
15701 link_all_deplibs_GCJ=yes
15703 if test "$GCC" = yes; then
15704 case $host_os in aix4.012|aix4.012.*)
15705 # We only want to do this on AIX 4.2 and lower, the check
15706 # below for broken collect2 doesn't work under 4.3+
15707 collect2name=`${CC} -print-prog-name=collect2`
15708 if test -f "$collect2name" && \
15709 strings "$collect2name" | grep resolve_lib_name >/dev/null
15711 # We have reworked collect2
15712 hardcode_direct_GCJ=yes
15714 # We have old collect2
15715 hardcode_direct_GCJ=unsupported
15716 # It fails to find uninstalled libraries when the uninstalled
15717 # path is not listed in the libpath. Setting hardcode_minus_L
15718 # to unsupported forces relinking
15719 hardcode_minus_L_GCJ=yes
15720 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15721 hardcode_libdir_separator_GCJ=
15724 shared_flag='-shared'
15727 if test "$host_cpu" = ia64; then
15728 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15729 # chokes on -Wl,-G. The following line is correct:
15732 if test "$aix_use_runtimelinking" = yes; then
15733 shared_flag='${wl}-G'
15735 shared_flag='${wl}-bM:SRE'
15740 # It seems that -bexpall does not export symbols beginning with
15741 # underscore (_), so it is better to generate a list of symbols to export.
15742 always_export_symbols_GCJ=yes
15743 if test "$aix_use_runtimelinking" = yes; then
15744 # Warning - without using the other runtime loading flags (-brtl),
15745 # -berok will link without error, but may produce a broken library.
15746 allow_undefined_flag_GCJ='-berok'
15747 # Determine the default libpath from the value encoded in an empty executable.
15748 cat >conftest.$ac_ext <<_ACEOF
15749 #line $LINENO "configure"
15752 cat confdefs.h >>conftest.$ac_ext
15753 cat >>conftest.$ac_ext <<_ACEOF
15754 /* end confdefs.h. */
15764 rm -f conftest.$ac_objext conftest$ac_exeext
15765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15766 (eval $ac_link) 2>&5
15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769 (exit $ac_status); } &&
15770 { ac_try='test -s conftest$ac_exeext'
15771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15772 (eval $ac_try) 2>&5
15774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15775 (exit $ac_status); }; }; then
15777 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15779 # Check for a 64-bit object if we didn't find anything.
15780 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; }
15783 echo "$as_me: failed program was:" >&5
15784 sed 's/^/| /' conftest.$ac_ext >&5
15787 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15788 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15790 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15791 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"
15793 if test "$host_cpu" = ia64; then
15794 hardcode_libdir_flag_spec_GCJ='${wl}-R $libdir:/usr/lib:/lib'
15795 allow_undefined_flag_GCJ="-z nodefs"
15796 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"
15798 # Determine the default libpath from the value encoded in an empty executable.
15799 cat >conftest.$ac_ext <<_ACEOF
15800 #line $LINENO "configure"
15803 cat confdefs.h >>conftest.$ac_ext
15804 cat >>conftest.$ac_ext <<_ACEOF
15805 /* end confdefs.h. */
15815 rm -f conftest.$ac_objext conftest$ac_exeext
15816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15817 (eval $ac_link) 2>&5
15819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15820 (exit $ac_status); } &&
15821 { ac_try='test -s conftest$ac_exeext'
15822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15823 (eval $ac_try) 2>&5
15825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15826 (exit $ac_status); }; }; then
15828 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0 *\(.*\)$/\1/; p; }
15830 # Check for a 64-bit object if we didn't find anything.
15831 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; }
15834 echo "$as_me: failed program was:" >&5
15835 sed 's/^/| /' conftest.$ac_ext >&5
15838 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
15839 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
15841 hardcode_libdir_flag_spec_GCJ='${wl}-blibpath:$libdir:'"$aix_libpath"
15842 # Warning - without using the other run time loading flags,
15843 # -berok will link without error, but may produce a broken library.
15844 no_undefined_flag_GCJ=' ${wl}-bernotok'
15845 allow_undefined_flag_GCJ=' ${wl}-berok'
15846 # -bexpall does not export symbols beginning with underscore (_)
15847 always_export_symbols_GCJ=yes
15848 # Exported symbols can be pulled into shared objects from archives
15849 whole_archive_flag_spec_GCJ=' '
15850 archive_cmds_need_lc_GCJ=yes
15851 # This is similar to how AIX traditionally builds it's shared libraries.
15852 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'
15858 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)'
15859 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15860 hardcode_minus_L_GCJ=yes
15861 # see comment about different semantics on the GNU ld section
15866 export_dynamic_flag_spec_GCJ=-rdynamic
15869 cygwin* | mingw* | pw32*)
15870 # When not using gcc, we currently assume that we are using
15871 # Microsoft Visual C++.
15872 # hardcode_libdir_flag_spec is actually meaningless, as there is
15873 # no search path for DLLs.
15874 hardcode_libdir_flag_spec_GCJ=' '
15875 allow_undefined_flag_GCJ=unsupported
15876 # Tell ltmain to make .lib files, not .a files.
15878 # Tell ltmain to make .dll files, not .so files.
15880 # FIXME: Setting linknames here is a bad hack.
15881 archive_cmds_GCJ='$CC -o $lib $libobjs $compiler_flags `echo "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames='
15882 # The linker will automatically build a .lib file if we build a DLL.
15883 old_archive_From_new_cmds_GCJ='true'
15884 # FIXME: Should let the user specify the lib program.
15885 old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
15886 fix_srcfile_path='`cygpath -w "$srcfile"`'
15887 enable_shared_with_static_runtimes_GCJ=yes
15890 darwin* | rhapsody*)
15891 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
15892 archive_cmds_need_lc_GCJ=no
15894 rhapsody* | darwin1.[012])
15895 allow_undefined_flag_GCJ='-undefined suppress'
15898 test -z ${LD_TWOLEVEL_NAMESPACE} && allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
15901 # FIXME: Relying on posixy $() will cause problems for
15902 # cross-compilation, but unfortunately the echo tests do not
15903 # yet detect zsh echo's removal of \ escapes. Also zsh mangles
15904 # `"' quotes if we put them in here... so don't!
15905 lt_int_apple_cc_single_mod=no
15906 output_verbose_link_cmd='echo'
15907 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
15908 lt_int_apple_cc_single_mod=yes
15910 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15911 archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
15913 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'
15915 module_cmds_GCJ='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'
15916 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
15917 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
15918 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}'
15920 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}'
15922 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}'
15923 hardcode_direct_GCJ=no
15924 hardcode_automatic_GCJ=yes
15925 hardcode_shlibpath_var_GCJ=unsupported
15926 whole_archive_flag_spec_GCJ='-all_load $convenience'
15927 link_all_deplibs_GCJ=yes
15932 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
15933 hardcode_libdir_flag_spec_GCJ='-L$libdir'
15934 hardcode_shlibpath_var_GCJ=no
15941 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
15942 # support. Future versions do this automatically, but an explicit c++rt0.o
15943 # does not break anything, and helps significantly (at the cost of a little
15946 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
15947 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15948 hardcode_direct_GCJ=yes
15949 hardcode_shlibpath_var_GCJ=no
15952 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
15954 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15955 hardcode_direct_GCJ=yes
15956 hardcode_minus_L_GCJ=yes
15957 hardcode_shlibpath_var_GCJ=no
15960 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
15962 archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
15963 hardcode_libdir_flag_spec_GCJ='-R$libdir'
15964 hardcode_direct_GCJ=yes
15965 hardcode_shlibpath_var_GCJ=no
15969 if test "$GCC" = yes; then
15970 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'
15972 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'
15974 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
15975 hardcode_libdir_separator_GCJ=:
15976 hardcode_direct_GCJ=yes
15978 # hardcode_minus_L: Not really in the search PATH,
15979 # but as the default location of the library.
15980 hardcode_minus_L_GCJ=yes
15981 export_dynamic_flag_spec_GCJ='${wl}-E'
15985 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
15986 case "$host_cpu" in
15988 archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
15991 archive_cmds_GCJ='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
15995 case "$host_cpu" in
15997 archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
16000 archive_cmds_GCJ='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
16004 if test "$with_gnu_ld" = no; then
16005 case "$host_cpu" in
16007 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
16008 hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
16009 hardcode_libdir_separator_GCJ=:
16010 hardcode_direct_GCJ=no
16011 hardcode_shlibpath_var_GCJ=no
16014 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16015 hardcode_direct_GCJ=no
16016 hardcode_shlibpath_var_GCJ=no
16018 # hardcode_minus_L: Not really in the search PATH,
16019 # but as the default location of the library.
16020 hardcode_minus_L_GCJ=yes
16023 hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
16024 hardcode_libdir_separator_GCJ=:
16025 hardcode_direct_GCJ=yes
16026 export_dynamic_flag_spec_GCJ='${wl}-E'
16028 # hardcode_minus_L: Not really in the search PATH,
16029 # but as the default location of the library.
16030 hardcode_minus_L_GCJ=yes
16036 irix5* | irix6* | nonstopux*)
16037 if test "$GCC" = yes; then
16038 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'
16040 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'
16041 hardcode_libdir_flag_spec_ld_GCJ='-rpath $libdir'
16043 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16044 hardcode_libdir_separator_GCJ=:
16045 link_all_deplibs_GCJ=yes
16049 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16050 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
16052 archive_cmds_GCJ='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
16054 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16055 hardcode_direct_GCJ=yes
16056 hardcode_shlibpath_var_GCJ=no
16060 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16061 hardcode_direct_GCJ=yes
16062 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16063 hardcode_libdir_separator_GCJ=:
16064 hardcode_shlibpath_var_GCJ=no
16068 hardcode_direct_GCJ=yes
16069 hardcode_shlibpath_var_GCJ=no
16070 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16071 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16072 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16073 export_dynamic_flag_spec_GCJ='${wl}-E'
16076 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
16077 archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
16078 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16081 archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
16082 hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16089 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16090 hardcode_minus_L_GCJ=yes
16091 allow_undefined_flag_GCJ=unsupported
16092 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'
16093 old_archive_From_new_cmds_GCJ='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
16097 if test "$GCC" = yes; then
16098 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16099 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'
16101 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16102 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'
16104 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16105 hardcode_libdir_separator_GCJ=:
16108 osf4* | osf5*) # as osf3* with the addition of -msym flag
16109 if test "$GCC" = yes; then
16110 allow_undefined_flag_GCJ=' ${wl}-expect_unresolved ${wl}\*'
16111 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'
16112 hardcode_libdir_flag_spec_GCJ='${wl}-rpath ${wl}$libdir'
16114 allow_undefined_flag_GCJ=' -expect_unresolved \*'
16115 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'
16116 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~
16117 $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'
16119 # Both c and cxx compiler support -rpath directly
16120 hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16122 hardcode_libdir_separator_GCJ=:
16126 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16127 hardcode_shlibpath_var_GCJ=no
16128 export_dynamic_flag_spec_GCJ='${wl}-Bexport'
16129 runpath_var=LD_RUN_PATH
16130 hardcode_runpath_var=yes
16134 no_undefined_flag_GCJ=' -z text'
16135 if test "$GCC" = yes; then
16136 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16137 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16138 $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16140 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16141 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16142 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16144 hardcode_libdir_flag_spec_GCJ='-R$libdir'
16145 hardcode_shlibpath_var_GCJ=no
16147 solaris2.[0-5] | solaris2.[0-5].*) ;;
16148 *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16149 whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
16151 link_all_deplibs_GCJ=yes
16155 if test "x$host_vendor" = xsequent; then
16156 # Use $CC to link under sequent, because it throws in some extra .o
16157 # files that make .init and .fini sections work.
16158 archive_cmds_GCJ='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
16160 archive_cmds_GCJ='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
16162 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16163 hardcode_direct_GCJ=yes
16164 hardcode_minus_L_GCJ=yes
16165 hardcode_shlibpath_var_GCJ=no
16169 case $host_vendor in
16171 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16172 hardcode_direct_GCJ=yes # is this really true???
16175 ## LD is ld it makes a PLAMLIB
16176 ## CC just makes a GrossModule.
16177 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16178 reload_cmds_GCJ='$CC -r -o $output$reload_objs'
16179 hardcode_direct_GCJ=no
16182 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16183 hardcode_direct_GCJ=no #Motorola manual says yes, but my tests say they lie
16186 runpath_var='LD_RUN_PATH'
16187 hardcode_shlibpath_var_GCJ=no
16191 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16192 hardcode_shlibpath_var_GCJ=no
16193 export_dynamic_flag_spec_GCJ='-Bexport'
16197 if test -d /usr/nec; then
16198 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16199 hardcode_shlibpath_var_GCJ=no
16200 runpath_var=LD_RUN_PATH
16201 hardcode_runpath_var=yes
16207 archive_cmds_GCJ='$LD -G -o $lib $libobjs $deplibs $linker_flags'
16208 hardcode_direct_GCJ=yes
16209 hardcode_minus_L_GCJ=no
16210 hardcode_shlibpath_var_GCJ=no
16211 hardcode_runpath_var=yes
16212 runpath_var=LD_RUN_PATH
16215 sysv5OpenUNIX8* | sysv5UnixWare7* | sysv5uw[78]* | unixware7*)
16216 no_undefined_flag_GCJ='${wl}-z ${wl}text'
16217 if test "$GCC" = yes; then
16218 archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16220 archive_cmds_GCJ='$CC -G ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16222 runpath_var='LD_RUN_PATH'
16223 hardcode_shlibpath_var_GCJ=no
16227 no_undefined_flag_GCJ=' -z text'
16228 # $CC -shared without GNU ld will not create a library from C++
16229 # object files and a static libstdc++, better avoid it by now
16230 archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16231 archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16232 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16233 hardcode_libdir_flag_spec_GCJ=
16234 hardcode_shlibpath_var_GCJ=no
16235 runpath_var='LD_RUN_PATH'
16239 archive_cmds_GCJ='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
16240 hardcode_libdir_flag_spec_GCJ='-L$libdir'
16241 hardcode_shlibpath_var_GCJ=no
16250 echo "$as_me:$LINENO: result: $ld_shlibs_GCJ" >&5
16251 echo "${ECHO_T}$ld_shlibs_GCJ" >&6
16252 test "$ld_shlibs_GCJ" = no && can_build_shared=no
16254 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
16255 if test "$GCC" = yes; then
16256 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
16260 # Do we need to explicitly link libc?
16262 case "x$archive_cmds_need_lc_GCJ" in
16264 # Assume -lc should be added
16265 archive_cmds_need_lc_GCJ=yes
16267 if test "$enable_shared" = yes && test "$GCC" = yes; then
16268 case $archive_cmds_GCJ in
16270 # FIXME: we may have to deal with multi-command sequences.
16273 # Test whether the compiler implicitly links with -lc since on some
16274 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16275 # to ld, don't add -lc before -lgcc.
16276 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
16277 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
16279 printf "$lt_simple_compile_test_code" > conftest.$ac_ext
16281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16282 (eval $ac_compile) 2>&5
16284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16285 (exit $ac_status); } 2>conftest.err; then
16288 libobjs=conftest.$ac_objext
16290 wl=$lt_prog_compiler_wl_GCJ
16296 lt_save_allow_undefined_flag=$allow_undefined_flag_GCJ
16297 allow_undefined_flag_GCJ=
16298 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1\"") >&5
16299 (eval $archive_cmds_GCJ 2\>\&1 \| grep \" -lc \" \>/dev/null 2\>\&1) 2>&5
16301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16302 (exit $ac_status); }
16304 archive_cmds_need_lc_GCJ=no
16306 archive_cmds_need_lc_GCJ=yes
16308 allow_undefined_flag_GCJ=$lt_save_allow_undefined_flag
16310 cat conftest.err 1>&5
16313 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_GCJ" >&5
16314 echo "${ECHO_T}$archive_cmds_need_lc_GCJ" >&6
16321 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
16322 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
16323 hardcode_action_GCJ=
16324 if test -n "$hardcode_libdir_flag_spec_GCJ" || \
16325 test -n "$runpath_var GCJ" || \
16326 test "X$hardcode_automatic_GCJ"="Xyes" ; then
16328 # We can hardcode non-existant directories.
16329 if test "$hardcode_direct_GCJ" != no &&
16330 # If the only mechanism to avoid hardcoding is shlibpath_var, we
16331 # have to relink, otherwise we might link with an installed library
16332 # when we should be linking with a yet-to-be-installed one
16333 ## test "$_LT_AC_TAGVAR(hardcode_shlibpath_var, GCJ)" != no &&
16334 test "$hardcode_minus_L_GCJ" != no; then
16335 # Linking always hardcodes the temporary library directory.
16336 hardcode_action_GCJ=relink
16338 # We can link without hardcoding, and we can hardcode nonexisting dirs.
16339 hardcode_action_GCJ=immediate
16342 # We cannot hardcode anything, or else we can only hardcode existing
16344 hardcode_action_GCJ=unsupported
16346 echo "$as_me:$LINENO: result: $hardcode_action_GCJ" >&5
16347 echo "${ECHO_T}$hardcode_action_GCJ" >&6
16349 if test "$hardcode_action_GCJ" = relink; then
16350 # Fast installation is not supported
16351 enable_fast_install=no
16352 elif test "$shlibpath_overrides_runpath" = yes ||
16353 test "$enable_shared" = no; then
16354 # Fast installation is not necessary
16355 enable_fast_install=needless
16360 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
16361 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
16362 if test -n "$STRIP" && $STRIP -V 2>&1 | grep "GNU strip" >/dev/null; then
16363 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
16364 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
16365 echo "$as_me:$LINENO: result: yes" >&5
16366 echo "${ECHO_T}yes" >&6
16368 # FIXME - insert some real tests, host_os isn't really good enough
16371 if test -n "$STRIP" ; then
16372 striplib="$STRIP -x"
16373 echo "$as_me:$LINENO: result: yes" >&5
16374 echo "${ECHO_T}yes" >&6
16376 echo "$as_me:$LINENO: result: no" >&5
16377 echo "${ECHO_T}no" >&6
16381 echo "$as_me:$LINENO: result: no" >&5
16382 echo "${ECHO_T}no" >&6
16387 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
16388 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
16389 library_names_spec=
16390 libname_spec='lib$name'
16394 postuninstall_cmds=
16398 shlibpath_overrides_runpath=unknown
16400 dynamic_linker="$host_os ld.so"
16401 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16402 if test "$GCC" = yes; then
16403 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16404 if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
16405 # if the path contains ";" then we assume it to be the separator
16406 # otherwise default to the standard path separator (i.e. ":") - it is
16407 # assumed that no part of a normal pathname contains ";" but that should
16408 # okay in the real world where ";" in dirpaths is itself problematic.
16409 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16411 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16414 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
16416 need_lib_prefix=unknown
16417 hardcode_into_libs=no
16419 # when you set need_version to no, make sure it does not cause -set_version
16420 # flags to be left without arguments
16421 need_version=unknown
16426 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16427 shlibpath_var=LIBPATH
16429 # AIX 3 has no versioning support, so we append a major version to the name.
16430 soname_spec='${libname}${release}${shared_ext}$major'
16437 hardcode_into_libs=yes
16438 if test "$host_cpu" = ia64; then
16439 # AIX 5 supports IA64
16440 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16441 shlibpath_var=LD_LIBRARY_PATH
16443 # With GCC up to 2.95.x, collect2 would create an import file
16444 # for dependence libraries. The import file would start with
16445 # the line `#! .'. This would cause the generated library to
16446 # depend on `.', always an invalid library. This was fixed in
16447 # development snapshots of GCC prior to 3.0.
16449 aix4 | aix4.[01] | aix4.[01].*)
16450 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16452 echo '#endif'; } | ${CC} -E - | grep yes > /dev/null; then
16455 can_build_shared=no
16459 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16460 # soname into executable. Probably we can add versioning support to
16461 # collect2, so additional links can be useful in future.
16462 if test "$aix_use_runtimelinking" = yes; then
16463 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16464 # instead of lib<name>.a to let people know that these are not
16465 # typical AIX shared libraries.
16466 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16468 # We preserve .a as extension for shared libraries through AIX4.2
16469 # and later when we are not doing run time linking.
16470 library_names_spec='${libname}${release}.a $libname.a'
16471 soname_spec='${libname}${release}${shared_ext}$major'
16473 shlibpath_var=LIBPATH
16478 library_names_spec='$libname.ixlibrary $libname.a'
16479 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16480 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'
16484 library_names_spec='${libname}${shared_ext}'
16485 dynamic_linker="$host_os ld.so"
16486 shlibpath_var=LIBRARY_PATH
16492 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16493 soname_spec='${libname}${release}${shared_ext}$major'
16494 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16495 shlibpath_var=LD_LIBRARY_PATH
16496 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16497 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16498 # the default ld.so.conf also contains /usr/contrib/lib and
16499 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16500 # libtool to hard-code these into programs
16503 cygwin* | mingw* | pw32*)
16504 version_type=windows
16509 case $GCC,$host_os in
16510 yes,cygwin* | yes,mingw* | yes,pw32*)
16511 library_names_spec='$libname.dll.a'
16512 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16513 postinstall_cmds='base_file=`basename \${file}`~
16514 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16515 dldir=$destdir/`dirname \$dlpath`~
16516 test -d \$dldir || mkdir -p \$dldir~
16517 $install_prog $dir/$dlname \$dldir/$dlname'
16518 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16519 dlpath=$dir/\$dldll~
16521 shlibpath_overrides_runpath=yes
16525 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16526 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16527 sys_lib_search_path_spec="/lib /lib/w32api /usr/lib /usr/local/lib"
16530 # MinGW DLLs use traditional 'lib' prefix
16531 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16532 sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
16533 if echo "$sys_lib_search_path_spec" | grep ';[c-zC-Z]:/' >/dev/null; then
16534 # It is most probably a Windows format PATH printed by
16535 # mingw gcc, but we are running on Cygwin. Gcc prints its search
16536 # path with ; separators, and with drive letters. We can handle the
16537 # drive letters (cygwin fileutils understands them), so leave them,
16538 # especially as we might pass files found there to a mingw objdump,
16539 # which wouldn't understand a cygwinified path. Ahh.
16540 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16542 sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16546 # pw32 DLLs use 'pw' prefix rather than 'lib'
16547 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
16553 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
16556 dynamic_linker='Win32 ld.exe'
16557 # FIXME: first we should search . and the directory the executable is in
16561 darwin* | rhapsody*)
16562 dynamic_linker="$host_os dyld"
16563 version_type=darwin
16566 # FIXME: Relying on posixy $() will cause problems for
16567 # cross-compilation, but unfortunately the echo tests do not
16568 # yet detect zsh echo's removal of \ escapes.
16569 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext'
16570 soname_spec='${libname}${release}${major}$shared_ext'
16571 shlibpath_overrides_runpath=yes
16572 shlibpath_var=DYLD_LIBRARY_PATH
16573 shrext='$(test .$module = .yes && echo .so || echo .dylib)'
16574 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16575 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then
16576 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"`
16578 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
16585 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
16586 soname_spec='${libname}${release}${shared_ext}$major'
16587 shlibpath_var=LD_LIBRARY_PATH
16595 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
16596 version_type=freebsd-$objformat
16597 case $version_type in
16599 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
16604 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
16608 shlibpath_var=LD_LIBRARY_PATH
16611 shlibpath_overrides_runpath=yes
16613 freebsd3.01* | freebsdelf3.01*)
16614 shlibpath_overrides_runpath=yes
16615 hardcode_into_libs=yes
16618 shlibpath_overrides_runpath=no
16619 hardcode_into_libs=yes
16628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
16629 soname_spec='${libname}${release}${shared_ext}$major'
16630 shlibpath_var=LD_LIBRARY_PATH
16631 hardcode_into_libs=yes
16634 hpux9* | hpux10* | hpux11*)
16635 # Give a soname corresponding to the major version so that dld.sl refuses to
16636 # link against other versions.
16640 case "$host_cpu" in
16643 hardcode_into_libs=yes
16644 dynamic_linker="$host_os dld.so"
16645 shlibpath_var=LD_LIBRARY_PATH
16646 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16648 soname_spec='${libname}${release}${shared_ext}$major'
16649 if test "X$HPUX_IA64_MODE" = X32; then
16650 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
16652 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
16654 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16658 hardcode_into_libs=yes
16659 dynamic_linker="$host_os dld.sl"
16660 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
16661 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
16662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16663 soname_spec='${libname}${release}${shared_ext}$major'
16664 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
16665 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
16669 dynamic_linker="$host_os dld.sl"
16670 shlibpath_var=SHLIB_PATH
16671 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
16672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16673 soname_spec='${libname}${release}${shared_ext}$major'
16676 # HP-UX runs *really* slowly unless shared libraries are mode 555.
16677 postinstall_cmds='chmod 555 $lib'
16680 irix5* | irix6* | nonstopux*)
16682 nonstopux*) version_type=nonstopux ;;
16684 if test "$lt_cv_prog_gnu_ld" = yes; then
16692 soname_spec='${libname}${release}${shared_ext}$major'
16693 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
16695 irix5* | nonstopux*)
16696 libsuff= shlibsuff=
16699 case $LD in # libtool.m4 will add one of these switches to LD
16700 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
16701 libsuff= shlibsuff= libmagic=32-bit;;
16702 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
16703 libsuff=32 shlibsuff=N32 libmagic=N32;;
16704 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
16705 libsuff=64 shlibsuff=64 libmagic=64-bit;;
16706 *) libsuff= shlibsuff= libmagic=never-match;;
16710 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
16711 shlibpath_overrides_runpath=no
16712 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
16713 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
16714 hardcode_into_libs=yes
16717 # No shared lib support for Linux oldld, aout, or coff.
16718 linux*oldld* | linux*aout* | linux*coff*)
16722 # This must be Linux ELF.
16727 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16728 soname_spec='${libname}${release}${shared_ext}$major'
16729 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
16730 shlibpath_var=LD_LIBRARY_PATH
16731 shlibpath_overrides_runpath=no
16732 # This implies no fast_install, which is unacceptable.
16733 # Some rework will be needed to allow for fast_install
16734 # before this can be enabled.
16735 hardcode_into_libs=yes
16737 # We used to test for /lib/ld.so.1 and disable shared libraries on
16738 # powerpc, because MkLinux only supported shared libraries with the
16739 # GNU dynamic linker. Since this was broken with cross compilers,
16740 # most powerpc-linux boxes support dynamic linking these days and
16741 # people can always --disable-shared, the test was removed, and we
16742 # assume the GNU/Linux dynamic linker is in use.
16743 dynamic_linker='GNU/Linux ld.so'
16750 if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16751 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16752 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16753 dynamic_linker='NetBSD (a.out) ld.so'
16755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} ${libname}${shared_ext}'
16756 soname_spec='${libname}${release}${shared_ext}$major'
16757 dynamic_linker='NetBSD ld.elf_so'
16759 shlibpath_var=LD_LIBRARY_PATH
16760 shlibpath_overrides_runpath=yes
16761 hardcode_into_libs=yes
16766 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16767 shlibpath_var=LD_LIBRARY_PATH
16768 shlibpath_overrides_runpath=yes
16775 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16776 soname_spec='${libname}${release}${shared_ext}$major'
16777 shlibpath_var=LD_LIBRARY_PATH
16778 shlibpath_overrides_runpath=yes
16785 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16786 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
16787 shlibpath_var=LD_LIBRARY_PATH
16788 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16790 openbsd2.[89] | openbsd2.[89].*)
16791 shlibpath_overrides_runpath=no
16794 shlibpath_overrides_runpath=yes
16798 shlibpath_overrides_runpath=yes
16803 libname_spec='$name'
16806 library_names_spec='$libname${shared_ext} $libname.a'
16807 dynamic_linker='OS/2 ld.exe'
16808 shlibpath_var=LIBPATH
16811 osf3* | osf4* | osf5*)
16815 soname_spec='${libname}${release}${shared_ext}$major'
16816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16817 shlibpath_var=LD_LIBRARY_PATH
16818 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
16819 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16824 soname_spec='${libname}${release}${shared_ext}$major'
16825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16826 shlibpath_var=LD_LIBRARY_PATH
16833 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16834 soname_spec='${libname}${release}${shared_ext}$major'
16835 shlibpath_var=LD_LIBRARY_PATH
16836 shlibpath_overrides_runpath=yes
16837 hardcode_into_libs=yes
16838 # ldd complains unless libraries are executable
16839 postinstall_cmds='chmod +x $lib'
16844 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
16845 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
16846 shlibpath_var=LD_LIBRARY_PATH
16847 shlibpath_overrides_runpath=yes
16848 if test "$with_gnu_ld" = yes; then
16854 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
16856 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16857 soname_spec='${libname}${release}${shared_ext}$major'
16858 shlibpath_var=LD_LIBRARY_PATH
16859 case $host_vendor in
16861 shlibpath_overrides_runpath=no
16863 export_dynamic_flag_spec='${wl}-Blargedynsym'
16864 runpath_var=LD_RUN_PATH
16872 shlibpath_overrides_runpath=no
16873 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
16879 if test -d /usr/nec ;then
16881 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
16882 soname_spec='$libname${shared_ext}.$major'
16883 shlibpath_var=LD_LIBRARY_PATH
16889 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16890 soname_spec='${libname}${release}${shared_ext}$major'
16891 shlibpath_var=LD_LIBRARY_PATH
16898 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
16899 echo "${ECHO_T}$dynamic_linker" >&6
16900 test "$dynamic_linker" = no && can_build_shared=no
16902 if test "x$enable_dlopen" != xyes; then
16903 enable_dlopen=unknown
16904 enable_dlopen_self=unknown
16905 enable_dlopen_self_static=unknown
16912 lt_cv_dlopen="load_add_on"
16914 lt_cv_dlopen_self=yes
16918 lt_cv_dlopen="LoadLibrary"
16923 lt_cv_dlopen="dlopen"
16928 # if libdl is installed we need to link against it
16929 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
16930 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
16931 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
16932 echo $ECHO_N "(cached) $ECHO_C" >&6
16934 ac_check_lib_save_LIBS=$LIBS
16936 cat >conftest.$ac_ext <<_ACEOF
16937 #line $LINENO "configure"
16940 cat confdefs.h >>conftest.$ac_ext
16941 cat >>conftest.$ac_ext <<_ACEOF
16942 /* end confdefs.h. */
16944 /* Override any gcc2 internal prototype to avoid an error. */
16948 /* We use char because int might match the return type of a gcc2
16949 builtin and then its argument prototype would still apply. */
16959 rm -f conftest.$ac_objext conftest$ac_exeext
16960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16961 (eval $ac_link) 2>&5
16963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16964 (exit $ac_status); } &&
16965 { ac_try='test -s conftest$ac_exeext'
16966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16967 (eval $ac_try) 2>&5
16969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16970 (exit $ac_status); }; }; then
16971 ac_cv_lib_dl_dlopen=yes
16973 echo "$as_me: failed program was:" >&5
16974 sed 's/^/| /' conftest.$ac_ext >&5
16976 ac_cv_lib_dl_dlopen=no
16978 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
16979 LIBS=$ac_check_lib_save_LIBS
16981 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
16982 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
16983 if test $ac_cv_lib_dl_dlopen = yes; then
16984 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16987 lt_cv_dlopen="dyld"
16989 lt_cv_dlopen_self=yes
16996 echo "$as_me:$LINENO: checking for shl_load" >&5
16997 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
16998 if test "${ac_cv_func_shl_load+set}" = set; then
16999 echo $ECHO_N "(cached) $ECHO_C" >&6
17001 cat >conftest.$ac_ext <<_ACEOF
17002 #line $LINENO "configure"
17005 cat confdefs.h >>conftest.$ac_ext
17006 cat >>conftest.$ac_ext <<_ACEOF
17007 /* end confdefs.h. */
17008 /* System header to define __stub macros and hopefully few prototypes,
17009 which can conflict with char shl_load (); below.
17010 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17011 <limits.h> exists even on freestanding compilers. */
17013 # include <limits.h>
17015 # include <assert.h>
17017 /* Override any gcc2 internal prototype to avoid an error. */
17022 /* We use char because int might match the return type of a gcc2
17023 builtin and then its argument prototype would still apply. */
17025 /* The GNU C library defines this for functions which it implements
17026 to always fail with ENOSYS. Some functions are actually named
17027 something starting with __ and the normal name is an alias. */
17028 #if defined (__stub_shl_load) || defined (__stub___shl_load)
17031 char (*f) () = shl_load;
17040 return f != shl_load;
17045 rm -f conftest.$ac_objext conftest$ac_exeext
17046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17047 (eval $ac_link) 2>&5
17049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17050 (exit $ac_status); } &&
17051 { ac_try='test -s conftest$ac_exeext'
17052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17053 (eval $ac_try) 2>&5
17055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056 (exit $ac_status); }; }; then
17057 ac_cv_func_shl_load=yes
17059 echo "$as_me: failed program was:" >&5
17060 sed 's/^/| /' conftest.$ac_ext >&5
17062 ac_cv_func_shl_load=no
17064 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17066 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
17067 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
17068 if test $ac_cv_func_shl_load = yes; then
17069 lt_cv_dlopen="shl_load"
17071 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
17072 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
17073 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
17074 echo $ECHO_N "(cached) $ECHO_C" >&6
17076 ac_check_lib_save_LIBS=$LIBS
17078 cat >conftest.$ac_ext <<_ACEOF
17079 #line $LINENO "configure"
17082 cat confdefs.h >>conftest.$ac_ext
17083 cat >>conftest.$ac_ext <<_ACEOF
17084 /* end confdefs.h. */
17086 /* Override any gcc2 internal prototype to avoid an error. */
17090 /* We use char because int might match the return type of a gcc2
17091 builtin and then its argument prototype would still apply. */
17101 rm -f conftest.$ac_objext conftest$ac_exeext
17102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17103 (eval $ac_link) 2>&5
17105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17106 (exit $ac_status); } &&
17107 { ac_try='test -s conftest$ac_exeext'
17108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17109 (eval $ac_try) 2>&5
17111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17112 (exit $ac_status); }; }; then
17113 ac_cv_lib_dld_shl_load=yes
17115 echo "$as_me: failed program was:" >&5
17116 sed 's/^/| /' conftest.$ac_ext >&5
17118 ac_cv_lib_dld_shl_load=no
17120 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17121 LIBS=$ac_check_lib_save_LIBS
17123 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
17124 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
17125 if test $ac_cv_lib_dld_shl_load = yes; then
17126 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
17128 echo "$as_me:$LINENO: checking for dlopen" >&5
17129 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
17130 if test "${ac_cv_func_dlopen+set}" = set; then
17131 echo $ECHO_N "(cached) $ECHO_C" >&6
17133 cat >conftest.$ac_ext <<_ACEOF
17134 #line $LINENO "configure"
17137 cat confdefs.h >>conftest.$ac_ext
17138 cat >>conftest.$ac_ext <<_ACEOF
17139 /* end confdefs.h. */
17140 /* System header to define __stub macros and hopefully few prototypes,
17141 which can conflict with char dlopen (); below.
17142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17143 <limits.h> exists even on freestanding compilers. */
17145 # include <limits.h>
17147 # include <assert.h>
17149 /* Override any gcc2 internal prototype to avoid an error. */
17154 /* We use char because int might match the return type of a gcc2
17155 builtin and then its argument prototype would still apply. */
17157 /* The GNU C library defines this for functions which it implements
17158 to always fail with ENOSYS. Some functions are actually named
17159 something starting with __ and the normal name is an alias. */
17160 #if defined (__stub_dlopen) || defined (__stub___dlopen)
17163 char (*f) () = dlopen;
17172 return f != dlopen;
17177 rm -f conftest.$ac_objext conftest$ac_exeext
17178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17179 (eval $ac_link) 2>&5
17181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17182 (exit $ac_status); } &&
17183 { ac_try='test -s conftest$ac_exeext'
17184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17185 (eval $ac_try) 2>&5
17187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17188 (exit $ac_status); }; }; then
17189 ac_cv_func_dlopen=yes
17191 echo "$as_me: failed program was:" >&5
17192 sed 's/^/| /' conftest.$ac_ext >&5
17194 ac_cv_func_dlopen=no
17196 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17198 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
17199 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
17200 if test $ac_cv_func_dlopen = yes; then
17201 lt_cv_dlopen="dlopen"
17203 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
17204 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
17205 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
17206 echo $ECHO_N "(cached) $ECHO_C" >&6
17208 ac_check_lib_save_LIBS=$LIBS
17210 cat >conftest.$ac_ext <<_ACEOF
17211 #line $LINENO "configure"
17214 cat confdefs.h >>conftest.$ac_ext
17215 cat >>conftest.$ac_ext <<_ACEOF
17216 /* end confdefs.h. */
17218 /* Override any gcc2 internal prototype to avoid an error. */
17222 /* We use char because int might match the return type of a gcc2
17223 builtin and then its argument prototype would still apply. */
17233 rm -f conftest.$ac_objext conftest$ac_exeext
17234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17235 (eval $ac_link) 2>&5
17237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17238 (exit $ac_status); } &&
17239 { ac_try='test -s conftest$ac_exeext'
17240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17241 (eval $ac_try) 2>&5
17243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17244 (exit $ac_status); }; }; then
17245 ac_cv_lib_dl_dlopen=yes
17247 echo "$as_me: failed program was:" >&5
17248 sed 's/^/| /' conftest.$ac_ext >&5
17250 ac_cv_lib_dl_dlopen=no
17252 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17253 LIBS=$ac_check_lib_save_LIBS
17255 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
17256 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
17257 if test $ac_cv_lib_dl_dlopen = yes; then
17258 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
17260 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
17261 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
17262 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
17263 echo $ECHO_N "(cached) $ECHO_C" >&6
17265 ac_check_lib_save_LIBS=$LIBS
17266 LIBS="-lsvld $LIBS"
17267 cat >conftest.$ac_ext <<_ACEOF
17268 #line $LINENO "configure"
17271 cat confdefs.h >>conftest.$ac_ext
17272 cat >>conftest.$ac_ext <<_ACEOF
17273 /* end confdefs.h. */
17275 /* Override any gcc2 internal prototype to avoid an error. */
17279 /* We use char because int might match the return type of a gcc2
17280 builtin and then its argument prototype would still apply. */
17290 rm -f conftest.$ac_objext conftest$ac_exeext
17291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17292 (eval $ac_link) 2>&5
17294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17295 (exit $ac_status); } &&
17296 { ac_try='test -s conftest$ac_exeext'
17297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17298 (eval $ac_try) 2>&5
17300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17301 (exit $ac_status); }; }; then
17302 ac_cv_lib_svld_dlopen=yes
17304 echo "$as_me: failed program was:" >&5
17305 sed 's/^/| /' conftest.$ac_ext >&5
17307 ac_cv_lib_svld_dlopen=no
17309 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17310 LIBS=$ac_check_lib_save_LIBS
17312 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
17313 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
17314 if test $ac_cv_lib_svld_dlopen = yes; then
17315 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
17317 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
17318 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
17319 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
17320 echo $ECHO_N "(cached) $ECHO_C" >&6
17322 ac_check_lib_save_LIBS=$LIBS
17324 cat >conftest.$ac_ext <<_ACEOF
17325 #line $LINENO "configure"
17328 cat confdefs.h >>conftest.$ac_ext
17329 cat >>conftest.$ac_ext <<_ACEOF
17330 /* end confdefs.h. */
17332 /* Override any gcc2 internal prototype to avoid an error. */
17336 /* We use char because int might match the return type of a gcc2
17337 builtin and then its argument prototype would still apply. */
17347 rm -f conftest.$ac_objext conftest$ac_exeext
17348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17349 (eval $ac_link) 2>&5
17351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17352 (exit $ac_status); } &&
17353 { ac_try='test -s conftest$ac_exeext'
17354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17355 (eval $ac_try) 2>&5
17357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17358 (exit $ac_status); }; }; then
17359 ac_cv_lib_dld_dld_link=yes
17361 echo "$as_me: failed program was:" >&5
17362 sed 's/^/| /' conftest.$ac_ext >&5
17364 ac_cv_lib_dld_dld_link=no
17366 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
17367 LIBS=$ac_check_lib_save_LIBS
17369 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
17370 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
17371 if test $ac_cv_lib_dld_dld_link = yes; then
17372 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
17393 if test "x$lt_cv_dlopen" != xno; then
17399 case $lt_cv_dlopen in
17401 save_CPPFLAGS="$CPPFLAGS"
17402 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
17404 save_LDFLAGS="$LDFLAGS"
17405 eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
17408 LIBS="$lt_cv_dlopen_libs $LIBS"
17410 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
17411 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
17412 if test "${lt_cv_dlopen_self+set}" = set; then
17413 echo $ECHO_N "(cached) $ECHO_C" >&6
17415 if test "$cross_compiling" = yes; then :
17416 lt_cv_dlopen_self=cross
17418 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17419 lt_status=$lt_dlunknown
17420 cat > conftest.$ac_ext <<EOF
17421 #line 17421 "configure"
17422 #include "confdefs.h"
17431 # define LT_DLGLOBAL RTLD_GLOBAL
17434 # define LT_DLGLOBAL DL_GLOBAL
17436 # define LT_DLGLOBAL 0
17440 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17441 find out it does not work in some platform. */
17442 #ifndef LT_DLLAZY_OR_NOW
17444 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17447 # define LT_DLLAZY_OR_NOW DL_LAZY
17450 # define LT_DLLAZY_OR_NOW RTLD_NOW
17453 # define LT_DLLAZY_OR_NOW DL_NOW
17455 # define LT_DLLAZY_OR_NOW 0
17463 extern "C" void exit (int);
17466 void fnord() { int i=42;}
17469 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17470 int status = $lt_dlunknown;
17474 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17475 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17476 /* dlclose (self); */
17482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17483 (eval $ac_link) 2>&5
17485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17486 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17487 (./conftest; exit; ) 2>/dev/null
17489 case x$lt_status in
17490 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17491 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
17492 x$lt_unknown|x*) lt_cv_dlopen_self=no ;;
17495 # compilation failed
17496 lt_cv_dlopen_self=no
17503 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
17504 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
17506 if test "x$lt_cv_dlopen_self" = xyes; then
17507 LDFLAGS="$LDFLAGS $link_static_flag"
17508 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
17509 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
17510 if test "${lt_cv_dlopen_self_static+set}" = set; then
17511 echo $ECHO_N "(cached) $ECHO_C" >&6
17513 if test "$cross_compiling" = yes; then :
17514 lt_cv_dlopen_self_static=cross
17516 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17517 lt_status=$lt_dlunknown
17518 cat > conftest.$ac_ext <<EOF
17519 #line 17519 "configure"
17520 #include "confdefs.h"
17529 # define LT_DLGLOBAL RTLD_GLOBAL
17532 # define LT_DLGLOBAL DL_GLOBAL
17534 # define LT_DLGLOBAL 0
17538 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
17539 find out it does not work in some platform. */
17540 #ifndef LT_DLLAZY_OR_NOW
17542 # define LT_DLLAZY_OR_NOW RTLD_LAZY
17545 # define LT_DLLAZY_OR_NOW DL_LAZY
17548 # define LT_DLLAZY_OR_NOW RTLD_NOW
17551 # define LT_DLLAZY_OR_NOW DL_NOW
17553 # define LT_DLLAZY_OR_NOW 0
17561 extern "C" void exit (int);
17564 void fnord() { int i=42;}
17567 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
17568 int status = $lt_dlunknown;
17572 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
17573 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
17574 /* dlclose (self); */
17580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17581 (eval $ac_link) 2>&5
17583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17584 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17585 (./conftest; exit; ) 2>/dev/null
17587 case x$lt_status in
17588 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
17589 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
17590 x$lt_unknown|x*) lt_cv_dlopen_self_static=no ;;
17593 # compilation failed
17594 lt_cv_dlopen_self_static=no
17601 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
17602 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
17605 CPPFLAGS="$save_CPPFLAGS"
17606 LDFLAGS="$save_LDFLAGS"
17611 case $lt_cv_dlopen_self in
17612 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
17613 *) enable_dlopen_self=unknown ;;
17616 case $lt_cv_dlopen_self_static in
17617 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
17618 *) enable_dlopen_self_static=unknown ;;
17623 # The else clause should only fire when bootstrapping the
17624 # libtool distribution, otherwise you forgot to ship ltmain.sh
17625 # with your package, and you will get complaints that there are
17626 # no rules to generate ltmain.sh.
17627 if test -f "$ltmain"; then
17628 # See if we are running on zsh, and set the options which allow our commands through
17629 # without removal of \ escapes.
17630 if test -n "${ZSH_VERSION+set}" ; then
17631 setopt NO_GLOB_SUBST
17633 # Now quote all the things that may contain metacharacters while being
17634 # careful not to overquote the AC_SUBSTed values. We take copies of the
17635 # variables and quote the copies for generation of the libtool script.
17636 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
17637 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
17638 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
17639 deplibs_check_method reload_flag reload_cmds need_locks \
17640 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
17641 lt_cv_sys_global_symbol_to_c_name_address \
17642 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
17643 old_postinstall_cmds old_postuninstall_cmds \
17647 lt_prog_compiler_wl_GCJ \
17648 lt_prog_compiler_pic_GCJ \
17649 lt_prog_compiler_static_GCJ \
17650 lt_prog_compiler_no_builtin_flag_GCJ \
17651 export_dynamic_flag_spec_GCJ \
17652 thread_safe_flag_spec_GCJ \
17653 whole_archive_flag_spec_GCJ \
17654 enable_shared_with_static_runtimes_GCJ \
17655 old_archive_cmds_GCJ \
17656 old_archive_from_new_cmds_GCJ \
17657 predep_objects_GCJ \
17658 postdep_objects_GCJ \
17661 compiler_lib_search_path_GCJ \
17663 archive_expsym_cmds_GCJ \
17664 postinstall_cmds_GCJ \
17665 postuninstall_cmds_GCJ \
17666 old_archive_from_expsyms_cmds_GCJ \
17667 allow_undefined_flag_GCJ \
17668 no_undefined_flag_GCJ \
17669 export_symbols_cmds_GCJ \
17670 hardcode_libdir_flag_spec_GCJ \
17671 hardcode_libdir_flag_spec_ld_GCJ \
17672 hardcode_libdir_separator_GCJ \
17673 hardcode_automatic_GCJ \
17675 module_expsym_cmds_GCJ \
17676 lt_cv_prog_compiler_c_o_GCJ \
17677 exclude_expsyms_GCJ \
17678 include_expsyms_GCJ; do
17681 old_archive_cmds_GCJ | \
17682 old_archive_from_new_cmds_GCJ | \
17683 archive_cmds_GCJ | \
17684 archive_expsym_cmds_GCJ | \
17685 module_cmds_GCJ | \
17686 module_expsym_cmds_GCJ | \
17687 old_archive_from_expsyms_cmds_GCJ | \
17688 export_symbols_cmds_GCJ | \
17689 extract_expsyms_cmds | reload_cmds | finish_cmds | \
17690 postinstall_cmds | postuninstall_cmds | \
17691 old_postinstall_cmds | old_postuninstall_cmds | \
17692 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
17693 # Double-quote double-evaled strings.
17694 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
17697 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
17703 *'\$0 --fallback-echo"')
17704 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
17710 cat <<__EOF__ >> "$cfgfile"
17711 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
17713 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17715 # Shell to use when invoking shell scripts.
17718 # Whether or not to build shared libraries.
17719 build_libtool_libs=$enable_shared
17721 # Whether or not to build static libraries.
17722 build_old_libs=$enable_static
17724 # Whether or not to add -lc for building shared libraries.
17725 build_libtool_need_lc=$archive_cmds_need_lc_GCJ
17727 # Whether or not to disallow shared libs when runtime libs are static
17728 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_GCJ
17730 # Whether or not to optimize for fast installation.
17731 fast_install=$enable_fast_install
17734 host_alias=$host_alias
17737 # An echo program that does not interpret backslashes.
17742 AR_FLAGS=$lt_AR_FLAGS
17747 # A language-specific compiler.
17748 CC=$lt_compiler_GCJ
17750 # Is the compiler the GNU C compiler?
17756 # The linker used to build libraries.
17759 # Whether we need hard or soft links.
17762 # A BSD-compatible nm program.
17765 # A symbol stripping program
17768 # Used to examine libraries when file_magic_cmd begins "file"
17769 MAGIC_CMD=$MAGIC_CMD
17771 # Used on cygwin: DLL creation program.
17774 # Used on cygwin: object dumper.
17777 # Used on cygwin: assembler.
17780 # The name of the directory that contains temporary libtool files.
17783 # How to create reloadable object files.
17784 reload_flag=$lt_reload_flag
17785 reload_cmds=$lt_reload_cmds
17787 # How to pass a linker flag through the compiler.
17788 wl=$lt_lt_prog_compiler_wl_GCJ
17790 # Object file suffix (normally "o").
17791 objext="$ac_objext"
17793 # Old archive suffix (normally "a").
17796 # Shared library suffix (normally ".so").
17799 # Executable file suffix (normally "").
17802 # Additional compiler flags for building library objects.
17803 pic_flag=$lt_lt_prog_compiler_pic_GCJ
17806 # What is the maximum length of a command?
17807 max_cmd_len=$lt_cv_sys_max_cmd_len
17809 # Does compiler simultaneously support -c and -o options?
17810 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
17812 # Must we lock files when doing compilation ?
17813 need_locks=$lt_need_locks
17815 # Do we need the lib prefix for modules?
17816 need_lib_prefix=$need_lib_prefix
17818 # Do we need a version for libraries?
17819 need_version=$need_version
17821 # Whether dlopen is supported.
17822 dlopen_support=$enable_dlopen
17824 # Whether dlopen of programs is supported.
17825 dlopen_self=$enable_dlopen_self
17827 # Whether dlopen of statically linked programs is supported.
17828 dlopen_self_static=$enable_dlopen_self_static
17830 # Compiler flag to prevent dynamic linking.
17831 link_static_flag=$lt_lt_prog_compiler_static_GCJ
17833 # Compiler flag to turn off builtin functions.
17834 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_GCJ
17836 # Compiler flag to allow reflexive dlopens.
17837 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_GCJ
17839 # Compiler flag to generate shared objects directly from archives.
17840 whole_archive_flag_spec=$lt_whole_archive_flag_spec_GCJ
17842 # Compiler flag to generate thread-safe objects.
17843 thread_safe_flag_spec=$lt_thread_safe_flag_spec_GCJ
17845 # Library versioning type.
17846 version_type=$version_type
17848 # Format of library name prefix.
17849 libname_spec=$lt_libname_spec
17851 # List of archive names. First name is the real one, the rest are links.
17852 # The last name is the one that the linker finds with -lNAME.
17853 library_names_spec=$lt_library_names_spec
17855 # The coded name of the library, if different from the real name.
17856 soname_spec=$lt_soname_spec
17858 # Commands used to build and install an old-style archive.
17860 old_archive_cmds=$lt_old_archive_cmds_GCJ
17861 old_postinstall_cmds=$lt_old_postinstall_cmds
17862 old_postuninstall_cmds=$lt_old_postuninstall_cmds
17864 # Create an old-style archive from a shared archive.
17865 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_GCJ
17867 # Create a temporary old-style archive to link instead of a shared archive.
17868 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_GCJ
17870 # Commands used to build and install a shared archive.
17871 archive_cmds=$lt_archive_cmds_GCJ
17872 archive_expsym_cmds=$lt_archive_expsym_cmds_GCJ
17873 postinstall_cmds=$lt_postinstall_cmds
17874 postuninstall_cmds=$lt_postuninstall_cmds
17876 # Commands used to build a loadable module (assumed same as above if empty)
17877 module_cmds=$lt_module_cmds_GCJ
17878 module_expsym_cmds=$lt_module_expsym_cmds_GCJ
17880 # Commands to strip libraries.
17881 old_striplib=$lt_old_striplib
17882 striplib=$lt_striplib
17884 # Dependencies to place before the objects being linked to create a
17886 predep_objects=$lt_predep_objects_GCJ
17888 # Dependencies to place after the objects being linked to create a
17890 postdep_objects=$lt_postdep_objects_GCJ
17892 # Dependencies to place before the objects being linked to create a
17894 predeps=$lt_predeps_GCJ
17896 # Dependencies to place after the objects being linked to create a
17898 postdeps=$lt_postdeps_GCJ
17900 # The library search path used internally by the compiler when linking
17901 # a shared library.
17902 compiler_lib_search_path=$lt_compiler_lib_search_path_GCJ
17904 # Method to check whether dependent libraries are shared objects.
17905 deplibs_check_method=$lt_deplibs_check_method
17907 # Command to use when deplibs_check_method == file_magic.
17908 file_magic_cmd=$lt_file_magic_cmd
17910 # Flag that allows shared libraries with undefined symbols to be built.
17911 allow_undefined_flag=$lt_allow_undefined_flag_GCJ
17913 # Flag that forces no undefined symbols.
17914 no_undefined_flag=$lt_no_undefined_flag_GCJ
17916 # Commands used to finish a libtool library installation in a directory.
17917 finish_cmds=$lt_finish_cmds
17919 # Same as above, but a single script fragment to be evaled but not shown.
17920 finish_eval=$lt_finish_eval
17922 # Take the output of nm and produce a listing of raw symbols and C names.
17923 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
17925 # Transform the output of nm in a proper C declaration
17926 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
17928 # Transform the output of nm in a C name address pair
17929 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
17931 # This is the shared library runtime path variable.
17932 runpath_var=$runpath_var
17934 # This is the shared library path variable.
17935 shlibpath_var=$shlibpath_var
17937 # Is shlibpath searched before the hard-coded library search path?
17938 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
17940 # How to hardcode a shared library path into an executable.
17941 hardcode_action=$hardcode_action_GCJ
17943 # Whether we should hardcode library paths into libraries.
17944 hardcode_into_libs=$hardcode_into_libs
17946 # Flag to hardcode \$libdir into a binary during linking.
17947 # This must work even if \$libdir does not exist.
17948 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_GCJ
17950 # If ld is used when linking, flag to hardcode \$libdir into
17951 # a binary during linking. This must work even if \$libdir does
17953 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_GCJ
17955 # Whether we need a single -rpath flag with a separated argument.
17956 hardcode_libdir_separator=$lt_hardcode_libdir_separator_GCJ
17958 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
17959 # resulting binary.
17960 hardcode_direct=$hardcode_direct_GCJ
17962 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
17963 # resulting binary.
17964 hardcode_minus_L=$hardcode_minus_L_GCJ
17966 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
17967 # the resulting binary.
17968 hardcode_shlibpath_var=$hardcode_shlibpath_var_GCJ
17970 # Set to yes if building a shared library automatically hardcodes DIR into the library
17971 # and all subsequent libraries and executables linked against it.
17972 hardcode_automatic=$hardcode_automatic_GCJ
17974 # Variables whose values should be saved in libtool wrapper scripts and
17975 # restored at relink time.
17976 variables_saved_for_relink="$variables_saved_for_relink"
17978 # Whether libtool must link a program against all its dependency libraries.
17979 link_all_deplibs=$link_all_deplibs_GCJ
17981 # Compile-time system search path for libraries
17982 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
17984 # Run-time system search path for libraries
17985 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
17987 # Fix the shell variable \$srcfile for the compiler.
17988 fix_srcfile_path="$fix_srcfile_path_GCJ"
17990 # Set to yes if exported symbols are required.
17991 always_export_symbols=$always_export_symbols_GCJ
17993 # The commands to list exported symbols.
17994 export_symbols_cmds=$lt_export_symbols_cmds_GCJ
17996 # The commands to extract the exported symbol list from a shared archive.
17997 extract_expsyms_cmds=$lt_extract_expsyms_cmds
17999 # Symbols that should not be listed in the preloaded symbols.
18000 exclude_expsyms=$lt_exclude_expsyms_GCJ
18002 # Symbols that must always be exported.
18003 include_expsyms=$lt_include_expsyms_GCJ
18005 # ### END LIBTOOL TAG CONFIG: $tagname
18011 # If there is no Makefile yet, we rely on a make rule to execute
18012 # `config.status --recheck' to rerun these tests and create the
18013 # libtool script then.
18014 test -f Makefile && make "$ltmain"
18019 ac_cpp='$CPP $CPPFLAGS'
18020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18035 # Source file extension for RC test sources.
18038 # Object file extension for compiled RC test sources.
18042 # Code to be used in simple compile tests
18043 lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
18045 # Code to be used in simple link tests
18046 lt_simple_link_test_code="$lt_simple_compile_test_code"
18048 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
18050 # If no C compiler was specified, use CC.
18053 # Allow CC to be a program name with arguments.
18057 # Allow CC to be a program name with arguments.
18062 lt_cv_prog_compiler_c_o_RC=yes
18064 # The else clause should only fire when bootstrapping the
18065 # libtool distribution, otherwise you forgot to ship ltmain.sh
18066 # with your package, and you will get complaints that there are
18067 # no rules to generate ltmain.sh.
18068 if test -f "$ltmain"; then
18069 # See if we are running on zsh, and set the options which allow our commands through
18070 # without removal of \ escapes.
18071 if test -n "${ZSH_VERSION+set}" ; then
18072 setopt NO_GLOB_SUBST
18074 # Now quote all the things that may contain metacharacters while being
18075 # careful not to overquote the AC_SUBSTed values. We take copies of the
18076 # variables and quote the copies for generation of the libtool script.
18077 for var in echo old_CC old_CFLAGS AR AR_FLAGS EGREP RANLIB LN_S LTCC NM SED SHELL \
18078 libname_spec library_names_spec soname_spec extract_expsyms_cmds \
18079 old_striplib striplib file_magic_cmd finish_cmds finish_eval \
18080 deplibs_check_method reload_flag reload_cmds need_locks \
18081 lt_cv_sys_global_symbol_pipe lt_cv_sys_global_symbol_to_cdecl \
18082 lt_cv_sys_global_symbol_to_c_name_address \
18083 sys_lib_search_path_spec sys_lib_dlsearch_path_spec \
18084 old_postinstall_cmds old_postuninstall_cmds \
18088 lt_prog_compiler_wl_RC \
18089 lt_prog_compiler_pic_RC \
18090 lt_prog_compiler_static_RC \
18091 lt_prog_compiler_no_builtin_flag_RC \
18092 export_dynamic_flag_spec_RC \
18093 thread_safe_flag_spec_RC \
18094 whole_archive_flag_spec_RC \
18095 enable_shared_with_static_runtimes_RC \
18096 old_archive_cmds_RC \
18097 old_archive_from_new_cmds_RC \
18098 predep_objects_RC \
18099 postdep_objects_RC \
18102 compiler_lib_search_path_RC \
18104 archive_expsym_cmds_RC \
18105 postinstall_cmds_RC \
18106 postuninstall_cmds_RC \
18107 old_archive_from_expsyms_cmds_RC \
18108 allow_undefined_flag_RC \
18109 no_undefined_flag_RC \
18110 export_symbols_cmds_RC \
18111 hardcode_libdir_flag_spec_RC \
18112 hardcode_libdir_flag_spec_ld_RC \
18113 hardcode_libdir_separator_RC \
18114 hardcode_automatic_RC \
18116 module_expsym_cmds_RC \
18117 lt_cv_prog_compiler_c_o_RC \
18118 exclude_expsyms_RC \
18119 include_expsyms_RC; do
18122 old_archive_cmds_RC | \
18123 old_archive_from_new_cmds_RC | \
18124 archive_cmds_RC | \
18125 archive_expsym_cmds_RC | \
18127 module_expsym_cmds_RC | \
18128 old_archive_from_expsyms_cmds_RC | \
18129 export_symbols_cmds_RC | \
18130 extract_expsyms_cmds | reload_cmds | finish_cmds | \
18131 postinstall_cmds | postuninstall_cmds | \
18132 old_postinstall_cmds | old_postuninstall_cmds | \
18133 sys_lib_search_path_spec | sys_lib_dlsearch_path_spec)
18134 # Double-quote double-evaled strings.
18135 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$double_quote_subst\" -e \"\$sed_quote_subst\" -e \"\$delay_variable_subst\"\`\\\""
18138 eval "lt_$var=\\\"\`\$echo \"X\$$var\" | \$Xsed -e \"\$sed_quote_subst\"\`\\\""
18144 *'\$0 --fallback-echo"')
18145 lt_echo=`$echo "X$lt_echo" | $Xsed -e 's/\\\\\\\$0 --fallback-echo"$/$0 --fallback-echo"/'`
18151 cat <<__EOF__ >> "$cfgfile"
18152 # ### BEGIN LIBTOOL TAG CONFIG: $tagname
18154 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18156 # Shell to use when invoking shell scripts.
18159 # Whether or not to build shared libraries.
18160 build_libtool_libs=$enable_shared
18162 # Whether or not to build static libraries.
18163 build_old_libs=$enable_static
18165 # Whether or not to add -lc for building shared libraries.
18166 build_libtool_need_lc=$archive_cmds_need_lc_RC
18168 # Whether or not to disallow shared libs when runtime libs are static
18169 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_RC
18171 # Whether or not to optimize for fast installation.
18172 fast_install=$enable_fast_install
18175 host_alias=$host_alias
18178 # An echo program that does not interpret backslashes.
18183 AR_FLAGS=$lt_AR_FLAGS
18188 # A language-specific compiler.
18191 # Is the compiler the GNU C compiler?
18197 # The linker used to build libraries.
18200 # Whether we need hard or soft links.
18203 # A BSD-compatible nm program.
18206 # A symbol stripping program
18209 # Used to examine libraries when file_magic_cmd begins "file"
18210 MAGIC_CMD=$MAGIC_CMD
18212 # Used on cygwin: DLL creation program.
18215 # Used on cygwin: object dumper.
18218 # Used on cygwin: assembler.
18221 # The name of the directory that contains temporary libtool files.
18224 # How to create reloadable object files.
18225 reload_flag=$lt_reload_flag
18226 reload_cmds=$lt_reload_cmds
18228 # How to pass a linker flag through the compiler.
18229 wl=$lt_lt_prog_compiler_wl_RC
18231 # Object file suffix (normally "o").
18232 objext="$ac_objext"
18234 # Old archive suffix (normally "a").
18237 # Shared library suffix (normally ".so").
18240 # Executable file suffix (normally "").
18243 # Additional compiler flags for building library objects.
18244 pic_flag=$lt_lt_prog_compiler_pic_RC
18247 # What is the maximum length of a command?
18248 max_cmd_len=$lt_cv_sys_max_cmd_len
18250 # Does compiler simultaneously support -c and -o options?
18251 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18253 # Must we lock files when doing compilation ?
18254 need_locks=$lt_need_locks
18256 # Do we need the lib prefix for modules?
18257 need_lib_prefix=$need_lib_prefix
18259 # Do we need a version for libraries?
18260 need_version=$need_version
18262 # Whether dlopen is supported.
18263 dlopen_support=$enable_dlopen
18265 # Whether dlopen of programs is supported.
18266 dlopen_self=$enable_dlopen_self
18268 # Whether dlopen of statically linked programs is supported.
18269 dlopen_self_static=$enable_dlopen_self_static
18271 # Compiler flag to prevent dynamic linking.
18272 link_static_flag=$lt_lt_prog_compiler_static_RC
18274 # Compiler flag to turn off builtin functions.
18275 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_RC
18277 # Compiler flag to allow reflexive dlopens.
18278 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_RC
18280 # Compiler flag to generate shared objects directly from archives.
18281 whole_archive_flag_spec=$lt_whole_archive_flag_spec_RC
18283 # Compiler flag to generate thread-safe objects.
18284 thread_safe_flag_spec=$lt_thread_safe_flag_spec_RC
18286 # Library versioning type.
18287 version_type=$version_type
18289 # Format of library name prefix.
18290 libname_spec=$lt_libname_spec
18292 # List of archive names. First name is the real one, the rest are links.
18293 # The last name is the one that the linker finds with -lNAME.
18294 library_names_spec=$lt_library_names_spec
18296 # The coded name of the library, if different from the real name.
18297 soname_spec=$lt_soname_spec
18299 # Commands used to build and install an old-style archive.
18301 old_archive_cmds=$lt_old_archive_cmds_RC
18302 old_postinstall_cmds=$lt_old_postinstall_cmds
18303 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18305 # Create an old-style archive from a shared archive.
18306 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_RC
18308 # Create a temporary old-style archive to link instead of a shared archive.
18309 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_RC
18311 # Commands used to build and install a shared archive.
18312 archive_cmds=$lt_archive_cmds_RC
18313 archive_expsym_cmds=$lt_archive_expsym_cmds_RC
18314 postinstall_cmds=$lt_postinstall_cmds
18315 postuninstall_cmds=$lt_postuninstall_cmds
18317 # Commands used to build a loadable module (assumed same as above if empty)
18318 module_cmds=$lt_module_cmds_RC
18319 module_expsym_cmds=$lt_module_expsym_cmds_RC
18321 # Commands to strip libraries.
18322 old_striplib=$lt_old_striplib
18323 striplib=$lt_striplib
18325 # Dependencies to place before the objects being linked to create a
18327 predep_objects=$lt_predep_objects_RC
18329 # Dependencies to place after the objects being linked to create a
18331 postdep_objects=$lt_postdep_objects_RC
18333 # Dependencies to place before the objects being linked to create a
18335 predeps=$lt_predeps_RC
18337 # Dependencies to place after the objects being linked to create a
18339 postdeps=$lt_postdeps_RC
18341 # The library search path used internally by the compiler when linking
18342 # a shared library.
18343 compiler_lib_search_path=$lt_compiler_lib_search_path_RC
18345 # Method to check whether dependent libraries are shared objects.
18346 deplibs_check_method=$lt_deplibs_check_method
18348 # Command to use when deplibs_check_method == file_magic.
18349 file_magic_cmd=$lt_file_magic_cmd
18351 # Flag that allows shared libraries with undefined symbols to be built.
18352 allow_undefined_flag=$lt_allow_undefined_flag_RC
18354 # Flag that forces no undefined symbols.
18355 no_undefined_flag=$lt_no_undefined_flag_RC
18357 # Commands used to finish a libtool library installation in a directory.
18358 finish_cmds=$lt_finish_cmds
18360 # Same as above, but a single script fragment to be evaled but not shown.
18361 finish_eval=$lt_finish_eval
18363 # Take the output of nm and produce a listing of raw symbols and C names.
18364 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18366 # Transform the output of nm in a proper C declaration
18367 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18369 # Transform the output of nm in a C name address pair
18370 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18372 # This is the shared library runtime path variable.
18373 runpath_var=$runpath_var
18375 # This is the shared library path variable.
18376 shlibpath_var=$shlibpath_var
18378 # Is shlibpath searched before the hard-coded library search path?
18379 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18381 # How to hardcode a shared library path into an executable.
18382 hardcode_action=$hardcode_action_RC
18384 # Whether we should hardcode library paths into libraries.
18385 hardcode_into_libs=$hardcode_into_libs
18387 # Flag to hardcode \$libdir into a binary during linking.
18388 # This must work even if \$libdir does not exist.
18389 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_RC
18391 # If ld is used when linking, flag to hardcode \$libdir into
18392 # a binary during linking. This must work even if \$libdir does
18394 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_RC
18396 # Whether we need a single -rpath flag with a separated argument.
18397 hardcode_libdir_separator=$lt_hardcode_libdir_separator_RC
18399 # Set to yes if using DIR/libNAME${shared_ext} during linking hardcodes DIR into the
18400 # resulting binary.
18401 hardcode_direct=$hardcode_direct_RC
18403 # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
18404 # resulting binary.
18405 hardcode_minus_L=$hardcode_minus_L_RC
18407 # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
18408 # the resulting binary.
18409 hardcode_shlibpath_var=$hardcode_shlibpath_var_RC
18411 # Set to yes if building a shared library automatically hardcodes DIR into the library
18412 # and all subsequent libraries and executables linked against it.
18413 hardcode_automatic=$hardcode_automatic_RC
18415 # Variables whose values should be saved in libtool wrapper scripts and
18416 # restored at relink time.
18417 variables_saved_for_relink="$variables_saved_for_relink"
18419 # Whether libtool must link a program against all its dependency libraries.
18420 link_all_deplibs=$link_all_deplibs_RC
18422 # Compile-time system search path for libraries
18423 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18425 # Run-time system search path for libraries
18426 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18428 # Fix the shell variable \$srcfile for the compiler.
18429 fix_srcfile_path="$fix_srcfile_path_RC"
18431 # Set to yes if exported symbols are required.
18432 always_export_symbols=$always_export_symbols_RC
18434 # The commands to list exported symbols.
18435 export_symbols_cmds=$lt_export_symbols_cmds_RC
18437 # The commands to extract the exported symbol list from a shared archive.
18438 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18440 # Symbols that should not be listed in the preloaded symbols.
18441 exclude_expsyms=$lt_exclude_expsyms_RC
18443 # Symbols that must always be exported.
18444 include_expsyms=$lt_include_expsyms_RC
18446 # ### END LIBTOOL TAG CONFIG: $tagname
18452 # If there is no Makefile yet, we rely on a make rule to execute
18453 # `config.status --recheck' to rerun these tests and create the
18454 # libtool script then.
18455 test -f Makefile && make "$ltmain"
18460 ac_cpp='$CPP $CPPFLAGS'
18461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18470 { { echo "$as_me:$LINENO: error: Unsupported tag name: $tagname" >&5
18471 echo "$as_me: error: Unsupported tag name: $tagname" >&2;}
18472 { (exit 1); exit 1; }; }
18476 # Append the new tag name to the list of available tags.
18477 if test -n "$tagname" ; then
18478 available_tags="$available_tags $tagname"
18484 # Now substitute the updated list of available tags.
18485 if eval "sed -e 's/^available_tags=.*\$/available_tags=\"$available_tags\"/' \"$ofile\" > \"${ofile}T\""; then
18486 mv "${ofile}T" "$ofile"
18490 { { echo "$as_me:$LINENO: error: unable to update list of available tagged configurations." >&5
18491 echo "$as_me: error: unable to update list of available tagged configurations." >&2;}
18492 { (exit 1); exit 1; }; }
18498 # This can be used to rebuild libtool when needed
18499 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
18501 # Always use our own libtool.
18502 LIBTOOL='$(SHELL) $(top_builddir)/mklib'
18504 # Prevent multiple expansion
18526 # Extract the first word of "pwd", so it can be a program name with args.
18527 set dummy pwd; ac_word=$2
18528 echo "$as_me:$LINENO: checking for $ac_word" >&5
18529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18530 if test "${ac_cv_path_RPWD+set}" = set; then
18531 echo $ECHO_N "(cached) $ECHO_C" >&6
18535 ac_cv_path_RPWD="$RPWD" # Let the user override the test with a path.
18538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18539 for as_dir in $PATH
18542 test -z "$as_dir" && as_dir=.
18543 for ac_exec_ext in '' $ac_executable_extensions; do
18544 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18545 ac_cv_path_RPWD="$as_dir/$ac_word$ac_exec_ext"
18546 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18552 test -z "$ac_cv_path_RPWD" && ac_cv_path_RPWD="false"
18556 RPWD=$ac_cv_path_RPWD
18558 if test -n "$RPWD"; then
18559 echo "$as_me:$LINENO: result: $RPWD" >&5
18560 echo "${ECHO_T}$RPWD" >&6
18562 echo "$as_me:$LINENO: result: no" >&5
18563 echo "${ECHO_T}no" >&6
18566 if test ${RPWD} = "false"
18568 { { echo "$as_me:$LINENO: error: pwd required but not found" >&5
18569 echo "$as_me: error: pwd required but not found" >&2;}
18570 { (exit 1); exit 1; }; }
18573 # Extract the first word of "ar", so it can be a program name with args.
18574 set dummy ar; ac_word=$2
18575 echo "$as_me:$LINENO: checking for $ac_word" >&5
18576 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18577 if test "${ac_cv_path_AR+set}" = set; then
18578 echo $ECHO_N "(cached) $ECHO_C" >&6
18582 ac_cv_path_AR="$AR" # Let the user override the test with a path.
18585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18586 for as_dir in $PATH
18589 test -z "$as_dir" && as_dir=.
18590 for ac_exec_ext in '' $ac_executable_extensions; do
18591 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18592 ac_cv_path_AR="$as_dir/$ac_word$ac_exec_ext"
18593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18599 test -z "$ac_cv_path_AR" && ac_cv_path_AR="false"
18605 if test -n "$AR"; then
18606 echo "$as_me:$LINENO: result: $AR" >&5
18607 echo "${ECHO_T}$AR" >&6
18609 echo "$as_me:$LINENO: result: no" >&5
18610 echo "${ECHO_T}no" >&6
18613 if test ${AR} = "false"
18615 { { echo "$as_me:$LINENO: error: ar required but not found" >&5
18616 echo "$as_me: error: ar required but not found" >&2;}
18617 { (exit 1); exit 1; }; }
18620 # Extract the first word of "sed", so it can be a program name with args.
18621 set dummy sed; ac_word=$2
18622 echo "$as_me:$LINENO: checking for $ac_word" >&5
18623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18624 if test "${ac_cv_path_SED+set}" = set; then
18625 echo $ECHO_N "(cached) $ECHO_C" >&6
18629 ac_cv_path_SED="$SED" # Let the user override the test with a path.
18632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18633 for as_dir in $PATH
18636 test -z "$as_dir" && as_dir=.
18637 for ac_exec_ext in '' $ac_executable_extensions; do
18638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18639 ac_cv_path_SED="$as_dir/$ac_word$ac_exec_ext"
18640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18646 test -z "$ac_cv_path_SED" && ac_cv_path_SED="false"
18650 SED=$ac_cv_path_SED
18652 if test -n "$SED"; then
18653 echo "$as_me:$LINENO: result: $SED" >&5
18654 echo "${ECHO_T}$SED" >&6
18656 echo "$as_me:$LINENO: result: no" >&5
18657 echo "${ECHO_T}no" >&6
18660 if test ${SED} = "false"
18662 { { echo "$as_me:$LINENO: error: sed required but not found" >&5
18663 echo "$as_me: error: sed required but not found" >&2;}
18664 { (exit 1); exit 1; }; }
18667 # Extract the first word of "rm", so it can be a program name with args.
18668 set dummy rm; ac_word=$2
18669 echo "$as_me:$LINENO: checking for $ac_word" >&5
18670 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18671 if test "${ac_cv_path_RM+set}" = set; then
18672 echo $ECHO_N "(cached) $ECHO_C" >&6
18676 ac_cv_path_RM="$RM" # Let the user override the test with a path.
18679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18680 for as_dir in $PATH
18683 test -z "$as_dir" && as_dir=.
18684 for ac_exec_ext in '' $ac_executable_extensions; do
18685 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18686 ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
18687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18693 test -z "$ac_cv_path_RM" && ac_cv_path_RM="false"
18699 if test -n "$RM"; then
18700 echo "$as_me:$LINENO: result: $RM" >&5
18701 echo "${ECHO_T}$RM" >&6
18703 echo "$as_me:$LINENO: result: no" >&5
18704 echo "${ECHO_T}no" >&6
18707 if test ${RM} = "false"
18709 { { echo "$as_me:$LINENO: error: rm required but not found" >&5
18710 echo "$as_me: error: rm required but not found" >&2;}
18711 { (exit 1); exit 1; }; }
18714 # Extract the first word of "echo", so it can be a program name with args.
18715 set dummy echo; ac_word=$2
18716 echo "$as_me:$LINENO: checking for $ac_word" >&5
18717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18718 if test "${ac_cv_path_ECHO+set}" = set; then
18719 echo $ECHO_N "(cached) $ECHO_C" >&6
18723 ac_cv_path_ECHO="$ECHO" # Let the user override the test with a path.
18726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18727 for as_dir in $PATH
18730 test -z "$as_dir" && as_dir=.
18731 for ac_exec_ext in '' $ac_executable_extensions; do
18732 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18733 ac_cv_path_ECHO="$as_dir/$ac_word$ac_exec_ext"
18734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18740 test -z "$ac_cv_path_ECHO" && ac_cv_path_ECHO="false"
18744 ECHO=$ac_cv_path_ECHO
18746 if test -n "$ECHO"; then
18747 echo "$as_me:$LINENO: result: $ECHO" >&5
18748 echo "${ECHO_T}$ECHO" >&6
18750 echo "$as_me:$LINENO: result: no" >&5
18751 echo "${ECHO_T}no" >&6
18754 if test ${ECHO} = "false"
18756 { { echo "$as_me:$LINENO: error: echo required but not found" >&5
18757 echo "$as_me: error: echo required but not found" >&2;}
18758 { (exit 1); exit 1; }; }
18761 # Extract the first word of "mkdir", so it can be a program name with args.
18762 set dummy mkdir; ac_word=$2
18763 echo "$as_me:$LINENO: checking for $ac_word" >&5
18764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18765 if test "${ac_cv_path_MKDIR+set}" = set; then
18766 echo $ECHO_N "(cached) $ECHO_C" >&6
18770 ac_cv_path_MKDIR="$MKDIR" # Let the user override the test with a path.
18773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18774 for as_dir in $PATH
18777 test -z "$as_dir" && as_dir=.
18778 for ac_exec_ext in '' $ac_executable_extensions; do
18779 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18780 ac_cv_path_MKDIR="$as_dir/$ac_word$ac_exec_ext"
18781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18787 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR="false"
18791 MKDIR=$ac_cv_path_MKDIR
18793 if test -n "$MKDIR"; then
18794 echo "$as_me:$LINENO: result: $MKDIR" >&5
18795 echo "${ECHO_T}$MKDIR" >&6
18797 echo "$as_me:$LINENO: result: no" >&5
18798 echo "${ECHO_T}no" >&6
18801 if test ${MKDIR} = "false"
18803 { { echo "$as_me:$LINENO: error: mkdir required but not found" >&5
18804 echo "$as_me: error: mkdir required but not found" >&2;}
18805 { (exit 1); exit 1; }; }
18808 # Extract the first word of "date", so it can be a program name with args.
18809 set dummy date; ac_word=$2
18810 echo "$as_me:$LINENO: checking for $ac_word" >&5
18811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18812 if test "${ac_cv_path_DATE+set}" = set; then
18813 echo $ECHO_N "(cached) $ECHO_C" >&6
18817 ac_cv_path_DATE="$DATE" # Let the user override the test with a path.
18820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18821 for as_dir in $PATH
18824 test -z "$as_dir" && as_dir=.
18825 for ac_exec_ext in '' $ac_executable_extensions; do
18826 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18827 ac_cv_path_DATE="$as_dir/$ac_word$ac_exec_ext"
18828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18834 test -z "$ac_cv_path_DATE" && ac_cv_path_DATE="false"
18838 DATE=$ac_cv_path_DATE
18840 if test -n "$DATE"; then
18841 echo "$as_me:$LINENO: result: $DATE" >&5
18842 echo "${ECHO_T}$DATE" >&6
18844 echo "$as_me:$LINENO: result: no" >&5
18845 echo "${ECHO_T}no" >&6
18848 if test ${DATE} = "false"
18850 { { echo "$as_me:$LINENO: error: date required but not found" >&5
18851 echo "$as_me: error: date required but not found" >&2;}
18852 { (exit 1); exit 1; }; }
18855 # Extract the first word of "mv", so it can be a program name with args.
18856 set dummy mv; ac_word=$2
18857 echo "$as_me:$LINENO: checking for $ac_word" >&5
18858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18859 if test "${ac_cv_path_MV+set}" = set; then
18860 echo $ECHO_N "(cached) $ECHO_C" >&6
18864 ac_cv_path_MV="$MV" # Let the user override the test with a path.
18867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18868 for as_dir in $PATH
18871 test -z "$as_dir" && as_dir=.
18872 for ac_exec_ext in '' $ac_executable_extensions; do
18873 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18874 ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
18875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18881 test -z "$ac_cv_path_MV" && ac_cv_path_MV="false"
18887 if test -n "$MV"; then
18888 echo "$as_me:$LINENO: result: $MV" >&5
18889 echo "${ECHO_T}$MV" >&6
18891 echo "$as_me:$LINENO: result: no" >&5
18892 echo "${ECHO_T}no" >&6
18895 if test ${MV} = "false"
18897 { { echo "$as_me:$LINENO: error: mv required but not found" >&5
18898 echo "$as_me: error: mv required but not found" >&2;}
18899 { (exit 1); exit 1; }; }
18902 # Extract the first word of "dot", so it can be a program name with args.
18903 set dummy dot; ac_word=$2
18904 echo "$as_me:$LINENO: checking for $ac_word" >&5
18905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18906 if test "${ac_cv_path_DOT+set}" = set; then
18907 echo $ECHO_N "(cached) $ECHO_C" >&6
18911 ac_cv_path_DOT="$DOT" # Let the user override the test with a path.
18914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18915 for as_dir in $PATH
18918 test -z "$as_dir" && as_dir=.
18919 for ac_exec_ext in '' $ac_executable_extensions; do
18920 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18921 ac_cv_path_DOT="$as_dir/$ac_word$ac_exec_ext"
18922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18928 test -z "$ac_cv_path_DOT" && ac_cv_path_DOT="false"
18932 DOT=$ac_cv_path_DOT
18934 if test -n "$DOT"; then
18935 echo "$as_me:$LINENO: result: $DOT" >&5
18936 echo "${ECHO_T}$DOT" >&6
18938 echo "$as_me:$LINENO: result: no" >&5
18939 echo "${ECHO_T}no" >&6
18943 # Extract the first word of "etags", so it can be a program name with args.
18944 set dummy etags; ac_word=$2
18945 echo "$as_me:$LINENO: checking for $ac_word" >&5
18946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18947 if test "${ac_cv_path_ETAGS+set}" = set; then
18948 echo $ECHO_N "(cached) $ECHO_C" >&6
18952 ac_cv_path_ETAGS="$ETAGS" # Let the user override the test with a path.
18955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18956 for as_dir in $PATH
18959 test -z "$as_dir" && as_dir=.
18960 for ac_exec_ext in '' $ac_executable_extensions; do
18961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18962 ac_cv_path_ETAGS="$as_dir/$ac_word$ac_exec_ext"
18963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18969 test -z "$ac_cv_path_ETAGS" && ac_cv_path_ETAGS="false"
18973 ETAGS=$ac_cv_path_ETAGS
18975 if test -n "$ETAGS"; then
18976 echo "$as_me:$LINENO: result: $ETAGS" >&5
18977 echo "${ECHO_T}$ETAGS" >&6
18979 echo "$as_me:$LINENO: result: no" >&5
18980 echo "${ECHO_T}no" >&6
18984 # Extract the first word of "python", so it can be a program name with args.
18985 set dummy python; ac_word=$2
18986 echo "$as_me:$LINENO: checking for $ac_word" >&5
18987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18988 if test "${ac_cv_path_PYTHON+set}" = set; then
18989 echo $ECHO_N "(cached) $ECHO_C" >&6
18993 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
18996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18997 for as_dir in $PATH
19000 test -z "$as_dir" && as_dir=.
19001 for ac_exec_ext in '' $ac_executable_extensions; do
19002 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19003 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
19004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19010 test -z "$ac_cv_path_PYTHON" && ac_cv_path_PYTHON="false"
19014 PYTHON=$ac_cv_path_PYTHON
19016 if test -n "$PYTHON"; then
19017 echo "$as_me:$LINENO: result: $PYTHON" >&5
19018 echo "${ECHO_T}$PYTHON" >&6
19020 echo "$as_me:$LINENO: result: no" >&5
19021 echo "${ECHO_T}no" >&6
19024 if test ${PYTHON} = "false"
19026 { echo "$as_me:$LINENO: WARNING: python required but not found" >&5
19027 echo "$as_me: WARNING: python required but not found" >&2;}
19030 # Extract the first word of "qmtest", so it can be a program name with args.
19031 set dummy qmtest; ac_word=$2
19032 echo "$as_me:$LINENO: checking for $ac_word" >&5
19033 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19034 if test "${ac_cv_path_QMTEST+set}" = set; then
19035 echo $ECHO_N "(cached) $ECHO_C" >&6
19039 ac_cv_path_QMTEST="$QMTEST" # Let the user override the test with a path.
19042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19043 for as_dir in $PATH
19046 test -z "$as_dir" && as_dir=.
19047 for ac_exec_ext in '' $ac_executable_extensions; do
19048 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19049 ac_cv_path_QMTEST="$as_dir/$ac_word$ac_exec_ext"
19050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19056 test -z "$ac_cv_path_QMTEST" && ac_cv_path_QMTEST="false"
19060 QMTEST=$ac_cv_path_QMTEST
19062 if test -n "$QMTEST"; then
19063 echo "$as_me:$LINENO: result: $QMTEST" >&5
19064 echo "${ECHO_T}$QMTEST" >&6
19066 echo "$as_me:$LINENO: result: no" >&5
19067 echo "${ECHO_T}no" >&6
19070 if test ${QMTEST} = "false"
19072 { echo "$as_me:$LINENO: WARNING: qmtest required but not found" >&5
19073 echo "$as_me: WARNING: qmtest required but not found" >&2;}
19076 pyversion=`$PYTHON -V 2>&1 | cut -d\ -f2`
19077 pymajor=`echo $pyversion | cut -d. -f1`
19078 pyminor=`echo $pyversion | cut -d. -f2`
19080 if test "$pymajor" -ge "2"
19082 if test "$pymajor" -eq "2"
19084 if test "$pyminor" -lt "2"
19086 { echo "$as_me:$LINENO: WARNING: Python 2.2 or greater required for qmtest" >&5
19087 echo "$as_me: WARNING: Python 2.2 or greater required for qmtest" >&2;}
19091 { echo "$as_me:$LINENO: WARNING: Python 2.2 or greater required for qmtest" >&5
19092 echo "$as_me: WARNING: Python 2.2 or greater required for qmtest" >&2;}
19099 echo "$as_me:$LINENO: checking for elf_begin in -lelf" >&5
19100 echo $ECHO_N "checking for elf_begin in -lelf... $ECHO_C" >&6
19101 if test "${ac_cv_lib_elf_elf_begin+set}" = set; then
19102 echo $ECHO_N "(cached) $ECHO_C" >&6
19104 ac_check_lib_save_LIBS=$LIBS
19106 cat >conftest.$ac_ext <<_ACEOF
19107 #line $LINENO "configure"
19110 cat confdefs.h >>conftest.$ac_ext
19111 cat >>conftest.$ac_ext <<_ACEOF
19112 /* end confdefs.h. */
19114 /* Override any gcc2 internal prototype to avoid an error. */
19118 /* We use char because int might match the return type of a gcc2
19119 builtin and then its argument prototype would still apply. */
19129 rm -f conftest.$ac_objext conftest$ac_exeext
19130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19131 (eval $ac_link) 2>&5
19133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19134 (exit $ac_status); } &&
19135 { ac_try='test -s conftest$ac_exeext'
19136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19137 (eval $ac_try) 2>&5
19139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19140 (exit $ac_status); }; }; then
19141 ac_cv_lib_elf_elf_begin=yes
19143 echo "$as_me: failed program was:" >&5
19144 sed 's/^/| /' conftest.$ac_ext >&5
19146 ac_cv_lib_elf_elf_begin=no
19148 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19149 LIBS=$ac_check_lib_save_LIBS
19151 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_elf_begin" >&5
19152 echo "${ECHO_T}$ac_cv_lib_elf_elf_begin" >&6
19153 if test $ac_cv_lib_elf_elf_begin = yes; then
19154 cat >>confdefs.h <<_ACEOF
19155 #define HAVE_LIBELF 1
19163 echo "$as_me:$LINENO: checking for library containing dlopen" >&5
19164 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6
19165 if test "${ac_cv_search_dlopen+set}" = set; then
19166 echo $ECHO_N "(cached) $ECHO_C" >&6
19168 ac_func_search_save_LIBS=$LIBS
19169 ac_cv_search_dlopen=no
19170 cat >conftest.$ac_ext <<_ACEOF
19171 #line $LINENO "configure"
19174 cat confdefs.h >>conftest.$ac_ext
19175 cat >>conftest.$ac_ext <<_ACEOF
19176 /* end confdefs.h. */
19178 /* Override any gcc2 internal prototype to avoid an error. */
19182 /* We use char because int might match the return type of a gcc2
19183 builtin and then its argument prototype would still apply. */
19193 rm -f conftest.$ac_objext conftest$ac_exeext
19194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19195 (eval $ac_link) 2>&5
19197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19198 (exit $ac_status); } &&
19199 { ac_try='test -s conftest$ac_exeext'
19200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19201 (eval $ac_try) 2>&5
19203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19204 (exit $ac_status); }; }; then
19205 ac_cv_search_dlopen="none required"
19207 echo "$as_me: failed program was:" >&5
19208 sed 's/^/| /' conftest.$ac_ext >&5
19211 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19212 if test "$ac_cv_search_dlopen" = no; then
19213 for ac_lib in dl; do
19214 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19215 cat >conftest.$ac_ext <<_ACEOF
19216 #line $LINENO "configure"
19219 cat confdefs.h >>conftest.$ac_ext
19220 cat >>conftest.$ac_ext <<_ACEOF
19221 /* end confdefs.h. */
19223 /* Override any gcc2 internal prototype to avoid an error. */
19227 /* We use char because int might match the return type of a gcc2
19228 builtin and then its argument prototype would still apply. */
19238 rm -f conftest.$ac_objext conftest$ac_exeext
19239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19240 (eval $ac_link) 2>&5
19242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19243 (exit $ac_status); } &&
19244 { ac_try='test -s conftest$ac_exeext'
19245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19246 (eval $ac_try) 2>&5
19248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19249 (exit $ac_status); }; }; then
19250 ac_cv_search_dlopen="-l$ac_lib"
19253 echo "$as_me: failed program was:" >&5
19254 sed 's/^/| /' conftest.$ac_ext >&5
19257 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19260 LIBS=$ac_func_search_save_LIBS
19262 echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
19263 echo "${ECHO_T}$ac_cv_search_dlopen" >&6
19264 if test "$ac_cv_search_dlopen" != no; then
19265 test "$ac_cv_search_dlopen" = "none required" || LIBS="$ac_cv_search_dlopen $LIBS"
19267 cat >>confdefs.h <<\_ACEOF
19268 #define HAVE_DLOPEN 1
19272 { echo "$as_me:$LINENO: WARNING: dlopen() not found - disabling plugin support" >&5
19273 echo "$as_me: WARNING: dlopen() not found - disabling plugin support" >&2;}
19277 echo "$as_me:$LINENO: checking for library containing mallinfo" >&5
19278 echo $ECHO_N "checking for library containing mallinfo... $ECHO_C" >&6
19279 if test "${ac_cv_search_mallinfo+set}" = set; then
19280 echo $ECHO_N "(cached) $ECHO_C" >&6
19282 ac_func_search_save_LIBS=$LIBS
19283 ac_cv_search_mallinfo=no
19284 cat >conftest.$ac_ext <<_ACEOF
19285 #line $LINENO "configure"
19288 cat confdefs.h >>conftest.$ac_ext
19289 cat >>conftest.$ac_ext <<_ACEOF
19290 /* end confdefs.h. */
19292 /* Override any gcc2 internal prototype to avoid an error. */
19296 /* We use char because int might match the return type of a gcc2
19297 builtin and then its argument prototype would still apply. */
19307 rm -f conftest.$ac_objext conftest$ac_exeext
19308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19309 (eval $ac_link) 2>&5
19311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19312 (exit $ac_status); } &&
19313 { ac_try='test -s conftest$ac_exeext'
19314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19315 (eval $ac_try) 2>&5
19317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19318 (exit $ac_status); }; }; then
19319 ac_cv_search_mallinfo="none required"
19321 echo "$as_me: failed program was:" >&5
19322 sed 's/^/| /' conftest.$ac_ext >&5
19325 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19326 if test "$ac_cv_search_mallinfo" = no; then
19327 for ac_lib in malloc; do
19328 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19329 cat >conftest.$ac_ext <<_ACEOF
19330 #line $LINENO "configure"
19333 cat confdefs.h >>conftest.$ac_ext
19334 cat >>conftest.$ac_ext <<_ACEOF
19335 /* end confdefs.h. */
19337 /* Override any gcc2 internal prototype to avoid an error. */
19341 /* We use char because int might match the return type of a gcc2
19342 builtin and then its argument prototype would still apply. */
19352 rm -f conftest.$ac_objext conftest$ac_exeext
19353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19354 (eval $ac_link) 2>&5
19356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19357 (exit $ac_status); } &&
19358 { ac_try='test -s conftest$ac_exeext'
19359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19360 (eval $ac_try) 2>&5
19362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19363 (exit $ac_status); }; }; then
19364 ac_cv_search_mallinfo="-l$ac_lib"
19367 echo "$as_me: failed program was:" >&5
19368 sed 's/^/| /' conftest.$ac_ext >&5
19371 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
19374 LIBS=$ac_func_search_save_LIBS
19376 echo "$as_me:$LINENO: result: $ac_cv_search_mallinfo" >&5
19377 echo "${ECHO_T}$ac_cv_search_mallinfo" >&6
19378 if test "$ac_cv_search_mallinfo" != no; then
19379 test "$ac_cv_search_mallinfo" = "none required" || LIBS="$ac_cv_search_mallinfo $LIBS"
19381 cat >>confdefs.h <<\_ACEOF
19382 #define HAVE_MALLINFO 1
19389 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
19390 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
19391 if test "${ac_cv_header_stdc+set}" = set; then
19392 echo $ECHO_N "(cached) $ECHO_C" >&6
19394 cat >conftest.$ac_ext <<_ACEOF
19395 #line $LINENO "configure"
19398 cat confdefs.h >>conftest.$ac_ext
19399 cat >>conftest.$ac_ext <<_ACEOF
19400 /* end confdefs.h. */
19401 #include <stdlib.h>
19402 #include <stdarg.h>
19403 #include <string.h>
19414 rm -f conftest.$ac_objext
19415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19416 (eval $ac_compile) 2>&5
19418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19419 (exit $ac_status); } &&
19420 { ac_try='test -s conftest.$ac_objext'
19421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19422 (eval $ac_try) 2>&5
19424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19425 (exit $ac_status); }; }; then
19426 ac_cv_header_stdc=yes
19428 echo "$as_me: failed program was:" >&5
19429 sed 's/^/| /' conftest.$ac_ext >&5
19431 ac_cv_header_stdc=no
19433 rm -f conftest.$ac_objext conftest.$ac_ext
19435 if test $ac_cv_header_stdc = yes; then
19436 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19437 cat >conftest.$ac_ext <<_ACEOF
19438 #line $LINENO "configure"
19441 cat confdefs.h >>conftest.$ac_ext
19442 cat >>conftest.$ac_ext <<_ACEOF
19443 /* end confdefs.h. */
19444 #include <string.h>
19447 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19448 $EGREP "memchr" >/dev/null 2>&1; then
19451 ac_cv_header_stdc=no
19457 if test $ac_cv_header_stdc = yes; then
19458 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19459 cat >conftest.$ac_ext <<_ACEOF
19460 #line $LINENO "configure"
19463 cat confdefs.h >>conftest.$ac_ext
19464 cat >>conftest.$ac_ext <<_ACEOF
19465 /* end confdefs.h. */
19466 #include <stdlib.h>
19469 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19470 $EGREP "free" >/dev/null 2>&1; then
19473 ac_cv_header_stdc=no
19479 if test $ac_cv_header_stdc = yes; then
19480 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19481 if test "$cross_compiling" = yes; then
19484 cat >conftest.$ac_ext <<_ACEOF
19485 #line $LINENO "configure"
19488 cat confdefs.h >>conftest.$ac_ext
19489 cat >>conftest.$ac_ext <<_ACEOF
19490 /* end confdefs.h. */
19492 #if ((' ' & 0x0FF) == 0x020)
19493 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19494 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19496 # define ISLOWER(c) \
19497 (('a' <= (c) && (c) <= 'i') \
19498 || ('j' <= (c) && (c) <= 'r') \
19499 || ('s' <= (c) && (c) <= 'z'))
19500 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19503 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19508 for (i = 0; i < 256; i++)
19509 if (XOR (islower (i), ISLOWER (i))
19510 || toupper (i) != TOUPPER (i))
19515 rm -f conftest$ac_exeext
19516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19517 (eval $ac_link) 2>&5
19519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19520 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19522 (eval $ac_try) 2>&5
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); }; }; then
19528 echo "$as_me: program exited with status $ac_status" >&5
19529 echo "$as_me: failed program was:" >&5
19530 sed 's/^/| /' conftest.$ac_ext >&5
19532 ( exit $ac_status )
19533 ac_cv_header_stdc=no
19535 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19539 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
19540 echo "${ECHO_T}$ac_cv_header_stdc" >&6
19541 if test $ac_cv_header_stdc = yes; then
19543 cat >>confdefs.h <<\_ACEOF
19544 #define STDC_HEADERS 1
19549 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
19550 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
19551 if test "${ac_cv_header_sys_wait_h+set}" = set; then
19552 echo $ECHO_N "(cached) $ECHO_C" >&6
19554 cat >conftest.$ac_ext <<_ACEOF
19555 #line $LINENO "configure"
19558 cat confdefs.h >>conftest.$ac_ext
19559 cat >>conftest.$ac_ext <<_ACEOF
19560 /* end confdefs.h. */
19561 #include <sys/types.h>
19562 #include <sys/wait.h>
19563 #ifndef WEXITSTATUS
19564 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
19567 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
19575 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
19580 rm -f conftest.$ac_objext
19581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19582 (eval $ac_compile) 2>&5
19584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19585 (exit $ac_status); } &&
19586 { ac_try='test -s conftest.$ac_objext'
19587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19588 (eval $ac_try) 2>&5
19590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19591 (exit $ac_status); }; }; then
19592 ac_cv_header_sys_wait_h=yes
19594 echo "$as_me: failed program was:" >&5
19595 sed 's/^/| /' conftest.$ac_ext >&5
19597 ac_cv_header_sys_wait_h=no
19599 rm -f conftest.$ac_objext conftest.$ac_ext
19601 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
19602 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
19603 if test $ac_cv_header_sys_wait_h = yes; then
19605 cat >>confdefs.h <<\_ACEOF
19606 #define HAVE_SYS_WAIT_H 1
19620 for ac_header in assert.h fcntl.h limits.h sys/time.h unistd.h errno.h signal.h math.h
19622 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19623 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19624 echo "$as_me:$LINENO: checking for $ac_header" >&5
19625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19626 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19627 echo $ECHO_N "(cached) $ECHO_C" >&6
19629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19630 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19632 # Is the header compilable?
19633 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19634 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19635 cat >conftest.$ac_ext <<_ACEOF
19636 #line $LINENO "configure"
19639 cat confdefs.h >>conftest.$ac_ext
19640 cat >>conftest.$ac_ext <<_ACEOF
19641 /* end confdefs.h. */
19642 $ac_includes_default
19643 #include <$ac_header>
19645 rm -f conftest.$ac_objext
19646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19647 (eval $ac_compile) 2>&5
19649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19650 (exit $ac_status); } &&
19651 { ac_try='test -s conftest.$ac_objext'
19652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19653 (eval $ac_try) 2>&5
19655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19656 (exit $ac_status); }; }; then
19657 ac_header_compiler=yes
19659 echo "$as_me: failed program was:" >&5
19660 sed 's/^/| /' conftest.$ac_ext >&5
19662 ac_header_compiler=no
19664 rm -f conftest.$ac_objext conftest.$ac_ext
19665 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19666 echo "${ECHO_T}$ac_header_compiler" >&6
19668 # Is the header present?
19669 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19670 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19671 cat >conftest.$ac_ext <<_ACEOF
19672 #line $LINENO "configure"
19675 cat confdefs.h >>conftest.$ac_ext
19676 cat >>conftest.$ac_ext <<_ACEOF
19677 /* end confdefs.h. */
19678 #include <$ac_header>
19680 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19681 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19683 grep -v '^ *+' conftest.er1 >conftest.err
19685 cat conftest.err >&5
19686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19687 (exit $ac_status); } >/dev/null; then
19688 if test -s conftest.err; then
19689 ac_cpp_err=$ac_c_preproc_warn_flag
19696 if test -z "$ac_cpp_err"; then
19697 ac_header_preproc=yes
19699 echo "$as_me: failed program was:" >&5
19700 sed 's/^/| /' conftest.$ac_ext >&5
19702 ac_header_preproc=no
19704 rm -f conftest.err conftest.$ac_ext
19705 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19706 echo "${ECHO_T}$ac_header_preproc" >&6
19708 # So? What about this header?
19709 case $ac_header_compiler:$ac_header_preproc in
19711 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19712 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19713 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19714 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19717 ## ------------------------------------ ##
19718 ## Report this to bug-autoconf@gnu.org. ##
19719 ## ------------------------------------ ##
19722 sed "s/^/$as_me: WARNING: /" >&2
19725 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19726 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19727 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19728 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19729 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19730 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19733 ## ------------------------------------ ##
19734 ## Report this to bug-autoconf@gnu.org. ##
19735 ## ------------------------------------ ##
19738 sed "s/^/$as_me: WARNING: /" >&2
19741 echo "$as_me:$LINENO: checking for $ac_header" >&5
19742 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19743 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19744 echo $ECHO_N "(cached) $ECHO_C" >&6
19746 eval "$as_ac_Header=$ac_header_preproc"
19748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19749 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19752 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19753 cat >>confdefs.h <<_ACEOF
19754 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19765 for ac_header in malloc.h sys/mman.h sys/resource.h
19767 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19768 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19769 echo "$as_me:$LINENO: checking for $ac_header" >&5
19770 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19771 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19772 echo $ECHO_N "(cached) $ECHO_C" >&6
19774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19775 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19777 # Is the header compilable?
19778 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19779 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19780 cat >conftest.$ac_ext <<_ACEOF
19781 #line $LINENO "configure"
19784 cat confdefs.h >>conftest.$ac_ext
19785 cat >>conftest.$ac_ext <<_ACEOF
19786 /* end confdefs.h. */
19787 $ac_includes_default
19788 #include <$ac_header>
19790 rm -f conftest.$ac_objext
19791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19792 (eval $ac_compile) 2>&5
19794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19795 (exit $ac_status); } &&
19796 { ac_try='test -s conftest.$ac_objext'
19797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19798 (eval $ac_try) 2>&5
19800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19801 (exit $ac_status); }; }; then
19802 ac_header_compiler=yes
19804 echo "$as_me: failed program was:" >&5
19805 sed 's/^/| /' conftest.$ac_ext >&5
19807 ac_header_compiler=no
19809 rm -f conftest.$ac_objext conftest.$ac_ext
19810 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19811 echo "${ECHO_T}$ac_header_compiler" >&6
19813 # Is the header present?
19814 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19815 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19816 cat >conftest.$ac_ext <<_ACEOF
19817 #line $LINENO "configure"
19820 cat confdefs.h >>conftest.$ac_ext
19821 cat >>conftest.$ac_ext <<_ACEOF
19822 /* end confdefs.h. */
19823 #include <$ac_header>
19825 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19826 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19828 grep -v '^ *+' conftest.er1 >conftest.err
19830 cat conftest.err >&5
19831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19832 (exit $ac_status); } >/dev/null; then
19833 if test -s conftest.err; then
19834 ac_cpp_err=$ac_c_preproc_warn_flag
19841 if test -z "$ac_cpp_err"; then
19842 ac_header_preproc=yes
19844 echo "$as_me: failed program was:" >&5
19845 sed 's/^/| /' conftest.$ac_ext >&5
19847 ac_header_preproc=no
19849 rm -f conftest.err conftest.$ac_ext
19850 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19851 echo "${ECHO_T}$ac_header_preproc" >&6
19853 # So? What about this header?
19854 case $ac_header_compiler:$ac_header_preproc in
19856 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19857 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19858 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19859 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19862 ## ------------------------------------ ##
19863 ## Report this to bug-autoconf@gnu.org. ##
19864 ## ------------------------------------ ##
19867 sed "s/^/$as_me: WARNING: /" >&2
19870 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19871 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19872 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19873 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19874 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19875 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19878 ## ------------------------------------ ##
19879 ## Report this to bug-autoconf@gnu.org. ##
19880 ## ------------------------------------ ##
19883 sed "s/^/$as_me: WARNING: /" >&2
19886 echo "$as_me:$LINENO: checking for $ac_header" >&5
19887 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19888 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19889 echo $ECHO_N "(cached) $ECHO_C" >&6
19891 eval "$as_ac_Header=$ac_header_preproc"
19893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19894 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19897 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19898 cat >>confdefs.h <<_ACEOF
19899 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19909 for ac_header in dlfcn.h link.h
19911 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19912 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19913 echo "$as_me:$LINENO: checking for $ac_header" >&5
19914 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19915 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19916 echo $ECHO_N "(cached) $ECHO_C" >&6
19918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19919 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19921 # Is the header compilable?
19922 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19923 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19924 cat >conftest.$ac_ext <<_ACEOF
19925 #line $LINENO "configure"
19928 cat confdefs.h >>conftest.$ac_ext
19929 cat >>conftest.$ac_ext <<_ACEOF
19930 /* end confdefs.h. */
19931 $ac_includes_default
19932 #include <$ac_header>
19934 rm -f conftest.$ac_objext
19935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19936 (eval $ac_compile) 2>&5
19938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19939 (exit $ac_status); } &&
19940 { ac_try='test -s conftest.$ac_objext'
19941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19942 (eval $ac_try) 2>&5
19944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19945 (exit $ac_status); }; }; then
19946 ac_header_compiler=yes
19948 echo "$as_me: failed program was:" >&5
19949 sed 's/^/| /' conftest.$ac_ext >&5
19951 ac_header_compiler=no
19953 rm -f conftest.$ac_objext conftest.$ac_ext
19954 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19955 echo "${ECHO_T}$ac_header_compiler" >&6
19957 # Is the header present?
19958 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19959 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19960 cat >conftest.$ac_ext <<_ACEOF
19961 #line $LINENO "configure"
19964 cat confdefs.h >>conftest.$ac_ext
19965 cat >>conftest.$ac_ext <<_ACEOF
19966 /* end confdefs.h. */
19967 #include <$ac_header>
19969 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19970 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19972 grep -v '^ *+' conftest.er1 >conftest.err
19974 cat conftest.err >&5
19975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19976 (exit $ac_status); } >/dev/null; then
19977 if test -s conftest.err; then
19978 ac_cpp_err=$ac_c_preproc_warn_flag
19985 if test -z "$ac_cpp_err"; then
19986 ac_header_preproc=yes
19988 echo "$as_me: failed program was:" >&5
19989 sed 's/^/| /' conftest.$ac_ext >&5
19991 ac_header_preproc=no
19993 rm -f conftest.err conftest.$ac_ext
19994 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19995 echo "${ECHO_T}$ac_header_preproc" >&6
19997 # So? What about this header?
19998 case $ac_header_compiler:$ac_header_preproc in
20000 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20001 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20002 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20003 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20006 ## ------------------------------------ ##
20007 ## Report this to bug-autoconf@gnu.org. ##
20008 ## ------------------------------------ ##
20011 sed "s/^/$as_me: WARNING: /" >&2
20014 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20015 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20016 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20017 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20018 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20019 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20022 ## ------------------------------------ ##
20023 ## Report this to bug-autoconf@gnu.org. ##
20024 ## ------------------------------------ ##
20027 sed "s/^/$as_me: WARNING: /" >&2
20030 echo "$as_me:$LINENO: checking for $ac_header" >&5
20031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20033 echo $ECHO_N "(cached) $ECHO_C" >&6
20035 eval "$as_ac_Header=$ac_header_preproc"
20037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20038 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20041 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20042 cat >>confdefs.h <<_ACEOF
20043 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20052 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
20053 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
20054 if test "${ac_cv_c_const+set}" = set; then
20055 echo $ECHO_N "(cached) $ECHO_C" >&6
20057 cat >conftest.$ac_ext <<_ACEOF
20058 #line $LINENO "configure"
20061 cat confdefs.h >>conftest.$ac_ext
20062 cat >>conftest.$ac_ext <<_ACEOF
20063 /* end confdefs.h. */
20068 /* FIXME: Include the comments suggested by Paul. */
20069 #ifndef __cplusplus
20070 /* Ultrix mips cc rejects this. */
20071 typedef int charset[2];
20073 /* SunOS 4.1.1 cc rejects this. */
20074 char const *const *ccp;
20076 /* NEC SVR4.0.2 mips cc rejects this. */
20077 struct point {int x, y;};
20078 static struct point const zero = {0,0};
20079 /* AIX XL C 1.02.0.0 rejects this.
20080 It does not let you subtract one const X* pointer from another in
20081 an arm of an if-expression whose if-part is not a constant
20083 const char *g = "string";
20084 ccp = &g + (g ? g-g : 0);
20085 /* HPUX 7.0 cc rejects these. */
20088 ccp = (char const *const *) p;
20089 { /* SCO 3.2v4 cc rejects this. */
20091 char const *s = 0 ? (char *) 0 : (char const *) 0;
20095 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20096 int x[] = {25, 17};
20097 const int *foo = &x[0];
20100 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20101 typedef const int *iptr;
20105 { /* AIX XL C 1.02.0.0 rejects this saying
20106 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20107 struct s { int j; const int *ap[3]; };
20108 struct s *b; b->j = 5;
20110 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20111 const int foo = 10;
20119 rm -f conftest.$ac_objext
20120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20121 (eval $ac_compile) 2>&5
20123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20124 (exit $ac_status); } &&
20125 { ac_try='test -s conftest.$ac_objext'
20126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20127 (eval $ac_try) 2>&5
20129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20130 (exit $ac_status); }; }; then
20133 echo "$as_me: failed program was:" >&5
20134 sed 's/^/| /' conftest.$ac_ext >&5
20138 rm -f conftest.$ac_objext conftest.$ac_ext
20140 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
20141 echo "${ECHO_T}$ac_cv_c_const" >&6
20142 if test $ac_cv_c_const = no; then
20144 cat >>confdefs.h <<\_ACEOF
20150 echo "$as_me:$LINENO: checking for inline" >&5
20151 echo $ECHO_N "checking for inline... $ECHO_C" >&6
20152 if test "${ac_cv_c_inline+set}" = set; then
20153 echo $ECHO_N "(cached) $ECHO_C" >&6
20156 for ac_kw in inline __inline__ __inline; do
20157 cat >conftest.$ac_ext <<_ACEOF
20158 #line $LINENO "configure"
20161 cat confdefs.h >>conftest.$ac_ext
20162 cat >>conftest.$ac_ext <<_ACEOF
20163 /* end confdefs.h. */
20164 #ifndef __cplusplus
20166 static $ac_kw foo_t static_foo () {return 0; }
20167 $ac_kw foo_t foo () {return 0; }
20171 rm -f conftest.$ac_objext
20172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20173 (eval $ac_compile) 2>&5
20175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20176 (exit $ac_status); } &&
20177 { ac_try='test -s conftest.$ac_objext'
20178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20179 (eval $ac_try) 2>&5
20181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20182 (exit $ac_status); }; }; then
20183 ac_cv_c_inline=$ac_kw; break
20185 echo "$as_me: failed program was:" >&5
20186 sed 's/^/| /' conftest.$ac_ext >&5
20189 rm -f conftest.$ac_objext conftest.$ac_ext
20193 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
20194 echo "${ECHO_T}$ac_cv_c_inline" >&6
20195 case $ac_cv_c_inline in
20198 cat >>confdefs.h <<\_ACEOF
20202 *) cat >>confdefs.h <<_ACEOF
20203 #define inline $ac_cv_c_inline
20209 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
20210 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
20211 if test "${ac_cv_c_bigendian+set}" = set; then
20212 echo $ECHO_N "(cached) $ECHO_C" >&6
20214 # See if sys/param.h defines the BYTE_ORDER macro.
20215 cat >conftest.$ac_ext <<_ACEOF
20216 #line $LINENO "configure"
20219 cat confdefs.h >>conftest.$ac_ext
20220 cat >>conftest.$ac_ext <<_ACEOF
20221 /* end confdefs.h. */
20222 #include <sys/types.h>
20223 #include <sys/param.h>
20228 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
20229 bogus endian macros
20236 rm -f conftest.$ac_objext
20237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20238 (eval $ac_compile) 2>&5
20240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20241 (exit $ac_status); } &&
20242 { ac_try='test -s conftest.$ac_objext'
20243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20244 (eval $ac_try) 2>&5
20246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20247 (exit $ac_status); }; }; then
20248 # It does; now see whether it defined to BIG_ENDIAN or not.
20249 cat >conftest.$ac_ext <<_ACEOF
20250 #line $LINENO "configure"
20253 cat confdefs.h >>conftest.$ac_ext
20254 cat >>conftest.$ac_ext <<_ACEOF
20255 /* end confdefs.h. */
20256 #include <sys/types.h>
20257 #include <sys/param.h>
20262 #if BYTE_ORDER != BIG_ENDIAN
20270 rm -f conftest.$ac_objext
20271 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20272 (eval $ac_compile) 2>&5
20274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20275 (exit $ac_status); } &&
20276 { ac_try='test -s conftest.$ac_objext'
20277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20278 (eval $ac_try) 2>&5
20280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20281 (exit $ac_status); }; }; then
20282 ac_cv_c_bigendian=yes
20284 echo "$as_me: failed program was:" >&5
20285 sed 's/^/| /' conftest.$ac_ext >&5
20287 ac_cv_c_bigendian=no
20289 rm -f conftest.$ac_objext conftest.$ac_ext
20291 echo "$as_me: failed program was:" >&5
20292 sed 's/^/| /' conftest.$ac_ext >&5
20294 # It does not; compile a test program.
20295 if test "$cross_compiling" = yes; then
20296 # try to guess the endianness by grepping values into an object file
20297 ac_cv_c_bigendian=unknown
20298 cat >conftest.$ac_ext <<_ACEOF
20299 #line $LINENO "configure"
20302 cat confdefs.h >>conftest.$ac_ext
20303 cat >>conftest.$ac_ext <<_ACEOF
20304 /* end confdefs.h. */
20305 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
20306 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
20307 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
20308 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
20309 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
20310 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
20314 _ascii (); _ebcdic ();
20319 rm -f conftest.$ac_objext
20320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20321 (eval $ac_compile) 2>&5
20323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20324 (exit $ac_status); } &&
20325 { ac_try='test -s conftest.$ac_objext'
20326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20327 (eval $ac_try) 2>&5
20329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20330 (exit $ac_status); }; }; then
20331 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
20332 ac_cv_c_bigendian=yes
20334 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
20335 if test "$ac_cv_c_bigendian" = unknown; then
20336 ac_cv_c_bigendian=no
20338 # finding both strings is unlikely to happen, but who knows?
20339 ac_cv_c_bigendian=unknown
20343 echo "$as_me: failed program was:" >&5
20344 sed 's/^/| /' conftest.$ac_ext >&5
20347 rm -f conftest.$ac_objext conftest.$ac_ext
20349 cat >conftest.$ac_ext <<_ACEOF
20350 #line $LINENO "configure"
20353 cat confdefs.h >>conftest.$ac_ext
20354 cat >>conftest.$ac_ext <<_ACEOF
20355 /* end confdefs.h. */
20359 /* Are we little or big endian? From Harbison&Steele. */
20363 char c[sizeof (long)];
20366 exit (u.c[sizeof (long) - 1] == 1);
20369 rm -f conftest$ac_exeext
20370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20371 (eval $ac_link) 2>&5
20373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20374 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20376 (eval $ac_try) 2>&5
20378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20379 (exit $ac_status); }; }; then
20380 ac_cv_c_bigendian=no
20382 echo "$as_me: program exited with status $ac_status" >&5
20383 echo "$as_me: failed program was:" >&5
20384 sed 's/^/| /' conftest.$ac_ext >&5
20386 ( exit $ac_status )
20387 ac_cv_c_bigendian=yes
20389 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20392 rm -f conftest.$ac_objext conftest.$ac_ext
20394 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
20395 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
20396 case $ac_cv_c_bigendian in
20399 cat >>confdefs.h <<\_ACEOF
20405 cat >>confdefs.h <<\_ACEOF
20406 #define ENDIAN_LITTLE
20410 { { echo "$as_me:$LINENO: error: unknown endianness
20411 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
20412 echo "$as_me: error: unknown endianness
20413 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
20414 { (exit 1); exit 1; }; } ;;
20418 echo "$as_me:$LINENO: checking for pid_t" >&5
20419 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
20420 if test "${ac_cv_type_pid_t+set}" = set; then
20421 echo $ECHO_N "(cached) $ECHO_C" >&6
20423 cat >conftest.$ac_ext <<_ACEOF
20424 #line $LINENO "configure"
20427 cat confdefs.h >>conftest.$ac_ext
20428 cat >>conftest.$ac_ext <<_ACEOF
20429 /* end confdefs.h. */
20430 $ac_includes_default
20436 if (sizeof (pid_t))
20442 rm -f conftest.$ac_objext
20443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20444 (eval $ac_compile) 2>&5
20446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447 (exit $ac_status); } &&
20448 { ac_try='test -s conftest.$ac_objext'
20449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20450 (eval $ac_try) 2>&5
20452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20453 (exit $ac_status); }; }; then
20454 ac_cv_type_pid_t=yes
20456 echo "$as_me: failed program was:" >&5
20457 sed 's/^/| /' conftest.$ac_ext >&5
20459 ac_cv_type_pid_t=no
20461 rm -f conftest.$ac_objext conftest.$ac_ext
20463 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
20464 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
20465 if test $ac_cv_type_pid_t = yes; then
20469 cat >>confdefs.h <<_ACEOF
20475 echo "$as_me:$LINENO: checking for size_t" >&5
20476 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20477 if test "${ac_cv_type_size_t+set}" = set; then
20478 echo $ECHO_N "(cached) $ECHO_C" >&6
20480 cat >conftest.$ac_ext <<_ACEOF
20481 #line $LINENO "configure"
20484 cat confdefs.h >>conftest.$ac_ext
20485 cat >>conftest.$ac_ext <<_ACEOF
20486 /* end confdefs.h. */
20487 $ac_includes_default
20493 if (sizeof (size_t))
20499 rm -f conftest.$ac_objext
20500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20501 (eval $ac_compile) 2>&5
20503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20504 (exit $ac_status); } &&
20505 { ac_try='test -s conftest.$ac_objext'
20506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20507 (eval $ac_try) 2>&5
20509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20510 (exit $ac_status); }; }; then
20511 ac_cv_type_size_t=yes
20513 echo "$as_me: failed program was:" >&5
20514 sed 's/^/| /' conftest.$ac_ext >&5
20516 ac_cv_type_size_t=no
20518 rm -f conftest.$ac_objext conftest.$ac_ext
20520 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20521 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20522 if test $ac_cv_type_size_t = yes; then
20526 cat >>confdefs.h <<_ACEOF
20527 #define size_t unsigned
20532 echo "$as_me:$LINENO: checking for int64_t" >&5
20533 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
20534 if test "${ac_cv_type_int64_t+set}" = set; then
20535 echo $ECHO_N "(cached) $ECHO_C" >&6
20537 cat >conftest.$ac_ext <<_ACEOF
20538 #line $LINENO "configure"
20541 cat confdefs.h >>conftest.$ac_ext
20542 cat >>conftest.$ac_ext <<_ACEOF
20543 /* end confdefs.h. */
20544 $ac_includes_default
20550 if (sizeof (int64_t))
20556 rm -f conftest.$ac_objext
20557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20558 (eval $ac_compile) 2>&5
20560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20561 (exit $ac_status); } &&
20562 { ac_try='test -s conftest.$ac_objext'
20563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20564 (eval $ac_try) 2>&5
20566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20567 (exit $ac_status); }; }; then
20568 ac_cv_type_int64_t=yes
20570 echo "$as_me: failed program was:" >&5
20571 sed 's/^/| /' conftest.$ac_ext >&5
20573 ac_cv_type_int64_t=no
20575 rm -f conftest.$ac_objext conftest.$ac_ext
20577 echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
20578 echo "${ECHO_T}$ac_cv_type_int64_t" >&6
20579 if test $ac_cv_type_int64_t = yes; then
20581 cat >>confdefs.h <<_ACEOF
20582 #define HAVE_INT64_T 1
20587 { { echo "$as_me:$LINENO: error: Type int64_t required but not found" >&5
20588 echo "$as_me: error: Type int64_t required but not found" >&2;}
20589 { (exit 1); exit 1; }; }
20592 echo "$as_me:$LINENO: checking for uint64_t" >&5
20593 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
20594 if test "${ac_cv_type_uint64_t+set}" = set; then
20595 echo $ECHO_N "(cached) $ECHO_C" >&6
20597 cat >conftest.$ac_ext <<_ACEOF
20598 #line $LINENO "configure"
20601 cat confdefs.h >>conftest.$ac_ext
20602 cat >>conftest.$ac_ext <<_ACEOF
20603 /* end confdefs.h. */
20604 $ac_includes_default
20608 if ((uint64_t *) 0)
20610 if (sizeof (uint64_t))
20616 rm -f conftest.$ac_objext
20617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20618 (eval $ac_compile) 2>&5
20620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20621 (exit $ac_status); } &&
20622 { ac_try='test -s conftest.$ac_objext'
20623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20624 (eval $ac_try) 2>&5
20626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20627 (exit $ac_status); }; }; then
20628 ac_cv_type_uint64_t=yes
20630 echo "$as_me: failed program was:" >&5
20631 sed 's/^/| /' conftest.$ac_ext >&5
20633 ac_cv_type_uint64_t=no
20635 rm -f conftest.$ac_objext conftest.$ac_ext
20637 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
20638 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
20639 if test $ac_cv_type_uint64_t = yes; then
20641 cat >>confdefs.h <<_ACEOF
20642 #define HAVE_UINT64_T 1
20647 { { echo "$as_me:$LINENO: error: Type uint64_t required but not found" >&5
20648 echo "$as_me: error: Type uint64_t required but not found" >&2;}
20649 { (exit 1); exit 1; }; }
20652 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
20653 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
20654 if test "${ac_cv_header_time+set}" = set; then
20655 echo $ECHO_N "(cached) $ECHO_C" >&6
20657 cat >conftest.$ac_ext <<_ACEOF
20658 #line $LINENO "configure"
20661 cat confdefs.h >>conftest.$ac_ext
20662 cat >>conftest.$ac_ext <<_ACEOF
20663 /* end confdefs.h. */
20664 #include <sys/types.h>
20665 #include <sys/time.h>
20671 if ((struct tm *) 0)
20677 rm -f conftest.$ac_objext
20678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20679 (eval $ac_compile) 2>&5
20681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20682 (exit $ac_status); } &&
20683 { ac_try='test -s conftest.$ac_objext'
20684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20685 (eval $ac_try) 2>&5
20687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20688 (exit $ac_status); }; }; then
20689 ac_cv_header_time=yes
20691 echo "$as_me: failed program was:" >&5
20692 sed 's/^/| /' conftest.$ac_ext >&5
20694 ac_cv_header_time=no
20696 rm -f conftest.$ac_objext conftest.$ac_ext
20698 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
20699 echo "${ECHO_T}$ac_cv_header_time" >&6
20700 if test $ac_cv_header_time = yes; then
20702 cat >>confdefs.h <<\_ACEOF
20703 #define TIME_WITH_SYS_TIME 1
20708 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
20709 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
20710 if test "${ac_cv_struct_tm+set}" = set; then
20711 echo $ECHO_N "(cached) $ECHO_C" >&6
20713 cat >conftest.$ac_ext <<_ACEOF
20714 #line $LINENO "configure"
20717 cat confdefs.h >>conftest.$ac_ext
20718 cat >>conftest.$ac_ext <<_ACEOF
20719 /* end confdefs.h. */
20720 #include <sys/types.h>
20726 struct tm *tp; tp->tm_sec;
20731 rm -f conftest.$ac_objext
20732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20733 (eval $ac_compile) 2>&5
20735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20736 (exit $ac_status); } &&
20737 { ac_try='test -s conftest.$ac_objext'
20738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20739 (eval $ac_try) 2>&5
20741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20742 (exit $ac_status); }; }; then
20743 ac_cv_struct_tm=time.h
20745 echo "$as_me: failed program was:" >&5
20746 sed 's/^/| /' conftest.$ac_ext >&5
20748 ac_cv_struct_tm=sys/time.h
20750 rm -f conftest.$ac_objext conftest.$ac_ext
20752 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
20753 echo "${ECHO_T}$ac_cv_struct_tm" >&6
20754 if test $ac_cv_struct_tm = sys/time.h; then
20756 cat >>confdefs.h <<\_ACEOF
20757 #define TM_IN_SYS_TIME 1
20767 ac_cpp='$CPP $CPPFLAGS'
20768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20772 if test "$cross_compiling" = yes; then
20773 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
20774 See \`config.log' for more details." >&5
20775 echo "$as_me: error: cannot run test program while cross compiling
20776 See \`config.log' for more details." >&2;}
20777 { (exit 1); exit 1; }; }
20779 cat >conftest.$ac_ext <<_ACEOF
20780 #line $LINENO "configure"
20783 cat confdefs.h >>conftest.$ac_ext
20784 cat >>conftest.$ac_ext <<_ACEOF
20785 /* end confdefs.h. */
20787 #include <stdlib.h>
20792 volatile double A, B;
20796 sprintf(Buffer, "%a", A);
20800 if (A != 0x1.999999999999ap-4)
20807 rm -f conftest$ac_exeext
20808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20809 (eval $ac_link) 2>&5
20811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20812 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20814 (eval $ac_try) 2>&5
20816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20817 (exit $ac_status); }; }; then
20820 echo "$as_me: program exited with status $ac_status" >&5
20821 echo "$as_me: failed program was:" >&5
20822 sed 's/^/| /' conftest.$ac_ext >&5
20824 ( exit $ac_status )
20827 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20830 ac_cpp='$CPP $CPPFLAGS'
20831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20835 if test "$ac_c_printf_a" = "yes"; then
20837 cat >>confdefs.h <<\_ACEOF
20838 #define HAVE_PRINTF_A 1
20844 echo "$as_me:$LINENO: checking whether the compiler implements namespaces" >&5
20845 echo $ECHO_N "checking whether the compiler implements namespaces... $ECHO_C" >&6
20846 if test "${ac_cv_cxx_namespaces+set}" = set; then
20847 echo $ECHO_N "(cached) $ECHO_C" >&6
20852 ac_cpp='$CXXCPP $CPPFLAGS'
20853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20857 cat >conftest.$ac_ext <<_ACEOF
20858 #line $LINENO "configure"
20861 cat confdefs.h >>conftest.$ac_ext
20862 cat >>conftest.$ac_ext <<_ACEOF
20863 /* end confdefs.h. */
20864 namespace Outer { namespace Inner { int i = 0; }}
20868 using namespace Outer::Inner; return i;
20873 rm -f conftest.$ac_objext
20874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20875 (eval $ac_compile) 2>&5
20877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20878 (exit $ac_status); } &&
20879 { ac_try='test -s conftest.$ac_objext'
20880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20881 (eval $ac_try) 2>&5
20883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20884 (exit $ac_status); }; }; then
20885 ac_cv_cxx_namespaces=yes
20887 echo "$as_me: failed program was:" >&5
20888 sed 's/^/| /' conftest.$ac_ext >&5
20890 ac_cv_cxx_namespaces=no
20892 rm -f conftest.$ac_objext conftest.$ac_ext
20894 ac_cpp='$CPP $CPPFLAGS'
20895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20901 echo "$as_me:$LINENO: result: $ac_cv_cxx_namespaces" >&5
20902 echo "${ECHO_T}$ac_cv_cxx_namespaces" >&6
20903 if test "$ac_cv_cxx_namespaces" = yes; then
20905 cat >>confdefs.h <<\_ACEOF
20906 #define HAVE_NAMESPACES
20911 echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_map> defining template class std::hash_map" >&5
20912 echo $ECHO_N "checking whether the compiler has <ext/hash_map> defining template class std::hash_map... $ECHO_C" >&6
20913 if test "${ac_cv_cxx_have_std_ext_hash_map+set}" = set; then
20914 echo $ECHO_N "(cached) $ECHO_C" >&6
20920 ac_cpp='$CXXCPP $CPPFLAGS'
20921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20925 cat >conftest.$ac_ext <<_ACEOF
20926 #line $LINENO "configure"
20929 cat confdefs.h >>conftest.$ac_ext
20930 cat >>conftest.$ac_ext <<_ACEOF
20931 /* end confdefs.h. */
20932 #include <ext/hash_map>
20933 #ifdef HAVE_NAMESPACES
20934 using namespace std;
20939 hash_map<int, int> t;
20944 rm -f conftest.$ac_objext
20945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20946 (eval $ac_compile) 2>&5
20948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20949 (exit $ac_status); } &&
20950 { ac_try='test -s conftest.$ac_objext'
20951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20952 (eval $ac_try) 2>&5
20954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20955 (exit $ac_status); }; }; then
20956 ac_cv_cxx_have_std_ext_hash_map=yes
20958 echo "$as_me: failed program was:" >&5
20959 sed 's/^/| /' conftest.$ac_ext >&5
20961 ac_cv_cxx_have_std_ext_hash_map=no
20963 rm -f conftest.$ac_objext conftest.$ac_ext
20965 ac_cpp='$CPP $CPPFLAGS'
20966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20971 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_ext_hash_map" >&5
20972 echo "${ECHO_T}$ac_cv_cxx_have_std_ext_hash_map" >&6
20973 if test "$ac_cv_cxx_have_std_ext_hash_map" = yes; then
20975 cat >>confdefs.h <<\_ACEOF
20976 #define HAVE_STD_EXT_HASH_MAP
20980 echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_map> defining template class __gnu_cxx::hash_map" >&5
20981 echo $ECHO_N "checking whether the compiler has <ext/hash_map> defining template class __gnu_cxx::hash_map... $ECHO_C" >&6
20982 if test "${ac_cv_cxx_have_gnu_ext_hash_map+set}" = set; then
20983 echo $ECHO_N "(cached) $ECHO_C" >&6
20989 ac_cpp='$CXXCPP $CPPFLAGS'
20990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20994 cat >conftest.$ac_ext <<_ACEOF
20995 #line $LINENO "configure"
20998 cat confdefs.h >>conftest.$ac_ext
20999 cat >>conftest.$ac_ext <<_ACEOF
21000 /* end confdefs.h. */
21001 #include <ext/hash_map>
21002 #ifdef HAVE_NAMESPACES
21003 using namespace __gnu_cxx;
21008 hash_map<int,int> t;
21013 rm -f conftest.$ac_objext
21014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21015 (eval $ac_compile) 2>&5
21017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21018 (exit $ac_status); } &&
21019 { ac_try='test -s conftest.$ac_objext'
21020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21021 (eval $ac_try) 2>&5
21023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21024 (exit $ac_status); }; }; then
21025 ac_cv_cxx_have_gnu_ext_hash_map=yes
21027 echo "$as_me: failed program was:" >&5
21028 sed 's/^/| /' conftest.$ac_ext >&5
21030 ac_cv_cxx_have_gnu_ext_hash_map=no
21032 rm -f conftest.$ac_objext conftest.$ac_ext
21034 ac_cpp='$CPP $CPPFLAGS'
21035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21040 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_gnu_ext_hash_map" >&5
21041 echo "${ECHO_T}$ac_cv_cxx_have_gnu_ext_hash_map" >&6
21042 if test "$ac_cv_cxx_have_gnu_ext_hash_map" = yes; then
21044 cat >>confdefs.h <<\_ACEOF
21045 #define HAVE_GNU_EXT_HASH_MAP
21049 echo "$as_me:$LINENO: checking whether the compiler has <hash_map> defining template class ::hash_map" >&5
21050 echo $ECHO_N "checking whether the compiler has <hash_map> defining template class ::hash_map... $ECHO_C" >&6
21051 if test "${ac_cv_cxx_have_global_hash_map+set}" = set; then
21052 echo $ECHO_N "(cached) $ECHO_C" >&6
21058 ac_cpp='$CXXCPP $CPPFLAGS'
21059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21063 cat >conftest.$ac_ext <<_ACEOF
21064 #line $LINENO "configure"
21067 cat confdefs.h >>conftest.$ac_ext
21068 cat >>conftest.$ac_ext <<_ACEOF
21069 /* end confdefs.h. */
21070 #include <hash_map>
21074 hash_map<int,int> t;
21079 rm -f conftest.$ac_objext
21080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21081 (eval $ac_compile) 2>&5
21083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21084 (exit $ac_status); } &&
21085 { ac_try='test -s conftest.$ac_objext'
21086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21087 (eval $ac_try) 2>&5
21089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21090 (exit $ac_status); }; }; then
21091 ac_cv_cxx_have_global_hash_map=yes
21093 echo "$as_me: failed program was:" >&5
21094 sed 's/^/| /' conftest.$ac_ext >&5
21096 ac_cv_cxx_have_global_hash_map=no
21098 rm -f conftest.$ac_objext conftest.$ac_ext
21100 ac_cpp='$CPP $CPPFLAGS'
21101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21106 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_global_hash_map" >&5
21107 echo "${ECHO_T}$ac_cv_cxx_have_global_hash_map" >&6
21108 if test "$ac_cv_cxx_have_global_hash_map" = yes; then
21110 cat >>confdefs.h <<\_ACEOF
21111 #define HAVE_GLOBAL_HASH_MAP
21115 echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_set> defining template class std::hash_set" >&5
21116 echo $ECHO_N "checking whether the compiler has <ext/hash_set> defining template class std::hash_set... $ECHO_C" >&6
21117 if test "${ac_cv_cxx_have_std_ext_hash_set+set}" = set; then
21118 echo $ECHO_N "(cached) $ECHO_C" >&6
21124 ac_cpp='$CXXCPP $CPPFLAGS'
21125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21129 cat >conftest.$ac_ext <<_ACEOF
21130 #line $LINENO "configure"
21133 cat confdefs.h >>conftest.$ac_ext
21134 cat >>conftest.$ac_ext <<_ACEOF
21135 /* end confdefs.h. */
21136 #include <ext/hash_set>
21137 #ifdef HAVE_NAMESPACES
21138 using namespace std;
21148 rm -f conftest.$ac_objext
21149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21150 (eval $ac_compile) 2>&5
21152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21153 (exit $ac_status); } &&
21154 { ac_try='test -s conftest.$ac_objext'
21155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21156 (eval $ac_try) 2>&5
21158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21159 (exit $ac_status); }; }; then
21160 ac_cv_cxx_have_std_ext_hash_set=yes
21162 echo "$as_me: failed program was:" >&5
21163 sed 's/^/| /' conftest.$ac_ext >&5
21165 ac_cv_cxx_have_std_ext_hash_set=no
21167 rm -f conftest.$ac_objext conftest.$ac_ext
21169 ac_cpp='$CPP $CPPFLAGS'
21170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21175 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_ext_hash_set" >&5
21176 echo "${ECHO_T}$ac_cv_cxx_have_std_ext_hash_set" >&6
21177 if test "$ac_cv_cxx_have_std_ext_hash_set" = yes; then
21179 cat >>confdefs.h <<\_ACEOF
21180 #define HAVE_STD_EXT_HASH_SET
21184 echo "$as_me:$LINENO: checking whether the compiler has <ext/hash_set> defining template class __gnu_cxx::hash_set" >&5
21185 echo $ECHO_N "checking whether the compiler has <ext/hash_set> defining template class __gnu_cxx::hash_set... $ECHO_C" >&6
21186 if test "${ac_cv_cxx_have_gnu_ext_hash_set+set}" = set; then
21187 echo $ECHO_N "(cached) $ECHO_C" >&6
21193 ac_cpp='$CXXCPP $CPPFLAGS'
21194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21198 cat >conftest.$ac_ext <<_ACEOF
21199 #line $LINENO "configure"
21202 cat confdefs.h >>conftest.$ac_ext
21203 cat >>conftest.$ac_ext <<_ACEOF
21204 /* end confdefs.h. */
21205 #include <ext/hash_set>
21206 #ifdef HAVE_NAMESPACES
21207 using namespace __gnu_cxx;
21217 rm -f conftest.$ac_objext
21218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21219 (eval $ac_compile) 2>&5
21221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21222 (exit $ac_status); } &&
21223 { ac_try='test -s conftest.$ac_objext'
21224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21225 (eval $ac_try) 2>&5
21227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21228 (exit $ac_status); }; }; then
21229 ac_cv_cxx_have_gnu_ext_hash_set=yes
21231 echo "$as_me: failed program was:" >&5
21232 sed 's/^/| /' conftest.$ac_ext >&5
21234 ac_cv_cxx_have_gnu_ext_hash_set=no
21236 rm -f conftest.$ac_objext conftest.$ac_ext
21238 ac_cpp='$CPP $CPPFLAGS'
21239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21244 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_gnu_ext_hash_set" >&5
21245 echo "${ECHO_T}$ac_cv_cxx_have_gnu_ext_hash_set" >&6
21246 if test "$ac_cv_cxx_have_gnu_ext_hash_set" = yes; then
21248 cat >>confdefs.h <<\_ACEOF
21249 #define HAVE_GNU_EXT_HASH_SET
21253 echo "$as_me:$LINENO: checking whether the compiler has <hash_set> defining template class ::hash_set" >&5
21254 echo $ECHO_N "checking whether the compiler has <hash_set> defining template class ::hash_set... $ECHO_C" >&6
21255 if test "${ac_cv_cxx_have_global_hash_set+set}" = set; then
21256 echo $ECHO_N "(cached) $ECHO_C" >&6
21262 ac_cpp='$CXXCPP $CPPFLAGS'
21263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21267 cat >conftest.$ac_ext <<_ACEOF
21268 #line $LINENO "configure"
21271 cat confdefs.h >>conftest.$ac_ext
21272 cat >>conftest.$ac_ext <<_ACEOF
21273 /* end confdefs.h. */
21274 #include <hash_set>
21278 hash_set<int> t; return 0;
21283 rm -f conftest.$ac_objext
21284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21285 (eval $ac_compile) 2>&5
21287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21288 (exit $ac_status); } &&
21289 { ac_try='test -s conftest.$ac_objext'
21290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21291 (eval $ac_try) 2>&5
21293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21294 (exit $ac_status); }; }; then
21295 ac_cv_cxx_have_global_hash_set=yes
21297 echo "$as_me: failed program was:" >&5
21298 sed 's/^/| /' conftest.$ac_ext >&5
21300 ac_cv_cxx_have_global_hash_set=no
21302 rm -f conftest.$ac_objext conftest.$ac_ext
21304 ac_cpp='$CPP $CPPFLAGS'
21305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21310 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_global_hash_set" >&5
21311 echo "${ECHO_T}$ac_cv_cxx_have_global_hash_set" >&6
21312 if test "$ac_cv_cxx_have_global_hash_set" = yes; then
21314 cat >>confdefs.h <<\_ACEOF
21315 #define HAVE_GLOBAL_HASH_SET
21319 echo "$as_me:$LINENO: checking whether the compiler has ext/slist" >&5
21320 echo $ECHO_N "checking whether the compiler has ext/slist... $ECHO_C" >&6
21321 if test "${ac_cv_cxx_have_ext_slist+set}" = set; then
21322 echo $ECHO_N "(cached) $ECHO_C" >&6
21328 ac_cpp='$CXXCPP $CPPFLAGS'
21329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21333 cat >conftest.$ac_ext <<_ACEOF
21334 #line $LINENO "configure"
21337 cat confdefs.h >>conftest.$ac_ext
21338 cat >>conftest.$ac_ext <<_ACEOF
21339 /* end confdefs.h. */
21340 #include <ext/slist>
21341 #ifdef HAVE_NAMESPACES
21342 using namespace std;
21347 slist<int> s; return 0;
21352 rm -f conftest.$ac_objext
21353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21354 (eval $ac_compile) 2>&5
21356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21357 (exit $ac_status); } &&
21358 { ac_try='test -s conftest.$ac_objext'
21359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21360 (eval $ac_try) 2>&5
21362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21363 (exit $ac_status); }; }; then
21364 ac_cv_cxx_have_ext_slist=std
21366 echo "$as_me: failed program was:" >&5
21367 sed 's/^/| /' conftest.$ac_ext >&5
21369 ac_cv_cxx_have_ext_slist=no
21371 rm -f conftest.$ac_objext conftest.$ac_ext
21372 cat >conftest.$ac_ext <<_ACEOF
21373 #line $LINENO "configure"
21376 cat confdefs.h >>conftest.$ac_ext
21377 cat >>conftest.$ac_ext <<_ACEOF
21378 /* end confdefs.h. */
21379 #include <ext/slist>
21380 #ifdef HAVE_NAMESPACES
21381 using namespace __gnu_cxx;
21386 slist<int> s; return 0;
21391 rm -f conftest.$ac_objext
21392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21393 (eval $ac_compile) 2>&5
21395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21396 (exit $ac_status); } &&
21397 { ac_try='test -s conftest.$ac_objext'
21398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21399 (eval $ac_try) 2>&5
21401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21402 (exit $ac_status); }; }; then
21403 ac_cv_cxx_have_ext_slist=gnu
21405 echo "$as_me: failed program was:" >&5
21406 sed 's/^/| /' conftest.$ac_ext >&5
21408 ac_cv_cxx_have_ext_slist=no
21410 rm -f conftest.$ac_objext conftest.$ac_ext
21413 ac_cpp='$CPP $CPPFLAGS'
21414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21420 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_ext_slist" >&5
21421 echo "${ECHO_T}$ac_cv_cxx_have_ext_slist" >&6
21422 if test "$ac_cv_cxx_have_ext_slist" = std; then
21424 cat >>confdefs.h <<\_ACEOF
21425 #define HAVE_EXT_SLIST std
21429 if test "$ac_cv_cxx_have_ext_slist" = gnu; then
21431 cat >>confdefs.h <<\_ACEOF
21432 #define HAVE_EXT_SLIST gnu
21437 echo "$as_me:$LINENO: checking whether the compiler has the standard iterator" >&5
21438 echo $ECHO_N "checking whether the compiler has the standard iterator... $ECHO_C" >&6
21439 if test "${ac_cv_cxx_have_std_iterator+set}" = set; then
21440 echo $ECHO_N "(cached) $ECHO_C" >&6
21446 ac_cpp='$CXXCPP $CPPFLAGS'
21447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21451 cat >conftest.$ac_ext <<_ACEOF
21452 #line $LINENO "configure"
21455 cat confdefs.h >>conftest.$ac_ext
21456 cat >>conftest.$ac_ext <<_ACEOF
21457 /* end confdefs.h. */
21458 #include <iterator>
21459 #ifdef HAVE_NAMESPACES
21460 using namespace std;
21465 iterator<int,int,int> t; return 0;
21470 rm -f conftest.$ac_objext
21471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21472 (eval $ac_compile) 2>&5
21474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21475 (exit $ac_status); } &&
21476 { ac_try='test -s conftest.$ac_objext'
21477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21478 (eval $ac_try) 2>&5
21480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21481 (exit $ac_status); }; }; then
21482 ac_cv_cxx_have_std_iterator=yes
21484 echo "$as_me: failed program was:" >&5
21485 sed 's/^/| /' conftest.$ac_ext >&5
21487 ac_cv_cxx_have_std_iterator=no
21489 rm -f conftest.$ac_objext conftest.$ac_ext
21491 ac_cpp='$CPP $CPPFLAGS'
21492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21498 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_std_iterator" >&5
21499 echo "${ECHO_T}$ac_cv_cxx_have_std_iterator" >&6
21500 if test "$ac_cv_cxx_have_std_iterator" = yes; then
21502 cat >>confdefs.h <<\_ACEOF
21503 #define HAVE_STD_ITERATOR
21508 echo "$as_me:$LINENO: checking whether the compiler has the bidirectional iterator" >&5
21509 echo $ECHO_N "checking whether the compiler has the bidirectional iterator... $ECHO_C" >&6
21510 if test "${ac_cv_cxx_have_bi_iterator+set}" = set; then
21511 echo $ECHO_N "(cached) $ECHO_C" >&6
21517 ac_cpp='$CXXCPP $CPPFLAGS'
21518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21522 cat >conftest.$ac_ext <<_ACEOF
21523 #line $LINENO "configure"
21526 cat confdefs.h >>conftest.$ac_ext
21527 cat >>conftest.$ac_ext <<_ACEOF
21528 /* end confdefs.h. */
21529 #include <iterator>
21530 #ifdef HAVE_NAMESPACES
21531 using namespace std;
21536 bidirectional_iterator<int,int> t; return 0;
21541 rm -f conftest.$ac_objext
21542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21543 (eval $ac_compile) 2>&5
21545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21546 (exit $ac_status); } &&
21547 { ac_try='test -s conftest.$ac_objext'
21548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21549 (eval $ac_try) 2>&5
21551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21552 (exit $ac_status); }; }; then
21553 ac_cv_cxx_have_bi_iterator=yes
21555 echo "$as_me: failed program was:" >&5
21556 sed 's/^/| /' conftest.$ac_ext >&5
21558 ac_cv_cxx_have_bi_iterator=no
21560 rm -f conftest.$ac_objext conftest.$ac_ext
21562 ac_cpp='$CPP $CPPFLAGS'
21563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21569 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_bi_iterator" >&5
21570 echo "${ECHO_T}$ac_cv_cxx_have_bi_iterator" >&6
21571 if test "$ac_cv_cxx_have_bi_iterator" = yes; then
21573 cat >>confdefs.h <<\_ACEOF
21574 #define HAVE_BI_ITERATOR
21579 echo "$as_me:$LINENO: checking whether the compiler has forward iterators" >&5
21580 echo $ECHO_N "checking whether the compiler has forward iterators... $ECHO_C" >&6
21581 if test "${ac_cv_cxx_have_fwd_iterator+set}" = set; then
21582 echo $ECHO_N "(cached) $ECHO_C" >&6
21588 ac_cpp='$CXXCPP $CPPFLAGS'
21589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21593 cat >conftest.$ac_ext <<_ACEOF
21594 #line $LINENO "configure"
21597 cat confdefs.h >>conftest.$ac_ext
21598 cat >>conftest.$ac_ext <<_ACEOF
21599 /* end confdefs.h. */
21600 #include <iterator>
21601 #ifdef HAVE_NAMESPACES
21602 using namespace std;
21607 forward_iterator<int,int> t; return 0;
21612 rm -f conftest.$ac_objext
21613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21614 (eval $ac_compile) 2>&5
21616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21617 (exit $ac_status); } &&
21618 { ac_try='test -s conftest.$ac_objext'
21619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21620 (eval $ac_try) 2>&5
21622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21623 (exit $ac_status); }; }; then
21624 ac_cv_cxx_have_fwd_iterator=yes
21626 echo "$as_me: failed program was:" >&5
21627 sed 's/^/| /' conftest.$ac_ext >&5
21629 ac_cv_cxx_have_fwd_iterator=no
21631 rm -f conftest.$ac_objext conftest.$ac_ext
21633 ac_cpp='$CPP $CPPFLAGS'
21634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21640 echo "$as_me:$LINENO: result: $ac_cv_cxx_have_fwd_iterator" >&5
21641 echo "${ECHO_T}$ac_cv_cxx_have_fwd_iterator" >&6
21642 if test "$ac_cv_cxx_have_fwd_iterator" = yes; then
21644 cat >>confdefs.h <<\_ACEOF
21645 #define HAVE_FWD_ITERATOR
21651 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
21652 # for constant arguments. Useless!
21653 echo "$as_me:$LINENO: checking for working alloca.h" >&5
21654 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
21655 if test "${ac_cv_working_alloca_h+set}" = set; then
21656 echo $ECHO_N "(cached) $ECHO_C" >&6
21658 cat >conftest.$ac_ext <<_ACEOF
21659 #line $LINENO "configure"
21662 cat confdefs.h >>conftest.$ac_ext
21663 cat >>conftest.$ac_ext <<_ACEOF
21664 /* end confdefs.h. */
21665 #include <alloca.h>
21669 char *p = (char *) alloca (2 * sizeof (int));
21674 rm -f conftest.$ac_objext conftest$ac_exeext
21675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21676 (eval $ac_link) 2>&5
21678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21679 (exit $ac_status); } &&
21680 { ac_try='test -s conftest$ac_exeext'
21681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21682 (eval $ac_try) 2>&5
21684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21685 (exit $ac_status); }; }; then
21686 ac_cv_working_alloca_h=yes
21688 echo "$as_me: failed program was:" >&5
21689 sed 's/^/| /' conftest.$ac_ext >&5
21691 ac_cv_working_alloca_h=no
21693 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21695 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
21696 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
21697 if test $ac_cv_working_alloca_h = yes; then
21699 cat >>confdefs.h <<\_ACEOF
21700 #define HAVE_ALLOCA_H 1
21705 echo "$as_me:$LINENO: checking for alloca" >&5
21706 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
21707 if test "${ac_cv_func_alloca_works+set}" = set; then
21708 echo $ECHO_N "(cached) $ECHO_C" >&6
21710 cat >conftest.$ac_ext <<_ACEOF
21711 #line $LINENO "configure"
21714 cat confdefs.h >>conftest.$ac_ext
21715 cat >>conftest.$ac_ext <<_ACEOF
21716 /* end confdefs.h. */
21718 # define alloca __builtin_alloca
21721 # include <malloc.h>
21722 # define alloca _alloca
21725 # include <alloca.h>
21730 # ifndef alloca /* predefined by HP cc +Olibcalls */
21741 char *p = (char *) alloca (1);
21746 rm -f conftest.$ac_objext conftest$ac_exeext
21747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21748 (eval $ac_link) 2>&5
21750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21751 (exit $ac_status); } &&
21752 { ac_try='test -s conftest$ac_exeext'
21753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21754 (eval $ac_try) 2>&5
21756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21757 (exit $ac_status); }; }; then
21758 ac_cv_func_alloca_works=yes
21760 echo "$as_me: failed program was:" >&5
21761 sed 's/^/| /' conftest.$ac_ext >&5
21763 ac_cv_func_alloca_works=no
21765 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21767 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
21768 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
21770 if test $ac_cv_func_alloca_works = yes; then
21772 cat >>confdefs.h <<\_ACEOF
21773 #define HAVE_ALLOCA 1
21777 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
21778 # that cause trouble. Some versions do not even contain alloca or
21779 # contain a buggy version. If you still want to use their alloca,
21780 # use ar to extract alloca.o from them instead of compiling alloca.c.
21782 ALLOCA=alloca.$ac_objext
21784 cat >>confdefs.h <<\_ACEOF
21789 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
21790 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
21791 if test "${ac_cv_os_cray+set}" = set; then
21792 echo $ECHO_N "(cached) $ECHO_C" >&6
21794 cat >conftest.$ac_ext <<_ACEOF
21795 #line $LINENO "configure"
21798 cat confdefs.h >>conftest.$ac_ext
21799 cat >>conftest.$ac_ext <<_ACEOF
21800 /* end confdefs.h. */
21801 #if defined(CRAY) && ! defined(CRAY2)
21808 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21809 $EGREP "webecray" >/dev/null 2>&1; then
21817 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
21818 echo "${ECHO_T}$ac_cv_os_cray" >&6
21819 if test $ac_cv_os_cray = yes; then
21820 for ac_func in _getb67 GETB67 getb67; do
21821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21822 echo "$as_me:$LINENO: checking for $ac_func" >&5
21823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21824 if eval "test \"\${$as_ac_var+set}\" = set"; then
21825 echo $ECHO_N "(cached) $ECHO_C" >&6
21827 cat >conftest.$ac_ext <<_ACEOF
21828 #line $LINENO "configure"
21831 cat confdefs.h >>conftest.$ac_ext
21832 cat >>conftest.$ac_ext <<_ACEOF
21833 /* end confdefs.h. */
21834 /* System header to define __stub macros and hopefully few prototypes,
21835 which can conflict with char $ac_func (); below.
21836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21837 <limits.h> exists even on freestanding compilers. */
21839 # include <limits.h>
21841 # include <assert.h>
21843 /* Override any gcc2 internal prototype to avoid an error. */
21848 /* We use char because int might match the return type of a gcc2
21849 builtin and then its argument prototype would still apply. */
21851 /* The GNU C library defines this for functions which it implements
21852 to always fail with ENOSYS. Some functions are actually named
21853 something starting with __ and the normal name is an alias. */
21854 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21857 char (*f) () = $ac_func;
21866 return f != $ac_func;
21871 rm -f conftest.$ac_objext conftest$ac_exeext
21872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21873 (eval $ac_link) 2>&5
21875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21876 (exit $ac_status); } &&
21877 { ac_try='test -s conftest$ac_exeext'
21878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21879 (eval $ac_try) 2>&5
21881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21882 (exit $ac_status); }; }; then
21883 eval "$as_ac_var=yes"
21885 echo "$as_me: failed program was:" >&5
21886 sed 's/^/| /' conftest.$ac_ext >&5
21888 eval "$as_ac_var=no"
21890 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
21892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21894 if test `eval echo '${'$as_ac_var'}'` = yes; then
21896 cat >>confdefs.h <<_ACEOF
21897 #define CRAY_STACKSEG_END $ac_func
21906 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
21907 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
21908 if test "${ac_cv_c_stack_direction+set}" = set; then
21909 echo $ECHO_N "(cached) $ECHO_C" >&6
21911 if test "$cross_compiling" = yes; then
21912 ac_cv_c_stack_direction=0
21914 cat >conftest.$ac_ext <<_ACEOF
21915 #line $LINENO "configure"
21918 cat confdefs.h >>conftest.$ac_ext
21919 cat >>conftest.$ac_ext <<_ACEOF
21920 /* end confdefs.h. */
21922 find_stack_direction ()
21924 static char *addr = 0;
21929 return find_stack_direction ();
21932 return (&dummy > addr) ? 1 : -1;
21938 exit (find_stack_direction () < 0);
21941 rm -f conftest$ac_exeext
21942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21943 (eval $ac_link) 2>&5
21945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21946 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21948 (eval $ac_try) 2>&5
21950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21951 (exit $ac_status); }; }; then
21952 ac_cv_c_stack_direction=1
21954 echo "$as_me: program exited with status $ac_status" >&5
21955 echo "$as_me: failed program was:" >&5
21956 sed 's/^/| /' conftest.$ac_ext >&5
21958 ( exit $ac_status )
21959 ac_cv_c_stack_direction=-1
21961 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21964 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
21965 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
21967 cat >>confdefs.h <<_ACEOF
21968 #define STACK_DIRECTION $ac_cv_c_stack_direction
21974 if test $ac_cv_c_compiler_gnu = yes; then
21975 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
21976 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
21977 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
21978 echo $ECHO_N "(cached) $ECHO_C" >&6
21980 ac_pattern="Autoconf.*'x'"
21981 cat >conftest.$ac_ext <<_ACEOF
21982 #line $LINENO "configure"
21985 cat confdefs.h >>conftest.$ac_ext
21986 cat >>conftest.$ac_ext <<_ACEOF
21987 /* end confdefs.h. */
21991 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21992 $EGREP "$ac_pattern" >/dev/null 2>&1; then
21993 ac_cv_prog_gcc_traditional=yes
21995 ac_cv_prog_gcc_traditional=no
22000 if test $ac_cv_prog_gcc_traditional = no; then
22001 cat >conftest.$ac_ext <<_ACEOF
22002 #line $LINENO "configure"
22005 cat confdefs.h >>conftest.$ac_ext
22006 cat >>conftest.$ac_ext <<_ACEOF
22007 /* end confdefs.h. */
22008 #include <termio.h>
22011 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22012 $EGREP "$ac_pattern" >/dev/null 2>&1; then
22013 ac_cv_prog_gcc_traditional=yes
22019 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
22020 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
22021 if test $ac_cv_prog_gcc_traditional = yes; then
22022 CC="$CC -traditional"
22026 echo "$as_me:$LINENO: checking for working memcmp" >&5
22027 echo $ECHO_N "checking for working memcmp... $ECHO_C" >&6
22028 if test "${ac_cv_func_memcmp_working+set}" = set; then
22029 echo $ECHO_N "(cached) $ECHO_C" >&6
22031 if test "$cross_compiling" = yes; then
22032 ac_cv_func_memcmp_working=no
22034 cat >conftest.$ac_ext <<_ACEOF
22035 #line $LINENO "configure"
22038 cat confdefs.h >>conftest.$ac_ext
22039 cat >>conftest.$ac_ext <<_ACEOF
22040 /* end confdefs.h. */
22046 /* Some versions of memcmp are not 8-bit clean. */
22047 char c0 = 0x40, c1 = 0x80, c2 = 0x81;
22048 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
22051 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
22052 or more and with at least one buffer not starting on a 4-byte boundary.
22053 William Lewis provided this test program. */
22058 for (i = 0; i < 4; i++)
22062 strcpy (a, "--------01111111");
22063 strcpy (b, "--------10000000");
22064 if (memcmp (a, b, 16) >= 0)
22074 rm -f conftest$ac_exeext
22075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22076 (eval $ac_link) 2>&5
22078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22079 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22081 (eval $ac_try) 2>&5
22083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22084 (exit $ac_status); }; }; then
22085 ac_cv_func_memcmp_working=yes
22087 echo "$as_me: program exited with status $ac_status" >&5
22088 echo "$as_me: failed program was:" >&5
22089 sed 's/^/| /' conftest.$ac_ext >&5
22091 ( exit $ac_status )
22092 ac_cv_func_memcmp_working=no
22094 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22097 echo "$as_me:$LINENO: result: $ac_cv_func_memcmp_working" >&5
22098 echo "${ECHO_T}$ac_cv_func_memcmp_working" >&6
22099 test $ac_cv_func_memcmp_working = no && LIBOBJS="$LIBOBJS memcmp.$ac_objext"
22103 for ac_header in stdlib.h unistd.h
22105 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22106 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22107 echo "$as_me:$LINENO: checking for $ac_header" >&5
22108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22109 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22110 echo $ECHO_N "(cached) $ECHO_C" >&6
22112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22113 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22115 # Is the header compilable?
22116 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22117 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22118 cat >conftest.$ac_ext <<_ACEOF
22119 #line $LINENO "configure"
22122 cat confdefs.h >>conftest.$ac_ext
22123 cat >>conftest.$ac_ext <<_ACEOF
22124 /* end confdefs.h. */
22125 $ac_includes_default
22126 #include <$ac_header>
22128 rm -f conftest.$ac_objext
22129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22130 (eval $ac_compile) 2>&5
22132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22133 (exit $ac_status); } &&
22134 { ac_try='test -s conftest.$ac_objext'
22135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22136 (eval $ac_try) 2>&5
22138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22139 (exit $ac_status); }; }; then
22140 ac_header_compiler=yes
22142 echo "$as_me: failed program was:" >&5
22143 sed 's/^/| /' conftest.$ac_ext >&5
22145 ac_header_compiler=no
22147 rm -f conftest.$ac_objext conftest.$ac_ext
22148 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22149 echo "${ECHO_T}$ac_header_compiler" >&6
22151 # Is the header present?
22152 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22153 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22154 cat >conftest.$ac_ext <<_ACEOF
22155 #line $LINENO "configure"
22158 cat confdefs.h >>conftest.$ac_ext
22159 cat >>conftest.$ac_ext <<_ACEOF
22160 /* end confdefs.h. */
22161 #include <$ac_header>
22163 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22164 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22166 grep -v '^ *+' conftest.er1 >conftest.err
22168 cat conftest.err >&5
22169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22170 (exit $ac_status); } >/dev/null; then
22171 if test -s conftest.err; then
22172 ac_cpp_err=$ac_c_preproc_warn_flag
22179 if test -z "$ac_cpp_err"; then
22180 ac_header_preproc=yes
22182 echo "$as_me: failed program was:" >&5
22183 sed 's/^/| /' conftest.$ac_ext >&5
22185 ac_header_preproc=no
22187 rm -f conftest.err conftest.$ac_ext
22188 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22189 echo "${ECHO_T}$ac_header_preproc" >&6
22191 # So? What about this header?
22192 case $ac_header_compiler:$ac_header_preproc in
22194 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22195 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22196 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22197 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22200 ## ------------------------------------ ##
22201 ## Report this to bug-autoconf@gnu.org. ##
22202 ## ------------------------------------ ##
22205 sed "s/^/$as_me: WARNING: /" >&2
22208 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22209 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22210 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22211 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22212 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22213 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22216 ## ------------------------------------ ##
22217 ## Report this to bug-autoconf@gnu.org. ##
22218 ## ------------------------------------ ##
22221 sed "s/^/$as_me: WARNING: /" >&2
22224 echo "$as_me:$LINENO: checking for $ac_header" >&5
22225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22227 echo $ECHO_N "(cached) $ECHO_C" >&6
22229 eval "$as_ac_Header=$ac_header_preproc"
22231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22232 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22235 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22236 cat >>confdefs.h <<_ACEOF
22237 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22245 for ac_func in getpagesize
22247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22248 echo "$as_me:$LINENO: checking for $ac_func" >&5
22249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22250 if eval "test \"\${$as_ac_var+set}\" = set"; then
22251 echo $ECHO_N "(cached) $ECHO_C" >&6
22253 cat >conftest.$ac_ext <<_ACEOF
22254 #line $LINENO "configure"
22257 cat confdefs.h >>conftest.$ac_ext
22258 cat >>conftest.$ac_ext <<_ACEOF
22259 /* end confdefs.h. */
22260 /* System header to define __stub macros and hopefully few prototypes,
22261 which can conflict with char $ac_func (); below.
22262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22263 <limits.h> exists even on freestanding compilers. */
22265 # include <limits.h>
22267 # include <assert.h>
22269 /* Override any gcc2 internal prototype to avoid an error. */
22274 /* We use char because int might match the return type of a gcc2
22275 builtin and then its argument prototype would still apply. */
22277 /* The GNU C library defines this for functions which it implements
22278 to always fail with ENOSYS. Some functions are actually named
22279 something starting with __ and the normal name is an alias. */
22280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22283 char (*f) () = $ac_func;
22292 return f != $ac_func;
22297 rm -f conftest.$ac_objext conftest$ac_exeext
22298 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22299 (eval $ac_link) 2>&5
22301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22302 (exit $ac_status); } &&
22303 { ac_try='test -s conftest$ac_exeext'
22304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22305 (eval $ac_try) 2>&5
22307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22308 (exit $ac_status); }; }; then
22309 eval "$as_ac_var=yes"
22311 echo "$as_me: failed program was:" >&5
22312 sed 's/^/| /' conftest.$ac_ext >&5
22314 eval "$as_ac_var=no"
22316 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22320 if test `eval echo '${'$as_ac_var'}'` = yes; then
22321 cat >>confdefs.h <<_ACEOF
22322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22328 echo "$as_me:$LINENO: checking for working mmap" >&5
22329 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
22330 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
22331 echo $ECHO_N "(cached) $ECHO_C" >&6
22333 if test "$cross_compiling" = yes; then
22334 ac_cv_func_mmap_fixed_mapped=no
22336 cat >conftest.$ac_ext <<_ACEOF
22337 #line $LINENO "configure"
22340 cat confdefs.h >>conftest.$ac_ext
22341 cat >>conftest.$ac_ext <<_ACEOF
22342 /* end confdefs.h. */
22343 $ac_includes_default
22344 /* malloc might have been renamed as rpl_malloc. */
22347 /* Thanks to Mike Haertel and Jim Avera for this test.
22348 Here is a matrix of mmap possibilities:
22349 mmap private not fixed
22350 mmap private fixed at somewhere currently unmapped
22351 mmap private fixed at somewhere already mapped
22352 mmap shared not fixed
22353 mmap shared fixed at somewhere currently unmapped
22354 mmap shared fixed at somewhere already mapped
22355 For private mappings, we should verify that changes cannot be read()
22356 back from the file, nor mmap's back from the file at a different
22357 address. (There have been systems where private was not correctly
22358 implemented like the infamous i386 svr4.0, and systems where the
22359 VM page cache was not coherent with the file system buffer cache
22360 like early versions of FreeBSD and possibly contemporary NetBSD.)
22361 For shared mappings, we should conversely verify that changes get
22362 propagated back to all the places they're supposed to be.
22364 Grep wants private fixed already mapped.
22365 The main things grep needs to know about mmap are:
22366 * does it exist and is it safe to write into the mmap'd area
22367 * how to use it (BSD variants) */
22370 #include <sys/mman.h>
22372 #if !STDC_HEADERS && !HAVE_STDLIB_H
22376 /* This mess was copied from the GNU getpagesize.h. */
22377 #if !HAVE_GETPAGESIZE
22378 /* Assume that all systems that can run configure have sys/param.h. */
22379 # if !HAVE_SYS_PARAM_H
22380 # define HAVE_SYS_PARAM_H 1
22383 # ifdef _SC_PAGESIZE
22384 # define getpagesize() sysconf(_SC_PAGESIZE)
22385 # else /* no _SC_PAGESIZE */
22386 # if HAVE_SYS_PARAM_H
22387 # include <sys/param.h>
22388 # ifdef EXEC_PAGESIZE
22389 # define getpagesize() EXEC_PAGESIZE
22390 # else /* no EXEC_PAGESIZE */
22392 # define getpagesize() NBPG * CLSIZE
22395 # endif /* no CLSIZE */
22396 # else /* no NBPG */
22398 # define getpagesize() NBPC
22399 # else /* no NBPC */
22401 # define getpagesize() PAGESIZE
22402 # endif /* PAGESIZE */
22403 # endif /* no NBPC */
22404 # endif /* no NBPG */
22405 # endif /* no EXEC_PAGESIZE */
22406 # else /* no HAVE_SYS_PARAM_H */
22407 # define getpagesize() 8192 /* punt totally */
22408 # endif /* no HAVE_SYS_PARAM_H */
22409 # endif /* no _SC_PAGESIZE */
22411 #endif /* no HAVE_GETPAGESIZE */
22416 char *data, *data2, *data3;
22420 pagesize = getpagesize ();
22422 /* First, make a file with some known garbage in it. */
22423 data = (char *) malloc (pagesize);
22426 for (i = 0; i < pagesize; ++i)
22427 *(data + i) = rand ();
22429 fd = creat ("conftest.mmap", 0600);
22432 if (write (fd, data, pagesize) != pagesize)
22436 /* Next, try to mmap the file at a fixed address which already has
22437 something else allocated at it. If we can, also make sure that
22438 we see the same garbage. */
22439 fd = open ("conftest.mmap", O_RDWR);
22442 data2 = (char *) malloc (2 * pagesize);
22445 data2 += (pagesize - ((int) data2 & (pagesize - 1))) & (pagesize - 1);
22446 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
22447 MAP_PRIVATE | MAP_FIXED, fd, 0L))
22449 for (i = 0; i < pagesize; ++i)
22450 if (*(data + i) != *(data2 + i))
22453 /* Finally, make sure that changes to the mapped area do not
22454 percolate back to the file as seen by read(). (This is a bug on
22455 some variants of i386 svr4.0.) */
22456 for (i = 0; i < pagesize; ++i)
22457 *(data2 + i) = *(data2 + i) + 1;
22458 data3 = (char *) malloc (pagesize);
22461 if (read (fd, data3, pagesize) != pagesize)
22463 for (i = 0; i < pagesize; ++i)
22464 if (*(data + i) != *(data3 + i))
22470 rm -f conftest$ac_exeext
22471 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22472 (eval $ac_link) 2>&5
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22477 (eval $ac_try) 2>&5
22479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22480 (exit $ac_status); }; }; then
22481 ac_cv_func_mmap_fixed_mapped=yes
22483 echo "$as_me: program exited with status $ac_status" >&5
22484 echo "$as_me: failed program was:" >&5
22485 sed 's/^/| /' conftest.$ac_ext >&5
22487 ( exit $ac_status )
22488 ac_cv_func_mmap_fixed_mapped=no
22490 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22493 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
22494 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
22495 if test $ac_cv_func_mmap_fixed_mapped = yes; then
22497 cat >>confdefs.h <<\_ACEOF
22498 #define HAVE_MMAP 1
22502 rm -f conftest.mmap
22504 echo "$as_me:$LINENO: checking for mmap of files" >&5
22505 echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6
22506 if test "${ac_cv_func_mmap_file+set}" = set; then
22507 echo $ECHO_N "(cached) $ECHO_C" >&6
22512 ac_cpp='$CPP $CPPFLAGS'
22513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22517 if test "$cross_compiling" = yes; then
22518 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
22519 See \`config.log' for more details." >&5
22520 echo "$as_me: error: cannot run test program while cross compiling
22521 See \`config.log' for more details." >&2;}
22522 { (exit 1); exit 1; }; }
22524 cat >conftest.$ac_ext <<_ACEOF
22525 #line $LINENO "configure"
22528 cat confdefs.h >>conftest.$ac_ext
22529 cat >>conftest.$ac_ext <<_ACEOF
22530 /* end confdefs.h. */
22532 #ifdef HAVE_SYS_TYPES_H
22533 #include <sys/types.h>
22536 #ifdef HAVE_SYS_MMAN_H
22537 #include <sys/mman.h>
22540 #ifdef HAVE_FCNTL_H
22546 fd = creat ("foo",0777); fd = (int) mmap (0, 1, PROT_READ, MAP_SHARED, fd, 0); unlink ("foo"); return (fd != (int) MAP_FAILED);}
22548 rm -f conftest$ac_exeext
22549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22550 (eval $ac_link) 2>&5
22552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22553 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22555 (eval $ac_try) 2>&5
22557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22558 (exit $ac_status); }; }; then
22559 ac_cv_func_mmap_file=yes
22561 echo "$as_me: program exited with status $ac_status" >&5
22562 echo "$as_me: failed program was:" >&5
22563 sed 's/^/| /' conftest.$ac_ext >&5
22565 ( exit $ac_status )
22566 ac_cv_func_mmap_file=no
22568 rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22571 ac_cpp='$CPP $CPPFLAGS'
22572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22578 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_file" >&5
22579 echo "${ECHO_T}$ac_cv_func_mmap_file" >&6
22580 if test "$ac_cv_func_mmap_file" = yes; then
22582 cat >>confdefs.h <<\_ACEOF
22583 #define HAVE_MMAP_FILE
22590 if test ${ac_cv_func_mmap_file} = "no"
22592 { { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5
22593 echo "$as_me: error: mmap() of files required but not found" >&2;}
22594 { (exit 1); exit 1; }; }
22596 echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
22597 echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6
22598 if test "${ac_cv_header_mmap_anon+set}" = set; then
22599 echo $ECHO_N "(cached) $ECHO_C" >&6
22604 ac_cpp='$CPP $CPPFLAGS'
22605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22609 cat >conftest.$ac_ext <<_ACEOF
22610 #line $LINENO "configure"
22613 cat confdefs.h >>conftest.$ac_ext
22614 cat >>conftest.$ac_ext <<_ACEOF
22615 /* end confdefs.h. */
22616 #include <sys/mman.h>
22617 #include <unistd.h>
22622 mmap (0, 1, PROT_READ, MAP_ANONYMOUS, -1, 0); return (0);
22627 rm -f conftest.$ac_objext
22628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22629 (eval $ac_compile) 2>&5
22631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22632 (exit $ac_status); } &&
22633 { ac_try='test -s conftest.$ac_objext'
22634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22635 (eval $ac_try) 2>&5
22637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22638 (exit $ac_status); }; }; then
22639 ac_cv_header_mmap_anon=yes
22641 echo "$as_me: failed program was:" >&5
22642 sed 's/^/| /' conftest.$ac_ext >&5
22644 ac_cv_header_mmap_anon=no
22646 rm -f conftest.$ac_objext conftest.$ac_ext
22648 ac_cpp='$CPP $CPPFLAGS'
22649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22655 echo "$as_me:$LINENO: result: $ac_cv_header_mmap_anon" >&5
22656 echo "${ECHO_T}$ac_cv_header_mmap_anon" >&6
22657 if test "$ac_cv_header_mmap_anon" = yes; then
22659 cat >>confdefs.h <<\_ACEOF
22660 #define HAVE_MMAP_ANONYMOUS
22665 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
22666 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
22667 if test "${ac_cv_type_signal+set}" = set; then
22668 echo $ECHO_N "(cached) $ECHO_C" >&6
22670 cat >conftest.$ac_ext <<_ACEOF
22671 #line $LINENO "configure"
22674 cat confdefs.h >>conftest.$ac_ext
22675 cat >>conftest.$ac_ext <<_ACEOF
22676 /* end confdefs.h. */
22677 #include <sys/types.h>
22678 #include <signal.h>
22683 extern "C" void (*signal (int, void (*)(int)))(int);
22685 void (*signal ()) ();
22696 rm -f conftest.$ac_objext
22697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22698 (eval $ac_compile) 2>&5
22700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22701 (exit $ac_status); } &&
22702 { ac_try='test -s conftest.$ac_objext'
22703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22704 (eval $ac_try) 2>&5
22706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22707 (exit $ac_status); }; }; then
22708 ac_cv_type_signal=void
22710 echo "$as_me: failed program was:" >&5
22711 sed 's/^/| /' conftest.$ac_ext >&5
22713 ac_cv_type_signal=int
22715 rm -f conftest.$ac_objext conftest.$ac_ext
22717 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
22718 echo "${ECHO_T}$ac_cv_type_signal" >&6
22720 cat >>confdefs.h <<_ACEOF
22721 #define RETSIGTYPE $ac_cv_type_signal
22736 for ac_func in getcwd gettimeofday strcspn strdup strerror strspn strstr strtod strtol strtoq strtoll
22738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22739 echo "$as_me:$LINENO: checking for $ac_func" >&5
22740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22741 if eval "test \"\${$as_ac_var+set}\" = set"; then
22742 echo $ECHO_N "(cached) $ECHO_C" >&6
22744 cat >conftest.$ac_ext <<_ACEOF
22745 #line $LINENO "configure"
22748 cat confdefs.h >>conftest.$ac_ext
22749 cat >>conftest.$ac_ext <<_ACEOF
22750 /* end confdefs.h. */
22751 /* System header to define __stub macros and hopefully few prototypes,
22752 which can conflict with char $ac_func (); below.
22753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22754 <limits.h> exists even on freestanding compilers. */
22756 # include <limits.h>
22758 # include <assert.h>
22760 /* Override any gcc2 internal prototype to avoid an error. */
22765 /* We use char because int might match the return type of a gcc2
22766 builtin and then its argument prototype would still apply. */
22768 /* The GNU C library defines this for functions which it implements
22769 to always fail with ENOSYS. Some functions are actually named
22770 something starting with __ and the normal name is an alias. */
22771 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22774 char (*f) () = $ac_func;
22783 return f != $ac_func;
22788 rm -f conftest.$ac_objext conftest$ac_exeext
22789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22790 (eval $ac_link) 2>&5
22792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22793 (exit $ac_status); } &&
22794 { ac_try='test -s conftest$ac_exeext'
22795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22796 (eval $ac_try) 2>&5
22798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22799 (exit $ac_status); }; }; then
22800 eval "$as_ac_var=yes"
22802 echo "$as_me: failed program was:" >&5
22803 sed 's/^/| /' conftest.$ac_ext >&5
22805 eval "$as_ac_var=no"
22807 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22810 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22811 if test `eval echo '${'$as_ac_var'}'` = yes; then
22812 cat >>confdefs.h <<_ACEOF
22813 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22821 echo "$as_me:$LINENO: checking for mmap" >&5
22822 echo $ECHO_N "checking for mmap... $ECHO_C" >&6
22823 if test "${ac_cv_func_mmap+set}" = set; then
22824 echo $ECHO_N "(cached) $ECHO_C" >&6
22826 cat >conftest.$ac_ext <<_ACEOF
22827 #line $LINENO "configure"
22830 cat confdefs.h >>conftest.$ac_ext
22831 cat >>conftest.$ac_ext <<_ACEOF
22832 /* end confdefs.h. */
22833 /* System header to define __stub macros and hopefully few prototypes,
22834 which can conflict with char mmap (); below.
22835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22836 <limits.h> exists even on freestanding compilers. */
22838 # include <limits.h>
22840 # include <assert.h>
22842 /* Override any gcc2 internal prototype to avoid an error. */
22847 /* We use char because int might match the return type of a gcc2
22848 builtin and then its argument prototype would still apply. */
22850 /* The GNU C library defines this for functions which it implements
22851 to always fail with ENOSYS. Some functions are actually named
22852 something starting with __ and the normal name is an alias. */
22853 #if defined (__stub_mmap) || defined (__stub___mmap)
22856 char (*f) () = mmap;
22870 rm -f conftest.$ac_objext conftest$ac_exeext
22871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22872 (eval $ac_link) 2>&5
22874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22875 (exit $ac_status); } &&
22876 { ac_try='test -s conftest$ac_exeext'
22877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22878 (eval $ac_try) 2>&5
22880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22881 (exit $ac_status); }; }; then
22882 ac_cv_func_mmap=yes
22884 echo "$as_me: failed program was:" >&5
22885 sed 's/^/| /' conftest.$ac_ext >&5
22889 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22891 echo "$as_me:$LINENO: result: $ac_cv_func_mmap" >&5
22892 echo "${ECHO_T}$ac_cv_func_mmap" >&6
22893 if test $ac_cv_func_mmap = yes; then
22896 { { echo "$as_me:$LINENO: error: Function mmap() required but not found" >&5
22897 echo "$as_me: error: Function mmap() required but not found" >&2;}
22898 { (exit 1); exit 1; }; }
22901 echo "$as_me:$LINENO: checking for mprotect" >&5
22902 echo $ECHO_N "checking for mprotect... $ECHO_C" >&6
22903 if test "${ac_cv_func_mprotect+set}" = set; then
22904 echo $ECHO_N "(cached) $ECHO_C" >&6
22906 cat >conftest.$ac_ext <<_ACEOF
22907 #line $LINENO "configure"
22910 cat confdefs.h >>conftest.$ac_ext
22911 cat >>conftest.$ac_ext <<_ACEOF
22912 /* end confdefs.h. */
22913 /* System header to define __stub macros and hopefully few prototypes,
22914 which can conflict with char mprotect (); below.
22915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22916 <limits.h> exists even on freestanding compilers. */
22918 # include <limits.h>
22920 # include <assert.h>
22922 /* Override any gcc2 internal prototype to avoid an error. */
22927 /* We use char because int might match the return type of a gcc2
22928 builtin and then its argument prototype would still apply. */
22930 /* The GNU C library defines this for functions which it implements
22931 to always fail with ENOSYS. Some functions are actually named
22932 something starting with __ and the normal name is an alias. */
22933 #if defined (__stub_mprotect) || defined (__stub___mprotect)
22936 char (*f) () = mprotect;
22945 return f != mprotect;
22950 rm -f conftest.$ac_objext conftest$ac_exeext
22951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22952 (eval $ac_link) 2>&5
22954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22955 (exit $ac_status); } &&
22956 { ac_try='test -s conftest$ac_exeext'
22957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22958 (eval $ac_try) 2>&5
22960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22961 (exit $ac_status); }; }; then
22962 ac_cv_func_mprotect=yes
22964 echo "$as_me: failed program was:" >&5
22965 sed 's/^/| /' conftest.$ac_ext >&5
22967 ac_cv_func_mprotect=no
22969 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22971 echo "$as_me:$LINENO: result: $ac_cv_func_mprotect" >&5
22972 echo "${ECHO_T}$ac_cv_func_mprotect" >&6
22973 if test $ac_cv_func_mprotect = yes; then
22976 { { echo "$as_me:$LINENO: error: Function mprotect() required but not found" >&5
22977 echo "$as_me: error: Function mprotect() required but not found" >&2;}
22978 { (exit 1); exit 1; }; }
22986 ac_cpp='$CPP $CPPFLAGS'
22987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22991 oldcflags="$CFLAGS"
22992 CFLAGS="$CFLAGS -Wl,-R."
22993 cat >conftest.$ac_ext <<_ACEOF
22994 int main() { return 0; }
22996 rm -f conftest.$ac_objext conftest$ac_exeext
22997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22998 (eval $ac_link) 2>&5
23000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23001 (exit $ac_status); } &&
23002 { ac_try='test -s conftest$ac_exeext'
23003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23004 (eval $ac_try) 2>&5
23006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23007 (exit $ac_status); }; }; then
23008 ac_cv_link_use_r=yes
23010 echo "$as_me: failed program was:" >&5
23011 sed 's/^/| /' conftest.$ac_ext >&5
23013 ac_cv_link_use_r=no
23015 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23016 CFLAGS="$oldcflags"
23018 ac_cpp='$CPP $CPPFLAGS'
23019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23023 if test "$ac_cv_link_use_r" = yes
23026 cat >>confdefs.h <<\_ACEOF
23027 #define HAVE_LINK_R 1
23034 # Check whether --enable-purify or --disable-purify was given.
23035 if test "${enable_purify+set}" = set; then
23036 enableval="$enable_purify"
23041 if test ${enableval} = "no"
23046 ENABLE_PURIFY=ENABLE_PURIFY=1
23050 # Check whether --enable-optimized or --disable-optimized was given.
23051 if test "${enable_optimized+set}" = set; then
23052 enableval="$enable_optimized"
23057 if test ${enableval} = "no"
23062 ENABLE_OPTIMIZED=ENABLE_OPTIMIZED=1
23066 # Check whether --enable-spec2000 or --disable-spec2000 was given.
23067 if test "${enable_spec2000+set}" = set; then
23068 enableval="$enable_spec2000"
23073 if test ${enableval} = "no"
23075 if test -d /home/vadve/shared/benchmarks/speccpu2000/benchspec
23077 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
23079 USE_SPEC=USE_SPEC=1
23087 if test ${enableval} = ""
23089 SPEC_ROOT=/home/vadve/shared/benchmarks/speccpu2000/benchspec
23092 SPEC_ROOT=${enableval}
23095 USE_SPEC=USE_SPEC=1
23099 # Check whether --enable-precompiled_bytecode or --disable-precompiled_bytecode was given.
23100 if test "${enable_precompiled_bytecode+set}" = set; then
23101 enableval="$enable_precompiled_bytecode"
23106 if test ${enableval} = "no"
23111 UPB=USE_PRECOMPILED_BYTECODE=1
23116 # Check whether --enable-llc_diffs or --disable-llc_diffs was given.
23117 if test "${enable_llc_diffs+set}" = set; then
23118 enableval="$enable_llc_diffs"
23123 if test ${enableval} = "no"
23125 DISABLE_LLC_DIFFS=DISABLE_LLC_DIFFS:=1
23132 # Check whether --enable-jit or --disable-jit was given.
23133 if test "${enable_jit+set}" = set; then
23134 enableval="$enable_jit"
23140 if test ${enableval} = "no"
23147 JIT=TARGET_HAS_JIT=1
23151 JIT=TARGET_HAS_JIT=1
23163 # Check whether --with-llvmgccdir or --without-llvmgccdir was given.
23164 if test "${with_llvmgccdir+set}" = set; then
23165 withval="$with_llvmgccdir"
23166 LLVMGCCDIR=$withval
23170 echo "$as_me:$LINENO: checking for llvm-gcc" >&5
23171 echo $ECHO_N "checking for llvm-gcc... $ECHO_C" >&6
23173 if test -d "$LLVMGCCDIR"
23175 if test -x "$LLVMGCCDIR/bin/gcc"
23177 LLVM_GCC_CHECK="$LLVMGCCDIR/bin/gcc"
23181 echo "$as_me:$LINENO: result: $LLVM_GCC_CHECK" >&5
23182 echo "${ECHO_T}$LLVM_GCC_CHECK" >&6
23183 if test "$LLVM_GCC_CHECK" = "no"
23188 echo "$as_me:$LINENO: checking whether llvm-gcc is sane" >&5
23189 echo $ECHO_N "checking whether llvm-gcc is sane... $ECHO_C" >&6
23191 if test -x "$LLVM_GCC_CHECK"
23193 cp /dev/null conftest.c
23194 "$LLVM_GCC_CHECK" -S -o - conftest.c | grep implementation > /dev/null 2>&1
23201 echo "$as_me:$LINENO: result: $LLVM_GCC_SANE" >&5
23202 echo "${ECHO_T}$LLVM_GCC_SANE" >&6
23203 if test "$LLVM_GCC_SANE" = "no"
23209 # Check whether --with-bcrepos or --without-bcrepos was given.
23210 if test "${with_bcrepos+set}" = set; then
23211 withval="$with_bcrepos"
23215 BCR=/home/vadve/lattner/LLVMPrograms
23220 # Check whether --with-papi or --without-papi was given.
23221 if test "${with_papi+set}" = set; then
23222 withval="$with_papi"
23226 PAPIDIR=/home/vadve/shared/Sparc/papi-2.3.4.1
23231 # Check whether --with-purify or --without-purify was given.
23232 if test "${with_purify+set}" = set; then
23233 withval="$with_purify"
23239 ac_config_files="$ac_config_files Makefile.config"
23240 cat >confcache <<\_ACEOF
23241 # This file is a shell script that caches the results of configure
23242 # tests run on this system so they can be shared between configure
23243 # scripts and configure runs, see configure's option --config-cache.
23244 # It is not useful on other systems. If it contains results you don't
23245 # want to keep, you may remove or edit it.
23247 # config.status only pays attention to the cache file if you give it
23248 # the --recheck option to rerun configure.
23250 # `ac_cv_env_foo' variables (set or unset) will be overridden when
23251 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23252 # following values.
23256 # The following way of writing the cache mishandles newlines in values,
23257 # but we know of no workaround that is simple, portable, and efficient.
23258 # So, don't put newlines in cache variables' values.
23259 # Ultrix sh set writes to stderr and can't be redirected directly,
23260 # and sets the high bit in the cache file unless we assign to the vars.
23263 case `(ac_space=' '; set | grep ac_space) 2>&1` in
23265 # `set' does not quote correctly, so add quotes (double-quote
23266 # substitution turns \\\\ into \\, and sed turns \\ into \).
23269 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23272 # `set' quotes correctly as required by POSIX, so do not add quotes.
23274 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
23281 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23283 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23285 if diff $cache_file confcache >/dev/null 2>&1; then :; else
23286 if test -w $cache_file; then
23287 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
23288 cat confcache >$cache_file
23290 echo "not updating unwritable cache $cache_file"
23295 test "x$prefix" = xNONE && prefix=$ac_default_prefix
23296 # Let make expand exec_prefix.
23297 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
23299 # VPATH may cause trouble with some makes, so we remove $(srcdir),
23300 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23301 # trailing colons and then remove the whole line if VPATH becomes empty
23302 # (actually we leave an empty line to preserve line numbers).
23303 if test "x$srcdir" = x.; then
23304 ac_vpsub='/^[ ]*VPATH[ ]*=/{
23305 s/:*\$(srcdir):*/:/;
23306 s/:*\${srcdir}:*/:/;
23308 s/^\([^=]*=[ ]*\):*/\1/;
23314 DEFS=-DHAVE_CONFIG_H
23318 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
23319 # 1. Remove the extension, and $U if already installed.
23320 ac_i=`echo "$ac_i" |
23321 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
23323 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
23324 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
23326 LIBOBJS=$ac_libobjs
23328 LTLIBOBJS=$ac_ltlibobjs
23332 : ${CONFIG_STATUS=./config.status}
23333 ac_clean_files_save=$ac_clean_files
23334 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23335 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23336 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23337 cat >$CONFIG_STATUS <<_ACEOF
23339 # Generated by $as_me.
23340 # Run this file to recreate the current configuration.
23341 # Compiler output produced by configure, useful for debugging
23342 # configure, is in config.log if it exists.
23345 ac_cs_recheck=false
23347 SHELL=\${CONFIG_SHELL-$SHELL}
23350 cat >>$CONFIG_STATUS <<\_ACEOF
23351 ## --------------------- ##
23352 ## M4sh Initialization. ##
23353 ## --------------------- ##
23355 # Be Bourne compatible
23356 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23359 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23360 # is contrary to our usage. Disable this feature.
23361 alias -g '${1+"$@"}'='"$@"'
23362 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23366 # Support unset when possible.
23367 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
23374 # Work around bugs in pre-3.0 UWIN ksh.
23375 $as_unset ENV MAIL MAILPATH
23382 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23383 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23384 LC_TELEPHONE LC_TIME
23386 if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
23387 eval $as_var=C; export $as_var
23393 # Required to use basename.
23394 if expr a : '\(a\)' >/dev/null 2>&1; then
23400 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
23401 as_basename=basename
23407 # Name of the executable.
23408 as_me=`$as_basename "$0" ||
23409 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23410 X"$0" : 'X\(//\)$' \| \
23411 X"$0" : 'X\(/\)$' \| \
23412 . : '\(.\)' 2>/dev/null ||
23414 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
23415 /^X\/\(\/\/\)$/{ s//\1/; q; }
23416 /^X\/\(\/\).*/{ s//\1/; q; }
23420 # PATH needs CR, and LINENO needs CR and PATH.
23421 # Avoid depending upon Character Ranges.
23422 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
23423 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23424 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
23425 as_cr_digits='0123456789'
23426 as_cr_alnum=$as_cr_Letters$as_cr_digits
23428 # The user is always right.
23429 if test "${PATH_SEPARATOR+set}" != set; then
23430 echo "#! /bin/sh" >conf$$.sh
23431 echo "exit 0" >>conf$$.sh
23433 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
23442 as_lineno_1=$LINENO
23443 as_lineno_2=$LINENO
23444 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23445 test "x$as_lineno_1" != "x$as_lineno_2" &&
23446 test "x$as_lineno_3" = "x$as_lineno_2" || {
23447 # Find who we are. Look in the path if we contain no path at all
23450 *[\\/]* ) as_myself=$0 ;;
23451 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23452 for as_dir in $PATH
23455 test -z "$as_dir" && as_dir=.
23456 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
23461 # We did not find ourselves, most probably we were run as `sh COMMAND'
23462 # in which case we are not to be found in the path.
23463 if test "x$as_myself" = x; then
23466 if test ! -f "$as_myself"; then
23467 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
23468 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
23469 { (exit 1); exit 1; }; }
23471 case $CONFIG_SHELL in
23473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23474 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
23477 test -z "$as_dir" && as_dir=.
23478 for as_base in sh bash ksh sh5; do
23481 if ("$as_dir/$as_base" -c '
23482 as_lineno_1=$LINENO
23483 as_lineno_2=$LINENO
23484 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
23485 test "x$as_lineno_1" != "x$as_lineno_2" &&
23486 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
23487 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
23488 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
23489 CONFIG_SHELL=$as_dir/$as_base
23490 export CONFIG_SHELL
23491 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23499 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23500 # uniformly replaced by the line number. The first 'sed' inserts a
23501 # line-number line before each line; the second 'sed' does the real
23502 # work. The second script uses 'N' to pair each line-number line
23503 # with the numbered line, and appends trailing '-' during
23504 # substitution so that $LINENO is not a special case at line end.
23505 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23506 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
23507 sed '=' <$as_myself |
23512 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23515 s,^['$as_cr_digits']*\n,,
23516 ' >$as_me.lineno &&
23517 chmod +x $as_me.lineno ||
23518 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
23519 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23520 { (exit 1); exit 1; }; }
23522 # Don't try to exec as it changes $[0], causing all sort of problems
23523 # (the dirname of $[0] is not the place where we might find the
23524 # original and so on. Autoconf is especially sensible to this).
23526 # Exit status is that of the last command.
23531 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
23532 *c*,-n*) ECHO_N= ECHO_C='
23534 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
23535 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23538 if expr a : '\(a\)' >/dev/null 2>&1; then
23544 rm -f conf$$ conf$$.exe conf$$.file
23546 if ln -s conf$$.file conf$$ 2>/dev/null; then
23547 # We could just check for DJGPP; but this test a) works b) is more generic
23548 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
23549 if test -f conf$$.exe; then
23550 # Don't use ln at all; we don't have any links
23555 elif ln conf$$.file conf$$ 2>/dev/null; then
23560 rm -f conf$$ conf$$.exe conf$$.file
23562 if mkdir -p . 2>/dev/null; then
23568 as_executable_p="test -f"
23570 # Sed expression to map a string onto a valid CPP name.
23571 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23573 # Sed expression to map a string onto a valid variable name.
23574 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
23578 # We need space, tab and new line, in precisely that order.
23588 # Open the log real soon, to keep \$[0] and so on meaningful, and to
23589 # report actual input values of CONFIG_FILES etc. instead of their
23590 # values after options handling. Logging --version etc. is OK.
23594 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
23595 ## Running $as_me. ##
23600 This file was extended by [LLVM] $as_me [1.0], which was
23601 generated by GNU Autoconf 2.57. Invocation command line was
23603 CONFIG_FILES = $CONFIG_FILES
23604 CONFIG_HEADERS = $CONFIG_HEADERS
23605 CONFIG_LINKS = $CONFIG_LINKS
23606 CONFIG_COMMANDS = $CONFIG_COMMANDS
23610 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
23614 # Files that config.status was made for.
23615 if test -n "$ac_config_files"; then
23616 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
23619 if test -n "$ac_config_headers"; then
23620 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
23623 if test -n "$ac_config_links"; then
23624 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
23627 if test -n "$ac_config_commands"; then
23628 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
23631 cat >>$CONFIG_STATUS <<\_ACEOF
23634 \`$as_me' instantiates files from templates according to the
23635 current configuration.
23637 Usage: $0 [OPTIONS] [FILE]...
23639 -h, --help print this help, then exit
23640 -V, --version print version number, then exit
23641 -q, --quiet do not print progress messages
23642 -d, --debug don't remove temporary files
23643 --recheck update $as_me by reconfiguring in the same conditions
23644 --file=FILE[:TEMPLATE]
23645 instantiate the configuration file FILE
23646 --header=FILE[:TEMPLATE]
23647 instantiate the configuration header FILE
23649 Configuration files:
23652 Configuration headers:
23655 Configuration commands:
23658 Report bugs to <bug-autoconf@gnu.org>."
23661 cat >>$CONFIG_STATUS <<_ACEOF
23663 [LLVM] config.status [1.0]
23664 configured by $0, generated by GNU Autoconf 2.57,
23665 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
23667 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
23668 Free Software Foundation, Inc.
23669 This config.status script is free software; the Free Software Foundation
23670 gives unlimited permission to copy, distribute and modify it."
23675 cat >>$CONFIG_STATUS <<\_ACEOF
23676 # If no file are specified by the user, then we need to provide default
23677 # value. By we need to know if files were specified by the user.
23683 ac_option=`expr "x$1" : 'x\([^=]*\)='`
23684 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
23692 *) # This is not an option, so the user has probably given explicit
23695 ac_need_defaults=false;;
23699 # Handling of the options.
23701 cat >>$CONFIG_STATUS <<\_ACEOF
23702 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
23704 --version | --vers* | -V )
23705 echo "$ac_cs_version"; exit 0 ;;
23707 # Conflict between --help and --header
23708 { { echo "$as_me:$LINENO: error: ambiguous option: $1
23709 Try \`$0 --help' for more information." >&5
23710 echo "$as_me: error: ambiguous option: $1
23711 Try \`$0 --help' for more information." >&2;}
23712 { (exit 1); exit 1; }; };;
23713 --help | --hel | -h )
23714 echo "$ac_cs_usage"; exit 0 ;;
23715 --debug | --d* | -d )
23717 --file | --fil | --fi | --f )
23719 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
23720 ac_need_defaults=false;;
23721 --header | --heade | --head | --hea )
23723 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
23724 ac_need_defaults=false;;
23725 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
23726 | -silent | --silent | --silen | --sile | --sil | --si | --s)
23729 # This is an error.
23730 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
23731 Try \`$0 --help' for more information." >&5
23732 echo "$as_me: error: unrecognized option: $1
23733 Try \`$0 --help' for more information." >&2;}
23734 { (exit 1); exit 1; }; } ;;
23736 *) ac_config_targets="$ac_config_targets $1" ;;
23742 ac_configure_extra_args=
23744 if $ac_cs_silent; then
23746 ac_configure_extra_args="$ac_configure_extra_args --silent"
23750 cat >>$CONFIG_STATUS <<_ACEOF
23751 if \$ac_cs_recheck; then
23752 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
23753 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
23758 cat >>$CONFIG_STATUS <<_ACEOF
23760 # INIT-COMMANDS section.
23763 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile`
23764 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.common`
23765 ${srcdir}/autoconf/mkinstalldirs `dirname Makefile.rules`
23766 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Makefile`
23767 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/Makefile`
23768 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/DataStructure/Makefile`
23769 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/IPA/Makefile`
23770 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Analysis/LiveVar/Makefile`
23771 ${srcdir}/autoconf/mkinstalldirs `dirname lib/AsmParser/Makefile`
23772 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Makefile`
23773 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Reader/Makefile`
23774 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Bytecode/Writer/Makefile`
23775 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CWriter/Makefile`
23776 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/Makefile`
23777 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSched/Makefile`
23778 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/InstrSelection/Makefile`
23779 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/ModuloScheduling/Makefile`
23780 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/RegAlloc/Makefile`
23781 ${srcdir}/autoconf/mkinstalldirs `dirname lib/CodeGen/SelectionDAG/Makefile`
23782 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Makefile`
23783 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/Interpreter/Makefile`
23784 ${srcdir}/autoconf/mkinstalldirs `dirname lib/ExecutionEngine/JIT/Makefile`
23785 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Support/Makefile`
23786 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Makefile`
23787 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/Sparc/Makefile`
23788 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Target/X86/Makefile`
23789 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Makefile`
23790 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Hello/Makefile`
23791 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/IPO/Makefile`
23792 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/Makefile`
23793 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Instrumentation/ProfilePaths/Makefile`
23794 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Scalar/Makefile`
23795 ${srcdir}/autoconf/mkinstalldirs `dirname lib/Transforms/Utils/Makefile`
23796 ${srcdir}/autoconf/mkinstalldirs `dirname lib/VMCore/Makefile`
23797 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/Makefile`
23798 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/Makefile`
23799 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/crtend/Makefile`
23800 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libc/Makefile`
23801 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libcurses/Makefile`
23802 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libg/Makefile`
23803 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libgcc/Makefile`
23804 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libm/Makefile`
23805 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libmalloc/Makefile`
23806 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libtermcap/Makefile`
23807 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libucb/Makefile`
23808 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutempter/Makefile`
23809 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/GCCLibraries/libutil/Makefile`
23810 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libdummy/Makefile`
23811 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libtrace/Makefile`
23812 ${srcdir}/autoconf/mkinstalldirs `dirname runtime/libprofile/Makefile`
23813 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile`
23814 ${srcdir}/autoconf/mkinstalldirs `dirname test/Makefile.tests`
23815 ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTest/llvm.py`
23816 ${srcdir}/autoconf/mkinstalldirs `dirname test/QMTest/llvmdb.py`
23817 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile`
23818 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/Makefile.programs`
23819 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.Makefile`
23820 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.report`
23821 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.report`
23822 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.aa.report`
23823 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.example.Makefile`
23824 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.Makefile`
23825 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.buildrepo.Makefile`
23826 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.Makefile`
23827 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.nightly.report`
23828 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.Makefile`
23829 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.jit.report`
23830 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.typesafe.Makefile`
23831 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.dsgraph.gnuplot`
23832 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/TEST.micro.Makefile`
23833 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/Makefile`
23834 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile`
23835 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/Makefile.spec`
23836 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/Makefile`
23837 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/177.mesa/Makefile`
23838 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/179.art/Makefile`
23839 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/183.equake/Makefile`
23840 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CFP2000/188.ammp/Makefile`
23841 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/Makefile`
23842 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/164.gzip/Makefile`
23843 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/175.vpr/Makefile`
23844 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/176.gcc/Makefile`
23845 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/181.mcf/Makefile`
23846 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/186.crafty/Makefile`
23847 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/197.parser/Makefile`
23848 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/252.eon/Makefile`
23849 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile`
23850 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/254.gap/Makefile`
23851 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/255.vortex/Makefile`
23852 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile`
23853 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/External/SPEC/CINT2000/300.twolf/Makefile`
23854 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/LLVMSource/Makefile`
23855 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile`
23856 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Makefile.multisrc`
23857 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Makefile`
23858 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/Burg/Makefile`
23859 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/aha/Makefile`
23860 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Applications/sgefa/Makefile`
23861 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Makefile`
23862 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile`
23863 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/Makefile`
23864 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/Makefile`
23865 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in`
23866 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile`
23867 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in`
23868 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile`
23869 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in`
23870 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile`
23871 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in`
23872 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile`
23873 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in`
23874 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile`
23875 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in`
23876 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile`
23877 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in`
23878 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/Makefile`
23879 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile`
23880 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile`
23881 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile`
23882 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile`
23883 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile`
23884 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile`
23885 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile`
23886 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile`
23887 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile`
23888 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile`
23889 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/Makefile`
23890 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile`
23891 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile`
23892 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile`
23893 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/health/Makefile`
23894 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile`
23895 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile`
23896 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/power/Makefile`
23897 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile`
23898 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile`
23899 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile`
23900 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile`
23901 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile`
23902 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile`
23903 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile`
23904 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile`
23905 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile`
23906 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile`
23907 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile`
23908 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/MultiSource/Benchmarks/sim/Makefile`
23909 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile`
23910 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Makefile.singlesrc`
23911 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Gizmos/Makefile`
23912 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Makefile`
23913 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile`
23914 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Shootout/Makefile`
23915 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Stanford/Makefile`
23916 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Benchmarks/Misc/Makefile`
23917 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/CustomChecked/Makefile`
23918 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/Makefile`
23919 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile`
23920 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/Makefile`
23921 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C/Makefile`
23922 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/Makefile`
23923 ${srcdir}/autoconf/mkinstalldirs `dirname test/Programs/SingleSource/Regression/C++/EH/Makefile`
23924 ${srcdir}/autoconf/mkinstalldirs `dirname tools/Makefile`
23925 ${srcdir}/autoconf/mkinstalldirs `dirname tools/analyze/Makefile`
23926 ${srcdir}/autoconf/mkinstalldirs `dirname tools/bugpoint/Makefile`
23927 ${srcdir}/autoconf/mkinstalldirs `dirname tools/extract/Makefile`
23928 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccas/Makefile`
23929 ${srcdir}/autoconf/mkinstalldirs `dirname tools/gccld/Makefile`
23930 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llc/Makefile`
23931 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llee/Makefile`
23932 ${srcdir}/autoconf/mkinstalldirs `dirname tools/lli/Makefile`
23933 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-ar/Makefile`
23934 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-as/Makefile`
23935 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-dis/Makefile`
23936 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-link/Makefile`
23937 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-nm/Makefile`
23938 ${srcdir}/autoconf/mkinstalldirs `dirname tools/llvm-prof/Makefile`
23939 ${srcdir}/autoconf/mkinstalldirs `dirname tools/opt/Makefile`
23940 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Makefile`
23941 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Makefile`
23942 ${srcdir}/autoconf/mkinstalldirs `dirname utils/Burg/Doc/Makefile`
23943 ${srcdir}/autoconf/mkinstalldirs `dirname utils/TableGen/Makefile`
23944 ${srcdir}/autoconf/mkinstalldirs `dirname projects/Makefile`
23945 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile`
23946 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/Makefile.common`
23947 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/Makefile`
23948 ${srcdir}/autoconf/mkinstalldirs `dirname projects/ModuleMaker/tools/ModuleMaker/Makefile`
23954 cat >>$CONFIG_STATUS <<\_ACEOF
23955 for ac_config_target in $ac_config_targets
23957 case "$ac_config_target" in
23958 # Handling of arguments.
23959 "Makefile.config" ) CONFIG_FILES="$CONFIG_FILES Makefile.config" ;;
23960 "Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23961 "Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.common" ;;
23962 "Makefile.rules" ) CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile.rules" ;;
23963 "lib/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Makefile" ;;
23964 "lib/Analysis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/Makefile" ;;
23965 "lib/Analysis/DataStructure/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/DataStructure/Makefile" ;;
23966 "lib/Analysis/IPA/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/IPA/Makefile" ;;
23967 "lib/Analysis/LiveVar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Analysis/LiveVar/Makefile" ;;
23968 "lib/AsmParser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/AsmParser/Makefile" ;;
23969 "lib/Bytecode/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Makefile" ;;
23970 "lib/Bytecode/Reader/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Reader/Makefile" ;;
23971 "lib/Bytecode/Writer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Bytecode/Writer/Makefile" ;;
23972 "lib/CWriter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CWriter/Makefile" ;;
23973 "lib/CodeGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/Makefile" ;;
23974 "lib/CodeGen/InstrSched/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSched/Makefile" ;;
23975 "lib/CodeGen/InstrSelection/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/InstrSelection/Makefile" ;;
23976 "lib/CodeGen/ModuloScheduling/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/ModuloScheduling/Makefile" ;;
23977 "lib/CodeGen/RegAlloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/RegAlloc/Makefile" ;;
23978 "lib/CodeGen/SelectionDAG/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/CodeGen/SelectionDAG/Makefile" ;;
23979 "lib/ExecutionEngine/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Makefile" ;;
23980 "lib/ExecutionEngine/Interpreter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/Interpreter/Makefile" ;;
23981 "lib/ExecutionEngine/JIT/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/ExecutionEngine/JIT/Makefile" ;;
23982 "lib/Support/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Support/Makefile" ;;
23983 "lib/Target/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Makefile" ;;
23984 "lib/Target/Sparc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/Sparc/Makefile" ;;
23985 "lib/Target/X86/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Target/X86/Makefile" ;;
23986 "lib/Transforms/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Makefile" ;;
23987 "lib/Transforms/Hello/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Hello/Makefile" ;;
23988 "lib/Transforms/IPO/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/IPO/Makefile" ;;
23989 "lib/Transforms/Instrumentation/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/Makefile" ;;
23990 "lib/Transforms/Instrumentation/ProfilePaths/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Instrumentation/ProfilePaths/Makefile" ;;
23991 "lib/Transforms/Scalar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Scalar/Makefile" ;;
23992 "lib/Transforms/Utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/Transforms/Utils/Makefile" ;;
23993 "lib/VMCore/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS lib/VMCore/Makefile" ;;
23994 "runtime/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/Makefile" ;;
23995 "runtime/GCCLibraries/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/Makefile" ;;
23996 "runtime/GCCLibraries/crtend/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/crtend/Makefile" ;;
23997 "runtime/GCCLibraries/libc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libc/Makefile" ;;
23998 "runtime/GCCLibraries/libcurses/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libcurses/Makefile" ;;
23999 "runtime/GCCLibraries/libg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libg/Makefile" ;;
24000 "runtime/GCCLibraries/libgcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libgcc/Makefile" ;;
24001 "runtime/GCCLibraries/libm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libm/Makefile" ;;
24002 "runtime/GCCLibraries/libmalloc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libmalloc/Makefile" ;;
24003 "runtime/GCCLibraries/libtermcap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libtermcap/Makefile" ;;
24004 "runtime/GCCLibraries/libucb/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libucb/Makefile" ;;
24005 "runtime/GCCLibraries/libutempter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutempter/Makefile" ;;
24006 "runtime/GCCLibraries/libutil/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/GCCLibraries/libutil/Makefile" ;;
24007 "runtime/libdummy/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libdummy/Makefile" ;;
24008 "runtime/libtrace/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libtrace/Makefile" ;;
24009 "runtime/libprofile/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS runtime/libprofile/Makefile" ;;
24010 "test/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile" ;;
24011 "test/Makefile.tests" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Makefile.tests" ;;
24012 "test/QMTest/llvm.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTest/llvm.py" ;;
24013 "test/QMTest/llvmdb.py" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/QMTest/llvmdb.py" ;;
24014 "test/Programs/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile" ;;
24015 "test/Programs/Makefile.programs" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/Makefile.programs" ;;
24016 "test/Programs/TEST.aa.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.Makefile" ;;
24017 "test/Programs/TEST.dsgraph.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.report" ;;
24018 "test/Programs/TEST.micro.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.report" ;;
24019 "test/Programs/TEST.aa.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.aa.report" ;;
24020 "test/Programs/TEST.example.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.example.Makefile" ;;
24021 "test/Programs/TEST.nightly.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.Makefile" ;;
24022 "test/Programs/TEST.buildrepo.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.buildrepo.Makefile" ;;
24023 "test/Programs/TEST.jit.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.Makefile" ;;
24024 "test/Programs/TEST.nightly.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.nightly.report" ;;
24025 "test/Programs/TEST.dsgraph.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.Makefile" ;;
24026 "test/Programs/TEST.jit.report" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.jit.report" ;;
24027 "test/Programs/TEST.typesafe.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.typesafe.Makefile" ;;
24028 "test/Programs/TEST.dsgraph.gnuplot" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.dsgraph.gnuplot" ;;
24029 "test/Programs/TEST.micro.Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/TEST.micro.Makefile" ;;
24030 "test/Programs/External/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/Makefile" ;;
24031 "test/Programs/External/SPEC/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile" ;;
24032 "test/Programs/External/SPEC/Makefile.spec" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/Makefile.spec" ;;
24033 "test/Programs/External/SPEC/CFP2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/Makefile" ;;
24034 "test/Programs/External/SPEC/CFP2000/177.mesa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/177.mesa/Makefile" ;;
24035 "test/Programs/External/SPEC/CFP2000/179.art/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/179.art/Makefile" ;;
24036 "test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/183.equake/Makefile" ;;
24037 "test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CFP2000/188.ammp/Makefile" ;;
24038 "test/Programs/External/SPEC/CINT2000/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/Makefile" ;;
24039 "test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/164.gzip/Makefile" ;;
24040 "test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/175.vpr/Makefile" ;;
24041 "test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/176.gcc/Makefile" ;;
24042 "test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/181.mcf/Makefile" ;;
24043 "test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/186.crafty/Makefile" ;;
24044 "test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/197.parser/Makefile" ;;
24045 "test/Programs/External/SPEC/CINT2000/252.eon/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/252.eon/Makefile" ;;
24046 "test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/253.perlbmk/Makefile" ;;
24047 "test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/254.gap/Makefile" ;;
24048 "test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/255.vortex/Makefile" ;;
24049 "test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/256.bzip2/Makefile" ;;
24050 "test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/External/SPEC/CINT2000/300.twolf/Makefile" ;;
24051 "test/Programs/LLVMSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/LLVMSource/Makefile" ;;
24052 "test/Programs/MultiSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile" ;;
24053 "test/Programs/MultiSource/Makefile.multisrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Makefile.multisrc" ;;
24054 "test/Programs/MultiSource/Applications/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Makefile" ;;
24055 "test/Programs/MultiSource/Applications/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/Burg/Makefile" ;;
24056 "test/Programs/MultiSource/Applications/aha/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/aha/Makefile" ;;
24057 "test/Programs/MultiSource/Applications/sgefa/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Applications/sgefa/Makefile" ;;
24058 "test/Programs/MultiSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Makefile" ;;
24059 "test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Fhourstones/Makefile" ;;
24060 "test/Programs/MultiSource/Benchmarks/FreeBench/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/Makefile" ;;
24061 "test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/Makefile" ;;
24062 "test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/analyzer/test.in" ;;
24063 "test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/distray/Makefile" ;;
24064 "test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/distray/test.in" ;;
24065 "test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/Makefile" ;;
24066 "test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/fourinarow/test.in" ;;
24067 "test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/mason/Makefile" ;;
24068 "test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/mason/test.in" ;;
24069 "test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/neural/Makefile" ;;
24070 "test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/neural/test.in" ;;
24071 "test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/Makefile" ;;
24072 "test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/pcompress2/test.in" ;;
24073 "test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/pifft/Makefile" ;;
24074 "test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/FreeBench/pifft/test.in" ;;
24075 "test/Programs/MultiSource/Benchmarks/McCat/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/Makefile" ;;
24076 "test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/01-qbsort/Makefile" ;;
24077 "test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/03-testtrie/Makefile" ;;
24078 "test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/04-bisect/Makefile" ;;
24079 "test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/05-eks/Makefile" ;;
24080 "test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/08-main/Makefile" ;;
24081 "test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/09-vor/Makefile" ;;
24082 "test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/12-IOtest/Makefile" ;;
24083 "test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/15-trie/Makefile" ;;
24084 "test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/17-bintr/Makefile" ;;
24085 "test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/McCat/18-imp/Makefile" ;;
24086 "test/Programs/MultiSource/Benchmarks/Olden/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/Makefile" ;;
24087 "test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bh/Makefile" ;;
24088 "test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/bisort/Makefile" ;;
24089 "test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/em3d/Makefile" ;;
24090 "test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/health/Makefile" ;;
24091 "test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/mst/Makefile" ;;
24092 "test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/perimeter/Makefile" ;;
24093 "test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/power/Makefile" ;;
24094 "test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/treeadd/Makefile" ;;
24095 "test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/tsp/Makefile" ;;
24096 "test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Olden/voronoi/Makefile" ;;
24097 "test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/OptimizerEval/Makefile" ;;
24098 "test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/Makefile" ;;
24099 "test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/anagram/Makefile" ;;
24100 "test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/bc/Makefile" ;;
24101 "test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ft/Makefile" ;;
24102 "test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/ks/Makefile" ;;
24103 "test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/Ptrdist/yacr2/Makefile" ;;
24104 "test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/llubenchmark/Makefile" ;;
24105 "test/Programs/MultiSource/Benchmarks/sim/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/MultiSource/Benchmarks/sim/Makefile" ;;
24106 "test/Programs/SingleSource/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile" ;;
24107 "test/Programs/SingleSource/Makefile.singlesrc" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Makefile.singlesrc" ;;
24108 "test/Programs/SingleSource/Gizmos/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Gizmos/Makefile" ;;
24109 "test/Programs/SingleSource/Benchmarks/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Makefile" ;;
24110 "test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Dhrystone/Makefile" ;;
24111 "test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Shootout/Makefile" ;;
24112 "test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Stanford/Makefile" ;;
24113 "test/Programs/SingleSource/Benchmarks/Misc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Benchmarks/Misc/Makefile" ;;
24114 "test/Programs/SingleSource/CustomChecked/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/CustomChecked/Makefile" ;;
24115 "test/Programs/SingleSource/UnitTests/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/Makefile" ;;
24116 "test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/UnitTests/SetjmpLongjmp/Makefile" ;;
24117 "test/Programs/SingleSource/Regression/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/Makefile" ;;
24118 "test/Programs/SingleSource/Regression/C/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C/Makefile" ;;
24119 "test/Programs/SingleSource/Regression/C++/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/Makefile" ;;
24120 "test/Programs/SingleSource/Regression/C++/EH/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS test/Programs/SingleSource/Regression/C++/EH/Makefile" ;;
24121 "tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/Makefile" ;;
24122 "tools/analyze/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/analyze/Makefile" ;;
24123 "tools/bugpoint/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/bugpoint/Makefile" ;;
24124 "tools/extract/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/extract/Makefile" ;;
24125 "tools/gccas/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccas/Makefile" ;;
24126 "tools/gccld/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/gccld/Makefile" ;;
24127 "tools/llc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llc/Makefile" ;;
24128 "tools/llee/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llee/Makefile" ;;
24129 "tools/lli/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/lli/Makefile" ;;
24130 "tools/llvm-ar/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-ar/Makefile" ;;
24131 "tools/llvm-as/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-as/Makefile" ;;
24132 "tools/llvm-dis/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-dis/Makefile" ;;
24133 "tools/llvm-link/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-link/Makefile" ;;
24134 "tools/llvm-nm/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-nm/Makefile" ;;
24135 "tools/llvm-prof/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/llvm-prof/Makefile" ;;
24136 "tools/opt/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tools/opt/Makefile" ;;
24137 "utils/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Makefile" ;;
24138 "utils/Burg/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Makefile" ;;
24139 "utils/Burg/Doc/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/Burg/Doc/Makefile" ;;
24140 "utils/TableGen/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS utils/TableGen/Makefile" ;;
24141 "projects/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/Makefile" ;;
24142 "projects/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile" ;;
24143 "projects/ModuleMaker/Makefile.common" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/Makefile.common" ;;
24144 "projects/ModuleMaker/tools/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/Makefile" ;;
24145 "projects/ModuleMaker/tools/ModuleMaker/Makefile" ) CONFIG_COMMANDS="$CONFIG_COMMANDS projects/ModuleMaker/tools/ModuleMaker/Makefile" ;;
24146 "include/Config/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/Config/config.h" ;;
24147 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24148 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24149 { (exit 1); exit 1; }; };;
24153 # If the user did not use the arguments to specify the items to instantiate,
24154 # then the envvar interface is used. Set only those that are not.
24155 # We use the long form for the default assignment because of an extremely
24156 # bizarre bug on SunOS 4.1.3.
24157 if $ac_need_defaults; then
24158 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
24159 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
24160 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
24163 # Have a temporary directory for convenience. Make it in the build tree
24164 # simply because there is no reason to put it here, and in addition,
24165 # creating and moving files from /tmp can sometimes cause problems.
24166 # Create a temporary directory, and hook for its removal unless debugging.
24169 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
24170 trap '{ (exit 1); exit 1; }' 1 2 13 15
24173 # Create a (secure) tmp directory for tmp files.
24176 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
24177 test -n "$tmp" && test -d "$tmp"
24180 tmp=./confstat$$-$RANDOM
24181 (umask 077 && mkdir $tmp)
24184 echo "$me: cannot create a temporary directory in ." >&2
24185 { (exit 1); exit 1; }
24190 cat >>$CONFIG_STATUS <<_ACEOF
24193 # CONFIG_FILES section.
24196 # No need to generate the scripts if there are no CONFIG_FILES.
24197 # This happens for instance when ./config.status config.h
24198 if test -n "\$CONFIG_FILES"; then
24199 # Protect against being on the right side of a sed subst in config.status.
24200 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
24201 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
24202 s,@SHELL@,$SHELL,;t t
24203 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
24204 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
24205 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
24206 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
24207 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
24208 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
24209 s,@exec_prefix@,$exec_prefix,;t t
24210 s,@prefix@,$prefix,;t t
24211 s,@program_transform_name@,$program_transform_name,;t t
24212 s,@bindir@,$bindir,;t t
24213 s,@sbindir@,$sbindir,;t t
24214 s,@libexecdir@,$libexecdir,;t t
24215 s,@datadir@,$datadir,;t t
24216 s,@sysconfdir@,$sysconfdir,;t t
24217 s,@sharedstatedir@,$sharedstatedir,;t t
24218 s,@localstatedir@,$localstatedir,;t t
24219 s,@libdir@,$libdir,;t t
24220 s,@includedir@,$includedir,;t t
24221 s,@oldincludedir@,$oldincludedir,;t t
24222 s,@infodir@,$infodir,;t t
24223 s,@mandir@,$mandir,;t t
24224 s,@build_alias@,$build_alias,;t t
24225 s,@host_alias@,$host_alias,;t t
24226 s,@target_alias@,$target_alias,;t t
24227 s,@DEFS@,$DEFS,;t t
24228 s,@ECHO_C@,$ECHO_C,;t t
24229 s,@ECHO_N@,$ECHO_N,;t t
24230 s,@ECHO_T@,$ECHO_T,;t t
24231 s,@LIBS@,$LIBS,;t t
24232 s,@subdirs@,$subdirs,;t t
24233 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
24234 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
24235 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
24236 s,@build@,$build,;t t
24237 s,@build_cpu@,$build_cpu,;t t
24238 s,@build_vendor@,$build_vendor,;t t
24239 s,@build_os@,$build_os,;t t
24240 s,@host@,$host,;t t
24241 s,@host_cpu@,$host_cpu,;t t
24242 s,@host_vendor@,$host_vendor,;t t
24243 s,@host_os@,$host_os,;t t
24244 s,@target@,$target,;t t
24245 s,@target_cpu@,$target_cpu,;t t
24246 s,@target_vendor@,$target_vendor,;t t
24247 s,@target_os@,$target_os,;t t
24249 s,@LLVMGCCDIR@,$LLVMGCCDIR,;t t
24250 s,@ARCH@,$ARCH,;t t
24252 s,@CXXFLAGS@,$CXXFLAGS,;t t
24253 s,@LDFLAGS@,$LDFLAGS,;t t
24254 s,@CPPFLAGS@,$CPPFLAGS,;t t
24255 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
24256 s,@EXEEXT@,$EXEEXT,;t t
24257 s,@OBJEXT@,$OBJEXT,;t t
24259 s,@CFLAGS@,$CFLAGS,;t t
24260 s,@ac_ct_CC@,$ac_ct_CC,;t t
24262 s,@ifGNUmake@,$ifGNUmake,;t t
24264 s,@LEXLIB@,$LEXLIB,;t t
24265 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
24266 s,@YACC@,$YACC,;t t
24267 s,@EGREP@,$EGREP,;t t
24268 s,@LN_S@,$LN_S,;t t
24269 s,@ECHO@,$ECHO,;t t
24271 s,@ac_ct_AR@,$ac_ct_AR,;t t
24272 s,@RANLIB@,$RANLIB,;t t
24273 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
24274 s,@STRIP@,$STRIP,;t t
24275 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
24276 s,@CXXCPP@,$CXXCPP,;t t
24278 s,@FFLAGS@,$FFLAGS,;t t
24279 s,@ac_ct_F77@,$ac_ct_F77,;t t
24280 s,@LIBTOOL@,$LIBTOOL,;t t
24281 s,@RPWD@,$RPWD,;t t
24284 s,@MKDIR@,$MKDIR,;t t
24285 s,@DATE@,$DATE,;t t
24288 s,@ETAGS@,$ETAGS,;t t
24289 s,@PYTHON@,$PYTHON,;t t
24290 s,@QMTEST@,$QMTEST,;t t
24291 s,@ALLOCA@,$ALLOCA,;t t
24292 s,@LIBOBJS@,$LIBOBJS,;t t
24293 s,@MMAP_FILE@,$MMAP_FILE,;t t
24294 s,@ENABLE_PURIFY@,$ENABLE_PURIFY,;t t
24295 s,@ENABLE_OPTIMIZED@,$ENABLE_OPTIMIZED,;t t
24296 s,@SPEC_ROOT@,$SPEC_ROOT,;t t
24297 s,@USE_SPEC@,$USE_SPEC,;t t
24299 s,@DISABLE_LLC_DIFFS@,$DISABLE_LLC_DIFFS,;t t
24302 s,@PAPIDIR@,$PAPIDIR,;t t
24303 s,@PURIFY@,$PURIFY,;t t
24304 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
24309 cat >>$CONFIG_STATUS <<\_ACEOF
24310 # Split the substitutions into bite-sized pieces for seds with
24311 # small command number limits, like on Digital OSF/1 and HP-UX.
24312 ac_max_sed_lines=48
24313 ac_sed_frag=1 # Number of current file.
24314 ac_beg=1 # First line for current file.
24315 ac_end=$ac_max_sed_lines # Line after last line for current file.
24318 while $ac_more_lines; do
24319 if test $ac_beg -gt 1; then
24320 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
24322 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
24324 if test ! -s $tmp/subs.frag; then
24325 ac_more_lines=false
24327 # The purpose of the label and of the branching condition is to
24328 # speed up the sed processing (if there are no `@' at all, there
24329 # is no need to browse any of the substitutions).
24330 # These are the two extra sed commands mentioned above.
24332 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
24333 if test -z "$ac_sed_cmds"; then
24334 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
24336 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
24338 ac_sed_frag=`expr $ac_sed_frag + 1`
24340 ac_end=`expr $ac_end + $ac_max_sed_lines`
24343 if test -z "$ac_sed_cmds"; then
24346 fi # test -n "$CONFIG_FILES"
24349 cat >>$CONFIG_STATUS <<\_ACEOF
24350 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
24351 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24353 - | *:- | *:-:* ) # input from stdin
24355 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24356 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24357 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24358 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24359 * ) ac_file_in=$ac_file.in ;;
24362 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
24363 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24364 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24365 X"$ac_file" : 'X\(//\)[^/]' \| \
24366 X"$ac_file" : 'X\(//\)$' \| \
24367 X"$ac_file" : 'X\(/\)' \| \
24368 . : '\(.\)' 2>/dev/null ||
24370 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24371 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24372 /^X\(\/\/\)$/{ s//\1/; q; }
24373 /^X\(\/\).*/{ s//\1/; q; }
24375 { if $as_mkdir_p; then
24380 while test ! -d "$as_dir"; do
24381 as_dirs="$as_dir $as_dirs"
24382 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24383 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24384 X"$as_dir" : 'X\(//\)[^/]' \| \
24385 X"$as_dir" : 'X\(//\)$' \| \
24386 X"$as_dir" : 'X\(/\)' \| \
24387 . : '\(.\)' 2>/dev/null ||
24389 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24390 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24391 /^X\(\/\/\)$/{ s//\1/; q; }
24392 /^X\(\/\).*/{ s//\1/; q; }
24395 test ! -n "$as_dirs" || mkdir $as_dirs
24396 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24397 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24398 { (exit 1); exit 1; }; }; }
24402 if test "$ac_dir" != .; then
24403 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24404 # A "../" for each directory in $ac_dir_suffix.
24405 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24407 ac_dir_suffix= ac_top_builddir=
24411 .) # No --srcdir option. We are building in place.
24413 if test -z "$ac_top_builddir"; then
24416 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24418 [\\/]* | ?:[\\/]* ) # Absolute path.
24419 ac_srcdir=$srcdir$ac_dir_suffix;
24420 ac_top_srcdir=$srcdir ;;
24421 *) # Relative path.
24422 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24423 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24425 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24427 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24428 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24429 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24430 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24434 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
24435 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
24438 if test x"$ac_file" != x-; then
24439 { echo "$as_me:$LINENO: creating $ac_file" >&5
24440 echo "$as_me: creating $ac_file" >&6;}
24443 # Let's still pretend it is `configure' which instantiates (i.e., don't
24444 # use $as_me), people would be surprised to read:
24445 # /* config.h. Generated by config.status. */
24446 if test x"$ac_file" = x-; then
24449 configure_input="$ac_file. "
24451 configure_input=$configure_input"Generated from `echo $ac_file_in |
24452 sed 's,.*/,,'` by configure."
24454 # First look for the input files in the build tree, otherwise in the
24456 ac_file_inputs=`IFS=:
24457 for f in $ac_file_in; do
24459 -) echo $tmp/stdin ;;
24461 # Absolute (can't be DOS-style, as IFS=:)
24462 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24463 echo "$as_me: error: cannot find input file: $f" >&2;}
24464 { (exit 1); exit 1; }; }
24467 if test -f "$f"; then
24470 elif test -f "$srcdir/$f"; then
24475 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24476 echo "$as_me: error: cannot find input file: $f" >&2;}
24477 { (exit 1); exit 1; }; }
24480 done` || { (exit 1); exit 1; }
24482 cat >>$CONFIG_STATUS <<_ACEOF
24486 cat >>$CONFIG_STATUS <<\_ACEOF
24488 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24489 s,@configure_input@,$configure_input,;t t
24490 s,@srcdir@,$ac_srcdir,;t t
24491 s,@abs_srcdir@,$ac_abs_srcdir,;t t
24492 s,@top_srcdir@,$ac_top_srcdir,;t t
24493 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
24494 s,@builddir@,$ac_builddir,;t t
24495 s,@abs_builddir@,$ac_abs_builddir,;t t
24496 s,@top_builddir@,$ac_top_builddir,;t t
24497 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
24498 s,@INSTALL@,$ac_INSTALL,;t t
24499 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
24501 if test x"$ac_file" != x-; then
24502 mv $tmp/out $ac_file
24510 cat >>$CONFIG_STATUS <<\_ACEOF
24513 # CONFIG_HEADER section.
24516 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
24517 # NAME is the cpp macro being defined and VALUE is the value it is being given.
24519 # ac_d sets the value in "#define NAME VALUE" lines.
24520 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
24521 ac_dB='[ ].*$,\1#\2'
24524 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
24525 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
24526 ac_uB='$,\1#\2define\3'
24530 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
24531 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
24533 - | *:- | *:-:* ) # input from stdin
24535 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24536 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24537 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
24538 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
24539 * ) ac_file_in=$ac_file.in ;;
24542 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
24543 echo "$as_me: creating $ac_file" >&6;}
24545 # First look for the input files in the build tree, otherwise in the
24547 ac_file_inputs=`IFS=:
24548 for f in $ac_file_in; do
24550 -) echo $tmp/stdin ;;
24552 # Absolute (can't be DOS-style, as IFS=:)
24553 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24554 echo "$as_me: error: cannot find input file: $f" >&2;}
24555 { (exit 1); exit 1; }; }
24558 if test -f "$f"; then
24561 elif test -f "$srcdir/$f"; then
24566 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
24567 echo "$as_me: error: cannot find input file: $f" >&2;}
24568 { (exit 1); exit 1; }; }
24571 done` || { (exit 1); exit 1; }
24572 # Remove the trailing spaces.
24573 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
24577 # Transform confdefs.h into two sed scripts, `conftest.defines' and
24578 # `conftest.undefs', that substitutes the proper values into
24579 # config.h.in to produce config.h. The first handles `#define'
24580 # templates, and the second `#undef' templates.
24581 # And first: Protect against being on the right side of a sed subst in
24582 # config.status. Protect against being in an unquoted here document
24583 # in config.status.
24584 rm -f conftest.defines conftest.undefs
24585 # Using a here document instead of a string reduces the quoting nightmare.
24586 # Putting comments in sed scripts is not portable.
24588 # `end' is used to avoid that the second main sed command (meant for
24589 # 0-ary CPP macros) applies to n-ary macro definitions.
24590 # See the Autoconf documentation for `clear'.
24591 cat >confdef2sed.sed <<\_ACEOF
24596 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
24598 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
24601 # If some macros were called several times there might be several times
24602 # the same #defines, which is useless. Nevertheless, we may not want to
24603 # sort them, since we want the *last* AC-DEFINE to be honored.
24604 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
24605 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
24606 rm -f confdef2sed.sed
24608 # This sed command replaces #undef with comments. This is necessary, for
24609 # example, in the case of _POSIX_SOURCE, which is predefined and required
24610 # on some systems where configure will not decide to define it.
24611 cat >>conftest.undefs <<\_ACEOF
24612 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
24615 # Break up conftest.defines because some shells have a limit on the size
24616 # of here documents, and old seds have small limits too (100 cmds).
24617 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
24618 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
24619 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
24620 echo ' :' >>$CONFIG_STATUS
24621 rm -f conftest.tail
24622 while grep . conftest.defines >/dev/null
24624 # Write a limited-size here document to $tmp/defines.sed.
24625 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
24626 # Speed up: don't consider the non `#define' lines.
24627 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
24628 # Work around the forget-to-reset-the-flag bug.
24629 echo 't clr' >>$CONFIG_STATUS
24630 echo ': clr' >>$CONFIG_STATUS
24631 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
24633 sed -f $tmp/defines.sed $tmp/in >$tmp/out
24635 mv $tmp/out $tmp/in
24637 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
24638 rm -f conftest.defines
24639 mv conftest.tail conftest.defines
24641 rm -f conftest.defines
24642 echo ' fi # grep' >>$CONFIG_STATUS
24643 echo >>$CONFIG_STATUS
24645 # Break up conftest.undefs because some shells have a limit on the size
24646 # of here documents, and old seds have small limits too (100 cmds).
24647 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
24648 rm -f conftest.tail
24649 while grep . conftest.undefs >/dev/null
24651 # Write a limited-size here document to $tmp/undefs.sed.
24652 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
24653 # Speed up: don't consider the non `#undef'
24654 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
24655 # Work around the forget-to-reset-the-flag bug.
24656 echo 't clr' >>$CONFIG_STATUS
24657 echo ': clr' >>$CONFIG_STATUS
24658 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
24660 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
24662 mv $tmp/out $tmp/in
24664 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
24665 rm -f conftest.undefs
24666 mv conftest.tail conftest.undefs
24668 rm -f conftest.undefs
24670 cat >>$CONFIG_STATUS <<\_ACEOF
24671 # Let's still pretend it is `configure' which instantiates (i.e., don't
24672 # use $as_me), people would be surprised to read:
24673 # /* config.h. Generated by config.status. */
24674 if test x"$ac_file" = x-; then
24675 echo "/* Generated by configure. */" >$tmp/config.h
24677 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
24679 cat $tmp/in >>$tmp/config.h
24681 if test x"$ac_file" != x-; then
24682 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
24683 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
24684 echo "$as_me: $ac_file is unchanged" >&6;}
24686 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24687 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24688 X"$ac_file" : 'X\(//\)[^/]' \| \
24689 X"$ac_file" : 'X\(//\)$' \| \
24690 X"$ac_file" : 'X\(/\)' \| \
24691 . : '\(.\)' 2>/dev/null ||
24693 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24694 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24695 /^X\(\/\/\)$/{ s//\1/; q; }
24696 /^X\(\/\).*/{ s//\1/; q; }
24698 { if $as_mkdir_p; then
24703 while test ! -d "$as_dir"; do
24704 as_dirs="$as_dir $as_dirs"
24705 as_dir=`(dirname "$as_dir") 2>/dev/null ||
24706 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24707 X"$as_dir" : 'X\(//\)[^/]' \| \
24708 X"$as_dir" : 'X\(//\)$' \| \
24709 X"$as_dir" : 'X\(/\)' \| \
24710 . : '\(.\)' 2>/dev/null ||
24712 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24713 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24714 /^X\(\/\/\)$/{ s//\1/; q; }
24715 /^X\(\/\).*/{ s//\1/; q; }
24718 test ! -n "$as_dirs" || mkdir $as_dirs
24719 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
24720 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24721 { (exit 1); exit 1; }; }; }
24724 mv $tmp/config.h $ac_file
24728 rm -f $tmp/config.h
24732 cat >>$CONFIG_STATUS <<\_ACEOF
24735 # CONFIG_COMMANDS section.
24737 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
24738 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
24739 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
24740 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
24741 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24742 X"$ac_dest" : 'X\(//\)[^/]' \| \
24743 X"$ac_dest" : 'X\(//\)$' \| \
24744 X"$ac_dest" : 'X\(/\)' \| \
24745 . : '\(.\)' 2>/dev/null ||
24747 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
24748 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
24749 /^X\(\/\/\)$/{ s//\1/; q; }
24750 /^X\(\/\).*/{ s//\1/; q; }
24754 if test "$ac_dir" != .; then
24755 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
24756 # A "../" for each directory in $ac_dir_suffix.
24757 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
24759 ac_dir_suffix= ac_top_builddir=
24763 .) # No --srcdir option. We are building in place.
24765 if test -z "$ac_top_builddir"; then
24768 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
24770 [\\/]* | ?:[\\/]* ) # Absolute path.
24771 ac_srcdir=$srcdir$ac_dir_suffix;
24772 ac_top_srcdir=$srcdir ;;
24773 *) # Relative path.
24774 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
24775 ac_top_srcdir=$ac_top_builddir$srcdir ;;
24777 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
24779 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
24780 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
24781 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
24782 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
24785 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
24786 echo "$as_me: executing $ac_dest commands" >&6;}
24788 Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile Makefile ;;
24789 Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.common Makefile.common ;;
24790 Makefile.rules ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/Makefile.rules Makefile.rules ;;
24791 lib/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Makefile lib/Makefile ;;
24792 lib/Analysis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/Makefile lib/Analysis/Makefile ;;
24793 lib/Analysis/DataStructure/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/DataStructure/Makefile lib/Analysis/DataStructure/Makefile ;;
24794 lib/Analysis/IPA/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/IPA/Makefile lib/Analysis/IPA/Makefile ;;
24795 lib/Analysis/LiveVar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Analysis/LiveVar/Makefile lib/Analysis/LiveVar/Makefile ;;
24796 lib/AsmParser/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/AsmParser/Makefile lib/AsmParser/Makefile ;;
24797 lib/Bytecode/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Makefile lib/Bytecode/Makefile ;;
24798 lib/Bytecode/Reader/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Reader/Makefile lib/Bytecode/Reader/Makefile ;;
24799 lib/Bytecode/Writer/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Bytecode/Writer/Makefile lib/Bytecode/Writer/Makefile ;;
24800 lib/CWriter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CWriter/Makefile lib/CWriter/Makefile ;;
24801 lib/CodeGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/Makefile lib/CodeGen/Makefile ;;
24802 lib/CodeGen/InstrSched/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSched/Makefile lib/CodeGen/InstrSched/Makefile ;;
24803 lib/CodeGen/InstrSelection/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/InstrSelection/Makefile lib/CodeGen/InstrSelection/Makefile ;;
24804 lib/CodeGen/ModuloScheduling/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/ModuloScheduling/Makefile lib/CodeGen/ModuloScheduling/Makefile ;;
24805 lib/CodeGen/RegAlloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/RegAlloc/Makefile lib/CodeGen/RegAlloc/Makefile ;;
24806 lib/CodeGen/SelectionDAG/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/CodeGen/SelectionDAG/Makefile lib/CodeGen/SelectionDAG/Makefile ;;
24807 lib/ExecutionEngine/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Makefile lib/ExecutionEngine/Makefile ;;
24808 lib/ExecutionEngine/Interpreter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/Interpreter/Makefile lib/ExecutionEngine/Interpreter/Makefile ;;
24809 lib/ExecutionEngine/JIT/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/ExecutionEngine/JIT/Makefile lib/ExecutionEngine/JIT/Makefile ;;
24810 lib/Support/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Support/Makefile lib/Support/Makefile ;;
24811 lib/Target/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Makefile lib/Target/Makefile ;;
24812 lib/Target/Sparc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/Sparc/Makefile lib/Target/Sparc/Makefile ;;
24813 lib/Target/X86/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Target/X86/Makefile lib/Target/X86/Makefile ;;
24814 lib/Transforms/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Makefile lib/Transforms/Makefile ;;
24815 lib/Transforms/Hello/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Hello/Makefile lib/Transforms/Hello/Makefile ;;
24816 lib/Transforms/IPO/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/IPO/Makefile lib/Transforms/IPO/Makefile ;;
24817 lib/Transforms/Instrumentation/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/Makefile lib/Transforms/Instrumentation/Makefile ;;
24818 lib/Transforms/Instrumentation/ProfilePaths/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Instrumentation/ProfilePaths/Makefile lib/Transforms/Instrumentation/ProfilePaths/Makefile ;;
24819 lib/Transforms/Scalar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Scalar/Makefile lib/Transforms/Scalar/Makefile ;;
24820 lib/Transforms/Utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/Transforms/Utils/Makefile lib/Transforms/Utils/Makefile ;;
24821 lib/VMCore/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/lib/VMCore/Makefile lib/VMCore/Makefile ;;
24822 runtime/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/Makefile runtime/Makefile ;;
24823 runtime/GCCLibraries/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/Makefile runtime/GCCLibraries/Makefile ;;
24824 runtime/GCCLibraries/crtend/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/crtend/Makefile runtime/GCCLibraries/crtend/Makefile ;;
24825 runtime/GCCLibraries/libc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libc/Makefile runtime/GCCLibraries/libc/Makefile ;;
24826 runtime/GCCLibraries/libcurses/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libcurses/Makefile runtime/GCCLibraries/libcurses/Makefile ;;
24827 runtime/GCCLibraries/libg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libg/Makefile runtime/GCCLibraries/libg/Makefile ;;
24828 runtime/GCCLibraries/libgcc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libgcc/Makefile runtime/GCCLibraries/libgcc/Makefile ;;
24829 runtime/GCCLibraries/libm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libm/Makefile runtime/GCCLibraries/libm/Makefile ;;
24830 runtime/GCCLibraries/libmalloc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libmalloc/Makefile runtime/GCCLibraries/libmalloc/Makefile ;;
24831 runtime/GCCLibraries/libtermcap/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libtermcap/Makefile runtime/GCCLibraries/libtermcap/Makefile ;;
24832 runtime/GCCLibraries/libucb/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libucb/Makefile runtime/GCCLibraries/libucb/Makefile ;;
24833 runtime/GCCLibraries/libutempter/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutempter/Makefile runtime/GCCLibraries/libutempter/Makefile ;;
24834 runtime/GCCLibraries/libutil/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/GCCLibraries/libutil/Makefile runtime/GCCLibraries/libutil/Makefile ;;
24835 runtime/libdummy/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libdummy/Makefile runtime/libdummy/Makefile ;;
24836 runtime/libtrace/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libtrace/Makefile runtime/libtrace/Makefile ;;
24837 runtime/libprofile/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/runtime/libprofile/Makefile runtime/libprofile/Makefile ;;
24838 test/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile test/Makefile ;;
24839 test/Makefile.tests ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Makefile.tests test/Makefile.tests ;;
24840 test/QMTest/llvm.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTest/llvm.py test/QMTest/llvm.py ;;
24841 test/QMTest/llvmdb.py ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/QMTest/llvmdb.py test/QMTest/llvmdb.py ;;
24842 test/Programs/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile test/Programs/Makefile ;;
24843 test/Programs/Makefile.programs ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/Makefile.programs test/Programs/Makefile.programs ;;
24844 test/Programs/TEST.aa.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.Makefile test/Programs/TEST.aa.Makefile ;;
24845 test/Programs/TEST.dsgraph.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.report test/Programs/TEST.dsgraph.report ;;
24846 test/Programs/TEST.micro.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.report test/Programs/TEST.micro.report ;;
24847 test/Programs/TEST.aa.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.aa.report test/Programs/TEST.aa.report ;;
24848 test/Programs/TEST.example.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.example.Makefile test/Programs/TEST.example.Makefile ;;
24849 test/Programs/TEST.nightly.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.Makefile test/Programs/TEST.nightly.Makefile ;;
24850 test/Programs/TEST.buildrepo.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.buildrepo.Makefile test/Programs/TEST.buildrepo.Makefile ;;
24851 test/Programs/TEST.jit.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.Makefile test/Programs/TEST.jit.Makefile ;;
24852 test/Programs/TEST.nightly.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.nightly.report test/Programs/TEST.nightly.report ;;
24853 test/Programs/TEST.dsgraph.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.Makefile test/Programs/TEST.dsgraph.Makefile ;;
24854 test/Programs/TEST.jit.report ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.jit.report test/Programs/TEST.jit.report ;;
24855 test/Programs/TEST.typesafe.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.typesafe.Makefile test/Programs/TEST.typesafe.Makefile ;;
24856 test/Programs/TEST.dsgraph.gnuplot ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.dsgraph.gnuplot test/Programs/TEST.dsgraph.gnuplot ;;
24857 test/Programs/TEST.micro.Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/TEST.micro.Makefile test/Programs/TEST.micro.Makefile ;;
24858 test/Programs/External/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/Makefile test/Programs/External/Makefile ;;
24859 test/Programs/External/SPEC/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/External/SPEC/Makefile test/Programs/External/SPEC/Makefile ;;
24860 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 ;;
24861 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 ;;
24862 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 ;;
24863 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 ;;
24864 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 ;;
24865 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 ;;
24866 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 ;;
24867 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 ;;
24868 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 ;;
24869 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 ;;
24870 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 ;;
24871 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 ;;
24872 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 ;;
24873 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 ;;
24874 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 ;;
24875 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 ;;
24876 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 ;;
24877 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 ;;
24878 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 ;;
24879 test/Programs/LLVMSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/LLVMSource/Makefile test/Programs/LLVMSource/Makefile ;;
24880 test/Programs/MultiSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile test/Programs/MultiSource/Makefile ;;
24881 test/Programs/MultiSource/Makefile.multisrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Makefile.multisrc test/Programs/MultiSource/Makefile.multisrc ;;
24882 test/Programs/MultiSource/Applications/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Applications/Makefile test/Programs/MultiSource/Applications/Makefile ;;
24883 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 ;;
24884 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 ;;
24885 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 ;;
24886 test/Programs/MultiSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/MultiSource/Benchmarks/Makefile test/Programs/MultiSource/Benchmarks/Makefile ;;
24887 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 ;;
24888 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 ;;
24889 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 ;;
24890 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 ;;
24891 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 ;;
24892 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 ;;
24893 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 ;;
24894 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 ;;
24895 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 ;;
24896 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 ;;
24897 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 ;;
24898 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 ;;
24899 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 ;;
24900 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 ;;
24901 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 ;;
24902 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 ;;
24903 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 ;;
24904 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 ;;
24905 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 ;;
24906 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 ;;
24907 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 ;;
24908 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 ;;
24909 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 ;;
24910 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 ;;
24911 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 ;;
24912 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 ;;
24913 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 ;;
24914 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 ;;
24915 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 ;;
24916 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 ;;
24917 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 ;;
24918 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 ;;
24919 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 ;;
24920 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 ;;
24921 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 ;;
24922 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 ;;
24923 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 ;;
24924 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 ;;
24925 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 ;;
24926 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 ;;
24927 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 ;;
24928 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 ;;
24929 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 ;;
24930 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 ;;
24931 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 ;;
24932 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 ;;
24933 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 ;;
24934 test/Programs/SingleSource/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile test/Programs/SingleSource/Makefile ;;
24935 test/Programs/SingleSource/Makefile.singlesrc ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Makefile.singlesrc test/Programs/SingleSource/Makefile.singlesrc ;;
24936 test/Programs/SingleSource/Gizmos/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Gizmos/Makefile test/Programs/SingleSource/Gizmos/Makefile ;;
24937 test/Programs/SingleSource/Benchmarks/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Benchmarks/Makefile test/Programs/SingleSource/Benchmarks/Makefile ;;
24938 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 ;;
24939 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 ;;
24940 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 ;;
24941 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 ;;
24942 test/Programs/SingleSource/CustomChecked/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/CustomChecked/Makefile test/Programs/SingleSource/CustomChecked/Makefile ;;
24943 test/Programs/SingleSource/UnitTests/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/UnitTests/Makefile test/Programs/SingleSource/UnitTests/Makefile ;;
24944 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 ;;
24945 test/Programs/SingleSource/Regression/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/test/Programs/SingleSource/Regression/Makefile test/Programs/SingleSource/Regression/Makefile ;;
24946 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 ;;
24947 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 ;;
24948 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 ;;
24949 tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/Makefile tools/Makefile ;;
24950 tools/analyze/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/analyze/Makefile tools/analyze/Makefile ;;
24951 tools/bugpoint/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/bugpoint/Makefile tools/bugpoint/Makefile ;;
24952 tools/extract/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/extract/Makefile tools/extract/Makefile ;;
24953 tools/gccas/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccas/Makefile tools/gccas/Makefile ;;
24954 tools/gccld/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/gccld/Makefile tools/gccld/Makefile ;;
24955 tools/llc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llc/Makefile tools/llc/Makefile ;;
24956 tools/llee/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llee/Makefile tools/llee/Makefile ;;
24957 tools/lli/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/lli/Makefile tools/lli/Makefile ;;
24958 tools/llvm-ar/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-ar/Makefile tools/llvm-ar/Makefile ;;
24959 tools/llvm-as/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-as/Makefile tools/llvm-as/Makefile ;;
24960 tools/llvm-dis/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-dis/Makefile tools/llvm-dis/Makefile ;;
24961 tools/llvm-link/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-link/Makefile tools/llvm-link/Makefile ;;
24962 tools/llvm-nm/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-nm/Makefile tools/llvm-nm/Makefile ;;
24963 tools/llvm-prof/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/llvm-prof/Makefile tools/llvm-prof/Makefile ;;
24964 tools/opt/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/tools/opt/Makefile tools/opt/Makefile ;;
24965 utils/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Makefile utils/Makefile ;;
24966 utils/Burg/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Makefile utils/Burg/Makefile ;;
24967 utils/Burg/Doc/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/Burg/Doc/Makefile utils/Burg/Doc/Makefile ;;
24968 utils/TableGen/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/utils/TableGen/Makefile utils/TableGen/Makefile ;;
24969 projects/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/Makefile projects/Makefile ;;
24970 projects/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile projects/ModuleMaker/Makefile ;;
24971 projects/ModuleMaker/Makefile.common ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/Makefile.common projects/ModuleMaker/Makefile.common ;;
24972 projects/ModuleMaker/tools/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/Makefile projects/ModuleMaker/tools/Makefile ;;
24973 projects/ModuleMaker/tools/ModuleMaker/Makefile ) ${SHELL} ${srcdir}/autoconf/install-sh -c ${srcdir}/projects/ModuleMaker/tools/ModuleMaker/Makefile projects/ModuleMaker/tools/ModuleMaker/Makefile ;;
24978 cat >>$CONFIG_STATUS <<\_ACEOF
24980 { (exit 0); exit 0; }
24982 chmod +x $CONFIG_STATUS
24983 ac_clean_files=$ac_clean_files_save
24986 # configure is writing to config.log, and then calls config.status.
24987 # config.status does its own redirection, appending to config.log.
24988 # Unfortunately, on DOS this fails, as config.log is still kept open
24989 # by configure, so config.status won't be able to write to it; its
24990 # output is simply discarded. So we exec the FD to /dev/null,
24991 # effectively closing config.log, so it can be properly (re)opened and
24992 # appended to by config.status. When coming back to configure, we
24993 # need to make the FD available again.
24994 if test "$no_create" != yes; then
24996 ac_config_status_args=
24997 test "$silent" = yes &&
24998 ac_config_status_args="$ac_config_status_args --quiet"
25000 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
25002 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25003 # would make configure fail if this is the last instruction.
25004 $ac_cs_success || { (exit 1); exit 1; }
25008 # CONFIG_SUBDIRS section.
25010 if test "$no_recursion" != yes; then
25012 # Remove --cache-file and --srcdir arguments so they do not pile up.
25013 ac_sub_configure_args=
25015 for ac_arg in $ac_configure_args; do
25016 if test -n "$ac_prev"; then
25021 -cache-file | --cache-file | --cache-fil | --cache-fi \
25022 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
25023 ac_prev=cache_file ;;
25024 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
25025 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
25028 --config-cache | -C)
25030 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
25032 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
25034 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
25036 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
25038 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
25042 # Always prepend --prefix to ensure using the same prefix
25043 # in subdir configurations.
25044 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
25047 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
25049 # Do not complain, so a configure script can configure whichever
25050 # parts of a large source tree are present.
25051 test -d $srcdir/$ac_dir || continue
25053 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
25054 echo "$as_me: configuring in $ac_dir" >&6;}
25055 { if $as_mkdir_p; then
25060 while test ! -d "$as_dir"; do
25061 as_dirs="$as_dir $as_dirs"
25062 as_dir=`(dirname "$as_dir") 2>/dev/null ||
25063 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25064 X"$as_dir" : 'X\(//\)[^/]' \| \
25065 X"$as_dir" : 'X\(//\)$' \| \
25066 X"$as_dir" : 'X\(/\)' \| \
25067 . : '\(.\)' 2>/dev/null ||
25069 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
25070 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
25071 /^X\(\/\/\)$/{ s//\1/; q; }
25072 /^X\(\/\).*/{ s//\1/; q; }
25075 test ! -n "$as_dirs" || mkdir $as_dirs
25076 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
25077 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
25078 { (exit 1); exit 1; }; }; }
25082 if test "$ac_dir" != .; then
25083 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25084 # A "../" for each directory in $ac_dir_suffix.
25085 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
25087 ac_dir_suffix= ac_top_builddir=
25091 .) # No --srcdir option. We are building in place.
25093 if test -z "$ac_top_builddir"; then
25096 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
25098 [\\/]* | ?:[\\/]* ) # Absolute path.
25099 ac_srcdir=$srcdir$ac_dir_suffix;
25100 ac_top_srcdir=$srcdir ;;
25101 *) # Relative path.
25102 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
25103 ac_top_srcdir=$ac_top_builddir$srcdir ;;
25105 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
25107 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
25108 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
25109 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
25110 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
25115 # Check for guested configure; otherwise get Cygnus style configure.
25116 if test -f $ac_srcdir/configure.gnu; then
25117 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
25118 elif test -f $ac_srcdir/configure; then
25119 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
25120 elif test -f $ac_srcdir/configure.in; then
25121 ac_sub_configure=$ac_configure
25123 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
25124 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
25128 # The recursion is here.
25129 if test -n "$ac_sub_configure"; then
25130 # Make the cache file name correct relative to the subdirectory.
25131 case $cache_file in
25132 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
25133 *) # Relative path.
25134 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
25137 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
25138 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
25139 # The eval makes quoting arguments work.
25140 eval $ac_sub_configure $ac_sub_configure_args \
25141 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
25142 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
25143 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
25144 { (exit 1); exit 1; }; }
25152 if test $llvmgccwarn = yes
25154 { echo "$as_me:$LINENO: WARNING: ***** llvm C/C++ front end was not found, or does not" >&5
25155 echo "$as_me: WARNING: ***** llvm C/C++ front end was not found, or does not" >&2;}
25156 { echo "$as_me:$LINENO: WARNING: ***** appear to be working." >&5
25157 echo "$as_me: WARNING: ***** appear to be working." >&2;}
25158 { echo "$as_me:$LINENO: WARNING: ***** " >&5
25159 echo "$as_me: WARNING: ***** " >&2;}
25160 { echo "$as_me:$LINENO: WARNING: ***** Please check configure's --with-llvmgccdir option." >&5
25161 echo "$as_me: WARNING: ***** Please check configure's --with-llvmgccdir option." >&2;}
25162 { echo "$as_me:$LINENO: WARNING: ***** Runtime libraries (in llvm/runtime) will not be built," >&5
25163 echo "$as_me: WARNING: ***** Runtime libraries (in llvm/runtime) will not be built," >&2;}
25164 { echo "$as_me:$LINENO: WARNING: ***** but you should be able to build the llvm tools." >&5
25165 echo "$as_me: WARNING: ***** but you should be able to build the llvm tools." >&2;}